Browse Source

添加登记时间参数

zizhong.wang 5 years ago
parent
commit
14aa69771b

+ 2 - 1
App.vue

@@ -14,7 +14,8 @@
 			userPhone:'',
 			userCodeNumber:'',
 			managerName:'',
-			managerPhone:''
+			managerPhone:'',
+			addTime:'',
 		},
 		onLaunch: function() {
 			uni.hideTabBar({})

+ 1 - 0
pages/index/customPage/index.vue

@@ -342,6 +342,7 @@
 								getApp().globalData.userCodeNumber = that.loginObj.code;
 								getApp().globalData.managerPhone = that.loginObj.qyjl_phone;
 								getApp().globalData.managerName = that.loginObj.qyjl_name;
+								getApp().globalData.addTime = that.loginObj.addtime;
 								this.goCustomCardPage(that.loginObj.pass)
 							}
 						    else {

+ 1 - 0
pages/index/dealerPage/index.vue

@@ -199,6 +199,7 @@
 							getApp().globalData.userCodeNumber = that.loginObj.code;
 							getApp().globalData.managerPhone = that.loginObj.qyjl_phone;
 							getApp().globalData.managerName = that.loginObj.qyjl_name;
+							getApp().globalData.addTime = that.loginObj.addtime;
 							this.goCustomCardPage(that.loginObj.pass)
 						}
 						else {

+ 1 - 1
pages/index/successPage/index.vue

@@ -34,7 +34,7 @@
 				pageTypes:'custom',
 				salePhone:getApp().globalData.managerPhone || '18968063152',
 				saleName:getApp().globalData.managerName || '王亚楠',
-				registerDate:'2020-07-06 12:12',
+				registerDate:getApp().globalData.addTime,
 				userCodeNumber:getApp().globalData.userCodeNumber
 			}
 		},