|
@@ -873,14 +873,16 @@ export default {
|
|
this.getConfigKey("data_print_title").then((response) => {
|
|
this.getConfigKey("data_print_title").then((response) => {
|
|
Cookies.set("companyName", response.msg);
|
|
Cookies.set("companyName", response.msg);
|
|
});
|
|
});
|
|
- queryHomeInfo().then((response) => {
|
|
|
|
- this.fleetData = response.data;
|
|
|
|
- if (response.data.upperRight.length > 0) {
|
|
|
|
- this.upperRights = response.data.upperRight.slice(0, 10);
|
|
|
|
- }
|
|
|
|
- this.upperLeftCntrs = response.data.upperLeftCntrs;
|
|
|
|
- });
|
|
|
|
this.sysType = Cookies.get("sysType");
|
|
this.sysType = Cookies.get("sysType");
|
|
|
|
+ if (this.sysType == 2) {
|
|
|
|
+ queryHomeInfo().then((response) => {
|
|
|
|
+ this.fleetData = response.data;
|
|
|
|
+ if (response.data.upperRight.length > 0) {
|
|
|
|
+ this.upperRights = response.data.upperRight.slice(0, 10);
|
|
|
|
+ }
|
|
|
|
+ this.upperLeftCntrs = response.data.upperLeftCntrs;
|
|
|
|
+ });
|
|
|
|
+ }
|
|
// console.log(this.sysType);
|
|
// console.log(this.sysType);
|
|
},
|
|
},
|
|
activated() {
|
|
activated() {
|