|
@@ -1209,24 +1209,26 @@ export default {
|
|
this.loading = false;
|
|
this.loading = false;
|
|
});
|
|
});
|
|
},
|
|
},
|
|
-
|
|
|
|
-
|
|
|
|
|
|
+
|
|
|
|
+
|
|
//设备安装接口
|
|
//设备安装接口
|
|
getListther() {
|
|
getListther() {
|
|
this.loading = true;
|
|
this.loading = true;
|
|
listConfigserve(this.queryParamsstallation).then((response) => {
|
|
listConfigserve(this.queryParamsstallation).then((response) => {
|
|
- this.configListher = response.rows;
|
|
|
|
- this.configListher.filter((route) => {
|
|
|
|
- if (route.photo !== null) {
|
|
|
|
- let poku = [];
|
|
|
|
- poku = route.photo.split(",");
|
|
|
|
- route.photo = route.photo.split(",");
|
|
|
|
- route.phototwo = route.photo[0];
|
|
|
|
- this.dialogImagename = route.phototwo
|
|
|
|
- console.log(route.phototwo);
|
|
|
|
- console.log(route.photo);
|
|
|
|
- }
|
|
|
|
- });
|
|
|
|
|
|
+ if(response.rows.constructionCode !== null){
|
|
|
|
+ this.configListher = response.rows;
|
|
|
|
+ this.configListher.filter((route) => {
|
|
|
|
+ if (route.photo !== null) {
|
|
|
|
+ let poku = [];
|
|
|
|
+ poku = route.photo.split(",");
|
|
|
|
+ route.photo = route.photo.split(",");
|
|
|
|
+ route.phototwo = route.photo[0];
|
|
|
|
+ this.dialogImagename = route.phototwo
|
|
|
|
+ console.log(route.phototwo);
|
|
|
|
+ console.log(route.photo);
|
|
|
|
+ }
|
|
|
|
+ });
|
|
|
|
+ }
|
|
this.totalth = response.total;
|
|
this.totalth = response.total;
|
|
this.loading = false;
|
|
this.loading = false;
|
|
});
|
|
});
|