Commit 85d5cdd2 by 米嘉伟

导入遮罩

parent 8283890f
......@@ -469,8 +469,10 @@
style=" margin-top:10vh"
:visible.sync="dialogVisible"
width="30rem"
:append-to-body='true'
:modal-append-to-body="false"
:close-on-click-modal='false'
:modal='false'
>
<div v-if="showProgress">
<el-progress
......@@ -724,13 +726,12 @@ export default {
// 导入成功,跳转详情
goList () {
if (this.drlx == 3) {
this.dialogVisible = false
this.selectArr = [] // 右边列表
this.datas = []// 左边表格数据项
this.nowSelectData = [] // 左边选中列表数据
this.nowSelectRightData = [] // 右边选中列表数据
this.dialogVisible = false// 进度条弹窗
this.$bus.emit("isBlur", false);
this.showProgress = true // 进度条(正在导入)
this.UploadPercent = 0
this.$store.commit('layout/delcachePageName', 'RAList')
......@@ -741,12 +742,12 @@ export default {
}
})
} else if (this.drlx == 9) {
this.dialogVisible = false
this.selectArr = [] // 右边列表
this.datas = []// 左边表格数据项
this.nowSelectData = [] // 左边选中列表数据
this.nowSelectRightData = [] // 右边选中列表数据
this.dialogVisible = false// 进度条弹窗
this.$bus.emit("isBlur", false);
this.showProgress = true // 进度条(正在导入)
this.UploadPercent = 0
this.$store.commit('layout/delcachePageName', 'RAList')
......@@ -757,13 +758,12 @@ export default {
}
})
} else if (this.drlx == 6) {
this.dialogVisible = false
this.selectArr = [] // 右边列表
this.datas = []// 左边表格数据项
this.nowSelectData = [] // 左边选中列表数据
this.nowSelectRightData = [] // 右边选中列表数据
this.dialogVisible = false// 进度条弹窗
this.$bus.emit("isBlur", false);
this.showProgress = true // 进度条(正在导入)
this.UploadPercent = 0
this.$store.commit('layout/delcachePageName', 'RAList')
......@@ -779,6 +779,7 @@ export default {
abort () {
// this.nowSelectRightData = []
this.dialogVisible = false
this.$bus.emit("isBlur", false);
// this.cancel()
this.UploadPercent = 0
fHttp.cancel()
......@@ -1027,6 +1028,7 @@ export default {
if (this.checkedTargets == 0) {
this.$message.error('请选择逻辑分库')
} else {
this.logicList = this.checkedTargets
this.upload()
}
......@@ -1060,6 +1062,7 @@ export default {
formData.append('logicCaseList', this.logicCaseList)
}
this.dialogVisible = true
this.$bus.emit("isBlur", true);
NetUtil.drFptx.upload(formData, this.drlx, (progressEvent) => {
that.UploadPercent = Number((((progressEvent.loaded / 10 * 10) / progressEvent.total) * 100).toFixed(2))
}).then(res => {
......@@ -1094,6 +1097,7 @@ export default {
} else {
this.$message.error(res.data.message);
this.dialogVisible = false// 进度条弹窗
this.$bus.emit("isBlur", false);
this.UploadPercent = 0
}
})
......@@ -1419,7 +1423,7 @@ export default {
width: 86px;
height: 32px;
line-height: 32px;
background: #F6F8FA;
background: #f6f8fa;
border-radius: 2px;
text-align: center;
font-size: 14px;
......@@ -1437,7 +1441,7 @@ export default {
}
/deep/ .drlx .is-checked {
background: #055FE7;
background: #055fe7;
}
.drlx /deep/ .el-radio__input {
......
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