From e500f3ad66d88053118d76f4c838f6f176736615 Mon Sep 17 00:00:00 2001
From: “dzb” <2632970487@qq.com>
Date: 星期三, 19 十月 2022 17:10:16 +0800
Subject: [PATCH] 封装table组件,封装上传组件,修改消息发布,修改bug

---
 src/views/operate/disposal/casepool/pool/index.vue |   31 +++++++++++++++++++++----------
 1 files changed, 21 insertions(+), 10 deletions(-)

diff --git a/src/views/operate/disposal/casepool/pool/index.vue b/src/views/operate/disposal/casepool/pool/index.vue
index 7af8961..8799435 100644
--- a/src/views/operate/disposal/casepool/pool/index.vue
+++ b/src/views/operate/disposal/casepool/pool/index.vue
@@ -29,7 +29,7 @@
                         <MyIll v-if="newAddType === 1" :refresh="getUserList" :mytype=newAddType
                             @changeDialog=changeDialog />
                         <!-- 杩濊鐧昏 -->
-                        <myVio v-else :mytype=newAddType @changeDialog=changeDialog :refresh="getUserList" />
+                        <myVio v-else :refresh="getUserList" :mytype=newAddType  @changeDialog=changeDialog />
                     </el-dialog>
                 </div>
             </div>
@@ -62,26 +62,33 @@
                             <span>{{scope.row.eventSource === 2 ? '浜哄伐涓婃姤' : '瑙嗛涓婁紶'}}</span>
                         </template>
                     </el-table-column>
-                    <el-table-column :prop="mystatus === 1 ? 'category' :'category'" :label="mystatus===1 ? '澶х被鍚嶇О' : '杩濆缓绫诲埆'" :min-width="mystatus===1?'10':'20'">
+                    <el-table-column :prop="mystatus === 1 ? 'category' :'category'"
+                        :label="mystatus===1 ? '澶х被鍚嶇О' : '杩濆缓绫诲埆'" :min-width="mystatus===1?'10':'15'">
                     </el-table-column>
-                    <el-table-column :prop="mystatus === 1 ? 'type' :'site'" :label="mystatus===1 ? '灏忕被鍚嶇О' : '杩濆缓鍦扮偣'" min-width="10">
+                    <el-table-column :prop="mystatus === 1 ? 'type' :'site'" :label="mystatus===1 ? '灏忕被鍚嶇О' : '杩濆缓鍦扮偣'"
+                        min-width="10">
                     </el-table-column>
-                    <el-table-column :prop="mystatus === 1 ? 'actionCause' :'communityId'" :label="mystatus===1 ? '妗堢敱' : '鎵�灞炵ぞ鍖�'" min-width="10">
+                    <el-table-column :prop="mystatus === 1 ? 'actionCause' :'communityId'"
+                        :label="mystatus===1 ? '妗堢敱' : '鎵�灞炵ぞ鍖�'" min-width="10">
                     </el-table-column>
-                    <el-table-column :prop="mystatus === 1 ? 'site' :''" :label="mystatus===1 ? '鎶ヨ鐐逛綅' : '杩濇硶寤虹瓚闀裤�佸銆侀珮'" :min-width="mystatus===1?'10' :'20' ">
+                    <el-table-column :prop="mystatus === 1 ? 'site' :''" :label="mystatus===1 ? '鎶ヨ鐐逛綅' : '杩濇硶寤虹瓚闀裤�佸銆侀珮'"
+                        :min-width="mystatus===1?'10' :'20' ">
                         <template slot-scope="scope">
-                            <div v-if="mystatus ===2"><span>{{scope.row.buildingLength+'绫�'+'銆�'+ scope.row.buildingWidth+'绫�'+'銆�'+scope.row.buildingHigh+'绫�'}}</span></div>
+                            <div v-if="mystatus ===2"><span>{{scope.row.buildingLength+'绫�'+'銆�'+
+                            scope.row.buildingWidth+'绫�'+'銆�'+scope.row.buildingHigh+'绫�'}}</span></div>
                             <div v-else>{{scope.row.site}}</div>
                         </template>
                     </el-table-column>
-                    <el-table-column :prop="mystatus === 1 ? 'street' :'buildingArea'" :label="mystatus===1 ? '鎵�灞炲尯鍩�' : '杩濇硶寤虹瓚闈㈢Н'" min-width="10">
+                    <el-table-column :prop="mystatus === 1 ? 'street' :'buildingArea'"
+                        :label="mystatus===1 ? '鎵�灞炲尯鍩�' : '杩濇硶寤虹瓚闈㈢Н'" min-width="10">
                     </el-table-column>
                     <el-table-column prop="alarmTime" label="鎶ヨ鏃堕棿" min-width="15" v-if="mystatus===1">
                         <template slot-scope="scope">
                             <span>{{filterTime(scope.row.alarmTime)}}</span>
                         </template>
                     </el-table-column>
-                    <el-table-column :prop="mystatus === 1 ? 'continueTime' :'materials'" :label="mystatus===1 ? '鎸佺画鏃堕棿' : '杩濇硶寤虹瓚鏉愭枡'" min-width="10">
+                    <el-table-column :prop="mystatus === 1 ? 'continueTime' :'materials'"
+                        :label="mystatus===1 ? '鎸佺画鏃堕棿' : '杩濇硶寤虹瓚鏉愭枡'" min-width="10">
                     </el-table-column>
                     <el-table-column prop="operation" label="鎿嶄綔" min-width="20">
                         <template slot-scope="scope">
@@ -509,7 +516,7 @@
                 })
         },
         // 澶勭悊鏃堕棿
-        filterTime(time){
+        filterTime(time) {
             return helper(time);
         }
     }
@@ -583,6 +590,7 @@
             }
         }
     }
+
     main {
         background-color: #09152f;
         margin-top: 20px;
@@ -644,9 +652,11 @@
 
             .funs {
                 display: flex;
-                .funs-sp{
+
+                .funs-sp {
                     border: 1px solid #17324c;
                 }
+
                 .funsItem {
                     line-height: 28px;
                     display: flex;
@@ -708,6 +718,7 @@
                 white-space: nowrap;
                 overflow: hidden;
             }
+
             .operation {
                 display: flex;
 

--
Gitblit v1.8.0