|
|
|
@ -230,25 +230,26 @@ |
|
|
|
}, |
|
|
|
openNewPage(url){ |
|
|
|
// window.open(this.$store.state.user.bmPicUrl +url); |
|
|
|
let urlIn=url.replaceAll('\\','/') |
|
|
|
if(url==null||url===''){ |
|
|
|
this.$alert("链接没有数据!", '错误', { |
|
|
|
confirmButtonText: '确定' |
|
|
|
}) |
|
|
|
return false; |
|
|
|
} |
|
|
|
window.open(url); |
|
|
|
// let data={ |
|
|
|
// url:url |
|
|
|
// } |
|
|
|
// checkUrl(data).then(({data}) => { |
|
|
|
// if (data && data.code === 0) { |
|
|
|
// window.open(data.url); |
|
|
|
// } else { |
|
|
|
// this.$alert(data.msg, '错误', { |
|
|
|
// confirmButtonText: '确定' |
|
|
|
// }) |
|
|
|
// } |
|
|
|
// }); |
|
|
|
// window.open(url); |
|
|
|
let data={ |
|
|
|
url:urlIn |
|
|
|
} |
|
|
|
checkUrl(data).then(({data}) => { |
|
|
|
if (data && data.code === 0) { |
|
|
|
window.open(data.url); |
|
|
|
} else { |
|
|
|
this.$alert(data.msg, '错误', { |
|
|
|
confirmButtonText: '确定' |
|
|
|
}) |
|
|
|
} |
|
|
|
}); |
|
|
|
|
|
|
|
}, |
|
|
|
// 获取流程的配置权限 |
|
|
|
|