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
}
}
if(formData.QCDW){
let arry=formData.QCDW.split('-')
formData.QCDW = arry[arry.length-1]
}
// 处理我的收藏和个性化标签传参
if (this.selectSarMenu.id === 'qbwdsc') {
formData.labelMenuId = undefined
@@ -5452,12 +5456,23 @@ export default {
}else {
val = value
}
advanceSearchVOList.push({
connect: 'and',
field: item.attrField || '',
type: 'like',
value: val
});
if(item.attrField=='QCDW') {
let arry= val.split('-')
advanceSearchVOList.push({
connect: 'and',
field: item.attrField || '',
type: 'like',
value: arry[arry.length-1]
});
}else{
advanceSearchVOList.push({
connect: 'and',
field: item.attrField || '',
type: 'like',
value: val
});
}
}
})
}