diff --git a/src/views/components/resiChangeTransfer.vue b/src/views/components/resiChangeTransfer.vue new file mode 100644 index 000000000..b214ccd45 --- /dev/null +++ b/src/views/components/resiChangeTransfer.vue @@ -0,0 +1,598 @@ + + + + + + + {{ gridName }} + + + + + + + + + + + {{'迁往'+rootAgency.organizationName+'内其他区域'}} + 其他 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 取消 + 提交 + + + + + + + diff --git a/src/views/modules/plugins/change/changedeath.vue b/src/views/modules/plugins/change/changedeath.vue index 40e10d541..3ff91ba7b 100644 --- a/src/views/modules/plugins/change/changedeath.vue +++ b/src/views/modules/plugins/change/changedeath.vue @@ -45,6 +45,9 @@ {{ $t('query') }} + + {{ $t('export') }} + @@ -55,14 +58,30 @@ - + + + - + + + {{ + scope.row.type == '0' + ? "租客" + : scope.row.type == '1' + ? "房东" + : "" + }} + + @@ -110,7 +129,8 @@ export default { getDataListURL: '/pli/power/rentDeath/page', getDataListIsPage: true, deleteURL: '/pli/power/rentDeath', - deleteIsBatch: true + deleteIsBatch: true, + exportURL: '/pli/power/rentDeath/export' }, timeRange: '', dataForm: { diff --git a/src/views/modules/plugins/change/changerelocation.vue b/src/views/modules/plugins/change/changerelocation.vue index 563e1d575..003ab87f7 100644 --- a/src/views/modules/plugins/change/changerelocation.vue +++ b/src/views/modules/plugins/change/changerelocation.vue @@ -1,57 +1,179 @@ - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - {{ $t('query') }} + {{ $t('query') }} - {{ $t('add') }} + {{ $t('export') }} + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - {{ $t('update') }} - {{ $t('delete') }} - + + + + + + + + + + + + + + + + + @@ -79,15 +202,237 @@ export default { getDataListURL: '/pli/power/changeRelocation/page', getDataListIsPage: true, deleteURL: '/pli/power/changeRelocation', - deleteIsBatch: true + deleteIsBatch: true, + exportURL: '/pli/power/changeRelocation/export' }, + timeRange: '', + optionsV: [], + optionsB: [], + optionsH: [], + optionsD: [], + optionsG: [], dataForm: { - id: '' + id: '', + name: '', + mobile: '', + idCard: '', + gridId: '', + villageId: '', + buildId: '', + unitId: '', + homeId: '', } } }, components: { AddOrUpdate - } + }, + computed: { + changeVDisabled() { + return !this.dataForm.villageId + }, + changeBDisabled() { + return !this.dataForm.buildId + }, + changeDDisabled() { + return !this.dataForm.unitId + } + }, + created () { + this.getGridList() + this.getValiheList() + }, + watch: { + timeRange (val) { + if (Array.isArray(val) && val.length == 2) { + this.dataForm.startTime = val[0]; + this.dataForm.endTime = val[1]; + } else { + this.dataForm.startTime = ''; + this.dataForm.endTime = ''; + } + } + }, + methods: { + handleClearVillage() { + this.dataForm.buildId = '' + this.dataForm.homeId = '' + }, + handleClearBuild() { + this.dataForm.buildId = '' + this.dataForm.unitId = '' + this.dataForm.homeId = '' + }, + handleClearDan() { + this.dataForm.unitId = '' + this.dataForm.homeId = '' + }, + handleChangeGrid(val) { + console.log('val', val) + this.dataForm.villageId = '' + this.dataForm.buildId = '' + this.dataForm.unitId = '' + this.dataForm.homeId = '' + this.getValiheList() + }, + getGridList() { + const { user } = this.$store.state + this.$http + .post('/gov/org/customergrid/gridoption', { agencyId: user.agencyId, purpose: 'query' }) + .then(({ data: res }) => { + if (res.code !== 0) { + return this.$message.error(res.msg) + } else { + console.log('获取查询详情成功', res.data) + this.optionsG = res.data + } + }) + .catch(() => { + return this.$message.error('网络错误') + }) + }, + getValiheList() { + const { user } = this.$store.state + this.$http + .post('/gov/org/icneighborhood/neighborhoodoption', { + gridId: this.dataForm.gridId, + agencyId: '' + // agencyId: user.agencyId + }) + .then(({ data: res }) => { + if (res.code !== 0) { + return this.$message.error(res.msg) + } else { + console.log('获取查询详情成功', res.data) + this.optionsV = res.data + } + }) + .catch(() => { + return this.$message.error('网络错误') + }) + }, + getBuildList() { + this.$http + .post('/gov/org/icbuilding/buildingoption', { + neighborHoodId: this.dataForm.villageId + }) + .then(({ data: res }) => { + if (res.code !== 0) { + return this.$message.error(res.msg) + } else { + console.log('获取查询详情成功', res.data) + this.optionsB = res.data + } + }) + .catch(() => { + return this.$message.error('网络错误') + }) + }, + getUniList() { + this.$http + .post('/gov/org/icbuildingunit/unitoption', { + buildingId: this.dataForm.buildId + }) + .then(({ data: res }) => { + if (res.code !== 0) { + return this.$message.error(res.msg) + } else { + console.log('获取查询详情成功', res.data) + this.optionsD = res.data + } + }) + .catch(() => { + return this.$message.error('网络错误') + }) + }, + getHouseList() { + this.$http + .post('/gov/org/ichouse/houseoption', { unitId: this.dataForm.unitId }) + .then(({ data: res }) => { + if (res.code !== 0) { + return this.$message.error(res.msg) + } else { + console.log('获取查询详情成功', res.data) + this.optionsH = res.data + } + }) + .catch(() => { + return this.$message.error('网络错误') + }) + }, + handleChangeV(val) { + console.log('val', val) + this.dataForm.buildId = '' + this.dataForm.unitId = '' + this.dataForm.homeId = '' + this.getBuildList() + }, + handleChangeB(val) { + console.log('val', val) + this.dataForm.unitId = '' + this.dataForm.homeId = '' + this.getUniList() + }, + handleChangeD(val) { + console.log('val', val) + this.dataForm.homeId = '' + this.getHouseList() + }, + } } + diff --git a/src/views/modules/plugins/change/changewelfare-add-or-update.vue b/src/views/modules/plugins/change/changewelfare-add-or-update.vue new file mode 100644 index 000000000..902508f5b --- /dev/null +++ b/src/views/modules/plugins/change/changewelfare-add-or-update.vue @@ -0,0 +1,201 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {{ $t('cancel') }} + {{ $t('confirm') }} + + + + + diff --git a/src/views/modules/plugins/change/changewelfare.vue b/src/views/modules/plugins/change/changewelfare.vue new file mode 100644 index 000000000..b8036b633 --- /dev/null +++ b/src/views/modules/plugins/change/changewelfare.vue @@ -0,0 +1,83 @@ + + + + + + + + + {{ $t('query') }} + + + {{ $t('add') }} + + + {{ $t('deleteBatch') }} + + + + + + + + + + + + + + + + + + + + + + + + + + {{ $t('update') }} + {{ $t('delete') }} + + + + + + + + + + + + diff --git a/src/views/modules/plugins/change/resichange.vue b/src/views/modules/plugins/change/resichange.vue index 1b8180452..15a7074bb 100644 --- a/src/views/modules/plugins/change/resichange.vue +++ b/src/views/modules/plugins/change/resichange.vue @@ -83,10 +83,14 @@ align="center" width="150"> - 迁入死亡人口 + class="div-table-button--detail">迁出 + + + + @@ -281,7 +285,7 @@ import resiForm from '../../../components/resiForm.vue' import editResi from '../../../components/editResi.vue' import axios from 'axios' import { mapGetters } from 'vuex' -import resiTransfer from '../../../components/resiTransfer.vue' +import resiChangeTransfer from '../../../components/resiChangeTransfer.vue' import resiChangeRecord from '../../../components/resiChangeRecord.vue' import peopleMore from "@/views/modules/shequ/cpts/people-more"; @@ -290,7 +294,7 @@ export default { deathSearch, resiForm, editResi, - resiTransfer, + resiChangeTransfer, resiChangeRecord, peopleMore }, @@ -453,7 +457,7 @@ export default { await nextTick(200) - this.$refs.ref_transfer.initForm(row) + this.$refs.ref_change_transfer.initForm(row) }, //变更记录 async handleChangeRecord (row) { diff --git a/src/views/modules/plugins/change/resiwelfare.vue b/src/views/modules/plugins/change/resiwelfare.vue new file mode 100644 index 000000000..1b8180452 --- /dev/null +++ b/src/views/modules/plugins/change/resiwelfare.vue @@ -0,0 +1,1350 @@ + + + + + + + + + + + + + + + {{ handleFilterSpan(scope.row, item) }} + + {{ handleFilterSpan(scope.row, item) }} + + + + + 迁入死亡人口 + + + + + + + + + + + + + + + + + + + + + + 其他 + + + + + + + + + + + + 取消 + 提交 + + + + + + + + 其他 + + + + + + + + + + + 取消 + 提交 + + + + + + + + + + + + + + + + + 取 消 + 确 定 + + + + + + + + + + diff --git a/src/views/modules/plugins/rent/rentcontractinfo.vue b/src/views/modules/plugins/rent/rentcontractinfo.vue index 3ca6eb70d..229785c2d 100644 --- a/src/views/modules/plugins/rent/rentcontractinfo.vue +++ b/src/views/modules/plugins/rent/rentcontractinfo.vue @@ -100,13 +100,13 @@ - + - - + + - - + + @@ -233,7 +233,8 @@ export default { lessorMobile: '', startTime: '', endTime: '', - endDate: '' + endDate: '', + state: '1' }, pickerBeginDateBefore: { disabledDate: (time) => { diff --git a/src/views/modules/plugins/rent/rentcontractreview.vue b/src/views/modules/plugins/rent/rentcontractreview.vue index 795e44efa..7e58728ff 100644 --- a/src/views/modules/plugins/rent/rentcontractreview.vue +++ b/src/views/modules/plugins/rent/rentcontractreview.vue @@ -230,7 +230,23 @@ export default { {dictValue: '0', dictName: '未审核'}, {dictValue: '1', dictName: '审核通过'}, {dictValue: '2', dictName: '审核不通过'} - ] + ], + pickerBeginDateBefore: { + disabledDate: (time) => { + let beginDateVal = this.dataForm.endTime + if (beginDateVal) { + return time.getTime() > new Date(beginDateVal + ' 00:00:00').getTime() + } + } + }, + pickerBeginDateAfter: { + disabledDate: (time) => { + let EndDateVal = this.dataForm.startTime + if (EndDateVal) { + return time.getTime() < new Date(EndDateVal + ' 00:00:00').getTime() + } + } + } } }, components: {