Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
clique-web
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
clique
clique-web
Commits
35dd62f9
Commit
35dd62f9
authored
Jul 05, 2022
by
caoyanzhi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: 积分策略
parent
85e301b9
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
23 deletions
+23
-23
pointSystem.vue
src/view/companyGroup/membershipSystem/pointSystem.vue
+23
-23
No files found.
src/view/companyGroup/membershipSystem/pointSystem.vue
View file @
35dd62f9
...
@@ -15,8 +15,8 @@
...
@@ -15,8 +15,8 @@
</div>
</div>
<div
class=
"fr btn-r-wrap"
><el-button
:disabled=
"tpnEditBool"
type=
"primary"
@
click=
"handleAdd('point')"
>
新增策略
</el-button></div>
<div
class=
"fr btn-r-wrap"
><el-button
:disabled=
"tpnEditBool"
type=
"primary"
@
click=
"handleAdd('point')"
>
新增策略
</el-button></div>
<el-table
class=
"table-no-line-wrap"
:data=
"achieveTableData"
style=
"width: 100%"
>
<el-table
class=
"table-no-line-wrap"
:data=
"achieveTableData"
style=
"width: 100%"
>
<el-table-column
prop=
"strategyName"
label=
"策略名称"
:show-overflow-tooltip=
"true"
min-width=
"1
26
"
>
</el-table-column>
<el-table-column
prop=
"strategyName"
label=
"策略名称"
:show-overflow-tooltip=
"true"
min-width=
"1
40px
"
>
</el-table-column>
<el-table-column
prop=
""
label=
"线下渠道"
>
<el-table-column
prop=
""
label=
"线下渠道"
min-width=
"80px"
>
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
<span
v-for=
"(item, index) in scope.row.channelList"
v-show=
"item.channelType == 3"
:key=
"index"
>
<span
v-for=
"(item, index) in scope.row.channelList"
v-show=
"item.channelType == 3"
:key=
"index"
>
<span
v-if=
"item.openStatus == 0"
>
关闭
</span>
<span
v-if=
"item.openStatus == 0"
>
关闭
</span>
...
@@ -27,7 +27,7 @@
...
@@ -27,7 +27,7 @@
</span>
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
""
label=
"达摩微商城"
>
<el-table-column
prop=
""
label=
"达摩微商城"
min-width=
"90px"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<span
v-for=
"(item, index) in scope.row.channelList"
v-show=
"item.channelType == 1"
:key=
"index"
>
<span
v-for=
"(item, index) in scope.row.channelList"
v-show=
"item.channelType == 1"
:key=
"index"
>
<span
v-if=
"item.openStatus == 0"
>
关闭
</span>
<span
v-if=
"item.openStatus == 0"
>
关闭
</span>
...
@@ -38,7 +38,7 @@
...
@@ -38,7 +38,7 @@
</span>
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
""
label=
"微盟渠道"
>
<el-table-column
prop=
""
label=
"微盟渠道"
min-width=
"80px"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<span
v-for=
"(item, index) in scope.row.channelList"
v-show=
"item.channelType == 9"
:key=
"index"
>
<span
v-for=
"(item, index) in scope.row.channelList"
v-show=
"item.channelType == 9"
:key=
"index"
>
<span
v-if=
"item.openStatus == 0"
>
关闭
</span>
<span
v-if=
"item.openStatus == 0"
>
关闭
</span>
...
@@ -49,7 +49,7 @@
...
@@ -49,7 +49,7 @@
</span>
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
""
label=
"天猫渠道"
>
<el-table-column
prop=
""
label=
"天猫渠道"
min-width=
"80px"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<span
v-for=
"(item, index) in scope.row.channelList"
v-show=
"item.channelType == 8"
:key=
"index"
>
<span
v-for=
"(item, index) in scope.row.channelList"
v-show=
"item.channelType == 8"
:key=
"index"
>
<span
v-if=
"item.openStatus == 0"
>
关闭
</span>
<span
v-if=
"item.openStatus == 0"
>
关闭
</span>
...
@@ -60,7 +60,7 @@
...
@@ -60,7 +60,7 @@
</span>
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
""
label=
"抖音渠道"
>
<el-table-column
prop=
""
label=
"抖音渠道"
min-width=
"80px"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<span
v-for=
"(item, index) in scope.row.channelList"
v-show=
"item.channelType == 11"
:key=
"index"
>
<span
v-for=
"(item, index) in scope.row.channelList"
v-show=
"item.channelType == 11"
:key=
"index"
>
<span
v-if=
"item.openStatus == 0"
>
关闭
</span>
<span
v-if=
"item.openStatus == 0"
>
关闭
</span>
...
@@ -71,7 +71,7 @@
...
@@ -71,7 +71,7 @@
</span>
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
""
label=
"其他渠道"
>
<el-table-column
prop=
""
label=
"其他渠道"
min-width=
"80px"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<span
v-for=
"(item, index) in scope.row.channelList"
v-show=
"item.channelType == 10"
:key=
"index"
>
<span
v-for=
"(item, index) in scope.row.channelList"
v-show=
"item.channelType == 10"
:key=
"index"
>
<span
v-if=
"item.openStatus == 0"
>
关闭
</span>
<span
v-if=
"item.openStatus == 0"
>
关闭
</span>
...
@@ -82,18 +82,18 @@
...
@@ -82,18 +82,18 @@
</span>
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
""
label=
"适用对象"
min-width=
"
7
0px"
>
<el-table-column
prop=
""
label=
"适用对象"
min-width=
"
8
0px"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
useCrowd
==
1
?
'所有会员'
:
'自定义人群'
}}
{{
scope
.
row
.
useCrowd
==
1
?
'所有会员'
:
'自定义人群'
}}
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"getRule"
label=
"获取规则"
>
<el-table-column
prop=
"getRule"
label=
"获取规则"
min-width=
"80px"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<span
v-if=
"scope.row.integralGetStatus == 0"
>
无积分
</span>
<span
v-if=
"scope.row.integralGetStatus == 0"
>
无积分
</span>
<span
v-if=
"scope.row.integralGetStatus != 0"
>
{{
scope
.
row
.
integralGet
.
fee
/
10
}}
:
{{
scope
.
row
.
integralGet
.
integral
/
10
}}
</span>
<span
v-if=
"scope.row.integralGetStatus != 0"
>
{{
scope
.
row
.
integralGet
.
fee
/
10
}}
:
{{
scope
.
row
.
integralGet
.
integral
/
10
}}
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
""
label=
"有效期"
min-width=
"114
"
>
<el-table-column
prop=
""
label=
"有效期"
width=
"150px
"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<div
v-if=
"scope.row.perpetualFlag === 0"
>
<div
v-if=
"scope.row.perpetualFlag === 0"
>
<p>
<p>
...
@@ -108,12 +108,12 @@
...
@@ -108,12 +108,12 @@
</div>
</div>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
""
label=
"状态"
>
<el-table-column
prop=
""
label=
"状态"
min-width=
"80px"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
perpetualFlag
|
normalizeStatus
(
scope
.
row
.
endValidTime
)
}}
{{
scope
.
row
.
perpetualFlag
|
normalizeStatus
(
scope
.
row
.
endValidTime
)
}}
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"操作"
>
<el-table-column
label=
"操作"
min-width=
"100px"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-button
@
click=
"handleEditClick(scope.row, 'edit')"
type=
"text"
>
编辑
</el-button>
<el-button
@
click=
"handleEditClick(scope.row, 'edit')"
type=
"text"
>
编辑
</el-button>
<delete-tip
@
confirm=
"handleDelClick(scope.$index, scope.row, achieveTableData)"
tips=
"确认删除吗?"
>
<delete-tip
@
confirm=
"handleDelClick(scope.$index, scope.row, achieveTableData)"
tips=
"确认删除吗?"
>
...
@@ -141,7 +141,7 @@
...
@@ -141,7 +141,7 @@
<div
class=
"fr btn-r-wrap"
><el-button
:disabled=
"tpnEditBool"
type=
"primary"
@
click=
"handleAdd('integ')"
>
新增策略
</el-button></div>
<div
class=
"fr btn-r-wrap"
><el-button
:disabled=
"tpnEditBool"
type=
"primary"
@
click=
"handleAdd('integ')"
>
新增策略
</el-button></div>
<!-- table -->
<!-- table -->
<el-table
:data=
"exchangeTableData"
style=
"width: 100%"
>
<el-table
:data=
"exchangeTableData"
style=
"width: 100%"
>
<el-table-column
prop=
"strategyName"
label=
"策略名称"
:show-overflow-tooltip=
"true"
min-width=
"1
26
"
>
</el-table-column>
<el-table-column
prop=
"strategyName"
label=
"策略名称"
:show-overflow-tooltip=
"true"
min-width=
"1
40px
"
>
</el-table-column>
<!-- <el-table-column prop="" label="线下渠道">
<!-- <el-table-column prop="" label="线下渠道">
<template slot-scope="scope">
<template slot-scope="scope">
<span v-for="(item, index) in scope.row.channelList" v-show="item.channelType == 3" :key="index">
<span v-for="(item, index) in scope.row.channelList" v-show="item.channelType == 3" :key="index">
...
@@ -153,7 +153,7 @@
...
@@ -153,7 +153,7 @@
</span>
</span>
</template>
</template>
</el-table-column> -->
</el-table-column> -->
<el-table-column
prop=
""
label=
"达摩微商城"
>
<el-table-column
prop=
""
label=
"达摩微商城"
min-width=
"90px"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<span
v-for=
"(item, index) in scope.row.channelList"
v-show=
"item.channelType == 1"
:key=
"index"
>
<span
v-for=
"(item, index) in scope.row.channelList"
v-show=
"item.channelType == 1"
:key=
"index"
>
<span
v-if=
"item.openStatus == 0"
>
关闭
</span>
<span
v-if=
"item.openStatus == 0"
>
关闭
</span>
...
@@ -164,7 +164,7 @@
...
@@ -164,7 +164,7 @@
</span>
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
""
label=
"微盟渠道"
>
<el-table-column
prop=
""
label=
"微盟渠道"
min-width=
"80px"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<span
v-for=
"(item, index) in scope.row.channelList"
v-show=
"item.channelType == 9"
:key=
"index"
>
<span
v-for=
"(item, index) in scope.row.channelList"
v-show=
"item.channelType == 9"
:key=
"index"
>
<span
v-if=
"item.openStatus == 0"
>
关闭
</span>
<span
v-if=
"item.openStatus == 0"
>
关闭
</span>
...
@@ -175,38 +175,38 @@
...
@@ -175,38 +175,38 @@
</span>
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"useCrowd"
label=
"适用对象"
>
<el-table-column
prop=
"useCrowd"
label=
"适用对象"
min-width=
"80px"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
useCrowd
==
1
?
'所有会员'
:
'自定义人群'
}}
{{
scope
.
row
.
useCrowd
==
1
?
'所有会员'
:
'自定义人群'
}}
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
""
label=
"适用商品"
>
<el-table-column
prop=
""
label=
"适用商品"
min-width=
"80px"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<span
v-for=
"(item, index) in scope.row.channelList"
:key=
"index"
>
<span
v-for=
"(item, index) in scope.row.channelList"
:key=
"index"
>
<span
v-if=
"item.channelType == 1"
>
{{
item
.
channelRelationProType
==
1
&&
item
.
integralUseDiscountControl
==
1
?
"所有商品"
:
"自定义配置"
}}
</span>
<span
v-if=
"item.channelType == 1"
>
{{
item
.
channelRelationProType
==
1
&&
item
.
integralUseDiscountControl
==
1
?
"所有商品"
:
"自定义配置"
}}
</span>
</span>
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
""
label=
"折扣控制"
>
<el-table-column
prop=
""
label=
"折扣控制"
min-width=
"80px"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<span
v-for=
"(item, index) in scope.row.channelList"
:key=
"index"
>
<span
v-for=
"(item, index) in scope.row.channelList"
:key=
"index"
>
<span
v-if=
"item.channelType == 1"
>
{{
item
.
integralUseDiscountControl
==
1
?
"不限制"
:
(
item
.
integralUseDiscountControlLower
+
' : '
+
item
.
integralUseDiscountControlUpper
)
}}
</span>
<span
v-if=
"item.channelType == 1"
>
{{
item
.
integralUseDiscountControl
==
1
?
"不限制"
:
(
item
.
integralUseDiscountControlLower
+
' : '
+
item
.
integralUseDiscountControlUpper
)
}}
</span>
</span>
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"getRule"
label=
"抵现规则"
>
<el-table-column
prop=
"getRule"
label=
"抵现规则"
min-width=
"80px"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<span>
<span>
{{
scope
.
row
.
integralUseStatus
==
0
?
'无积分'
:
scope
.
row
.
integralUse
.
integral
+
':'
+
scope
.
row
.
integralUse
.
fee
}}
{{
scope
.
row
.
integralUseStatus
==
0
?
'无积分'
:
scope
.
row
.
integralUse
.
integral
+
':'
+
scope
.
row
.
integralUse
.
fee
}}
</span>
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
""
label=
"比例限制"
>
<el-table-column
prop=
""
label=
"比例限制"
min-width=
"80px"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<span
v-for=
"(item, index) in scope.row.channelList"
:key=
"index"
><span
v-if=
"item.channelType == 1"
>
{{
item
.
useProportionalRestriction
}}
%
</span></span>
<span
v-for=
"(item, index) in scope.row.channelList"
:key=
"index"
><span
v-if=
"item.channelType == 1"
>
{{
item
.
useProportionalRestriction
}}
%
</span></span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
""
label=
"有效期"
min-width=
"110
"
>
<el-table-column
prop=
""
label=
"有效期"
width=
"150px
"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<div
v-if=
"scope.row.perpetualFlag === 0"
>
<div
v-if=
"scope.row.perpetualFlag === 0"
>
<p>
<p>
...
@@ -221,12 +221,12 @@
...
@@ -221,12 +221,12 @@
</div>
</div>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
""
label=
"状态"
>
<el-table-column
prop=
""
label=
"状态"
min-width=
"80px"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
perpetualFlag
|
normalizeStatus
(
scope
.
row
.
endValidTime
)
}}
{{
scope
.
row
.
perpetualFlag
|
normalizeStatus
(
scope
.
row
.
endValidTime
)
}}
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"操作"
>
<el-table-column
label=
"操作"
min-width=
"100px"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-button
@
click=
"handleEditClick2(scope.row)"
type=
"text"
>
编辑
</el-button>
<el-button
@
click=
"handleEditClick2(scope.row)"
type=
"text"
>
编辑
</el-button>
<delete-tip
@
confirm=
"handleDelClick(scope.$index, scope.row, exchangeTableData)"
tips=
"确认删除吗?"
>
<delete-tip
@
confirm=
"handleDelClick(scope.$index, scope.row, exchangeTableData)"
tips=
"确认删除吗?"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment