| | |
| | | this.handleQuery() |
| | | }, |
| | | //#endregion |
| | | |
| | | //#region 权限判断 |
| | | async set_ModCheck(ModRightNameCheck) |
| | | { |
| | | var Permission = false; |
| | | const res=await axios.get(this.$baseUrl + '/LMES/getReportByModRightNameCheck', { |
| | | params: { |
| | | "ModRightNameCheck": ModRightNameCheck, |
| | | "user": sessionStorage["HUserName"], |
| | | |
| | | }, |
| | | }).then(result=>{ |
| | | if (result.data.count != 1) { |
| | | Permission = true; |
| | | this.sWhere=this.sWhere+"and 承运商ID ="+sessionStorage["HSupID"] |
| | | } |
| | | }).catch(error => { |
| | | this.$modal.msgError("接口请求失败!"); |
| | | }); |
| | | }, |
| | | //#endregion |
| | | //#region 快速过滤 |
| | | handleQuery() { |
| | | async handleQuery() { |
| | | this.sWhere = '' |
| | | await this.set_ModCheck("WLYayBill_SUPQuery") |
| | | if (this.queryParams.ColName && this.queryParams.Comparator) { |
| | | var com = ""; |
| | | switch (this.queryParams.Comparator) { |
| | |
| | | // if (this.queryParams.HOrgID) { |
| | | // this.sWhere += " and HOrgID = '" + this.queryParams.HOrgID + "'"; |
| | | // } |
| | | console.log("swhere",this.sWhere) |
| | | this.clearData() |
| | | this.getList() |
| | | }, |
| | |
| | | } |
| | | this.tableShow = false |
| | | this.loading = true |
| | | |
| | | console.log("swhere",this.sWhere) |
| | | // 列表查询 |
| | | axios.get(this.$baseUrl + '/WLYayBillController/GetListPage', { |
| | | params: { |