管道气 接收站审批

This commit is contained in:
‘huanghaiixia’
2026-01-29 13:34:08 +08:00
parent 22fdadc17d
commit 3a441823c9
18 changed files with 2306 additions and 59 deletions

View File

@ -117,29 +117,9 @@
let formName='管道气销售审批';
let curPath = 'dayPlan/PngAppro/index'
let request = ''
let requestApprove = ''
if (path.includes('dayPlan/PngAppro/index')) {
formName='管道气销售审批'
curPath = 'dayPlan/PngAppro/index'
request = getLngPngApproPage
requestApprove = approveLngPngAppro
}
if (path.includes('dayPlan/pngPipeAppro/index')) {
formName='管道气管道审批'
curPath = 'dayPlan/pngPipeAppro'
request = getLngPngApproPageGd
requestApprove = approveLngPngApproGD
}
if (path.includes('dayPlan/pngReceiveStationAppro/index')) {
formName='管道气接收站审批'
curPath = 'dayPlan/pngReceiveStationAppro'
request = getLngPngApproPageJsz
requestApprove = approveLngPngApproSZ
}
const [registerTable, { reload, clearSelectedRowKeys, setTableData }] = useTable({
title: '' || (formName + '列表'),
api: request,
api: getLngPngApproPage,
rowKey: 'id',
columns: customConfigColums,
formConfig: {
@ -304,7 +284,7 @@
"remark": "",
"data": arr
}
await requestApprove(obj)
await approveLngPngAppro(obj)
handleSuccess();
notification.success({
message: 'Tip',