diff --git a/src/views/components/resiSearch.vue b/src/views/components/resiSearch.vue index f92110288..185d96020 100644 --- a/src/views/components/resiSearch.vue +++ b/src/views/components/resiSearch.vue @@ -462,10 +462,11 @@ export default { else this.form[n] = '' } + this. agencyIdArray=[] // let arr3 = [...arr1, ...arr] this.$emit('search', []) // this.handleSearch() - this.orgOptions = []; + // this.orgOptions = []; }, handleSearch() { // console.log('formmmmm---', this.form) diff --git a/src/views/modules/communityParty/regionalParty/activitys.vue b/src/views/modules/communityParty/regionalParty/activitys.vue index 7f14586d2..75a4d178b 100644 --- a/src/views/modules/communityParty/regionalParty/activitys.vue +++ b/src/views/modules/communityParty/regionalParty/activitys.vue @@ -223,7 +223,6 @@ :close-on-click-modal="false" :close-on-press-escape="false" :title="formTitle" - :destroy-on-close="true" width="950px" top="5vh" class="dialog-h" @@ -429,6 +428,7 @@ export default { diaClose () { + this.$refs.ref_form.resetData() this.formShow = false }, @@ -449,6 +449,7 @@ export default { handleAdd () { this.formTitle = '新增' + this.formShow = true this.$nextTick(() => { this.$refs.ref_form.initForm('add', null) diff --git a/src/views/modules/communityParty/regionalParty/activitysForm.vue b/src/views/modules/communityParty/regionalParty/activitysForm.vue index 81b926c19..f3eddc04d 100644 --- a/src/views/modules/communityParty/regionalParty/activitysForm.vue +++ b/src/views/modules/communityParty/regionalParty/activitysForm.vue @@ -258,7 +258,7 @@ export default { latitude: 120.38945519 //纬度 }, serviceList: [], - gridList: [], + // gridList: [], agencyId: '' } diff --git a/src/views/modules/communityService/dqfwzx/cpts/edit.vue b/src/views/modules/communityService/dqfwzx/cpts/edit.vue index fb1e16b03..8b31439d7 100644 --- a/src/views/modules/communityService/dqfwzx/cpts/edit.vue +++ b/src/views/modules/communityService/dqfwzx/cpts/edit.vue @@ -438,8 +438,13 @@ export default { }, // 地图初始化函数,本例取名为init,开发者可根据实际情况定义 initMap() { + let { latitude, longitude } = this.$store.state.user; + if (!latitude || latitude == "" || latitude == "0") { + latitude = 39.9088810666821; + longitude = 116.39743841556731; + } // 定义地图中心点坐标 - var center = new window.TMap.LatLng(36.0722275, 120.38945519); + var center = new window.TMap.LatLng(latitude, longitude); // 定义map变量,调用 TMap.Map() 构造函数创建地图 map = new window.TMap.Map(document.getElementById("app"), { center: center, // 设置地图中心点坐标 diff --git a/src/views/modules/communityService/sqzzz/cpts/edit.vue b/src/views/modules/communityService/sqzzz/cpts/edit.vue index 508d61ed1..e0c54fcc3 100644 --- a/src/views/modules/communityService/sqzzz/cpts/edit.vue +++ b/src/views/modules/communityService/sqzzz/cpts/edit.vue @@ -391,8 +391,13 @@ export default { }, // 地图初始化函数,本例取名为init,开发者可根据实际情况定义 initMap() { + let { latitude, longitude } = this.$store.state.user; + if (!latitude || latitude == "" || latitude == "0") { + latitude = 39.9088810666821; + longitude = 116.39743841556731; + } // 定义地图中心点坐标 - var center = new window.TMap.LatLng(36.0722275, 120.38945519); + var center = new window.TMap.LatLng(latitude, longitude); // 定义map变量,调用 TMap.Map() 构造函数创建地图 map = new window.TMap.Map(document.getElementById("app"), { center: center, // 设置地图中心点坐标 diff --git a/src/views/modules/cpts/base/cpts/edit.vue b/src/views/modules/cpts/base/cpts/edit.vue index c2a66f134..5bcaa412d 100644 --- a/src/views/modules/cpts/base/cpts/edit.vue +++ b/src/views/modules/cpts/base/cpts/edit.vue @@ -68,8 +68,8 @@ class="item-number" size="small" clearable - show-word-limit - :rows="3" + :precision="item.precision || 0" + :step="item.step || 1" :min="item.min || 0" :max="item.max || 999999999999" :placeholder="item.placeholder || '请输入'" @@ -100,10 +100,10 @@