diff --git a/src/pages/regulatoryRepository/standardTranslationAcquisitionRequest/components/addModal.vue b/src/pages/regulatoryRepository/standardTranslationAcquisitionRequest/components/addModal.vue index ad6004777..a5c9918e1 100644 --- a/src/pages/regulatoryRepository/standardTranslationAcquisitionRequest/components/addModal.vue +++ b/src/pages/regulatoryRepository/standardTranslationAcquisitionRequest/components/addModal.vue @@ -45,6 +45,7 @@ v-model="StandardApplyForEO.standType" :placeholder="'请选择标准类型'" clearable + @change="selectStandType" > - @@ -168,11 +168,10 @@ export default { }, methods: { getDicTypeListCode () { - this.$http.get('sys/dictype/getDicTypeListCode', '', { + this.$http.get('/lawss/standardApplyFor/getStandTypeDropDownData', {}, { _this: this }, res => { - this.typeList = res.data.BZJYWTYPE // 标准类别 - this.standTypeList = res.data.BZJYWSTADNTYPE + this.standTypeList = res.data }, e => { }) }, @@ -198,7 +197,16 @@ export default { this.$refs.addFormRef.clearValidate() }) }, - selectStandType () { + selectStandType (value) { + if (value === '') { + this.standLbList = [] + } + this.$http.get('/lawss/standardApplyFor/getStandLbDropDownData', { dicId: value },res=>{ + if (res.ok) { + this.standLbList = res.data + } + this.standLbList = [] + }) }, submit () { this.$refs.addFormRef.validate((valid) => { diff --git a/src/pages/regulatoryRepository/standardTranslationAcquisitionRequest/index.vue b/src/pages/regulatoryRepository/standardTranslationAcquisitionRequest/index.vue index 5db446d67..24464c14d 100644 --- a/src/pages/regulatoryRepository/standardTranslationAcquisitionRequest/index.vue +++ b/src/pages/regulatoryRepository/standardTranslationAcquisitionRequest/index.vue @@ -116,7 +116,11 @@ width="150" align="center" prop="standNum" - /> + > + +