diff --git a/src/views/bpm/model/ModelForm.vue b/src/views/bpm/model/ModelForm.vue index 0e5b0521..ce60edca 100644 --- a/src/views/bpm/model/ModelForm.vue +++ b/src/views/bpm/model/ModelForm.vue @@ -50,6 +50,9 @@ /> + + + @@ -141,15 +144,17 @@ const formData = ref({ formType: 10, name: '', category: undefined, + icon: undefined, description: '', formId: '', formCustomCreatePath: '', formCustomViewPath: '' }) const formRules = reactive({ - category: [{ required: true, message: '参数分类不能为空', trigger: 'blur' }], name: [{ required: true, message: '参数名称不能为空', trigger: 'blur' }], key: [{ required: true, message: '参数键名不能为空', trigger: 'blur' }], + category: [{ required: true, message: '参数分类不能为空', trigger: 'blur' }], + icon: [{ required: true, message: '参数图标不能为空', trigger: 'blur' }], value: [{ required: true, message: '参数键值不能为空', trigger: 'blur' }], visible: [{ required: true, message: '是否可见不能为空', trigger: 'blur' }] }) @@ -223,6 +228,7 @@ const resetForm = () => { formType: 10, name: '', category: undefined, + icon: '', description: '', formId: '', formCustomCreatePath: '', diff --git a/src/views/bpm/model/index.vue b/src/views/bpm/model/index.vue index 47d24ea9..d616f2c0 100644 --- a/src/views/bpm/model/index.vue +++ b/src/views/bpm/model/index.vue @@ -72,6 +72,11 @@ + + + + + diff --git a/src/views/bpm/processInstance/create/index.vue b/src/views/bpm/processInstance/create/index.vue index 99bcdb06..d9fee5d2 100644 --- a/src/views/bpm/processInstance/create/index.vue +++ b/src/views/bpm/processInstance/create/index.vue @@ -23,11 +23,7 @@ > - - + {{ definition.name }}