From 4606780e0a9da6512516dc2025b06783e2f027bc Mon Sep 17 00:00:00 2001
From: Administrator <admin>
Date: Wed, 22 Dec 2021 17:27:08 +0800
Subject: [PATCH] 保安单位详情名称修改,证书修改,派遣修改

---
 src/router/views/index.js                                    |    4 ++--
 src/views/accreditationRecords/accreditationRecordsPaper.vue |   12 ++++++------
 src/views/dispatch/dispatch.vue                              |    5 ++++-
 3 files changed, 12 insertions(+), 9 deletions(-)

diff --git a/src/router/views/index.js b/src/router/views/index.js
index 7144a66..96a6ffb 100644
--- a/src/router/views/index.js
+++ b/src/router/views/index.js
@@ -135,7 +135,7 @@
         redirect: '/securityUnit/index',
         children: [{
             path: 'index',
-            name: '保安单位信息',
+            name: '单位信息',
             meta: {
                 i18n: 'dict'
             },
@@ -200,7 +200,7 @@
         redirect: '/securityUnitChild/index',
         children: [{
             path: 'index',
-            name: '保安单位详情',
+            name: '单位详情',
             meta: {
                 i18n: 'dict'
             },
diff --git a/src/views/accreditationRecords/accreditationRecordsPaper.vue b/src/views/accreditationRecords/accreditationRecordsPaper.vue
index 2ff049e..2e7e35c 100644
--- a/src/views/accreditationRecords/accreditationRecordsPaper.vue
+++ b/src/views/accreditationRecords/accreditationRecordsPaper.vue
@@ -31,14 +31,14 @@
         <el-tag class="dtype">
           {{
             row.auditStatus == 1
-              ? "审核通过"
+              ? "待审核"
               : row.auditStatus == 2
-              ? "审核不通过"
-              : "待审核"
+              ? "审核通过"
+              : "审核不通过"
           }}
-          <i class="zc" v-if="row.auditStatus == 1"></i>
-          <i class="yj" v-if="row.auditStatus == 2"></i>
-          <i class="gz" v-if="row.auditStatus == 3"></i>
+          <i class="zc" v-if="row.auditStatus == 2"></i>
+          <i class="yj" v-if="row.auditStatus == 3"></i>
+          <i class="gz" v-if="row.auditStatus == 1"></i>
         </el-tag>
       </template>
       <template slot="menuLeft">
diff --git a/src/views/dispatch/dispatch.vue b/src/views/dispatch/dispatch.vue
index b6364ff..06b2a61 100644
--- a/src/views/dispatch/dispatch.vue
+++ b/src/views/dispatch/dispatch.vue
@@ -244,7 +244,7 @@
             label: "派遣单位类型",
             prop: "district",
             type: "select",
-            search: true,
+            search: false,
             dicUrl: "/api/blade-system/dict-biz/dictionary?code=dispatcherUnitType",
             props: {
               label: "dictValue",
@@ -731,6 +731,9 @@
           if (this.data[k].num == -1) {
             this.data[k].num = null;
           }
+          if (this.data[k].district == -1) {
+            this.data[k].district = null;
+          }
         }
         window.localStorage.setItem("paqiandataS", JSON.stringify(this.data));
         this.loading = false;

--
Gitblit v1.9.3