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
b16ab542
Commit
b16ab542
authored
Jan 11, 2023
by
liuguorong93
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
退役犬新增 绑定接口
parent
5ec615c9
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
44 additions
and
1 deletions
+44
-1
src/views/poDogRetireManage/components/poDogRetireManageEdit.vue
+0
-0
src/views/poDogRetireManage/index.vue
+44
-1
No files found.
src/views/poDogRetireManage/components/poDogRetireManageEdit.vue
View file @
b16ab542
This diff is collapsed.
Click to expand it.
src/views/poDogRetireManage/index.vue
View file @
b16ab542
...
...
@@ -449,7 +449,50 @@ export default {
this
.
$message
(
"已取消删除"
);
});
},
exportData
()
{},
exportData
()
{
this
.
tableLoading
=
true
;
let
params
=
{
pageNow
:
1
,
pageSize
:
99999
,
chipCode
:
this
.
formData
.
chipCode
,
name
:
this
.
formData
.
name
,
birthkssj
:
this
.
formData
.
birthDate
&&
this
.
formData
.
birthDate
.
length
?
this
.
formData
.
birthDate
[
0
]
:
""
,
birthjssj
:
this
.
formData
.
birthDate
&&
this
.
formData
.
birthDate
.
length
?
this
.
formData
.
birthDate
[
1
]
:
""
,
retiredkssj
:
this
.
formData
.
retiredDate
&&
this
.
formData
.
retiredDate
.
length
?
this
.
formData
.
retiredDate
[
0
]
:
""
,
retiredjssj
:
this
.
formData
.
retiredDate
&&
this
.
formData
.
retiredDate
.
length
?
this
.
formData
.
retiredDate
[
1
]
:
""
,
trainingUnit
:
this
.
formData
.
trainingUnit
,
};
axios
.
post
(
exportRetireDogUrl
,
JSON
.
stringify
(
params
),
{
headers
:
{
"Content-Type"
:
"application/json"
},
responseType
:
"blob"
,
})
.
then
((
res
)
=>
{
if
(
!
res
.
data
)
{
this
.
tableLoading
=
false
;
return
;
}
let
obj
=
{
data
:
res
.
data
,
filename
:
"警用退役犬信息.xlsx"
,
};
handleDownFile
(
obj
);
this
.
tableLoading
=
false
;
});
},
// 配置表头
handleHeaderSettings
()
{
this
.
showHeaderSettingBox
=
true
;
...
...
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