审批流优化
This commit is contained in:
@ -227,7 +227,12 @@
|
||||
id.value = res?.formInfos[0]?.formData?.id
|
||||
initProcessData(res);
|
||||
if (res.buttonConfigs) {
|
||||
approvalData.buttonConfigs = res.buttonConfigs;
|
||||
approvalData.buttonConfigs = res.buttonConfigs || [];
|
||||
// 不显示保存按钮
|
||||
let idx = approvalData.buttonConfigs.findIndex(v => v.buttonCode == 'draft')
|
||||
if (idx >-1) {
|
||||
approvalData.buttonConfigs.splice(idx, 1)
|
||||
}
|
||||
}
|
||||
if (res.relationTasks) {
|
||||
data.predecessorTasks = res.relationTasks;
|
||||
|
||||
Reference in New Issue
Block a user