Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-marketing
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 bb5320df
authored
Feb 20, 2022
by
周子尧
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
1
1 parent
29ca2eb0
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
8 deletions
src/views/giftBag/receivedGiftList.vue
src/views/giftBag/receivedGiftList.vue
View file @
bb5320d
...
@@ -18,7 +18,7 @@
...
@@ -18,7 +18,7 @@
</div>
</div>
<!-- 表格区域 开始 -->
<!-- 表格区域 开始 -->
<GLTable
ref=
"giftListRef"
:getListApi=
"getListApi"
:hasNum=
"true"
:noDataImg=
"url"
:searchForm=
"tableSearchForm"
:tableParams=
"tableParams"
:pageConf=
"pageConf"
:beforeSearchFn=
"beforeSearchFn"
@
setTableFinishFun=
"setTableFinishFun"
>
<GLTable
ref=
"giftListRef"
:getListApi=
"getListApi"
:hasNum=
"true"
:noDataImg=
"url"
:searchForm=
"tableSearchForm"
:tableParams=
"tableParams"
:pageConf=
"pageConf"
:beforeSearchFn=
"beforeSearchFn"
>
<div
slot=
"giftInfo"
slot-scope=
"scope"
>
<div
slot=
"giftInfo"
slot-scope=
"scope"
>
<div>
礼包明细
</div>
<div>
礼包明细
</div>
<div>
{{
scope
.
scope
}}
</div>
<div>
{{
scope
.
scope
}}
</div>
...
@@ -40,9 +40,11 @@ export default {
...
@@ -40,9 +40,11 @@ export default {
size
:
'small'
,
size
:
'small'
,
url
:
url
,
url
:
url
,
searchForm
:
{
searchForm
:
{
nickName
:
''
,
wechatUserFlag
:
''
,
wechatUserFlag
:
''
,
giftName
:
''
,
staffName
:
''
,
orderCode
:
''
,
orderCode
:
''
,
commentStatus
:
''
,
createDate
:
[]
createDate
:
[]
},
},
tableSearchForm
:
{},
tableSearchForm
:
{},
...
@@ -129,7 +131,7 @@ export default {
...
@@ -129,7 +131,7 @@ export default {
},
},
giftPageConf
:
{
pageSize
:
'pageSize'
,
pageNum
:
'currentPage'
,
totalCount
:
'total'
},
giftPageConf
:
{
pageSize
:
'pageSize'
,
pageNum
:
'currentPage'
,
totalCount
:
'total'
},
// 礼包
// 礼包
getListApi
:
this
.
$apis
.
giftBag
.
getGiftInfoApi
,
getListApi
:
this
.
$apis
.
giftBag
.
get
Received
GiftInfoApi
,
tableParams
:
{
tableParams
:
{
listName
:
'list'
,
listName
:
'list'
,
tableOption
:
false
,
tableOption
:
false
,
...
@@ -149,11 +151,24 @@ export default {
...
@@ -149,11 +151,24 @@ export default {
{
{
label
:
'是否为企微客户'
,
label
:
'是否为企微客户'
,
prop
:
'wechatUserFlag'
,
prop
:
'wechatUserFlag'
,
width
:
'200'
width
:
'200'
,
formatter
:
cellValue
=>
{
if
(
cellValue
.
wechatUserFlag
==
1
)
{
return
'否'
}
else
if
(
cellValue
.
wechatUserFlag
==
2
)
{
return
'是'
}
}
},
},
{
{
label
:
'礼包名称'
,
label
:
'礼包名称'
,
prop
:
'giftName'
,
prop
:
'directionalGiftName'
,
width
:
'200'
},
{
label
:
'礼包备注名称'
,
prop
:
'directionalGiftRemarkName'
,
width
:
'200'
width
:
'200'
},
},
// {
// {
...
@@ -167,7 +182,7 @@ export default {
...
@@ -167,7 +182,7 @@ export default {
},
},
{
{
label
:
'已核销成本'
,
label
:
'已核销成本'
,
prop
:
'
orderCode
'
prop
:
'
verificationAnticipatedCos
'
},
},
{
{
label
:
'发放员工'
,
label
:
'发放员工'
,
...
@@ -175,7 +190,7 @@ export default {
...
@@ -175,7 +190,7 @@ export default {
},
},
{
{
label
:
'领取时间'
,
label
:
'领取时间'
,
prop
:
'
startTim
e'
,
prop
:
'
createdDat
e'
,
width
:
'180'
,
width
:
'180'
,
formatter
:
cellValue
=>
{
formatter
:
cellValue
=>
{
return
dayjs
(
cellValue
.
createdDate
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
return
dayjs
(
cellValue
.
createdDate
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
...
@@ -183,7 +198,7 @@ export default {
...
@@ -183,7 +198,7 @@ export default {
}
}
]
]
},
},
pageConf
:
{
pageSize
:
'pageSize'
,
pageNum
:
'
currentPage
'
,
totalCount
:
'total'
}
pageConf
:
{
pageSize
:
'pageSize'
,
pageNum
:
'
pageNum
'
,
totalCount
:
'total'
}
}
}
},
},
...
...
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