diff --git a/src/views/Basic/EstateInfo/_houseHoldInfo/depend/config.js b/src/views/Basic/EstateInfo/_houseHoldInfo/depend/config.js
index cd5c628..c9e1e3e 100644
--- a/src/views/Basic/EstateInfo/_houseHoldInfo/depend/config.js
+++ b/src/views/Basic/EstateInfo/_houseHoldInfo/depend/config.js
@@ -6,17 +6,14 @@ export const columns = [
{
title: "住户姓名",
dataIndex: "name",
- width: "8%",
},
{
title: "住户手机号",
dataIndex: "tel",
- width: "10%",
},
{
title: "住户性别",
dataIndex: "sex",
- width: "7%",
customRender:function(sex){
switch (sex) {
case 1:
@@ -33,24 +30,45 @@ export const columns = [
{
title: "住户身份证号",
dataIndex: "idCard",
- width: "14%",
},
+ {
+ title: "操作",
+ dataIndex: "action",
+ key: "action",
+ width: "180",
+ fixed: "right",
+ scopedSlots: { customRender: "action" },
+ },
+]
+export const columns_house = [
{
title: "房屋名称",
dataIndex: "manageBuildingName",
scopedSlots: { customRender: "name" },
- width: "25%",
+ width: "44%",
},
{
title: "房屋类型",
dataIndex: "manageEstateTypeName",
- width: "10%",
+ width: "20%",
},
{
- title: "用户身份",
- key: "tags",
+ title: "住户身份",
dataIndex: "identity",
- scopedSlots: { customRender: "tags" },
+ customRender:function(identity){
+ switch (identity) {
+ case 1:
+ return '业主'
+ case 2:
+ return '业主亲属'
+ case 3:
+ return '租户'
+ case 4:
+ return '租户亲属'
+ default:
+ break;
+ }
+ },width: "20%",
},
{
title: "操作",
diff --git a/src/views/Basic/EstateInfo/_houseHoldInfo/index.vue b/src/views/Basic/EstateInfo/_houseHoldInfo/index.vue
index c535883..f276802 100644
--- a/src/views/Basic/EstateInfo/_houseHoldInfo/index.vue
+++ b/src/views/Basic/EstateInfo/_houseHoldInfo/index.vue
@@ -5,14 +5,22 @@