| | |
| | | const userData = userRes.data.data[0]; |
| | | this.user = sessionStorage["HUserName"] ; |
| | | this.Organization = userData.HUSEORGID; |
| | | this.queryParams.HUSEORGID = userData.HUSEORGID; |
| | | const orgId = sessionStorage["OrganizationID"]; |
| | | this.queryParams.HUSEORGID = orgId ? Number(orgId) : null; |
| | | this.$forceUpdate(); |
| | | } |
| | | |
| | | const orgRes = await axios.get(`${this.$baseUrl}/Web/GetOrganizations`); |
| | |
| | | async getList() { |
| | | this.tableShow = false; |
| | | this.loading = true; |
| | | console.log("获取列表数据...", this.sWhere); |
| | | this.sWhere=this.sWhere+"and 使用组织 ="+sessionStorage["OrganizationID"] |
| | | await this.set_ModCheck("GyDriver_SUPQuery") |
| | | try { |
| | | const params = { |
| | |
| | | |
| | | resetQuery() { |
| | | this.queryParams = { |
| | | HUSEORGID: this.Organization, |
| | | HUSEORGID: sessionStorage["OrganizationID"], |
| | | HName: "", |
| | | HNumber: "", |
| | | HSyncNumber: "", |