Browse Source

components\weatherProphethomepage\WeatherProphethomepage.vue
pages\forecast\Forecast.vue

shilin 4 years ago
parent
commit
ef02eba0ab

+ 2 - 0
components/weatherProphethomepage/WeatherProphethomepage.vue

@@ -971,6 +971,7 @@
 				this.drawerList = uni.getStorageSync('leftlist3');
 			},
 			openDrawer: function() {
+				this.monitoringAuthority();
 				this.outThreeLineDrawerIsShow = true;
 				this.$refs.drawer.openDrawer(250, this.drawerList, this.inconList, this.leftNavigationtitle);
 			},
@@ -978,6 +979,7 @@
 				this.drawerIsShow = false;
 			},
 			showModal(e) {
+				this.viewUserid();
 				this.modalName = e.currentTarget.dataset.target;
 				this.$refs.plusDrawer.showModal(this.plusDrawerList, this.modalName);
 			},

+ 3 - 1
pages/forecast/Forecast.vue

@@ -516,6 +516,7 @@ export default {
 				
 			},
 		openDrawer: function() {
+			this.monitoringAuthority();
 			this.kg=false;
 			this.$refs.drawer.openDrawer(250, this.drawerList, this.inconList,this.leftNavigationtitle);
 		},
@@ -555,6 +556,7 @@ export default {
 			this.monitoringAuthority();
 		},
 		showModal(e) {
+			this.viewUserid();
 			this.kg=false;
 			this.modalName = e.currentTarget.dataset.target;
 			this.$refs.plusDrawer.showModal(this.plusDrawerList, this.modalName);
@@ -572,7 +574,7 @@ export default {
 			
 			
 			uni.request({
-				url: 'http://' + _this.backStageIp + ':' + _this.backStagePort + '/bracelet/bracelet?beginDate=2020-04-20 09:26:27&&endDate=2020-04-25 09:26:29',
+				url: 'http://' + _this.backStageIp + ':' + _this.backStagePort + '/bracelet/bracelet?beginDate=2020-04-20%2009:26:27&&endDate=2020-04-25%2009:26:29',
 				success: res => {
 					ip = res.data;
 				}