From bae0368f502f524fc739003fe751fb0eb06c5859 Mon Sep 17 00:00:00 2001 From: zhangzengfei <zhangzengfei@iotlink.com> Date: 星期四, 17 六月 2021 14:48:29 +0800 Subject: [PATCH] 修改朔黄前端分析 --- src/pages/shuohuangMonitorAnalyze/components/transferDeviceManage.vue | 25 ++++++++++++++----------- 1 files changed, 14 insertions(+), 11 deletions(-) diff --git a/src/pages/shuohuangMonitorAnalyze/components/transferDeviceManage.vue b/src/pages/shuohuangMonitorAnalyze/components/transferDeviceManage.vue index f11d59a..9ad68c8 100644 --- a/src/pages/shuohuangMonitorAnalyze/components/transferDeviceManage.vue +++ b/src/pages/shuohuangMonitorAnalyze/components/transferDeviceManage.vue @@ -34,7 +34,10 @@ :key="indicator.id" > <div class="title"> - <span class="dot" :class="{'kx':indicator.id=='kx','dx':indicator.id=='dx','ccgz':indicator.id=='ccgz'}"></span> + <span + class="dot" + :class="{'kx':indicator.id=='kx','dx':indicator.id=='dx','ccgz':indicator.id=='ccgz'}" + ></span> <span class="word">{{indicator.title}}</span> </div> <div class="indicator-val">{{indicator.slots.length}}</div> @@ -52,7 +55,7 @@ <label>璁惧鐘舵��:</label> <div> <el-select v-model="deviceState" size="small"> - <el-option></el-option> + <el-option value="work" label="宸ヤ綔"></el-option> </el-select> </div> </div> @@ -111,7 +114,7 @@ <script> import { addDevice, getDeviceList, getDeviceInfoById } from '@/api/shuohuang'; export default { - data () { + data() { return { actTab: 'dev1', devices: [], @@ -124,11 +127,11 @@ IP: '', } }, - mounted () { + mounted() { this.findDeviceList(); }, methods: { - findDeviceList () { + findDeviceList() { let _this = this; getDeviceList().then(res => { _this.devices = res.data; @@ -136,7 +139,7 @@ _this.findDeviceIfo() }) }, - findDeviceIfo () { + findDeviceIfo() { let _this = this; getDeviceInfoById({ DeviceID: this.actTab }).then(res => { // debugger @@ -162,7 +165,7 @@ //_this.generalIndicators }) }, - toAddDevice () { + toAddDevice() { let _this = this; let params = { Name: this.Name, @@ -178,14 +181,14 @@ } }) }, - showAddDevice () { + showAddDevice() { this.visibleOfialogAddDev = true; }, - checkTab (tab, event) { + checkTab(tab, event) { this.findDeviceIfo(); }, - checkSlot (row) { + checkSlot(row) { } } @@ -247,7 +250,7 @@ flex: 1; position: relative; &:not(.lastOne):after { - content: ''; + content: ""; width: 1px; height: 57px; background: #e9e9e9; -- Gitblit v1.8.0