diff --git a/jero-web/src/views/parameter/parameterlist/components/addModel.vue b/jero-web/src/views/parameter/parameterlist/components/addModel.vue index cc8c70416..841c5d98b 100644 --- a/jero-web/src/views/parameter/parameterlist/components/addModel.vue +++ b/jero-web/src/views/parameter/parameterlist/components/addModel.vue @@ -20,7 +20,7 @@ @@ -31,7 +31,7 @@ {{$t('Required')}} - + {{ item.label }} @@ -52,7 +52,7 @@ @@ -84,7 +84,7 @@ :title="$t('parameterBatch')">{{$t('parameterBatch')}} - {{$t('areaOfResponsibility')}} - @@ -131,7 +131,7 @@ :title="$t('ParameterName')">{{$t('certificationCategory')}} - {{$t('controlType')}} - - + + {{ item.label }} @@ -166,7 +166,7 @@ {{$t('controlVerification')}} - + {{ item.label }} @@ -187,7 +187,7 @@ @@ -201,10 +201,13 @@ :title="$t('attachmentTemplate')">{{$t('attachmentTemplate')}} - + + + + + {{ $t('clickUpload') }} + @@ -212,32 +215,32 @@ - + {{$t('controlType')}} + :title="$t('standard')">{{$t('standard')}} + v-model="item.textVal" + :placeholder="$t('PleaseEnter')+$t('standard')"/> - {{$t('controlVerification')}} + {{$t('ParameterName')}} + v-model="item.paramsName" + :placeholder="$t('PleaseEnter')+$t('ParameterName')"/> @@ -247,13 +250,13 @@ {{$t('controlType')}} + :title="$t('ParameterDescription')">{{$t('ParameterDescription')}} + v-model="item.description" + :placeholder="$t('PleaseEnter')+$t('ParameterDescription')"/> @@ -310,7 +313,7 @@ export default { {value:9, label: '四位小数' }, ], CategoryTreeList: [], // 技术领域 - tabCertificationCategory: [], // 认证类别得tab栏 + certCategoryParamsInfoEOList: [], // 认证类别得tab栏 formInline: {}, confirmLoading: false, visible: false, @@ -345,27 +348,32 @@ export default { this.getSysCategoryTree() }, methods: { + clickButtonToUpload(item) { + // this.$refs.uploadFile.perentHandleFunc() + // this.$refs.uploadFile.state = item.flag + // this.$refs.uploadFile.visible = true + // this.uploadName = item.db_field_name + // getAction('sys/common/getFileInfos', { id: this.formInline[item.db_field_name] }).then((res) => { + // if (res.success) { + // this.$refs.uploadFile.perentHandleFunc(res.result) + // } else { + // this.$refs.uploadFile.perentHandleFunc() + // } + // }) + }, Onchangelabel(val) { - this.tabCertificationCategory = [] + this.certCategoryParamsInfoEOList = [] console.log(val,'val。。。') val.forEach((item) => { - let valItem = { - valitemOne: item.text, - valitemTwo: item.value, - valitemthree: '', + let _tt = { + textVal: item.text, // tab + certCategory: '', // 所属认证类别 + paramsNumber: '', // 编号 + paramsName: '', // 参数名称 + description: ''// 参数说明 } - this.tabCertificationCategory.push(valItem) + this.certCategoryParamsInfoEOList.push(_tt) }) - 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() {