From 7a525c53048e5508b44f468a7c738acff9f9790d Mon Sep 17 00:00:00 2001
From: Administrator <admin>
Date: Mon, 20 Dec 2021 11:56:20 +0800
Subject: [PATCH] 保安员管理新增排序
---
src/views/securityGuard/data.js | 56 ++++++++++++++++++++++++++++++++------------------------
1 files changed, 32 insertions(+), 24 deletions(-)
diff --git a/src/views/securityGuard/data.js b/src/views/securityGuard/data.js
index 9557d2a..dbfc255 100644
--- a/src/views/securityGuard/data.js
+++ b/src/views/securityGuard/data.js
@@ -509,7 +509,8 @@
{
label: "性别",
prop: "sexs",
- width: 80,
+ sortable: true,
+ width: 70,
type: "select",
dicData: [{
label: "男",
@@ -532,7 +533,7 @@
search: true,
searchLabelWidth: 90,
searchSpan: 5,
- minWidth: 150,
+ width: 140,
display: false
},
{
@@ -540,6 +541,8 @@
prop: "avatar",
type: "upload",
listType: "picture-img",
+ width: 60,
+ display: false
},
{
label: "籍贯",
@@ -554,7 +557,6 @@
width: 55,
display: false
},
-
{
label: "出生日期",
prop: "birthday",
@@ -568,31 +570,31 @@
label: "年龄",
prop: "age",
width: 55,
- sortable: true,
+
display: false
},
- {
- label: "学历",
- prop: "education",
- display: false,
- width: 90,
- dicUrl: "/api/blade-system/dict-biz/dictionary?code=educationType",
- props: {
- label: "dictValue",
- value: "dictKey"
- },
- type: "select",
- // hide: true,
- rules: [{
- required: true,
- message: "请选择学历",
- trigger: "blur"
- }],
- },
+ // {
+ // label: "学历",
+ // prop: "education",
+ // display: false,
+ // width: 90,
+ // dicUrl: "/api/blade-system/dict-biz/dictionary?code=educationType",
+ // props: {
+ // label: "dictValue",
+ // value: "dictKey"
+ // },
+ // type: "select",
+ // // hide: true,
+ // rules: [{
+ // required: true,
+ // message: "请选择学历",
+ // trigger: "blur"
+ // }],
+ // },
{
label: "联系电话",
prop: "phone",
- minWidth: 100,
+ minWidth: 70,
display: false
},
{
@@ -606,7 +608,8 @@
prop: "securitynumber",
search: true,
searchLabelWidth: 90,
- minWidth: 115,
+ sortable: true,
+ width: 110,
searchSpan: 5,
addDisplay: false,
editDisplay: false,
@@ -622,8 +625,10 @@
label: '是否派遣',
prop: 'dispatch',
type: 'select',
+ sortable: true,
editDisplay: false,
search: true,
+ width: 80,
searchSpan: 3,
addDisplay: false,
dicData: [{
@@ -644,6 +649,7 @@
label: "是否持证",
prop: "hold",
slot: true,
+ sortable: true,
search: true,
searchSpan: 3,
width: 69,
@@ -673,6 +679,7 @@
label: "是否制证",
prop: "userType",
type: "select",
+ sortable: true,
slot: true,
search: true,
// searchValue: 7,
@@ -787,6 +794,7 @@
label: "审查状态",
prop: "examinationType",
type: "select",
+ sortable: true,
display: false,
searchSpan: 3,
search: false,
--
Gitblit v1.9.3