From 846b3805c2417c779ce1f3e65181788f4d5dda39 Mon Sep 17 00:00:00 2001 From: xy <271556543@qq.com> Date: Tue, 9 Jul 2024 13:43:32 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.staging | 12 +-- src/components/XyTable/index.vue | 58 ++++++++++++-- src/views/assets/component/addLand.vue | 2 +- src/views/assets/detail.vue | 105 +++++++++++++++++++++++-- src/views/assets/house.vue | 11 +-- src/views/assets/land.vue | 11 +-- src/views/component/dialog.vue | 2 +- src/views/component/map.vue | 5 +- src/views/component/table.vue | 3 +- src/views/dashboard/index.vue | 58 ++++++++------ src/views/lease/index.vue | 3 +- src/views/lease/let.vue | 3 +- src/views/lease/plan.vue | 3 +- src/views/lease/sign.vue | 4 +- src/views/operate/file.vue | 5 +- src/views/operate/menu.vue | 1 - src/views/safety/safetyPlan.vue | 5 +- src/views/system/permission.vue | 97 +++++++++++++++-------- 18 files changed, 283 insertions(+), 105 deletions(-) diff --git a/.env.staging b/.env.staging index 3646f31..9361378 100644 --- a/.env.staging +++ b/.env.staging @@ -4,10 +4,10 @@ NODE_ENV = production ENV = 'staging' # base api -#VUE_APP_BASE_API=http://wuxiwuye.ali251.langye.net/ -#VUE_APP_UPLOAD_API=http://wuxiwuye.ali251.langye.net/api/admin/upload-file -#VUE_APP_PREVIEW=//view.langye.net:8012/onlinePreview +VUE_APP_BASE_API=http://wuxiwuye.ali251.langye.net/ +VUE_APP_UPLOAD_API=http://wuxiwuye.ali251.langye.net/api/admin/upload-file +VUE_APP_PREVIEW=//view.langye.net:8012/onlinePreview # base api -VUE_APP_BASE_API=http://192.168.221.31:9001/ -VUE_APP_UPLOAD_API=http://192.168.221.31:9001/api/admin/upload-file -VUE_APP_PREVIEW=http://192.168.221.31:8012/onlinePreview +#VUE_APP_BASE_API=http://192.168.221.31:9001/ +#VUE_APP_UPLOAD_API=http://192.168.221.31:9001/api/admin/upload-file +#VUE_APP_PREVIEW=http://192.168.221.31:8012/onlinePreview diff --git a/src/components/XyTable/index.vue b/src/components/XyTable/index.vue index 7c93daf..f4e299c 100644 --- a/src/components/XyTable/index.vue +++ b/src/components/XyTable/index.vue @@ -874,8 +874,8 @@ export default { if ($scopedSlots[item.prop]) { return $scopedSlots[item.prop](item, index); } - return ( - { return ( - + > ); }) : ""} - - ); + + ) : () })} { $scopedSlots.btns ? $scopedSlots.btns() : (this.auths.length > 0 ? this.isCreateAuthBtns() : '') diff --git a/src/views/assets/component/addLand.vue b/src/views/assets/component/addLand.vue index 57a9708..c504f28 100644 --- a/src/views/assets/component/addLand.vue +++ b/src/views/assets/component/addLand.vue @@ -335,7 +335,7 @@ export default { }); if (this.$refs["houseTable"].getSelection() && this.$refs["houseTable"]?.getSelection()?.length > 0) { promiseAll.push( - ...this.$refs["houseTable"].getSelection().map(i => save(Object.assign(i, { table_name: 'houses',land_id: this.id }))) + ...this.$refs["houseTable"].getSelection().map(i => save(Object.assign(i, { table_name: 'houses',land_id: this.id, quanzhenghao: copyForm.tudizhenghao, zichanweizhi: copyForm.zichanweizhi }))) ); } this.originalForm.id_houses_land_id_relation.forEach(item => { diff --git a/src/views/assets/detail.vue b/src/views/assets/detail.vue index 72f9390..f8f1dd6 100644 --- a/src/views/assets/detail.vue +++ b/src/views/assets/detail.vue @@ -451,7 +451,7 @@ export default { )) } { - row.house?.map(i => ( + row.houses?.map(i => ( { i.name } )) } @@ -502,6 +502,91 @@ export default { align: 'right', width: 120 }, + { + label: "租金收取计划", + multiHd: [ + { + width: 200, + prop: "zujindiyicidaoweishijian", + label: "租金第一次到位时间", + customFn: ({ row }) => { + return ( +
{ i.zujindiyicidaoweishijian }
{ i.shijidaozhangriqi }
{ i.yingshou }
{ i.shijidaozhang }
{ i.weidaoweiyuanyin }