Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx-web
/
glsx-oss-task
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 b04cf3a3
authored
Mar 11, 2023
by
前端
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
更新v3.6.0代码
1 parent
8dfc18ee
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
458 additions
and
69 deletions
src/api/bankCardWithdrawal.js
src/api/request.js
src/api/upload.js
src/views/bankCardWithdrawal/bankCardList/app.js
src/views/bankCardWithdrawal/bankCardList/cpns/BankCardDialog.vue
src/views/bankCardWithdrawal/bankCardList/cpns/bankCardSearch.vue
src/views/bankCardWithdrawal/bankCardList/index.vue
src/views/profitManagement/profitList/index.vue
src/views/task/addTask/index.vue
src/views/task/analyseTask/cpns/TaskInfo.vue
src/views/task/observeTask/cpns/BasicInfo.vue
src/views/withdrawalManagement/withdrawalList/components/WithdrawalDialog.vue
src/views/withdrawalManagement/withdrawalList/components/WithdrawalSearch.vue
src/api/bankCardWithdrawal.js
0 → 100644
View file @
b04cf3a
import
request
from
'./request'
const
path
=
'merchants.api.staff.withdrawal.'
const
bankCardApi
=
{
// 客户名单列表查询
bankCardListApi
(
data
=
{})
{
data
.
method
=
`
${
path
}
page`
return
request
(
data
)
},
// 批量核销
batchWriteOff
(
data
=
{})
{
data
.
method
=
`
${
path
}
batchWithdrawal`
return
request
(
data
)
},
// 批量失败
batchFail
(
data
=
{})
{
data
.
method
=
`
${
path
}
batchFail`
return
request
(
data
)
}
}
export
{
bankCardApi
}
src/api/request.js
View file @
b04cf3a
...
@@ -9,7 +9,8 @@ const request = (
...
@@ -9,7 +9,8 @@ const request = (
method
=
RequestMethods
.
GET
,
method
=
RequestMethods
.
GET
,
noSignAttr
=
[],
noSignAttr
=
[],
url
=
''
,
url
=
''
,
isMd5
=
false
isMd5
=
false
,
isParams
=
true
)
=>
{
)
=>
{
params
.
source
=
'glsx-oss-withdrawal-data'
params
.
source
=
'glsx-oss-withdrawal-data'
params
.
appKey
=
'48e5e13229b82c1b4e6e8c96151f0637'
params
.
appKey
=
'48e5e13229b82c1b4e6e8c96151f0637'
...
@@ -24,9 +25,12 @@ const request = (
...
@@ -24,9 +25,12 @@ const request = (
// return axios.post(`${url}/router?method=${method}`, qs.stringify(data))
// return axios.post(`${url}/router?method=${method}`, qs.stringify(data))
}
}
var
data
=
isMd5
?
sign
(
params
,
noSignAttr
,
true
)
:
sign
(
params
,
noSignAttr
)
var
data
=
isMd5
?
sign
(
params
,
noSignAttr
,
true
)
:
sign
(
params
,
noSignAttr
)
if
(
url
)
{
if
(
url
&&
isParams
)
{
return
axios
.
post
(
`
${
url
}
/router?method=
${
method
}
`
,
qs
.
stringify
(
data
))
return
axios
.
post
(
`
${
url
}
/router?method=
${
method
}
`
,
qs
.
stringify
(
data
))
}
}
if
(
url
&&
!
isParams
)
{
return
axios
.
post
(
`
${
url
}
/router`
,
qs
.
stringify
(
data
))
}
return
method
===
RequestMethods
.
GET
return
method
===
RequestMethods
.
GET
?
GlAxios
.
get
(
'router'
,
{
?
GlAxios
.
get
(
'router'
,
{
params
:
sign
(
params
,
noSignAttr
),
params
:
sign
(
params
,
noSignAttr
),
...
...
src/api/upload.js
View file @
b04cf3a
import
request
from
'./request'
import
request
from
'./request'
import
Vue
from
'vue'
const
uploadApi
=
{
const
uploadApi
=
{
// 多文件上传接口
// 多文件上传接口
multipleUpload
(
data
=
{})
{
multipleUpload
(
data
=
{})
{
// 'http://192.168.1.182:8561/rop-scrm-renewal'
// 'http://192.168.1.182:8561/rop-scrm-renewal'
data
.
method
=
'
scrm.api.renewal.common.upload.common.multiple
'
data
.
method
=
'
glsx.accounts.biz.common.pictureUpload
'
// return request(data, 'scrm.api.equity.common.upload.common.multiple', [], 'http://scrm.test.glsx.com.cn/rop-scrm-renewal')
// return request(data, 'scrm.api.equity.common.upload.common.multiple', [], 'http://scrm.test.glsx.com.cn/rop-scrm-renewal')
return
request
(
data
,
'
post'
)
return
request
(
data
,
'
glsx.accounts.biz.common.pictureUpload'
,[
'file'
],
Vue
.
prototype
.
fileUploadURL
,
true
)
}
}
}
}
export
{
uploadApi
}
export
{
uploadApi
}
src/views/bankCardWithdrawal/bankCardList/app.js
0 → 100644
View file @
b04cf3a
import
App
from
'./index'
import
base
from
'@/base'
import
GlsxVueCommon
from
'glsx-vue-common'
import
Vue
from
'vue'
base
.
getConfig
().
then
(
data
=>
{
const
{
vue
,
config
}
=
data
Vue
.
prototype
.
fileUploadURL
=
config
.
axios
.
fileUploadURL
vue
.
use
(
GlsxVueCommon
,
config
)
base
.
render
(
App
)
})
src/views/bankCardWithdrawal/bankCardList/cpns/BankCardDialog.vue
0 → 100644
View file @
b04cf3a
This diff is collapsed.
Click to expand it.
src/views/bankCardWithdrawal/bankCardList/cpns/bankCardSearch.vue
0 → 100644
View file @
b04cf3a
<
template
>
<el-form
size=
'small'
inline
ref=
'bankCardForm'
:model=
'bankCardSearchForm'
label-width=
'120px'
class=
'demo-form-inline'
>
<el-form-item
label=
'员工名称:'
>
<el-input
clearable
v-model=
'bankCardSearchForm.staffName'
placeholder=
'请输入员工名称'
maxlength=
'20'
maxLen
></el-input>
</el-form-item>
<el-form-item
label=
'员工手机号:'
>
<el-input
clearable
v-model=
'bankCardSearchForm.staffPhone'
maxlength=
'11'
placeholder=
'请输入员工手机号'
></el-input>
</el-form-item>
<el-form-item
label=
'门店名称:'
>
<el-input
clearable
v-model=
'bankCardSearchForm.merchantName'
maxlength=
'50'
placeholder=
'请输入门店名称'
></el-input>
</el-form-item>
<el-form-item
label=
'状态:'
>
<el-select
v-model=
'bankCardSearchForm.status'
placeholder=
'请选择状态'
>
<el-option
label=
'全部'
value=
''
></el-option>
<el-option
label=
'待核销'
value=
'1'
></el-option>
<el-option
label=
'已核销'
value=
'2'
></el-option>
<el-option
label=
'未核销'
value=
'3'
></el-option>
<el-option
label=
'提现失败'
value=
'4'
></el-option>
</el-select>
</el-form-item>
<el-form-item
label=
'提现时间:'
>
<el-date-picker
value-format=
'yyyy-MM-dd'
v-model=
'bankCardSearchForm.withdrawal'
type=
'daterange'
range-separator=
'至'
start-placeholder=
'开始日期'
end-placeholder=
'结束日期'
>
</el-date-picker>
</el-form-item>
<el-form-item
label=
'核销时间:'
>
<el-date-picker
value-format=
'yyyy-MM-dd'
v-model=
'bankCardSearchForm.review'
type=
'daterange'
range-separator=
'至'
start-placeholder=
'开始日期'
end-placeholder=
'结束日期'
>
</el-date-picker>
</el-form-item>
<el-form-item
label=
'导出状态:'
>
<el-select
v-model=
'bankCardSearchForm.exportStatus'
placeholder=
'请选择导出状态'
>
<el-option
label=
'全部'
value=
''
></el-option>
<el-option
label=
'已导出'
value=
'0'
></el-option>
<el-option
label=
'未导出'
value=
'1'
></el-option>
</el-select>
</el-form-item>
<el-form-item>
<el-button
type=
'primary'
@
click=
'handleSearch'
>
查询
</el-button>
<el-button
@
click=
'reset'
>
重置
</el-button>
</el-form-item>
</el-form>
</
template
>
<
script
>
import
{
nearlyAMonth
}
from
'@/mixin/nearlyAMonth'
export
default
{
name
:
'bankCardSearch'
,
mixins
:
[
nearlyAMonth
],
data
()
{
return
{
bankCardSearchForm
:
{
status
:
''
,
exportStatus
:
''
,
isWithdrawal
:
3
}
}
},
methods
:
{
handleSearch
()
{
this
.
$emit
(
'sendSearchForm'
,
this
.
bankCardSearchForm
)
},
reset
()
{
Object
.
keys
(
this
.
bankCardSearchForm
).
forEach
((
key
)
=>
{
this
.
bankCardSearchForm
[
key
]
=
''
})
this
.
bankCardSearchForm
.
isWithdrawal
=
3
this
.
$emit
(
'sendResetTable'
,
'reset'
)
this
.
$nextTick
(()
=>
{
this
.
handleSearch
()
})
}
}
}
</
script
>
<
style
scoped
></
style
>
src/views/bankCardWithdrawal/bankCardList/index.vue
0 → 100644
View file @
b04cf3a
<
template
>
<div
style=
'margin: 16px'
>
<BankCardSearch
ref=
'bankCardSearch'
@
sendSearchForm=
'getSearchForm'
@
sendResetTable=
'reset'
/>
<div
class=
'buttonSet'
>
<el-button
v-for=
'(itm,idx) in buttonTraversal'
:key=
'idx'
size=
'small'
type=
'primary'
@
click=
'openDialog(itm.byValue)'
>
{{
itm
.
btnName
}}
</el-button>
</div>
<d2-table
class=
'my-row-height'
ref=
'bankCardTable'
:hasNum=
'true'
:tableParams=
'bankCardTableParams'
:searchForm=
'bankCardSearchForm'
:getListApi=
'getListApi'
:pageConf=
'pageConf'
>
<div
slot=
'exportStatus'
slot-scope=
'scope'
>
{{
scope
.
scope
.
exportStatus
==
'0'
?
'未导出'
:
scope
.
scope
.
exportStatus
==
'1'
?
'已导出'
:
''
}}
</div>
<div
slot=
'status'
slot-scope=
'scope'
>
<span
v-if=
"scope.scope.status == '1'"
>
待核销
</span>
<span
v-if=
"scope.scope.status == '2'"
>
到账中
</span>
<span
v-if=
"scope.scope.status == '3'"
>
已到账
</span>
<span
v-if=
"scope.scope.status == '4'"
>
到账失败
</span>
</div>
</d2-table>
<BankCardDialog
ref=
'bankCardDialog'
@
sendResetTable=
'reset'
:bankCardSearchForm=
'bankCardSearchForm'
:choiceData=
'choiceData'
:dialogType=
'dialogType'
></BankCardDialog>
</div>
</
template
>
<
script
>
import
BankCardSearch
from
'@/views/bankCardWithdrawal/bankCardList/cpns/bankCardSearch'
import
BankCardDialog
from
'@/views/bankCardWithdrawal/bankCardList/cpns/BankCardDialog'
import
{
bankCardApi
}
from
'@/api/bankCardWithdrawal'
export
default
{
name
:
'bankCardList'
,
components
:
{
BankCardSearch
,
BankCardDialog
},
data
()
{
return
{
buttonTraversal
:
[
{
byValue
:
'resultImport'
,
btnName
:
'结果导入'
},
{
byValue
:
'export'
,
btnName
:
'导出'
},
{
byValue
:
'batchWriteOff'
,
btnName
:
'批量核销'
},
{
byValue
:
'batchWithdrawalFailed'
,
btnName
:
'批量提现失败'
}
],
dialogType
:
''
,
bankCardSearchForm
:
{},
dialogVisible
:
false
,
totalScore
:
''
,
choiceData
:
[],
choiceDataBack
:
[],
pageConf
:
{
pageSize
:
'pageSize'
,
pageNum
:
'pageNum'
,
totalCount
:
'data.count'
},
getListApi
:
bankCardApi
.
bankCardListApi
,
bankCardTableParams
:
{
mutiSelectUniqueKey
:
'id'
,
mutiSelectName
:
'list'
,
listName
:
'data.data'
,
tableColumns
:
[
{
label
:
'流水号'
,
prop
:
'rewardScore'
},
{
label
:
'员工名称'
,
prop
:
'staffName'
},
{
label
:
'员工手机号'
,
prop
:
'staffPhone'
},
{
label
:
'所属商户'
,
prop
:
'merchantName'
},
{
label
:
'积分值'
,
prop
:
'withdrawalScore'
},
{
label
:
'提现金额(元)'
,
prop
:
'withdrawalAmount'
},
{
label
:
'提现时间'
,
prop
:
'withdrawalTime'
},
{
label
:
'银行名称'
,
prop
:
'bankName'
},
{
label
:
'银行卡号'
,
prop
:
'bankNumber'
},
{
label
:
'持卡人姓名'
,
prop
:
'bankuserName'
},
{
label
:
'银行预留手机号'
,
prop
:
'bankPhone'
},
{
label
:
'身份证号'
,
prop
:
'idCardNo'
},
{
label
:
'状态'
,
prop
:
'status'
,
addHtml
:
'status'
},
{
label
:
'导出状态'
,
prop
:
'exportStatus'
,
addHtml
:
'exportStatus'
},
{
label
:
'核销人'
,
prop
:
'reviewer'
},
{
label
:
'核销时间'
,
prop
:
'reviewTime'
},
{
label
:
'失败原因'
,
prop
:
'failReason'
}
]
},
timeout
:
null
}
},
computed
:
{},
methods
:
{
openDialog
(
type
)
{
this
.
dialogType
=
type
this
.
getSeletedData
()
if
(
type
==
'batchWriteOff'
||
type
==
'batchWithdrawalFailed'
)
{
if
(
this
.
choiceData
&&
(
this
.
choiceData
.
length
==
0
||
this
.
choiceData
.
some
((
item
)
=>
{
return
item
.
status
!==
1
})))
{
this
.
$message
({
type
:
'error'
,
message
:
'请勾选需要核销的积分记录!'
})
return
}
}
this
.
$refs
.
bankCardDialog
.
bankCardVisible
=
true
},
getSeletedData
()
{
this
.
choiceData
=
this
.
$refs
.
bankCardTable
.
mutiSelectArr
.
list
&&
this
.
$refs
.
bankCardTable
.
mutiSelectArr
.
list
.
map
((
item
)
=>
{
let
{
status
,
id
}
=
item
return
{
status
,
id
}
})
},
getSearchForm
(
val
)
{
let
params
=
JSON
.
parse
(
JSON
.
stringify
(
val
))
this
.
bankCardSearchForm
=
params
setTimeout
(()
=>
{
this
.
$refs
.
bankCardTable
.
refreshTable
(
false
,
true
)
},
500
)
},
reset
()
{
if
(
this
.
choiceData
)
{
this
.
$refs
.
bankCardTable
.
mutiSelectArr
.
list
=
[]
this
.
$refs
.
bankCardTable
.
$children
[
0
].
clearSelection
()
}
let
params
=
{
isWithdrawal
:
3
}
this
.
getSearchForm
(
params
)
}
}
}
</
script
>
<
style
scoped
>
.my-row-height
>>>
.el-table__body-wrapper
.el-table__row
{
height
:
48px
;
}
.buttonSet
{
margin-bottom
:
16px
;
}
</
style
>
src/views/profitManagement/profitList/index.vue
View file @
b04cf3a
...
@@ -206,7 +206,6 @@ export default {
...
@@ -206,7 +206,6 @@ export default {
numberOfStoresArr
.
includes
(
next
.
merchantName
)
numberOfStoresArr
.
includes
(
next
.
merchantName
)
?
''
?
''
:
numberOfStoresArr
.
push
(
next
.
merchantName
)
:
numberOfStoresArr
.
push
(
next
.
merchantName
)
console
.
log
(
totalPoints
)
next
.
rewardScore
next
.
rewardScore
?
(
totalPoints
+=
next
.
rewardScore
)
?
(
totalPoints
+=
next
.
rewardScore
)
:
(
totalPoints
+=
0
)
:
(
totalPoints
+=
0
)
...
...
src/views/task/addTask/index.vue
View file @
b04cf3a
...
@@ -91,8 +91,9 @@
...
@@ -91,8 +91,9 @@
v-model=
"basicForm.withdrawalFlag"
v-model=
"basicForm.withdrawalFlag"
:disabled=
"isEditor && activityStatus == 2"
:disabled=
"isEditor && activityStatus == 2"
>
>
<el-radio
:label=
"1"
>
是(员工发起提现)
</el-radio>
<el-radio
:label=
"1"
>
员工发起提现
</el-radio>
<el-radio
:label=
"2"
>
否(运营从后台核销)
</el-radio>
<el-radio
:label=
"2"
>
运营从后台核销
</el-radio>
<el-radio
:label=
"3"
>
银行卡提现
</el-radio>
</el-radio-group>
</el-radio-group>
</el-form-item>
</el-form-item>
<el-form-item
label=
"备注:"
>
<el-form-item
label=
"备注:"
>
...
...
src/views/task/analyseTask/cpns/TaskInfo.vue
View file @
b04cf3a
...
@@ -22,46 +22,46 @@ export default {
...
@@ -22,46 +22,46 @@ export default {
{
{
name
:
'业务场景:'
,
name
:
'业务场景:'
,
value
:
'businessSceneName'
,
value
:
'businessSceneName'
,
id
:
'businessSceneName'
id
:
'businessSceneName'
},
},
{
{
name
:
'商户:'
,
name
:
'商户:'
,
value
:
'merchantName'
,
value
:
'merchantName'
,
id
:
'merchantName'
id
:
'merchantName'
},
},
{
{
name
:
'活动/产品:'
,
name
:
'活动/产品:'
,
value
:
'activityName'
,
value
:
'activityName'
,
id
:
'activityName'
id
:
'activityName'
},
},
{
{
name
:
'任务指定人群:'
,
name
:
'任务指定人群:'
,
value
:
'crowdName'
,
value
:
'crowdName'
,
id
:
'crowdName'
id
:
'crowdName'
},
},
{
{
name
:
'发放渠道:'
,
name
:
'发放渠道:'
,
value
:
'channelName'
,
value
:
'channelName'
,
id
:
'channelName'
id
:
'channelName'
},
},
{
{
name
:
'积分提现:'
,
name
:
'积分提现:'
,
value
:
'withdrawalFlag'
,
value
:
'withdrawalFlag'
,
id
:
'withdrawalFlag'
id
:
'withdrawalFlag'
}
}
]
]
}
}
},
},
watch
:
{
watch
:
{
taskInfo
:{
taskInfo
:
{
handler
(
newVal
,
oldVal
)
{
handler
(
newVal
,
oldVal
)
{
if
(
!
oldVal
||
newVal
!==
oldVal
)
{
if
(
!
oldVal
||
newVal
!==
oldVal
)
{
this
.
taskInfoList
.
map
(
item
=>
{
this
.
taskInfoList
.
map
(
item
=>
{
Object
.
keys
(
newVal
).
forEach
(
key
=>
{
Object
.
keys
(
newVal
).
forEach
(
key
=>
{
if
(
item
.
id
==
key
)
{
if
(
item
.
id
==
key
)
{
item
.
value
=
newVal
[
key
]
item
.
value
=
newVal
[
key
]
if
(
item
.
id
==
'withdrawalFlag'
)
{
if
(
item
.
id
==
'withdrawalFlag'
)
{
item
.
value
=
item
.
value
==
'1'
?
'员工发起提现'
:
item
.
value
==
'2'
?
'运营从后台核销'
:
''
item
.
value
=
item
.
value
==
'1'
?
'员工发起提现'
:
item
.
value
==
'2'
?
'运营从后台核销'
:
item
.
value
==
'3'
?
'银行卡提现'
:
''
}
}
}
}
})
})
...
@@ -70,7 +70,7 @@ export default {
...
@@ -70,7 +70,7 @@ export default {
},
},
immediate
:
true
,
immediate
:
true
,
deep
:
true
deep
:
true
}
,
}
}
}
}
}
</
script
>
</
script
>
...
...
src/views/task/observeTask/cpns/BasicInfo.vue
View file @
b04cf3a
...
@@ -39,7 +39,7 @@ export default {
...
@@ -39,7 +39,7 @@ export default {
if
(
item
.
id
==
key
)
{
if
(
item
.
id
==
key
)
{
item
.
infoVal
=
newVal
[
key
]
item
.
infoVal
=
newVal
[
key
]
if
(
item
.
id
==
'withdrawalFlag'
)
{
if
(
item
.
id
==
'withdrawalFlag'
)
{
item
.
infoVal
=
item
.
infoVal
==
'1'
?
'员工发起提现'
:
item
.
infoVal
==
'2'
?
'运营从后台核销'
:
''
item
.
infoVal
=
item
.
infoVal
==
'1'
?
'员工发起提现'
:
item
.
infoVal
==
'2'
?
'运营从后台核销'
:
item
.
infoVal
==
'3'
?
'银行卡提现'
:
''
}
}
}
}
...
...
src/views/withdrawalManagement/withdrawalList/components/WithdrawalDialog.vue
View file @
b04cf3a
...
@@ -24,27 +24,28 @@ export default {
...
@@ -24,27 +24,28 @@ export default {
}
}
},
},
methods
:
{
methods
:
{
handleDebounce
:
debounce
(
handleDebounce
:
debounce
(
async
function
(){
async
function
()
{
const
params
=
{
const
params
=
{
...
JSON
.
parse
(
JSON
.
stringify
(
...
JSON
.
parse
(
JSON
.
stringify
(
{
idList
:
this
.
auditId
}
{
idList
:
this
.
auditId
}
))
)),
withDrawType
:
1
}
}
await
withdrawalApi
.
batchWithdrawal
(
params
).
then
(
res
=>
{
await
withdrawalApi
.
batchWithdrawal
(
params
).
then
(
res
=>
{
if
(
res
.
code
!==
'0'
){
if
(
res
.
code
!==
'0'
)
{
this
.
$message
.
error
(
'审核失败'
)
this
.
$message
.
error
(
'审核失败'
)
}
else
{
}
else
{
this
.
$message
.
success
(
'审核成功'
)
this
.
$message
.
success
(
'审核成功'
)
}
}
}).
catch
(
err
=>
{
}).
catch
(
err
=>
{
this
.
$message
.
error
(
err
)
this
.
$message
.
error
(
err
)
}
}
)
)
this
.
dialogVisible
=
false
this
.
dialogVisible
=
false
},
},
1000
1000
)
,
)
}
}
}
}
</
script
>
</
script
>
...
...
src/views/withdrawalManagement/withdrawalList/components/WithdrawalSearch.vue
View file @
b04cf3a
<
template
>
<
template
>
<div
style=
"margin: 16px"
>
<div
style=
'margin: 16px'
>
<el-form
<el-form
size=
"small"
size=
'small'
inline
inline
ref=
"withdrawalForm"
ref=
'withdrawalForm'
:model=
"withdrawalSearchForm"
:model=
'withdrawalSearchForm'
label-width=
"100px"
label-width=
'100px'
class=
"demo-form-inline"
class=
'demo-form-inline'
>
>
<el-form-item
label=
"员工名称"
>
<el-form-item
label=
'员工名称'
>
<el-input
<el-input
clearable
clearable
v-model=
"withdrawalSearchForm.staffName"
v-model=
'withdrawalSearchForm.staffName'
placeholder=
"请输入员工名称"
placeholder=
'请输入员工名称'
></el-input>
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"员工手机号"
>
<el-form-item
label=
'员工手机号'
>
<el-input
<el-input
clearable
clearable
v-model=
"withdrawalSearchForm.staffPhone"
v-model=
'withdrawalSearchForm.staffPhone'
placeholder=
"请输入员工手机号"
placeholder=
'请输入员工手机号'
></el-input>
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"门店名称"
>
<el-form-item
label=
'门店名称'
>
<el-input
<el-input
clearable
clearable
v-model=
"withdrawalSearchForm.merchantName"
v-model=
'withdrawalSearchForm.merchantName'
placeholder=
"请输入门店名称"
placeholder=
'请输入门店名称'
></el-input>
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"状态"
>
<el-form-item
label=
'状态'
>
<el-select
<el-select
v-model=
"withdrawalSearchForm.status"
v-model=
'withdrawalSearchForm.status'
placeholder=
"请选择状态"
placeholder=
'请选择状态'
>
>
<el-option
label=
"全部"
value=
""
></el-option>
<el-option
label=
'全部'
value=
''
></el-option>
<el-option
label=
"待审核"
value=
"1"
></el-option>
<el-option
label=
'待审核'
value=
'1'
></el-option>
<el-option
label=
"到账中"
value=
"2"
></el-option>
<el-option
label=
'到账中'
value=
'2'
></el-option>
<el-option
label=
"已到账"
value=
"3"
></el-option>
<el-option
label=
'已到账'
value=
'3'
></el-option>
<el-option
label=
"到账失败"
value=
"4"
></el-option>
<el-option
label=
'到账失败'
value=
'4'
></el-option>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
<el-form-item
label=
"提现时间"
>
<el-form-item
label=
'提现时间'
>
<el-date-picker
<el-date-picker
value-format=
"yyyy-MM-dd"
value-format=
'yyyy-MM-dd'
v-model=
"withdrawalSearchForm.withdrawalTime"
v-model=
'withdrawalSearchForm.withdrawalTime'
type=
"daterange"
type=
'daterange'
range-separator=
"至"
range-separator=
'至'
start-placeholder=
"开始日期"
start-placeholder=
'开始日期'
end-placeholder=
"结束日期"
end-placeholder=
'结束日期'
>
>
</el-date-picker>
</el-date-picker>
</el-form-item>
</el-form-item>
<el-form-item
label=
"审核时间"
>
<el-form-item
label=
'审核时间'
>
<el-date-picker
<el-date-picker
value-format=
"yyyy-MM-dd"
value-format=
'yyyy-MM-dd'
v-model=
"withdrawalSearchForm.reviewTime"
v-model=
'withdrawalSearchForm.reviewTime'
type=
"daterange"
type=
'daterange'
range-separator=
"至"
range-separator=
'至'
start-placeholder=
"开始日期"
start-placeholder=
'开始日期'
end-placeholder=
"结束日期"
end-placeholder=
'结束日期'
>
>
</el-date-picker>
</el-date-picker>
</el-form-item>
</el-form-item>
<el-form-item>
<el-form-item>
<el-button
type=
"primary"
@
click=
"handleSearch"
>
查询
</el-button>
<el-button
type=
'primary'
@
click=
'handleSearch'
>
查询
</el-button>
<el-button
@
click=
"reset"
>
重置
</el-button>
<el-button
@
click=
'reset'
>
重置
</el-button>
</el-form-item>
</el-form-item>
</el-form>
</el-form>
</div>
</div>
...
@@ -81,13 +81,14 @@ export default {
...
@@ -81,13 +81,14 @@ export default {
return
{
return
{
withdrawalSearchForm
:
{
withdrawalSearchForm
:
{
status
:
''
,
status
:
''
,
},
isWithdrawal
:
1
}
}
}
},
},
created
()
{
created
()
{
this
.
$set
(
this
.
withdrawalSearchForm
,
'withdrawalTime'
,
[
this
.
$set
(
this
.
withdrawalSearchForm
,
'withdrawalTime'
,
[
this
.
defalutStartTime
,
this
.
defalutStartTime
,
this
.
defalutEndTime
,
this
.
defalutEndTime
])
])
},
},
mounted
()
{
mounted
()
{
...
@@ -101,15 +102,16 @@ export default {
...
@@ -101,15 +102,16 @@ export default {
Object
.
keys
(
this
.
withdrawalSearchForm
).
forEach
((
key
)
=>
{
Object
.
keys
(
this
.
withdrawalSearchForm
).
forEach
((
key
)
=>
{
this
.
withdrawalSearchForm
[
key
]
=
''
this
.
withdrawalSearchForm
[
key
]
=
''
})
})
this
.
withdrawalSearchForm
.
isWithdrawal
=
3
this
.
$set
(
this
.
withdrawalSearchForm
,
'withdrawalTime'
,
[
this
.
$set
(
this
.
withdrawalSearchForm
,
'withdrawalTime'
,
[
this
.
defalutStartTime
,
this
.
defalutStartTime
,
this
.
defalutEndTime
,
this
.
defalutEndTime
])
])
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
this
.
handleSearch
()
this
.
handleSearch
()
})
})
}
,
}
}
,
}
}
}
</
script
>
</
script
>
...
...
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