From dc252ad2bd275f697c266e3c8b10cb7d540fdcaa Mon Sep 17 00:00:00 2001
From: liuyg <liuyg@qq.com>
Date: Wed, 16 Feb 2022 17:08:11 +0800
Subject: [PATCH] 44个表格在1366*768下的适配,保安员管理-》保安员查询中操作栏更改,在用户表左侧控制栏同步高
---
src/views/securityCompany/column.js | 319 ++++++++++++++++++++++++++--------------------------
1 files changed, 158 insertions(+), 161 deletions(-)
diff --git a/src/views/securityCompany/column.js b/src/views/securityCompany/column.js
index 3fdaa01..2d61872 100644
--- a/src/views/securityCompany/column.js
+++ b/src/views/securityCompany/column.js
@@ -1,170 +1,167 @@
-export var companyColimn = [
- {
- label: "统一社会信用代码",
- prop: "creditcode",
- width: 140,
- hide: true,
+export var companyColimn = [{
+ label: "统一社会信用代码",
+ prop: "creditcode",
+ width: 140,
+ hide: true,
- labelWidth: 160,
- // hide: true,
- // editDisplay: false,
- // addDisplay: false
- },
+ labelWidth: 160,
+ // hide: true,
+ // editDisplay: false,
+ // addDisplay: false
+ },
- {
- label: "企业名称",
- prop: "enterprisename",
- search: true,
- width: 260,
- searchSpan: 4,
- labelWidth: 160,
- // width: 130,
- overHidden: true
- },
+ {
+ label: "企业名称",
+ prop: "enterprisename",
+ search: true,
+ minWidth: 150,
+ searchSpan: 4,
+ labelWidth: 160,
+ // width: 130,
+ overHidden: true
+ },
- {
- label: "企业类型",
- prop: "stats",
- type: "tree",
- hide: true,
- labelWidth: 160,
- dicUrl: "/api/blade-system/dict-biz/dictionary?code=stats",
- props: {
- label: "dictValue",
- value: "dictKey"
- },
- width: 130,
- rules: [
- {
- required: true,
- message: "请选择企业类型",
- trigger: "click",
- },
- ],
+ {
+ label: "企业类型",
+ prop: "stats",
+ type: "tree",
+ hide: true,
+ labelWidth: 160,
+ dicUrl: "/api/blade-system/dict-biz/dictionary?code=stats",
+ props: {
+ label: "dictValue",
+ value: "dictKey"
},
- {
- label: "法定代表人",
- labelWidth: 160,
- prop: "representative",
- width: 110,
- search: true,
- searchSpan: 4,
- searchLabelWidth: 100
- },
- {
- label: "法定代表人电话",
- labelWidth: 160,
- prop: "representativecell",
- width: 120,
- // search: true,
- searchSpan: 4,
- searchLabelWidth: 100
- },
+ width: 130,
+ rules: [{
+ required: true,
+ message: "请选择企业类型",
+ trigger: "click",
+ }, ],
+ },
+ {
+ label: "法定代表人",
+ labelWidth: 160,
+ prop: "representative",
+ minWidth: 65,
+ search: true,
+ searchSpan: 4,
+ searchLabelWidth: 100
+ },
+ {
+ label: "法定代表人电话",
+ labelWidth: 160,
+ prop: "representativecell",
+ width: 120,
+ // search: true,
+ searchSpan: 4,
+ searchLabelWidth: 100
+ },
- {
- label: "保安人数",
- labelWidth: 160,
- prop: "znum",
- width: 73,
- // search: true,
- searchSpan: 4,
- searchLabelWidth: 100
- },
- {
- label: "派遣人数",
- labelWidth: 160,
- prop: "pnum",
- width: 73,
- // search: true,
- searchSpan: 4,
- searchLabelWidth: 100
- },
- {
- label: "持证人数",
- labelWidth: 160,
- prop: "cnum",
- width: 73,
- // search: true,
- searchSpan: 4,
- searchLabelWidth: 100
- },
- {
- label: "注册时间",
- prop: "establishtime",
- labelWidth: 160,
- width: 130,
- overHidden: true,
- type: "date",
- format: "yyyy-MM-dd",
- valueFormat: "timestamp",
+ {
+ label: "保安人数",
+ labelWidth: 160,
+ prop: "znum",
+ width: 73,
+ // search: true,
+ searchSpan: 4,
+ searchLabelWidth: 100
+ },
+ {
+ label: "派遣人数",
+ labelWidth: 160,
+ prop: "pnum",
+ width: 73,
+ // search: true,
+ searchSpan: 4,
+ searchLabelWidth: 100
+ },
+ {
+ label: "持证人数",
+ labelWidth: 160,
+ prop: "cnum",
+ width: 73,
+ // search: true,
+ searchSpan: 4,
+ searchLabelWidth: 100
+ },
+ {
+ label: "注册时间",
+ prop: "establishtime",
+ labelWidth: 160,
+ width: 90,
+ overHidden: true,
+ type: "date",
+ format: "yyyy-MM-dd",
+ valueFormat: "timestamp",
- },
- {
- label: "注册资本",
- prop: "registeredcapital",
- hide: true,
- labelWidth: 160,
- // search: true,
- width: 80,
- },
- {
- label: "联系人",
- prop: "contacts",
- labelWidth: 160,
- width: 85,
- }, {
- label: "联系电话",
- prop: "contactscell",
- labelWidth: 160,
- width: 95,
- },
+ },
+ {
+ label: "注册资本",
+ prop: "registeredcapital",
+ hide: true,
+ labelWidth: 160,
+ // search: true,
+ width: 80,
+ },
+ {
+ label: "联系人",
+ prop: "contacts",
+ labelWidth: 160,
+ width: 75,
+ }, {
+ label: "联系电话",
+ prop: "contactscell",
+ labelWidth: 160,
+ width: 110,
+ },
- {
- label: "注册地址",
- prop: "address",
- labelWidth: 160,
- // search: true,
- hide: true,
+ {
+ label: "注册地址",
+ prop: "address",
+ labelWidth: 160,
+ // search: true,
+ hide: true,
+ },
+ {
+ label: "经营范围",
+ prop: "business",
+ // search: true,
+ labelWidth: 160,
+ hide: true,
+ // width: 110,
+ overHidden: true
+ },
+ {
+ label: "所属辖区",
+ prop: "jurisdiction",
+ labelWidth: 160,
+ // width: 110,
+ type: "tree",
+ dicUrl: "/api/jurisdiction/lazy-tree",
+ props: {
+ label: "title",
+ value: "id",
},
- {
- label: "经营范围",
- prop: "business",
- // search: true,
- labelWidth: 160,
- hide: true,
- // width: 110,
- overHidden: true
- },
- {
- label: "所属辖区",
- prop: "jurisdiction",
- labelWidth: 160,
- // width: 110,
- type: "tree",
- dicUrl: "/api/jurisdiction/lazy-tree",
- props: {
- label: "title",
- value: "id",
- },
- // search: true,
- overHidden: true
- },
- {
- label: "登记机关",
- prop: "registration",
- // search: true,
- labelWidth: 160,
- // width: 88,
- overHidden: true,
- hide: true,
- },
+ // search: true,
+ overHidden: true
+ },
+ {
+ label: "登记机关",
+ prop: "registration",
+ // search: true,
+ labelWidth: 160,
+ // width: 88,
+ overHidden: true,
+ hide: true,
+ },
- {
- label: "所属行业",
- prop: "industry",
- labelWidth: 160,
- hide: true,
- // search: true,
- // width: 88,
- },
-]
\ No newline at end of file
+ {
+ label: "所属行业",
+ prop: "industry",
+ labelWidth: 160,
+ hide: true,
+ // search: true,
+ // width: 88,
+ },
+]
--
Gitblit v1.9.3