企标字典接口同步

This commit is contained in:
zhaokaiyao@91isoft.com
2022-01-12 12:20:32 +08:00
parent ab38d73936
commit bb1ff5bb68
@@ -2148,6 +2148,22 @@ export default {
this.selectSarStandItems()
// 此处需要调用接口,修改个人配置
},
getdicTypeListCode(){
// 从数据库中查询各下拉框数据
this.$http.get('sys/dictype/getDicTypeListCode', '', {
_this: this
}, res => {
this.applyArcticOptions = res.data.ENERGYTYPES // 根据需求文档,产品类别对应标准属性中的“适用车型”
this.emergyKindOptions = res.data.ENERGYTYPES
this.requestOptions = res.data.REQUESTTYPE
this.textOptions = res.data.TEXTSTATUSBUSS //企标文本状态
this.mjOptions = res.data.MJ
this.STANDSOURCEREVISION = res.data.STANDSOURCEREVISION
}, e => {
})
},
selectStandMessage () {
let url = this.$route.params.pageType === 'SUB' ? 'lawss/sarSubsionessStand/getStandInfoById' : 'lawss/sarBussionessStand/getStandInfoById'
@@ -2876,18 +2892,7 @@ export default {
async mounted () {
//查询动态评价总平均分和质量评价总平均分
let standId = this.$route.params.id
// 从数据库中查询各下拉框数据
this.$http.get('sys/dictype/getDicTypeListCode', '', {
_this: this
}, res => {
this.applyArcticOptions = res.data.ENERGYTYPES // 根据需求文档,产品类别对应标准属性中的“适用车型”
this.emergyKindOptions = res.data.ENERGYTYPES
this.requestOptions = res.data.REQUESTTYPE
this.textOptions = res.data.TEXTSTATUSBUSS //企标文本状态
this.mjOptions = res.data.MJ
this.STANDSOURCEREVISION = res.data.STANDSOURCEREVISION
}, e => {
})
this.$http.get('sarEnterpriseStandardEvaluation/quality-evaluation/getScore', {lawId:standId}, {
_this: this
}, res => {
@@ -2930,7 +2935,7 @@ export default {
this.sarStandardsInfoEO.id = this.$route.params.id
this.getOrgTreeSource()
this.standItemEO.standId = this.$route.params.id
Promise.all([this.queryDisplayLocation(), this.selectStandMessage(), this.getAddFormFieldList()]).then(async(values) => {
Promise.all([this.getdicTypeListCode(),this.queryDisplayLocation(), this.selectStandMessage(), this.getAddFormFieldList()]).then(async(values) => {
const [displayLocation, {attrInfoMap: dynamicFormField}, formFieldList] = values
// const relatedPlansRes = await this.queryRelatedPlans()
// const relatedPlans = relatedPlansRes.list