Browse Source

chooselist过滤提示

master
常熟吴彦祖 1 month ago
parent
commit
0867e4cc47
  1. 2
      src/views/modules/common/Chooselist_eam.vue

2
src/views/modules/common/Chooselist_eam.vue

@ -226,11 +226,13 @@ export default {
if (this.param6 ) { if (this.param6 ) {
sql += " and active like '%" + this.param6 + "%'" sql += " and active like '%" + this.param6 + "%'"
} }
//500siteBU
if (this.tagNo <= 500 && this.tagNo !== 93 && this.tagNo !== 201) { if (this.tagNo <= 500 && this.tagNo !== 93 && this.tagNo !== 201) {
if (this.param7) { if (this.param7) {
sql += " and site in (select site from eam_access_site where username = '" + this.param7 + "') " + " and bu_no in (select a.bu_no from AccessBu as a left join eam_access_site as b on a.site = b.site and a.username = b.username where a.username = '" + this.param7 + "')" sql += " and site in (select site from eam_access_site where username = '" + this.param7 + "') " + " and bu_no in (select a.bu_no from AccessBu as a left join eam_access_site as b on a.site = b.site and a.username = b.username where a.username = '" + this.param7 + "')"
} }
} }
//500-1000site
if (this.tagNo > 500 && this.tagNo < 1000) { if (this.tagNo > 500 && this.tagNo < 1000) {
if (this.param7) { if (this.param7) {
sql += " and site in (select site from eam_access_site where username = '" + this.param7 + "') " sql += " and site in (select site from eam_access_site where username = '" + this.param7 + "') "

Loading…
Cancel
Save