国内标准 - 高级查询 - 日期范围查询和多选查询
This commit is contained in:
@@ -4289,7 +4289,7 @@ export default {
|
|||||||
},
|
},
|
||||||
// 分页查询国内标准
|
// 分页查询国内标准
|
||||||
getDomesticStandardTable(item) {
|
getDomesticStandardTable(item) {
|
||||||
console.log(item)
|
console.log('4292',item)
|
||||||
if (item !== '' && item !== null && item !== undefined) {
|
if (item !== '' && item !== null && item !== undefined) {
|
||||||
item.pageSize = this.$store.getters.userInfo.configContent
|
item.pageSize = this.$store.getters.userInfo.configContent
|
||||||
}
|
}
|
||||||
@@ -4330,9 +4330,26 @@ export default {
|
|||||||
// // 自定义属性字段高级搜索处理
|
// // 自定义属性字段高级搜索处理
|
||||||
//advanceSearchVOStr
|
//advanceSearchVOStr
|
||||||
const advanceSearchVOList = [];
|
const advanceSearchVOList = [];
|
||||||
|
console.log('4333',this.advanceSearchMapping)
|
||||||
for (let key in this.advanceSearchMapping) {
|
for (let key in this.advanceSearchMapping) {
|
||||||
|
console.log('key',key)
|
||||||
const value = this.advanceSearchMapping[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({
|
advanceSearchVOList.push({
|
||||||
connect: "and",
|
connect: "and",
|
||||||
field: key || '',
|
field: key || '',
|
||||||
|
|||||||
Reference in New Issue
Block a user