update 变量统一命名
This commit is contained in:
parent
39b52f200b
commit
e8d42a5434
@ -167,7 +167,7 @@ const form = ref<Record<string, any>>({
|
||||
message: undefined,
|
||||
variables: {},
|
||||
messageType: ['1'],
|
||||
wfCopyList: []
|
||||
flowCopyList: []
|
||||
});
|
||||
const backForm = ref<Record<string, any>>({
|
||||
taskId: undefined,
|
||||
@ -203,15 +203,15 @@ const handleCompleteTask = async () => {
|
||||
form.value.taskId = taskId.value;
|
||||
form.value.taskVariables = props.taskVariables;
|
||||
if (selectCopyUserList.value && selectCopyUserList.value.length > 0) {
|
||||
let wfCopyList = [];
|
||||
let flowCopyList = [];
|
||||
selectCopyUserList.value.forEach((e) => {
|
||||
let copyUser = {
|
||||
userId: e.userId,
|
||||
userName: e.nickName
|
||||
};
|
||||
wfCopyList.push(copyUser);
|
||||
flowCopyList.push(copyUser);
|
||||
});
|
||||
form.value.wfCopyList = wfCopyList;
|
||||
form.value.flowCopyList = flowCopyList;
|
||||
}
|
||||
await proxy?.$modal.confirm('是否确认提交?');
|
||||
loading.value = true;
|
||||
|
@ -152,8 +152,6 @@ const getFinishList = () => {
|
||||
/** 查看按钮操作 */
|
||||
const handleView = (row: FlowTaskVO) => {
|
||||
const routerJumpVo = reactive<RouterJumpVo>({
|
||||
wfDefinitionConfigVo: row.wfDefinitionConfigVo,
|
||||
wfNodeConfigVo: row.wfNodeConfigVo,
|
||||
businessKey: row.businessId,
|
||||
taskId: row.id,
|
||||
type: 'view'
|
||||
|
@ -154,8 +154,6 @@ const getWaitingList = () => {
|
||||
//办理
|
||||
const handleOpen = async (row: FlowTaskVO) => {
|
||||
const routerJumpVo = reactive<RouterJumpVo>({
|
||||
wfDefinitionConfigVo: row.wfDefinitionConfigVo,
|
||||
wfNodeConfigVo: row.wfNodeConfigVo,
|
||||
businessKey: row.businessId,
|
||||
taskId: row.id,
|
||||
type: 'approval'
|
||||
|
Loading…
x
Reference in New Issue
Block a user