Sfoglia il codice sorgente

站点和权限点击弹框样式优化,评估报告点击表格逻辑youhua

ming 3 anni fa
parent
commit
d9dbb2f5f9

+ 10 - 1
src/assets/css/index.scss

@@ -235,7 +235,12 @@ ul li {
 
 .goArchive {
     color: #056FFF;
-    text-decoration: underline;
+    // text-decoration: underline;
+    cursor: default;
+}
+
+.goArchive:hover {
+    cursor: text;
 }
 
 .blockTitle {
@@ -469,6 +474,10 @@ ul li {
 }
 
 //评估报告
+.defaultCursor:hover {
+    cursor: default!important;
+}
+
 .assePage .blanceChartTit {
     margin-bottom: 0;
     width: 100%;

+ 3 - 2
src/views/planOutage/dialogComponent.vue

@@ -289,9 +289,10 @@ export default defineComponent({
 .el-form-item__content {
   margin-left: 100px;
 }
-</style>
-<style>
 .demo-form-inline .el-form-item:not(.user-layout .el-form-item) {
   margin: 0 auto 20px 55px;
 }
+</style>
+<style>
+
 </style>

+ 13 - 2
src/views/powerQuality/asseReport/scoreReport.vue

@@ -103,7 +103,7 @@
           :header-cell-style="headCellStyle"
           v-loading="loading"
         >
-          <el-table-column label="回路" width="" align="center">
+          <el-table-column label="回路" width="" align="center" >
             <template #default="scope">
               {{ scope.row.loop ? scope.row.loop : '-' }}
             </template>
@@ -115,6 +115,7 @@
                   size="mini"
                   round
                   :type="scope.row.cosQ ? 'success' : 'danger'"
+                  :class="flag?'':'defaultCursor'"
                 >
                   {{ scope.row.cosQ ? '合格' : '不合格' }}
                 </el-button>
@@ -147,6 +148,7 @@
                     size="mini"
                     round
                     :type="scope.row.elBalunQ ? 'success' : 'danger'"
+                    :class="flag?'':'defaultCursor'"
                   >
                     {{ scope.row.elBalunQ ? '合格' : '不合格' }}
                   </el-button>
@@ -160,6 +162,7 @@
                     size="mini"
                     round
                     :type="scope.row.vtBalunQ ? 'success' : 'danger'"
+                    :class="flag?'':'defaultCursor'"
                   >
                     {{ scope.row.vtBalunQ ? '合格' : '不合格' }}
                   </el-button>
@@ -176,6 +179,7 @@
                     size="mini"
                     round
                     :type="scope.row.uaQ ? 'success' : 'danger'"
+                    :class="flag?'':'defaultCursor'"
                   >
                     {{ scope.row.uaQ ? '合格' : '不合格' }}
                   </el-button>
@@ -189,6 +193,7 @@
                     size="mini"
                     round
                     :type="scope.row.ubQ ? 'success' : 'danger'"
+                    :class="flag?'':'defaultCursor'"
                   >
                     {{ scope.row.ubQ ? '合格' : '不合格' }}
                   </el-button>
@@ -202,6 +207,7 @@
                     size="mini"
                     round
                     :type="scope.row.ucQ ? 'success' : 'danger'"
+                    :class="flag?'':'defaultCursor'"
                   >
                     {{ scope.row.ucQ ? '合格' : '不合格' }}
                   </el-button>
@@ -217,6 +223,7 @@
                     size="mini"
                     round
                     :type="scope.row.iaLoadQ ? 'success' : 'danger'"
+                    :class="flag?'':'defaultCursor'"
                   >
                     {{ scope.row.iaLoadQ ? '合格' : '不合格' }}
                   </el-button>
@@ -230,6 +237,7 @@
                     size="mini"
                     round
                     :type="scope.row.ibLoadQ ? 'success' : 'danger'"
+                    :class="flag?'':'defaultCursor'"
                   >
                     {{ scope.row.ibLoadQ ? '合格' : '不合格' }}
                   </el-button>
@@ -243,6 +251,7 @@
                     size="mini"
                     round
                     :type="scope.row.icLoadQ ? 'success' : 'danger'"
+                    :class="flag?'':'defaultCursor'"
                   >
                     {{ scope.row.icLoadQ ? '合格' : '不合格' }}
                   </el-button>
@@ -261,7 +270,7 @@
                     ? 'warning'
                     : 'danger'
                 "
-                style="cursor: defalut"
+               class="defaultCursor"
               >
                 {{ scope.row.score }}
               </el-button>
@@ -693,4 +702,6 @@ export default defineComponent({
   padding: 10px 0;
   border: 1px solid #f9fafc;
 }
+
+
 </style>