Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
任超
/
js.CadastralSystem
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
4f5dc1fe
authored
2020-12-16 17:35:52 +0800
by
weimo934
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
feat(sxdr):修改导入模板
1 parent
43d91574
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
src/components/sxdr/sxdr.vue
src/components/sxdr/sxdr.vue
View file @
4f5dc1f
...
...
@@ -50,7 +50,8 @@
uploadUrl
:
''
,
isVisible
:
false
,
sxdrData
:
{
bsm
:
''
bsm
:
''
,
type
:
''
},
errorData
:
[]
}
...
...
@@ -72,13 +73,12 @@
this
.
reset
();
},
downloadTemplate
()
{
window
.
open
(
`/api/tx/excelGeo/
zdT
emplate?type=`
+
this
.
dylx
);
window
.
open
(
`/api/tx/excelGeo/
t
emplate?type=`
+
this
.
dylx
);
},
uploadSuccess
(
res
,
file
,
fileList
)
{
this
.
errorData
=
[];
if
(
res
.
success
)
{
this
.
$message
.
success
(
"上传成功"
)
debugger
this
.
loading
();
this
.
close
()
}
else
{
...
...
@@ -96,9 +96,10 @@
this
.
isVisible
=
val
;
},
dylx
(
val
)
{
this
.
sxdrData
.
type
=
val
;
switch
(
val
)
{
case
"zd"
:
this
.
uploadUrl
=
"/api/tx/excelGeo/
Zd
import"
;
this
.
uploadUrl
=
"/api/tx/excelGeo/import"
;
break
;
default
:
break
;
...
...
Please
register
or
sign in
to post a comment