+
选择线路
+
+
+
+
+
+ {{ item.name }}
+
+
+
+
+
+
+
+
+
diff --git a/src/views/picReport/index.vue b/src/views/picReport/index.vue
index ecebacc..68be7f7 100644
--- a/src/views/picReport/index.vue
+++ b/src/views/picReport/index.vue
@@ -371,15 +371,21 @@ export default {
this.picLoading = true;
picRportApi(params)
.then((res) => {
- this.picLoading = false;
- if (res.data.length !== 0) {
- console.log(res.data);
- this.tableData = res.data;
+ if (res.code == 200) {
+ this.picLoading = false;
+ if (res.data.length !== 0) {
+ console.log(res.data);
+ this.tableData = res.data;
+ } else {
+ this.tableData = [];
+ }
} else {
- this.tableData = [];
+ this.picLoading = false;
}
})
- .catch((err) => {});
+ .catch((err) => {
+ this.picLoading = false;
+ });
}, 100);
},