From 6b2aefa53eab6a25e4bda5d2192af1045d8b87c2 Mon Sep 17 00:00:00 2001
From: lin <sbla5888@163.com>
Date: Sat, 27 Apr 2024 17:18:03 +0800
Subject: [PATCH] 校园安全检查

---
 src/views/publicSecurity/SchoolCheckManage.vue |   58 ++++++++++++++++++----------------------------------------
 1 files changed, 18 insertions(+), 40 deletions(-)

diff --git a/src/views/publicSecurity/SchoolCheckManage.vue b/src/views/publicSecurity/SchoolCheckManage.vue
index 5cdfe87..974d07c 100644
--- a/src/views/publicSecurity/SchoolCheckManage.vue
+++ b/src/views/publicSecurity/SchoolCheckManage.vue
@@ -31,10 +31,10 @@
           v-text="textDispose(row, 'principalPhoneflag', 'principalPhone')">
         </el-button>
       </template>
-      <template slot="menuLeft">
+      <!--  <template slot="menuLeft">
         <el-button type="warning" size="small" plain icon="el-icon-download" @click="handleExport">导出
         </el-button>
-      </template>
+      </template> -->
     </avue-crud>
 
 
@@ -87,8 +87,8 @@
         <div class="question-item" v-for="(item, index) in tItem.questionList" :key='index' v-show="tItem.isShowQList">
           <div class="question-name">
             <div class="key">{{ index + 1 }}、{{ item.itemsNameTitle }}</div>
-            <div class="value"><el-radio v-model="radio" label="1" disabled>存在</el-radio>
-              <el-radio v-model="radio" label="2" disabled>不存在</el-radio>
+            <div class="value"><el-radio v-model="radio" label="1" disabled>是</el-radio>
+              <el-radio v-model="radio" label="2" disabled>否</el-radio>
             </div>
           </div>
           <div class="yh-pic-box">
@@ -258,20 +258,6 @@
               overHidden: true,
               align: 'center'
             }, {
-              label: "场所类别",
-              prop: "nineType",
-              align: 'center',
-              dicUrl: "/api/blade-system/dict-biz/tree?code=nineType",
-              props: {
-                label: "title",
-                value: "key",
-              },
-              type: 'select',
-              search: true,
-              searchSpan: 4,
-              searchLabelWidth: 96,
-              align: 'center'
-            }, {
               label: "所属街道",
               prop: "streetName",
               span: 24,
@@ -306,7 +292,8 @@
               span: 24,
               row: true,
               searchSpan: 4,
-              align: 'center'
+              align: 'center',
+              width: 90,
             },
             {
               label: "场所负责人",
@@ -326,15 +313,15 @@
               searchSpan: 4,
               align: 'center'
             },
-            // {
-            //   width: 110,
-            //   label: "签名",
-            //   prop: "signaturePath",
-            //   type: "upload",
-            //   listType: "picture-img",
-            //   span: 24,
-            //   align: 'center'
-            // },
+            {
+              width: 110,
+              label: "工作照片",
+              prop: "workImage",
+              type: "upload",
+              listType: "picture-img",
+              span: 24,
+              align: 'center'
+            },
             {
               width: 110,
               label: "审核状态",
@@ -476,8 +463,8 @@
       // 获取问题类型
       getPatrolGroupTree() {
         getPatrolGroupTree({
-          type: 1,
-          childType: 1
+          type: 3,
+          childType: 9
         }).then(res => {
           this.questionTypeList = res.data.data
         })
@@ -836,16 +823,7 @@
               }
             })
           }
-          data.records.forEach(item => {
-            if (item.signaturePath.length > 0) {
-              var urls = []
-              var names = item.signaturePath.split(",")
-              names.forEach(name => {
-                urls.push(website.minioUrl + name)
-              })
-              item.signaturePath = urls.join(",")
-            }
-          })
+
           this.page.total = data.total
           this.data = data.records
           this.loading = false

--
Gitblit v1.9.3