1
This commit is contained in:
parent
efef1eebc8
commit
cfd40a702e
@ -173,7 +173,7 @@ if (process.env.NODE_ENV == "development") {
|
||||
// axios.defaults.baseURL ='http://101.43.164.214:45011/' //上海优益(上海建工)
|
||||
// axios.defaults.baseURL = 'http://192.168.34.221:28888/' //郭圣雄本地
|
||||
// axios.defaults.baseURL = 'http://192.168.34.221:28889/' //郭圣雄本地
|
||||
axios.defaults.baseURL = "http://192.168.34.221:9111/"; //郭圣雄本地
|
||||
// axios.defaults.baseURL = "http://192.168.34.221:9111/"; //郭圣雄本地
|
||||
// axios.defaults.baseURL = 'http://192.168.34.155:19111/' //彭洁本地
|
||||
// axios.defaults.baseURL = 'http://182.90.224.237:51234' //郭圣雄远程
|
||||
// axios.defaults.baseURL = 'http://jxj.zhgdyun.com:61212/' //彭洁远程
|
||||
@ -186,7 +186,7 @@ if (process.env.NODE_ENV == "development") {
|
||||
// axios.defaults.baseURL = 'http://47.93.215.234:9809/'//鞍钢正式地址(弃用)
|
||||
// axios.defaults.baseURL = 'http://42.180.188.17:9809/'//鞍钢正式地址
|
||||
// axios.defaults.baseURL = 'http://47.93.215.234:11211/'//鞍钢测试地址(弃用)
|
||||
// axios.defaults.baseURL = 'http://42.180.188.17:11211/' //鞍钢测试地址
|
||||
axios.defaults.baseURL = 'http://42.180.188.17:11211/' //鞍钢测试地址
|
||||
// axios.defaults.baseURL = 'http://8.136.222.164:8808/'//中科安信正式地址
|
||||
|
||||
} else if (process.env.NODE_ENV == "debug") {
|
||||
|
||||
@ -52,14 +52,14 @@ export default new Vuex.Store({
|
||||
// FILEURL:'http://182.90.224.237:51234/image/',
|
||||
// UPLOADURL: "http://192.168.34.155:19111/upload/image/", // 洁本地
|
||||
// FILEURL: "http://192.168.34.155:19111/image/", //洁本地
|
||||
UPLOADURL:'http://192.168.34.221:9111/upload/image/',// 郭圣雄本地
|
||||
FILEURL:'http://192.168.34.221:9111/image/',//郭圣雄本地
|
||||
// UPLOADURL:'http://192.168.34.221:9111/upload/image/',// 郭圣雄本地
|
||||
// FILEURL:'http://192.168.34.221:9111/image/',//郭圣雄本地
|
||||
// WORKFLOWURL: "http://192.168.34.138:88/#/workspace/forms", //坤工作流地址(本地)
|
||||
WORKFLOWURL: "http://192.168.34.126:88/#/workspace/forms", //罗峰工作流地址(本地)
|
||||
// UPLOADURL:'http://182.90.224.237:51234/upload/image/',// 郭圣雄远程
|
||||
// FILEURL:'http://182.90.224.237:51234/image/',//郭圣雄远程
|
||||
// UPLOADURL:'http://42.180.188.17:11211/upload/image',//测试
|
||||
// FILEURL:'http://42.180.188.17:11211/image/',//测试
|
||||
UPLOADURL:'http://42.180.188.17:11211/upload/image',//测试
|
||||
FILEURL:'http://42.180.188.17:11211/image/',//测试
|
||||
// BASEURL: baseUrl
|
||||
// ? baseUrl
|
||||
// : window.location.protocol + "//" + window.location.host + "/", //正式环境
|
||||
|
||||
@ -276,7 +276,7 @@
|
||||
:preview-src-list="[item.url]">
|
||||
</el-image>
|
||||
<div v-else>
|
||||
<a target="_blank" :href="$store.state.FILEURL + item.url" :download="item.name"
|
||||
<a target="_blank" :href="item.url" :download="item.name"
|
||||
:title="'downloadLink' + index" :ref="'downloadLink' + index">{{ item.name }}</a>
|
||||
</div>
|
||||
|
||||
|
||||
@ -390,7 +390,7 @@
|
||||
:preview-src-list="[item.url]">
|
||||
</el-image>
|
||||
<div v-else>
|
||||
<a target="_blank" :href="$store.state.FILEURL + item.url" :download="item.name"
|
||||
<a target="_blank" :href="item.url" :download="item.name"
|
||||
:title="'downloadLink' + index" :ref="'downloadLink' + index">{{ item.name }}</a>
|
||||
</div>
|
||||
|
||||
|
||||
@ -228,7 +228,7 @@
|
||||
:preview-src-list="[item.url]">
|
||||
</el-image>
|
||||
<div v-else>
|
||||
<a target="_blank" :href="$store.state.FILEURL + item.url" :download="item.name"
|
||||
<a target="_blank" :href="item.url" :download="item.name"
|
||||
:title="'downloadLink' + index" :ref="'downloadLink' + index">{{ item.name }}</a>
|
||||
</div>
|
||||
|
||||
|
||||
@ -236,7 +236,7 @@
|
||||
:preview-src-list="[item.url]">
|
||||
</el-image>
|
||||
<div v-else>
|
||||
<a target="_blank" :href="$store.state.FILEURL + item.url" :download="item.name"
|
||||
<a target="_blank" :href="item.url" :download="item.name"
|
||||
:title="'downloadLink' + index" :ref="'downloadLink' + index">{{ item.name }}</a>
|
||||
</div>
|
||||
|
||||
@ -426,6 +426,13 @@ export default {
|
||||
},
|
||||
},
|
||||
methods: {
|
||||
// downloadFile(url, fileName) {
|
||||
// const link = document.createElement('a');
|
||||
// link.href = url;
|
||||
// link.download = fileName;
|
||||
// link.target = "_blank"; // 可选,如果希望在新窗口中下载文件,请取消注释此行
|
||||
// link.click();
|
||||
// },
|
||||
goBack() {
|
||||
this.dialogFormVisible = true;
|
||||
// this.initData()
|
||||
|
||||
@ -227,7 +227,7 @@
|
||||
:src="item.url" :preview-src-list="[item.url]">
|
||||
</el-image>
|
||||
<div v-else>
|
||||
<a target="_blank" :href="$store.state.FILEURL + item.url" :download="item.name"
|
||||
<a target="_blank" :href="item.url" :download="item.name"
|
||||
:title="'downloadLink' + index" :ref="'downloadLink' + index">{{ item.name
|
||||
}}</a>
|
||||
</div>
|
||||
|
||||
@ -225,7 +225,7 @@
|
||||
:preview-src-list="[item.url]">
|
||||
</el-image>
|
||||
<div v-else>
|
||||
<a target="_blank" :href="$store.state.FILEURL + item.url" :download="item.name"
|
||||
<a target="_blank" :href="item.url" :download="item.name"
|
||||
:title="'downloadLink' + index" :ref="'downloadLink' + index">{{ item.name }}</a>
|
||||
</div>
|
||||
|
||||
|
||||
@ -240,7 +240,7 @@
|
||||
:preview-src-list="[item.url]">
|
||||
</el-image>
|
||||
<div v-else>
|
||||
<a target="_blank" :href="$store.state.FILEURL + item.url" :download="item.name"
|
||||
<a target="_blank" :href="item.url" :download="item.name"
|
||||
:title="'downloadLink' + index" :ref="'downloadLink' + index">{{ item.name }}</a>
|
||||
</div>
|
||||
|
||||
|
||||
@ -216,7 +216,7 @@
|
||||
:preview-src-list="[item.url]">
|
||||
</el-image>
|
||||
<div v-else>
|
||||
<a target="_blank" :href="$store.state.FILEURL + item.url" :download="item.name"
|
||||
<a target="_blank" :href="item.url" :download="item.name"
|
||||
:title="'downloadLink' + index" :ref="'downloadLink' + index">{{ item.name }}</a>
|
||||
</div>
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user