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 107f4793
authored
Feb 21, 2022
by
周子尧
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'v1.2.0' of
http://192.168.3.233:8090/saas/scrm-micro-marketing
into v1.2.0
2 parents
252136a6
df4ce0c5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
24 additions
and
8 deletions
src/views/customerTransform/components/selectLabel.vue
src/views/giftBag/giftDetail.vue
src/views/giftBag/giftList.vue
src/views/giftBag/receivedGiftList.vue
src/views/giftBag/selectGiftDialog.vue
src/views/customerTransform/components/selectLabel.vue
View file @
107f479
...
...
@@ -205,8 +205,17 @@ export default {
item
.
tagChecked
.
splice
(
idx
,
1
)
this
.
labelTreeRets
.
forEach
(
item
=>
{
this
.
labelTreeRetSelect
.
forEach
(
itm
=>
{
// if (item.labelGroup.id == itm.labelGroup.id) {
// item.tagChecked = utils.deepClone(itm.tagChecked)
// }
if
(
item
.
labelGroup
.
id
==
itm
.
labelGroup
.
id
)
{
item
.
tagChecked
=
utils
.
deepClone
(
itm
.
tagChecked
)
let
tagChecked
=
[]
itm
.
tagChecked
.
forEach
(
x
=>
{
tagChecked
.
push
(
x
.
id
)
})
this
.
$nextTick
(()
=>
{
item
.
tagChecked
=
item
.
labelList
.
filter
(
i
=>
tagChecked
.
includes
(
i
.
id
))
})
}
if
(
item
.
tagChecked
.
length
==
0
)
{
this
.
$nextTick
(()
=>
{
...
...
src/views/giftBag/giftDetail.vue
View file @
107f479
...
...
@@ -36,7 +36,10 @@
</div>
<div
class=
"footer"
:style=
"
{ left: footerLeft + 'px', width: footerWidth + 'px' }">
<el-button
type=
"default"
@
click=
"handleCancel"
>
返回
</el-button>
<el-button
v-show=
"editForm.receivedFlag == 1"
type=
"primary"
@
click=
"handleEdit"
>
编辑
</el-button>
<!--
<span
v-show=
"editForm.receivedFlag == 1"
>
-->
<!--
<el-button
type=
"primary"
@
click=
"handleEdit"
>
编辑
</el-button>
-->
<!--
<GLButton
type=
"primary"
fn=
"编辑"
@
click=
"handleEdit"
>
编辑
</GLButton>
-->
<!--
</span>
-->
</div>
</div>
</
template
>
...
...
src/views/giftBag/giftList.vue
View file @
107f479
...
...
@@ -2,8 +2,8 @@
<
template
>
<div
class=
"marketing p-t-20"
>
<div
class=
"m-b-10"
>
<
el-button
:size=
"size"
type=
"primary"
class=
"el-icon-plus"
@
click=
"handleEdit('add')"
>
新增礼包
</el-button
>
<
!--
<GLButton
:size=
"size"
type=
"primary"
fn=
"新增礼包"
class=
"el-icon-plus"
@
click=
"handleEdit('add')"
>
新增礼包
</GLButton>
--
>
<
!--
<el-button
:size=
"size"
type=
"primary"
class=
"el-icon-plus"
@
click=
"handleEdit('add')"
>
新增礼包
</el-button>
--
>
<
GLButton
:size=
"size"
type=
"primary"
fn=
"新增礼包"
class=
"el-icon-plus"
@
click=
"handleEdit('add')"
>
新增礼包
</GLButton
>
</div>
<div
class=
"list-tips m-b-10"
>
<img
class=
"tips-img"
src=
"@/assets/icon-info.png"
/>
...
...
@@ -21,7 +21,8 @@
</glsx-combi-form>
<glsx-combi-form
ref=
"showSearch"
>
<span
slot=
"footer"
class=
"footer-btns"
>
<el-button
:size=
"size"
type=
"default"
@
click=
"handleExport"
>
导出
</el-button>
<!--
<el-button
:size=
"size"
type=
"default"
@
click=
"handleExport"
>
导出
</el-button>
-->
<GLButton
:size=
"size"
type=
"default"
fn=
"导出"
@
click=
"handleExport"
>
导出
</GLButton>
</span>
</glsx-combi-form>
</div>
...
...
@@ -42,6 +43,8 @@
</div>
<div
class=
"table-btns"
slot=
"auth-button"
slot-scope=
"scope"
>
<!--
<el-button
type=
"text"
@
click=
"handleDelete(scope.scope)"
>
删除
</el-button>
-->
<!--
<el-button
type=
"text"
@
click=
"handleEdit('edit', scope.scope)"
>
编辑
</el-button>
-->
<GLButton
type=
"text"
fn=
"编辑"
@
click=
"handleEdit('edit', scope.scope)"
>
编辑
</GLButton>
<GLButton
type=
"text"
fn=
"删除"
@
click=
"handleDelete(scope.scope)"
>
删除
</GLButton>
</div>
</GLTable>
...
...
src/views/giftBag/receivedGiftList.vue
View file @
107f479
...
...
@@ -12,7 +12,8 @@
</glsx-combi-form>
<glsx-combi-form
ref=
"showSearch"
>
<span
slot=
"footer"
class=
"footer-btns"
>
<el-button
:size=
"size"
type=
"default"
@
click=
"handleExport"
>
导出
</el-button>
<!--
<el-button
:size=
"size"
type=
"default"
@
click=
"handleExport"
>
导出
</el-button>
-->
<GLButton
:size=
"size"
type=
"default"
fn=
"已领取导出"
@
click=
"handleExport"
>
导出
</GLButton>
</span>
</glsx-combi-form>
</div>
...
...
src/views/giftBag/selectGiftDialog.vue
View file @
107f479
...
...
@@ -258,11 +258,11 @@ export default {
},
toCashRestrictLabelText
(
row
)
{
switch
(
row
.
use
Type
)
{
switch
(
row
.
use
Barriers
)
{
case
1
:
return
'无限制'
case
2
:
return
'订单满'
+
row
.
useAmount
+
'元可用'
return
'订单满'
+
row
.
full
+
'元可用'
}
},
...
...
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