From 5ba5c6f8e4bf79b84505401d6603acd4691bb47e Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Sat, 11 Sep 2021 16:51:39 +0800
Subject: [PATCH] Merge branch 'master' of http://s16s652780.51mypc.cn:49896/r/zhba_enterprises_ys

---
 src/router/views/index.js                          |   14 
 src/views/securityAnalysis/child/situation.vue     |  206 ++++
 public/img/table.png                               |    0 
 src/views/securityAnalysis/child/examination.vue   |  123 ++
 src/styles/element-ui.scss                         |    5 
 src/views/resource/attachCopyzb.vue                |  418 +++++++++
 src/views/securityUnit/localCompany copy.vue       |  729 ++++++++++++++++
 src/views/licenseApproval/cancellationOfFiling.vue |    4 
 src/views/securityAnalysis/child/certificate.vue   |  210 ++++
 src/views/licenseApproval/securityTraining.vue     |    4 
 src/views/licenseApproval/securityGuard.vue        |    4 
 src/views/licenseApproval/crossRegion.vue          |    4 
 src/views/securityAnalysis/child/dispatch.vue      |  326 +++++++
 src/views/securityAnalysis/index.vue               |  219 ++++
 src/api/securityAnalysis/securityAnalysis.js       |   13 
 src/views/licenseApproval/branchOffice.vue         |    4 
 src/views/securityAnalysis/child/assignment.vue    |  326 +++++++
 17 files changed, 2,590 insertions(+), 19 deletions(-)

diff --git a/public/img/table.png b/public/img/table.png
new file mode 100644
index 0000000..80311bd
--- /dev/null
+++ b/public/img/table.png
Binary files differ
diff --git a/src/api/securityAnalysis/securityAnalysis.js b/src/api/securityAnalysis/securityAnalysis.js
index 7f05a3e..8ef8444 100644
--- a/src/api/securityAnalysis/securityAnalysis.js
+++ b/src/api/securityAnalysis/securityAnalysis.js
@@ -68,4 +68,17 @@
             jurisdiction: jurisdiction,
         }
     })
+}
+
+export const getinformationstatisticsXX = (current, size, params) => { //保安员考试情况统计 详细信息  只需要公司的deptid
+    return request({
+        url: '/api/examScore/score-page',
+        // url: 'http://192.168.0.109:81/information/selectExtype',
+        method: 'get',
+        params: {
+            ...params,
+            current,
+            size,
+        }
+    })
 }
\ No newline at end of file
diff --git a/src/router/views/index.js b/src/router/views/index.js
index d9cfe2e..408bf4e 100644
--- a/src/router/views/index.js
+++ b/src/router/views/index.js
@@ -304,6 +304,20 @@
             import( /* webpackChunkName: "views" */ '@/views/resource/attachCopy')
     }]
 },
+{
+    path: '/resource',
+    component: Layout,
+    redirect: '/resource/attachCopyzb',
+    children: [{
+        path: 'attachCopyzb',
+        name: '单位装备清单附件上传',
+        meta: {
+            i18n: 'attachCopyzb'
+        },
+        component: () =>
+            import( /* webpackChunkName: "views" */ '@/views/resource/attachCopyzb')
+    }]
+},
 // {
 //     path: '/dispatch',
 //     component: Layout,
diff --git a/src/styles/element-ui.scss b/src/styles/element-ui.scss
index 5c6d4bc..95235b1 100644
--- a/src/styles/element-ui.scss
+++ b/src/styles/element-ui.scss
@@ -294,3 +294,8 @@
 .avue-empty__desc {
     color: #fff !important;
 }
+
+.certificateTJ .avue-form__menu--center {
+    // 统计图持证表格按钮过长
+    width: 320px !important;
+}
diff --git a/src/views/licenseApproval/branchOffice.vue b/src/views/licenseApproval/branchOffice.vue
index 5dafefe..b367a9a 100644
--- a/src/views/licenseApproval/branchOffice.vue
+++ b/src/views/licenseApproval/branchOffice.vue
@@ -2,7 +2,7 @@
  * @Author: liu
  * @Date: 2021-08-26 17:00:55 
  * @Last Modified by: liu
- * @Last Modified time: 2021-09-06 08:52:18
+ * @Last Modified time: 2021-09-11 16:36:08
  */
 
 
@@ -569,7 +569,7 @@
         path: "/attachOnce/index",
         // redirect: { name: "foo" },
         // query: { row: row },
-        query: { deptid: row.cardid, type: "0" },
+        query: { deptid: row.cardid, type: "2" },
         // params: { row: row.identificationnumber },
       });
     },
diff --git a/src/views/licenseApproval/cancellationOfFiling.vue b/src/views/licenseApproval/cancellationOfFiling.vue
index f712fa4..4360390 100644
--- a/src/views/licenseApproval/cancellationOfFiling.vue
+++ b/src/views/licenseApproval/cancellationOfFiling.vue
@@ -2,7 +2,7 @@
  * @Author: liu
  * @Date: 2021-08-26 17:00:04 
  * @Last Modified by: liu
- * @Last Modified time: 2021-08-27 19:21:31
+ * @Last Modified time: 2021-09-11 16:37:11
  */
 
 
@@ -484,7 +484,7 @@
         path: "/attachOnce/index",
         // redirect: { name: "foo" },
         // query: { row: row },
-        query: { deptid: row.cardid, type: "0" },
+        query: { deptid: row.cardid, type: "6" },
         // params: { row: row.identificationnumber },
       });
     },
diff --git a/src/views/licenseApproval/crossRegion.vue b/src/views/licenseApproval/crossRegion.vue
index e6cfb4b..e40e2d5 100644
--- a/src/views/licenseApproval/crossRegion.vue
+++ b/src/views/licenseApproval/crossRegion.vue
@@ -2,7 +2,7 @@
  * @Author:liu
  * @Date: 2021-08-26 16:59:35 
  * @Last Modified by: liu
- * @Last Modified time: 2021-09-06 09:19:32
+ * @Last Modified time: 2021-09-11 16:37:07
  */
 
 
@@ -566,7 +566,7 @@
         path: "/attachOnce/index",
         // redirect: { name: "foo" },
         // query: { row: row },
-        query: { deptid: row.cardid, type: "0" },
+        query: { deptid: row.cardid, type: "7" },
         // params: { row: row.identificationnumber },
       });
     },
diff --git a/src/views/licenseApproval/securityGuard.vue b/src/views/licenseApproval/securityGuard.vue
index 9910a0c..9960f52 100644
--- a/src/views/licenseApproval/securityGuard.vue
+++ b/src/views/licenseApproval/securityGuard.vue
@@ -2,7 +2,7 @@
  * @Author: liu
  * @Date: 2021-08-26 16:57:58 
  * @Last Modified by: liu
- * @Last Modified time: 2021-09-06 09:10:46
+ * @Last Modified time: 2021-09-11 16:36:19
  */
 
 
@@ -622,7 +622,7 @@
         path: "/attachOnce/index",
         // redirect: { name: "foo" },
         // query: { row: row },
-        query: { deptid: row.cardid, type: "0" },
+        query: { deptid: row.cardid, type: "3" },
         // params: { row: row.identificationnumber },
       });
     },
diff --git a/src/views/licenseApproval/securityTraining.vue b/src/views/licenseApproval/securityTraining.vue
index a2e3827..778a1b1 100644
--- a/src/views/licenseApproval/securityTraining.vue
+++ b/src/views/licenseApproval/securityTraining.vue
@@ -2,7 +2,7 @@
  * @Author: liu
  * @Date: 2021-08-26 16:55:25 
  * @Last Modified by: liu
- * @Last Modified time: 2021-09-06 09:27:21
+ * @Last Modified time: 2021-09-11 16:35:54
  */
 
 
@@ -581,7 +581,7 @@
         path: "/attachOnce/index",
         // redirect: { name: "foo" },
         // query: { row: row },
-        query: { deptid: row.cardid, type: "0" },
+        query: { deptid: row.cardid, type: "1" },
         // params: { row: row.identificationnumber },
       });
     },
diff --git a/src/views/resource/attachCopyzb.vue b/src/views/resource/attachCopyzb.vue
new file mode 100644
index 0000000..b786764
--- /dev/null
+++ b/src/views/resource/attachCopyzb.vue
@@ -0,0 +1,418 @@
+<template>
+  <basic-container class="hasButTwo">
+    <avue-crud
+      :option="option"
+      :table-loading="loading"
+      :data="data"
+      :page.sync="page"
+      :permission="permissionList"
+      :before-open="beforeOpen"
+      v-model="form"
+      ref="crud"
+      @row-del="rowDel"
+      @search-change="searchChange"
+      @search-reset="searchReset"
+      @selection-change="selectionChange"
+      @current-change="currentChange"
+      @size-change="sizeChange"
+      @refresh-change="refreshChange"
+      @on-load="onLoad"
+    >
+      <template slot="menuLeft">
+        <el-button
+          type="primary"
+          size="small"
+          plain
+          v-if="permission.attach_upload"
+          icon="el-icon-upload2"
+          @click="handleUpload"
+          >上 传
+        </el-button>
+        <el-button
+          type="danger"
+          size="small"
+          icon="el-icon-delete"
+          plain
+          v-if="permission.attach_delete"
+          @click="handleDelete"
+          >删 除
+        </el-button>
+      </template>
+      <template slot-scope="scope" slot="menu">
+        <el-button
+          type="text"
+          icon="el-icon-download"
+          size="small"
+          v-if="permission.attach_download"
+          @click="handleDownload(scope.row)"
+          >下载
+        </el-button>
+        <el-button
+          type="text"
+          icon="el-icon-picture-outline-round"
+          size="small"
+          v-show="!fileFormat(scope.row)"
+          @click="seeImages(scope.row)"
+          >预览
+        </el-button>
+      </template>
+      <template slot-scope="{ row }" slot="attachSize">
+        <el-tag>{{ `${row.attachSize} KB` }}</el-tag>
+      </template>
+    </avue-crud>
+    <el-dialog
+      title="附件管理"
+      append-to-body
+      :visible.sync="attachBox"
+      width="555px"
+    >
+      <avue-form
+        ref="form"
+        :option="attachOption"
+        v-model="attachForm"
+        :upload-after="uploadAfter"
+      >
+      </avue-form>
+    </el-dialog>
+
+    <el-dialog
+      title="预览"
+      append-to-body
+      :visible.sync="imgSee"
+      class="see-img-box"
+    >
+      <div class="img" :style="{ background: imgUrl }"></div>
+    </el-dialog>
+  </basic-container>
+</template>
+
+<script>
+import { getList, getDetail, remove } from "@/api/resource/attach";
+import { mapGetters } from "vuex";
+
+export default {
+  data() {
+    var type = 5;
+    var deptid = this.$route.query.deptId;
+    return {
+      form: {},
+      query: {},
+      putParam: "",
+      loading: true,
+      page: {
+        pageSize: 10,
+        currentPage: 1,
+        total: 0,
+      },
+      attachBox: false,
+      selectionList: [],
+      option: {
+        height: "auto",
+        calcHeight: 30,
+        tip: false,
+        searchShow: true,
+        searchMenuSpan: 6,
+        border: true, //liu
+        index: true,
+        stripe: true,
+        viewBtn: true,
+        selection: true,
+        dialogClickModal: false,
+        column: [
+          {
+            label: "附件地址",
+            prop: "link",
+            rules: [
+              {
+                required: true,
+                message: "请输入附件地址",
+                trigger: "blur",
+              },
+            ],
+          },
+          {
+            label: "附件域名",
+            prop: "domain",
+            search: true,
+            rules: [
+              {
+                required: true,
+                message: "请输入附件域名",
+                trigger: "blur",
+              },
+            ],
+          },
+          {
+            label: "附件名称",
+            prop: "name",
+            search: true,
+            rules: [
+              {
+                required: true,
+                message: "请输入附件名称",
+                trigger: "blur",
+              },
+            ],
+          },
+          {
+            label: "附件原名",
+            prop: "originalName",
+            search: true,
+            rules: [
+              {
+                required: true,
+                message: "请输入附件原名",
+                trigger: "blur",
+              },
+            ],
+          },
+          {
+            label: "附件拓展名",
+            prop: "extension",
+            rules: [
+              {
+                required: true,
+                message: "请输入附件拓展名",
+                trigger: "blur",
+              },
+            ],
+          },
+          {
+            label: "所属公司",
+            prop: "enterprisename",
+            rules: [
+              {
+                required: true,
+                message: "请输入所属公司",
+                trigger: "blur",
+              },
+            ],
+          },
+          {
+            label: "附件预览",
+            prop: "link",
+            type: "img",
+            // rules: [
+            //   {
+            //     required: true,
+            //     message: "请输入附件拓展名",
+            //     trigger: "blur",
+            //   },
+            // ],
+          },
+          {
+            label: "附件大小",
+            prop: "attachSize",
+            slot: true,
+            rules: [
+              {
+                required: true,
+                message: "请输入附件大小",
+                trigger: "blur",
+              },
+            ],
+          },
+        ],
+      },
+      data: [],
+      attachForm: {},
+      attachOption: {
+        submitBtn: false,
+        emptyBtn: false,
+        column: [
+          {
+            label: "附件上传",
+            prop: "attachFile",
+            type: "upload",
+            drag: true,
+            loadText: "模板上传中,请稍等",
+            span: 24,
+            propsHttp: {
+              res: "data",
+            },
+            action:
+              "/api/blade-resource/oss/endpoint/put-file-attach?type=" +
+              type +
+              "&deptid=" +
+              deptid,
+          },
+        ],
+      },
+      imgSee: false,
+      imgUrl: "",
+    };
+  },
+  computed: {
+    ...mapGetters(["permission"]),
+    permissionList() {
+      return {
+        addBtn: false,
+        editBtn: false,
+        viewBtn: false,
+        delBtn: this.vaildData(this.permission.attach_delete, false),
+      };
+    },
+    ids() {
+      let ids = [];
+      this.selectionList.forEach((ele) => {
+        ids.push(ele.id);
+      });
+      return ids.join(",");
+    },
+  },
+  mounted() {
+    var flag = false,
+      i = 0,
+      ind = null;
+    this.$store.state.tags.tagList.forEach((item, index) => {
+      if (item.label == "单位装备清单附件上传") {
+        if (flag == false) {
+          ind = index;
+          flag = true;
+        }
+        i++;
+      }
+    });
+    if (i > 1) {
+      this.$store.state.tags.tagList.splice(ind, 1);
+    }
+  },
+  methods: {
+    handleUpload() {
+      this.attachBox = true;
+    },
+    uploadAfter(res, done, loading, column) {
+      window.console.log(column);
+      this.attachBox = false;
+      this.refreshChange();
+      done();
+    },
+    handleDownload(row) {
+      window.open(`${row.link}`);
+    },
+    rowDel(row) {
+      this.$confirm("确定将选择数据删除?", {
+        confirmButtonText: "确定",
+        cancelButtonText: "取消",
+        type: "warning",
+      })
+        .then(() => {
+          return remove(row.id);
+        })
+        .then(() => {
+          this.onLoad(this.page);
+          this.$message({
+            type: "success",
+            message: "操作成功!",
+          });
+        });
+    },
+    handleDelete() {
+      if (this.selectionList.length === 0) {
+        this.$message.warning("请选择至少一条数据");
+        return;
+      }
+      this.$confirm("确定将选择数据删除?", {
+        confirmButtonText: "确定",
+        cancelButtonText: "取消",
+        type: "warning",
+      })
+        .then(() => {
+          return remove(this.ids);
+        })
+        .then(() => {
+          this.onLoad(this.page);
+          this.$message({
+            type: "success",
+            message: "操作成功!",
+          });
+          this.$refs.crud.toggleSelection();
+        });
+    },
+    beforeOpen(done, type) {
+      if (["edit", "view"].includes(type)) {
+        getDetail(this.form.id).then((res) => {
+          this.form = res.data.data;
+        });
+      }
+      done();
+    },
+    searchReset() {
+      this.query = {};
+      this.onLoad(this.page);
+    },
+    searchChange(params, done) {
+      this.query = params;
+      this.page.currentPage = 1;
+      this.onLoad(this.page, params);
+      done();
+    },
+    selectionChange(list) {
+      this.selectionList = list;
+    },
+    selectionClear() {
+      this.selectionList = [];
+      this.$refs.crud.toggleSelection();
+    },
+    currentChange(currentPage) {
+      this.page.currentPage = currentPage;
+    },
+    sizeChange(pageSize) {
+      this.page.pageSize = pageSize;
+    },
+    refreshChange() {
+      this.onLoad(this.page, this.query);
+    },
+    onLoad(page, params = {}) {
+      params.type = 5;
+      params.deptid = this.$route.query.deptId;
+      console.log(params.deptid);
+      this.loading = true;
+      getList(
+        page.currentPage,
+        page.pageSize,
+        Object.assign(params, this.query)
+      ).then((res) => {
+        const data = res.data.data;
+        this.page.total = data.total;
+        this.data = data.records;
+        for (var k in this.data) {
+          this.data[k]["enterprisename"] = this.$route.query.enterprisename;
+        }
+        console.log(this.data);
+        this.loading = false;
+        this.selectionClear();
+      });
+    },
+
+    seeImages(row) {
+      this.imgUrl = "";
+      this.imgUrl = "url(" + row.link + ") center center / contain no-repeat";
+
+      this.imgSee = true;
+    },
+
+    fileFormat(row) {
+      var index = row.link.lastIndexOf(".");
+      var ext = row.link.substr(index + 1);
+
+      return (
+        [
+          "png",
+          "jpg",
+          "jpeg",
+          "bmp",
+          "gif",
+          "webp",
+          "psd",
+          "svg",
+          "tiff",
+        ].indexOf(ext.toLowerCase()) == -1
+      );
+    },
+  },
+};
+</script>
+
+<style>
+</style>
diff --git a/src/views/securityAnalysis/child/assignment.vue b/src/views/securityAnalysis/child/assignment.vue
new file mode 100644
index 0000000..2216940
--- /dev/null
+++ b/src/views/securityAnalysis/child/assignment.vue
@@ -0,0 +1,326 @@
+<template>
+  <div class="certificateTJ">
+    <avue-crud
+      :option="option1"
+      :data="data1"
+      :page.sync="page1"
+      :table-loading="loading1"
+      @on-load="getPractitionersPageInfo(page1)"
+      @search-change="searchChange"
+      @search-reset="searchReset"
+      @refresh-change="refreshChange"
+    >
+    </avue-crud>
+  </div>
+</template>
+
+<script>
+import { getdata1 } from "@/api/dispatch/dispatch";
+export default {
+  props: ["card"],
+  data() {
+    var jurisdiction =
+      this.card.jurisdiction == "1123598813738675201"
+        ? "1372091709474910209"
+        : this.card.jurisdiction;
+    return {
+      securityid1: "",
+      ExperienceVisible: false,
+      loading1: true,
+      page1: {
+        pageSize: 10,
+        currentPage: 1,
+        total: 0,
+      },
+      query1: {},
+      data1: [],
+      option1: {
+        addBtn: false,
+        searchShowBtn: false,
+        columnBtn: false,
+        // refreshBtn: false,
+        // card: true,
+        menu: false,
+        height: 450,
+        widtd: "auto",
+        // calcHeight: 54,
+        border: true, //liu
+        stripe: true,
+        // tip: false,
+        index: true,
+        // dialogClickModal: false,
+        // headerAlign: "center",
+        align: "center",
+        column: [
+          //派遣服务公司登记
+          {
+            label: "派遣单位名称",
+            prop: "name",
+            search: true,
+            searchLabelWidth: 110,
+            overHidden: true,
+            searchSpan: 4,
+            width: 210,
+            // span: 12,
+            labelWidth: 118,
+          },
+          {
+            label: "派遣单位地址",
+            prop: "address",
+            search: false,
+            searchLabelWidth: 110,
+            overHidden: true,
+            searchSpan: 4,
+            width: 210,
+            // span: 12,
+            labelWidth: 118,
+          },
+
+          {
+            label: "保安公司",
+            prop: "deptId",
+            type: "tree",
+            overHidden: true,
+            dicUrl:
+              "/api/blade-system/dept/security_lazy-tree?jurisdiction=" +
+              jurisdiction,
+            props: {
+              label: "title",
+              value: "id",
+            },
+            // hide: true,
+            // hide: !website.tenantMode,
+            // addDisplay: website.tenantMode,
+            // editDisplay: website.tenantMode,
+            // viewDisplay: website.tenantMode,
+            rules: [
+              {
+                required: true,
+                message: "请选择保安公司",
+                trigger: "click",
+              },
+            ],
+            labelWidth: 118,
+            width: 230,
+            searchLabelWidth: 80,
+            search: true,
+            searchSpan: 4,
+            // editDisplay: false,
+            // addDisplay: false,
+            // hide: true,
+            // span: 11,
+          },
+          {
+            label: "保安服务类型",
+            prop: "serveType",
+            // search: true,
+            searchLabelWidth: 110,
+            searchSpan: 4,
+            overHidden: true,
+            // span: 12,
+            labelWidth: 118,
+          },
+          {
+            label: "合同生效时间",
+            prop: "releaseTimeRange",
+            type: "date",
+            format: "yyyy-MM-dd",
+            valueFormat: "yyyy-MM-dd",
+            searchValue: [this.getStartTime(), this.getEndTime()],
+            searchRange: true,
+            searchSpan: 5,
+            searchLabelWidth: 110,
+            hide: true,
+            addDisplay: false,
+            editDisplay: false,
+            viewDisplay: false,
+            search: true,
+            rules: [
+              {
+                required: true,
+                message: "请输入时间",
+                trigger: "blur",
+              },
+            ],
+          },
+          // {
+          //   label: " 派遣人数",
+          //   prop: "num",
+          //   labelWidth: 118,
+          // },
+          {
+            label: "合同开始时间",
+            prop: "startTime",
+            labelWidth: 118,
+            type: "date",
+            format: "yyyy-MM-dd",
+            valueFormat: "yyyy-MM-dd",
+            // search: true,
+            // searchSpan: 4,
+            // overHidden: true
+          },
+          {
+            label: "合同结束时间",
+            prop: "endTime",
+            labelWidth: 118,
+            type: "date",
+            format: "yyyy-MM-dd",
+            valueFormat: "yyyy-MM-dd",
+            // search: true,
+            // searchSpan: 4,
+            // overHidden: true
+          },
+          {
+            label: " 负责人",
+            prop: "linkman",
+            labelWidth: 118,
+          },
+          {
+            label: "负责人联系方式",
+            prop: "phone",
+            labelWidth: 118,
+            width: 110,
+          },
+          {
+            label: "所属辖区",
+            prop: "jurisdiction",
+            hide: true,
+            searchLabelWidth: 80,
+            search: true,
+            searchSpan: 4,
+            overHidden: true,
+            labelWidth: 118,
+            type: "tree",
+            dicUrl: "/api/jurisdiction/lazy-tree",
+            props: {
+              label: "title",
+              value: "id",
+            },
+            checkStrictly: true,
+            slot: true,
+            rules: [
+              {
+                required: true,
+                message: "请选择所属辖区",
+                trigger: "click",
+              },
+            ],
+          },
+          {
+            label: "所属辖区",
+            prop: "jurisdictionName",
+            // multiple: true,
+            searchLabelWidth: 80,
+            addDisplay: false,
+            editDisplay: false,
+            viewDisplay: false,
+            overHidden: true,
+            labelWidth: 118,
+            type: "tree",
+            dicUrl: "/api/jurisdiction/lazy-tree",
+            props: {
+              label: "title",
+              value: "id",
+            },
+            checkStrictly: true,
+            slot: true,
+            rules: [
+              {
+                required: true,
+                message: "请选择所属辖区",
+                trigger: "click",
+              },
+            ],
+          },
+        ],
+      },
+    };
+  },
+  methods: {
+    getStartTime() {
+      if (
+        this.$route.query.startTime != undefined &&
+        this.$route.query.startTime != null &&
+        this.$route.query.startTime != ""
+      ) {
+        return this.$route.query.startTime;
+      }
+      return "";
+    },
+    getEndTime() {
+      if (
+        this.$route.query.endTime != undefined &&
+        this.$route.query.endTime != null &&
+        this.$route.query.endTime != ""
+      ) {
+        return this.$route.query.endTime;
+      }
+      return "";
+    },
+    getPractitionersPageInfo(page, params = {}) {
+      // this.card.jurisdiction = "130";
+      // this.card.this.card = "1425365571343515649";
+      // if (params.hold == undefined) {
+      //   params.hold = 1;
+      // }
+      if (this.card.jurisdiction != "" || this.card.jurisdiction != undefined) {
+        if (this.query1.deptId != "" || this.query1.deptId != undefined) {
+          this.card.deptId = this.query1.deptId;
+        }
+        this.option1.column[2].search = true;
+      } else {
+        this.option1.column[2].search = false;
+      }
+      if (this.card.jurisdiction == 1123598813738675201) {
+        this.card.jurisdiction = "";
+      }
+      console.log(this.query1);
+      const releaseTimeRange = this.query1.releaseTimeRange;
+      if (releaseTimeRange) {
+        params = {
+          ...params,
+          beginTime: releaseTimeRange[0],
+          overTime: releaseTimeRange[1],
+          status: 1,
+          ...this.query1,
+          ...this.card,
+        };
+        // values.releaseTimeRange = null;
+      } else {
+        params = {
+          ...params,
+          ...this.query1,
+          status: 1,
+          ...this.card,
+        };
+      }
+      console.log(params);
+      getdata1(page.currentPage, page.pageSize, params).then((res) => {
+        // console.log(res.data.data.records);
+        const data = res.data.data;
+        this.data1 = data.records;
+        this.page1.total = data.total;
+        this.loading1 = false;
+      });
+    },
+    refreshChange() {
+      this.getPractitionersPageInfo(this.page1, this.query1);
+    },
+    searchChange(params, done) {
+      this.query1 = params;
+      this.page1.currentPage = 1;
+      this.refreshChange();
+      done();
+    },
+    searchReset() {
+      this.query1 = {};
+      this.page1.currentPage = 1;
+      this.refreshChange();
+      console.log(212);
+    },
+  },
+};
+</script>
+
+<style scoped>
+</style>
\ No newline at end of file
diff --git a/src/views/securityAnalysis/child/certificate.vue b/src/views/securityAnalysis/child/certificate.vue
new file mode 100644
index 0000000..339c2ed
--- /dev/null
+++ b/src/views/securityAnalysis/child/certificate.vue
@@ -0,0 +1,210 @@
+<template>
+  <div class="certificateTJ">
+    <avue-crud
+      :option="option1"
+      :data="data1"
+      :page.sync="page1"
+      :table-loading="loading1"
+      @on-load="getPractitionersPageInfo(page1)"
+      @search-change="searchChange"
+      @search-reset="searchReset"
+      @refresh-change="refreshChange"
+    >
+    </avue-crud>
+  </div>
+</template>
+
+<script>
+import { getList } from "@/api/securityGuard/securityGuard"; // 保安员
+export default {
+  props: ["card"],
+  data() {
+    return {
+      securityid1: "",
+      ExperienceVisible: false,
+      loading1: true,
+      page1: {
+        pageSize: 10,
+        currentPage: 1,
+        total: 0,
+      },
+      query1: {},
+      data1: [],
+      option1: {
+        addBtn: false,
+        searchShowBtn: false,
+        columnBtn: false,
+        // refreshBtn: false,
+        // card: true,
+        menu: false,
+        height: 450,
+        widtd: "auto",
+        // calcHeight: 54,
+        border: true, //liu
+        stripe: true,
+        // tip: false,
+        index: true,
+        // dialogClickModal: false,
+        // headerAlign: "center",
+        align: "center",
+        column: [
+          {
+            label: "姓名",
+            prop: "realName",
+            disabled: true,
+            searchLabelWidth: "50",
+            width: 80,
+            overHidden: true,
+            searchSpan: 3,
+            search: true,
+          },
+          {
+            label: "所属保安公司",
+            searchLabelWidth: "110",
+            // prop: "deptName",
+            prop: "deptId",
+            type: "tree",
+            dicUrl:
+              "/api/blade-system/dept/security_lazy-tree?parentId=1413470343230877697",
+            props: {
+              label: "title",
+              value: "id",
+            },
+            // hide: true,
+            // slot: true,
+            searchSpan: 5,
+            display: false,
+            search: true,
+            minWidth: 220,
+          },
+          {
+            label: "性别",
+            prop: "sex",
+            width: 55,
+            type: "select",
+            dicData: [
+              {
+                label: "男",
+                value: 1,
+              },
+              {
+                label: "女",
+                value: 2,
+              },
+              {
+                label: "未知",
+                value: 3,
+              },
+            ],
+            display: false,
+          },
+          {
+            label: "身份证号码",
+            prop: "cardid",
+            search: true,
+            searchLabelWidth: 90,
+            searchSpan: 5,
+            minWidth: 140,
+            display: false,
+          },
+          {
+            label: "学历",
+            prop: "education",
+            display: false,
+            width: 90,
+            dicUrl: "/api/blade-system/dict-biz/dictionary?code=educationType",
+            props: {
+              label: "dictValue",
+              value: "dictKey",
+            },
+            type: "select",
+            // hide: true,
+            rules: [
+              {
+                required: true,
+                message: "请选择学历",
+                trigger: "blur",
+              },
+            ],
+          },
+          {
+            label: "联系电话",
+            prop: "phone",
+            minWidth: 100,
+            display: false,
+          },
+          {
+            label: "是否持证",
+            prop: "hold",
+            search: true,
+            disabled: false,
+            type: "select",
+            searchSpan: 4,
+            // searchValue: "1",
+            dicData: [
+              {
+                label: "持证",
+                value: "1",
+              },
+              {
+                label: "未持证",
+                value: "2",
+              },
+              {
+                label: "已吊销",
+                value: "3",
+              },
+            ],
+          },
+          {
+            label: "发证时间",
+            prop: "paperTime",
+            disabled: true,
+          },
+        ],
+      },
+    };
+  },
+  methods: {
+    getPractitionersPageInfo(page, params = {}) {
+      if (this.card.jurisdiction == 1123598813738675201) {
+        this.card.jurisdiction = "";
+      }
+      // if (params.hold == undefined) {
+      //   params.hold = 1;
+      // }
+      params = {
+        ...params,
+        ...this.query1,
+        status: 1,
+        ...this.card,
+      };
+      getList(page.currentPage, page.pageSize, params).then((res) => {
+        // console.log(res.data.data.records);
+        const data = res.data.data;
+        this.data1 = data.records;
+        this.page1.total = data.total;
+        this.loading1 = false;
+      });
+    },
+    refreshChange() {
+      this.getPractitionersPageInfo(this.page1, this.query1);
+    },
+    searchChange(params, done) {
+      this.query1 = params;
+      this.page1.currentPage = 1;
+      this.refreshChange();
+      done();
+    },
+    searchReset() {
+      this.query1 = {};
+      this.page1.currentPage = 1;
+      this.refreshChange();
+      console.log(212);
+    },
+  },
+};
+</script>
+
+<style scoped>
+</style>
\ No newline at end of file
diff --git a/src/views/securityAnalysis/child/dispatch.vue b/src/views/securityAnalysis/child/dispatch.vue
new file mode 100644
index 0000000..5f37d1a
--- /dev/null
+++ b/src/views/securityAnalysis/child/dispatch.vue
@@ -0,0 +1,326 @@
+<template>
+  <div class="certificateTJ">
+    <avue-crud
+      :option="option1"
+      :data="data1"
+      :page.sync="page1"
+      :table-loading="loading1"
+      @on-load="getPractitionersPageInfo(page1)"
+      @search-change="searchChange"
+      @search-reset="searchReset"
+      @refresh-change="refreshChange"
+    >
+    </avue-crud>
+  </div>
+</template>
+
+<script>
+import { getdata } from "@/api/dispatch/dispatch";
+export default {
+  props: ["card"],
+  data() {
+    var jurisdiction =
+      this.card.jurisdiction == "1123598813738675201"
+        ? "1372091709474910209"
+        : this.card.jurisdiction;
+    return {
+      securityid1: "",
+      ExperienceVisible: false,
+      loading1: true,
+      page1: {
+        pageSize: 10,
+        currentPage: 1,
+        total: 0,
+      },
+      query1: {},
+      data1: [],
+      option1: {
+        addBtn: false,
+        searchShowBtn: false,
+        columnBtn: false,
+        // refreshBtn: false,
+        // card: true,
+        menu: false,
+        height: 450,
+        widtd: "auto",
+        // calcHeight: 54,
+        border: true, //liu
+        stripe: true,
+        // tip: false,
+        index: true,
+        // dialogClickModal: false,
+        // headerAlign: "center",
+        align: "center",
+        column: [
+          //派遣服务公司登记
+          {
+            label: "派遣单位名称",
+            prop: "name",
+            search: true,
+            searchLabelWidth: 110,
+            overHidden: true,
+            searchSpan: 4,
+            width: 210,
+            // span: 12,
+            labelWidth: 118,
+          },
+          {
+            label: "派遣单位地址",
+            prop: "address",
+            search: false,
+            searchLabelWidth: 110,
+            overHidden: true,
+            searchSpan: 4,
+            width: 210,
+            // span: 12,
+            labelWidth: 118,
+          },
+
+          {
+            label: "保安公司",
+            prop: "deptId",
+            type: "tree",
+            overHidden: true,
+            dicUrl:
+              "/api/blade-system/dept/security_lazy-tree?jurisdiction=" +
+              jurisdiction,
+            props: {
+              label: "title",
+              value: "id",
+            },
+            // hide: true,
+            // hide: !website.tenantMode,
+            // addDisplay: website.tenantMode,
+            // editDisplay: website.tenantMode,
+            // viewDisplay: website.tenantMode,
+            rules: [
+              {
+                required: true,
+                message: "请选择保安公司",
+                trigger: "click",
+              },
+            ],
+            labelWidth: 118,
+            width: 230,
+            searchLabelWidth: 80,
+            search: true,
+            searchSpan: 4,
+            // editDisplay: false,
+            // addDisplay: false,
+            // hide: true,
+            // span: 11,
+          },
+          {
+            label: "保安服务类型",
+            prop: "serveType",
+            // search: true,
+            searchLabelWidth: 110,
+            searchSpan: 4,
+            overHidden: true,
+            // span: 12,
+            labelWidth: 118,
+          },
+          {
+            label: "合同生效时间",
+            prop: "releaseTimeRange",
+            type: "date",
+            format: "yyyy-MM-dd",
+            valueFormat: "yyyy-MM-dd",
+            searchValue: [this.getStartTime(), this.getEndTime()],
+            searchRange: true,
+            searchSpan: 5,
+            searchLabelWidth: 110,
+            hide: true,
+            addDisplay: false,
+            editDisplay: false,
+            viewDisplay: false,
+            search: true,
+            rules: [
+              {
+                required: true,
+                message: "请输入时间",
+                trigger: "blur",
+              },
+            ],
+          },
+          // {
+          //   label: " 派遣人数",
+          //   prop: "num",
+          //   labelWidth: 118,
+          // },
+          {
+            label: "合同开始时间",
+            prop: "startTime",
+            labelWidth: 118,
+            type: "date",
+            format: "yyyy-MM-dd",
+            valueFormat: "yyyy-MM-dd",
+            // search: true,
+            // searchSpan: 4,
+            // overHidden: true
+          },
+          {
+            label: "合同结束时间",
+            prop: "endTime",
+            labelWidth: 118,
+            type: "date",
+            format: "yyyy-MM-dd",
+            valueFormat: "yyyy-MM-dd",
+            // search: true,
+            // searchSpan: 4,
+            // overHidden: true
+          },
+          {
+            label: " 负责人",
+            prop: "linkman",
+            labelWidth: 118,
+          },
+          {
+            label: "负责人联系方式",
+            prop: "phone",
+            labelWidth: 118,
+            width: 110,
+          },
+          {
+            label: "所属辖区",
+            prop: "jurisdiction",
+            hide: true,
+            searchLabelWidth: 80,
+            search: true,
+            searchSpan: 4,
+            overHidden: true,
+            labelWidth: 118,
+            type: "tree",
+            dicUrl: "/api/jurisdiction/lazy-tree",
+            props: {
+              label: "title",
+              value: "id",
+            },
+            checkStrictly: true,
+            slot: true,
+            rules: [
+              {
+                required: true,
+                message: "请选择所属辖区",
+                trigger: "click",
+              },
+            ],
+          },
+          {
+            label: "所属辖区",
+            prop: "jurisdictionName",
+            // multiple: true,
+            searchLabelWidth: 80,
+            addDisplay: false,
+            editDisplay: false,
+            viewDisplay: false,
+            overHidden: true,
+            labelWidth: 118,
+            type: "tree",
+            dicUrl: "/api/jurisdiction/lazy-tree",
+            props: {
+              label: "title",
+              value: "id",
+            },
+            checkStrictly: true,
+            slot: true,
+            rules: [
+              {
+                required: true,
+                message: "请选择所属辖区",
+                trigger: "click",
+              },
+            ],
+          },
+        ],
+      },
+    };
+  },
+  methods: {
+    getStartTime() {
+      if (
+        this.$route.query.startTime != undefined &&
+        this.$route.query.startTime != null &&
+        this.$route.query.startTime != ""
+      ) {
+        return this.$route.query.startTime;
+      }
+      return "";
+    },
+    getEndTime() {
+      if (
+        this.$route.query.endTime != undefined &&
+        this.$route.query.endTime != null &&
+        this.$route.query.endTime != ""
+      ) {
+        return this.$route.query.endTime;
+      }
+      return "";
+    },
+    getPractitionersPageInfo(page, params = {}) {
+      // this.card.jurisdiction = "130";
+      // this.card.this.card = "1425365571343515649";
+      // if (params.hold == undefined) {
+      //   params.hold = 1;
+      // }
+      if (this.card.jurisdiction != "" || this.card.jurisdiction != undefined) {
+        if (this.query1.deptId != "" || this.query1.deptId != undefined) {
+          this.card.deptId = this.query1.deptId;
+        }
+        this.option1.column[2].search = true;
+      } else {
+        this.option1.column[2].search = false;
+      }
+      if (this.card.jurisdiction == 1123598813738675201) {
+        this.card.jurisdiction = "";
+      }
+      console.log(this.query1);
+      const releaseTimeRange = this.query1.releaseTimeRange;
+      if (releaseTimeRange) {
+        params = {
+          ...params,
+          beginTime: releaseTimeRange[0],
+          overTime: releaseTimeRange[1],
+          status: 1,
+          ...this.query1,
+          ...this.card,
+        };
+        // values.releaseTimeRange = null;
+      } else {
+        params = {
+          ...params,
+          ...this.query1,
+          status: 1,
+          ...this.card,
+        };
+      }
+      console.log(params);
+      getdata(page.currentPage, page.pageSize, params).then((res) => {
+        // console.log(res.data.data.records);
+        const data = res.data.data;
+        this.data1 = data.records;
+        this.page1.total = data.total;
+        this.loading1 = false;
+      });
+    },
+    refreshChange() {
+      this.getPractitionersPageInfo(this.page1, this.query1);
+    },
+    searchChange(params, done) {
+      this.query1 = params;
+      this.page1.currentPage = 1;
+      this.refreshChange();
+      done();
+    },
+    searchReset() {
+      this.query1 = {};
+      this.page1.currentPage = 1;
+      this.refreshChange();
+      console.log(212);
+    },
+  },
+};
+</script>
+
+<style scoped>
+</style>
\ No newline at end of file
diff --git a/src/views/securityAnalysis/child/examination.vue b/src/views/securityAnalysis/child/examination.vue
new file mode 100644
index 0000000..efe03b0
--- /dev/null
+++ b/src/views/securityAnalysis/child/examination.vue
@@ -0,0 +1,123 @@
+<template>
+  <div class="certificateTJ">
+    <avue-crud
+      :option="option1"
+      :data="data1"
+      :page.sync="page1"
+      :table-loading="loading1"
+      @on-load="getPractitionersPageInfo(page1)"
+      @search-change="searchChange"
+      @search-reset="searchReset"
+      @refresh-change="refreshChange"
+    >
+    </avue-crud>
+  </div>
+</template>
+
+<script>
+import {
+  getinformationstatisticsXX, //保安员考试情况详情统计
+} from "@/api/securityAnalysis/securityAnalysis";
+export default {
+  props: ["card"],
+  data() {
+    return {
+      securityid1: "",
+      ExperienceVisible: false,
+      loading1: true,
+      page1: {
+        pageSize: 10,
+        currentPage: 1,
+        total: 0,
+      },
+      query1: {},
+      data1: [],
+      option1: {
+        addBtn: false,
+        searchShowBtn: false,
+        columnBtn: false,
+        // refreshBtn: false,
+        // card: true,
+        menu: false,
+        height: 450,
+        widtd: "auto",
+        // calcHeight: 54,
+        border: true, //liu
+        stripe: true,
+        // tip: false,
+        index: true,
+        // dialogClickModal: false,
+        // headerAlign: "center",
+        align: "center",
+        column: [
+          {
+            label: "姓名",
+            prop: "securityName",
+            disabled: true,
+            search: true,
+          },
+          {
+            label: "考试场次",
+            prop: "examName",
+            disabled: true,
+          },
+          {
+            label: "考试时间",
+            prop: "examTime",
+            disabled: true,
+          },
+          {
+            label: "考试分数",
+            prop: "allGrade",
+            disabled: true,
+          },
+        ],
+      },
+    };
+  },
+  methods: {
+    getPractitionersPageInfo(page, params = {}) {
+      // this.data1 = this.czdata;
+      console.log(page);
+      params = {
+        ...params,
+        ...this.card,
+      };
+      getinformationstatisticsXX(page.currentPage, page.pageSize, params).then(
+        (res) => {
+          // console.log(res.data.data.records);
+          const data = res.data.data;
+          this.data1 = data.records;
+          this.page1.total = data.total;
+          this.loading1 = false;
+        }
+      );
+    },
+    refreshChange() {
+      this.getPractitionersPageInfo(this.page1);
+    },
+    searchChange(params, done) {
+      if (params.czname == undefined) {
+        this.data1 = this.czdata;
+        done();
+        return;
+      }
+      var text = new RegExp(params.czname, "g"),
+        d = [];
+      for (let k in this.czdata) {
+        if (text.test(this.czdata[k].czname)) {
+          d.push(this.czdata[k]);
+        }
+      }
+      this.data1 = d;
+      done();
+    },
+    searchReset(done) {
+      this.data1 = this.czdata;
+    },
+  },
+};
+</script>
+
+<style scoped>
+</style>
\ No newline at end of file
diff --git a/src/views/securityAnalysis/child/situation.vue b/src/views/securityAnalysis/child/situation.vue
new file mode 100644
index 0000000..c2aa406
--- /dev/null
+++ b/src/views/securityAnalysis/child/situation.vue
@@ -0,0 +1,206 @@
+<template>
+  <div class="certificateTJ">
+    <avue-crud
+      :option="option1"
+      :data="data1"
+      :page.sync="page1"
+      :table-loading="loading1"
+      @on-load="getPractitionersPageInfo(page1)"
+      @search-change="searchChange"
+      @search-reset="searchReset"
+      @refresh-change="refreshChange"
+    >
+    </avue-crud>
+  </div>
+</template>
+
+<script>
+import { getList } from "@/api/securityGuard/securityGuard"; // 保安员
+export default {
+  props: ["card"],
+  data() {
+    return {
+      securityid1: "",
+      ExperienceVisible: false,
+      loading1: true,
+      page1: {
+        pageSize: 10,
+        currentPage: 1,
+        total: 0,
+      },
+      query1: {},
+      data1: [],
+      option1: {
+        addBtn: false,
+        searchShowBtn: false,
+        columnBtn: false,
+        // refreshBtn: false,
+        // card: true,
+        menu: false,
+        height: 450,
+        widtd: "auto",
+        // calcHeight: 54,
+        border: true, //liu
+        stripe: true,
+        // tip: false,
+        index: true,
+        // dialogClickModal: false,
+        // headerAlign: "center",
+        align: "center",
+        column: [
+          {
+            label: "姓名",
+            prop: "realName",
+            disabled: true,
+            searchLabelWidth: "50",
+            width: 80,
+            overHidden: true,
+            searchSpan: 3,
+            search: true,
+          },
+          {
+            label: "所属保安公司",
+            searchLabelWidth: "110",
+            // prop: "deptName",
+            prop: "deptId",
+            type: "tree",
+            dicUrl:
+              "/api/blade-system/dept/security_lazy-tree?parentId=1413470343230877697",
+            props: {
+              label: "title",
+              value: "id",
+            },
+            // hide: true,
+            // slot: true,
+            searchSpan: 5,
+            display: false,
+            search: true,
+            minWidth: 220,
+          },
+          {
+            label: "性别",
+            prop: "sex",
+            width: 55,
+            type: "select",
+            dicData: [
+              {
+                label: "男",
+                value: 1,
+              },
+              {
+                label: "女",
+                value: 2,
+              },
+              {
+                label: "未知",
+                value: 3,
+              },
+            ],
+            display: false,
+          },
+          {
+            label: "身份证号码",
+            prop: "cardid",
+            search: true,
+            searchLabelWidth: 90,
+            searchSpan: 5,
+            minWidth: 140,
+            display: false,
+          },
+          {
+            label: "学历",
+            prop: "education",
+            display: false,
+            width: 90,
+            dicUrl: "/api/blade-system/dict-biz/dictionary?code=educationType",
+            props: {
+              label: "dictValue",
+              value: "dictKey",
+            },
+            type: "select",
+            // hide: true,
+            rules: [
+              {
+                required: true,
+                message: "请选择学历",
+                trigger: "blur",
+              },
+            ],
+          },
+          {
+            label: "联系电话",
+            prop: "phone",
+            minWidth: 100,
+            display: false,
+          },
+          {
+            label: "审查状态",
+            prop: "examinationType",
+            search: true,
+            disabled: false,
+            type: "select",
+            searchSpan: 4,
+            // searchValue: "1",
+            dicData: [
+              {
+                label: "正常",
+                value: "0",
+              },
+              {
+                label: "异常",
+                value: "1",
+              },
+            ],
+          },
+          {
+            label: "审查明细",
+            prop: "examinationMx",
+            disabled: true,
+          },
+        ],
+      },
+    };
+  },
+  methods: {
+    getPractitionersPageInfo(page, params = {}) {
+      if (this.card.jurisdiction == 1123598813738675201) {
+        this.card.jurisdiction = "";
+      }
+      // if (params.hold == undefined) {
+      //   params.hold = 1;
+      // }
+      params = {
+        ...params,
+        ...this.query1,
+        status: 1,
+        ...this.card,
+      };
+      getList(page.currentPage, page.pageSize, params).then((res) => {
+        // console.log(res.data.data.records);
+        const data = res.data.data;
+        this.data1 = data.records;
+        this.page1.total = data.total;
+        this.loading1 = false;
+      });
+    },
+    refreshChange() {
+      this.getPractitionersPageInfo(this.page1, this.query1);
+    },
+    searchChange(params, done) {
+      this.query1 = params;
+      this.page1.currentPage = 1;
+      this.refreshChange();
+      done();
+    },
+    searchReset() {
+      this.query1 = {};
+      this.page1.currentPage = 1;
+      this.refreshChange();
+      console.log(212);
+    },
+  },
+};
+</script>
+
+<style scoped>
+</style>
\ No newline at end of file
diff --git a/src/views/securityAnalysis/index.vue b/src/views/securityAnalysis/index.vue
index 7806a6a..331d3fa 100644
--- a/src/views/securityAnalysis/index.vue
+++ b/src/views/securityAnalysis/index.vue
@@ -2,7 +2,23 @@
   <div class="securityAnalysis">
     <!-- securityAnalysis -->
     <div class="securityAnalysisleft">
-      <div class="examine" ref="ech1">
+      <!-- <div class="examines"> -->
+      <!-- <div class="examine" ref="ech1"></div> -->
+      <!-- <div class="examine1"> -->
+      <!-- <div>审查时间:</div>
+          <div>审查时间:</div>
+          <div>问题保安员人数:</div>
+          <div>问题保安员人数:</div>
+          <div>问题保安员比例:</div>
+          <div>问题保安员比例:</div> -->
+      <!-- <div v-for="(item, index) in examine1" :key="index">
+            {{ item.title }}<br />{{ item.value }}
+          </div>
+        </div> -->
+      <!-- 保安员审查情况统计
+        <div>饼图</div> -->
+      <!-- </div> -->
+      <div class="examines" ref="ech1">
         <!-- 保安员审查情况统计
         <div>饼图</div> -->
       </div>
@@ -10,6 +26,7 @@
         <!-- 保安员持证情况统计
         <div>饼图</div> -->
       </div>
+      <!-- <div class="czbut"></div> -->
     </div>
     <div class="securityAnalysiscenter">
       <div class="examination" ref="ech3">
@@ -31,6 +48,46 @@
         <div>饼图</div> -->
       </div>
     </div>
+    <div>
+      <el-dialog
+        width="90%"
+        :title="titles"
+        append-to-body
+        :visible.sync="dialogVisible"
+        top="10vh"
+      >
+        <certificate
+          :card="{ deptid: deptid, jurisdiction: jurisdiction }"
+          v-if="sees == 1"
+        >
+          <!-- 保安员审查情况统计 -->
+        </certificate>
+        <examination
+          :card="{ deptid: deptid, jurisdiction: jurisdiction }"
+          v-if="sees == 2"
+        >
+          <!-- 保安员考试情况统计 -->
+        </examination>
+        <situation
+          :card="{ deptid: deptid, jurisdiction: jurisdiction }"
+          v-if="sees == 3"
+        >
+          <!-- 保安员审查情况统计 -->
+        </situation>
+        <dispatch
+          :card="{ deptId: deptid, jurisdiction: jurisdiction }"
+          v-if="sees == 4"
+        >
+          <!-- 派遣服务单位 注意deptId  I为大写 -->
+        </dispatch>
+        <assignment
+          :card="{ deptid: deptid, jurisdiction: jurisdiction }"
+          v-if="sees == 5"
+        >
+          <!-- 保安派遣情况 -->
+        </assignment>
+      </el-dialog>
+    </div>
   </div>
 </template>
 
@@ -40,12 +97,24 @@
   getinformationselectHold, //保安员持证
   getinformationselectDis, //派遣服务单位
   getinformationstatistics, //保安员考试情况统计
-  getinformationselectDisp, //保安派遣数量
+  getinformationselectDisp, //保安派遣情况
   getinformationselectSoil, //社保缴纳情况统计
 } from "@/api/securityAnalysis/securityAnalysis";
 import { mapState } from "vuex";
 import { getRoleDetail } from "@/api/system/role";
+import certificate from "./child/certificate.vue";
+import examination from "./child/examination.vue";
+import situation from "./child/situation.vue";
+import dispatch from "./child/dispatch.vue";
+import assignment from "./child/assignment.vue";
 export default {
+  components: {
+    certificate,
+    examination,
+    situation,
+    dispatch,
+    assignment,
+  },
   data() {
     return {
       EC1: "", //保安员审查情况统计 // 饼图
@@ -56,6 +125,14 @@
       EC6: "", //社保缴纳情况统计 // 饼图
       deptid: "",
       jurisdiction: "",
+
+      examine1: [],
+
+      dialogVisible: false,
+      titles: "",
+
+      // czdata: [],
+      sees: "",
     };
   },
   computed: {
@@ -121,6 +198,42 @@
       // console.log(d, ok, no);
       return d;
     },
+    getTime() {
+      var data = new Date();
+      var time = data.toLocaleString().slice(0, 9);
+      return time;
+    },
+    GetPercent(num, total) {
+      num = parseFloat(num);
+      total = parseFloat(total);
+      if (isNaN(num) || isNaN(total)) {
+        return "-";
+      }
+      return total <= 0
+        ? "0%"
+        : Math.round((num / total) * 10000) / 100.0 + "%";
+    },
+    gettoolbox(title, titles, id) {
+      var that = this;
+      return {
+        show: true,
+        itemSize: 25,
+        top: 20,
+        right: 20,
+        feature: {
+          myTool1: {
+            show: true,
+            title: title,
+            icon: "image://img/table.png",
+            onclick: function () {
+              that.dialogVisible = true;
+              that.sees = id;
+              that.titles = titles;
+            },
+          },
+        },
+      };
+    },
     getEC1() {
       var that = this;
       getinformationselectExtype(this.deptid, this.jurisdiction)
@@ -135,6 +248,21 @@
         });
     },
     setEC1(d) {
+      // console.log(d, 1);
+      this.examine1 = [
+        {
+          title: "审查时间:",
+          value: this.getTime(),
+        },
+        {
+          title: "问题保安员人数:",
+          value: d[1].value + "人",
+        },
+        {
+          title: "问题保安员比例:",
+          value: this.GetPercent(+d[1].value, +d[0].value + +d[1].value),
+        },
+      ];
       var option, data;
       // if (d) {
       data = d;
@@ -164,6 +292,13 @@
           x: "center",
           y: "90%",
         },
+        toolbox: this.gettoolbox("审查情况查询", "保安员审查情况明细", 3),
+        // grid: {
+        //   // left: "3%",
+        //   right: "5%",
+        //   // bottom: "3%",
+        //   // containLabel: true,
+        // },
         series: [
           {
             // name: "访问来源",
@@ -209,16 +344,60 @@
       getinformationselectHold(this.deptid, this.jurisdiction)
         .then((res) => {
           var a = res.data.data;
+          // console.log(a, "持证");
           var b = that.changedata(a, "cz", "wcz", "持证", "未持证");
           that.setEC2(b);
+          // var datas = [];
+          // for (var k in a) {
+          //   let b = "";
+          //   let c = [];
+          //   if (a[k].cz >= 1) {
+          //     b = {
+          //       czname: a[k].czname.split(","),
+          //       czptime: a[k].czptime.split(","),
+          //     };
+          //     // datas.push(a[k]);
+          //     // console.log(b, 123);
+          //     if (b.czname.length > 1) {
+          //       for (var n in b.czname) {
+          //         c.push({
+          //           czname: b.czname[n],
+          //           czptime: b.czptime[n] == 0 ? "" : b.czptime[n],
+          //           tpye: "持证",
+          //         });
+          //       }
+          //     } else {
+          //       c = [
+          //         {
+          //           czname: b.czname[0],
+          //           czptime: b.czptime[0] == 0 ? "" : b.czptime[0],
+          //           tpye: "持证",
+          //         },
+          //       ];
+          //     }
+          //     // console.log(c, 132456);
+          //     datas.push(...c);
+          //   }
+          //   if (a[k].wcz >= 1) {
+          //     b = {
+          //       wczname: a[k].wczname.split(","),
+          //       wczptime: a[k].wczptime.split(","),
+          //     };
+          //     console.log(b, 123);
+          //   }
+          // }
+          // // that.czdata = [...datas, ...datas];
+          // that.czdata = datas;
         })
         .catch((res) => {
           var b = that.changedata([], "cz", "wcz", "持证", "未持证");
-          that.setEC1(b);
+          that.setEC2(b);
         });
     },
     setEC2(data) {
       var option;
+      var that = this;
+      // console.log(data, "持证");
       option = {
         title: {
           text: "保安员持证情况统计",
@@ -235,6 +414,7 @@
           x: "center",
           y: "83%",
         },
+        toolbox: this.gettoolbox("持证情况查询", "保安员持证情况明细", 1),
         series: [
           {
             // name: "访问来源",
@@ -271,7 +451,7 @@
       var that = this;
       getinformationstatistics(this.deptid, this.jurisdiction).then((res) => {
         var a = res.data.data;
-        console.log(a, 22222222222222222222);
+        // console.log(a, 22222222222222222222);
         // var a = res.data.data,
         //   s = [],
         //   l = [];
@@ -288,7 +468,8 @@
     setEC3(s, l) {
       var xd = [],
         sd = [],
-        ld = [];
+        ld = [],
+        that = this;
       for (var i = 0; i < 100; i++) {
         xd.push(i + "分");
       }
@@ -318,6 +499,7 @@
           formatter:
             "<span>实操成绩</span>({b0}) :  {c0}<span>人</span><br /><span>理论成绩</span>({b1}) :  {c1}<span>人</span>",
         },
+        toolbox: this.gettoolbox("考试情况查询", "保安员考试情况明细", 2),
         legend: {
           data: ["实操成绩", "理论成绩"],
         },
@@ -421,7 +603,7 @@
             }
           }
         }
-        console.log(d, "派遣服务单位");
+        // console.log(d, "派遣服务单位");
 
         // console.log(a, 123456);
         // for (var k in a) {
@@ -460,6 +642,7 @@
           data: xxd,
           // data: xd,
         },
+        toolbox: this.gettoolbox("派遣单位查询", "派遣服务单位明细", 4),
         yAxis: {
           type: "value",
         },
@@ -488,7 +671,7 @@
         })
         .catch((res) => {
           var b = that.changedata([], "pnum", "wpnum", "已派遣", "未派遣");
-          that.setEC1(b);
+          that.setEC5(b);
         });
     },
     setEC5(d) {
@@ -504,6 +687,7 @@
         tooltip: {
           trigger: "item",
         },
+        toolbox: this.gettoolbox("派遣情况查询", "保安员派遣情况明细", 5),
         legend: {
           // orient: "vertical",
           // left: "left",
@@ -556,7 +740,7 @@
             "已缴纳社保",
             "未缴纳社保"
           );
-          that.setEC1(b);
+          that.setEC6(b);
         });
     },
     setEC6(d) {
@@ -678,7 +862,7 @@
   .securityAnalysiscenter {
     width: 40% !important;
   }
-  .examine,
+  .examines,
   .certificate,
   .examination,
   .dispatchUnit,
@@ -690,6 +874,23 @@
     box-sizing: border-box;
     background-color: #fff;
   }
+  // .examines {
+  //   width: 100%;
+  //   height: 49%;
+  //   display: flex;
+  //   align-items: center;
+  //   background-color: #fff;
+  // }
+  // .examine {
+  //   width: 100%;
+  //   height: 100%;
+  // }
+  // .examine1 {
+  //   width: 200px;
+  //   div {
+  //     margin-bottom: 10px;
+  //   }
+  // }
   // .securityAnalysisleft {
   //   width: $widths;
   // }
diff --git a/src/views/securityUnit/localCompany copy.vue b/src/views/securityUnit/localCompany copy.vue
new file mode 100644
index 0000000..d23e359
--- /dev/null
+++ b/src/views/securityUnit/localCompany copy.vue
@@ -0,0 +1,729 @@
+<template>
+  <basic-container>
+    <div class="securityUnit">
+      <avue-crud
+        :option="option"
+        :data="data"
+        :page.sync="page"
+        ref="crudrec"
+        @on-load="onLoad"
+        :table-loading="loading"
+        @row-save="rowSave"
+        @search-change="searchChange"
+        @search-reset="searchReset"
+        @row-update="rowUpdate"
+        @row-del="rowDel"
+        @selection-change="selectionChange"
+        @refresh-change="refreshChange"
+      >
+        <!-- @row-click="rowClick" -->
+        <template slot-scope="{ row }" slot="znum">
+          <el-tag
+            class="rowClickSelf"
+            @click="rowClickSelf(row)"
+            title="点击查看保安人员情况"
+            >{{ row.znum }}</el-tag
+          >
+        </template>
+
+        <template slot-scope="{ type, size, row }" slot="menu">
+          <el-button
+            icon="el-icon-s-custom"
+            :size="size"
+            :type="type"
+            @click.stop="rowClick(row)"
+            >查看
+          </el-button>
+          <el-button
+            :size="size"
+            :type="type"
+            @click="handleUploadPage(row)"
+            icon="el-icon-circle-check"
+            >附件上传
+          </el-button>
+          <el-button
+            :size="size"
+            :type="type"
+            @click="Uploads(row)"
+            icon="el-icon-circle-check"
+            >单位装备清单
+          </el-button>
+        </template>
+        <template slot="menuLeft">
+          <el-button
+            type="primary"
+            icon="el-icon-plus"
+            size="small"
+            plain
+            @click.stop="rowSave"
+            >新增</el-button
+          >
+          <el-button
+            type="danger"
+            size="small"
+            plain
+            icon="el-icon-delete"
+            @click="handleDelete"
+            >删 除
+          </el-button>
+          <el-button
+            type="success"
+            size="small"
+            plain
+            icon="el-icon-upload2"
+            @click="handleImport1"
+            >批量导入
+          </el-button>
+        </template>
+      </avue-crud>
+      <div class="lod" v-show="forms != -1">
+        <div class="lod-in">
+          <!-- <el-col class="trees" v-if="forms == 0">
+          <div class="box">
+            <el-scrollbar>
+              <basic-container>
+                <avue-tree
+                  :option="treeOption"
+                  :data="treeData"
+                  @node-click="nodeClick"
+                />
+              </basic-container>
+            </el-scrollbar>
+          </div>
+        </el-col> -->
+          <avue-form
+            ref="form"
+            v-model="obj0"
+            :option="option0"
+            v-if="forms == 0"
+          >
+            <template slot="menuForm">
+              <el-button type="primary" @click="tip0">下一页</el-button>
+              <el-button type="info" @click="tipover">取消</el-button>
+            </template>
+          </avue-form>
+          <avue-form
+            ref="form1"
+            v-model="obj1"
+            :option="option1"
+            v-else-if="forms == 1"
+          >
+            <template slot="menuForm">
+              <el-button type="primary" @click="tip1up1">上一页</el-button>
+              <el-button type="primary" @click="tip1">下一页</el-button>
+              <el-button type="info" @click="tipover">取消</el-button>
+            </template>
+          </avue-form>
+          <avue-form
+            ref="form2"
+            v-model="obj2"
+            :option="option2"
+            v-else-if="forms == 2"
+          >
+            <template slot="menuForm">
+              <el-button type="primary" @click="tip2up2">上一页</el-button>
+              <el-button type="primary" @click="tip2">提交</el-button>
+              <el-button type="info" @click="tipover">取消</el-button>
+            </template>
+          </avue-form>
+        </div>
+      </div>
+    </div>
+    <el-dialog
+      title="保安单位导入"
+      append-to-body
+      :visible.sync="excelBox1"
+      width="555px"
+    >
+      <avue-form
+        :option="excelOption1"
+        v-model="excelForm1"
+        :upload-after="uploadAfter1"
+      >
+        <template slot="excelTemplate">
+          <el-button type="primary" @click="handleTemplate1">
+            点击下载<i class="el-icon-download el-icon--right"></i>
+          </el-button>
+        </template>
+      </avue-form>
+    </el-dialog>
+  </basic-container>
+</template>
+
+<script>
+import { column, column0, column1, column2 } from "./data";
+import {
+  getdata,
+  adddata,
+  update,
+  remove,
+  adddata1,
+  adddata2,
+  getDeptLazyTree,
+} from "@/api/securityUnit/securityUnit";
+import { mapGetters } from "vuex";
+export default {
+  data() {
+    var w = 160,
+      s = 12;
+    return {
+      excelBox1: false,
+      excelForm1: {},
+      excelOption1: {
+        submitBtn: false,
+        emptyBtn: false,
+        column: [
+          {
+            label: "文件上传",
+            prop: "excelFile",
+            type: "upload",
+            drag: true,
+            loadText: "文件上传中,请稍等",
+            span: 24,
+            propsHttp: {
+              res: "data",
+            },
+            tip: "请上传 .xls,.xlsx 标准格式文件",
+            action: "/api/information/import-informaton",
+          },
+          {
+            label: "模板下载",
+            prop: "excelTemplate",
+            formslot: true,
+            span: 24,
+          },
+        ],
+      },
+
+      loading: true, //保安单位基本信息
+      selectionList: [],
+      page: {
+        pageSize: 10,
+        currentPage: 1,
+        total: 0,
+      },
+
+      treeData: [],
+      treeOption: {
+        title: "我是标题",
+        filterText: "搜索关键字自定义",
+        defaultExpandAll: true,
+        addBtn: false,
+        menu: false,
+        size: "small",
+        formOption: {
+          labelWidth: 100,
+          column: [
+            {
+              label: "自定义项",
+              prop: "label",
+            },
+          ],
+        },
+        props: {
+          labelText: "标题",
+          label: "title",
+          value: "id",
+          children: "children",
+        },
+      },
+
+      obj0: {
+        title0: "保安单位基本信息",
+      },
+      option0: {
+        emptyBtn: false,
+        submitBtn: false,
+        gutter: 30,
+        column: column0,
+      },
+      obj1: {
+        title1: "保安单位出资人员",
+      },
+      option1: {
+        emptyBtn: false,
+        submitBtn: false,
+        gutter: 30,
+        column: column1,
+      },
+      obj2: {
+        title2: "主要管理人员信息",
+      },
+      option2: {
+        emptyBtn: false,
+        submitBtn: false,
+        gutter: 30,
+        column: column2,
+      },
+
+      forms: -1,
+      data0: {},
+      data1: {},
+      data2: {},
+      b0: {},
+      b1: {},
+      b2: {},
+      noshehuibianma: 0,
+      nobumen: 0,
+
+      query: {},
+      data: [],
+      option: {
+        index: true,
+        addBtn: false,
+        // card: true,
+        tip: false,
+        searchSize: "mini",
+        searchMenuSpan: 6,
+        height: 583,
+        menuWidth: 275,
+        border: true,
+        align: "center",
+        selection: true,
+        column: column,
+      },
+    };
+  },
+  computed: {
+    ...mapGetters(["userInfo"]),
+    ids() {
+      let ids = [];
+      this.selectionList.forEach((ele) => {
+        ids.push(ele.creditcode);
+      });
+      return ids.join(",");
+    },
+    ids1() {
+      let ids1 = [];
+      this.selectionList1.forEach((ele) => {
+        ids1.push(ele.id);
+      });
+      return ids1.join(",");
+    },
+    ids2() {
+      let ids2 = [];
+      this.selectionList2.forEach((ele) => {
+        ids2.push(ele.id);
+      });
+      return ids2.join(",");
+    },
+    haveID() {
+      return this.obj0.creditcode;
+    },
+  },
+  methods: {
+    Uploads(row) {
+      // console.log(val.departmentid);
+      this.$router.push({
+        path: `/resource/attachCopyzb`,
+        query: {
+          deptId: row.departmentid,
+          enterprisename: row.enterprisename,
+        },
+      });
+    },
+    rowClickSelf(val) {
+      // console.log(val.departmentid);
+      this.$router.push({
+        path: "/securityGuardOnce/index",
+        query: { departmentid: val.departmentid },
+      });
+    },
+    handleImport1() {
+      this.excelBox1 = true;
+    },
+    uploadAfter1(res, done, loading, column) {
+      window.console.log(column);
+      this.excelBox1 = false;
+      // this.refreshChange();
+      done();
+    },
+    handleTemplate1() {
+      window.open(`/api/examSubjectChoices/export-template`);
+    },
+
+    // handleChangeTABS(column) {
+    //   this.typeTABS = column;
+    //   // this.$message.success(JSON.stringify(column));
+    //   if (column.prop == "tab1") {
+    //     this.loading1 = false;
+    //     this.loading2 = false;
+    //     this.onLoad(this.page);
+    //   } else if (column.prop == "tab2") {
+    //     this.loading = false;
+    //     this.loading2 = false;
+    //     this.onLoad1(this.page1); //第二个表格不会自动执行
+    //   } else if (column.prop == "tab3") {
+    //     this.loading1 = false;
+    //     this.loading = false;
+    //     this.onLoad2(this.page2); //第二个表格不会自动执行
+    //   }
+    // },
+    //保安单位基本信息
+    sizeChange(val) {
+      this.page1.currentPage = 1;
+      this.page1.pageSize = val;
+      // this.getData();
+      this.onLoad(this.page, this.query);
+      //   this.$message.success("行数" + val);
+    },
+    currentChange(val) {
+      this.page1.currentPage = val;
+      // this.getData();
+      this.onLoad(this.page, this.query);
+      //   this.$message.success("页码" + val);
+    },
+    rowSave(form, done, loading) {
+      // console.log("save1");
+      this.forms = 0;
+      var that = this;
+      //先获取部门接口
+      getDeptLazyTree().then((res) => {
+        var d = res.data.data;
+        that.treeData = d;
+        // console.log(d);
+      });
+    },
+    searchChange(params, done) {
+      this.query = params;
+      this.page.currentPage = 1;
+      this.onLoad(this.page, params);
+      done();
+    },
+    searchReset() {
+      this.query = {};
+      this.onLoad(this.page);
+    },
+    rowUpdate(row, index, done, loading) {
+      delete row.tenantid;
+      delete row.regstsat;
+      console.log(row, 0);
+      update(row).then(
+        () => {
+          this.onLoad(this.page);
+          this.$message({
+            type: "success",
+            message: "操作成功!",
+          });
+          done();
+        },
+        (error) => {
+          window.console.log(error);
+          loading();
+        }
+      );
+    },
+    rowDel(row) {
+      this.$confirm("确定将选择数据删除?", {
+        confirmButtonText: "确定",
+        cancelButtonText: "取消",
+        type: "warning",
+      })
+        .then(() => {
+          console.log(row);
+          return remove(row.creditcode, row.departmentid);
+        })
+        .then(() => {
+          this.onLoad(this.page);
+          this.$message({
+            type: "success",
+            message: "操作成功!",
+          });
+        });
+    },
+    selectionChange(list) {
+      this.selectionList = list;
+    },
+    handleDelete() {
+      if (this.selectionList.length === 0) {
+        this.$message.warning("请选择至少一条数据");
+        return;
+      }
+      this.$confirm("确定批量将选择数据删除?", {
+        confirmButtonText: "确定",
+        cancelButtonText: "取消",
+        type: "warning",
+      })
+        .then(() => {
+          console.log(this.ids);
+          // return remove(this.ids);
+        })
+        .then(() => {
+          this.onLoad(this.page);
+          this.$message({
+            type: "success",
+            message: "操作成功!",
+          });
+          this.$refs.crudrec.toggleSelection();
+        });
+    },
+    refreshChange() {
+      this.onLoad(this.page, this.query);
+    },
+    rowClick(row) {
+      // console.log(row);
+      // row.identificationnumber; //统一社会信用代 码
+      window.localStorage.setItem("danweidata", JSON.stringify(row));
+      this.$router.push({
+        path: "/securityUnitChild",
+        // redirect: { name: "foo" },
+        query: { rowsecurity: "fromSecurity" },
+        // params: { row: row.identificationnumber },
+      });
+    },
+    //跳转到附近列表页面
+    handleUploadPage(row) {
+      this.$router.push({
+        path: `/resource/attachCopy`,
+        query: {
+          deptId: row.departmentid,
+          enterprisename: row.enterprisename,
+        },
+      });
+    },
+    onLoad(page, params = {}) {
+      if (this.userInfo.role_id == "1414840172333842433") {
+        console.log("是公安add jurisdiction");
+        params["jurisdiction"] = this.userInfo.jurisdiction;
+      }
+      params["stats"] = "2";
+      this.loading = true;
+      getdata(
+        page.currentPage,
+        page.pageSize,
+        Object.assign(params, this.query)
+      ).then((res) => {
+        const data = res.data.data;
+        this.page.total = data.total;
+        this.data = data.records;
+        window.localStorage.setItem("danweidataS", JSON.stringify(this.data));
+        console.log(this.data);
+        this.loading = false;
+      });
+    },
+    // nodeClick(data) {//分局   不在这添加
+    //   // this.treeDeptId = data.id;
+    //   // this.page.currentPage = 1;
+    //   // this.onLoad(this.page);
+    //   // this.$message.success(JSON.stringify(data));
+    //   this.obj0["departmentid"] = data.title;
+    //   this.obj1["departmentid"] = data.title;
+    //   this.obj2["departmentid"] = data.title;
+    //   this.obj0["useid"] = data.id;
+    //   this.obj1["useid"] = data.id;
+    //   this.obj2["useid"] = data.id;
+    //   this.nobumen = 1;
+    // },
+    tip0() {
+      if (this.panduanmeiyouziduan()) {
+        return;
+      }
+      var d = {};
+      for (var k in this.obj0) {
+        for (var i in column0) {
+          if (k == column0[i].prop && k != "title0") {
+            d[k] = this.obj0[k];
+          }
+        }
+      }
+      console.log(d);
+      for (var k in d) {
+        if (d[k] == "" || d[k] == undefined) {
+          console.log(k);
+          this.$message.warning("请检查表单是否填写完整!");
+          return;
+        }
+      }
+      console.log(d, 0);
+      this.data0 = d;
+      this.forms = 1;
+    },
+    tip1() {
+      if (this.panduanmeiyouziduan()) {
+        return;
+      }
+      var d = {};
+      for (var k in this.obj1) {
+        for (var i in column1) {
+          if (k == column1[i].prop && k != "title1") {
+            d[k] = this.obj1[k];
+          }
+        }
+      }
+      d["capital"] = d["capital2"];
+      delete d["capital2"];
+      // console.log(d);
+      for (var k in d) {
+        if (d[k] == "" || d[k] == undefined) {
+          console.log(k);
+          this.$message.warning("请检查表单是否填写完整!");
+          return;
+        }
+      }
+      console.log(d, 1);
+      this.data1 = d;
+      this.forms = 2;
+    },
+    tip2() {
+      if (this.panduanmeiyouziduan()) {
+        return;
+      }
+      var d = {};
+      for (var k in this.obj2) {
+        for (var i in column2) {
+          if (k == column2[i].prop && k != "title2") {
+            d[k] = this.obj2[k];
+          }
+        }
+      }
+      console.log(d);
+      d["cardid"] = d["cardid2"];
+      delete d["cardid2"];
+      d["cell"] = d["cell2"];
+      delete d["cell2"];
+      // d["shareholdingratio"] = d["shareholdingratio2"];
+      // delete d["shareholdingratio2"];
+      for (var k in d) {
+        if (d[k] == "" || d[k] == undefined) {
+          console.log(k);
+          this.$message.warning("请检查表单是否填写完整!");
+          return;
+        }
+      }
+      console.log(d, 2);
+      this.data2 = d;
+
+      // this.data0.departmentid = this.data0.useid;
+      // this.data1.departmentid = this.data1.useid;
+      // this.data2.departmentid = this.data2.useid;
+      // delete this.data0.useid;
+      // delete this.data1.useid;
+      // delete this.data2.useid;
+
+      adddata(this.data0).then((res) => {
+        console.log(res, 0);
+      });
+      adddata1(this.data1).then((res) => {
+        console.log(res, 1);
+      });
+      adddata2(this.data2).then((res) => {
+        console.log(res, 2);
+      });
+      var time = setTimeout(() => {
+        this.onLoad(this.page, this.query);
+        console.log(this.data0, this.data1, this.data2, "已刷新");
+      }, 500);
+      this.tipover();
+    },
+    tip1up1() {
+      this.forms = 0;
+    },
+    tip2up2() {
+      this.forms = 1;
+    },
+    tipover() {
+      this.forms = -1;
+      this.obj0 = {
+        title0: "保安单位基本信息",
+      };
+      this.obj1 = {
+        title1: "保安单位出资人员",
+      };
+      this.obj2 = {
+        title2: "主要管理人员信息",
+      };
+      this.data0 = {};
+      this.data1 = {};
+      this.data2 = {};
+      this.noshehuibianma = 0;
+      this.nobumen = 0;
+    },
+    panduanmeiyouziduan() {
+      if (this.noshehuibianma == 0) {
+        this.$message.warning("请输入统一社会信用代码");
+        return true;
+      }
+      if (this.nobumen == 0) {
+        return false;
+        this.$message.warning("请选则部门");
+      }
+      return false;
+    },
+  },
+  watch: {
+    haveID() {
+      // console.log(this.haveID);
+      if (this.haveID != undefined) {
+        if (this.haveID.length > 5) {
+          //统一社会信用代码判断
+          this.noshehuibianma = 1;
+        } else {
+          this.noshehuibianma = 0;
+        }
+      }
+    },
+    havedata() {
+      console.log(this.havedata, "qqqqq");
+    },
+  },
+  mounted() {},
+};
+</script>
+
+<style lang="scss">
+.securityUnit {
+  width: 100%;
+  height: 100%;
+  //   border: 1px solid #000;
+  box-sizing: border-box;
+}
+// .el-card__body {
+//   padding-bottom: 5px !important;
+// }
+// .avue-crud__tip,
+// .el-tag,
+// .el-tag--light {
+//   padding: 0 !important;
+// }
+
+.lod {
+  position: absolute;
+  top: 0;
+  left: 0;
+  width: 100%;
+  height: 100%;
+  background-color: rgba($color: #000000, $alpha: 0.5);
+  padding: 100px 0 0 0;
+  z-index: 500 !important;
+  display: flex;
+  // align-items: center;
+  justify-content: center;
+  .trees {
+    z-index: 501 !important;
+    position: absolute;
+    width: 15%;
+    top: 100px;
+    left: 0;
+    // display: none;
+  }
+  .lod-in {
+    width: 70%;
+    height: auto;
+    background-color: transparent;
+
+    // padding: 10px 0 0 0;
+  }
+
+  .el-collapse-item {
+    padding-top: 15px !important;
+  }
+}
+.el-collapse {
+  border-top: 1px solid transparent !important;
+}
+.rowClickSelf {
+  &:hover {
+    cursor: pointer;
+  }
+}
+</style>

--
Gitblit v1.9.3