فهرست منبع

新增列“发现时间”“整改时间”

zhulu 1 سال پیش
والد
کامیت
db8671022e
3فایلهای تغییر یافته به همراه29 افزوده شده و 2 حذف شده
  1. 1 1
      src/views/question/list/dialog.vue
  2. 14 0
      src/views/question/list/index.vue
  3. 14 1
      src/views/question/reform/index.vue

+ 1 - 1
src/views/question/list/dialog.vue

@@ -110,7 +110,7 @@
         v-if="data.reform"
       >
         <el-descriptions-item label="整改时间">{{
-          dayjs(data.reform.executeTime).format("YYYY年MM月DD")
+          dayjs(data.reform.executeTime).format("YYYY年MM月DD")
         }}</el-descriptions-item>
         <el-descriptions-item label="整改状态">{{
           data.reform.executeStatus == 0 ? "已整改" : "未整改"

+ 14 - 0
src/views/question/list/index.vue

@@ -209,6 +209,19 @@
             </el-table-column>
             <el-table-column
               align="center"
+              label="整改期限"
+              prop="reformDeadline"
+              width="170px"
+              v-if="columns[8].visible"
+            >
+              <template slot-scope="scope">
+                <span>{{
+                  dayjs(scope.row.reformDeadline).format("YYYY-MM-DD HH:mm")
+                }}</span>
+              </template>
+            </el-table-column>
+            <el-table-column
+              align="center"
               label="隐患状态"
               width="120px"
               prop="confirmStatus"
@@ -326,6 +339,7 @@ export default {
         { key: 5, label: `提出人`, visible: true },
         { key: 6, label: `发现时间`, visible: true },
         { key: 7, label: `隐患状态`, visible: true },
+        { key: 8, label: `整改期限`, visible: true },
       ],
     };
   },

+ 14 - 1
src/views/question/reform/index.vue

@@ -162,7 +162,19 @@
               show-overflow-tooltip
               v-if="columns[3].visible"
             />
-
+            <el-table-column
+              align="center"
+              label="发现时间"
+              prop="submitTime"
+              width="170px"
+              v-if="columns[8].visible"
+            >
+              <template slot-scope="scope">
+                <span>{{
+                  dayjs(scope.row.submitTime).format("YYYY年MM月DD日")
+                }}</span>
+              </template>
+            </el-table-column>
             <el-table-column
               align="center"
               label="整改期限"
@@ -286,6 +298,7 @@ export default {
         { key: 5, label: `整改状态`, visible: true },
         { key: 6, label: `地区`, visible: true },
         { key: 7, label: `行社名称`, visible: true },
+        { key: 8, label: `发现时间`, visible: true },
       ],
     };
   },