修改 本地工具-标准拆分-导入拆分结果-标准状态 下拉框数据

This commit is contained in:
baoyu
2024-06-07 18:33:20 +08:00
parent 14b19c78cb
commit 9051500acc
+19 -1
View File
@@ -1681,7 +1681,25 @@ export default {
_this: this
}, res => {
if (res.ok) {
this.standFileClassifyOptions = res.data
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
}
}, e => {})
},