Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
fns_backend
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Zhang Xiaojie
fns_backend
Commits
d67ae5b8
Commit
d67ae5b8
authored
Nov 18, 2021
by
chenqikuai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修复点击导入后再次点击导入选择文件后没有执行导入的bug
parent
bae282cf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
index.vue
src/views/Root/User/index.vue
+3
-2
No files found.
src/views/Root/User/index.vue
View file @
d67ae5b8
...
@@ -152,7 +152,8 @@ export default Vue.extend({
...
@@ -152,7 +152,8 @@ export default Vue.extend({
async
handleFileChange
(
e
:
Event
)
{
async
handleFileChange
(
e
:
Event
)
{
this
.
loading
=
true
this
.
loading
=
true
try
{
try
{
const
ret
=
await
handle
建设银行
excelFileChange
(
e
)
const
ret
=
await
handle
建设银行
excelFileChange
(
e
);
(
this
.
$refs
.
importExcel
as
HTMLInputElement
).
value
=
''
;
const
ret2
=
await
StaffService
.
getInstance
().
import
({
const
ret2
=
await
StaffService
.
getInstance
().
import
({
staffs
:
ret
as
iStaffItem
[],
staffs
:
ret
as
iStaffItem
[],
})
})
...
@@ -161,7 +162,7 @@ export default Vue.extend({
...
@@ -161,7 +162,7 @@ export default Vue.extend({
;(
this
.
$refs
.
headerSelect
as
any
).
init
()
;(
this
.
$refs
.
headerSelect
as
any
).
init
()
}
}
}
catch
(
err
)
{
}
catch
(
err
)
{
message
.
error
(
err
)
message
.
error
(
err
as
string
)
}
}
this
.
loading
=
false
this
.
loading
=
false
},
},
...
...
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