{{ $t('dialog:sattus:downLoading') }}
@@ -599,6 +599,12 @@ export default {
// }
}
+ if (num >= 100) {
+ this.downLoadType = 'start'
+ this.percentage = 0
+ this.downLoadImageCount = 0
+ this.downloadVisible = false
+ }
// if (type === 'downLoaded') {
// }
// if (type === 'error') {
@@ -621,9 +627,14 @@ export default {
.build()
connection.start()
connection.on("ReceivProgressAsync", (id, num) => {
- this.onUploadProgress2(id, num, 'downLoad')
+ this.onUploadProgress(id, num.sizePercent, 'downLoad')
});
}
}
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/vue.config.js b/vue.config.js
index 9b06683..4f8c499 100644
--- a/vue.config.js
+++ b/vue.config.js
@@ -48,6 +48,20 @@ module.exports = {
'^/api': ''
}
},
+ '/DownloadHub': {
+ // target: 'http://47.90.210.20:8000', //美国服务器
+ // target: 'http://123.56.181.144:8001', // 国内生产环境
+ // target: 'http://123.56.181.144:8060/api', // 国内测试环境1
+ // target: 'http://123.56.181.144:8000/api', // 国内测试环境
+ // target: 'http://106.14.89.110:8079', // 国内测试环境2
+ target: 'http://106.14.89.110:30021', // 国内测试环境2
+ // target: 'http://123.56.181.144:7000',
+ changeOrigin: true,
+ secure: false,
+ pathRewrite: {
+ '^/api': ''
+ }
+ },
'/IRaCISData': {
target: 'http://106.14.89.110:30010', // 国内测试环境2
// target: 'http://123.56.181.144:7000',