Browse Source

时间范围修正

wgl 4 năm trước cách đây
mục cha
commit
38dc5dff05

+ 2 - 1
src/projects/business/views/Common/Health/TemperatureRecord.vue

@@ -142,7 +142,7 @@
 					"type": "date",
 					"beginYear": 2020,
 					"endYear": 2040,
-					"endDate": _this.listForm.endTime,
+					"endDate": new Date(),
 					"value": _this.listForm.startTime
 				});
 				picker.show(function(rs) {
@@ -162,6 +162,7 @@
 					"beginYear": 2020,
 					"endYear": 2040,
 					"beginDate": new Date(_this.listForm.startTime),
+					"endDate": new Date(),
 					"value": _this.listForm.endTime
 				});
 				picker.show(function(rs) {

+ 2 - 0
src/projects/business/views/Master/Family/Add.vue

@@ -255,6 +255,8 @@
 			},
 		},
 		mounted() {
+			//获取微信配置
+			WxJsApi.getWxConfig();
 			if (this.subForm.id) {
 				//获取详情
 				this.getDetail();

+ 2 - 0
src/projects/business/views/Master/Tenant/Add.vue

@@ -255,6 +255,8 @@
 			},
 		},
 		mounted() {
+			//获取微信配置
+			WxJsApi.getWxConfig();
 			if (this.subForm.id) {
 				//获取详情
 				this.getDetail();