From ef32fdb91a9b5f2aa53bd499698aee2cd381616d Mon Sep 17 00:00:00 2001
From: liuyg <376836862@qq.com>
Date: Fri, 03 Sep 2021 09:46:00 +0800
Subject: [PATCH] 营业执照  保安证

---
 src/views/securityUnitOperation/economicTable.vue |   22 ++++++++++++++++------
 1 files changed, 16 insertions(+), 6 deletions(-)

diff --git a/src/views/securityUnitOperation/economicTable.vue b/src/views/securityUnitOperation/economicTable.vue
index 9ca75a8..7d0292b 100644
--- a/src/views/securityUnitOperation/economicTable.vue
+++ b/src/views/securityUnitOperation/economicTable.vue
@@ -33,7 +33,7 @@
         currentPage: 1,
         total: 0
       },
-      query:{},
+      query: {},
       value1: "",
       value2: "",
       tableData: [
@@ -137,6 +137,7 @@
             prop: "enterpriseName",
             search: true,
             searchSpan: 4,
+            width:300,
             display: false
           },
           {
@@ -179,7 +180,10 @@
           {
             label: "社保缴纳总额(万)",
             prop: "sbcount",
-            display: false
+            display: false,
+            formatter: function(row, value) {
+              return (value = value / 10000);
+            }
           },
           {
             label: "公司派遣人数",
@@ -187,9 +191,12 @@
             display: false
           },
           {
-            label: "社保缴纳人数占比(%)",
+            label: "社保缴纳人数占比",
             prop: "zb",
-            display: false
+            display: false,
+            formatter: function(row, value) {
+              return (value = value * 100 + "%");
+            }
           },
           {
             label: "备注",
@@ -351,8 +358,11 @@
       }
       let jurisdiction = object["jurisdiction1"] || "";
       let enterpriseName = object["enterpriseName"] || "";
-      let obj = { jurisdiction: jurisdiction, enterpriseName: enterpriseName };
-      this.onLoad(this.page, obj);
+      this.query = {
+        jurisdiction: jurisdiction,
+        enterpriseName: enterpriseName
+      };
+      this.onLoad(this.page, this.query);
     }
   },
   mounted() {

--
Gitblit v1.9.3