| | |
| | | <!-- |
| | | * @Date: 2024-04-09 22:11:21 |
| | | * @LastEditors: lzhe lzhe@example.com |
| | | * @LastEditTime: 2024-10-31 17:27:54 |
| | | * @LastEditTime: 2024-11-04 11:19:09 |
| | | * @FilePath: /cps-web/src/views/mdc/realtime-status/index.vue |
| | | 实时看板 |
| | | --> |
| | |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <el-dialog :title="titleMap" v-model="visible" :width="740"> |
| | | <el-dialog :title="titleMap" v-model="visible" :width="740" v-if="visible"> |
| | | <div class="dialogstyle"> |
| | | <el-table :data="timestatus[clickIndex].properties" style="width: 100%" border> |
| | | <el-table-column prop="name" label="数据点"></el-table-column> |
| | |
| | | this.stationlabel = this.stationlabelList[0].groupName; |
| | | this.workStationGroupIdList = [this.stationlabelList[0].groupId]; |
| | | } |
| | | this.clickIndex = 0; |
| | | this.gettimestatus(); //查询列表 |
| | | }, |
| | | showvisible(item, index) { |
| | |
| | | } |
| | | }, |
| | | goSet() { |
| | | this.$router.push('/mdc/configuration?isShowSearch=1'); //分析设置 |
| | | this.$router.push('/mdc/configuration?isShowSearch=1'); //分析设置(isShowSearch表示即时信息来) |
| | | }, |
| | | gostatus(item) { |
| | | this.$router.push('/mdc/station-live?code=' + item.id); |
| | |
| | | if(eventData.data[item1.key]) { |
| | | if(item1.key == "Alarm") { |
| | | var vJson = JSON.parse(eventData.data[item1.key].v); |
| | | item1.code = vJson[0]; |
| | | item1.code = JSON.stringify(vJson[0]); |
| | | }else { |
| | | item1.code = eventData.data[item1.key].v; |
| | | } |