Browse Source

修复社区服务自组织类型显示问题、地图加载问题

V1.0
duanliangtao 2 years ago
parent
commit
ddebd0fb3e
  1. 1441
      src/views/modules/base/virtualResi.vue
  2. 7
      src/views/modules/communityService/fuwuzuzhi/cpts/edit.vue
  3. 2
      src/views/modules/communityService/fuwuzuzhi/index.vue

1441
src/views/modules/base/virtualResi.vue

File diff suppressed because it is too large

7
src/views/modules/communityService/fuwuzuzhi/cpts/edit.vue

@ -232,16 +232,15 @@ export default {
watch: {},
async mounted () {
this.getCategoryOpitons();
this.initForm();
},
methods: {
async initForm () {
let { latitude, longitude } = this.$store.state.user;
this.initMap();
this.getCategoryOpitons();
if (this.formId && this.formType != "add") {
await this.getInfo();
} else {
@ -249,6 +248,7 @@ export default {
this.fmData.longitude = longitude
}
this.$nextTick(() => {
if (!map) {
this.initMap(this.fmData.latitude, this.fmData.longitude);
@ -271,7 +271,6 @@ export default {
rotation: 45, //
}
);
//
map.on("dragend", (e) => {
this.handleMoveCenter(e);

2
src/views/modules/communityService/fuwuzuzhi/index.vue

@ -261,6 +261,7 @@ export default {
this.agencyId = this.user.agencyId;
this.getCategoryOpitons();
this.getTableData();
},
methods: {
@ -268,7 +269,6 @@ export default {
console.log(this.searchData);
this.pageNo = 1;
this.getCategoryOpitons();
this.getTableData();
},

Loading…
Cancel
Save