update 变量统一命名

This commit is contained in:
疯狂的狮子Li 2024-12-15 18:14:17 +08:00
parent 39b52f200b
commit e8d42a5434
3 changed files with 4 additions and 8 deletions

View File

@ -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;

View File

@ -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'

View File

@ -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'