Explorar el Código

首次完善个人信息,若不选择【所在城市】,点击【进入科袖】后,所在城市保存为undefined。解决

jack %!s(int64=8) %!d(string=hace) años
padre
commit
6ace212cb3
Se han modificado 1 ficheros con 1 adiciones y 37 borrados
  1. 1 37
      app/js/myaccount.js

+ 1 - 37
app/js/myaccount.js

@ -115,42 +115,6 @@ mui.ready(function() {
115 115
							});
116 116
						}
117 117
					})
118
					//				oEdit.addEventListener('tap', function() {
119
					//
120
					//						mui.openWindow({
121
					//							url: '../html/proinforupdate.html',
122
					//							id: 'html/proinforupdate.html',
123
					//							show: {
124
					//								autoShow: false,
125
					//								aniShow: "slide-in-left"
126
					//							},
127
					//
128
					//						});
129
					//					} else if(oFlag == 2) {
130
					//						/*我的修改企业工作者*/
131
					//						mui.openWindow({
132
					//							url: '../html/companyUpdata.html',
133
					//							id: 'html/companyUpdata.html',
134
					//							show: {
135
					//								autoShow: false,
136
					//								aniShow: "slide-in-left"
137
					//							},
138
					//
139
					//						});
140
					//					} else if(oFlag == 3) {
141
					//						/*我的修改学生*/
142
					//						mui.openWindow({
143
					//							url: '../html/studentUpdata.html',
144
					//							id: 'html/studentUpdata.html',
145
					//							show: {
146
					//								autoShow: false,
147
					//								aniShow: "slide-in-left"
148
					//							},
149
					//
150
					//						});
151
					//					}
152
					//				})
153

154 118
				/*我的历史和评价*/
155 119
				goZixun.addEventListener('tap', function() {
156 120
					if(!clickFlag) return;
@ -220,7 +184,7 @@ mui.ready(function() {
220 184
								userMechanism.innerText = $info.orgName;
221 185
							}
222 186
						}
223
						($info.address != '') ? userCity.innerText = $info.address: userCity.innerText = '';
187
						($info.address) ? userCity.innerText = $info.address: userCity.innerText = '';
224 188
						($info.consultCount != '') ? zixunOk.innerText = $info.consultCount: zixunOk.innerText = '0';
225 189
						var startLeval = parseInt($info.starLevel);						
226 190
						if($info.consultCount) {