Commit d5dbfecd authored by kaitly205422@163.com's avatar kaitly205422@163.com

下载附加

parent 76665a98
...@@ -459,12 +459,13 @@ export default { ...@@ -459,12 +459,13 @@ export default {
done(false); done(false);
return; return;
} else { } else {
postFun(`/risk/advise`, { postFun(`/system/risk/plan/advise`, {
value: this.advice.value, value: this.advice.value,
id: this.planId id: this.planId
}).then(res => { }).then(res => {
done(); done();
window.open(res.data); // window.open();
window.open(window.location.origin + '/app-api/system/risk/plan/export/' + this.planId);
}) })
} }
} else { } else {
......
...@@ -11,7 +11,8 @@ module.exports = { ...@@ -11,7 +11,8 @@ module.exports = {
//配置跨域 //配置跨域
"/app-api": { "/app-api": {
// target: "http://192.168.4.232:8080/", //这里是后台的地址 // target: "http://192.168.4.232:8080/", //这里是后台的地址
target: "http://192.168.15.230:8080/", //这里是晓晋的地址 // target: "http://192.168.15.230:8080/", //这里是晓晋的地址
target: "http://192.168.14.232:8080", //这里是晓晋的地址
ws: true, ws: true,
changOrigin: true, //允许跨域 changOrigin: true, //允许跨域
// logLevel: 'debug', // 显示代理调试信息 // logLevel: 'debug', // 显示代理调试信息
......
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