fix -- 修改流程定义新增和编辑操作,添加弹窗编辑流程基础信息。流程分类信息不写入xml文件中。
This commit is contained in:
@@ -14,11 +14,6 @@
|
||||
</el-form-item>
|
||||
<!--流程的基础属性-->
|
||||
<template v-if="elementBaseInfo.$type === 'bpmn:Process'">
|
||||
<el-form-item label="流程分类">
|
||||
<el-select v-model="elementBaseInfo.processCategory" placeholder="请选择" clearable @change="updateBaseInfo('processCategory')">
|
||||
<el-option v-for="item in categoryOptions" :key="item.categoryId" :label="item.categoryName" :value="item.code" />
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item label="版本标签">
|
||||
<el-input v-model="elementBaseInfo.versionTag" clearable @change="updateBaseInfo('versionTag')" />
|
||||
</el-form-item>
|
||||
@@ -30,7 +25,6 @@
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
import { listCategory } from "@/api/workflow/category";
|
||||
|
||||
export default {
|
||||
name: "ElementBaseInfo",
|
||||
@@ -45,7 +39,6 @@ export default {
|
||||
data() {
|
||||
return {
|
||||
elementBaseInfo: {},
|
||||
categoryOptions: []
|
||||
};
|
||||
},
|
||||
watch: {
|
||||
@@ -58,11 +51,6 @@ export default {
|
||||
}
|
||||
}
|
||||
},
|
||||
created() {
|
||||
listCategory().then(response => {
|
||||
this.categoryOptions = response.rows
|
||||
})
|
||||
},
|
||||
methods: {
|
||||
resetBaseInfo() {
|
||||
this.bpmnElement = window?.bpmnInstances?.bpmnElement;
|
||||
|
||||
Reference in New Issue
Block a user