Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
江名洋
/
linkwe-scrm
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 765c4bb3
authored
Aug 23, 2023
by
怪兽?别跑
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
裂变卡片消息
1 parent
19e8432b
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
29 additions
and
18 deletions
vue3-lw-pc/src/views/application/common/FassionSetting.vue
vue3-lw-pc/src/views/application/groupFission/add.vue
vue3-lw-pc/src/views/application/groupFission/list.vue
vue3-lw-pc/src/views/application/taskGroup/add.vue
vue3-lw-pc/src/views/application/common/FassionSetting.vue
View file @
765c4bb
This diff is collapsed.
Click to expand it.
vue3-lw-pc/src/views/application/groupFission/add.vue
View file @
765c4bb
...
@@ -70,7 +70,11 @@
...
@@ -70,7 +70,11 @@
redemptionRule
:
''
,
redemptionRule
:
''
,
weUserId
:
''
,
weUserId
:
''
,
userName
:
''
userName
:
''
}
},
activeTitle
:
''
,
activeDescr
:
''
,
activeCoverType
:
1
,
activeCoverUrl
:
''
}
}
}
}
},
},
...
...
vue3-lw-pc/src/views/application/groupFission/list.vue
View file @
765c4bb
...
@@ -28,7 +28,8 @@
...
@@ -28,7 +28,8 @@
width=
"55"
width=
"55"
align=
"center"
align=
"center"
fixed=
"left"
fixed=
"left"
:selectable=
"selectable"
></el-table-column>
:selectable=
"selectable"
></el-table-column>
<el-table-column
prop=
"fassionName"
label=
"任务名称"
align=
"center"
width=
"120"
fixed=
"left"
></el-table-column>
<el-table-column
prop=
"fassionName"
label=
"任务名称"
align=
"center"
width=
"120"
fixed=
"left"
></el-table-column>
<el-table-column
prop=
"statusType"
label=
"任务状态"
align=
"center"
width=
"100"
>
<el-table-column
prop=
"statusType"
label=
"任务状态"
align=
"center"
width=
"100"
>
<template
#
default=
"
{ row }">
<template
#
default=
"
{ row }">
...
@@ -103,7 +104,8 @@
...
@@ -103,7 +104,8 @@
<el-button
<el-button
text
text
v-if=
"row.fassionState == 1"
v-if=
"row.fassionState == 1"
@
click=
"$router.push(
{ path: './add', query: { id: row.id } })">
@
click=
"$router.push(
{ path: './add', query: { id: row.id } })"
>
编辑
编辑
</el-button>
</el-button>
<el-button
text
v-if=
"row.fassionState !== 2"
@
click=
"deleteFn(row)"
>
删除
</el-button>
<el-button
text
v-if=
"row.fassionState !== 2"
@
click=
"deleteFn(row)"
>
删除
</el-button>
...
@@ -115,32 +117,33 @@
...
@@ -115,32 +117,33 @@
:total=
"total"
:total=
"total"
v-model:page=
"query.pageNum"
v-model:page=
"query.pageNum"
v-model:limit=
"query.pageSize"
v-model:limit=
"query.pageSize"
@
pagination=
"getList"
/>
@
pagination=
"getList"
/>
</div>
</div>
</div>
</div>
</template>
</template>
<
script
>
<
script
>
import
{
getList
,
deleteFassion
,
deleteMultFa
}
from
'../taskGroup/api'
import
{
getList
,
deleteFassion
,
deleteMultFa
}
from
'../taskGroup/api'
export
default
{
export
default
{
name
:
'task-group-list'
,
name
:
'task-group-list'
,
data
()
{
data
()
{
return
{
return
{
statusType
:
[
statusType
:
[
{
name
:
'待开始'
,
key
:
1
},
{
name
:
'待开始'
,
key
:
1
},
{
name
:
'进行中'
,
key
:
2
},
{
name
:
'进行中'
,
key
:
2
},
{
name
:
'已结束'
,
key
:
3
},
{
name
:
'已结束'
,
key
:
3
}
],
],
query
:
{
query
:
{
fassionType
:
2
,
//1 任务宝 2群裂变
fassionType
:
2
,
//1 任务宝 2群裂变
pageSize
:
10
,
pageSize
:
10
,
pageNum
:
1
,
pageNum
:
1
,
fassionName
:
''
,
fassionName
:
''
,
fassionState
:
''
,
fassionState
:
''
},
},
total
:
0
,
total
:
0
,
loading
:
false
,
loading
:
false
,
list
:
[],
list
:
[],
selectList
:
[],
selectList
:
[]
}
}
},
},
methods
:
{
methods
:
{
...
@@ -191,7 +194,7 @@ export default {
...
@@ -191,7 +194,7 @@ export default {
this
.
$confirm
(
'是否确认删除当前裂变任务?删除后不可撤销,请谨慎操作。'
,
'删除'
,
{
this
.
$confirm
(
'是否确认删除当前裂变任务?删除后不可撤销,请谨慎操作。'
,
'删除'
,
{
confirmButtonText
:
'确定'
,
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
,
type
:
'warning'
})
})
.
then
(()
=>
{
.
then
(()
=>
{
return
deleteFassion
(
data
.
id
)
return
deleteFassion
(
data
.
id
)
...
@@ -210,7 +213,7 @@ export default {
...
@@ -210,7 +213,7 @@ export default {
this
.
$confirm
(
'是否确认删除当前裂变任务?删除后不可撤销,请谨慎操作。'
,
'警告'
,
{
this
.
$confirm
(
'是否确认删除当前裂变任务?删除后不可撤销,请谨慎操作。'
,
'警告'
,
{
confirmButtonText
:
'确定'
,
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
,
type
:
'warning'
})
})
.
then
(()
=>
{
.
then
(()
=>
{
return
deleteMultFa
(
ids
)
return
deleteMultFa
(
ids
)
...
@@ -220,24 +223,24 @@ export default {
...
@@ -220,24 +223,24 @@ export default {
this
.
msgSuccess
(
'删除成功'
)
this
.
msgSuccess
(
'删除成功'
)
})
})
.
catch
(
function
()
{})
.
catch
(
function
()
{})
},
}
},
},
created
()
{
created
()
{
this
.
getList
()
this
.
getList
()
this
.
$store
.
setBusininessDesc
(
this
.
$store
.
setBusininessDesc
(
`
`
<div>通过任务形式,引导老客裂变新客加群,实现客群增长</div>
<div>通过任务形式,引导老客裂变新客加群,实现客群增长</div>
`
,
`
)
)
},
}
}
}
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.self_a
{
.self_a
{
color
:
var
(
--color
);
color
:
var
(
--color
);
text-decoration
:
underline
;
text-decoration
:
underline
;
&:hover
{
&:hover
{
opacity
:
0.8
;
opacity
:
0.8
;
}
}
}
}
</
style
>
</
style
>
vue3-lw-pc/src/views/application/taskGroup/add.vue
View file @
765c4bb
...
@@ -70,7 +70,11 @@
...
@@ -70,7 +70,11 @@
redemptionRule
:
''
,
redemptionRule
:
''
,
weUserId
:
''
,
weUserId
:
''
,
userName
:
''
userName
:
''
}
},
activeTitle
:
''
,
activeDescr
:
''
,
activeCoverType
:
1
,
activeCoverUrl
:
''
}
}
}
}
},
},
...
...
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