diff --git a/src/i18n/zh-CN.js b/src/i18n/zh-CN.js index 9a495765f..993f4b0ad 100644 --- a/src/i18n/zh-CN.js +++ b/src/i18n/zh-CN.js @@ -12,6 +12,10 @@ t.add = '新增' t.delete = '删除' t.deleteBatch = '删除' t.update = '修改' +t.checkBtn = '审核' +t.lookBtn = '查看' +t.checkTGBtn = '审核通过' +t.checkBTGBtn = '审核不通过' t.query = '查询' t.export = '导出' t.handle = '操作' diff --git a/src/mixins/view-module.js b/src/mixins/view-module.js index f881711c7..ebde6a3ee 100644 --- a/src/mixins/view-module.js +++ b/src/mixins/view-module.js @@ -63,6 +63,11 @@ export default { } this.dataList = this.mixinViewModuleOptions.getDataListIsPage ? res.data.list : res.data this.total = this.mixinViewModuleOptions.getDataListIsPage ? res.data.total : 0 + this.dataList.forEach(item => { + if (item.gender) { + item.gender = item.gender == '0' ? '女' : item.gender == '1' ? '男' : item.gender + } + }) }).catch(() => { this.dataListLoading = false }) @@ -146,6 +151,18 @@ export default { ...this.dataForm }) window.location.href = `${window.SITE_CONFIG['apiURL']}${this.mixinViewModuleOptions.exportURL}?${params}` + }, + // 时间段控件取值变化事件-清空一个其他都清空 + changeTime (dateValue) { + var startTimeIsNull = this.dataForm.startTime === '' || this.dataForm.startTime === 'null' || this.dataForm.startTime === null + var endTimeIsNull = this.dataForm.endTime === '' || this.dataForm.endTime === 'null' || this.dataForm.endTime === null + if (dateValue === null || dateValue === '' || dateValue === 'null') { + this.dataForm.startTime = '' + this.dataForm.endTime = '' + } else if (startTimeIsNull || endTimeIsNull) { + this.dataForm.startTime = dateValue + this.dataForm.endTime = dateValue + } } } } diff --git a/src/views/components/blackSearch.vue b/src/views/components/blackSearch.vue new file mode 100644 index 000000000..6cc4a41a7 --- /dev/null +++ b/src/views/components/blackSearch.vue @@ -0,0 +1,649 @@ + + + + + + + + 所属网格 + + + + + + + + + + + 所属房屋 + + + + + + + + + + + + + + + + + + + + + + + + + {{ n.label }} + + + + + + + + + + + + + + + + + + + + + + + + 查询 + 重置 + + + + + + + + + + + + + diff --git a/src/views/modules/plugins/rent/rentblacklist-add-or-update.vue b/src/views/modules/plugins/rent/rentblacklist-add-or-update.vue new file mode 100644 index 000000000..7d13084c8 --- /dev/null +++ b/src/views/modules/plugins/rent/rentblacklist-add-or-update.vue @@ -0,0 +1,187 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {{ $t('cancel') }} + {{ $t('confirm') }} + + + + + diff --git a/src/views/modules/plugins/rent/rentblacklist.vue b/src/views/modules/plugins/rent/rentblacklist.vue new file mode 100644 index 000000000..0a4b7c47a --- /dev/null +++ b/src/views/modules/plugins/rent/rentblacklist.vue @@ -0,0 +1,167 @@ + + + + + + + + + + + + + + + + + + + + + + {{ $t('query') }} + + + {{ $t('add') }} + + + + + + + + + + + + + 解除黑名单 + + + + + + + + + + + + 取 消 + 确 定 + + + + + + + + diff --git a/src/views/modules/plugins/rent/rentcontractfile-add-or-update.vue b/src/views/modules/plugins/rent/rentcontractfile-add-or-update.vue new file mode 100644 index 000000000..02786b2f8 --- /dev/null +++ b/src/views/modules/plugins/rent/rentcontractfile-add-or-update.vue @@ -0,0 +1,138 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {{ $t('cancel') }} + {{ $t('confirm') }} + + + + + diff --git a/src/views/modules/plugins/rent/rentcontractfile.vue b/src/views/modules/plugins/rent/rentcontractfile.vue new file mode 100644 index 000000000..0110bdd89 --- /dev/null +++ b/src/views/modules/plugins/rent/rentcontractfile.vue @@ -0,0 +1,71 @@ + + + + + + + + + {{ $t('query') }} + + + {{ $t('add') }} + + + + + + + + + + + + + + + + + {{ $t('update') }} + {{ $t('delete') }} + + + + + + + + + + + + diff --git a/src/views/modules/plugins/rent/rentcontractinfo-add-or-update.vue b/src/views/modules/plugins/rent/rentcontractinfo-add-or-update.vue new file mode 100644 index 000000000..7eeec13f2 --- /dev/null +++ b/src/views/modules/plugins/rent/rentcontractinfo-add-or-update.vue @@ -0,0 +1,273 @@ + + + + + 房屋信息 + + + + + + + + + + + + + + + + 居住成员信息 + + + + {{scope.$index+1}} + + + + + + + + + + + + + + + + + + 合同信息 + 出租人信息 + + + + + + + + + + + + + 承租人信息 + + + + + + + + + + + + + 合同内容 + + + + + + + + + + + + + + + + + + + + + + + {{ $t('cancel') }} + {{ $t('checkBTGBtn') }} + {{ $t('checkTGBtn') }} + + + + + + + + diff --git a/src/views/modules/plugins/rent/rentcontractinfo.vue b/src/views/modules/plugins/rent/rentcontractinfo.vue new file mode 100644 index 000000000..4ef1cf789 --- /dev/null +++ b/src/views/modules/plugins/rent/rentcontractinfo.vue @@ -0,0 +1,436 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {{ $t('query') }} + + + {{ $t('add') }} + + + + + + {{scope.$index+1}} + + + + + + {{scope.row.villageName}}{{scope.row.buildName}}{{scope.row.unitName}}{{scope.row.homeName}} + + + + + + + + + + + + + + + {{ $t('lookBtn') }} + {{ $t('delete') }} + + + + + + + + + + + + diff --git a/src/views/modules/plugins/rent/rentcontractreview.vue b/src/views/modules/plugins/rent/rentcontractreview.vue new file mode 100644 index 000000000..f245491ca --- /dev/null +++ b/src/views/modules/plugins/rent/rentcontractreview.vue @@ -0,0 +1,398 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {{ $t('query') }} + + + {{ $t('add') }} + + + + + + {{scope.$index+1}} + + + + + + {{scope.row.villageName}}{{scope.row.buildName}}{{scope.row.unitName}}{{scope.row.homeName}} + + + + + + + + + + + 审核通过 + 审核不通过 + 未审核 + + + + + + {{ $t('checkBtn') }} + {{ $t('lookBtn') }} + {{ $t('delete') }} + + + + + + + + + + + + diff --git a/src/views/modules/plugins/rent/renttenantinfo-add-or-update.vue b/src/views/modules/plugins/rent/renttenantinfo-add-or-update.vue new file mode 100644 index 000000000..870b11eb7 --- /dev/null +++ b/src/views/modules/plugins/rent/renttenantinfo-add-or-update.vue @@ -0,0 +1,159 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {{ $t('cancel') }} + {{ $t('confirm') }} + + + + + diff --git a/src/views/modules/plugins/rent/renttenantinfo.vue b/src/views/modules/plugins/rent/renttenantinfo.vue new file mode 100644 index 000000000..e6b11241d --- /dev/null +++ b/src/views/modules/plugins/rent/renttenantinfo.vue @@ -0,0 +1,74 @@ + + + + + + + + + {{ $t('query') }} + + + {{ $t('add') }} + + + + + + + + + + + + + + + + + + + + {{ $t('update') }} + {{ $t('delete') }} + + + + + + + + + + + + diff --git a/src/views/modules/plugins/rent/resi.vue b/src/views/modules/plugins/rent/resi.vue new file mode 100644 index 000000000..717063560 --- /dev/null +++ b/src/views/modules/plugins/rent/resi.vue @@ -0,0 +1,1350 @@ + + + + + + + + + + + + + + + {{ handleFilterSpan(scope.row, item) }} + + {{ handleFilterSpan(scope.row, item) }} + + + + + 加入黑名单 + + + + + + + + + + + + + + + + + + + + + + 其他 + + + + + + + + + + + + 取消 + 提交 + + + + + + + + 其他 + + + + + + + + + + + 取消 + 提交 + + + + + + + + + + + + + + + + + 取 消 + 确 定 + + + + + + + + + +