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 d60e81b8
authored
May 19, 2022
by
chenwq
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
核销详情,核销列表
1 parent
d7293cc4
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
5 deletions
src/assets/css/public.scss
src/views/couponManage/receiveDetail.vue
src/views/couponManage/recordList.vue
src/assets/css/public.scss
View file @
d60e81b
...
@@ -179,6 +179,14 @@ html {
...
@@ -179,6 +179,14 @@ html {
background-color
:
#999999
;
background-color
:
#999999
;
}
}
.marketing
.back-green
{
background-color
:
#2CCA74
;
}
.marketing
.back-red
{
background-color
:
#EB4E4E
;
}
.marketing
.el-table
.cell
{
.marketing
.el-table
.cell
{
line-height
:
16px
;
line-height
:
16px
;
}
}
...
...
src/views/couponManage/receiveDetail.vue
View file @
d60e81b
...
@@ -32,7 +32,12 @@
...
@@ -32,7 +32,12 @@
<el-button
:size=
"size"
class=
"default-blue-btn"
type=
"default"
@
click=
"exportExcel"
>
全部导出
</el-button>
<el-button
:size=
"size"
class=
"default-blue-btn"
type=
"default"
@
click=
"exportExcel"
>
全部导出
</el-button>
</div>
</div>
<!-- 表格区域 开始 -->
<!-- 表格区域 开始 -->
<GLTable
ref=
"receiveList"
:getListApi=
"getListApi"
:noDataImg=
"url"
:searchForm=
"tableSearchForm"
:tableParams=
"tableParams"
:pageConf=
"pageConf"
:beforeSearchFn=
"beforeSearchFn"
@
setTableFinishFun=
"setTableFinishFun"
></GLTable>
<GLTable
ref=
"receiveList"
:getListApi=
"getListApi"
:noDataImg=
"url"
:searchForm=
"tableSearchForm"
:tableParams=
"tableParams"
:pageConf=
"pageConf"
:beforeSearchFn=
"beforeSearchFn"
@
setTableFinishFun=
"setTableFinishFun"
>
<div
slot=
"userStatus"
slot-scope=
"scope"
>
<span
:class=
"['table-cicle', 'm-r-8', scope.scope.userStatus == 1 ? 'back-green' : scope.scope.userStatus == 2 ? 'back-red' : 'back-grey']"
></span>
<span>
{{
baseData
.
userStatusList
.
find
(
item
=>
item
.
confId
==
scope
.
scope
.
userStatus
).
confName
}}
</span>
</div>
</GLTable>
<!-- 表格区域 end -->
<!-- 表格区域 end -->
</div>
</div>
</div>
</div>
...
@@ -175,9 +180,10 @@ export default {
...
@@ -175,9 +180,10 @@ export default {
{
{
label
:
'使用状态'
,
label
:
'使用状态'
,
prop
:
'userStatus'
,
prop
:
'userStatus'
,
formatter
:
cellValue
=>
{
addHtml
:
'userStatus'
return
this
.
baseData
.
userStatusList
.
find
(
item
=>
+
item
.
confId
==
cellValue
.
userStatus
).
confName
// formatter: cellValue => {
}
// return this.baseData.userStatusList.find(item => +item.confId == cellValue.userStatus).confName
// }
},
},
{
{
label
:
'领取日期'
,
label
:
'领取日期'
,
...
...
src/views/couponManage/recordList.vue
View file @
d60e81b
...
@@ -233,7 +233,7 @@ export default {
...
@@ -233,7 +233,7 @@ export default {
label
:
'券来源'
,
label
:
'券来源'
,
prop
:
'packageName'
,
prop
:
'packageName'
,
formatter
:
cellValue
=>
{
formatter
:
cellValue
=>
{
return
cellValue
.
package
Name
||
cellValue
.
directionalGiftName
||
'-'
return
cellValue
.
package
Id
?
cellValue
.
packageName
:
cellValue
.
directionalGiftId
?
cellValue
.
directionalGiftName
:
'-'
}
}
},
},
{
{
...
...
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