修改bug 56660 本地工具-标准拆分,文本状态的下拉选项有重复的
This commit is contained in:
@@ -1518,15 +1518,22 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
getFileSel () {
|
getFileSel () {
|
||||||
this.$http.get('lawss/sarStandAttrDetails/getFileFieldForSel1', {}, {
|
this.$http.get('sys/dictype/getDicTypeListCode', {}, {
|
||||||
_this: this
|
_this: this
|
||||||
}, res => {
|
}, res => {
|
||||||
if (res.ok) {
|
if (res.ok) {
|
||||||
const standFileClassifyOptions = []
|
const standFileClassifyOptions = []
|
||||||
res.data.map(item => {
|
res.data.lawsTextState.map(item => {
|
||||||
if (item.label !== '相关资料') {
|
item.label += '(政策)'
|
||||||
standFileClassifyOptions.push(item)
|
standFileClassifyOptions.push(item)
|
||||||
}
|
})
|
||||||
|
res.data.TEXTSTATUSBUSS.map(item => {
|
||||||
|
item.label += '(企标)'
|
||||||
|
standFileClassifyOptions.push(item)
|
||||||
|
})
|
||||||
|
res.data.WBZTCLASS.map(item => {
|
||||||
|
item.label += '(国内外)'
|
||||||
|
standFileClassifyOptions.push(item)
|
||||||
})
|
})
|
||||||
this.standFileClassifyOptions = standFileClassifyOptions
|
this.standFileClassifyOptions = standFileClassifyOptions
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user