国内标准 - 高级查询 - 日期范围查询和多选查询

This commit is contained in:
yanyizhou
2021-12-29 20:01:48 +08:00
parent 553ed28b8f
commit 382f34cf28
@@ -4289,7 +4289,7 @@ export default {
},
// 分页查询国内标准
getDomesticStandardTable(item) {
console.log(item)
console.log('4292',item)
if (item !== '' && item !== null && item !== undefined) {
item.pageSize = this.$store.getters.userInfo.configContent
}
@@ -4330,9 +4330,26 @@ export default {
// // 自定义属性字段高级搜索处理
//advanceSearchVOStr
const advanceSearchVOList = [];
console.log('4333',this.advanceSearchMapping)
for (let key in this.advanceSearchMapping) {
console.log('key',key)
const value = this.advanceSearchMapping[key];
if (value !== null && value !== '') {
console.log('value',value)
if (value !== null && value !== '' && (key === 'NYLX' || key === 'SYRZ' || key === 'SYCPX' || (item.CLLX&&item.CLLX.length>0)) ){
advanceSearchVOList.push({
connect: "and",
field: key || '',
type: 'regexp',
value: value.join(',')
});
}else if (value !== null && value !== '' && (key === 'SSRQ' || key === 'XCXSSRQ' || key === 'ZCCSSRQ' )){
advanceSearchVOList.push({
connect: "and",
field: key || '',
type: 'between',
value: value.join(',')
});
}else if (value !== null && value !== ''){
advanceSearchVOList.push({
connect: "and",
field: key || '',