diff --git a/jsowell-ui/src/views/pile/station/detail.vue b/jsowell-ui/src/views/pile/station/detail.vue
index d0aaede7a..b6ade58fe 100644
--- a/jsowell-ui/src/views/pile/station/detail.vue
+++ b/jsowell-ui/src/views/pile/station/detail.vue
@@ -36,7 +36,16 @@
- 配置参数
+
+
+
+
+
+ 配置参数
+
+
+
+
@@ -62,7 +71,7 @@ import pileList from "./pileList.vue";
import MapContainer from "../../../components/MapContainer/MapContainer.vue";
import stationOrderList from "@/views/pile/station/stationOrderList";
import {updatePlateNumber} from "@/api/member/info";
-import {updateStationQRCodePrefix} from "@/api/pile/station";
+import {getStationInfo, updateStationQRCodePrefix} from "@/api/pile/station";
export default {
components: {
SiteInfo,
@@ -83,6 +92,7 @@ export default {
dialogFormVisible: false,
stationId: this.$route.params.id,
stationName: this.$route.params.stationName,
+ stationDetail: {}
};
},
created() {
@@ -91,7 +101,8 @@ export default {
const stationName = this.stationName;
const title = "【" + stationName + "】站点详情";
const route = Object.assign({}, this.$route, { title: `${title}` })
- this.$store.dispatch('tagsView/updateVisitedView', route)
+ this.$store.dispatch('tagsView/updateVisitedView', route);
+ this.queryStationInfo();
},
mounted() {
this.initializeData(this.activeName);
@@ -117,6 +128,14 @@ export default {
this.$refs.order.dataLoading();
}
},
+ queryStationInfo() {
+ console.log("stationId", this.stationId);
+ getStationInfo(this.stationId).then((res) => {
+ console.log(res);
+ this.stationDetail = res.data;
+ });
+ console.log("queryStationInfo==", this.stationDetail);
+ },
// 配置参数按钮
handleCreate() {
this.dialogTitle = '配置参数';