Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
founder_vue
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
常超
founder_vue
Commits
85d5cdd2
Commit
85d5cdd2
authored
Jan 18, 2022
by
米嘉伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
导入遮罩
parent
8283890f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
7 deletions
+11
-7
src/views/drFPTX/Index.vue
+11
-7
No files found.
src/views/drFPTX/Index.vue
View file @
85d5cdd2
...
...
@@ -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
:
#055
FE
7
;
background
:
#055
fe
7
;
}
.drlx
/
deep
/
.el-radio__input
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment