Prechádzať zdrojové kódy

隐患问题界面调整

zhulu 1 rok pred
rodič
commit
891e7ceade

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

@@ -40,7 +40,7 @@
         >
         <el-descriptions-item label="整改期限">
           {{
-            dayjs(data.reformDeadline).format("YYYY年MM月DD")
+            dayjs(data.reformDeadline).format("YYYY年MM月DD")
           }}</el-descriptions-item
         >
         <el-descriptions-item label="隐患图片">

+ 7 - 3
src/views/question/list/index.vue

@@ -218,9 +218,8 @@
                 <span>{{
                   getLabel(
                     dict.type.app_question_status,
-                    scope.row.reformStatus ? scope.row.reformStatus : scope.row.overdueStatus
-                      ? scope.row.overdueStatus
-                      : scope.row.confirmStatus
+                    scope.row.overdueStatus!=null ? scope.row.overdueStatus:(scope.row.reformStatus!=null ? scope.row.reformStatus : scope.row.confirmStatus!=null
+                      ? scope.row.confirmStatus : "")
                   )
                 }}</span>
               </template>
@@ -354,6 +353,11 @@ export default {
       this.questionList = [];
       listQuestion(this.queryParams).then((response) => {
         this.questionList = response.rows;
+        this.questionList.forEach(x=>{
+          console.log("隐患问题状态",x.overdueStatus!=null ? x.overdueStatus:(x.reformStatus!=null ? x.reformStatus : x.confirmStatus!=null
+                      ? x.confirmStatus : ""));
+        })
+     
         this.total = response.total;
         this.loading = false;
       });

+ 1 - 1
src/views/safetycheck/task/components/checkRegister.vue

@@ -149,7 +149,7 @@
                     <el-form-item label="情况描述" prop="remark">
                       <el-input
                         v-model="point.remark"
-                        style="width: 650px"
+                        style="width:500px;"
                         type="textarea"
                         :autosize="{ minRows: 3, maxRows: 3 }"
                         placeholder="请输入情况描述"