|
@@ -18,16 +18,17 @@
|
|
loading: true,
|
|
loading: true,
|
|
currentProject: "所属项目",
|
|
currentProject: "所属项目",
|
|
currentProjectHouseId: "",
|
|
currentProjectHouseId: "",
|
|
|
|
+ fullscreenLoading:false,
|
|
}
|
|
}
|
|
},
|
|
},
|
|
created() {
|
|
created() {
|
|
this.houseList = [];
|
|
this.houseList = [];
|
|
|
|
+ this.fullscreenLoading = true;
|
|
api.houseList().then((res) => {
|
|
api.houseList().then((res) => {
|
|
if (res.success) {
|
|
if (res.success) {
|
|
this.houseList = res.list;
|
|
this.houseList = res.list;
|
|
}
|
|
}
|
|
});
|
|
});
|
|
-
|
|
|
|
this.getCncTestcaseList();
|
|
this.getCncTestcaseList();
|
|
},
|
|
},
|
|
filters: {
|
|
filters: {
|
|
@@ -74,6 +75,7 @@
|
|
if (res.success) {
|
|
if (res.success) {
|
|
this.pageModel = res.pageModel;
|
|
this.pageModel = res.pageModel;
|
|
}
|
|
}
|
|
|
|
+ this.fullscreenLoading = false;
|
|
})
|
|
})
|
|
},
|
|
},
|
|
cncTestDetail(testcaseId) {
|
|
cncTestDetail(testcaseId) {
|
|
@@ -106,6 +108,7 @@
|
|
if (element.houseId === command) {
|
|
if (element.houseId === command) {
|
|
this.currentProject = element.houseName;
|
|
this.currentProject = element.houseName;
|
|
this.currentProjectHouseId = element.houseId;
|
|
this.currentProjectHouseId = element.houseId;
|
|
|
|
+ this.fullscreenLoading = true;
|
|
this.getCncTestcaseList();
|
|
this.getCncTestcaseList();
|
|
return true
|
|
return true
|
|
} else {
|
|
} else {
|