From d356332a2003d00ca803b4e73dc404b9643b60d5 Mon Sep 17 00:00:00 2001
From: liuyg <376836862@qq.com>
Date: Wed, 08 Sep 2021 08:27:53 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.105:10010/r/zhba_regulatory
---
src/views/securityUnitOperation/economicTable.vue | 48 ++++++++++++++++++------------------------------
1 files changed, 18 insertions(+), 30 deletions(-)
diff --git a/src/views/securityUnitOperation/economicTable.vue b/src/views/securityUnitOperation/economicTable.vue
index 9ca75a8..9fdd024 100644
--- a/src/views/securityUnitOperation/economicTable.vue
+++ b/src/views/securityUnitOperation/economicTable.vue
@@ -23,7 +23,7 @@
import XLSX from "xlsx";
import { mapGetters } from "vuex";
import { selectJj } from "../../api/securityUnitOperation/securityUnitOperation";
-import { lazyTreeJu } from "../../api/index/index";
+import { lazyTreeJu,lazyTrees } from "../../api/index/index";
export default {
name: "公司经济情况智能分析详情表",
data() {
@@ -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: "备注",
@@ -222,28 +229,6 @@
}
],
subofficeValue: "0",
- subofficeOptions: [
- {
- value: "0",
- label: "南昌市公安局"
- },
- {
- value: "2",
- label: "东湖分局"
- },
- {
- value: "3",
- label: "西湖分局"
- },
- {
- value: "4",
- label: "青云谱分局"
- },
- {
- value: "5",
- label: "青山湖分局"
- }
- ],
companyName: "",
loading: true
};
@@ -329,7 +314,7 @@
});
},
getSubOfficeData() {
- lazyTreeJu().then(res => {
+ lazyTrees().then(res => {
if (res.data.code === 200) {
this.tableOption.column.forEach(item => {
if (item.label == "所属辖区") {
@@ -351,8 +336,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