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 @@ - + 保密 - - 查 询 - 重 置 + + 查 询 + 重 置 @@ -21,35 +29,13 @@
-
- - - 批量 - - {{ item.label }} - - - - - -
- - - - {{ - item.manageBuildingName + - "栋/" + - item.manageUnitName + - "单元/" + - item.floorLocation + - "层-" + - item.manageEstateName + - "室" - }} - - - - - 编辑 - 迁入 - 迁出 - - - - - {{ tag === 1 ? "业主" : tag === 2 ? "业主亲属" :tag === 3 ? "租户":tag === 4 ? "租户亲属":'-' }} - + + 房屋管理 + 编辑 + 迁入 +
- - + + + +
- - - - - - - {{item.name}} - - - - - {{item.name}} - - - -
+ + + + + + + {{ item.name }} + + + + + {{ item.name }} + + + +
+ + +
+ 房屋信息 + + + + {{ + row.manageBuildingName + + "栋/" + + row.manageUnitName + + "单元/" + + row.floorLocation + + "层-" + + row.name + + "室" + }} + + + + 迁出 + + + +
+ +
\ No newline at end of file +