diff --git a/src/views/components/deathSearch.vue b/src/views/components/deathSearch.vue new file mode 100644 index 00000000..1c46b7e9 --- /dev/null +++ b/src/views/components/deathSearch.vue @@ -0,0 +1,649 @@ + + + + + + + + 所属网格 + + + + + + + + + + + 所属房屋 + + + + + + + + + + + + + + + + + + + + + + + + + {{ n.label }} + + + + + + + + + + + + + + + + + + + + + + + + 查询 + 重置 + + + + + + + + + + + + + diff --git a/src/views/modules/plugins/rent/rentblacklist.vue b/src/views/modules/plugins/rent/rentblacklist.vue index 3516274b..5aa2927c 100644 --- a/src/views/modules/plugins/rent/rentblacklist.vue +++ b/src/views/modules/plugins/rent/rentblacklist.vue @@ -59,6 +59,7 @@ 解除黑名单 + 查看 @@ -85,6 +86,10 @@ 确 定 + @@ -92,6 +97,8 @@ diff --git a/src/views/modules/plugins/rent/renttenantinfo-add-or-update.vue b/src/views/modules/plugins/rent/renttenantinfo-add-or-update.vue index 870b11eb..bfe53ce2 100644 --- a/src/views/modules/plugins/rent/renttenantinfo-add-or-update.vue +++ b/src/views/modules/plugins/rent/renttenantinfo-add-or-update.vue @@ -1,47 +1,37 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + {{ $t('cancel') }} - {{ $t('confirm') }} + {{ $t('checkBTGBtn') }} + {{ $t('checkTGBtn') }} + + + @@ -53,19 +43,17 @@ export default { visible: false, dataForm: { id: '', + flag: '', contractId: '', name: '', idCard: '', mobile: '', yfzgx: '', - img: '', - delFlag: '', - revision: '', - createdBy: '', - createdTime: '', - updatedBy: '', - updatedTime: '' - } + imgList: [], + reason: '' + }, + dialogVisible: false, + dialogImageUrl: '' } }, computed: { @@ -86,25 +74,7 @@ export default { yfzgx: [ { required: true, message: this.$t('validate.required'), trigger: 'blur' } ], - img: [ - { required: true, message: this.$t('validate.required'), trigger: 'blur' } - ], - delFlag: [ - { required: true, message: this.$t('validate.required'), trigger: 'blur' } - ], - revision: [ - { required: true, message: this.$t('validate.required'), trigger: 'blur' } - ], - createdBy: [ - { required: true, message: this.$t('validate.required'), trigger: 'blur' } - ], - createdTime: [ - { required: true, message: this.$t('validate.required'), trigger: 'blur' } - ], - updatedBy: [ - { required: true, message: this.$t('validate.required'), trigger: 'blur' } - ], - updatedTime: [ + imgList: [ { required: true, message: this.$t('validate.required'), trigger: 'blur' } ] } @@ -120,6 +90,11 @@ export default { } }) }, + // 查看大图 + imgShow(url){ + this.dialogImageUrl = url + this.dialogVisible = true + }, // 获取信息 getInfo () { this.$http.get(`/pli/power/rentTenantInfo/${this.dataForm.id}`).then(({ data: res }) => { @@ -133,12 +108,13 @@ export default { }).catch(() => {}) }, // 表单提交 - dataFormSubmitHandle: debounce(function () { + dataFormSubmitHandle: debounce(function (type) { this.$refs['dataForm'].validate((valid) => { if (!valid) { return false } - this.$http[!this.dataForm.id ? 'post' : 'put']('/pli/power/rentTenantInfo/', this.dataForm).then(({ data: res }) => { + this.dataForm.state = type + this.$http.post('/pli/power/rentTenantInfo/landlord/review', this.dataForm).then(({ data: res }) => { if (res.code !== 0) { return this.$message.error(res.msg) } @@ -157,3 +133,14 @@ export default { } } + diff --git a/src/views/modules/plugins/rent/renttenantinfo.vue b/src/views/modules/plugins/rent/renttenantinfo.vue index e6b11241..b016004b 100644 --- a/src/views/modules/plugins/rent/renttenantinfo.vue +++ b/src/views/modules/plugins/rent/renttenantinfo.vue @@ -2,35 +2,49 @@ - - + + - - {{ $t('query') }} + + + + + - {{ $t('add') }} + {{ $t('query') }} + + + - - - + + + + {{scope.$index+1}} + + + + - - - - - + + + + 审核通过 + 审核不通过 + 未审核 + + + - - - {{ $t('update') }} - {{ $t('delete') }} + + + {{ $t('checkBtn') }} @@ -45,6 +59,14 @@ + + + + {{ $t('cancel') }} + {{ $t('checkBTGBtn') }} + {{ $t('checkTGBtn') }} + + @@ -57,18 +79,85 @@ export default { data () { return { mixinViewModuleOptions: { - getDataListURL: '/pli/power/rentTenantInfo/page', + getDataListURL: '/pli/power/rentTenantInfo/landlord/page', getDataListIsPage: true, deleteURL: '/pli/power/rentTenantInfo', deleteIsBatch: true }, dataForm: { - id: '' - } + id: '', + name: '', + idCard: '', + mobile: '' + }, + checkVisible: false, + checkForm:{ + id: '', + state: '', + reason: '' + } } }, components: { AddOrUpdate - } + }, + methods: { + // 新增 / 修改 + addOrUpdateHandle (id,flag) { + this.addOrUpdateVisible = true + this.$nextTick(() => { + this.$refs.addOrUpdate.dataForm.id = id + this.$refs.addOrUpdate.dataForm.flag = flag + this.$refs.addOrUpdate.init() + }) + }, + btKeyUpIdCard (e) { + e.target.value = e.target.value.replace(/[`~!#$%^&*()_\+=<>?:"{}|~!#¥%……&*()={}|《》?:“”【】\\[\]、;‘’,。、\s+]/g, '') + this.dataForm.idCard = e.target.value + }, + btKeyUpMobile (e) { + e.target.value = e.target.value.replace(/[`~!#$%^&*()_\+=<>?:"{}|~!#¥%……&*()={}|《》?:“”【】\\[\]、;‘’,。、\s+]/g, '') + this.dataForm.mobile = e.target.value + }, + btKeyUpName (e) { + e.target.value = e.target.value.replace(/[`~!#$%^&*()_\+=<>?:"{}|~!#¥%……&*()={}|《》?:“”【】\\[\]、;‘’,。、\s+]/g, '') + this.dataForm.name = e.target.value + }, + checkHandle(id){ + this.checkForm.id = id + this.checkVisible = true + this.reason = '' + + }, + // 审核提交方法 + checkSubmitHandle: function (type) { + this.checkForm.state = type + this.$http.post('/pli/power/rentTenantInfo/landlord/review', this.checkForm).then(({ data: res }) => { + if (res.code !== 0) { + return this.$message.error(res.msg) + } + this.$message({ + message: this.$t('prompt.success'), + type: 'success', + duration: 500, + onClose: () => { + this.checkVisible = false + this.$emit('refreshDataList') + } + }) + }).catch(() => {}) + } + } } + diff --git a/src/views/modules/plugins/rent/resideath.vue b/src/views/modules/plugins/rent/resideath.vue new file mode 100644 index 00000000..1b818045 --- /dev/null +++ b/src/views/modules/plugins/rent/resideath.vue @@ -0,0 +1,1350 @@ + + + + + + + + + + + + + + + {{ handleFilterSpan(scope.row, item) }} + + {{ handleFilterSpan(scope.row, item) }} + + + + + 迁入死亡人口 + + + + + + + + + + + + + + + + + + + + + + 其他 + + + + + + + + + + + + 取消 + 提交 + + + + + + + + 其他 + + + + + + + + + + + 取消 + 提交 + + + + + + + + + + + + + + + + + 取 消 + 确 定 + + + + + + + + + +