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

下载附加

parent c1bafa08
......@@ -28,7 +28,7 @@ export function addPlan(data) {
// 下载风险计划模板添加意见
export function addAdvise(data) {
return request({
url: '/app-api/risk/advise',
url: '/system/risk/plan/advise',
method: 'post',
data: data
})
......
......@@ -970,8 +970,8 @@ export default {
}
.rowText {
writing-mode: vertical-rl;
-webkit-writing-mode: vertical-rl;
writing-mode: vertical-lr;
-webkit-writing-mode: vertical-lr;
font-size: 20px;
}
......
......@@ -251,7 +251,7 @@ export default {
this.getInfo(this.$route.params.id);
},
methods: {
toDown({ id }) {
toDown() {
this.$prompt('风险管控建议', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
......@@ -264,9 +264,10 @@ export default {
}).then(({ value }) => {
addAdvise({
value,
id
id: this.queryParams.planId
}).then(res => {
window.open('http://rongtongpc.censoft.com.cn/dev-api/profile/upload/report/风险评估报告模板.docx');
// window.open('http://rongtongpc.censoft.com.cn/dev-api/system/risk/plan/export/149');
window.open(window.location.origin + '/dev-api/system/risk/plan/export/' + this.queryParams.planId);
})
})
......
......@@ -38,9 +38,9 @@ module.exports = {
[process.env.VUE_APP_BASE_API]: {
// target: "http://192.168.10.137: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.15.152:8081`, //鲍德本地地址
// target: `http://127.0.0.1:8080`, //本地地址
target: `http://192.168.14.232:8080`, //本地地址
changeOrigin: true,
pathRewrite: {
["^" + process.env.VUE_APP_BASE_API]: "",
......@@ -48,7 +48,8 @@ module.exports = {
},
"/app-api": {
// target: "http://192.168.10.137:8080/",
target: `http://192.168.4.232:8080/`, //服务器地址
// target: `http://192.168.4.232:8080/`, //服务器地址
target: `http://192.168.14.232:8080/`, //服务器地址
// target: `http://192.168.15.230:8081`, //晓晋本地地址
// target: `http://192.168.15.152:8081`, //鲍德本地地址
// target: `http://127.0.0.1:8080`, //本地地址
......
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