积分维护
This commit is contained in:
@@ -34,19 +34,12 @@
|
||||
@getList="getTableData" :col-configs="colConfigs" :dict="dict">
|
||||
<el-table-column slot="options" label="操作" fixed="right" align="center">
|
||||
<template slot-scope="{row}">
|
||||
<!-- <el-button type="text" @click="getFamilyByPartyId(row.idNumber)">家庭成员</el-button> -->
|
||||
<el-button type="text" @click="showDetail(row.id)">详情</el-button>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</ai-table>
|
||||
</template>
|
||||
</ai-list>
|
||||
<!-- <ai-dialog :visible.sync="dialog" title="家庭成员" :customFooter="true" width="780px" @close="familyList=[]">
|
||||
<ai-table :tableData="familyList" :isShowPagination="false" :col-configs="familyCols" :dict="dict"/>
|
||||
<div class="dialog-footer" slot="footer">
|
||||
<el-button @click="dialog=false">关 闭</el-button>
|
||||
</div>
|
||||
</ai-dialog> -->
|
||||
</section>
|
||||
</template>
|
||||
|
||||
@@ -70,18 +63,6 @@ export default {
|
||||
{slot: "options"}
|
||||
]
|
||||
},
|
||||
familyCols() {
|
||||
return [
|
||||
{
|
||||
label: '与户主关系', prop: 'householdRelation', align: 'center', width: 165,
|
||||
render: (h, {row}) => h('p', this.dict.getLabel('householdRelation', row.householdRelation || "户主"))
|
||||
},
|
||||
{label: '类型', prop: 'residentType', align: 'center', dict: "residentType"},
|
||||
{label: '姓名', prop: 'name', align: 'center'},
|
||||
{label: '身份证号', render: (h, {row}) => h('p', this.idCardNoUtil.hideId(row.idNumber)), width: 165},
|
||||
{label: '联系电话', prop: 'phone', align: 'center', width: 120}
|
||||
]
|
||||
}
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
@@ -90,8 +71,6 @@ export default {
|
||||
},
|
||||
page: {current: 1, size: 10, total: 0},
|
||||
tableData: [],
|
||||
dialog: false,
|
||||
familyList: [],
|
||||
organizationName: '',
|
||||
organizationTree: [],
|
||||
defaultExpanded: [],
|
||||
@@ -148,16 +127,6 @@ export default {
|
||||
showDetail(id) {
|
||||
this.$router.push({query: {id}})
|
||||
},
|
||||
getFamilyByPartyId(idNumber) {
|
||||
this.instance.post("/app/appresident/queryHomeMember", null, {
|
||||
params: {idNumber}
|
||||
}).then(res => {
|
||||
if (res?.data) {
|
||||
this.familyList = res.data?.family || []
|
||||
this.dialog = true
|
||||
}
|
||||
})
|
||||
}
|
||||
},
|
||||
created() {
|
||||
this.getTableData()
|
||||
|
||||
Reference in New Issue
Block a user