fix: 企业标准库高级搜索查询修改
This commit is contained in:
+15
@@ -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,6 +5456,15 @@ export default {
|
|||||||
}else {
|
}else {
|
||||||
val = value
|
val = value
|
||||||
}
|
}
|
||||||
|
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({
|
advanceSearchVOList.push({
|
||||||
connect: 'and',
|
connect: 'and',
|
||||||
field: item.attrField || '',
|
field: item.attrField || '',
|
||||||
@@ -5459,6 +5472,8 @@ export default {
|
|||||||
value: val
|
value: val
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
formData.advanceSearchVOStr = JSON.stringify(advanceSearchVOList);
|
formData.advanceSearchVOStr = JSON.stringify(advanceSearchVOList);
|
||||||
|
|||||||
Reference in New Issue
Block a user