박민혁 박민혁 2024-01-17
240117 박민혁 품질지표조회 스타일 수정
@aec2585d169104c98c7df3035968031d922e265f
client/views/pages/dbManagement/DqiList.vue
--- client/views/pages/dbManagement/DqiList.vue
+++ client/views/pages/dbManagement/DqiList.vue
@@ -9,30 +9,30 @@
 
     <div class="content">
       <div class="table-zone">
-        <table class="form-table">
-          <tbody>
+        <table class="form-table dqi-table">
+          <colgroup>
+            <col width="5%" />
+            <col width="15%" />
+            <col width="15%" />
+            <col width="15%" />
+            <col width="50%" />
+          </colgroup>
+          <thead>
             <tr>
-              <!-- 앞의 메뉴에서 진행한 검사 결과 간략 표기 -->
               <th>No.</th>
               <th>상위품질지표명</th>
               <th>품질지표명</th>
               <th>검증유형</th>
               <th>데이터품질지표설명</th>
             </tr>
+          </thead>
+          <tbody>
             <!-- 상위품질지표명 rowspan -->
-            <tr
-              class="text-ct"
-              v-for="(item, index) in dataList"
-              :key="item.dqi_nm_high"
-            >
+            <tr class="text-ct" v-for="(item, index) in dataList" :key="item.dqi_nm_high">
               <td>{{ index + 1 }}</td>
-              <td
-                v-if="
-                  index === 0 ||
-                  item.dqi_nm_high !== dataList[index - 1].dqi_nm_high
-                "
-                :rowspan="getRowSpan(dataList, item)"
-              >
+              <td v-if="index === 0 ||
+                item.dqi_nm_high !== dataList[index - 1].dqi_nm_high
+                " :rowspan="getRowSpan(dataList, item)">
                 {{ item.dqi_nm_high }}
               </td>
               <td>{{ item.dqi_nm }}</td>
@@ -96,26 +96,6 @@
 </script>
 
 <style>
-th:nth-child(1) {
-  width: 5%;
-}
-
-th:nth-child(2) {
-  width: 15%;
-}
-
-th:nth-child(3) {
-  width: 15%;
-}
-
-th:nth-child(4) {
-  width: 15%;
-}
-
-th:nth-child(5) {
-  width: 50%;
-}
-
 .explain {
   text-align: left;
 }
Add a comment
List