wgl 4 年之前
父节点
当前提交
747cc5c83a
共有 1 个文件被更改,包括 6 次插入1 次删除
  1. 6 1
      src/projects/pension/views/Master/Health/ChartMap.vue

+ 6 - 1
src/projects/pension/views/Master/Health/ChartMap.vue

@@ -30,6 +30,10 @@
 		mapGetters,
 		mapMutations
 	} from 'vuex'
+	import {
+		currentTimeStamp,
+		parseUnixTime
+	} from '$project/utils'
 	import Amap from '$project/components/Amap.vue'
 	export default {
 		name: 'MasterHealthChartMap',
@@ -48,7 +52,7 @@
 
 				listForm: {
 					//names: this.$route.query.type,
-					day: '2020-10-17'
+					day: ''
 				},
 
 				typeList: '',
@@ -62,6 +66,7 @@
 			} else {
 				this.pageTitle = '活动轨迹';
 			}
+			this.listForm.day = parseUnixTime(currentTimeStamp(), '{y}-{m}-{d}');
 			this.typeList = ['lbs'];
 		},
 		methods: {