Browse Source

2025-12-03

chooseList人员优化
master
fengyuan_yang 1 month ago
parent
commit
c210cb7f9f
  1. 9
      src/views/modules/common/Chooselist_eam.vue
  2. 2
      src/views/modules/yieldReport/com_switch_operator.vue

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

@ -205,6 +205,13 @@ export default {
getDataList (bool) { getDataList (bool) {
let sql = this.baseListData.sqlcode let sql = this.baseListData.sqlcode
console.log(this.param1)
console.log(this.param2)
console.log(this.param3)
console.log(this.param4)
console.log(this.param5)
console.log(this.param6)
console.log(this.baseListData)
if (bool) { if (bool) {
sql += " and (" + this.baseListData.fieldname1 + " like '%" + this.param + "%' OR " + this.baseListData.fieldname2 + " like '%" + this.param + "%'" + " ) " sql += " and (" + this.baseListData.fieldname1 + " like '%" + this.param + "%' OR " + this.baseListData.fieldname2 + " like '%" + this.param + "%'" + " ) "
} }
@ -226,7 +233,7 @@ export default {
if (this.param6) { if (this.param6) {
sql += " and active like '%" + this.param6 + "%'" sql += " and active like '%" + this.param6 + "%'"
} }
if (this.tagNo <= 500 && this.tagNo !== 93 && this.tagNo !== 201 && this.tagNo !== 95) {
if (this.tagNo <= 500 && this.tagNo !== 93 && this.tagNo !== 201 && this.tagNo !== 95 && this.tagNo !== 26) {
if (this.param7) { if (this.param7) {
sql += " and site in (select site from accessSite where userID = '" + this.param7 + "') " + " and bu_no in (select bu_no from AccessBu where username = '" + this.param7 + "')" sql += " and site in (select site from accessSite where userID = '" + this.param7 + "') " + " and bu_no in (select bu_no from AccessBu where username = '" + this.param7 + "')"
} }

2
src/views/modules/yieldReport/com_switch_operator.vue

@ -119,7 +119,7 @@
</template> </template>
<script> <script>
import Chooselist from '@/views/modules/common/Chooselist';/*列表组件*/
import Chooselist from '@/views/modules/common/Chooselist_eam';/*列表组件*/
import { import {
getOperatorData, getOperatorData,
getOperatorList2, getOperatorList2,

Loading…
Cancel
Save