|
@@ -204,20 +204,8 @@ export default {
|
204
|
204
|
},
|
205
|
205
|
// 获取报修人登录方式
|
206
|
206
|
getLoginType() {
|
207
|
|
- this.$http.post("service/wechat/getLoginType", {}).then(result => {
|
208
|
|
- if (result.data.status == 200) {
|
209
|
|
- this.requesterLgoinType = result.data.data;
|
210
|
|
- window.localStorage.setItem(
|
211
|
|
- "requesterLgoinType",
|
212
|
|
- this.requesterLgoinType
|
213
|
|
- );
|
214
|
|
- if (this.requesterLgoinType == "wechat") {
|
215
|
|
- this.getCode();
|
216
|
|
- } else if (this.requesterLgoinType == "web") {
|
217
|
|
- // this.$router.push({ path: "/login" });
|
218
|
|
- }
|
219
|
|
- }
|
220
|
|
- });
|
|
207
|
+ this.requesterLgoinType = "wechat";
|
|
208
|
+ this.getCode();
|
221
|
209
|
},
|
222
|
210
|
// 账号密码登录
|
223
|
211
|
zlogin() {
|