Commit cd081521 authored by 5359's avatar 5359

生产环境配置

parent 1a483908
...@@ -62,7 +62,7 @@ export default { ...@@ -62,7 +62,7 @@ export default {
}, },
methods: { methods: {
// createSign() { // createSign() {
// let url = "http://sign.hitachics.com/core/r/api/app/fileViewSvc?attachment_id=13435&apiName=download&sysName=HCL_UPLOAD_FILE&access_token="+window.localStorage.access_token_rl // let url = "http://lease.hitachics.com/core/r/api/app/fileViewSvc?attachment_id=13435&apiName=download&sysName=HCL_UPLOAD_FILE&access_token="+window.localStorage.access_token_rl
// // this.hlsPopup.showLoading("请稍等"); // // this.hlsPopup.showLoading("请稍等");
// window.open(url, "_self"); // window.open(url, "_self");
...@@ -76,7 +76,7 @@ export default { ...@@ -76,7 +76,7 @@ export default {
id + id +
"&apiName=download&sysName=HCL_UPLOAD_FILE&access_token=" + "&apiName=download&sysName=HCL_UPLOAD_FILE&access_token=" +
window.localStorage.access_token_rl; window.localStorage.access_token_rl;
// let url = "http://sign.hitachics.com/core/r/api/app/fileViewSvc?attachment_id=13435&apiName=download&sysName=HCL_UPLOAD_FILE&access_token="+window.localStorage.access_token_rl // let url = "http://lease.hitachics.com/core/r/api/app/fileViewSvc?attachment_id=13435&apiName=download&sysName=HCL_UPLOAD_FILE&access_token="+window.localStorage.access_token_rl
window.open(url); window.open(url);
}else{ }else{
this.$vux.toast.text("合同id不存在,无法下载!", "middle"); this.$vux.toast.text("合同id不存在,无法下载!", "middle");
......
...@@ -194,6 +194,7 @@ export default { ...@@ -194,6 +194,7 @@ export default {
// onConfirm() {} // onConfirm() {}
// }); // });
// } // }
let vm=this
if (!this.subscribe) { if (!this.subscribe) {
hlsPopup.showPopup({ hlsPopup.showPopup({
title: '提示', title: '提示',
...@@ -206,6 +207,7 @@ export default { ...@@ -206,6 +207,7 @@ export default {
title: '提示', title: '提示',
content: '当前用户未完成注册,请先注册!', content: '当前用户未完成注册,请先注册!',
onConfirm: function () { onConfirm: function () {
vm.$router.push({ name: 'UserRegister'})
}, },
}) })
} }
......
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