Merge remote-tracking branch 'origin/dev' into dev

This commit is contained in:
aixianling
2022-02-25 15:59:26 +08:00
5 changed files with 12 additions and 3 deletions

View File

@@ -51,7 +51,7 @@
class="search-input" class="search-input"
size="small" size="small"
@keyup.enter.native="search.current = 1, getList()" @keyup.enter.native="search.current = 1, getList()"
placeholder="请输入名称/电话" placeholder="请输入名称/电话/类型"
clearable clearable
@change="getList" @change="getList"
@clear="search.current = 1, search.name = '', getList()" @clear="search.current = 1, search.name = '', getList()"

View File

@@ -146,6 +146,7 @@
:total="familyPage.total" :total="familyPage.total"
:current.sync="familyPage.current" :current.sync="familyPage.current"
:size.sync="familyPage.size" :size.sync="familyPage.size"
:isShowPagination="false"
@getList="familyMember(rowInfo)"> @getList="familyMember(rowInfo)">
<el-table-column label="与户主关系" slot="householdRelation" align="center" width="120"> <el-table-column label="与户主关系" slot="householdRelation" align="center" width="120">
<template v-slot="{row}"> <template v-slot="{row}">
@@ -216,7 +217,7 @@ export default {
}, },
familyPage: { familyPage: {
current: 1, current: 1,
size: 10, size: 100,
total: 0 total: 0
}, },
exportParams: {}, exportParams: {},

View File

@@ -90,6 +90,9 @@ export default {
break break
case 1: case 1:
this.$refs['applyForm'].onConfirm().then(res => { this.$refs['applyForm'].onConfirm().then(res => {
if (!res.length) {
return this.$message.error('表单配置不能为空')
}
this.tableFieldInfos = res this.tableFieldInfos = res
this.activeStep++ this.activeStep++
}) })

View File

@@ -278,6 +278,10 @@
}) })
} }
if (item.fieldDataType === '5') {
item.defaultValue = []
}
return { return {
...item, ...item,
grid: 1 grid: 1

View File

@@ -149,7 +149,8 @@
this.instance.post(`/app/appresident/list`, null, { this.instance.post(`/app/appresident/list`, null, {
params: { params: {
...this.search, ...this.search,
areaId: this.areaId areaId: this.areaId,
source: 1
} }
}).then(res => { }).then(res => {
if (res.code == 0) { if (res.code == 0) {