pages/shebeiweixiu/Sb_Add_EqpMaintenanceBillList.vue
@@ -300,9 +300,13 @@ }, //获取维修人/负责人数据 getEmpList(){ let sWhere= " where 1=1 " if(this.hform.HDeptName && uni.getStorageSync("Organization") == '宁波市华舟包装有限公司'){ sWhere += ` and HDeptName = '${this.hform.HDeptName}'` } uni.request({ url: this.serverUrl + '/PublicPageMethod/UserList', data: { sWhere: '' }, data: { sWhere: sWhere }, success: (res) => { if(res.data.count == 1){ this.EmpNameList = res.data.data