[update 88415] 拆分-导入拆分结果-选择标准去掉限制
This commit is contained in:
@@ -264,7 +264,7 @@ export default {
|
||||
// 加载标准结构树
|
||||
loadStandardStructureTree () {
|
||||
// option 不传显示我的收藏,1不显示我的收藏, 2只能选二级中国及中国下三级,和欧盟EU
|
||||
getForeignStandardTree({ option: 2 }).then(res => {
|
||||
getForeignStandardTree({ option: 1 }).then(res => {
|
||||
if (res.success) {
|
||||
this.standardStructureTree = res.result || []
|
||||
}
|
||||
@@ -302,10 +302,8 @@ export default {
|
||||
excludeStandardNumbers: this.excludeStandardNumbers
|
||||
}
|
||||
// 标准结构树
|
||||
if (Array.isArray(query.standardSystem) && query.standardSystem.length) {
|
||||
if (Array.isArray(query.standardSystem)) {
|
||||
query.standardSystem = query.standardSystem.map(item => item.value).join(',')
|
||||
} else {
|
||||
query.standardSystem = this.getValuesWhereNotDisabled(this.standardStructureTree).join(',')
|
||||
}
|
||||
// 清空在可选范围内进行查询
|
||||
if (!query.source && this.canSelectedSource.length < 3) {
|
||||
|
||||
Reference in New Issue
Block a user