Browse Source

增加图标

sunzehao 1 week ago
parent
commit
c68ae0f481
1 changed files with 20 additions and 5 deletions
  1. 20 5
      src/views/IntegratedAlarm/DetailMatrix/index.vue

+ 20 - 5
src/views/IntegratedAlarm/DetailMatrix/index.vue

@@ -37,10 +37,10 @@
                             <div class="status-first">
                                 <div class="matrix-status-left">{{ item.name }}</div>
                             </div>
-                            <div class="status-end" style="height: 50px">
+                            <!-- <div class="status-end" style="height: 50px">
                                 <span style="margin-left: 5px">{{item.value1}}</span>
-                            </div>
-                            <!-- <div class="status-end" :class="{ active: item.value2 == fillFjzt }"
+                            </div> -->
+                            <div class="status-end" :class="{ active: item.value2 == fillFjzt }"
                                 @click="handleClick(item.value2)">
                                 <div class="matrix-status-left">
                                     <i class="svg-icon svg-icon-sm" :class="
@@ -53,10 +53,11 @@
                                     {{ item.text1 }}
                                 </div>
                                 <div class="matrix-status-right">
-                                    {{ sourceMap[item.code1] }}
+                                    <!-- {{ sourceMap[item.code1] }} -->
+                                    {{item.value1}}
                                 </div>
                             </div>
-                            <div class="status-end" :class="{ active: item.value3 == fillFjzt }"
+                            <!-- <div class="status-end" :class="{ active: item.value3 == fillFjzt }"
                                 @click="handleClick(item.value3)">
                                 <div class="matrix-status-left">
                                     <i class="svg-icon svg-icon-sm" :class="
@@ -512,42 +513,56 @@
                         name: "待机",
                         value1: "",
                         code: "djts",
+                        icon1: "svg-standby",
+                        icon2: "svg-manual",
                     },
                     {
                         color: "green",
                         name: "并网",
                         value1: "",
                         code: "bwts",
+                        icon1: "svg-normal-power",
+                        icon2: "svg-drop-output",
                     },
                     {
                         color: "red",
                         name: "故障",
                         value1: "",
                         code: "gzts",
+                        icon1: "svg-gz-downtime",
+                        icon2: "svg-field-involved",
                     },
                     {
                         color: "orange",
                         name: "检修",
                         value1: "",
                         code: "jxts",
+                        icon1: "svg-jx-downtime",
+                        icon2: "svg-field-involved",
                     },
                     {
                         color: "pink",
                         name: "限电",
                         value1: "",
                         code: "xdts",
+                        icon1: "svg-limit-power",
+                        icon2: "svg-downtime",
                     },
                     {
                         color: "write",
                         name: "停机",
                         value1: "",
                         code: "slts",
+                        icon1: "svg-intranet-involvement",
+                        icon2: "svg-environment",
                     },
                     {
                         color: "gray",
                         name: "离线",
                         value1: "",
                         code: "lxts",
+                        icon1: "svg-offline",
+                        icon2: "svg-unknown",
                     },
                 ],
                 //   右侧欠发标签