From 249129ba5080a9e0713dd7cbb205ef9e7e19e474 Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Fri, 29 Dec 2023 18:45:00 +0800
Subject: [PATCH] 字段显示调整
---
src/views/userHouse/houseHoldList.vue | 110 ++++++++++++++++++++++++++++++++++++++++++++----------
1 files changed, 89 insertions(+), 21 deletions(-)
diff --git a/src/views/userHouse/houseHoldList.vue b/src/views/userHouse/houseHoldList.vue
index b955d31..887d686 100644
--- a/src/views/userHouse/houseHoldList.vue
+++ b/src/views/userHouse/houseHoldList.vue
@@ -166,6 +166,7 @@
total: 0
},
option: {
+ labelWidth: 144,
height: 'auto',
calcHeight: 80,
tip: false,
@@ -185,14 +186,12 @@
width: 96,
label: "姓名",
prop: "name",
- labelWidth: 120,
search: true,
searchSpan: 3,
},
{
width: 110,
label: "电话",
- labelWidth: 120,
prop: "phoneNumber",
search: true,
searchSpan: 3,
@@ -203,15 +202,29 @@
label: "身份证号",
prop: "idCard",
search: true,
- labelWidth: 120,
searchSpan: 4,
slot: true,
+ },
+ {
+ label: "证件类型",
+ prop: "cardType",
+ type: "select",
+ dicUrl: "/api/blade-system/dict-biz/dictionary?code=cardType",
+ dataType: "number",
+ props: {
+ label: "dictValue",
+ value: "dictKey",
+ },
+ },
+ {
+ width: 160,
+ label: "证件号码",
+ prop: "cardNo",
},
{
label: "性别",
prop: "gender",
type: "select",
- labelWidth: 120,
dicData: [{
label: "男",
value: 1
@@ -231,7 +244,6 @@
prop: "roleType",
type: "select",
dicUrl: "/api/blade-system/dict-biz/dictionary?code=roleType",
- labelWidth: 120,
dataType: "number",
props: {
label: "dictValue",
@@ -244,7 +256,6 @@
type: "select",
dicUrl: "/api/blade-system/dict-biz/dictionary?code=roleRelation",
dataType: "number",
- labelWidth: 120,
hide: true,
props: {
label: "dictValue",
@@ -309,7 +320,6 @@
dicUrl: "/api/blade-system/dict-biz/dictionary?code=primaryContactType",
dataType: "number",
hide: true,
- labelWidth: 120,
props: {
label: "dictValue",
value: "dictKey",
@@ -320,7 +330,6 @@
prop: "residentialStatus",
type: "select",
hide: true,
- labelWidth: 120,
dicUrl: "/api/blade-system/dict-biz/dictionary?code=residentialStatusType",
dataType: "number",
props: {
@@ -332,7 +341,6 @@
label: "生日",
prop: "birthday",
type: "date",
- labelWidth: 120,
format: "yyyy-MM-dd",
valueFormat: "yyyy-MM-dd",
hide: true,
@@ -340,13 +348,11 @@
{
label: "港澳台通行证",
prop: "hkmtPass",
- labelWidth: 120,
hide: true,
},
{
label: "护照",
prop: "passport",
- labelWidth: 120,
hide: true,
},
{
@@ -354,7 +360,6 @@
prop: "ethnicity",
type: "select",
hide: true,
- labelWidth: 120,
dicUrl: "/api/blade-system/dict-biz/dictionary?code=nationType",
dataType: "number",
props: {
@@ -367,7 +372,6 @@
prop: "education",
type: "select",
hide: true,
- labelWidth: 120,
dicUrl: "/api/blade-system/dict-biz/dictionary?code=educationType",
dataType: "number",
props: {
@@ -378,14 +382,12 @@
{
label: "户籍登记地",
prop: "hukouRegistration",
- labelWidth: 120,
hide: true,
},
{
label: "工作状态",
prop: "workStatus",
type: "select",
- labelWidth: 120,
hide: true,
dicUrl: "/api/blade-system/dict-biz/dictionary?code=workStatusType",
dataType: "number",
@@ -397,14 +399,12 @@
{
label: "工作单位",
prop: "employer",
- labelWidth: 120,
hide: true,
},
{
label: "婚姻状态",
prop: "maritalStatus",
type: "select",
- labelWidth: 120,
hide: true,
dicUrl: "/api/blade-system/dict-biz/dictionary?code=marriageStatusType",
dataType: "number",
@@ -416,27 +416,95 @@
{
label: "车牌号",
prop: "cardNumber",
- labelWidth: 120,
hide: true,
},
{
label: "其他联系方式",
prop: "otherContact",
- labelWidth: 120,
hide: true,
},
{
label: "现居住地址",
prop: "currentAddress",
- labelWidth: 120,
hide: true,
},
{
label: "残疾证",
prop: "disabilityCert",
- labelWidth: 120,
hide: true,
},
+ {
+ width: 160,
+ label: "宗教信仰",
+ prop: "religiousBelief",
+ },
+ {
+ label: "健康状况",
+ prop: "healthStatus",
+ type: "select",
+ dicUrl: "/api/blade-system/dict-biz/dictionary?code=healthStatus",
+ dataType: "number",
+ props: {
+ label: "dictValue",
+ value: "dictKey",
+ },
+ },
+ {
+ width: 160,
+ label: "疾病名称",
+ prop: "diseaseName"
+ },
+ {
+ label: "户籍类型",
+ prop: "residentType",
+ type: "select",
+ dicUrl: "/api/blade-system/dict-biz/dictionary?code=residentType",
+ dataType: "number",
+ props: {
+ label: "dictValue",
+ value: "dictKey",
+ },
+ },
+ {
+ width: 160,
+ label: "户籍地行政区划",
+ prop: "residentAdcode"
+ },
+ {
+ width: 160,
+ label: "籍贯地行政区划",
+ prop: "nativePlaceAdcode"
+ },
+ {
+ width: 160,
+ label: "外出详址",
+ prop: "goOutAddr"
+ },
+ {
+ width: 160,
+ label: "外出去向",
+ prop: "goOutWhere"
+ },
+ {
+ width: 160,
+ label: "外出时间",
+ prop: "goOutTime"
+ },
+ {
+ width: 160,
+ label: "外出原因",
+ prop: "goOutReason"
+ },
+ {
+ width: 160,
+ label: "职业类别",
+ prop: "occupation"
+ },
+ {
+ width: 160,
+ label: "就职单位地址",
+ prop: "cmpyRegAddr"
+ },
]
},
data: [],
--
Gitblit v1.9.3