diff --git a/src/views/modules/common/Chooselist_eam.vue b/src/views/modules/common/Chooselist_eam.vue index f28f3e5..9ad7613 100644 --- a/src/views/modules/common/Chooselist_eam.vue +++ b/src/views/modules/common/Chooselist_eam.vue @@ -226,11 +226,13 @@ export default { if (this.param6 ) { sql += " and active like '%" + this.param6 + "%'" } + //500以内自动增加site和BU过滤 if (this.tagNo <= 500 && this.tagNo !== 93 && this.tagNo !== 201) { 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 + "')" } } + //500-1000自动增加site过滤 if (this.tagNo > 500 && this.tagNo < 1000) { if (this.param7) { sql += " and site in (select site from eam_access_site where username = '" + this.param7 + "') "