联调 技术监督 草稿功能

This commit is contained in:
GGJ
2024-06-20 16:54:19 +08:00
parent ac1335985f
commit 3a49fbf6a8
15 changed files with 256 additions and 98 deletions

View File

@@ -61,6 +61,7 @@ const tableStore = new TableStore({
}
},
{ field: 'dutyOrgName', title: '负责单位', minWidth: '150' },
{ field: 'reformAdvice', title: '整改意见', minWidth: '150' },
{ field: 'leafletName', title: '单据名称', minWidth: '150' },
{
field: 'status',
@@ -68,6 +69,7 @@ const tableStore = new TableStore({
minWidth: '150',
render: 'tag',
custom: {
0: 'warning',
1: 'primary',
2: 'success',
3: 'danger',
@@ -75,6 +77,7 @@ const tableStore = new TableStore({
5: 'primary'
},
replaceValue: {
0: '待提交审批',
1: '审批中',
2: '审批通过',
3: '审批不通过',
@@ -120,7 +123,14 @@ const tableStore = new TableStore({
return row.status !== 5
},
click: row => {
feedbackPopup.value.open('填报反馈单', row.id, row.status, row.issueDetail, row.problemPath)
feedbackPopup.value.open(
'填报反馈单',
row.id,
row.status,
row.issueDetail,
row.problemPath,
row.reformAdvice
)
}
},
{
@@ -130,12 +140,35 @@ const tableStore = new TableStore({
icon: 'el-icon-EditPen',
render: 'basicButton',
disabled: row => {
return row.status == 5
return !row.processInstanceId
},
click: row => {
handleAudit(row.processInstanceId, row.historyInstanceId)
}
},
{
name: 'edit',
title: '编辑',
type: 'primary',
icon: 'el-icon-Open',
render: 'basicButton',
disabled: row => {
return row.createBy != adminInfo.$state.id || !(row.status == 0)
},
click: row => {
feedbackPopup.value.open(
'编辑',
row.id,
row.status,
row.issueDetail,
row.problemPath,
row.reformAdvice,
row.takeStep,
row.reportPath
)
}
},
{
name: 'edit',
title: '重新发起',
@@ -153,6 +186,7 @@ const tableStore = new TableStore({
row.status,
row.issueDetail,
row.problemPath,
row.reformAdvice,
row.takeStep,
row.reportPath
)