1
continuous-integration/drone/push Build is passing Details

main
wangxiaoshuang 2025-12-17 16:01:18 +08:00
parent c9d930ce74
commit 97c91899e3
2 changed files with 28 additions and 3 deletions

View File

@ -214,7 +214,7 @@
<el-dialog title="" :visible.sync="RecordVisible" :fullscreen="true"> <el-dialog title="" :visible.sync="RecordVisible" :fullscreen="true">
<downloadRecord :isSystem="true" v-if="RecordVisible" /> <downloadRecord :isSystem="true" v-if="RecordVisible" />
</el-dialog> </el-dialog>
<el-dialog :title="$t('dialog:title:downLoadProgress')" :visible.sync="downloadVisible" width="30%" <el-dialog :title="$t('dialog:title:downLoadProgress')" :visible.sync="downloadVisible" width="35%"
:close-on-click-modal="false" :close-on-press-escape="false" :before-close="handleClose"> :close-on-click-modal="false" :close-on-press-escape="false" :before-close="handleClose">
<div v-if="downloadType == 'downLoad' || downloadType == 'start'"> <div v-if="downloadType == 'downLoad' || downloadType == 'start'">
<span style="margin-bottom: 5px;">{{ $t('dialog:sattus:downLoading') }}</span> <span style="margin-bottom: 5px;">{{ $t('dialog:sattus:downLoading') }}</span>
@ -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 === 'downLoaded') {
// } // }
// if (type === 'error') { // if (type === 'error') {
@ -621,9 +627,14 @@ export default {
.build() .build()
connection.start() connection.start()
connection.on("ReceivProgressAsync", (id, num) => { connection.on("ReceivProgressAsync", (id, num) => {
this.onUploadProgress2(id, num, 'downLoad') this.onUploadProgress(id, num.sizePercent, 'downLoad')
}); });
} }
} }
</script> </script>
<style lang="scss" scoped></style> <style lang="scss" scoped>
::v-deep .el-progress {
display: flex;
align-items: center;
}
</style>

View File

@ -48,6 +48,20 @@ module.exports = {
'^/api': '' '^/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': { '/IRaCISData': {
target: 'http://106.14.89.110:30010', // 国内测试环境2 target: 'http://106.14.89.110:30010', // 国内测试环境2
// target: 'http://123.56.181.144:7000', // target: 'http://123.56.181.144:7000',