企标文本状态回显
This commit is contained in:
@@ -395,7 +395,7 @@
|
||||
<p class="half">
|
||||
<label style=" margin-right: 156px;"
|
||||
title="“修订中”为现行有效版本;“已修订”标准的有效性需根据实际实施情况判定"
|
||||
>文本状态</label><span style="color: #409EFF;">{{ sarStandardsInfoEO.standStatusShow || '-' }}</span>
|
||||
>文本状态</label><span style="color: #409EFF;">{{ sarStandardsInfoEO.textStatusBuss || '-' }}</span>
|
||||
</p>
|
||||
<p class="half"><label style=" margin-right: 157px;">发布日期</label><span>{{ sarStandardsInfoEO.issueTime || '-' }}</span></p>
|
||||
<p class="half" style=""><label style=" margin-right: 122px;">标准实施日期</label><span>{{ sarStandardsInfoEO.putTime || '-' }}</span></p>
|
||||
@@ -1295,6 +1295,7 @@ export default {
|
||||
},
|
||||
data () {
|
||||
return {
|
||||
textOptions: [],
|
||||
commentAverageScoreTag: '1',
|
||||
qualityFirstHistoryPeopleId: '',//质量评价最新评价的人的id
|
||||
dynamicFirstHistoryPeopleId: '',//动态评价最新评价的人的id
|
||||
@@ -2155,6 +2156,11 @@ export default {
|
||||
_this: this
|
||||
}, res => {
|
||||
this.sarStandardsInfoEO = res.data || {}
|
||||
this.textOptions.forEach(item => {
|
||||
if(this.sarStandardsInfoEO.textStatusBuss === item.value){
|
||||
this.sarStandardsInfoEO.textStatusBuss = item.label
|
||||
}
|
||||
})
|
||||
if (this.sarStandardsInfoEO.issueTime) {
|
||||
this.sarStandardsInfoEO.issueTime = this.sarStandardsInfoEO.issueTime.split(' ')[0]
|
||||
}
|
||||
@@ -2870,6 +2876,18 @@ 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 => {
|
||||
@@ -2912,17 +2930,6 @@ export default {
|
||||
this.sarStandardsInfoEO.id = this.$route.params.id
|
||||
this.getOrgTreeSource()
|
||||
this.standItemEO.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.mjOptions = res.data.MJ
|
||||
this.STANDSOURCEREVISION = res.data.STANDSOURCEREVISION
|
||||
}, e => {
|
||||
})
|
||||
Promise.all([this.queryDisplayLocation(), this.selectStandMessage(), this.getAddFormFieldList()]).then(async(values) => {
|
||||
const [displayLocation, {attrInfoMap: dynamicFormField}, formFieldList] = values
|
||||
// const relatedPlansRes = await this.queryRelatedPlans()
|
||||
|
||||
Reference in New Issue
Block a user