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