diff --git a/jero-web/src/views/parameter/ParameterTemplate/index.vue b/jero-web/src/views/parameter/ParameterTemplate/index.vue index 521937289..e157b0eda 100644 --- a/jero-web/src/views/parameter/ParameterTemplate/index.vue +++ b/jero-web/src/views/parameter/ParameterTemplate/index.vue @@ -162,11 +162,6 @@ export default { align: 'center', dataIndex: 'description' }, - { - title: this.$t('status'), - align: 'center', - dataIndex: 'state_dictText' - }, { title: this.$t('createTime'), align: 'center', diff --git a/jero-web/src/views/parameter/parameterlist/components/addModel.vue b/jero-web/src/views/parameter/parameterlist/components/addModel.vue index 08c278ca9..bdeda0343 100644 --- a/jero-web/src/views/parameter/parameterlist/components/addModel.vue +++ b/jero-web/src/views/parameter/parameterlist/components/addModel.vue @@ -162,7 +162,7 @@ :title="$t('controlType')">{{$t('controlType')}} - + {{ item.label }} @@ -173,13 +173,13 @@ - +
{{$t('controlVerification')}}
- - + + {{ item.label }} @@ -191,8 +191,8 @@ - - + +
* @@ -209,7 +209,7 @@
- +
-
@@ -397,7 +396,10 @@ export default { title: '', stateOne: '', contentList : [], - contentListed: [] // 编辑 contentList 所带出来的数据 + contentListed: [], // 编辑 contentList 所带出来的数据 + SelectChangelabel: false, // 控件校验 + inputChangelabel: false, // 控件备选值校验 + buttonChangelabel: false, // 模板校验 } }, mounted() { @@ -405,6 +407,23 @@ export default { this.getSysCategoryTree() }, methods: { + onSelectChange() { + if(this.formInline.controlType =="1" || this.formInline.controlType =="5" || this.formInline.controlType =="6" || this.formInline.controlType =="7" || this.formInline.controlType =="10") { + this.SelectChangelabel = true + } else { + this.SelectChangelabel = false + } + if(this.formInline.controlType =="2" || this.formInline.controlType =="3" || this.formInline.controlType =="5" || this.formInline.controlType =="6" || this.formInline.controlType =="8" || this.formInline.controlType =="9" || this.formInline.controlType =="10") { + this.inputChangelabel = true + } else { + this.inputChangelabel = false + } + if(this.formInline.controlType =="4" || this.formInline.controlType =="7" || this.formInline.controlType =="8" || this.formInline.controlType =="9" || this.formInline.controlType =="10") { + this.buttonChangelabel = true + } else { + this.buttonChangelabel = false + } + }, uploadSuccess(data) { let attIdList = [] if (data && data.length > 0) {