Merge branch 'develop' into FOTON

This commit is contained in:
super_liu
2021-12-29 21:53:52 +08:00
4 changed files with 41 additions and 7 deletions
@@ -268,7 +268,7 @@
<el-drawer <el-drawer
title="选择体系结构" title="选择体系结构"
:visible.sync="TXJGmodal" :visible.sync="TXJGmodal"
size="900px" size="400px"
custom-class="demo-drawer" custom-class="demo-drawer"
> >
<div class="standardForComments"> <div class="standardForComments">
@@ -344,7 +344,7 @@ export default {
standSystemOptions: [], standSystemOptions: [],
QYBZform: { QYBZform: {
page: 1, page: 1,
pageSzie: this.$store.getters.userInfo.configContent, pageSize: this.$store.getters.userInfo.configContent,
validFlag: '0', validFlag: '0',
userId: this.$store.getters.userInfo.userId, userId: this.$store.getters.userInfo.userId,
standCode: '', standCode: '',
@@ -436,7 +436,7 @@
<el-drawer <el-drawer
title="选择体系结构" title="选择体系结构"
:visible.sync="TXJGmodal" :visible.sync="TXJGmodal"
size="900px" size="400px"
custom-class="demo-drawer" custom-class="demo-drawer"
> >
<div class="standardForComments"> <div class="standardForComments">
@@ -514,7 +514,7 @@ export default {
standSystemOptions: [], standSystemOptions: [],
QYBZform: { QYBZform: {
page: 1, page: 1,
pageSzie: this.$store.getters.userInfo.configContent, pageSize: this.$store.getters.userInfo.configContent,
validFlag: '0', validFlag: '0',
userId: this.$store.getters.userInfo.userId, userId: this.$store.getters.userInfo.userId,
standCode: '', standCode: '',
@@ -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 || '',
@@ -3810,9 +3810,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 || '',