Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
bdc
/
bdcjg-web
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
5e4d764f
authored
2023-05-16 13:21:25 +0800
by
renchao@pashanhoo.com
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'master' into dev
2 parents
21f1641f
0d04d432
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
src/views/qxjr/jsbwcx/index.vue
src/views/qxjr/jsbwcx/index.vue
View file @
5e4d764
...
...
@@ -81,8 +81,8 @@
<btn
nativeType=
"cz"
@
click=
"resetForm"
>
重置
</btn>
<btn
nativeType=
"cx"
@
click=
"handleSearch"
>
查询
</btn>
<el-upload
ref=
"upload"
style=
"display:inline-block;margin-left: 10px"
action=
""
:auto-upload=
"false"
:limit=
"1"
accept=
".xml"
:show-file-list=
"false"
:
file-list=
"fileList"
:
before-upload=
"uploadRecord"
:on-change=
"fileChange"
>
accept=
".xml"
:show-file-list=
"false"
:before-upload=
"uploadRecord"
:on-change=
"fileChange"
>
<btn
nativeType=
"cx"
>
xml导入
</btn>
</el-upload>
</el-form-item>
...
...
@@ -123,7 +123,6 @@
},
data
()
{
return
{
fileList
:
[],
pickerOptionsStart
:
{
disabledDate
:
(
time
)
=>
{
let
endDateVal
=
this
.
form
.
receiveEndTime
;
...
...
@@ -235,6 +234,7 @@
},
methods
:
{
uploadRecord
(
file
)
{
console
.
log
(
file
,
'eee11111111111111'
);
this
.
requested
=
true
this
.
files
=
file
;
const
extension
=
file
.
name
.
split
(
'.'
)[
1
]
===
'xml'
...
...
Please
register
or
sign in
to post a comment