Browse Source

居民信息调整

feature
jiangyuying 2 years ago
parent
commit
bee9c390df
  1. 26
      src/js/columns/constants/index.js
  2. 499
      src/views/components/resiForm.vue
  3. 2
      src/views/components/resiSearch.vue
  4. 19
      src/views/modules/base/resi.vue
  5. 3
      src/views/modules/base/residentManagement/louzhang/louzhangList.vue

26
src/js/columns/constants/index.js

@ -59,3 +59,29 @@ export const dormitoryTypeList = [
value: '0' value: '0'
} }
] ]
export const idTypeList = [
{
label: '其他',
value: 0
},
{
label: '身份证',
value: 1
},
{
label: '护照',
value: 2
},
{
label: '港澳通行证',
value: 3
},
{
label: '军人证',
value: 4
},
{
label: '台胞证',
value: 5
}
]

499
src/views/components/resiForm.vue

@ -119,8 +119,7 @@
:placeholder="`请选择${item.label}`" :placeholder="`请选择${item.label}`"
size="small" size="small"
clearable clearable
class="u-item-width-normal" class="u-item-width-normal">
@change="handelminzu">
<el-option v-for="items in item.opction " <el-option v-for="items in item.opction "
:key="items.value" :key="items.value"
:label="items.label" :label="items.label"
@ -177,6 +176,116 @@
<section v-if="item.groupId == itemj.id" <section v-if="item.groupId == itemj.id"
class="f-flex" class="f-flex"
style="flex-wrap: wrap;"> style="flex-wrap: wrap;">
<template v-if="itemj.id==='specialSupportDto'">
<el-form-item label-width="105px"
label="银行卡号">
<el-input :placeholder="`请输入银行卡号`"
class="u-item-width-normal"
size="small"
v-model.trim="form[itemj.id].bankAccount"
clearable>
</el-input>
</el-form-item>
<el-form-item label-width="105px"
label="特扶类别">
<el-select v-model="form[itemj.id].specialSupportType"
:placeholder="`请选择特扶类别`"
size="small"
clearable
class="u-item-width-normal">
<el-option v-for="items in itemj.children[1].opction"
:key="items.value"
:label="items.label"
:value="items.value">
</el-option>
</el-select>
</el-form-item>
<el-form-item v-if="form[itemj.id].specialSupportType==='2'"
label-width="105px"
label="子女姓名">
<el-input :placeholder="`请输入子女姓名`"
class="u-item-width-normal"
size="small"
v-model.trim="form[itemj.id].childName"
clearable>
</el-input>
</el-form-item>
<el-form-item label-width="105px"
label="子女性别">
<el-select v-model="form[itemj.id].childGender"
:placeholder="`请选择子女性别`"
size="small"
clearable
class="u-item-width-normal">
<el-option v-for="items in itemj.children[3].opction"
:key="items.value"
:label="items.label"
:value="items.value">
</el-option>
</el-select>
</el-form-item>
<el-form-item v-if="form[itemj.id].specialSupportType==='1'"
label-width="105px"
label="子女死亡日期">
<el-date-picker v-model.trim="form[itemj.id].childDeathDate"
class="u-item-width-normal"
type="date"
size="small"
clearable
placeholder="选择日期"
format="yyyy 年 MM 月 dd 日"
value-format="yyyy-MM-dd">
</el-date-picker>
</el-form-item>
<el-form-item v-if="form[itemj.id].specialSupportType==='2'"
label-width="105px"
label="伤残类别">
<el-select v-model="form[itemj.id].childDisabilityCategoryCode"
:placeholder="`请选择伤残类别`"
size="small"
clearable
class="u-item-width-normal">
<el-option v-for="items in itemj.children[5].opction"
:key="items.value"
:label="items.label"
:value="items.value">
</el-option>
</el-select>
</el-form-item>
<el-form-item v-if="form[itemj.id].specialSupportType==='2'"
label-width="105px"
label="伤残等级">
<el-select v-model="form[itemj.id].childDisabilityLevel"
:placeholder="`请选择伤残等级`"
size="small"
clearable
class="u-item-width-normal">
<el-option v-for="items in itemj.children[6].opction"
:key="items.value"
:label="items.label"
:value="items.value">
</el-option>
</el-select>
</el-form-item>
<el-form-item label-width="105px"
label="备注"
class="textareaDidth">
<el-input type="textarea"
:placeholder="`请输入备注`"
class="item-width-textarea"
maxlength="120"
size="small"
show-word-limit
resize="none"
rows="3"
v-model.trim="form[itemj.id].remark">
</el-input>
</el-form-item>
</template>
<template v-else>
<el-form-item v-for="(itemk,index) in itemj.children" <el-form-item v-for="(itemk,index) in itemj.children"
:key="index" :key="index"
label-width="105px" label-width="105px"
@ -193,7 +302,7 @@
</el-radio> </el-radio>
</section> </section>
</template> </template>
<template v-else-if="itemk.itemType=='select1'"> <template v-else-if="itemk.itemType=='select1' &&itemk.showFlag!=='0' ">
<el-select v-model="form[itemj.id][itemk.formName]" <el-select v-model="form[itemj.id][itemk.formName]"
:placeholder="`请选择${itemk.label}`" :placeholder="`请选择${itemk.label}`"
size="small" size="small"
@ -214,6 +323,7 @@
:placeholder="`请输入${itemk.label}`" :placeholder="`请输入${itemk.label}`"
class="item-width-textarea" class="item-width-textarea"
maxlength="120" maxlength="120"
size="small"
show-word-limit show-word-limit
resize="none" resize="none"
rows="3" rows="3"
@ -223,6 +333,7 @@
<template v-else-if="itemk.itemType=='input1'"> <template v-else-if="itemk.itemType=='input1'">
<el-input :placeholder="`请输入${itemk.label}`" <el-input :placeholder="`请输入${itemk.label}`"
class="u-item-width-normal" class="u-item-width-normal"
size="small"
:style="{'margin-right':itemk.label == '备注'?'50px':''}" :style="{'margin-right':itemk.label == '备注'?'50px':''}"
v-model.trim="form[itemj.id][itemk.formName]" v-model.trim="form[itemj.id][itemk.formName]"
clearable> clearable>
@ -230,6 +341,7 @@
</template> </template>
<template v-else-if="itemk.itemType=='inputNum'"> <template v-else-if="itemk.itemType=='inputNum'">
<el-input :placeholder="`请输入${itemk.label}`" <el-input :placeholder="`请输入${itemk.label}`"
size="small"
class="u-item-width-normal-text" class="u-item-width-normal-text"
:style="{'margin-right':itemk.label == '备注'?'50px':''}" :style="{'margin-right':itemk.label == '备注'?'50px':''}"
v-model.trim="form[itemj.id][itemk.formName]" v-model.trim="form[itemj.id][itemk.formName]"
@ -247,7 +359,7 @@
:value="items.value">{{items.label}}</el-checkbox> :value="items.value">{{items.label}}</el-checkbox>
</el-checkbox-group> </el-checkbox-group>
</template> </template>
<template v-else-if="itemk.itemType == 'datepicker1'"> <template v-else-if="itemk.itemType == 'datepicker1' &&itemk.showFlag!=='0'">
<el-date-picker v-model.trim="form[itemj.id][itemk.formName]" <el-date-picker v-model.trim="form[itemj.id][itemk.formName]"
class="u-item-width-normal" class="u-item-width-normal"
type="date" type="date"
@ -261,6 +373,7 @@
<template v-else-if="itemk.itemType == 'cascader1'"> <template v-else-if="itemk.itemType == 'cascader1'">
<el-cascader :props="{ emitPath: false }" <el-cascader :props="{ emitPath: false }"
:options="itemk.opction" :options="itemk.opction"
class="u-item-width-normal"
clearable clearable
size="small" size="small"
:label="itemk.opction.label" :label="itemk.opction.label"
@ -268,11 +381,14 @@
</template> </template>
<template v-else-if="itemk.itemType == 'number'"> <template v-else-if="itemk.itemType == 'number'">
<el-input-number class="u-item-width-normal" <el-input-number class="u-item-width-normal"
size="small"
:min="1" :min="1"
:max="10" :max="10"
v-model.trim="form[itemj.id][itemk.formName]"></el-input-number> v-model.trim="form[itemj.id][itemk.formName]"></el-input-number>
</template> </template>
</el-form-item> </el-form-item>
</template>
</section> </section>
</template> </template>
</el-tab-pane> </el-tab-pane>
@ -284,6 +400,7 @@
<script> <script>
import { isCard, isPassport, isMobile, isPhone } from '@/utils/validate' import { isCard, isPassport, isMobile, isPhone } from '@/utils/validate'
import { computedCard } from '@/utils/index' import { computedCard } from '@/utils/index'
import { idTypeList } from "@/js/columns/constants";
export default { export default {
name: 'resiForm', name: 'resiForm',
@ -330,6 +447,19 @@ export default {
// rules:[{required:true,message:'',trigger:'change' | blur },], // rules:[{required:true,message:'',trigger:'change' | blur },],
opction: [], opction: [],
}, },
{
label: '国籍',
itemType: "select",
formName: 'nationality',
opction: [],
},
{
label: '证件类型',
itemType: "select",
formName: 'idType',
rules: [{ required: true, message: '证件类型不能为空' }],
opction: idTypeList,
},
{ {
label: "证件号", label: "证件号",
itemType: "input", itemType: "input",
@ -338,7 +468,7 @@ export default {
{ {
validator: (rule, value, callback) => { validator: (rule, value, callback) => {
if (!/^[1-9]\d{5}(?:18|19|20)\d{2}(?:0[1-9]|10|11|12)(?:0[1-9]|[1-2]\d|30|31)\d{3}[\dXx]$/.test(value)) { if (!/^[1-9]\d{5}(?:18|19|20)\d{2}(?:0[1-9]|10|11|12)(?:0[1-9]|[1-2]\d|30|31)\d{3}[\dXx]$/.test(value)) {
// console.log(/^[a-zA-Z]\w{5,17}$/.test(value));
return callback(new Error('证件格式不符合')); return callback(new Error('证件格式不符合'));
} }
callback() callback()
@ -368,6 +498,7 @@ export default {
itemType: "datepicker", itemType: "datepicker",
formName: 'birthday' formName: 'birthday'
}, },
{ {
label: '备注', label: '备注',
itemType: "textarea", itemType: "textarea",
@ -386,7 +517,7 @@ export default {
{ label: '统战人员', value: '0', formName: "unitedFrontFlag" }, { label: '统战人员', value: '0', formName: "unitedFrontFlag" },
{ label: '信访人员', value: '0', formName: "petitionOfficerFlag" }, { label: '信访人员', value: '0', formName: "petitionOfficerFlag" },
{ label: '志愿者', value: '0', formName: "volunteerFlag" }, { label: '志愿者', value: '0', formName: "volunteerFlag" },
{ label: '特扶人员', value: '0', formName: "bereavedPersonFlag" }, { label: '特扶人员', value: '0', formName: "specialSupportFlag" },
{ label: '租户', value: '0', formName: "tenantFlag" }, { label: '租户', value: '0', formName: "tenantFlag" },
{ label: '流动人口', value: '0', formName: "floatingFlag" }, { label: '流动人口', value: '0', formName: "floatingFlag" },
{ label: '特殊人群', value: '0', formName: "specialCrowdFlag" }, { label: '特殊人群', value: '0', formName: "specialCrowdFlag" },
@ -399,6 +530,7 @@ export default {
{ label: '大病', value: '0', formName: "seriousIllnessFlag" }, { label: '大病', value: '0', formName: "seriousIllnessFlag" },
{ label: '慢病', value: '0', formName: "chronicDiseaseFlag" }, { label: '慢病', value: '0', formName: "chronicDiseaseFlag" },
{ label: '公益岗人员', value: '0', formName: "publicWelfareFlag" } { label: '公益岗人员', value: '0', formName: "publicWelfareFlag" }
] ]
} }
], ],
@ -427,9 +559,7 @@ export default {
label: "兴趣特长", label: "兴趣特长",
itemType: "checkbox", itemType: "checkbox",
formName: "hobbyCode", formName: "hobbyCode",
opction: [ opction: []
]
}, },
{ {
label: '兴趣', label: '兴趣',
@ -633,6 +763,12 @@ export default {
formName: "monthIncome", formName: "monthIncome",
opction: [] opction: []
}, },
{
label: "银行账号",
itemType: "input1",
formName: "bankAccount",
opction: []
},
] ]
}, },
{ {
@ -763,9 +899,7 @@ export default {
label: "流动党员活动证号", label: "流动党员活动证号",
itemType: "input1", itemType: "input1",
formName: "flowActNum", formName: "flowActNum",
opction: [ opction: []
]
}, },
{ {
label: "职务", label: "职务",
@ -774,6 +908,12 @@ export default {
opction: [ opction: [
] ]
}, },
{
label: "工作职责",
itemType: "input1",
formName: "duty",
opction: []
},
{ {
label: "是否退休", label: "是否退休",
itemType: "radio1", itemType: "radio1",
@ -790,6 +930,14 @@ export default {
{ label: '是', value: 1 }, { label: '是', value: 1 },
{ label: '否', value: 0 }, { label: '否', value: 0 },
] ]
}, {
label: "免学习",
itemType: "radio1",
formName: "studyNotNeed",
opction: [
{ label: '是', value: 1 },
{ label: '否', value: 0 },
]
}, { }, {
label: "入党时所在党支部 ", label: "入党时所在党支部 ",
itemType: "input1", itemType: "input1",
@ -816,7 +964,6 @@ export default {
}, { }, {
id: 'ensureHouseDto', id: 'ensureHouseDto',
children: [ children: [
{ {
label: "住房性质", label: "住房性质",
itemType: "select1", itemType: "select1",
@ -834,16 +981,13 @@ export default {
label: "发证日期", label: "发证日期",
itemType: "datepicker1", itemType: "datepicker1",
formName: "certificateDate", formName: "certificateDate",
opction: [ opction: []
]
}, },
{ {
label: "补贴编号", label: "补贴编号",
itemType: "input1", itemType: "input1",
formName: "subsidyNum", formName: "subsidyNum",
opction: [ opction: []
]
}, },
{ {
label: "补贴金额 ", label: "补贴金额 ",
@ -851,7 +995,25 @@ export default {
formName: "subsidyAmount", formName: "subsidyAmount",
opction: [ opction: [
] ]
} },
{
label: "房东姓名",
itemType: "input1",
formName: "landlordName",
opction: []
},
{
label: "房东证件号",
itemType: "input1",
formName: "landlordIdNum",
opction: []
},
{
label: "通知书领取日期",
itemType: "datepicker1",
formName: "notificationRcvDate",
opction: []
},
] ]
}, { }, {
id: 'unemployedDto', id: 'unemployedDto',
@ -1075,6 +1237,100 @@ export default {
}, },
] ]
}, },
{
id: 'tenantDto',
children: [
{
label: "合同开始时间",
itemType: "datepicker1",
formName: "contractStartDate",
opction: []
},
{
label: "合同结束时间",
itemType: "datepicker1",
formName: "contractEndDate",
opction: []
},
]
},
{
id: 'specialSupportDto',
children: [
{//0
label: "银行卡号",
itemType: "input1",
formName: "bankAccount",
opction: [
]
},
{//1
label: "特扶类别",
itemType: "select2",
formName: "specialSupportType",
opction: [
{
value: '1',
label: '失独'
},
{
value: '2',
label: '伤残'
}
]
},
{//2
label: "子女姓名",
itemType: "input1",
formName: "childName",
opction: [
]
},
{//3
label: "子女性别",
itemType: "input1",
formName: "childGender",
opction: [
{
value: '1',
label: '男'
},
{
value: '2',
label: '女'
}
]
},
{//4
label: "子女死亡日期",
itemType: "datepicker1",
formName: "certificateDate",
opction: [],
showFlag: '0'//
},
{//5
label: "伤残类别",
itemType: "select1",
formName: "childDisabilityCategoryCode",
opction: [
],
showFlag: '0'//
},
{//6
label: "伤残等级",
itemType: "select1",
formName: "childDisabilityLevel",
opction: [
],
showFlag: '0'//
},
{
label: '备注',
itemType: "textarea",
formName: 'remark'
},
]
},
], ],
newForm: {}, newForm: {},
form: { form: {
@ -1091,9 +1347,11 @@ export default {
homeId: '', //id homeId: '', //id
name: '', // name: '', //
nation: '', // nation: '', //
nationality: '', //
remark: '', // remark: '', //
localResidenceFlag: '1', // localResidenceFlag: '1', //
birthday: '', // birthday: '', //
idType: '', //
idNum: '', // idNum: '', //
gender: '', // gender: '', //
mobile: '', // mobile: '', //
@ -1106,7 +1364,7 @@ export default {
unitedFrontFlag: '0',// unitedFrontFlag: '0',//
petitionOfficerFlag: '0',//访 petitionOfficerFlag: '0',//访
volunteerFlag: '0', // volunteerFlag: '0', //
bereavedPersonFlag: '0', // specialSupportFlag: '0', //
tenantFlag: '0', // tenantFlag: '0', //
floatingFlag: '0',// floatingFlag: '0',//
specialCrowdFlag: '0',// specialCrowdFlag: '0',//
@ -1119,6 +1377,7 @@ export default {
disabilityFlag: '0',// disabilityFlag: '0',//
seriousIllnessFlag: '0', // seriousIllnessFlag: '0', //
chronicDiseaseFlag: '0', // chronicDiseaseFlag: '0', //
eduInfoDto: { // eduInfoDto: { //
cultureLevel: '', cultureLevel: '',
eduRemark: '' eduRemark: ''
@ -1161,6 +1420,7 @@ export default {
economyDto: {// economyDto: {//
retirementAmount: '',//退 retirementAmount: '',//退
monthIncome: '',// monthIncome: '',//
bankAccount: '',//
}, },
resideInfoDto: {// resideInfoDto: {//
nativePlace: '',// nativePlace: '',//
@ -1186,8 +1446,10 @@ export default {
flowFlag: 1,//10 flowFlag: 1,//10
flowActNum: '',// flowActNum: '',//
partyJob: '',//code partyJob: '',//code
duty: '',//code
retiredFlag: 1,//退10 retiredFlag: 1,//退10
centerFlag: 1,//10 centerFlag: 1,//10
studyNotNeed: 1,//10
joinBranchName: '',// joinBranchName: '',//
joinCommunityTime: '',//yyyy-MM-dd joinCommunityTime: '',//yyyy-MM-dd
// longHolidayFlag: 1,//10 // longHolidayFlag: 1,//10
@ -1198,6 +1460,9 @@ export default {
certificateDate: '',//yyyy-MM-dd certificateDate: '',//yyyy-MM-dd
subsidyNum: '',// subsidyNum: '',//
subsidyAmount: '',// subsidyAmount: '',//
landlordName: '',//
landlordIdNum: '',//
notificationRcvDate: '',//
}, },
unemployedDto: {// unemployedDto: {//
originWorkUnit: '',// originWorkUnit: '',//
@ -1249,7 +1514,23 @@ export default {
mother: '', mother: '',
count: 0, count: 0,
reportDate: '' reportDate: ''
} },
//
tenantDto: {
contractStartDate: '',//
contractEndDate: '',//
},
//
specialSupportDto: {
bankAccount: '',//
specialSupportType: '',//
childName: '',//
childGender: '',//
childDeathDate: '',//
childDisabilityCategoyCode: '',//
childDisabilityLevel: '',//
remark: ''//
},
}, },
rulesForm: { rulesForm: {
villageId: [{ required: true, message: `请选择小区`, trigger: 'blur' }], villageId: [{ required: true, message: `请选择小区`, trigger: 'blur' }],
@ -1296,8 +1577,10 @@ export default {
this.setNewForm() this.setNewForm()
}, },
methods: { methods: {
submit_from () { submit_from () {
this.setJSON() this.setJSON()
var flag = false var flag = false
this.$refs.formId.validate(v => { this.$refs.formId.validate(v => {
this.validateFlag = v this.validateFlag = v
@ -1307,6 +1590,7 @@ export default {
if (flag) { if (flag) {
return JSON.stringify(this.newForm) return JSON.stringify(this.newForm)
} }
return false return false
}, },
async old_from (data) { async old_from (data) {
@ -1321,6 +1605,9 @@ export default {
try { try {
await Promise.all([ await Promise.all([
this.getDictList(), this.getDictList(),
this.getGuojiDictList(),
this.getSclbDictList(),
this.getScdjDictList(),
this.getRelationship(), this.getRelationship(),
this.getEducation(), this.getEducation(),
this.getdisabilityDict(), this.getdisabilityDict(),
@ -1351,7 +1638,7 @@ export default {
if (res.code !== 0) { if (res.code !== 0) {
return this.$message.error(res.msg) return this.$message.error(res.msg)
} else { } else {
console.log('获取查询详情成功', res.data)
this.optionsG = res.data this.optionsG = res.data
} }
}).catch(() => { }).catch(() => {
@ -1364,15 +1651,30 @@ export default {
if (res.code !== 0) { if (res.code !== 0) {
return this.$message.error(res.msg) return this.$message.error(res.msg)
} else { } else {
console.log('获取查询详情成功', res.data)
this.optionsV = res.data this.optionsV = res.data
} }
}).catch(() => { }).catch(() => {
return this.$message.error('网络错误') return this.$message.error('网络错误')
}) })
}, },
handelminzu (val) { // handelminzu (val) {
this.newForm.nation = val // this.newForm.nation = val
// },
//
async getGuojiDictList () {
await this.getDictDataBasic('nationality', 'nationality')
},
//
async getSclbDictList () {
await this.getDictData('disability_category_code', 'childDisabilityCategoryCode')
},
//
async getScdjDictList () {
await this.getDictData('disability_level', 'childDisabilityLevel')
}, },
async getdisabilityDict () { async getdisabilityDict () {
await this.getDictData('disability_category_code', 'disabilityCategoryCode') await this.getDictData('disability_category_code', 'disabilityCategoryCode')
@ -1420,8 +1722,9 @@ export default {
async getResidentDict () { async getResidentDict () {
await this.getDictData('special_resident_category', 'specialCategoryCode') await this.getDictData('special_resident_category', 'specialCategoryCode')
}, },
// // form
async getDictData (dictType, formName) { async getDictData (dictType, formName) {
try { try {
const { data } = await this.$http.post('sys/dict/data/dictlist', { 'dictType': dictType }); const { data } = await this.$http.post('sys/dict/data/dictlist', { 'dictType': dictType });
this.footerInputList.forEach(c => { this.footerInputList.forEach(c => {
@ -1431,6 +1734,22 @@ export default {
} }
} }
}); });
} catch (error) {
console.log(error, `获取 ${dictType} 字典`);
}
},
//
async getDictDataBasic (dictType, formName) {
try {
const { data } = await this.$http.post('sys/dict/data/dictlist', { 'dictType': dictType });
this.basicInformation.forEach(c => {
if (c.formName == formName) {
c.opction = data.data;
}
});
} catch (error) { } catch (error) {
console.log(error, `获取 ${dictType} 字典`); console.log(error, `获取 ${dictType} 字典`);
} }
@ -1441,7 +1760,6 @@ export default {
if (res.code !== 0) { if (res.code !== 0) {
return this.$message.error(res.msg) return this.$message.error(res.msg)
} else { } else {
console.log('获取查询详情成功', res.data)
this.optionsB = res.data this.optionsB = res.data
} }
}).catch(() => { }).catch(() => {
@ -1453,7 +1771,6 @@ export default {
if (res.code !== 0) { if (res.code !== 0) {
return this.$message.error(res.msg) return this.$message.error(res.msg)
} else { } else {
console.log('获取查询详情成功', res.data)
this.optionsD = res.data this.optionsD = res.data
} }
}).catch(() => { }).catch(() => {
@ -1465,7 +1782,6 @@ export default {
if (res.code !== 0) { if (res.code !== 0) {
return this.$message.error(res.msg) return this.$message.error(res.msg)
} else { } else {
console.log('获取查询详情成功', res.data)
this.optionsH = res.data this.optionsH = res.data
} }
}).catch(() => { }).catch(() => {
@ -1485,7 +1801,9 @@ export default {
volunteerFlag: { label: '志愿者信息', id: '5', groupId: 'volunteerDto' }, volunteerFlag: { label: '志愿者信息', id: '5', groupId: 'volunteerDto' },
oldPeopleFlag: { label: '老年人', id: '6', groupId: 'oldPeopleDto' }, oldPeopleFlag: { label: '老年人', id: '6', groupId: 'oldPeopleDto' },
specialCrowdFlag: { label: '特殊人群', id: '7', groupId: 'specialDto' }, specialCrowdFlag: { label: '特殊人群', id: '7', groupId: 'specialDto' },
publicWelfareFlag: { label: '公益岗人员', id: '8', groupId: 'postDto' } publicWelfareFlag: { label: '公益岗人员', id: '8', groupId: 'postDto' },
tenantFlag: { label: '租户', id: '9', groupId: 'tenantDto' },
specialSupportFlag: { label: '特扶人员', id: '10', groupId: 'specialSupportDto' },
}; };
if (val == 1 && mapping[item.formName]) { if (val == 1 && mapping[item.formName]) {
@ -1510,7 +1828,6 @@ export default {
}, },
handleChangeGrid (val) { handleChangeGrid (val) {
console.log('val', val)
for (let n of this.optionsG) { for (let n of this.optionsG) {
if (n.value == val) { if (n.value == val) {
this.form.gridName = n.label this.form.gridName = n.label
@ -1534,7 +1851,7 @@ export default {
if (res.code !== 0) { if (res.code !== 0) {
return this.$message.error(res.msg) return this.$message.error(res.msg)
} else { } else {
console.log('获取查询详情成功', res.data)
if (res.data.isVolunteer == '1') this.form.volunteerFlag = true if (res.data.isVolunteer == '1') this.form.volunteerFlag = true
else this.form.volunteerFlag = false else this.form.volunteerFlag = false
@ -1552,7 +1869,7 @@ export default {
}, },
// //
handleValidBlur (item) { handleValidBlur (item) {
console.log('n---', item)
if (item.formName !== 'idNum') return if (item.formName !== 'idNum') return
if (!isCard(this.form.idNum) && !isPassport(this.form.idNum)) return if (!isCard(this.form.idNum) && !isPassport(this.form.idNum)) return
const { user } = this.$store.state const { user } = this.$store.state
@ -1571,12 +1888,12 @@ export default {
// this.form.IS_BDHJ = huji == _id ? '1' : '' // this.form.IS_BDHJ = huji == _id ? '1' : ''
// //
// this.validateIdcard(this.form.idNum) // this.validateIdcard(this.form.idNum)
console.log('age-----', age, _id)
} }
}, },
handleChangeV (val) { handleChangeV (val) {
console.log('val', val)
this.form.buildId = '' this.form.buildId = ''
this.form.unitId = '' this.form.unitId = ''
this.form.homeId = '' this.form.homeId = ''
@ -1585,7 +1902,7 @@ export default {
this.getHouseList() this.getHouseList()
}, },
handleChangeB (val) { handleChangeB (val) {
console.log('val', val)
this.form.unitId = '' this.form.unitId = ''
this.form.homeId = '' this.form.homeId = ''
this.getUniList() this.getUniList()
@ -1596,9 +1913,7 @@ export default {
this.getHouseList() this.getHouseList()
}, },
async handleClickTab (tab, event) { async handleClickTab (tab, event) {
console.log(tab);
console.log(event);
console.log(this.form.resiId );
const tabMapping = { const tabMapping = {
'教育': { '教育': {
dtoKey: 'eduInfoDto', dtoKey: 'eduInfoDto',
@ -1672,6 +1987,14 @@ export default {
dtoKey: 'postDto', dtoKey: 'postDto',
fn: this.getWelfareDetailById fn: this.getWelfareDetailById
}, },
'租户': {
dtoKey: 'tenantDto',
fn: this.getTenantInfo
},
'特扶人员': {
dtoKey: 'specialSupportDto',
fn: this.getSpecialSupportInfo
},
}; };
let currentTab = tabMapping[tab._props.label]; let currentTab = tabMapping[tab._props.label];
@ -1741,13 +2064,14 @@ export default {
this.basicInformation.forEach(c => { this.basicInformation.forEach(c => {
if (c.formName == 'nation') { if (c.formName == 'nation') {
c.opction = data.data c.opction = data.data
console.log(c.opction);
} }
}) })
} catch (error) { } catch (error) {
console.log(error, '获取民族字典');
} }
}, },
// //
async getRelationship () { async getRelationship () {
try { try {
@ -1760,7 +2084,7 @@ export default {
} }
}) })
} catch (error) { } catch (error) {
console.log(error, '获取民族字典');
} }
}, },
@ -1787,12 +2111,12 @@ export default {
for (let i of c.children) { for (let i of c.children) {
if (i.formName == 'cultureLevel') { if (i.formName == 'cultureLevel') {
i.opction = data.data i.opction = data.data
console.log(i.opction);
} }
} }
}) })
} catch (error) { } catch (error) {
console.log(error, '获取民族字典');
} }
}, },
async getHousing () { async getHousing () {
@ -1807,7 +2131,6 @@ export default {
} }
}) })
} catch (error) { } catch (error) {
console.log(error, '获取住房性质字典');
} }
}, },
getFormData (data) { getFormData (data) {
@ -1822,11 +2145,13 @@ export default {
this.form.villageId = data.houseInfo.villageId this.form.villageId = data.houseInfo.villageId
this.form.birthday = data.birthday this.form.birthday = data.birthday
this.form.gender = data.gender this.form.gender = data.gender
this.form.idType = data.idType
this.form.idNum = data.idNum this.form.idNum = data.idNum
this.form.localResidenceFlag = (data.localResidenceFlag !== null && data.localResidenceFlag !== undefined) ? data.localResidenceFlag.toString() : ''; this.form.localResidenceFlag = (data.localResidenceFlag !== null && data.localResidenceFlag !== undefined) ? data.localResidenceFlag.toString() : '';
this.form.mobile = data.mobile ? data.mobile : '' this.form.mobile = data.mobile ? data.mobile : ''
this.form.name = data.name this.form.name = data.name
this.form.nation = data.nation ? data.nation : '' this.form.nation = data.nation ? data.nation : ''
this.form.nationality = data.nationality ? data.nationality : ''
this.form.remark = data.remark ? data.remark : '' this.form.remark = data.remark ? data.remark : ''
if (data.categoryInfo) { if (data.categoryInfo) {
this.form.categoryId = data.categoryInfo.id,// this.form.categoryId = data.categoryInfo.id,//
@ -1841,7 +2166,7 @@ export default {
this.form.volunteerFlag = data.categoryInfo.volunteerFlag.toString() this.form.volunteerFlag = data.categoryInfo.volunteerFlag.toString()
this.form.oldPeopleFlag = data.categoryInfo.oldPeopleFlag.toString() this.form.oldPeopleFlag = data.categoryInfo.oldPeopleFlag.toString()
this.form.emptyNesterFlag = data.categoryInfo.emptyNesterFlag.toString() this.form.emptyNesterFlag = data.categoryInfo.emptyNesterFlag.toString()
this.form.bereavedPersonFlag = data.categoryInfo.bereavedPersonFlag.toString() this.form.specialSupportFlag = data.categoryInfo.specialSupportFlag.toString()
this.form.disabledFlag = data.categoryInfo.disabledFlag.toString() this.form.disabledFlag = data.categoryInfo.disabledFlag.toString()
this.form.dementedFlag = data.categoryInfo.dementedFlag.toString() this.form.dementedFlag = data.categoryInfo.dementedFlag.toString()
this.form.disabilityFlag = data.categoryInfo.disabilityFlag.toString() this.form.disabilityFlag = data.categoryInfo.disabilityFlag.toString()
@ -1852,6 +2177,8 @@ export default {
this.form.floatingFlag = data.categoryInfo.floatingFlag.toString() this.form.floatingFlag = data.categoryInfo.floatingFlag.toString()
this.form.liveAloneFlag = data.categoryInfo.liveAloneFlag.toString() this.form.liveAloneFlag = data.categoryInfo.liveAloneFlag.toString()
this.form.publicWelfareFlag = data.categoryInfo.publicWelfareFlag.toString() this.form.publicWelfareFlag = data.categoryInfo.publicWelfareFlag.toString()
this.form.publicWelfareFlag = data.categoryInfo.publicWelfareFlag.toString()
if (this.form.partyFlag == '1') this.tabsList.push({ label: '党员', id: '0', groupId: 'parymemberInfoDto' }) if (this.form.partyFlag == '1') this.tabsList.push({ label: '党员', id: '0', groupId: 'parymemberInfoDto' })
if (this.form.ensureHouseFlag == '1') this.tabsList.push({ label: '保障房信息', id: '1', groupId: 'ensureHouseDto' }) if (this.form.ensureHouseFlag == '1') this.tabsList.push({ label: '保障房信息', id: '1', groupId: 'ensureHouseDto' })
if (this.form.unemployedFlag == '1') this.tabsList.push({ label: '失业', id: '2', groupId: 'unemployedDto' }) if (this.form.unemployedFlag == '1') this.tabsList.push({ label: '失业', id: '2', groupId: 'unemployedDto' })
@ -1861,11 +2188,14 @@ export default {
if (this.form.oldPeopleFlag == '1') this.tabsList.push({ label: '老年人', id: '6', groupId: 'oldPeopleDto' }) if (this.form.oldPeopleFlag == '1') this.tabsList.push({ label: '老年人', id: '6', groupId: 'oldPeopleDto' })
if (this.form.specialCrowdFlag == '1') this.tabsList.push({ label: '特殊人群', id: '7', groupId: 'specialDto' }) if (this.form.specialCrowdFlag == '1') this.tabsList.push({ label: '特殊人群', id: '7', groupId: 'specialDto' })
if (this.form.publicWelfareFlag == '1') this.tabsList.push({ label: '公益岗人员', id: '8', groupId: 'postDto' }) if (this.form.publicWelfareFlag == '1') this.tabsList.push({ label: '公益岗人员', id: '8', groupId: 'postDto' })
if (this.form.tenantFlag == '1') this.tabsList.push({ label: '租户', id: '9', groupId: 'tenantDto' })
if (this.form.specialSupportFlag == '1') this.tabsList.push({ label: '特扶人员', id: '10', groupId: 'specialSupportDto' })
} }
let { categoryId, resiId, buildId, gridId, gridName, homeId, homeName, houseMergeId, unitId, let { categoryId, resiId, buildId, gridId, gridName, homeId, homeName, houseMergeId, unitId,
villageId, birthday, gender, idNum, localResidenceFlag, mobile, name, nation, remark, villageId, birthday, gender, idType, idNum, localResidenceFlag, mobile, name, nation, nationality, remark,
partyFlag, subsistenceAllowanceFlag, ensureHouseFlag, unemployedFlag, fertileWomanFlag, veteranFlag, unitedFrontFlag, partyFlag, subsistenceAllowanceFlag, ensureHouseFlag, unemployedFlag, fertileWomanFlag, veteranFlag, unitedFrontFlag,
petitionOfficerFlag, volunteerFlag, oldPeopleFlag, emptyNesterFlag, bereavedPersonFlag, disabledFlag, petitionOfficerFlag, volunteerFlag, oldPeopleFlag, emptyNesterFlag, specialSupportFlag, disabledFlag,
dementedFlag, disabilityFlag, seriousIllnessFlag, chronicDiseaseFlag, specialCrowdFlag, tenantFlag, floatingFlag, liveAloneFlag, publicWelfareFlag } = this.form dementedFlag, disabilityFlag, seriousIllnessFlag, chronicDiseaseFlag, specialCrowdFlag, tenantFlag, floatingFlag, liveAloneFlag, publicWelfareFlag } = this.form
this.newForm = { this.newForm = {
categoryId, categoryId,
@ -1880,11 +2210,13 @@ export default {
villageId, villageId,
birthday, birthday,
gender, gender,
idType,
idNum, idNum,
localResidenceFlag, localResidenceFlag,
mobile, mobile,
name, name,
nation, nation,
nationality,
remark, remark,
partyFlag, partyFlag,
subsistenceAllowanceFlag, subsistenceAllowanceFlag,
@ -1897,7 +2229,7 @@ export default {
volunteerFlag, volunteerFlag,
oldPeopleFlag, oldPeopleFlag,
emptyNesterFlag, emptyNesterFlag,
bereavedPersonFlag, specialSupportFlag,
disabledFlag, disabledFlag,
dementedFlag, dementedFlag,
disabilityFlag, disabilityFlag,
@ -1907,7 +2239,8 @@ export default {
tenantFlag, tenantFlag,
floatingFlag, floatingFlag,
liveAloneFlag, liveAloneFlag,
publicWelfareFlag publicWelfareFlag,
} }
}, },
// //
@ -2020,6 +2353,7 @@ export default {
this.form.economyDto = res.data ? res.data : {// this.form.economyDto = res.data ? res.data : {//
retirementAmount: '',//退 retirementAmount: '',//退
monthIncome: '',// monthIncome: '',//
bankAccount: '',//
} }
this.newForm.economyDto = this.form.economyDto this.newForm.economyDto = this.form.economyDto
} }
@ -2095,11 +2429,14 @@ export default {
partyOrgId: '',// partyOrgId: '',//
flowFlag: null,//10 flowFlag: null,//10
flowActNum: '',// flowActNum: '',//
duty: '',//
partyJob: '',//code partyJob: '',//code
retiredFlag: null,//退10 retiredFlag: null,//退10
centerFlag: null,//10 centerFlag: null,//10
studyNotNeed: null,//10
joinBranchName: '',// joinBranchName: '',//
joinCommunityTime: '',//yyyy-MM-dd joinCommunityTime: '',//yyyy-MM-dd
joinCommunityTime: '',//yyyy-MM-dd
// longHolidayFlag: null,//10 // longHolidayFlag: null,//10
} }
this.newForm.parymemberInfoDto = this.form.parymemberInfoDto this.newForm.parymemberInfoDto = this.form.parymemberInfoDto
@ -2119,6 +2456,9 @@ export default {
certificateDate: '',//yyyy-MM-dd certificateDate: '',//yyyy-MM-dd
subsidyNum: '',// subsidyNum: '',//
subsidyAmount: null,// subsidyAmount: null,//
landlordName: '',//
landlordIdNum: '',//
notificationRcvDate: '',//
} }
this.newForm.ensureHouseDto = this.form.ensureHouseDto this.newForm.ensureHouseDto = this.form.ensureHouseDto
} }
@ -2252,6 +2592,45 @@ export default {
} }
}) })
}, },
//
getTenantInfo (id) {
if (this.newForm.tenantDto) return//???
this.$http.get(`/actual/base/residentTenant/detailByResiId/${id}`).then(({ data: res }) => {
if (res.code !== 0) {
return this.$message.error(res.msg);
} else {
this.form.tenantDto = res.data ? res.data : {//
contractStartDate: '',//
contractEndDate: '',//
}
this.newForm.tenantDto = this.form.tenantDto
}
})
},
//
getSpecialSupportInfo (id) {
if (this.newForm.specialSupportDto) return//???
this.$http.get(`/actual/base/resiCategorized/specialSupport/detail/${id}`).then(({ data: res }) => {
if (res.code !== 0) {
return this.$message.error(res.msg);
} else {
this.form.specialSupportDto = res.data ? res.data : {//
bankAccount: '',//
specialSupportType: '',//
childName: '',//
childGender: '',//
childDeathDate: '',//
childDisabilityCategoyCode: '',//
childDisabilityLevel: '',//
remark: ''//
}
this.newForm.specialSupportDto = this.form.specialSupportDto
}
})
},
setNewForm () { setNewForm () {
this.newForm = { this.newForm = {
agencyName: this.$store.state.user.agencyName, agencyName: this.$store.state.user.agencyName,
@ -2267,9 +2646,11 @@ export default {
homeId: '', //id homeId: '', //id
name: '', // name: '', //
nation: '', // nation: '', //
nationality: '',//
remark: '', // remark: '', //
localResidenceFlag: '', // localResidenceFlag: '', //
birthday: '', // birthday: '', //
idType: '', //
idNum: '', // idNum: '', //
gender: '', // gender: '', //
mobile: '', // mobile: '', //
@ -2282,7 +2663,7 @@ export default {
unitedFrontFlag: '0',// unitedFrontFlag: '0',//
petitionOfficerFlag: '0',//访 petitionOfficerFlag: '0',//访
volunteerFlag: '0', // volunteerFlag: '0', //
bereavedPersonFlag: '0', // specialSupportFlag: '0',//
tenantFlag: '0', // tenantFlag: '0', //
floatingFlag: '0',// floatingFlag: '0',//
specialCrowdFlag: '0',// specialCrowdFlag: '0',//
@ -2295,6 +2676,7 @@ export default {
seriousIllnessFlag: '0', // seriousIllnessFlag: '0', //
chronicDiseaseFlag: '0', // chronicDiseaseFlag: '0', //
publicWelfareFlag: '0',// publicWelfareFlag: '0',//
} }
this.newForm.eduInfoDto = this.form.eduInfoDto this.newForm.eduInfoDto = this.form.eduInfoDto
@ -2318,6 +2700,8 @@ export default {
this.newForm.localResidenceFlag = this.form.localResidenceFlag, this.newForm.localResidenceFlag = this.form.localResidenceFlag,
this.newForm.birthday = this.form.birthday, this.newForm.birthday = this.form.birthday,
this.newForm.idNum = this.form.idNum, this.newForm.idNum = this.form.idNum,
this.newForm.idType = this.form.idType,
this.newForm.nationality = this.form.nationality,
this.newForm.gender = this.form.gender, this.newForm.gender = this.form.gender,
this.newForm.mobile = this.form.mobile, this.newForm.mobile = this.form.mobile,
this.newForm.partyFlag = this.form.partyFlag, this.newForm.partyFlag = this.form.partyFlag,
@ -2329,7 +2713,7 @@ export default {
this.newForm.unitedFrontFlag = this.form.unitedFrontFlag, this.newForm.unitedFrontFlag = this.form.unitedFrontFlag,
this.newForm.petitionOfficerFlag = this.form.petitionOfficerFlag, this.newForm.petitionOfficerFlag = this.form.petitionOfficerFlag,
this.newForm.volunteerFlag = this.form.volunteerFlag, this.newForm.volunteerFlag = this.form.volunteerFlag,
this.newForm.bereavedPersonFlag = this.form.bereavedPersonFlag, this.newForm.specialSupportFlag = this.form.specialSupportFlag,
this.newForm.tenantFlag = this.form.tenantFlag, this.newForm.tenantFlag = this.form.tenantFlag,
this.newForm.floatingFlag = this.form.floatingFlag, this.newForm.floatingFlag = this.form.floatingFlag,
this.newForm.specialCrowdFlag = this.form.specialCrowdFlag, this.newForm.specialCrowdFlag = this.form.specialCrowdFlag,
@ -2342,6 +2726,7 @@ export default {
this.newForm.seriousIllnessFlag = this.form.seriousIllnessFlag, this.newForm.seriousIllnessFlag = this.form.seriousIllnessFlag,
this.newForm.chronicDiseaseFlag = this.form.chronicDiseaseFlag, this.newForm.chronicDiseaseFlag = this.form.chronicDiseaseFlag,
this.newForm.publicWelfareFlag = this.form.publicWelfareFlag this.newForm.publicWelfareFlag = this.form.publicWelfareFlag
if (this.newForm.eduInfoDto) { if (this.newForm.eduInfoDto) {
this.newForm.eduInfoDto = this.form.eduInfoDto this.newForm.eduInfoDto = this.form.eduInfoDto
} }
@ -2391,6 +2776,7 @@ export default {
} }
if (this.newForm.volunteerDto) { if (this.newForm.volunteerDto) {
this.newForm.volunteerDto = this.form.volunteerDto this.newForm.volunteerDto = this.form.volunteerDto
} }
@ -2403,6 +2789,15 @@ export default {
if (this.newForm.postDto) { if (this.newForm.postDto) {
this.newForm.postDto = this.form.postDto this.newForm.postDto = this.form.postDto
} }
if (this.newForm.tenantDto) {
this.newForm.tenantDto = this.form.tenantDto
}
if (this.newForm.specialSupportDto) {
this.newForm.specialSupportDto = this.form.specialSupportDto
}
} }
} }
} }

2
src/views/components/resiSearch.vue

@ -833,7 +833,7 @@ export default {
agencyIdTemp = this.form.agencyId[this.form.agencyId.length - 1] agencyIdTemp = this.form.agencyId[this.form.agencyId.length - 1]
} }
this.$http this.$http
.post('/gov/org/icneighborhood/neighborhoodoption', { .post('/actual/base/communityQuarters/listQuartersOptions', {
gridId: this.form.agencyId[1], gridId: this.form.agencyId[1],
agencyId: this.form.agencyId[0], agencyId: this.form.agencyId[0],
// agencyId: user.agencyId // agencyId: user.agencyId

19
src/views/modules/base/resi.vue

@ -145,7 +145,7 @@
<template v-if="scope.row.categoryInfo"> <template v-if="scope.row.categoryInfo">
<div class="resiCategoryInfoBox"> <div class="resiCategoryInfoBox">
{{ {{
scope.row.categoryInfo.bereavedPersonFlag == scope.row.categoryInfo.specialSupportFlag ==
1 1
? "特扶人员 " ? "特扶人员 "
: "" : ""
@ -332,7 +332,7 @@
formName === '社区居民基本信息录入表' ? '新增居民' : formName formName === '社区居民基本信息录入表' ? '新增居民' : formName
" "
:visible.sync="dialogVisible" :visible.sync="dialogVisible"
width="986px" width="1086px"
top="5vh" top="5vh"
append-to-body append-to-body
class="dialog-h" class="dialog-h"
@ -518,9 +518,11 @@ export default {
{ columnName: "name", label: "姓名", width: 80 }, { columnName: "name", label: "姓名", width: 80 },
{ columnName: "birthday", label: "生日", width: 100 }, { columnName: "birthday", label: "生日", width: 100 },
{ columnName: "gender", label: "性别", width: 50 }, { columnName: "gender", label: "性别", width: 50 },
{ columnName: "nationalityName", label: "国籍", width: 50 },
{ columnName: "agencyName", label: "所属组织", width: 150 }, { columnName: "agencyName", label: "所属组织", width: 150 },
{ columnName: "gridName", label: "所属网格", width: 150 }, { columnName: "gridName", label: "所属网格", width: 150 },
{ columnName: "homeName", label: "所属房屋", width: 150 }, { columnName: "homeName", label: "所属房屋", width: 150 },
{ columnName: "idTypeName", label: "证件类型", width: 80 },
{ columnName: "idNum", label: "证件号", width: 170 }, { columnName: "idNum", label: "证件号", width: 170 },
{ columnName: "categoryInfo", label: "居民分类" }, { columnName: "categoryInfo", label: "居民分类" },
{ columnName: "mobile", label: "联系电话", width: 110 }, { columnName: "mobile", label: "联系电话", width: 110 },
@ -583,6 +585,7 @@ export default {
categoryKey: "resi_info", categoryKey: "resi_info",
}, },
}); });
this.handleSearchFrom()
}, },
methods: { methods: {
@ -1063,7 +1066,7 @@ export default {
return; return;
} }
const _baseForm = JSON.parse(this.$refs.baseForm.submit_from()); const _baseForm = JSON.parse(this.$refs.baseForm.submit_from());
console.log(_baseForm);
_baseForm.partyFlag = parseInt(_baseForm.partyFlag); // _baseForm.partyFlag = parseInt(_baseForm.partyFlag); //
_baseForm.subsistenceAllowanceFlag = parseInt( _baseForm.subsistenceAllowanceFlag = parseInt(
_baseForm.subsistenceAllowanceFlag _baseForm.subsistenceAllowanceFlag
@ -1080,9 +1083,9 @@ export default {
//访 //访
_baseForm.unemployedFlag = parseInt(_baseForm.unemployedFlag); // _baseForm.unemployedFlag = parseInt(_baseForm.unemployedFlag); //
_baseForm.volunteerFlag = parseInt(_baseForm.volunteerFlag); // _baseForm.volunteerFlag = parseInt(_baseForm.volunteerFlag); //
_baseForm.bereavedPersonFlag = parseInt( _baseForm.specialSupportFlag = parseInt(
_baseForm.bereavedPersonFlag _baseForm.specialSupportFlag
); // ); //
_baseForm.tenantFlag = parseInt(_baseForm.tenantFlag); // _baseForm.tenantFlag = parseInt(_baseForm.tenantFlag); //
_baseForm.floatingFlag = parseInt(_baseForm.floatingFlag); // _baseForm.floatingFlag = parseInt(_baseForm.floatingFlag); //
_baseForm.specialCrowdFlag = parseInt(_baseForm.specialCrowdFlag); // _baseForm.specialCrowdFlag = parseInt(_baseForm.specialCrowdFlag); //
@ -1155,7 +1158,7 @@ export default {
specialCategoryCode; specialCategoryCode;
} }
} }
console.log(_baseForm); console.log('居民信息提交表单:', _baseForm);
this.submitAdd(_baseForm); this.submitAdd(_baseForm);
}, },
handleDel (row) { handleDel (row) {
@ -1181,7 +1184,7 @@ export default {
this.dialogVisible = false; this.dialogVisible = false;
}, },
async submitAdd (arr) { async submitAdd (arr) {
console.log(arr);
this.btnLoading = true; this.btnLoading = true;
await this.$http await this.$http
.post( .post(

3
src/views/modules/base/residentManagement/louzhang/louzhangList.vue

@ -373,7 +373,7 @@ export default {
getValiheList () { getValiheList () {
this.$http this.$http
.post('/gov/org/icneighborhood/neighborhoodoption', { .post('/actual/base/communityQuarters/listQuartersOptions', {
gridId: '', gridId: '',
agencyId: '', agencyId: '',
// agencyId: user.agencyId // agencyId: user.agencyId
@ -531,6 +531,7 @@ export default {
const { data, code, msg } = await requestPost(url, { const { data, code, msg } = await requestPost(url, {
pageSize, pageSize,
pageNo, pageNo,
agencyId: this.agencyId,
...formData, ...formData,
}); });
this.tableLoading = false; this.tableLoading = false;

Loading…
Cancel
Save