Commit 73605028 by 伍思炜

毕业生宽带后台设置

parent 80d815e3
...@@ -429,7 +429,7 @@ ...@@ -429,7 +429,7 @@
key: 'isShowyhgj', key: 'isShowyhgj',
}, },
{ {
title: '毕业生优惠', title: '毕业生宽带',
value: 'bysyhBTN', value: 'bysyhBTN',
key: 'bysyhBTN', key: 'bysyhBTN',
children: [ children: [
...@@ -439,7 +439,7 @@ ...@@ -439,7 +439,7 @@
key: 'sjkbl', key: 'sjkbl',
}, },
{ {
title: '老用户优惠', title: '老用户办理',
value: 'lyhyh', value: 'lyhyh',
key: 'lyhyh', key: 'lyhyh',
} }
...@@ -726,18 +726,19 @@ ...@@ -726,18 +726,19 @@
id: data.id id: data.id
} }
let url = ""; let url = "";
if (data.serviceQrcode != undefined) { let url2 = "";
if (data.serviceQrcode) {
url = this.baseuploadUrl() + "app/ciop" + data.serviceQrcode.replace("enclosure", ""); url = this.baseuploadUrl() + "app/ciop" + data.serviceQrcode.replace("enclosure", "");
} else { } else {
url = this.baseuploadUrl() + "app/"; url = this.baseuploadUrl() + "app/";
} }
if (data.packageQrcode != undefined) { if (data.packageQrcode) {
url = this.baseuploadUrl() + "app/ciop" + data.packageQrcode.replace("enclosure", ""); url2 = this.baseuploadUrl() + "app/ciop" + data.packageQrcode.replace("enclosure", "");
} else { } else {
url = this.baseuploadUrl() + "app/"; url2 = this.baseuploadUrl() + "app/";
} }
if (!(data.serviceQrcode == null || data.serviceQrcode == "")) { if (data.serviceQrcode) {
//下载图片浏览 //下载图片浏览
this.fileList.push({ this.fileList.push({
uid: this.getuuid(), uid: this.getuuid(),
...@@ -746,13 +747,13 @@ ...@@ -746,13 +747,13 @@
url: url, url: url,
}) })
} }
if (!(data.packageQrcode == null || data.packageQrcode == "")) { if (data.packageQrcode) {
//下载图片浏览 //下载图片浏览
this.fileList2.push({ this.fileList2.push({
uid: this.getuuid(), uid: this.getuuid(),
name: '找不到图片', name: '找不到图片',
status: 'done', status: 'done',
url: url, url: url2,
}) })
} }
this.modifyForm.id = data.id this.modifyForm.id = data.id
......
...@@ -195,14 +195,16 @@ ...@@ -195,14 +195,16 @@
} }
getPhoneCode(data).then(res => { getPhoneCode(data).then(res => {
if (res.code == 200) { if (res.code == 200) {
this.$notification.success({ // this.$notification.success({
message: res.message ? res.message : "发送成功", // message: res.message ? res.message : "",
}); // });
return null; return null;
} }
this.$notification.error({ if (res.message != '') {
message: res.message ? res.message : "发送错误", this.$notification.error({
}); message: res.message ? res.message : "",
});
}
}) })
//初始化倒计时 //初始化倒计时
this.countdown = 60; this.countdown = 60;
...@@ -257,6 +259,8 @@ ...@@ -257,6 +259,8 @@
this.departConfirm({}); this.departConfirm({});
}).catch((err) => { }).catch((err) => {
that.requestFailed(err); that.requestFailed(err);
let dow = document.getElementById('gc-canvas');
dow.click();
}) })
} }
}) })
...@@ -273,13 +277,13 @@ ...@@ -273,13 +277,13 @@
return encryptPwd; return encryptPwd;
//return text; //return text;
/* AES 加密 /* AES 加密
let publicKey = "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCAcsbUyeRD2lQGPEnu5LbXOL2lycUJwK/8BsoZD3b932l4JehAvOKR/YNzs6EG4gnZ7gaXLCnWbE5kB1wuUooo6bv8fSAg0W5QmM1TH8zaIImdAaN6c8mw5dUS/2VJ/2GHI54R1NJziX9VHecpf2DrHnWngETsNytmXaVl3JiXywIDAQAB"; let publicKey = "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCAcsbUyeRD2lQGPEnu5LbXOL2lycUJwK/8BsoZD3b932l4JehAvOKR/YNzs6EG4gnZ7gaXLCnWbE5kB1wuUooo6bv8fSAg0W5QmM1TH8zaIImdAaN6c8mw5dUS/2VJ/2GHI54R1NJziX9VHecpf2DrHnWngETsNytmXaVl3JiXywIDAQAB";
var encrypts = AES.encrypt(text,publicKey); var encrypts = AES.encrypt(text,publicKey);
return encrypts; return encrypts;
// var dess = AES.decrypt(encrypts);解密 // var dess = AES.decrypt(encrypts);解密
*/ */
}, },
stepCaptchaSuccess() { stepCaptchaSuccess() {
this.loginSuccess() this.loginSuccess()
...@@ -484,6 +488,7 @@ ...@@ -484,6 +488,7 @@
} }
} }
/deep/ #gc-canvas { /deep/ #gc-canvas {
height: 67vw / @vw; height: 67vw / @vw;
} }
......
...@@ -193,9 +193,9 @@ export default { ...@@ -193,9 +193,9 @@ export default {
} }
registercode(data).then(res=>{ registercode(data).then(res=>{
if (res.code==200){ if (res.code==200){
this.$notification.success({ // this.$notification.success({
message: res.message, // message: res.message,
}); // });
return null; return null;
} }
this.$notification.error({ this.$notification.error({
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment