fix: 标准拆分中导入拆分结果中的下拉菜单修改

This commit is contained in:
wxyclub
2024-06-07 18:52:07 +08:00
parent 9051500acc
commit a0577c96a7
+1 -19
View File
@@ -1681,25 +1681,7 @@ export default {
_this: this
}, res => {
if (res.ok) {
let standFileClassifyOptions = res.data
this.standFileClassifyOptions.map(item => {
switch (item) {
case item.sarType === 'STAND' || item.sarType === 'INLAND_STAND':
item.label += '(国内标准)'
break
case item.sarType === 'FOREIGN_STAND':
item.label += '(海外标准)'
break
case item.sarType === 'FOREIGN_LAWS':
item.label += '(国外政策)'
break
case item.sarType === 'BUSS':
item.label += '(企业标准)'
break
}
})
console.log(standFileClassifyOptions)
this.standFileClassifyOptions = standFileClassifyOptions
this.standFileClassifyOptions = res.data
}
}, e => {})
},