Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-pay
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 0a9955c8
authored
Dec 04, 2021
by
cwq0219
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
订单管理-导出
1 parent
c99139b7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
5 deletions
src/api/modules/orderManage.js
src/views/orderManage/index.vue
src/api/modules/orderManage.js
View file @
0a9955c
...
...
@@ -32,4 +32,14 @@ const getOrderDetailApi = params => {
})
}
export
default
{
getListApi
,
getCountApi
,
getOrderDetailApi
}
\ No newline at end of file
const
orderExportApi
=
params
=>
{
params
.
method
=
`
${
defaultPath
}
order.export`
return
http
({
url
:
'rop-scrm-shopmall/router'
,
method
:
'GET'
,
data
:
params
,
sign
:
true
})
}
export
default
{
getListApi
,
getCountApi
,
getOrderDetailApi
,
orderExportApi
}
\ No newline at end of file
src/views/orderManage/index.vue
View file @
0a9955c
...
...
@@ -20,6 +20,7 @@
<span
slot=
"footer"
class=
"footer-btns"
>
<el-button
:size=
"size"
type=
"primary"
@
click=
"handleSearch"
>
查询
</el-button>
<el-button
:size=
"size"
type=
"primary"
@
click=
"handleReset"
>
重置
</el-button>
<el-button
:size=
"size"
type=
"primary"
@
click=
"handleExport"
>
导出
</el-button>
</span>
</glsx-combi-form>
</div>
...
...
@@ -315,10 +316,6 @@ export default {
this
.
secondConfirm
(
'删除'
,
'此功能只删除小程序对应分类区,不会删除分类下的商品,确定删除此分类?'
,
'classifyList'
,
'deleteClassifyApi'
,
{
id
:
row
.
id
})
},
handleTop
(
row
)
{
this
.
secondConfirm
(
'置顶'
,
'确定置顶此分类?'
,
'classifyList'
,
'topClassifyApi'
,
{
id
:
row
.
id
})
},
handleSearch
()
{
this
.
$refs
.
allOrderRef
.
refreshTable
()
},
...
...
@@ -328,6 +325,13 @@ export default {
this
.
getCount
()
},
handleExport
(
row
)
{
var
params
=
this
.
getParams
()
this
.
$apis
.
orderManage
.
orderExportApi
(
params
).
then
(
res
=>
{
window
.
open
(
res
)
})
},
handleReset
()
{
this
.
searchForm
=
{
orderCode
:
''
,
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment