From 6ad41175f3b16bc5dc3a4146e4c382712109b70b Mon Sep 17 00:00:00 2001 From: jiangyy Date: Mon, 26 Sep 2022 17:35:04 +0800 Subject: [PATCH 1/6] =?UTF-8?q?=E6=95=B0=E6=8D=AE=E6=9B=B4=E6=96=B0?= =?UTF-8?q?=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../basicinfo/houseStatic/houseList.vue | 2 +- src/views/modules/workSys/dataOpenConfig.vue | 371 ++++++++++++++++++ 2 files changed, 372 insertions(+), 1 deletion(-) create mode 100644 src/views/modules/workSys/dataOpenConfig.vue diff --git a/src/views/modules/visual/basicinfo/houseStatic/houseList.vue b/src/views/modules/visual/basicinfo/houseStatic/houseList.vue index 17fbd6709..3a09220fe 100644 --- a/src/views/modules/visual/basicinfo/houseStatic/houseList.vue +++ b/src/views/modules/visual/basicinfo/houseStatic/houseList.vue @@ -37,7 +37,7 @@
{{item.doorName}}
{{item.houseType==='1'?'楼房':item.houseType==='2'?'平方':'别墅'}}
{{item.purpose}}
-
{{item.rentFlag==='1'?'出租':item.rentFlag==='0'?'自住':item.rentFlag==='2'?'闲置':'未出售'}}
+
{{item.rentFlag}}
{{item.ownerName}}
{{item.ownerPhone}}
{{item.ownerIdCard}}
diff --git a/src/views/modules/workSys/dataOpenConfig.vue b/src/views/modules/workSys/dataOpenConfig.vue new file mode 100644 index 000000000..81642e285 --- /dev/null +++ b/src/views/modules/workSys/dataOpenConfig.vue @@ -0,0 +1,371 @@ + + + + + From adfc56a7d1f7ab6926141696e0320b39a1698317 Mon Sep 17 00:00:00 2001 From: jiangyy Date: Tue, 27 Sep 2022 10:56:44 +0800 Subject: [PATCH 2/6] 111 --- .../base/epidemic/natInfo/noNatList.vue | 770 ++++++++++++++++++ .../regionalParty/unitsDetail.vue | 13 +- ...icpointnucleicmonitoring-add-or-update.vue | 206 +++-- .../point/icpointnucleicmonitoring-detail.vue | 289 +++++++ .../point/icpointnucleicmonitoring.vue | 454 +++++------ ...pointvaccinesinoculation-add-or-update.vue | 239 +++--- .../icpointvaccinesinoculation-detail.vue | 338 ++++++++ .../point/icpointvaccinesinoculation.vue | 412 +++++----- src/views/modules/workSys/dataOpenConfig.vue | 12 +- 9 files changed, 2016 insertions(+), 717 deletions(-) create mode 100644 src/views/modules/base/epidemic/natInfo/noNatList.vue create mode 100644 src/views/modules/plugins/point/icpointnucleicmonitoring-detail.vue create mode 100644 src/views/modules/plugins/point/icpointvaccinesinoculation-detail.vue diff --git a/src/views/modules/base/epidemic/natInfo/noNatList.vue b/src/views/modules/base/epidemic/natInfo/noNatList.vue new file mode 100644 index 000000000..26fef20f3 --- /dev/null +++ b/src/views/modules/base/epidemic/natInfo/noNatList.vue @@ -0,0 +1,770 @@ + + + + + + diff --git a/src/views/modules/communityParty/regionalParty/unitsDetail.vue b/src/views/modules/communityParty/regionalParty/unitsDetail.vue index b03421c85..d686c787c 100644 --- a/src/views/modules/communityParty/regionalParty/unitsDetail.vue +++ b/src/views/modules/communityParty/regionalParty/unitsDetail.vue @@ -54,11 +54,11 @@ - + @@ -102,7 +102,7 @@ export default { async initForm (row) { this.startLoading() - this.formData = { ...row } + this.formData = JSON.parse(JSON.stringify(row)) this.initLoading = true console.log(this.formData) // await nextTick(200) @@ -118,9 +118,10 @@ export default { initMap () { // 定义地图中心点坐标 let { latitude, longitude } = this.$store.state.user; - console.log('lat' + latitude + ',lon' + longitude) + if (this.formData.latitude && this.formData.longitude) { + latitude = this.formData.latitude longitude = this.formData.longitude } @@ -128,7 +129,9 @@ export default { latitude = 39.9088810666821; longitude = 116.39743841556731; } - var center = new window.TMap.LatLng(latitude, latitude) + // debugger + console.log('lat' + latitude + ',lon' + longitude) + var center = new window.TMap.LatLng(latitude, longitude) // 定义map变量,调用 TMap.Map() 构造函数创建地图 map = new window.TMap.Map(document.getElementById('app_detail'), { center: center, // 设置地图中心点坐标 diff --git a/src/views/modules/plugins/point/icpointnucleicmonitoring-add-or-update.vue b/src/views/modules/plugins/point/icpointnucleicmonitoring-add-or-update.vue index 6b3a98ca8..141762661 100644 --- a/src/views/modules/plugins/point/icpointnucleicmonitoring-add-or-update.vue +++ b/src/views/modules/plugins/point/icpointnucleicmonitoring-add-or-update.vue @@ -1,73 +1,60 @@ @@ -135,7 +114,7 @@ var markers; var geocoder; var infoWindowList; export default { - data() { + data () { return { dataForm: { id: "", @@ -156,7 +135,7 @@ export default { }; }, computed: { - dataRule() { + dataRule () { return { customerId: [ { @@ -224,7 +203,7 @@ export default { }; }, }, - created() { + created () { this.getFormInfo(); }, props: { @@ -234,10 +213,10 @@ export default { }, }, methods: { - closeSubmit() { + closeSubmit () { this.$emit("closeDialog"); }, - orgChangeHandle(val) { + orgChangeHandle (val) { for (var i = 0; i < this.organizationList.length; i++) { if (this.organizationList[i].orgId === val) { this.dataForm.orgName = this.organizationList[i].orgName; @@ -246,15 +225,20 @@ export default { } }, // 地图初始化函数,本例取名为init,开发者可根据实际情况定义 - initMap() { - let { latitude, longitude } = this.$store.state.user; + initMap () { // 定义地图中心点坐标 + let { latitude, longitude } = this.$store.state.user; + console.log('lat' + latitude + ',lon' + longitude) + + if (this.dataForm.latitude && this.dataForm.longitude) { + latitude = this.dataForm.latitude + longitude = this.dataForm.longitude + } if (!latitude || latitude == "" || latitude == "0") { latitude = 39.9088810666821; longitude = 116.39743841556731; } - console.log(latitude,longitude); - var center = new window.TMap.LatLng(latitude, longitude); + var center = new window.TMap.LatLng(latitude, longitude) // 定义map变量,调用 TMap.Map() 构造函数创建地图 map = new window.TMap.Map(document.getElementById("map_add"), { center: center, // 设置地图中心点坐标 @@ -279,7 +263,7 @@ export default { // this.handleMoveCenter() this.convert(); }, - handleMoveCenter() { + handleMoveCenter () { //修改地图中心点 const center = map.getCenter(); const lat = center.getLat(); @@ -290,7 +274,7 @@ export default { this.convert(lat, lng); }, // 地图查询 - handleSearchMap() { + handleSearchMap () { infoWindowList.forEach((infoWindow) => { infoWindow.close(); }); @@ -319,7 +303,7 @@ export default { } }); }, - convert(lat, lng) { + convert (lat, lng) { markers.setGeometries([]); // var input = document.getElementById('location').value.split(','); let location; @@ -344,8 +328,8 @@ export default { .then((result) => { this.dataForm.address = this.dataForm.address !== "" && - this.dataForm.address !== null && - (this.dataForm.longitude === "" || this.dataForm.longitude === null) + this.dataForm.address !== null && + (this.dataForm.longitude === "" || this.dataForm.longitude === null) ? this.dataForm.address : result.result.address; // 显示搜索到的地址 @@ -353,7 +337,7 @@ export default { }); }, - setMarker(lat, lng) { + setMarker (lat, lng) { markers.setGeometries([]); markers.add([ { @@ -367,7 +351,7 @@ export default { ]); }, // 获取所属组织列表 - getFormInfo() { + getFormInfo () { this.$http .post(`/gov/org/agency/communityListByCustomerId`) .then(({ data: res }) => { @@ -376,9 +360,9 @@ export default { } this.organizationList = res.data; }) - .catch(() => {}); + .catch(() => { }); }, - init() { + init () { this.$nextTick(() => { this.$refs["dataForm"].resetFields(); if (this.dataForm.id) { @@ -391,7 +375,7 @@ export default { }, // 获取信息 - getInfo() { + getInfo () { this.$http .get(`/epmetuser/icPointNucleicMonitoring/${this.dataForm.id}`) .then(({ data: res }) => { @@ -404,7 +388,7 @@ export default { }; this.initMap(); }) - .catch(() => {}); + .catch(() => { }); }, // 表单提交 dataFormSubmitHandle: debounce( @@ -431,7 +415,7 @@ export default { }, }); }) - .catch(() => {}); + .catch(() => { }); }); }, 1000, diff --git a/src/views/modules/plugins/point/icpointnucleicmonitoring-detail.vue b/src/views/modules/plugins/point/icpointnucleicmonitoring-detail.vue new file mode 100644 index 000000000..2bf902c27 --- /dev/null +++ b/src/views/modules/plugins/point/icpointnucleicmonitoring-detail.vue @@ -0,0 +1,289 @@ + + + + + + diff --git a/src/views/modules/plugins/point/icpointnucleicmonitoring.vue b/src/views/modules/plugins/point/icpointnucleicmonitoring.vue index 2cb7772c4..8211c3db6 100644 --- a/src/views/modules/plugins/point/icpointnucleicmonitoring.vue +++ b/src/views/modules/plugins/point/icpointnucleicmonitoring.vue @@ -1,254 +1,207 @@ @@ -256,11 +209,12 @@ + + + diff --git a/src/views/modules/plugins/point/icpointvaccinesinoculation.vue b/src/views/modules/plugins/point/icpointvaccinesinoculation.vue index 5c6faed83..066bb6756 100644 --- a/src/views/modules/plugins/point/icpointvaccinesinoculation.vue +++ b/src/views/modules/plugins/point/icpointvaccinesinoculation.vue @@ -1,37 +1,30 @@ @@ -249,11 +200,12 @@ + + + + + + + + diff --git a/src/views/modules/base/epidemic/natInfo/noNatList.vue b/src/views/modules/base/epidemic/natInfo/noNatList.vue index 26fef20f3..3490c6060 100644 --- a/src/views/modules/base/epidemic/natInfo/noNatList.vue +++ b/src/views/modules/base/epidemic/natInfo/noNatList.vue @@ -1,28 +1,28 @@ @@ -260,8 +232,8 @@ top="5vh" class="dialog-h" @closed="diaDetailClose"> - + @@ -270,7 +242,7 @@ + diff --git a/src/views/modules/sys/icvaccineprarmeter.vue b/src/views/modules/sys/icvaccineprarmeter.vue index 6146e30f2..39c1a67f5 100644 --- a/src/views/modules/sys/icvaccineprarmeter.vue +++ b/src/views/modules/sys/icvaccineprarmeter.vue @@ -1,24 +1,25 @@ From 317d9af5857a59ac2b70ecf25cfab46751bf9ef7 Mon Sep 17 00:00:00 2001 From: jiangyy Date: Wed, 28 Sep 2022 09:33:45 +0800 Subject: [PATCH 6/6] =?UTF-8?q?=E8=AF=A6=E6=83=85=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../scss/modules/management/detail-main.scss | 3 + .../modules/sys/icvaccineprarmeter-detail.vue | 959 +++--------------- src/views/modules/sys/icvaccineprarmeter.vue | 10 +- 3 files changed, 150 insertions(+), 822 deletions(-) diff --git a/src/assets/scss/modules/management/detail-main.scss b/src/assets/scss/modules/management/detail-main.scss index e89af1e6e..e79c35498 100644 --- a/src/assets/scss/modules/management/detail-main.scss +++ b/src/assets/scss/modules/management/detail-main.scss @@ -144,6 +144,9 @@ .info-title-4{ flex: 0 0 110px; } + .info-title-5{ + flex: 0 0 130px; + } > span, > div { diff --git a/src/views/modules/sys/icvaccineprarmeter-detail.vue b/src/views/modules/sys/icvaccineprarmeter-detail.vue index 737000bda..ee8190d6b 100644 --- a/src/views/modules/sys/icvaccineprarmeter-detail.vue +++ b/src/views/modules/sys/icvaccineprarmeter-detail.vue @@ -1,326 +1,109 @@ +@import "@/assets/scss/modules/management/detail-main.scss"; + \ No newline at end of file diff --git a/src/views/modules/sys/icvaccineprarmeter.vue b/src/views/modules/sys/icvaccineprarmeter.vue index 39c1a67f5..acaea1f56 100644 --- a/src/views/modules/sys/icvaccineprarmeter.vue +++ b/src/views/modules/sys/icvaccineprarmeter.vue @@ -568,12 +568,14 @@ export default { async handleLook (rowIndex) { // this.formTitle = "查看"; - this.diaDetailClose = true; - await nextTick(); - this.$refs.ref_detail.init(this.dataList[rowIndex], true); + this.detailShow = true; + this.$nextTick(() => { + this.$refs.ref_detail.init(this.dataList[rowIndex], true); + }) + }, diaDetailClose () { - this.diaDetailClose = false + this.detailShow = false }, handleClearVillage () { this.dataForm.buildId = ''