Explorar o código

履职详情字体调整

jiawuxian %!s(int64=2) %!d(string=hai) anos
pai
achega
d03e4fc2fc

+ 15 - 10
src/views/resumption/taskManager/dialog.detail.vue

@@ -6,7 +6,11 @@
       width="1200px"
       :destroy-on-close="true"
     >
-      <el-descriptions :column="2" v-if="detail" style="width:80%;margin-left:10%;">
+      <el-descriptions
+        :column="2"
+        v-if="detail"
+        style="width: 80%; margin-left: 10%"
+      >
         <el-descriptions-item label="任务名称">{{
           detail.taskName
         }}</el-descriptions-item>
@@ -35,6 +39,7 @@
         }}</el-descriptions-item>
       </el-descriptions>
       <el-table
+        size="small"
         :data="tableData"
         row-key="itemId"
         height="441"
@@ -46,6 +51,7 @@
         <el-table-column type="expand">
           <template slot-scope="props">
             <el-table
+              size="small"
               v-if="props.row.dataInfoList"
               :data="props.row.dataInfoList"
             >
@@ -96,12 +102,12 @@
               >
               </el-table-column> -->
               <el-table-column
-              label="问题描述"
-              align="center"
-              :show-overflow-tooltip="true"
-              prop="resRemark"
-            >
-            </el-table-column>
+                label="问题描述"
+                align="center"
+                :show-overflow-tooltip="true"
+                prop="resRemark"
+              >
+              </el-table-column>
               <el-table-column label="异常图片" align="center">
                 <template slot-scope="scope">
                   <div
@@ -119,13 +125,12 @@
                     </el-image>
                   </div>
                 </template>
-              </el-table-column>             
+              </el-table-column>
             </el-table>
           </template>
         </el-table-column>
         <el-table-column
           label="履职项"
-          
           prop="itemName"
           :show-overflow-tooltip="true"
         />
@@ -155,7 +160,7 @@ export default {
     getLabel,
     async refresh(id) {
       let detail = (await api.one(id)).data;
-      
+
       if (detail && detail.items && detail.items.length > 0) {
         this.tableData = detail.items;
       } else {

+ 1 - 1
src/views/resumption/taskManager/index.vue

@@ -183,7 +183,7 @@
               header-align="center"
               align="center"
               prop="abnormalDataNums"
-              label="隐患数"
+              label="隐患问题数"
               width="90"
               v-if="columns[6].visible"
             >