From afd974bb27cfdb988d46ffb92d81624aa47450de Mon Sep 17 00:00:00 2001 From: "autumn.g@foxmail.com" Date: Fri, 10 Mar 2023 17:04:19 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=85=E7=94=B5=E6=A1=A9=E8=AF=A6=E6=83=85?= =?UTF-8?q?=E9=A1=B5=E4=BC=98=E5=8C=96=EF=BC=8C=E6=96=B0=E5=A2=9E=E5=88=B7?= =?UTF-8?q?=E6=96=B0=E5=88=97=E8=A1=A8=E6=8C=89=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jsowell-ui/src/views/pile/basic/detail.vue | 34 +++++++++++++--------- 1 file changed, 20 insertions(+), 14 deletions(-) diff --git a/jsowell-ui/src/views/pile/basic/detail.vue b/jsowell-ui/src/views/pile/basic/detail.vue index c0c474e01..91cf0f8c9 100644 --- a/jsowell-ui/src/views/pile/basic/detail.vue +++ b/jsowell-ui/src/views/pile/basic/detail.vue @@ -95,9 +95,12 @@ -
接口列表
-
- +
+ 接口列表 + 刷新 +
+
- -
充电桩通信日志
- + +
+ 充电桩通信日志 + 刷新 +
+ @@ -241,14 +247,14 @@ export default { dicts: ["connector_status", "connector_type", "sim_supplier", "sim_operator"], data() { return { - Loading: false, + pileListLoading: false, pileId: this.$route.params.pileId, // 右侧数据数组 connectorList: [], stationId: 1, // 充电桩详情 竖向 表格渲染的数据 pileDetail: { url: "" }, - loading: false, + feedListLoading: false, qrWidth: 60, flag: true, // 充电桩通信日志 @@ -340,21 +346,21 @@ export default { }, // 刷新按钮重新获取数据 refreshPileConnectorList() { - this.Loading = true; + this.pileListLoading = true; setTimeout(() => { this.queryPileConnectorList(); - this.Loading = false; + this.pileListLoading = false; }, 1000); }, /** 查询充电桩通信日志 */ getFeedList() { - this.loading = true; + this.feedListLoading = true; this.queryParams.pileSn = this.pileSn; getPileFeedList(this.queryParams).then((response) => { console.log("查询充电桩通信日志", response); this.feedList = response.data.list; this.total = response.data.total; - this.loading = false; + this.feedListLoading = false; }); // this.feedList = [ // {