!61 feat(dqinspecttask): 新增流程阶段筛选、调整状态功能,操作栏拆分为流程/表单两个下拉菜单
* feat(dqinspecttask): 新增流程阶段筛选、调整状态功能,操作栏拆分为流程/表单两个下拉菜单 * chore(xispeak): 更新 BPM_NODE_PERMISSIONS 节点权限配置,反馈流程补充默认审批意见 * fix(dqinspecttask): 发起流程表单去掉多余的抄送tab * fix(dqinspecttask): 发起流程补充deadline和requireFinishDate字段 * feat(dqinspecttask): 发起流程和销号流程按钮按已完成阶段数控制可见性 * refactor(xispeak): 部门领导指派意见使用翻译后的真实姓名 * refactor(xispeak): 提升常用操作到行内,删除时同步清除关联流程 * refactor(xispeak): 替换牵头部门选部门组件为SzSelectDept
This commit is contained in:
@@ -233,6 +233,14 @@ import { defHttp } from '/@/utils/http/axios';
|
||||
registerModal.value.edit(record);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除事件(含关联流程)
|
||||
*/
|
||||
async function handleDeleteWithProcess(record) {
|
||||
await withDrawXiSpeak({ id: record.id });
|
||||
await deleteBgXiSpeak({ id: record.id }, success);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除事件
|
||||
*/
|
||||
@@ -472,6 +480,19 @@ import { defHttp } from '/@/utils/http/axios';
|
||||
onClick: handleEdit.bind(null, record),
|
||||
auth: 'bg.xispeak:bg_xi_speak:edit',
|
||||
},
|
||||
{
|
||||
label: '删除',
|
||||
popConfirm: {
|
||||
title: '确定删除吗? 将同时删除该记录关联的所有流程信息',
|
||||
confirm: handleDeleteWithProcess.bind(null, record),
|
||||
placement: 'topLeft',
|
||||
},
|
||||
auth: 'bg.xispeak:bg_xi_speak:delete',
|
||||
},
|
||||
{
|
||||
label: '查看反馈',
|
||||
onClick: handleViewFeedback.bind(null, record),
|
||||
},
|
||||
];
|
||||
}
|
||||
|
||||
@@ -488,20 +509,6 @@ import { defHttp } from '/@/utils/http/axios';
|
||||
label: '添加下级',
|
||||
onClick: handleAddSub.bind(null, { pid: record.id }),
|
||||
},
|
||||
{
|
||||
label: '删除',
|
||||
popConfirm: {
|
||||
title: '确定删除吗?',
|
||||
confirm: handleDelete.bind(null, record),
|
||||
placement: 'topLeft',
|
||||
},
|
||||
auth: 'bg.xispeak:bg_xi_speak:delete',
|
||||
},
|
||||
// {
|
||||
// label: '审批进度',
|
||||
// onClick: handlePreviewPic.bind(null, record),
|
||||
// ifShow: !!record.bpmStatus && record.bpmStatus !== '1',
|
||||
// },
|
||||
{
|
||||
label: '查询督办流程',
|
||||
onClick: handleQueryProcess.bind(null, record),
|
||||
@@ -515,10 +522,6 @@ import { defHttp } from '/@/utils/http/axios';
|
||||
},
|
||||
ifShow: !!record.bpmStatus && record.bpmStatus !== '1',
|
||||
},
|
||||
{
|
||||
label: '查看反馈',
|
||||
onClick: handleViewFeedback.bind(null, record),
|
||||
},
|
||||
];
|
||||
|
||||
if (record.bpmStatus == '1' || !record.bpmStatus) {
|
||||
|
||||
Reference in New Issue
Block a user