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 3f6929f0
authored
Nov 04, 2021
by
xinla
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge remote-tracking branch 'origin/front_end_1.5'
2 parents
472eb1bb
33d28a73
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
38 additions
and
198 deletions
linkwe-ui/src/views/communityOperating/groupSOP/list.vue
linkwe-ui/src/views/communityOperating/keywords/list.vue
linkwe-ui/src/views/communityOperating/oldCustomer/list.vue
linkwe-ui/src/views/communityOperating/groupSOP/list.vue
View file @
3f6929f
...
@@ -193,16 +193,10 @@ export default {
...
@@ -193,16 +193,10 @@ export default {
v-hasPermi=
"['enterpriseWechat:view']"
v-hasPermi=
"['enterpriseWechat:view']"
size=
"mini"
size=
"mini"
type=
"text"
type=
"text"
icon=
"el-icon-view"
@
click=
"handleRemove(scope.row.ruleId)"
@
click=
"handleRemove(scope.row.ruleId)"
>
删除
</el-button
>
删除
</el-button
>
>
<el-button
<el-button
v-hasPermi=
"['enterpriseWechat:edit']"
size=
"mini"
type=
"text"
@
click=
"goRoute(scope.row.ruleId)"
v-hasPermi=
"['enterpriseWechat:edit']"
size=
"mini"
type=
"text"
icon=
"el-icon-edit"
@
click=
"goRoute(scope.row.ruleId)"
>
编辑
</el-button
>
编辑
</el-button
>
>
</
template
>
</
template
>
...
...
linkwe-ui/src/views/communityOperating/keywords/list.vue
View file @
3f6929f
...
@@ -186,14 +186,7 @@ export default {
...
@@ -186,14 +186,7 @@ export default {
</div>
</div>
</div>
</div>
<el-form
<el-form
ref=
"queryForm"
:inline=
"true"
:model=
"query"
label-width=
"100px"
class=
"top-search"
size=
"small"
>
ref=
"queryForm"
:inline=
"true"
:model=
"query"
label-width=
"100px"
class=
"top-search"
size=
"small"
>
<el-form-item
label=
"活码名称"
prop=
"taskName"
>
<el-form-item
label=
"活码名称"
prop=
"taskName"
>
<el-input
v-model=
"query.taskName"
placeholder=
"请输入"
></el-input>
<el-input
v-model=
"query.taskName"
placeholder=
"请输入"
></el-input>
</el-form-item>
</el-form-item>
...
@@ -216,18 +209,8 @@ export default {
...
@@ -216,18 +209,8 @@ export default {
></el-date-picker>
></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']"
type=
"primary"
@
click=
"getList(1)"
>
查询
</el-button>
v-hasPermi=
"['customerManage:customer:query']"
<el-button
v-hasPermi=
"['customerManage:customer:query']"
type=
"success"
@
click=
"resetQuery()"
>
重置
</el-button>
type=
"primary"
@
click=
"getList(1)"
>
查询
</el-button
>
<el-button
v-hasPermi=
"['customerManage:customer:query']"
type=
"success"
@
click=
"resetQuery()"
>
重置
</el-button
>
</el-form-item>
</el-form-item>
</el-form>
</el-form>
...
@@ -247,18 +230,9 @@ export default {
...
@@ -247,18 +230,9 @@ export default {
</div>
</div>
</div>
</div>
<el-table
<el-table
v-loading=
"loading"
:data=
"list"
@
selection-change=
"handleSelectionChange"
>
v-loading=
"loading"
:data=
"list"
@
selection-change=
"handleSelectionChange"
>
<el-table-column
type=
"selection"
width=
"50"
align=
"center"
/>
<el-table-column
type=
"selection"
width=
"50"
align=
"center"
/>
<el-table-column
<el-table-column
label=
"活码名称"
align=
"center"
prop=
"taskName"
:show-overflow-tooltip=
"true"
/>
label=
"活码名称"
align=
"center"
prop=
"taskName"
:show-overflow-tooltip=
"true"
/>
<el-table-column
label=
"群活码"
align=
"center"
width=
"130"
>
<el-table-column
label=
"群活码"
align=
"center"
width=
"130"
>
<template
#
default=
"
{ row }">
<template
#
default=
"
{ row }">
<el-popover
placement=
"bottom"
trigger=
"hover"
>
<el-popover
placement=
"bottom"
trigger=
"hover"
>
...
@@ -267,21 +241,13 @@ export default {
...
@@ -267,21 +241,13 @@ export default {
:src=
"(row.groupCodeInfo && row.groupCodeInfo.codeUrl) || ''"
:src=
"(row.groupCodeInfo && row.groupCodeInfo.codeUrl) || ''"
class=
"code-image--small"
class=
"code-image--small"
></el-image>
></el-image>
<el-image
<el-image
:src=
"(row.groupCodeInfo && row.groupCodeInfo.codeUrl) || ''"
class=
"code-image"
></el-image>
:src=
"(row.groupCodeInfo && row.groupCodeInfo.codeUrl) || ''"
class=
"code-image"
></el-image>
</el-popover>
</el-popover>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"关键词"
align=
"center"
width=
"120"
>
<el-table-column
label=
"关键词"
align=
"center"
width=
"120"
>
<
template
#
default=
"{ row }"
>
<
template
#
default=
"{ row }"
>
<el-popover
<el-popover
placement=
"bottom"
width=
"200"
trigger=
"hover"
:content=
"row.keywords"
>
placement=
"bottom"
width=
"200"
trigger=
"hover"
:content=
"row.keywords"
>
<div
slot=
"reference"
class=
"table-desc overflow-ellipsis"
>
<div
slot=
"reference"
class=
"table-desc overflow-ellipsis"
>
<!--
{{
getDisplayKeywords
(
row
)
}}
-->
<!--
{{
getDisplayKeywords
(
row
)
}}
-->
{{
row
.
keywords
}}
{{
row
.
keywords
}}
...
@@ -291,12 +257,7 @@ export default {
...
@@ -291,12 +257,7 @@ export default {
</el-table-column>
</el-table-column>
<el-table-column
label=
"实际群聊"
align=
"center"
width=
"120"
>
<el-table-column
label=
"实际群聊"
align=
"center"
width=
"120"
>
<
template
#
default=
"{ row }"
>
<
template
#
default=
"{ row }"
>
<el-popover
<el-popover
placement=
"bottom"
width=
"200"
trigger=
"hover"
:content=
"row.groupNameList"
>
placement=
"bottom"
width=
"200"
trigger=
"hover"
:content=
"row.groupNameList"
>
<div
slot=
"reference"
class=
"table-desc overflow-ellipsis"
>
<div
slot=
"reference"
class=
"table-desc overflow-ellipsis"
>
<!--
{{
getDisplayRealGroups
(
row
)
}}
-->
<!--
{{
getDisplayRealGroups
(
row
)
}}
-->
{{
row
.
groupNameList
}}
{{
row
.
groupNameList
}}
...
@@ -305,31 +266,13 @@ export default {
...
@@ -305,31 +266,13 @@ export default {
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
<el-table-column
label=
"创建人"
align=
"center"
prop=
"createBy"
></el-table-column>
label=
"创建人"
align=
"center"
prop=
"createBy"
></el-table-column>
<el-table-column
<el-table-column
label=
"创建时间"
align=
"center"
prop=
"createTime"
></el-table-column>
label=
"创建时间"
align=
"center"
prop=
"createTime"
></el-table-column>
<el-table-column
<el-table-column
label=
"操作"
align=
"center"
width=
"180"
class-name=
"small-padding fixed-width"
>
label=
"操作"
align=
"center"
width=
"180"
class-name=
"small-padding fixed-width"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-button
<el-button
v-hasPermi=
"['enterpriseWechat:edit']"
size=
"mini"
type=
"text"
@
click=
"goRoute(scope.row.taskId)"
v-hasPermi=
"['enterpriseWechat:edit']"
size=
"mini"
type=
"text"
icon=
"el-icon-edit"
@
click=
"goRoute(scope.row.taskId)"
>
编辑
</el-button
>
编辑
</el-button
>
>
<!--
<el-button
<!--
<el-button
...
@@ -343,7 +286,6 @@ export default {
...
@@ -343,7 +286,6 @@ export default {
v-hasPermi=
"['enterpriseWechat:edit']"
v-hasPermi=
"['enterpriseWechat:edit']"
size=
"mini"
size=
"mini"
type=
"text"
type=
"text"
icon=
"el-icon-edit"
@
click=
"handleRemove(scope.row.taskId)"
@
click=
"handleRemove(scope.row.taskId)"
>
删除
</el-button
>
删除
</el-button
>
>
...
@@ -359,35 +301,23 @@ export default {
...
@@ -359,35 +301,23 @@ export default {
@
pagination=
"getList()"
@
pagination=
"getList()"
/>
/>
<el-dialog
<el-dialog
title=
"配置方法"
:visible
.
sync=
"dialogHowToConfig"
width=
"500px"
style=
"margin-bottom: 7vh;"
>
title=
"配置方法"
:visible
.
sync=
"dialogHowToConfig"
width=
"500px"
style=
"margin-bottom: 7vh;"
>
<div
class=
"help"
>
<div
class=
"help"
>
<div
class=
"step"
>
<div
class=
"step"
>
<p>
<p>
1、登录企业微信官方后台,进入应用管理,点击
1、登录企业微信官方后台,进入应用管理,点击 LinkWeChat,再点击【配置到聊天工具栏】。
LinkWeChat,再点击【配置到聊天工具栏】。
</p>
</p>
<el-image
<el-image
:src=
"require('@/assets/example/keywordHelp1.png')"
></el-image>
:src=
"require('@/assets/example/keywordHelp1.png')"
></el-image>
</div>
</div>
<div
class=
"step"
>
<div
class=
"step"
>
<p>
2、点击【配置】后,进入配置页面。
</p>
<p>
2、点击【配置】后,进入配置页面。
</p>
<el-image
<el-image
:src=
"require('@/assets/example/keywordHelp2.png')"
></el-image>
:src=
"require('@/assets/example/keywordHelp2.png')"
></el-image>
</div>
</div>
<div
class=
"step"
>
<div
class=
"step"
>
<p>
<p>
3、点击【配置页面】后,在弹窗中,输入页面名称及链接,并确定即可。进入配置页面。
3、点击【配置页面】后,在弹窗中,输入页面名称及链接,并确定即可。进入配置页面。
</p>
</p>
<el-image
<el-image
:src=
"require('@/assets/example/keywordHelp3.png')"
></el-image>
:src=
"require('@/assets/example/keywordHelp3.png')"
></el-image>
</div>
</div>
</div>
</div>
<div
slot=
"footer"
>
<div
slot=
"footer"
>
...
...
linkwe-ui/src/views/communityOperating/oldCustomer/list.vue
View file @
3f6929f
...
@@ -128,7 +128,7 @@ export default {
...
@@ -128,7 +128,7 @@ export default {
// 获取显示用tag字符串
// 获取显示用tag字符串
getDisplayTags
(
row
)
{
getDisplayTags
(
row
)
{
if
(
!
(
row
&&
row
.
length
>
0
))
return
''
if
(
!
(
row
&&
row
.
length
>
0
))
return
''
const
tags
=
row
.
tagList
.
map
((
t
)
=>
t
&&
t
.
name
?
t
.
name
:
''
)
const
tags
=
row
.
tagList
.
map
((
t
)
=>
(
t
&&
t
.
name
?
t
.
name
:
''
)
)
return
tags
.
join
(
' '
)
return
tags
.
join
(
' '
)
},
},
...
@@ -183,21 +183,10 @@ export default {
...
@@ -183,21 +183,10 @@ export default {
customerFilter
()
{
customerFilter
()
{
const
l
=
[]
const
l
=
[]
for
(
let
data
of
this
.
customerList
)
{
for
(
let
data
of
this
.
customerList
)
{
if
(
if
(
this
.
customerQuery
.
customerName
!==
''
&&
!
this
.
customerQuery
.
customerName
.
includes
(
data
.
customerName
))
this
.
customerQuery
.
customerName
!==
''
&&
!
this
.
customerQuery
.
customerName
.
includes
(
data
.
customerName
)
)
continue
if
(
this
.
customerQuery
.
isInGroup
!==
''
&&
this
.
customerQuery
.
isInGroup
!==
data
.
isInGroup
)
continue
if
(
this
.
customerQuery
.
isSent
!==
''
&&
this
.
customerQuery
.
isSent
!==
data
.
isSent
)
continue
continue
if
(
this
.
customerQuery
.
isInGroup
!==
''
&&
this
.
customerQuery
.
isInGroup
!==
data
.
isInGroup
)
continue
if
(
this
.
customerQuery
.
isSent
!==
''
&&
this
.
customerQuery
.
isSent
!==
data
.
isSent
)
continue
l
.
push
(
data
)
l
.
push
(
data
)
}
}
...
@@ -226,13 +215,7 @@ export default {
...
@@ -226,13 +215,7 @@ export default {
<
template
>
<
template
>
<div>
<div>
<div
class=
"top-search"
>
<div
class=
"top-search"
>
<el-form
<el-form
inline
label-position=
"right"
:model=
"query"
label-width=
"100px"
ref=
"queryForm"
>
inline
label-position=
"right"
:model=
"query"
label-width=
"100px"
ref=
"queryForm"
>
<el-form-item
label=
"任务名称"
prop=
"taskName"
>
<el-form-item
label=
"任务名称"
prop=
"taskName"
>
<el-input
v-model=
"query.taskName"
placeholder=
"请输入"
></el-input>
<el-input
v-model=
"query.taskName"
placeholder=
"请输入"
></el-input>
</el-form-item>
</el-form-item>
...
@@ -270,41 +253,20 @@ export default {
...
@@ -270,41 +253,20 @@ export default {
<div
class=
"mid-action"
>
<div
class=
"mid-action"
>
<div>
<div>
<el-button
<el-button
type=
"primary"
v-hasPermi=
"['enterpriseWechat:add']"
@
click=
"goRoute()"
>
type=
"primary"
v-hasPermi=
"['enterpriseWechat:add']"
@
click=
"goRoute()"
>
新建任务
新建任务
</el-button>
</el-button>
</div>
</div>
<div>
<div>
<el-button
<el-button
:disabled=
"multiSelect.length === 0"
@
click=
"handleBulkRemove"
type=
"cyan"
>
:disabled=
"multiSelect.length === 0"
@
click=
"handleBulkRemove"
type=
"cyan"
>
批量删除
批量删除
</el-button>
</el-button>
</div>
</div>
</div>
</div>
<el-table
<el-table
v-loading=
"loading"
:data=
"list"
@
selection-change=
"handleSelectionChange"
>
v-loading=
"loading"
<el-table-column
type=
"selection"
width=
"50"
align=
"center"
></el-table-column>
:data=
"list"
<el-table-column
label=
"任务名称"
align=
"center"
prop=
"taskName"
:show-overflow-tooltip=
"true"
></el-table-column>
@
selection-change=
"handleSelectionChange"
>
<el-table-column
type=
"selection"
width=
"50"
align=
"center"
></el-table-column>
<el-table-column
label=
"任务名称"
align=
"center"
prop=
"taskName"
:show-overflow-tooltip=
"true"
></el-table-column>
<el-table-column
prop=
"sendType"
label=
"发送方式"
align=
"center"
>
<el-table-column
prop=
"sendType"
label=
"发送方式"
align=
"center"
>
<template
#
default=
"
{ row }">
<template
#
default=
"
{ row }">
{{
parseInt
(
row
.
sendType
)
===
0
?
'企业群发'
:
'个人群发'
}}
{{
parseInt
(
row
.
sendType
)
===
0
?
'企业群发'
:
'个人群发'
}}
...
@@ -319,12 +281,7 @@ export default {
...
@@ -319,12 +281,7 @@ export default {
</el-table-column>
</el-table-column>
<el-table-column
label=
"客户标签"
align=
"center"
width=
"120"
>
<el-table-column
label=
"客户标签"
align=
"center"
width=
"120"
>
<
template
#
default=
"{ row }"
>
<
template
#
default=
"{ row }"
>
<el-popover
<el-popover
placement=
"bottom"
width=
"200"
trigger=
"hover"
:content=
"getDisplayTags(row)"
>
placement=
"bottom"
width=
"200"
trigger=
"hover"
:content=
"getDisplayTags(row)"
>
<div
slot=
"reference"
class=
"table-desc overflow-ellipsis"
>
<div
slot=
"reference"
class=
"table-desc overflow-ellipsis"
>
{{
getDisplayTags
(
row
)
}}
{{
getDisplayTags
(
row
)
}}
</div>
</div>
...
@@ -332,39 +289,19 @@ export default {
...
@@ -332,39 +289,19 @@ export default {
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
<el-table-column
prop=
"createBy"
label=
"创建人"
align=
"center"
></el-table-column>
prop=
"createBy"
<el-table-column
label=
"创建时间"
align=
"center"
prop=
"createTime"
width=
"160"
></el-table-column>
label=
"创建人"
align=
"center"
></el-table-column>
<el-table-column
label=
"创建时间"
align=
"center"
prop=
"createTime"
width=
"160"
></el-table-column>
<el-table-column
<el-table-column
label=
"操作"
align=
"center"
width=
"180"
class-name=
"small-padding fixed-width"
>
label=
"操作"
align=
"center"
width=
"180"
class-name=
"small-padding fixed-width"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-button
<el-button
v-hasPermi=
"['enterpriseWechat:view']"
v-hasPermi=
"['enterpriseWechat:view']"
size=
"mini"
size=
"mini"
type=
"text"
type=
"text"
icon=
"el-icon-view"
@
click=
"handleRemove(scope.row.taskId)"
@
click=
"handleRemove(scope.row.taskId)"
>
删除
</el-button
>
删除
</el-button
>
>
<el-button
<el-button
v-hasPermi=
"['enterpriseWechat:edit']"
size=
"mini"
type=
"text"
@
click=
"goRoute(scope.row.taskId)"
v-hasPermi=
"['enterpriseWechat:edit']"
size=
"mini"
type=
"text"
icon=
"el-icon-edit"
@
click=
"goRoute(scope.row.taskId)"
>
编辑
</el-button
>
编辑
</el-button
>
>
</
template
>
</
template
>
...
@@ -382,25 +319,12 @@ export default {
...
@@ -382,25 +319,12 @@ export default {
<el-dialog
title=
"客户统计"
:visible
.
sync=
"dialogVisible"
>
<el-dialog
title=
"客户统计"
:visible
.
sync=
"dialogVisible"
>
<div>
<div>
<div
class=
"top-search"
>
<div
class=
"top-search"
>
<el-form
<el-form
inline
label-position=
"right"
:model=
"customerQuery"
label-width=
"80px"
ref=
"customerForm"
>
inline
label-position=
"right"
:model=
"customerQuery"
label-width=
"80px"
ref=
"customerForm"
>
<el-form-item
prop=
"customerName"
>
<el-form-item
prop=
"customerName"
>
<el-input
<el-input
v-model=
"customerQuery.customerName"
placeholder=
"请输入客户名称"
></el-input>
v-model=
"customerQuery.customerName"
placeholder=
"请输入客户名称"
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
prop=
"isInGroup"
>
<el-form-item
prop=
"isInGroup"
>
<el-select
<el-select
v-model=
"customerQuery.isInGroup"
placeholder=
"全部"
size=
"small"
>
v-model=
"customerQuery.isInGroup"
placeholder=
"全部"
size=
"small"
>
<el-option
<el-option
v-for=
"(inGroup, index) in inGroupOptions"
v-for=
"(inGroup, index) in inGroupOptions"
:label=
"inGroup.label"
:label=
"inGroup.label"
...
@@ -410,11 +334,7 @@ export default {
...
@@ -410,11 +334,7 @@ export default {
</el-select>
</el-select>
</el-form-item>
</el-form-item>
<el-form-item
prop=
"isSent"
>
<el-form-item
prop=
"isSent"
>
<el-select
<el-select
v-model=
"customerQuery.isSent"
placeholder=
"全部状态"
size=
"small"
>
v-model=
"customerQuery.isSent"
placeholder=
"全部状态"
size=
"small"
>
<el-option
<el-option
v-for=
"(status, index) in sendStatusOptions"
v-for=
"(status, index) in sendStatusOptions"
:label=
"status.label"
:label=
"status.label"
...
@@ -430,11 +350,7 @@ export default {
...
@@ -430,11 +350,7 @@ export default {
</el-form>
</el-form>
</div>
</div>
<el-table
v-loading=
"customerLoading"
:data=
"customerList"
>
<el-table
v-loading=
"customerLoading"
:data=
"customerList"
>
<el-table-column
<el-table-column
label=
"客户名"
align=
"center"
prop=
"customerName"
></el-table-column>
label=
"客户名"
align=
"center"
prop=
"customerName"
></el-table-column>
<el-table-column
prop=
"sent"
label=
"送达状态"
align=
"center"
>
<el-table-column
prop=
"sent"
label=
"送达状态"
align=
"center"
>
<
template
#
default=
"{ row }"
>
<
template
#
default=
"{ row }"
>
<template
v-if=
"row.sent"
>
<template
v-if=
"row.sent"
>
...
...
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