|
|
@@ -148,10 +148,12 @@ export default {
|
|
|
if(!this.uploadSuccess){
|
|
|
this.$Modal.confirm({
|
|
|
title: '打印票据遇到问题?',
|
|
|
- content: '<p>系统检测到您未成功打印票据,是否尝试手动复制链接到剪贴板下载?</p>',
|
|
|
+ content: '<p>如页面长时间无响应,请点击【确定】按钮,复制链接到手机浏览器下载票据文件</p>',
|
|
|
onOk: () => {
|
|
|
|
|
|
- let url='/wx-print?svc_code=' +this.$route.query.svc_code + '&is_download=true'
|
|
|
+ let baseUrl=process.env.VUE_APP_SERVER_URL
|
|
|
+
|
|
|
+ let url=baseUrl.substring(0,url.indexOf('/'))+'/wx-print?svc_code=' +this.$route.query.svc_code + '&is_download=true'
|
|
|
+ '&cp_id=' + this.$route.query.cp_id + '&doc=' + this.$route.query.doc + '&layout_id='
|
|
|
+ this.$route.query.layout_id + '&data_id=' + this.$route.query.data_id
|
|
|
|