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 bff19086
authored
Mar 06, 2023
by
姜鹏凯
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
文案优化
1 parent
61dd2843
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
82 additions
and
78 deletions
linkwe-pc/src/views/application/taskGroup/list.vue
linkwe-pc/src/views/groupMessage/add.vue
linkwe-pc/src/views/application/taskGroup/list.vue
View file @
bff1908
<
script
>
<
script
>
import
*
as
api
from
'@/api/task'
import
*
as
api
from
'@/api/task'
export
default
{
export
default
{
name
:
'Group'
,
name
:
'Group'
,
data
()
{
data
()
{
return
{
return
{
query
:
{
query
:
{
pageNum
:
1
,
pageNum
:
1
,
pageSize
:
10
,
pageSize
:
10
,
taskName
:
''
,
taskName
:
''
,
startTime
:
''
,
startTime
:
''
,
overTime
:
''
,
overTime
:
''
,
fissionType
:
1
,
fissionType
:
1
},
},
dateRange
:
[],
dateRange
:
[],
tableData
:
[],
tableData
:
[],
total
:
0
,
total
:
0
,
loading
:
false
,
loading
:
false
}
},
created
()
{
this
.
getList
()
this
.
$store
.
dispatch
(
'app/setBusininessDesc'
,
`
<div>是通过管理员统一下发群发消息的任务,将消息推送给员工,员工点击任务按钮进行发送,将任务裂变海报以 H5 网页链接的形式发送给客户。此方式也会消耗一月四次客户群发触达的次数限制。</div>
`
,
)
},
methods
:
{
setChange
(
e
)
{
if
(
e
)
{
this
.
query
.
startTime
=
e
[
0
]
this
.
query
.
overTime
=
e
[
1
]
}
else
{
this
.
query
.
startTime
=
''
this
.
query
.
overTime
=
''
}
}
},
},
resetFn
()
{
created
()
{
this
.
query
=
{
pageNum
:
1
,
pageSize
:
10
,
taskName
:
''
,
startTime
:
''
,
overTime
:
''
,
fissionType
:
1
,
}
this
.
dateRange
=
[]
this
.
getList
()
this
.
getList
()
this
.
$store
.
dispatch
(
'app/setBusininessDesc'
,
`
<div>是通过管理员统一下发群发消息的任务,将消息推送给员工,员工点击任务按钮进行发送,将任务裂变海报以 H5 网页链接的形式发送给客户。此方式也会消耗每天四次客户群发触达的次数限制。</div>
`
)
},
},
getList
(
data
)
{
methods
:
{
this
.
loading
=
true
setChange
(
e
)
{
let
params
=
Object
.
assign
({},
this
.
query
,
data
)
if
(
e
)
{
api
.
getList
(
params
).
then
(({
rows
,
total
})
=>
{
this
.
query
.
startTime
=
e
[
0
]
this
.
tableData
=
rows
this
.
query
.
overTime
=
e
[
1
]
this
.
total
=
+
total
}
else
{
this
.
loading
=
false
this
.
query
.
startTime
=
''
})
this
.
query
.
overTime
=
''
},
}
resetForm
()
{},
},
toDetail
(
row
)
{
resetFn
()
{
this
.
$router
.
push
({
this
.
query
=
{
path
:
`detail?id=
${
row
.
id
}
`
,
pageNum
:
1
,
})
pageSize
:
10
,
},
taskName
:
''
,
newAdd
()
{
startTime
:
''
,
this
.
$router
.
push
({
overTime
:
''
,
path
:
'add'
,
fissionType
:
1
})
}
},
this
.
dateRange
=
[]
toEdit
(
row
)
{
this
.
getList
()
this
.
$router
.
push
({
},
path
:
`add?id=
${
row
.
id
}
`
,
getList
(
data
)
{
})
this
.
loading
=
true
},
let
params
=
Object
.
assign
({},
this
.
query
,
data
)
},
api
.
getList
(
params
).
then
(({
rows
,
total
})
=>
{
}
this
.
tableData
=
rows
this
.
total
=
+
total
this
.
loading
=
false
})
},
resetForm
()
{},
toDetail
(
row
)
{
this
.
$router
.
push
({
path
:
`detail?id=
${
row
.
id
}
`
})
},
newAdd
()
{
this
.
$router
.
push
({
path
:
'add'
})
},
toEdit
(
row
)
{
this
.
$router
.
push
({
path
:
`add?id=
${
row
.
id
}
`
})
}
}
}
</
script
>
</
script
>
<
template
>
<
template
>
...
@@ -95,14 +95,16 @@ export default {
...
@@ -95,14 +95,16 @@ export default {
range-separator=
"至"
range-separator=
"至"
start-placeholder=
"开始日期"
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
end-placeholder=
"结束日期"
align=
"right"
></el-date-picker>
align=
"right"
></el-date-picker>
</el-form-item>
</el-form-item>
<el-form-item
label=
""
>
<el-form-item
label=
""
>
<el-button
<el-button
v-hasPermi=
"['customerManage:customer:query']"
v-hasPermi=
"['customerManage:customer:query']"
type=
"primary"
type=
"primary"
:loading=
"loading"
:loading=
"loading"
@
click=
"getList(
{ pageNum: 1 })">
@
click=
"getList(
{ pageNum: 1 })"
>
查询
查询
</el-button>
</el-button>
<el-button
@
click=
"resetFn"
>
重置
</el-button>
<el-button
@
click=
"resetFn"
>
重置
</el-button>
...
@@ -111,7 +113,8 @@ export default {
...
@@ -111,7 +113,8 @@ export default {
v-hasPermi=
"['customerManage:customer:query']"
v-hasPermi=
"['customerManage:customer:query']"
type=
"primary"
type=
"primary"
@
click=
"newAdd()"
@
click=
"newAdd()"
style=
"background: #fa7216; color: #ffffff; border-color: #fa7216"
>
style=
"background: #fa7216; color: #ffffff; border-color: #fa7216;"
>
新增任务
新增任务
</el-button>
</el-button>
</el-form-item>
</el-form-item>
...
@@ -162,7 +165,8 @@ export default {
...
@@ -162,7 +165,8 @@ export default {
:total=
"total"
:total=
"total"
:page
.
sync=
"query.pageNum"
:page
.
sync=
"query.pageNum"
:limit
.
sync=
"query.pageSize"
:limit
.
sync=
"query.pageSize"
@
pagination=
"getList()"
/>
@
pagination=
"getList()"
/>
</div>
</div>
</div>
</div>
</template>
</template>
...
...
linkwe-pc/src/views/groupMessage/add.vue
View file @
bff1908
This diff is collapsed.
Click to expand it.
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