|
@@ -303,12 +303,9 @@ export default {
|
303
|
303
|
area: {}
|
304
|
304
|
};
|
305
|
305
|
}
|
306
|
|
- that.loginUser.branch = {id: selectedVal[0]};
|
307
|
|
- that.loginUser.place.id = selectedVal[1];
|
308
|
|
- that.loginUser.place.area.id = selectedVal[0];
|
309
|
|
- that.loginUser.branch.hosName = selectedText[0];
|
310
|
|
- that.loginUser.place.place = selectedText[1];
|
311
|
|
- that.loginUser.place.area.area = selectedText[0];
|
|
306
|
+ that.loginUser.branch = {id: selectedVal[0], hosName:selectedText[0]};
|
|
307
|
+ that.loginUser.place = {id:selectedVal[2], place:selectedText[2]};
|
|
308
|
+ that.loginUser.place.area = {id:selectedVal[1], area: selectedText[1]};
|
312
|
309
|
var loginUserStr = JSON.stringify(that.loginUser);
|
313
|
310
|
localStorage.setItem("loginUser", loginUserStr);
|
314
|
311
|
that.areaData = selectedText[0] + " " + selectedText[1] + " " + selectedText[2];
|