orgCode
This commit is contained in:
@@ -67,7 +67,8 @@ export default {
|
||||
requestConfig: {
|
||||
agreement: "http",
|
||||
url: "192.168.10.6",
|
||||
suffix: "gateway"
|
||||
suffix: "gateway",
|
||||
orgCode: "A01A86"
|
||||
},
|
||||
personnelType: "department", // 员工:staff / 部门:department
|
||||
|
||||
@@ -90,6 +91,10 @@ export default {
|
||||
if(suffix) {
|
||||
this.requestConfig.suffix = suffix;
|
||||
}
|
||||
let orgCode = this.$route.query.orgCode;
|
||||
if(orgCode) {
|
||||
this.requestConfig.orgCode = orgCode;
|
||||
}
|
||||
this.loadDataUrl();
|
||||
},
|
||||
methods: {
|
||||
@@ -111,6 +116,7 @@ export default {
|
||||
this_.isRequesting = true;
|
||||
|
||||
let params = {
|
||||
orgCode: this.requestConfig.orgCode,
|
||||
no: this.personnelType === "staff" ? 15 : 10
|
||||
};
|
||||
httpRequest('GET', url, params, {
|
||||
|
||||
Reference in New Issue
Block a user