fix : 修复列表左侧选择框,及正确json格式

This commit is contained in:
2024-06-18 21:27:03 +08:00
parent 5100281c1f
commit 6ab1dc806e
8 changed files with 54 additions and 43 deletions

View File

@@ -57,7 +57,7 @@ import ProcessSetting from "./ProcessSetting.vue";
import Ellipsis from '@/views/workflow/process/common/Ellipsis.vue'
import {getCurrentInstance} from '@vue/runtime-core';
import {useTagsView} from '@/stores/tagsview.js'
import {ElMessageBox,ElNotification} from "element-plus";
import {ElMessageBox, ElNotification} from "element-plus";
const tagsViewStore = useTagsView()
@@ -87,7 +87,7 @@ const validOptions = ref([
{title: '审批流程', description: '', icon: '', status: ''},
// {title: '扩展设置', description: '', icon: '', status: ''}
])
onActivated(()=>{
onActivated(() => {
activeSelect.value = 'processSetting'
init()
})
@@ -157,27 +157,31 @@ const loadInitFrom = () => {
type: "END",
}
],
processFromPerms: [{
id: "projectName",
title: "项目名称",
required: true,
perm: "R"
}, {
id: "projectType",
title: "项目类型",
required: true,
perm: "R"
}, {
id: "projectDesc",
title: "项目描述",
required: true,
perm: "R"
}, {
id: "projectManager",
title: "项目经理",
required: true,
perm: "R"
}],
processFromPerms: [
{
id: "projectName",
title: "项目名称",
required: true,
perm: "R"
},
{
id: "projectType",
title: "项目类型",
required: true,
perm: "R"
},
{
id: "projectDesc",
title: "项目描述",
required: true,
perm: "R"
},
{
id: "projectManager",
title: "项目经理",
required: true,
perm: "R"
}],
remark: "备注说明"
}
processStore.setDesign(design)
@@ -332,7 +336,7 @@ const doPublish = () => {
ElNotification({
title: '提示',
message: err,
type:'error'
type: 'error'
})
})
})