From 83067c07fcef4c5882862e3f61c238a81477dd67 Mon Sep 17 00:00:00 2001
From: liuyg <376836862@qq.com>
Date: Fri, 29 Oct 2021 16:15:18 +0800
Subject: [PATCH] last+

---
 src/views/statisticalQueryManagement/businessStatistics.vue |   55 +++++++++++++++++++++++++++----------------------------
 1 files changed, 27 insertions(+), 28 deletions(-)

diff --git a/src/views/statisticalQueryManagement/businessStatistics.vue b/src/views/statisticalQueryManagement/businessStatistics.vue
index 221bbe3..0474ddc 100644
--- a/src/views/statisticalQueryManagement/businessStatistics.vue
+++ b/src/views/statisticalQueryManagement/businessStatistics.vue
@@ -64,7 +64,7 @@
 import { mapGetters } from "vuex";
 import {
   selectYw,
-  dictionaryList
+  dictionaryList,
 } from "../../api/statisticalQueryManagement/statisticalQueryManagement";
 import { lazyTreeJu, lazyTrees } from "../../api/index/index";
 import businessStatisticsDetail from "./businessStatisticsDetail";
@@ -77,14 +77,14 @@
     businessStatisticsDetail,
     businessStatisticsPq,
     businessStatisticsFwdq,
-    securityGuardDetail
+    securityGuardDetail,
   },
   data() {
     return {
       page: {
         pageSize: 10,
         currentPage: 1,
-        total: 0
+        total: 0,
       },
       value1: "",
       value2: "",
@@ -133,7 +133,7 @@
             search: true,
             searchSpan: 4,
             width: 300,
-            display: false
+            display: false,
           },
           {
             label: "单位类型",
@@ -144,9 +144,9 @@
             type: "select",
             props: {
               label: "dictValue",
-              value: "dictKey"
+              value: "dictKey",
             },
-            dicData: []
+            dicData: [],
           },
           {
             label: "所属辖区",
@@ -155,7 +155,7 @@
             type: "tree",
             props: {
               label: "title",
-              value: "id"
+              value: "id",
             },
             dicData: [],
             search: true,
@@ -163,36 +163,36 @@
               {
                 required: true,
                 message: "请选择所属辖区",
-                trigger: "blur"
-              }
-            ]
+                trigger: "blur",
+              },
+            ],
           },
           {
             label: "保安员人数",
             prop: "znum",
-            display: false
+            display: false,
           },
           {
             label: "持证人数",
             prop: "cznum",
-            display: false
+            display: false,
           },
           {
             label: "派遣人数",
             prop: "pqnum",
-            display: false
+            display: false,
           },
           {
             label: "服务对象数量",
             prop: "fwnum",
-            display: false
+            display: false,
           },
           {
             label: "服务到期数量",
             prop: "dqnum",
-            display: false
-          }
-        ]
+            display: false,
+          },
+        ],
       },
       loading: true,
       dialogTitle: "",
@@ -200,7 +200,7 @@
       pqdialogShow: false,
       fwdeptId: "",
       searchitem: "",
-      paramCz: false
+      paramCz: false,
     };
   },
   computed: {
@@ -210,15 +210,15 @@
         addBtn: this.vaildData(this.permission.post_add, false),
         viewBtn: this.vaildData(this.permission.post_view, false),
         delBtn: this.vaildData(this.permission.post_delete, false),
-        editBtn: this.vaildData(this.permission.post_edit, false)
+        editBtn: this.vaildData(this.permission.post_edit, false),
       };
-    }
+    },
   },
   methods: {
     getSubOfficeData() {
-      lazyTrees().then(res => {
+      lazyTrees().then((res) => {
         if (res.data.code === 200) {
-          this.tableOption.column.forEach(item => {
+          this.tableOption.column.forEach((item) => {
             if (item.label == "所属辖区") {
               item.dicData = res.data.data;
             }
@@ -229,9 +229,9 @@
       });
     },
     getDictionaryList() {
-      dictionaryList().then(res => {
+      dictionaryList().then((res) => {
         if (res.data.code === 200) {
-          this.tableOption.column.forEach(item => {
+          this.tableOption.column.forEach((item) => {
             if (item.label == "单位类型") {
               item.dicData = res.data.data;
             }
@@ -245,7 +245,6 @@
       this.onLoad(this.page, params);
       done();
     },
-
     searchReset() {
       this.query = {};
       this.onLoad(this.page);
@@ -269,7 +268,7 @@
       param["stats"] = params["stats"] || "";
       param["current"] = page.currentPage;
       param["size"] = page.pageSize;
-      selectYw(param).then(res => {
+      selectYw(param).then((res) => {
         const data = res.data.data;
         this.page.total = data.total;
         this.tableData = data.records;
@@ -332,12 +331,12 @@
       } else {
         this.dialogShow = false;
       }
-    }
+    },
   },
   mounted() {
     this.getSubOfficeData();
     this.getDictionaryList();
-  }
+  },
 };
 </script>
 <style lang="scss" scoped>

--
Gitblit v1.9.3