fix:部分列表删除接口错误
All checks were successful
Build and Push Docker Image / build (push) Successful in 3m52s
All checks were successful
Build and Push Docker Image / build (push) Successful in 3m52s
This commit is contained in:
parent
092888fe19
commit
b8407eeba7
@ -16,8 +16,8 @@ export default defineConfig({
|
||||
'/api/': {
|
||||
// target: 'http://yt:8003',
|
||||
// target: 'http://10.39.13.78:8001/',
|
||||
target: 'https://test-admin.linyikj.com.cn/',
|
||||
// target: 'https://admin.linyikj.com.cn/',
|
||||
// target: 'https://test-admin.linyikj.com.cn/',
|
||||
target: 'https://admin.linyikj.com.cn/',
|
||||
// target: 'http://c789629c.natappfree.cc',
|
||||
|
||||
changeOrigin: true,
|
||||
|
||||
@ -22,9 +22,9 @@ export default function Info(props: MyBetaModalFormProps) {
|
||||
}, [props?.item?.id]);
|
||||
|
||||
return (
|
||||
<ProCard extra={props.extra}>
|
||||
<ProDescriptions bordered column={3}>
|
||||
<ProDescriptions.Item label="账单金额">
|
||||
<ProCard>
|
||||
<ProDescriptions bordered column={1}>
|
||||
{/* <ProDescriptions.Item label="账单金额">
|
||||
{getShow?.payable_amount_sum || '-'}
|
||||
</ProDescriptions.Item>
|
||||
<ProDescriptions.Item label="滞纳金">
|
||||
@ -32,8 +32,8 @@ export default function Info(props: MyBetaModalFormProps) {
|
||||
</ProDescriptions.Item>
|
||||
<ProDescriptions.Item label="优惠金额">
|
||||
{getShow?.discount_amount_sum || '-'}
|
||||
</ProDescriptions.Item>
|
||||
<ProDescriptions.Item label="应付金额">
|
||||
</ProDescriptions.Item> */}
|
||||
<ProDescriptions.Item label="账单未缴金额">
|
||||
<Space>
|
||||
{getShow?.total_payable_sum || ''}
|
||||
{getShow?.payable_amount_sum ? (
|
||||
|
||||
@ -126,7 +126,6 @@ export default function Index({ title = '房客关系' }) {
|
||||
},
|
||||
search: false,
|
||||
},
|
||||
|
||||
MyColumns.Option({
|
||||
render: (_, item: any, index, action) => (
|
||||
<Space key={index}>
|
||||
|
||||
@ -39,6 +39,7 @@ export default function Index({ title = '楼栋范围' }) {
|
||||
<GridCreate key="Select" reload={action?.reload} title="楼栋划分" />,
|
||||
]}
|
||||
columns={[
|
||||
MyColumns.ID(),
|
||||
{
|
||||
title: '关联项目',
|
||||
dataIndex: ['asset_project', 'name'],
|
||||
@ -48,23 +49,15 @@ export default function Index({ title = '楼栋范围' }) {
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
title: 'ID',
|
||||
dataIndex: 'id',
|
||||
},
|
||||
{
|
||||
title: '板块名称',
|
||||
dataIndex: 'name',
|
||||
},
|
||||
{
|
||||
title: '标识',
|
||||
dataIndex: 'grid_mark',
|
||||
},
|
||||
{
|
||||
title: '楼栋管家',
|
||||
dataIndex: ['company_employee', 'name'],
|
||||
render: (_, item: any) =>
|
||||
`${item?.company_employee?.name || ''}-${
|
||||
`${item?.company_employee?.name || ''}:${
|
||||
item?.company_employee?.phone || ''
|
||||
}`,
|
||||
},
|
||||
|
||||
@ -131,7 +131,7 @@ export default function Index({ title = '项目列表' }) {
|
||||
/>
|
||||
<MyButtons.Delete
|
||||
onConfirm={() =>
|
||||
Apis.Common.Admins.Delete({ id: item.id }).then(() =>
|
||||
Apis.Asset.AssetProjects.Delete({ id: item.id }).then(() =>
|
||||
action?.reload(),
|
||||
)
|
||||
}
|
||||
|
||||
@ -113,7 +113,7 @@ export default function Index({ title = '账单明细' }) {
|
||||
<BillUpdate item={item} reload={action?.reload} title={title} />
|
||||
<MyButtons.Delete
|
||||
onConfirm={() =>
|
||||
Apis.Common.Admins.Delete({ id: item.id }).then(() =>
|
||||
Apis.Bill.HouseBills.Delete({ id: item.id }).then(() =>
|
||||
action?.reload(),
|
||||
)
|
||||
}
|
||||
|
||||
@ -12,7 +12,7 @@ import { Space } from 'antd';
|
||||
import Create from './modals/Create';
|
||||
import Update from './modals/Update';
|
||||
|
||||
export default function Index({ title = '岗位管理' }) {
|
||||
export default function Index({ title = '岗位库' }) {
|
||||
const navigate = useNavigate();
|
||||
|
||||
// 注册当前页面为标签页
|
||||
|
||||
@ -45,10 +45,12 @@ export default function Index({ title = '品牌管理' }) {
|
||||
{
|
||||
title: '机构',
|
||||
dataIndex: ['company', 'name'],
|
||||
width: 300,
|
||||
},
|
||||
{
|
||||
title: '品牌名称',
|
||||
dataIndex: 'name',
|
||||
width: 200,
|
||||
},
|
||||
{
|
||||
title: 'logo',
|
||||
@ -66,7 +68,9 @@ export default function Index({ title = '品牌管理' }) {
|
||||
</Space>
|
||||
);
|
||||
},
|
||||
width: 100,
|
||||
},
|
||||
MyColumns.UpdatedAt(),
|
||||
MyColumns.Option({
|
||||
render: (_, item: any, index, action) => (
|
||||
<Space key={index}>
|
||||
|
||||
@ -92,8 +92,8 @@ export default function Index({ title = '员工管理' }) {
|
||||
<Change item={item} reload={action?.reload} title={title} />
|
||||
<MyButtons.Delete
|
||||
onConfirm={() =>
|
||||
Apis.Common.Admins.Delete({ id: item.id }).then(() =>
|
||||
action?.reload(),
|
||||
Apis.Company.CompanyEmployees.Delete({ id: item.id }).then(
|
||||
() => action?.reload(),
|
||||
)
|
||||
}
|
||||
/>
|
||||
|
||||
@ -166,7 +166,6 @@ export default function Index({ title = '投诉列表' }) {
|
||||
title="分配"
|
||||
/>
|
||||
)}
|
||||
|
||||
<MyButtons.Delete
|
||||
onConfirm={() =>
|
||||
Apis.WorkOrder.HouseWorkOrders.SoftDelete({
|
||||
|
||||
@ -20,12 +20,13 @@ export default function Index(props: MyBetaModalFormProps) {
|
||||
Apis.Archive.HouseOccupants.CustomerHouseByPhone,
|
||||
)
|
||||
}
|
||||
// search={false}
|
||||
// options={false}
|
||||
search={false}
|
||||
options={false}
|
||||
columns={[
|
||||
{
|
||||
title: '项目名称',
|
||||
title: '关联房屋',
|
||||
dataIndex: ['asset_house', 'full_name'],
|
||||
|
||||
search: false,
|
||||
},
|
||||
MyColumns.EnumTag({
|
||||
|
||||
@ -11,7 +11,7 @@ import { Space } from 'antd';
|
||||
import Create from './modals/Create';
|
||||
import Update from './modals/Update';
|
||||
|
||||
export default function Index({ title = '朋友圈分类' }) {
|
||||
export default function Index({ title = '内容分类' }) {
|
||||
// 注册当前页面为标签页
|
||||
usePageTabs({
|
||||
tabKey: 'moments-classification',
|
||||
|
||||
@ -16,7 +16,7 @@ import { ProTable } from '@ant-design/pro-components';
|
||||
import { Card, Space } from 'antd';
|
||||
import Create from './modals/Create';
|
||||
|
||||
export default function Index({ title = '推送任务' }) {
|
||||
export default function Index({ title = '创建内容' }) {
|
||||
// 注册当前页面为标签页
|
||||
usePageTabs({
|
||||
tabKey: 'moments-list',
|
||||
|
||||
@ -113,8 +113,8 @@ export default function Index({ title = '支付订单' }) {
|
||||
<Payments item={item} title="查看" reload={action?.reload} />
|
||||
<MyButtons.Delete
|
||||
onConfirm={() =>
|
||||
Apis.Common.Admins.Delete({ id: item.id }).then(() =>
|
||||
action?.reload(),
|
||||
Apis.HouseOrder.HouseOrders.Delete({ id: item.id }).then(
|
||||
() => action?.reload(),
|
||||
)
|
||||
}
|
||||
/>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user