Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
Y
yishuju-ui
Project
Project
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
何远江
yishuju-ui
Commits
e4307e69
Commit
e4307e69
authored
Jan 05, 2025
by
沈翠玲
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
资产导入
parent
e228a557
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
10 deletions
+16
-10
index.vue
src/views/property/import/index.vue
+16
-10
No files found.
src/views/property/import/index.vue
View file @
e4307e69
...
...
@@ -193,15 +193,7 @@
downloadfile
(
'/LoanExcel/downloadTemplate'
,
{},
'模版.xls'
);
};
const
checkData
=
()
=>
{};
const
submitData
=
()
=>
{
LoanSubmit
({
file
:
form
.
path
,
code
:
form
.
code
,
contractNo
:
form
.
contractNo
,
}).
then
((
res
)
=>
{});
uploadRef
.
value
.
clearFiles
();
form
.
path
=
''
;
};
const
handleFileSuccess
=
(
response
,
file
,
fileList
)
=>
{
if
(
!
response
.
success
)
{
ElMessage
.
error
({
...
...
@@ -231,7 +223,21 @@
downloadfile
(
envs
.
VITE_GLOB_API_URL_PREFIX
+
'/sys/static/'
+
row
.
file
,
{},
name
);
};
const
query
=
()
=>
ProTableRef
.
value
?.
search
();
const
submitData
=
()
=>
{
LoanSubmit
({
file
:
form
.
path
,
code
:
form
.
code
,
contractNo
:
form
.
contractNo
,
}).
then
((
res
)
=>
{
ElMessage
.
success
({
message
:
'提交成功'
,
plain
:
true
,
});
uploadRef
.
value
.
clearFiles
();
form
.
path
=
''
;
query
()
});
};
onMounted
(()
=>
{
query
();
});
...
...
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