From 66fabdd10fae403fcda7b7f292c604dbfe60ff56 Mon Sep 17 00:00:00 2001 From: jiangyy Date: Tue, 10 Jan 2023 10:58:21 +0800 Subject: [PATCH] =?UTF-8?q?=E6=88=BF=E5=B1=8B=E7=AE=A1=E7=90=86=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../modules/base/community/buildTable.vue | 16 +- .../modules/base/community/community.vue | 4 +- .../base/community/communityDetail copy.vue | 263 -------- .../base/community/communityForm copy.vue | 575 ------------------ .../modules/base/community/communityForm.vue | 13 +- .../modules/base/community/communityTable.vue | 14 +- .../base/community/roomDetail copy.vue | 303 --------- .../modules/base/community/roomForm copy.vue | 473 -------------- src/views/modules/base/community/roomForm.vue | 2 +- .../modules/base/community/roomTable.vue | 14 +- .../communityService/dqfwzx/cpts/edit.vue | 2 +- .../communityService/dqfwzx/cpts/order.vue | 2 +- .../communityService/shzz/cpts/edit.vue | 258 ++++---- .../communityService/sqzzz/cpts/edit.vue | 2 +- 14 files changed, 146 insertions(+), 1795 deletions(-) delete mode 100644 src/views/modules/base/community/communityDetail copy.vue delete mode 100644 src/views/modules/base/community/communityForm copy.vue delete mode 100644 src/views/modules/base/community/roomDetail copy.vue delete mode 100644 src/views/modules/base/community/roomForm copy.vue diff --git a/src/views/modules/base/community/buildTable.vue b/src/views/modules/base/community/buildTable.vue index 3a6c6ba29..54afa203c 100644 --- a/src/views/modules/base/community/buildTable.vue +++ b/src/views/modules/base/community/buildTable.vue @@ -336,11 +336,11 @@ export default { BuildDetail }, async mounted () { - this.displayedBaobiaoBtn = await this.$refs.baobiao.existsTemplate({ - elseParams: { - categoryKeys: ['house_info'], categoryKey: 'house_info', - } - }); + // this.displayedBaobiaoBtn = await this.$refs.baobiao.existsTemplate({ + // elseParams: { + // categoryKeys: ['house_info'], categoryKey: 'house_info', + // } + // }); }, computed: { tableHeight () { @@ -404,7 +404,7 @@ export default { type: 'building', } - let url = '/gov/org/house/update-sort' + let url = '/actual/base/communityHouse/updateHouseSort' const { data, code, msg } = await requestPost(url, params) @@ -449,7 +449,7 @@ export default { console.log(this.agencyObj) - const url = "/gov/org/building/buildinglist" + const url = "/actual/base/communityBuilding/listBuildings" let params = { pageSize: this.pageSize, pageNo: this.pageNo, @@ -649,7 +649,7 @@ export default { } }, async detail (row) { - const url = "/gov/org/houseInformation/getBuildingDetail/" + row.buildingId + const url = "/actual/base/communityBuilding/getBuildingDetail/" + row.buildingId const { data, code, msg } = await requestPost(url) diff --git a/src/views/modules/base/community/community.vue b/src/views/modules/base/community/community.vue index 4cf652620..a3723a25c 100644 --- a/src/views/modules/base/community/community.vue +++ b/src/views/modules/base/community/community.vue @@ -446,7 +446,7 @@ export default { this.selAgencyId = this.selAgencyId ? this.selAgencyId : user.agencyId } - const url = "/gov/org/icneighborhood/neighborhood-options"; + const url = "/actual/base/communityQuarters/listQuartersOptions"; // const url = "http://yapi.elinkservice.cn/mock/245/epmetuser/epidemicPrevention/page" let params = { gridId: this.selGridId, @@ -576,7 +576,7 @@ export default { } }, async loadTree (isRefresh) { - const url = "/gov/org/building/treelist" + const url = "/actual/base/communityBuilding/listBuildingTree" let params = {} const { data, code, msg } = await requestPost(url, params) diff --git a/src/views/modules/base/community/communityDetail copy.vue b/src/views/modules/base/community/communityDetail copy.vue deleted file mode 100644 index 0bb632b81..000000000 --- a/src/views/modules/base/community/communityDetail copy.vue +++ /dev/null @@ -1,263 +0,0 @@ - - - - - - - diff --git a/src/views/modules/base/community/communityForm copy.vue b/src/views/modules/base/community/communityForm copy.vue deleted file mode 100644 index 9a0d1418c..000000000 --- a/src/views/modules/base/community/communityForm copy.vue +++ /dev/null @@ -1,575 +0,0 @@ - - - - - - - diff --git a/src/views/modules/base/community/communityForm.vue b/src/views/modules/base/community/communityForm.vue index e25708305..7423759fb 100644 --- a/src/views/modules/base/community/communityForm.vue +++ b/src/views/modules/base/community/communityForm.vue @@ -393,8 +393,7 @@ export default { }, //加载物业 async loadProperty () { - const url = '/gov/org/propertymanagement/list' - // const url = "http://yapi.elinkservice.cn/mock/245/gov/org/propertymanagement/list" + const url = '/actual/base/communityPropertyManagement/listPropertyManagements' let params = {} const { data, code, msg } = await requestPost(url, params) @@ -438,10 +437,10 @@ export default { let url = '' if (this.formType === 'add') { - url = '/gov/org/neighborhood/neighborhoodadd' - // url = "http://yapi.elinkservice.cn/mock/245/gov/org/neighborhood/neighborhoodadd" + url = '/actual/base/communityQuarters/saveCommunityQuarters' + } else { - url = '/gov/org/neighborhood/neighborhoodupdate' + url = '/actual/base/communityQuarters/updateCommunityQuarters' this.dataForm.neighborHoodId = this.neighborHoodId } @@ -470,8 +469,8 @@ export default { }) return false } - const url = '/gov/org/propertymanagement/add' - // const url = "http://yapi.elinkservice.cn/mock/245/gov/org/propertymanagement/add" + const url = '/actual/base/communityPropertyManagement/savePropertyManagement' + let params = { name: this.propertyForm.name } diff --git a/src/views/modules/base/community/communityTable.vue b/src/views/modules/base/community/communityTable.vue index 04aa59910..542f948bf 100644 --- a/src/views/modules/base/community/communityTable.vue +++ b/src/views/modules/base/community/communityTable.vue @@ -387,11 +387,11 @@ export default { }, async mounted () { this.customerId = localStorage.getItem('customerId') - this.displayedBaobiaoBtn = await this.$refs.baobiao.existsTemplate({ - elseParams: { - categoryKeys: ['house_info'], categoryKey: 'house_info', - } - }); + // this.displayedBaobiaoBtn = await this.$refs.baobiao.existsTemplate({ + // elseParams: { + // categoryKeys: ['house_info'], categoryKey: 'house_info', + // } + // }); }, computed: { tableHeight () { @@ -452,7 +452,7 @@ export default { } } - const url = "/gov/org/neighborhood/neighborhoodlist" + const url = "/actual/base/communityQuarters/listQuarters" let params = { pageSize: this.pageSize, @@ -522,7 +522,7 @@ export default { }) }, async detail (row) { - const url = "/gov/org/houseInformation/neighborhoodDetail/" + row.neighborHoodId + const url = "/actual/base/communityQuarters/getQuartersDetail/" + row.neighborHoodId const { data, code, msg } = await requestPost(url) diff --git a/src/views/modules/base/community/roomDetail copy.vue b/src/views/modules/base/community/roomDetail copy.vue deleted file mode 100644 index b2fc1fc89..000000000 --- a/src/views/modules/base/community/roomDetail copy.vue +++ /dev/null @@ -1,303 +0,0 @@ - - - - diff --git a/src/views/modules/base/community/roomForm copy.vue b/src/views/modules/base/community/roomForm copy.vue deleted file mode 100644 index 496095faa..000000000 --- a/src/views/modules/base/community/roomForm copy.vue +++ /dev/null @@ -1,473 +0,0 @@ - - - - diff --git a/src/views/modules/base/community/roomForm.vue b/src/views/modules/base/community/roomForm.vue index a86db88f5..81c0daade 100644 --- a/src/views/modules/base/community/roomForm.vue +++ b/src/views/modules/base/community/roomForm.vue @@ -290,7 +290,7 @@ export default { //加载单元 async loadUnitList () { - const url = '/gov/org/building/buildingunitlist' + const url = '/actual/base/communityBuildingUnit/listBuildingUnits' let params = { buildingId: this.dataForm.buildingId diff --git a/src/views/modules/base/community/roomTable.vue b/src/views/modules/base/community/roomTable.vue index 4f46aa362..cba87a4dc 100644 --- a/src/views/modules/base/community/roomTable.vue +++ b/src/views/modules/base/community/roomTable.vue @@ -367,12 +367,12 @@ export default { async mounted () { this.updateBtnAuths(); - this.displayedBaobiaoBtn = await this.$refs.baobiao.existsTemplate({ - elseParams: { - categoryKeys: ["house_info"], - categoryKey: "house_info", - }, - }); + // this.displayedBaobiaoBtn = await this.$refs.baobiao.existsTemplate({ + // elseParams: { + // categoryKeys: ["house_info"], + // categoryKey: "house_info", + // }, + // }); }, computed: { tableHeight () { @@ -449,7 +449,7 @@ export default { type: "house", }; - let url = "/gov/org/house/update-sort"; + let url = "/actual/base/communityHouse/updateHouseSort"; const { data, code, msg } = await requestPost(url, params); diff --git a/src/views/modules/communityService/dqfwzx/cpts/edit.vue b/src/views/modules/communityService/dqfwzx/cpts/edit.vue index 35da15bde..fa766c361 100644 --- a/src/views/modules/communityService/dqfwzx/cpts/edit.vue +++ b/src/views/modules/communityService/dqfwzx/cpts/edit.vue @@ -506,7 +506,7 @@ export default { let url = ""; if (this.formType === "add") { url = "/gov/org/icpartyservicecenter/addpartyservicecenter"; - // url = "http://yapi.elinkservice.cn/mock/245/gov/org/neighborhood/neighborhoodadd" + } else { url = "/gov/org/icpartyservicecenter/editpartyservicecenter"; diff --git a/src/views/modules/communityService/dqfwzx/cpts/order.vue b/src/views/modules/communityService/dqfwzx/cpts/order.vue index eb6163f25..8403155a5 100644 --- a/src/views/modules/communityService/dqfwzx/cpts/order.vue +++ b/src/views/modules/communityService/dqfwzx/cpts/order.vue @@ -340,7 +340,7 @@ export default { let url = ""; if (this.formType === "add") { url = "/gov/org/icpartyservicecenter/appointment"; - // url = "http://yapi.elinkservice.cn/mock/245/gov/org/neighborhood/neighborhoodadd" + } const { data, code, msg } = await requestPost(url, { diff --git a/src/views/modules/communityService/shzz/cpts/edit.vue b/src/views/modules/communityService/shzz/cpts/edit.vue index d30f9ad1e..3ff773511 100644 --- a/src/views/modules/communityService/shzz/cpts/edit.vue +++ b/src/views/modules/communityService/shzz/cpts/edit.vue @@ -1,88 +1,70 @@