From 0444a944fa3140467755e7832fb02a4c020f4fdf Mon Sep 17 00:00:00 2001 From: zhaomeijing Date: Wed, 27 Apr 2022 17:29:11 +0800 Subject: [PATCH] =?UTF-8?q?[add]=20=E5=8F=82=E6=95=B0=E6=A8=A1=E6=9D=BF?= =?UTF-8?q?=E5=88=97=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../parameterlist/components/addModel.vue | 115 ++++++++++-------- .../views/parameter/parameterlist/index.vue | 10 +- 2 files changed, 69 insertions(+), 56 deletions(-) diff --git a/jero-web/src/views/parameter/parameterlist/components/addModel.vue b/jero-web/src/views/parameter/parameterlist/components/addModel.vue index e27d3359b..cc8c70416 100644 --- a/jero-web/src/views/parameter/parameterlist/components/addModel.vue +++ b/jero-web/src/views/parameter/parameterlist/components/addModel.vue @@ -210,55 +210,55 @@ - - - - - -
-
+ + + + + +
+
{{$t('controlType')}} -
- - - -
-
- -
-
- {{$t('controlVerification')}} -
- - - -
-
-
- - -
-
+
+ + + +
+
+ +
+
+ {{$t('controlVerification')}} +
+ + + +
+
+
+ + +
+
{{$t('controlType')}} -
- - - -
-
-
-
+
+ + + +
+
+
+
@@ -346,13 +346,26 @@ export default { }, methods: { Onchangelabel(val) { + this.tabCertificationCategory = [] console.log(val,'val。。。') - if(val.length > 0) { - this.tabCertificationCategory = val - } else { - this.tabCertificationCategory = [] - console.log(this.tabCertificationCategory,'this.tabCertificationCategorythis.tabCertificationCategory') - } + val.forEach((item) => { + let valItem = { + valitemOne: item.text, + valitemTwo: item.value, + valitemthree: '', + } + this.tabCertificationCategory.push(valItem) + }) + console.log(this.tabCertificationCategory,'this.tabCertificationCategory') + // if(val.length > 0) { + // + // } + // if(val.length > 0) { + // this.tabCertificationCategory = [] + // } else { + // this.tabCertificationCategory = [] + // console.log(this.tabCertificationCategory,'this.tabCertificationCategorythis.tabCertificationCategory') + // } }, Onchange() { diff --git a/jero-web/src/views/parameter/parameterlist/index.vue b/jero-web/src/views/parameter/parameterlist/index.vue index 4d62fb67b..6fe49dc73 100644 --- a/jero-web/src/views/parameter/parameterlist/index.vue +++ b/jero-web/src/views/parameter/parameterlist/index.vue @@ -109,11 +109,11 @@ export default { dataSource: [], confirmLoading: false, url: { - list: 'params/template/page', - add: 'params/template/add', - edit: 'params/template/edit', - deleteBatch: 'params/template/delete', - deleteAll: 'params/template/deleteBatch' + list: 'params/paramsInfo/page', + add: 'params/paramsInfo/add', + edit: 'params/paramsInfo/edit', + deleteBatch: 'params/paramsInfo/delete', + deleteAll: 'params/paramsInfo/deleteBatch' }, total: 0, pageSize: 10,