From 8837c26b0a0c19e872d8251fad0bafe2f149ef61 Mon Sep 17 00:00:00 2001 From: licp <lichunping@guanfang.com.cn> Date: 星期日, 28 四月 2024 10:50:52 +0800 Subject: [PATCH] Merge branch 'master' of http://114.132.189.42:9002/r/center-lims-before into master --- src/components/view/a7-standard-method.vue | 38 ++++++++++++++++++++++++++++++++++++++ 1 files changed, 38 insertions(+), 0 deletions(-) diff --git a/src/components/view/a7-standard-method.vue b/src/components/view/a7-standard-method.vue index 58ebf4e..60a635d 100644 --- a/src/components/view/a7-standard-method.vue +++ b/src/components/view/a7-standard-method.vue @@ -125,6 +125,9 @@ value: 1, label: '鏄�' }] + }, + qualificationId:{ + select: [] } }, selectField: { @@ -150,6 +153,9 @@ value: 1, label: '鏄�' }] + }, + qualificationId:{ + select: [] } }, requiredAdd: ['code', 'name', 'structureTestObjectId', 'isProduct','isUse','nameEn'], @@ -165,6 +171,7 @@ this.entityCopy = this.HaveJson(this.componentData.entity) this.getPower() this.selectTestObjectByName() + this.getQualificationList() }, methods: { refreshTable() { @@ -215,6 +222,37 @@ this.componentData.tagField.structureTestObjectId.select = data }) }, + getQualificationList(){ + this.$axios.post(this.$api.enums.selectEnumByCategory, { + category: "璧勮川鍚嶇О" + }).then(res => { + let list = res.data + this.componentData.selectField.qualificationId.select = list + this.componentData.tagField.qualificationId.select = list + }) + // this.$axios.post(this.$api.certification.getCertificationDetail,{ + // page: { + // current: -1, + // size: -1 + // }, + // entity:{ + // name: null, + // }}, { + // headers: { + // 'Content-Type': 'application/json' + // } + // }).then(res => { + // if(res.code==200){ + // let list = res.data.body.records.map(item => { + // item.label = item.name + // item.value = item.id + // return item + // }); + // this.componentData.selectField.qualificationId.select = list + // this.componentData.tagField.qualificationId.select = list + // } + // }) + } } } </script> -- Gitblit v1.9.3