From 3e5dec4aa07ae4be854737fdda12a714ad9eeee6 Mon Sep 17 00:00:00 2001
From: odc.xiaohui <xiaohui@Q1>
Date: 星期一, 27 二月 2023 15:32:38 +0800
Subject: [PATCH] 2023/2/27 肖辉 驾驶舱管理-添加和修改弹窗重置表单,删除返回数据调整

---
 src/views/intelligentPatrol/illegalSearch/index.vue |   39 +++++++++++++++++++++++++++------------
 1 files changed, 27 insertions(+), 12 deletions(-)

diff --git a/src/views/intelligentPatrol/illegalSearch/index.vue b/src/views/intelligentPatrol/illegalSearch/index.vue
index c13f8fd..3b95990 100644
--- a/src/views/intelligentPatrol/illegalSearch/index.vue
+++ b/src/views/intelligentPatrol/illegalSearch/index.vue
@@ -33,8 +33,11 @@
           </div>
         </div>
         <!-- 鏁版嵁灞曠ず -->
-        <el-table ref="multipleTable"
-          :header-cell-style="{ 'font-size': '12px', color: '#4b9bb7', 'font-weight': '650', 'line-height': '45px' }"
+        <el-table
+            border
+            stripe
+            ref="multipleTable"
+          :header-cell-style="{  'background':'#F5F5F5','font-weight': '650', 'line-height': '45px' }"
           :data="tableData" style="width: 100%" :row-class-name="tableRowClassName">
           <el-table-column type="selection" min-width="5">
           </el-table-column>
@@ -107,6 +110,8 @@
 import basecase from "@/api/operate/basecase";
 import department from "@/api/system/department";
 import { getVideoPoint } from "@/api/operate/storeManagement";
+import baseInfo from "@/api/baseInfo";
+import {getTypeList} from "@/utils/helper"
 
 export default {
   components: {
@@ -128,6 +133,13 @@
         this.headerList[4].options = records;
       })
       .catch(err => this.$message.error(err))
+
+    baseInfo.getCategoryList().then((result)=>{
+        this.headerList[2].options = result;
+    })
+    getTypeList("1","02").then((result)=>{
+        this.headerList[8].options = result;
+    })
   },
 
   data() {
@@ -162,7 +174,8 @@
           value: '',
           placeholder: '璇疯緭鍏ヨ繚瑙勭被鍨�',
           prop: 'typeId',
-          type: 'input'
+          type: 'select',
+          options: []
         },
         {
           id: 4,
@@ -187,6 +200,7 @@
           value: '',
           placeholder: '璇疯緭鍏ュ鏍哥姸鎬�',
           type: 'select',
+          prop: 'state',
           options: [{ id: 7, name: '鏈鏍�' }, { id: 8, name: '宸茬粡瀹℃牳' }, { id: 9, name: '缁撴' }]
         },
         {
@@ -211,7 +225,8 @@
           value: '',
           placeholder: '璇疯緭鍏ヤ簨浠剁瓑绾�',
           prop: 'gradeId',
-          type: 'input'
+          type: 'select',
+          options: []
         },
       ],
       form: {
@@ -348,14 +363,14 @@
 <style lang="scss" scoped>
 .illegal-search {
   text-align: left;
-  margin: 10px 20px;
+  padding: 10px 20px;
   color: #4b9bb7;
-
+  border: 1px solid #ccc;
   header {
     background-color: white;
 
     .headerContent {
-      padding: 20px 40px;
+      //padding: 20px 40px;
       display: flex;
       justify-content: space-between;
       align-items: center;
@@ -393,23 +408,23 @@
 
       .el-button {
         background-color: #2f91ec;
-        border: 1px solid #17324c;
+        //border: 1px solid #17324c;
         color: #ffffff;
       }
     }
 
     .el-table {
-      color: #4b9bb7;
+      // color: #4b9bb7;
     }
 
     .tools {
       display: flex;
       justify-content: space-between;
       align-items: center;
-      padding: 0 20px;
+      //padding: 0 20px;
 
       .funs-sp {
-        border: 1px solid #17324c;
+        border: 1px solid #DCDFE6;
       }
 
       .funs {
@@ -437,4 +452,4 @@
     }
   }
 }
-</style>
\ No newline at end of file
+</style>

--
Gitblit v1.8.0