修改行为策略接口
Showing
2 changed files
with
4 additions
and
25 deletions
| ... | @@ -112,7 +112,7 @@ export const copyContractTemplate = (params) => request({ | ... | @@ -112,7 +112,7 @@ export const copyContractTemplate = (params) => request({ |
| 112 | 112 | ||
| 113 | /** 获取操作行为下拉列表 */ | 113 | /** 获取操作行为下拉列表 */ |
| 114 | export const getActionPolicyList = () => request({ | 114 | export const getActionPolicyList = () => request({ |
| 115 | url: `${import.meta.env.VITE_APP_DIGITAL_CONTRACT_URL}/connector-invoke/list-by-policy-type?policyType=CZ`, | 115 | url: `${import.meta.env.VITE_APP_DIGITAL_CONTRACT_URL}/connector-invoke/list-by-policy-type?policyType=XW`, |
| 116 | method: 'get' | 116 | method: 'get' |
| 117 | }); | 117 | }); |
| 118 | 118 | ... | ... |
| ... | @@ -350,9 +350,10 @@ const verifyDialogInfo = ref({ | ... | @@ -350,9 +350,10 @@ const verifyDialogInfo = ref({ |
| 350 | label: '', | 350 | label: '', |
| 351 | type: "textarea", | 351 | type: "textarea", |
| 352 | placeholder: "请填写未通过理由(必填)", | 352 | placeholder: "请填写未通过理由(必填)", |
| 353 | field: "approveSuggest", | 353 | field: "verifySuggest", |
| 354 | clearable: true, | 354 | clearable: true, |
| 355 | required: true, | 355 | required: true, |
| 356 | maxlength: 200, | ||
| 356 | visible: true, | 357 | visible: true, |
| 357 | block: true, | 358 | block: true, |
| 358 | col: 'margin_b_0', | 359 | col: 'margin_b_0', |
| ... | @@ -375,29 +376,7 @@ const verifyDialogRadioChange = (val, row, info) => { | ... | @@ -375,29 +376,7 @@ const verifyDialogRadioChange = (val, row, info) => { |
| 375 | 376 | ||
| 376 | const verifyDialogBtnClick = (btn, info) => { | 377 | const verifyDialogBtnClick = (btn, info) => { |
| 377 | if (btn.value == 'submit') { | 378 | if (btn.value == 'submit') { |
| 378 | // passDialogInfo.value.footer.btns[1].loading = true; | 379 | debugger |
| 379 | // let params = { | ||
| 380 | // guid: currTableData.value.approveVO.approveGuid, | ||
| 381 | // flowType: currTableData.value.approveVO.flowType, | ||
| 382 | // approveSuggest: info.approveSuggest, | ||
| 383 | // approveStaffGuid: userData.staffGuid, | ||
| 384 | // } | ||
| 385 | // passFlowData(params, currTableData.value.tenantGuid).then((res: any) => { | ||
| 386 | // passDialogInfo.value.footer.btns[1].loading = false; | ||
| 387 | // if (res?.code == proxy.$passCode) { | ||
| 388 | // if (res.data) { | ||
| 389 | // ElMessage.success('审批成功'); | ||
| 390 | // passDialogInfo.value.visible = false; | ||
| 391 | // getTableData(); | ||
| 392 | // } else { | ||
| 393 | // ElMessage.error('审批失败'); | ||
| 394 | // } | ||
| 395 | // } else { | ||
| 396 | // ElMessage.error(res.msg); | ||
| 397 | // } | ||
| 398 | // }).catch(() => { | ||
| 399 | // passDialogInfo.value.footer.btns[1].loading = false; | ||
| 400 | // }); | ||
| 401 | } else if (btn.value == 'cancel') { | 380 | } else if (btn.value == 'cancel') { |
| 402 | verifyDialogInfo.value.visible = false; | 381 | verifyDialogInfo.value.visible = false; |
| 403 | } | 382 | } | ... | ... |
-
Please register or sign in to post a comment