ebbeddb8 by lihua

修改行为策略接口

1 parent fcccfbcc
......@@ -112,7 +112,7 @@ export const copyContractTemplate = (params) => request({
/** 获取操作行为下拉列表 */
export const getActionPolicyList = () => request({
url: `${import.meta.env.VITE_APP_DIGITAL_CONTRACT_URL}/policy-template/list-by-policy-type?policyType=CZ`,
url: `${import.meta.env.VITE_APP_DIGITAL_CONTRACT_URL}/policy-template/list-by-policy-type?policyType=XW`,
method: 'get'
});
......
......@@ -350,9 +350,10 @@ const verifyDialogInfo = ref({
label: '',
type: "textarea",
placeholder: "请填写未通过理由(必填)",
field: "approveSuggest",
field: "verifySuggest",
clearable: true,
required: true,
maxlength: 200,
visible: true,
block: true,
col: 'margin_b_0',
......@@ -375,29 +376,7 @@ const verifyDialogRadioChange = (val, row, info) => {
const verifyDialogBtnClick = (btn, info) => {
if (btn.value == 'submit') {
// passDialogInfo.value.footer.btns[1].loading = true;
// let params = {
// guid: currTableData.value.approveVO.approveGuid,
// flowType: currTableData.value.approveVO.flowType,
// approveSuggest: info.approveSuggest,
// approveStaffGuid: userData.staffGuid,
// }
// passFlowData(params, currTableData.value.tenantGuid).then((res: any) => {
// passDialogInfo.value.footer.btns[1].loading = false;
// if (res?.code == proxy.$passCode) {
// if (res.data) {
// ElMessage.success('审批成功');
// passDialogInfo.value.visible = false;
// getTableData();
// } else {
// ElMessage.error('审批失败');
// }
// } else {
// ElMessage.error(res.msg);
// }
// }).catch(() => {
// passDialogInfo.value.footer.btns[1].loading = false;
// });
debugger
} else if (btn.value == 'cancel') {
verifyDialogInfo.value.visible = false;
}
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!