fix: 企业标准库高级搜索查询修改

This commit is contained in:
wxyclub
2024-07-16 16:00:08 +08:00
parent bd83917049
commit 0caf687e2d
@@ -5406,6 +5406,10 @@ export default {
formData.menuId = this.parentNode.id formData.menuId = this.parentNode.id
} }
} }
if(formData.QCDW){
let arry=formData.QCDW.split('-')
formData.QCDW = arry[arry.length-1]
}
// 处理我的收藏和个性化标签传参 // 处理我的收藏和个性化标签传参
if (this.selectSarMenu.id === 'qbwdsc') { if (this.selectSarMenu.id === 'qbwdsc') {
formData.labelMenuId = undefined formData.labelMenuId = undefined
@@ -5452,12 +5456,23 @@ export default {
}else { }else {
val = value val = value
} }
advanceSearchVOList.push({ if(item.attrField=='QCDW') {
connect: 'and', let arry= val.split('-')
field: item.attrField || '', advanceSearchVOList.push({
type: 'like', connect: 'and',
value: val field: item.attrField || '',
}); type: 'like',
value: arry[arry.length-1]
});
}else{
advanceSearchVOList.push({
connect: 'and',
field: item.attrField || '',
type: 'like',
value: val
});
}
} }
}) })
} }