From 0b803f46bffb4b59b5618c49eb81f1c16db672cf Mon Sep 17 00:00:00 2001
From: zhanghua <314079846@qq.com>
Date: 星期日, 12 十一月 2023 10:09:46 +0800
Subject: [PATCH] 油烟统计

---
 src/views/operate/management/myIndex/components/examine/index.vue |   68 ++++++++++++----------------------
 1 files changed, 24 insertions(+), 44 deletions(-)

diff --git a/src/views/operate/management/myIndex/components/examine/index.vue b/src/views/operate/management/myIndex/components/examine/index.vue
index 6bd340d..124a2c8 100644
--- a/src/views/operate/management/myIndex/components/examine/index.vue
+++ b/src/views/operate/management/myIndex/components/examine/index.vue
@@ -4,7 +4,7 @@
             <el-form :model="baseCase" label-position="right" ref="viewForm" :rules="Rules" label-width="100px">
                 <div class="data-item">
                     <el-form-item label="闂鏉ユ簮:">
-                        <span class="data-detail">{{baseCase.eventSource === 2 ? '浜哄伐涓婃姤' : '瑙嗛宸℃煡'}}</span>
+                        <span class="data-detail">{{baseCase.eventSource === 2 ? '缃戞牸宸℃煡' : '瑙嗛宸℃煡'}}</span>
                     </el-form-item>
                     <el-form-item label="鐧昏浜哄憳:">
                         <span class="data-detail">{{baseCase.createUser}}</span>
@@ -15,31 +15,26 @@
                         <span class="data-detail">{{baseCase.category === 1 ? '杩濊' : '杩濆缓'}}</span>
                     </el-form-item>
                     <el-form-item label="澶х被鍚嶇О:">
-                        <span class="data-detail">{{baseCase.violations.categoryText}}</span>
+                        <span class="data-detail">{{baseCase.violationsVO.categoryText}}</span>
                     </el-form-item>
                 </div>
                 <div class="data-item">
                     <el-form-item label="灏忕被鍚嶇О:">
-                        <span class="data-detail">{{baseCase.violations.typeText}}</span>
+                        <span class="data-detail">{{baseCase.violationsVO.typeText}}</span>
                     </el-form-item>
                     <el-form-item label="浜嬩欢绛夌骇:">
-                        <span class="data-detail">{{baseCase.violations.gradeText}}</span>
+                        <span class="data-detail">{{baseCase.violationsVO.gradeText}}</span>
                     </el-form-item>
                 </div>
                 <div class="data-item">
                     <el-form-item label="妗堢敱:">
-                        <span class="data-detail">{{baseCase.violations.actionCause}}</span>
+                        <span class="data-detail">{{baseCase.violationsVO.actionCause}}</span>
                     </el-form-item>
                 </div>
                 <div class="data-item">
-                    <el-form-item label="鎵�灞炲尯鍘�:">
-                        <span class="data-detail">xxxx</span>
-                    </el-form-item>
                     <el-form-item label="鎵�灞炶閬�:">
                         <span class="data-detail">{{baseCase.streetText}}</span>
                     </el-form-item>
-                </div>
-                <div class="data-item">
                     <el-form-item label="鎵�灞炵ぞ鍖�:">
                         <span class="data-detail">{{baseCase.communityText}}</span>
                     </el-form-item>
@@ -51,17 +46,7 @@
                 </div>
                 <div class="data-item">
                     <el-form-item label="闂鎻忚堪:">
-                        <span class="data-detail">{{baseCase.violations.description}}</span>
-                    </el-form-item>
-                </div>
-                <div class="data-item">
-                    <el-form-item label="澶勭疆鏂瑰紡:">
-                        <span class="data-detail">xxxxxxx</span>
-                    </el-form-item>
-                </div>
-                <div class="data-item">
-                    <el-form-item label="澶勭疆鎵嬫:">
-                        <span class="data-detail">xxxxxxx</span>
+                        <span class="data-detail">{{baseCase.violationsVO.description}}</span>
                     </el-form-item>
                 </div>
                 <!-- 瀹℃牳鎰忚 -->
@@ -86,7 +71,7 @@
                 <div class="show-wrap">
                     <MyProcess v-if="activeIndex === 1" :handlePassVo="handlePassVo" :baseCase="baseCase"></MyProcess>
                     <MyFilePicture v-else-if="activeIndex === 2" :filesPictureVo="filesPictureVo" ></MyFilePicture>
-                    <MySovleProblem v-else-if="activeIndex === 3" :baseCase="baseCase" :problemProVo="problemProVo"></MySovleProblem>
+                    <MySovleProblem v-else-if="activeIndex === 3" :handlePassVo="handlePassVo" :baseCase="baseCase"></MySovleProblem>
                     <MyScene v-else :currentSitVo="currentSitVo" :baseCase="baseCase"></MyScene>
                 </div>
             </div>
@@ -142,12 +127,11 @@
             handlePassVo: {},
             currentSitVo: {},
             problemProVo: {},
-            filesPictureVo: {}
-
+            filesPictureVo: {},
         }
     },
     created() {
-        const { info } = this;
+        const { info} = this;
         this.baseCase = info.baseCase;
         this.handlePassVo = info.handlePassVo;
         this.currentSitVo = info.currentSitVo;
@@ -159,8 +143,7 @@
             this.activeIndex = index;
         },
         // 鎻愪氦瀹℃牳鎰忚
-        handleSubmit(mystatus) {
-            // this.getUserLoginInfo();
+        handleSubmit(index) {
             const { baseCase } = this;
             this.$refs.viewForm.validate((valid) => {
                 if (valid) {
@@ -170,22 +153,20 @@
                         data: {
                             baseCaseId: baseCase.id,
                             checkOpinion: baseCase.auditOpinion,
-                            currentUser: baseCase.createUser,
-                            status: mystatus,
+                            result:index === 0 ? '椹冲洖':'閫氳繃',
                         }
                     })
                         .then(res => {
-                            console.log(res);
                             if (res.code === 200) {
                                 this.$message({
                                     type: 'success',
-                                    message: mystatus === 0 ? '椹冲洖鎴愬姛' : '瀹℃牳閫氳繃'
+                                    message: index === 0 ? '椹冲洖鎴愬姛' : '瀹℃牳閫氳繃'
                                 })
                                 this.$emit('closeDialog', { flag: false });
                             }
 
                         })
-                        .catch(err => { console.log(err) });
+                        .catch(err => {  });
                 }else{
                     return false;
                 }
@@ -203,9 +184,8 @@
                 }
             })
                 .then(res => {
-                    console.log(res);
                 })
-        }
+        },
     },
     props: ['info', 'closeDialog']
 }
@@ -226,21 +206,21 @@
             line-height: 40px;
         }
 
-        :deep(.el-form-item__label) {
-            color: #4b9bb7;
-        }
+        // :deep(.el-form-item__label) {
+        //     color: #4b9bb7;
+        // }
 
-        :deep(.el-textarea__inner) {
-            background-color: #17324c;
-            color: #4b9bb7;
-        }
+        // :deep(.el-textarea__inner) {
+        //     background-color: #17324c;
+        //     color: #4b9bb7;
+        // }
 
         .el-form-footer {
             display: flex;
             justify-content: flex-end;
         }
 
-        border: 1px solid #17324c;
+        // border: 1px solid #17324c;
     }
 
     .view-process {
@@ -277,10 +257,10 @@
             position: relative;
 
             .show-wrap {
-                overflow: scroll;
+                overflow: auto;
                 height: 600px;
             }
         }
     }
 }
-</style>
\ No newline at end of file
+</style>

--
Gitblit v1.8.0