diff --git a/src/assets/scss/modules/management/detail-main.scss b/src/assets/scss/modules/management/detail-main.scss index e89af1e6e..31f16237f 100644 --- a/src/assets/scss/modules/management/detail-main.scss +++ b/src/assets/scss/modules/management/detail-main.scss @@ -17,7 +17,7 @@ } .div-btn{ - margin-top:50px; + margin-top:30px; // margin-bottom:20px; display: flex; justify-content: center; @@ -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/base/community/buildDetail.vue b/src/views/modules/base/community/buildDetail.vue index 31039d156..270e0ae72 100644 --- a/src/views/modules/base/community/buildDetail.vue +++ b/src/views/modules/base/community/buildDetail.vue @@ -68,7 +68,11 @@ +
+ 关 闭 +
@@ -120,6 +124,11 @@ export default { }, methods: { + handleCancle () { + this.diaDestroy() + this.$emit('diaDetailClose') + + }, diaDestroy () { if (map) { map.destroy() diff --git a/src/views/modules/base/community/buildTable.vue b/src/views/modules/base/community/buildTable.vue index 97fd4eb2f..b8d5ecafc 100644 --- a/src/views/modules/base/community/buildTable.vue +++ b/src/views/modules/base/community/buildTable.vue @@ -14,7 +14,8 @@ size="small" @click="handleExportModule('building')">下载楼栋模板 - 下载房屋模板 - - + diff --git a/src/views/modules/base/community/communityDetail.vue b/src/views/modules/base/community/communityDetail.vue index b04e4f30f..26367608e 100644 --- a/src/views/modules/base/community/communityDetail.vue +++ b/src/views/modules/base/community/communityDetail.vue @@ -61,7 +61,11 @@ +
+ 关 闭 +
@@ -106,6 +110,11 @@ export default { }, methods: { + handleCancle () { + this.diaDestroy() + this.$emit('diaDetailClose') + + }, diaDestroy () { if (map) { map.destroy() diff --git a/src/views/modules/base/community/communityTable.vue b/src/views/modules/base/community/communityTable.vue index ede5b04ce..519ffa792 100644 --- a/src/views/modules/base/community/communityTable.vue +++ b/src/views/modules/base/community/communityTable.vue @@ -26,7 +26,8 @@ size="small" @click="handleExportModule('community')">下载小区模板 - 下载楼栋模板 - 下载房屋模板 - - + diff --git a/src/views/modules/base/community/roomDetail.vue b/src/views/modules/base/community/roomDetail.vue index fe7d74547..45bc21fc3 100644 --- a/src/views/modules/base/community/roomDetail.vue +++ b/src/views/modules/base/community/roomDetail.vue @@ -66,7 +66,11 @@ +
+ 关 闭 +
@@ -117,7 +121,11 @@ export default { }, methods: { + handleCancle () { + // this.diaDestroy() + this.$emit('diaDetailClose') + }, diaDestroy () { if (map) { map.destroy() diff --git a/src/views/modules/base/community/roomTable.vue b/src/views/modules/base/community/roomTable.vue index a0b92e4ce..354b3684d 100644 --- a/src/views/modules/base/community/roomTable.vue +++ b/src/views/modules/base/community/roomTable.vue @@ -8,7 +8,8 @@ @click="handleAdd">新增房屋
- 下载房屋模板 @@ -196,7 +197,8 @@ top="5vh" class="dialog-h" @closed="detailFormCancle"> - + diff --git a/src/views/modules/base/epidemic/natInfo/noNatDetail.vue b/src/views/modules/base/epidemic/natInfo/noNatDetail.vue new file mode 100644 index 000000000..8cf1bcb1b --- /dev/null +++ b/src/views/modules/base/epidemic/natInfo/noNatDetail.vue @@ -0,0 +1,165 @@ + + + + + + + + + + + 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..69640c259 --- /dev/null +++ b/src/views/modules/base/epidemic/natInfo/noNatList.vue @@ -0,0 +1,715 @@ + + + + + + diff --git a/src/views/modules/base/huji/chusheng/cpts/detail.vue b/src/views/modules/base/huji/chusheng/cpts/detail.vue index 95a0f4058..b68fae161 100644 --- a/src/views/modules/base/huji/chusheng/cpts/detail.vue +++ b/src/views/modules/base/huji/chusheng/cpts/detail.vue @@ -71,7 +71,11 @@
+
+ 关 闭 +
@@ -132,7 +136,11 @@ export default { methods: { + handleCancle () { + + this.$emit('diaDetailClose') + }, async initForm (row) { await this.getInfo(row.id); diff --git a/src/views/modules/base/huji/chusheng/index.vue b/src/views/modules/base/huji/chusheng/index.vue index 659071823..a4112360a 100644 --- a/src/views/modules/base/huji/chusheng/index.vue +++ b/src/views/modules/base/huji/chusheng/index.vue @@ -168,7 +168,8 @@ class="diy-button--export" size="small" @click="handleExportModule('room')">下载模板 - - + + diff --git a/src/views/modules/base/huji/immigration/detail.vue b/src/views/modules/base/huji/immigration/detail.vue index 84e595d76..fcdafa994 100644 --- a/src/views/modules/base/huji/immigration/detail.vue +++ b/src/views/modules/base/huji/immigration/detail.vue @@ -71,7 +71,11 @@ +
+ 关 闭 +
@@ -99,7 +103,11 @@ export default { }, methods: { + handleCancle () { + + this.$emit('diaDetailClose') + }, async initForm (id) { await this.getDatail(id) diff --git a/src/views/modules/base/huji/immigration/index.vue b/src/views/modules/base/huji/immigration/index.vue index be5ccf66f..a15e65ba0 100644 --- a/src/views/modules/base/huji/immigration/index.vue +++ b/src/views/modules/base/huji/immigration/index.vue @@ -357,7 +357,8 @@ class="dialog-h" @closed="detailFormCancle"> + ref="ref_form_detail" + @diaDetailClose="detailFormCancle"> diff --git a/src/views/modules/communityParty/elegant/detail.vue b/src/views/modules/communityParty/elegant/detail.vue index bcddf5b3d..9586d16c1 100644 --- a/src/views/modules/communityParty/elegant/detail.vue +++ b/src/views/modules/communityParty/elegant/detail.vue @@ -43,7 +43,11 @@ +
+ 关 闭 +
@@ -73,6 +77,11 @@ export default { }, methods: { + handleCancle () { + + this.$emit('diaDetailClose') + + }, async initForm (row) { diff --git a/src/views/modules/communityParty/elegant/index.vue b/src/views/modules/communityParty/elegant/index.vue index 292ca37ac..0a26f120f 100644 --- a/src/views/modules/communityParty/elegant/index.vue +++ b/src/views/modules/communityParty/elegant/index.vue @@ -290,7 +290,8 @@ top="5vh" class="dialog-h" @closed="detailFormCancle"> - + diff --git a/src/views/modules/communityParty/heart/heartDetail.vue b/src/views/modules/communityParty/heart/heartDetail.vue index 6832a618c..b9b2869bf 100644 --- a/src/views/modules/communityParty/heart/heartDetail.vue +++ b/src/views/modules/communityParty/heart/heartDetail.vue @@ -171,7 +171,11 @@ +
+ 关 闭 +
@@ -435,8 +439,8 @@ export default { handleCancle () { - this.resetData() - this.$emit('dialogCancle') + + this.$emit('diaDetailClose') }, diff --git a/src/views/modules/communityParty/heart/heartList.vue b/src/views/modules/communityParty/heart/heartList.vue index e1c0432d7..7b5dff515 100644 --- a/src/views/modules/communityParty/heart/heartList.vue +++ b/src/views/modules/communityParty/heart/heartList.vue @@ -243,7 +243,8 @@ top="5vh" class="dialog-h" @closed="detailFormCancle"> - + diff --git a/src/views/modules/communityParty/members/detailForm.vue b/src/views/modules/communityParty/members/detailForm.vue index bcf6a3fc3..e0648dbb1 100644 --- a/src/views/modules/communityParty/members/detailForm.vue +++ b/src/views/modules/communityParty/members/detailForm.vue @@ -1,109 +1,116 @@ @@ -187,7 +194,11 @@ export default { // this.$refs['ruleForm'].resetFields() }, methods: { + handleCancle () { + this.$emit('diaDetailClose') + + }, async saveRecord (form) { const params = { ...form, diff --git a/src/views/modules/communityParty/members/index.vue b/src/views/modules/communityParty/members/index.vue index ea47281fc..f5a710ed3 100644 --- a/src/views/modules/communityParty/members/index.vue +++ b/src/views/modules/communityParty/members/index.vue @@ -335,7 +335,8 @@ + :disabled="disabled" + @diaDetailClose="handlerCancle" /> diff --git a/src/views/modules/communityParty/orgActivity/activivityList/activivityList.vue b/src/views/modules/communityParty/orgActivity/activivityList/activivityList.vue index fa88d16a6..fb2782f0b 100644 --- a/src/views/modules/communityParty/orgActivity/activivityList/activivityList.vue +++ b/src/views/modules/communityParty/orgActivity/activivityList/activivityList.vue @@ -265,7 +265,8 @@ @closed="detailShow = false"> + :icPartyActId="icPartyActId" + @diaDetailClose="detailShow = false">
附件: - -- @@ -60,7 +60,11 @@
+
+ 关 闭 +
@@ -275,8 +279,8 @@ export default { }, handleCancle () { - this.resetData() - this.$emit('handleClose') + + this.$emit('diaDetailClose') }, diff --git a/src/views/modules/communityParty/regionalParty/activitys.vue b/src/views/modules/communityParty/regionalParty/activitys.vue index 9a12e535c..e9785bebb 100644 --- a/src/views/modules/communityParty/regionalParty/activitys.vue +++ b/src/views/modules/communityParty/regionalParty/activitys.vue @@ -245,7 +245,7 @@ + @diaDetailClose="detailClosed">
diff --git a/src/views/modules/communityParty/regionalParty/activitysDetail.vue b/src/views/modules/communityParty/regionalParty/activitysDetail.vue index af98c885f..744bb1be6 100644 --- a/src/views/modules/communityParty/regionalParty/activitysDetail.vue +++ b/src/views/modules/communityParty/regionalParty/activitysDetail.vue @@ -58,11 +58,11 @@ - + @@ -94,7 +94,7 @@ export default { handleCancle () { this.diaDestroy() - this.$emit('diaClose') + this.$emit('diaDetailClose') }, 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/communityParty/stas/index.vue b/src/views/modules/communityParty/stas/index.vue index 04efa189a..afc0660cc 100644 --- a/src/views/modules/communityParty/stas/index.vue +++ b/src/views/modules/communityParty/stas/index.vue @@ -4,23 +4,24 @@ + :label-width="'110px'">
- - + + @change="handleChangeOrg" + clearable /> @@ -47,10 +48,10 @@
- 导出 + 导出
+ label="支部党员大会(次)"> + show-overflow-tooltip> + label="党小组会(次)"> + label="党课(次)"> + label="主题党日(次)"> + label="为民服务活动(次)">
@@ -168,25 +163,25 @@ export default { this.form.joinOrgId = '' } }, - getOrgList() { + getOrgList () { return this.$http - .get('/resi/partymember/icPartyOrg/getSearchTreelist', { - params: { agencyId: localStorage.getItem('agencyId') } - }) - .then(({ data: res }) => { - if (res.code !== 0) { - return this.$message.error(res.msg) - }else { - this.orgList = this.deepArrTOnull(res.data) - } - }).catch(() => {return this.$message.error("网络错误");}) + .get('/resi/partymember/icPartyOrg/getSearchTreelist', { + params: { agencyId: localStorage.getItem('agencyId') } + }) + .then(({ data: res }) => { + if (res.code !== 0) { + return this.$message.error(res.msg) + } else { + this.orgList = this.deepArrTOnull(res.data) + } + }).catch(() => { return this.$message.error("网络错误"); }) }, - deepArrTOnull(arr) { + deepArrTOnull (arr) { let a = [] a = arr.map(item => { return { ...item, - children: (item.children.length > 0 && this.deepArrTOnull(item.children) )|| null + children: (item.children.length > 0 && this.deepArrTOnull(item.children)) || null } }) return a @@ -196,17 +191,17 @@ export default { if (Array.isArray(this.serviceTimeArea) && this.serviceTimeArea.length > 0) { this.form.startTime = this.serviceTimeArea[0]; this.form.endTime = this.serviceTimeArea[1]; - }else { + } else { this.form.startTime = ''; this.form.endTime = ''; } - if (this.form.joinOrgId === '' || this.form.joinOrgId === null || this.form.joinOrgId === undefined){ + if (this.form.joinOrgId === '' || this.form.joinOrgId === null || this.form.joinOrgId === undefined) { let a = this.orgList[0] this.form.joinOrgId = a.id; this.joinOrgIds = this.form.joinOrgId - }else { - if (Array.isArray(this.joinOrgIds)){ + } else { + if (Array.isArray(this.joinOrgIds)) { this.form.joinOrgId = this.joinOrgIds[this.joinOrgIds.length - 1]; } } diff --git a/src/views/modules/communityService/fuwujilu/detailForm.vue b/src/views/modules/communityService/fuwujilu/detailForm.vue index 40665e62b..be802b46c 100644 --- a/src/views/modules/communityService/fuwujilu/detailForm.vue +++ b/src/views/modules/communityService/fuwujilu/detailForm.vue @@ -100,15 +100,11 @@ - + @click="handleCancle">关 闭 + + + :statusArray="statusArray" + @diaDetailClose="diaDetailClose">
+
+ 关 闭 +
@@ -145,7 +149,7 @@ export default { handleCancle () { - this.$emit("close"); + this.$emit("diaDetailClose"); }, }, }; diff --git a/src/views/modules/communityService/fuwuxiangmu/index.vue b/src/views/modules/communityService/fuwuxiangmu/index.vue index 2f5820a8f..a55231b0e 100644 --- a/src/views/modules/communityService/fuwuxiangmu/index.vue +++ b/src/views/modules/communityService/fuwuxiangmu/index.vue @@ -187,7 +187,8 @@ class="dialog-h" @closed="handleClose"> + :formId="formId" + @diaDetailClose="handleClose">
diff --git a/src/views/modules/communityService/fuwuzuzhi/cpts/detail.vue b/src/views/modules/communityService/fuwuzuzhi/cpts/detail.vue index 8b00db98a..2b9322af5 100644 --- a/src/views/modules/communityService/fuwuzuzhi/cpts/detail.vue +++ b/src/views/modules/communityService/fuwuzuzhi/cpts/detail.vue @@ -53,17 +53,11 @@ - +
+ 关 闭 + +
@@ -112,6 +106,17 @@ export default { }, methods: { + handleCancle () { + this.diaDestroy() + this.$emit('diaDetailClose') + + }, + + diaDestroy () { + if (map) { + map.destroy() + } + }, async initForm () { this.startLoading() @@ -258,9 +263,7 @@ export default { }, - handleCancle () { - this.$emit("close"); - }, + // 开启加载动画 startLoading () { loading = Loading.service({ diff --git a/src/views/modules/communityService/fuwuzuzhi/index.vue b/src/views/modules/communityService/fuwuzuzhi/index.vue index 6294dd3e4..93e340ddc 100644 --- a/src/views/modules/communityService/fuwuzuzhi/index.vue +++ b/src/views/modules/communityService/fuwuzuzhi/index.vue @@ -193,7 +193,8 @@ class="dialog-h" @closed="diaDetailClose"> + :formId="formId" + @diaDetailClose="diaDetailClose"> diff --git a/src/views/modules/communityService/measure/detail.vue b/src/views/modules/communityService/measure/detail.vue index 62200acdc..cc51d946f 100644 --- a/src/views/modules/communityService/measure/detail.vue +++ b/src/views/modules/communityService/measure/detail.vue @@ -86,7 +86,11 @@ +
+ 关 闭 +
@@ -123,6 +127,11 @@ export default { }, methods: { + handleCancle () { + + this.$emit('diaDetailClose') + + }, initForm (row) { this.dataForm = JSON.parse(JSON.stringify(row)) console.log(' this.dataForm', this.dataForm) diff --git a/src/views/modules/communityService/measure/index.vue b/src/views/modules/communityService/measure/index.vue index 9487c8665..349dd7bf8 100644 --- a/src/views/modules/communityService/measure/index.vue +++ b/src/views/modules/communityService/measure/index.vue @@ -507,7 +507,8 @@ class="dialog-h" :close-on-click-modal="false" :before-close="detailFormCancle"> - + @@ -959,7 +960,7 @@ export default { }, async handleLook (row, type) { this.detailShow = true - console.log('row',row) + console.log('row', row) this.$nextTick(() => { this.$refs.ref_form_detail.initForm(row) }) diff --git a/src/views/modules/communityService/ninePlaces/inspect/inspect.vue b/src/views/modules/communityService/ninePlaces/inspect/inspect.vue index 6b2d90f6d..936672819 100644 --- a/src/views/modules/communityService/ninePlaces/inspect/inspect.vue +++ b/src/views/modules/communityService/ninePlaces/inspect/inspect.vue @@ -253,7 +253,7 @@ :gridList="gridList" :resultList="resultList" :placeTypeList="placeTypeList" - @dialogCancle="addFormCancle"> + @diaDetailClose="diaDetailClose"> diff --git a/src/views/modules/communityService/ninePlaces/inspect/inspectDetail.vue b/src/views/modules/communityService/ninePlaces/inspect/inspectDetail.vue index a6fa53fff..ff7e19445 100644 --- a/src/views/modules/communityService/ninePlaces/inspect/inspectDetail.vue +++ b/src/views/modules/communityService/ninePlaces/inspect/inspectDetail.vue @@ -1,61 +1,59 @@ @@ -138,7 +136,7 @@ export default { handleCancle () { this.resetData() - this.$emit('dialogCancle') + this.$emit('diaDetailClose') }, diff --git a/src/views/modules/communityService/ninePlaces/places/places.vue b/src/views/modules/communityService/ninePlaces/places/places.vue index 36c6af69f..f97837131 100644 --- a/src/views/modules/communityService/ninePlaces/places/places.vue +++ b/src/views/modules/communityService/ninePlaces/places/places.vue @@ -208,7 +208,7 @@ :agencyId="agencyId" :scaleList="scaleList" :placeTypeList="placeTypeList" - @dialogCancle="addFormCancle"> + @diaDetailClose="diaDetailClose"> diff --git a/src/views/modules/communityService/ninePlaces/places/placesDetail.vue b/src/views/modules/communityService/ninePlaces/places/placesDetail.vue index dbac5af92..2c0a3e1e8 100644 --- a/src/views/modules/communityService/ninePlaces/places/placesDetail.vue +++ b/src/views/modules/communityService/ninePlaces/places/placesDetail.vue @@ -40,15 +40,11 @@ - + @click="handleCancle">关 闭 + + @@ -142,8 +138,8 @@ export default { handleCancle () { - this.resetData() - this.$emit('dialogCancle') + + this.$emit('diaDetailClose') }, diff --git a/src/views/modules/communityService/ninePlaces/team/team.vue b/src/views/modules/communityService/ninePlaces/team/team.vue index 37791495d..ce4691412 100644 --- a/src/views/modules/communityService/ninePlaces/team/team.vue +++ b/src/views/modules/communityService/ninePlaces/team/team.vue @@ -196,7 +196,7 @@ + @diaDetailClose="diaDetailClose"> @@ -344,7 +344,7 @@ export default { // this.formTitle = '详情' this.detailShow = true this.$nextTick(() => { - this.$refs.ref_detail.initForm( row.teamId, this.agencyId) + this.$refs.ref_detail.initForm(row.teamId, this.agencyId) }) }, diff --git a/src/views/modules/communityService/ninePlaces/team/teamDetail.vue b/src/views/modules/communityService/ninePlaces/team/teamDetail.vue index 3ddad9351..3082c700e 100644 --- a/src/views/modules/communityService/ninePlaces/team/teamDetail.vue +++ b/src/views/modules/communityService/ninePlaces/team/teamDetail.vue @@ -51,15 +51,11 @@ - + @click="handleCancle">关 闭 + + @@ -256,8 +252,7 @@ export default { handleCancle () { - this.resetData() - this.$emit('dialogCancle') + this.$emit('diaDetailClose') }, diff --git a/src/views/modules/communityService/worklog/workLog.vue b/src/views/modules/communityService/worklog/workLog.vue index 51b59c910..9584d9954 100644 --- a/src/views/modules/communityService/worklog/workLog.vue +++ b/src/views/modules/communityService/worklog/workLog.vue @@ -258,7 +258,7 @@ class="dialog-h" @closed="diaClose"> + @diaDetailClose="diaClose"> diff --git a/src/views/modules/communityService/worklog/workLogDetail.vue b/src/views/modules/communityService/worklog/workLogDetail.vue index 568510f7c..28e63cdc2 100644 --- a/src/views/modules/communityService/worklog/workLogDetail.vue +++ b/src/views/modules/communityService/worklog/workLogDetail.vue @@ -50,7 +50,11 @@ +
+ 关 闭 +
@@ -74,7 +78,7 @@ export default { methods: { handleCancle () { - this.$emit('diaClose') + this.$emit('diaDetailClose') }, 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..fd7901f0b 100644 --- a/src/views/modules/plugins/point/icpointvaccinesinoculation.vue +++ b/src/views/modules/plugins/point/icpointvaccinesinoculation.vue @@ -1,37 +1,31 @@ @@ -249,11 +201,12 @@ + \ No newline at end of file diff --git a/src/views/modules/sys/icvaccineprarmeter.vue b/src/views/modules/sys/icvaccineprarmeter.vue index 6146e30f2..a64c8d934 100644 --- a/src/views/modules/sys/icvaccineprarmeter.vue +++ b/src/views/modules/sys/icvaccineprarmeter.vue @@ -1,24 +1,25 @@ 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..e8bdad7a5 --- /dev/null +++ b/src/views/modules/workSys/dataOpenConfig.vue @@ -0,0 +1,389 @@ + + + + +