Merge remote-tracking branch 'origin/develop' into develop

This commit is contained in:
zhutianqi
2022-01-05 16:46:44 +08:00
2 changed files with 12 additions and 6 deletions
@@ -483,6 +483,15 @@ export default {
if(item.zrbm === "[]"){ if(item.zrbm === "[]"){
item.zrbm = null item.zrbm = null
} }
if (item.zccssrqgj === "undefined") {
item.zccssrqgj = '-'
}
if (item.xcxssrqgj === "undefined") {
item.xcxssrqgj = '-'
}
if (item.ssrq === "undefined") {
item.ssrq = '-'
}
}); });
this.standinfoList = res.data.records; this.standinfoList = res.data.records;
this.standardFormTotal = res.data.total; this.standardFormTotal = res.data.total;
@@ -3626,6 +3626,7 @@ export default {
selectMoreBtn() { selectMoreBtn() {
this.isAdvancedSearch = true this.isAdvancedSearch = true
this.sarStandardsSearch = {} this.sarStandardsSearch = {}
console.log(this.sarStandardsSearch)
}, },
treeCollapse() { treeCollapse() {
this.sideClose = !this.sideClose this.sideClose = !this.sideClose
@@ -4278,7 +4279,8 @@ export default {
this.sarStandardsSearch.page = page this.sarStandardsSearch.page = page
} }
this.standCommonlySearch.page = page this.standCommonlySearch.page = page
if (this.sarStandardsSearch) { this.standCommonlySearch.pageNo = 1
if (this.sarStandardsSearch.standNumber !== '' || this.sarStandardsSearch.standName !== '') {
this.getDomesticStandardTable(this.sarStandardsSearch) this.getDomesticStandardTable(this.sarStandardsSearch)
} else { } else {
this.getDomesticStandardTable(this.standCommonlySearch) this.getDomesticStandardTable(this.standCommonlySearch)
@@ -4294,7 +4296,6 @@ export default {
}, },
// 分页查询国内标准 // 分页查询国内标准
getDomesticStandardTable(item) { getDomesticStandardTable(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
} }
@@ -4305,7 +4306,6 @@ export default {
} }
// this.sarStandardsSearch.menuId = this.selectSarMenu.id // this.sarStandardsSearch.menuId = this.selectSarMenu.id
const formData = {...data} const formData = {...data}
console.log(formData)
if (!item) { if (!item) {
formData.menuId = this.sarStandardsSearch.menuId formData.menuId = this.sarStandardsSearch.menuId
} else { } else {
@@ -4335,11 +4335,8 @@ 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];
console.log('value',value)
if (value !== null && value !== '' && (key === 'NYLX' || key === 'SYRZ' || key === 'SYCPX' || (item.CLLX&&item.CLLX.length>0)) ){ if (value !== null && value !== '' && (key === 'NYLX' || key === 'SYRZ' || key === 'SYCPX' || (item.CLLX&&item.CLLX.length>0)) ){
advanceSearchVOList.push({ advanceSearchVOList.push({
connect: "and", connect: "and",