Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-points
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 c22f6bdb
authored
Dec 05, 2023
by
王志慧
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
积分提现管理
1 parent
e4819ff6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
33 additions
and
3 deletions
src/api/modules/withdraw.js
src/utils/index.js
src/views/withdraw/index.vue
src/api/modules/withdraw.js
View file @
c22f6bd
...
...
@@ -111,4 +111,28 @@ const getDetails = params => {
sign
:
true
})
}
export
default
{
getList
,
getAdmin
,
orderExport
,
integralpay
,
integralApprove
,
integralOut
,
getSms
,
getMerchantList
,
getAllpayAmount
,
getDetails
}
// 普通提现导入
const
uploadXlsx
=
params
=>
{
params
.
method
=
'scrm.api.shopmall.integral.transfer.out.import'
return
http
({
url
:
'rop-scrm-shopmall/router'
,
method
:
'POST'
,
data
:
params
,
sign
:
true
,
noSignAttr
:
[
'file'
],
returnAll
:
true
})
}
// 根据批次号更新普通提现导入为成功状态
const
handleSaveImport
=
params
=>
{
params
.
method
=
`scrm.api.shopmall.integral.transfer.out.import.confirm`
return
http
({
url
:
'rop-scrm-shopmall/router'
,
method
:
'POST'
,
data
:
params
,
sign
:
true
,
returnAll
:
true
})
}
export
default
{
getList
,
getAdmin
,
orderExport
,
integralpay
,
integralApprove
,
integralOut
,
getSms
,
getMerchantList
,
getAllpayAmount
,
getDetails
,
uploadXlsx
,
handleSaveImport
}
src/utils/index.js
View file @
c22f6bd
...
...
@@ -94,12 +94,18 @@ function aToExport(url) {
document
.
body
.
appendChild
(
a
)
a
.
click
()
}
function
getArrayIsSubset
(
arr2
,
arr1
)
{
return
arr2
.
every
(
item
=>
{
console
.
log
(
arr1
.
includes
(
item
))
return
arr1
.
includes
(
item
)
})
}
export
default
{
debounce
,
dateFormat
,
checkPhone
,
getOptionsList
,
secondConfirm
,
aToExport
aToExport
,
getArrayIsSubset
}
src/views/withdraw/index.vue
View file @
c22f6bd
This diff is collapsed.
Click to expand it.
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