Commit 1c1355da by zhanghou

增加面函下载功能

parent c3ecca68
...@@ -29,7 +29,7 @@ export default { ...@@ -29,7 +29,7 @@ export default {
const params = { const params = {
index: routeQuery.idx, index: routeQuery.idx,
}; };
let res = await Api.post('/service/gitopn/executeDocpan1', this.wrapper(params)); let res = await Api.post('/service/gitopn/executeDocpan', this.wrapper(params));
if (res.respCode == SUCCESS) { if (res.respCode == SUCCESS) {
let base64Str = res.data.executeDocpan; let base64Str = res.data.executeDocpan;
let bstr = window.atob(base64Str); // 解码 base-64 编码的字符串,base-64 编码使用方法是 btoa() let bstr = window.atob(base64Str); // 解码 base-64 编码的字符串,base-64 编码使用方法是 btoa()
...@@ -47,7 +47,7 @@ export default { ...@@ -47,7 +47,7 @@ export default {
const params = { const params = {
index: routeQuery.idx, index: routeQuery.idx,
}; };
let res = await Api.post('/service/gitopn/executeDocpan1', this.wrapper(params)); let res = await Api.post('/service/gitopn/executeDocpan', this.wrapper(params));
if (res.respCode == SUCCESS) { if (res.respCode == SUCCESS) {
let base64Str = res.data.executeDocpan; let base64Str = res.data.executeDocpan;
let bstr = window.atob(base64Str); // 解码 base-64 编码的字符串,base-64 编码使用方法是 btoa() let bstr = window.atob(base64Str); // 解码 base-64 编码的字符串,base-64 编码使用方法是 btoa()
......
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