From 8cbb44a2182a992faeeb0c1fa08e64fb104ae75c Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Tue, 30 Nov 2021 14:30:18 +0800
Subject: [PATCH] 武装修改
---
src/views/securityUnitOperation/economicTable.vue | 49 +++++++++++++++++++------------------------------
1 files changed, 19 insertions(+), 30 deletions(-)
diff --git a/src/views/securityUnitOperation/economicTable.vue b/src/views/securityUnitOperation/economicTable.vue
index 9ca75a8..89a10c9 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: [
@@ -84,6 +84,7 @@
searchShow: true,
searchMenuSpan: 6,
index: true,
+ indexLabel:'序号',
viewBtn: true,
dialogClickModal: false,
column: [
@@ -137,6 +138,7 @@
prop: "enterpriseName",
search: true,
searchSpan: 4,
+ width:300,
display: false
},
{
@@ -179,7 +181,10 @@
{
label: "社保缴纳总额(万)",
prop: "sbcount",
- display: false
+ display: false,
+ formatter: function(row, value) {
+ return (value = value / 10000);
+ }
},
{
label: "公司派遣人数",
@@ -187,9 +192,12 @@
display: false
},
{
- label: "社保缴纳人数占比(%)",
+ label: "社保缴纳人数占比",
prop: "zb",
- display: false
+ display: false,
+ formatter: function(row, value) {
+ return (value = value * 100 + "%");
+ }
},
{
label: "备注",
@@ -222,28 +230,6 @@
}
],
subofficeValue: "0",
- subofficeOptions: [
- {
- value: "0",
- label: "南昌市公安局"
- },
- {
- value: "2",
- label: "东湖分局"
- },
- {
- value: "3",
- label: "西湖分局"
- },
- {
- value: "4",
- label: "青云谱分局"
- },
- {
- value: "5",
- label: "青山湖分局"
- }
- ],
companyName: "",
loading: true
};
@@ -329,7 +315,7 @@
});
},
getSubOfficeData() {
- lazyTreeJu().then(res => {
+ lazyTrees().then(res => {
if (res.data.code === 200) {
this.tableOption.column.forEach(item => {
if (item.label == "所属辖区") {
@@ -351,8 +337,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