1
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
c9d930ce74
commit
97c91899e3
|
|
@ -214,7 +214,7 @@
|
|||
<el-dialog title="" :visible.sync="RecordVisible" :fullscreen="true">
|
||||
<downloadRecord :isSystem="true" v-if="RecordVisible" />
|
||||
</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">
|
||||
<div v-if="downloadType == 'downLoad' || downloadType == 'start'">
|
||||
<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 === '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')
|
||||
});
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<style lang="scss" scoped></style>
|
||||
<style lang="scss" scoped>
|
||||
::v-deep .el-progress {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
</style>
|
||||
|
|
@ -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',
|
||||
|
|
|
|||
Loading…
Reference in New Issue