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 fb4498d7
authored
May 29, 2021
by
xinla
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
升级element ui,欢迎语,客户管理,客情维护,企业管理优化等
1 parent
991f86e7
Show whitespace changes
Inline
Side-by-side
Showing
34 changed files
with
473 additions
and
336 deletions
linkwe-ui/package.json
linkwe-ui/src/assets/icons/svg/home.svg
linkwe-ui/src/components/PhoneDialog.vue
linkwe-ui/src/layout/components/AppMain.vue
linkwe-ui/src/layout/components/Breadcrumb/index.vue
linkwe-ui/src/styles/element-ui.scss
linkwe-ui/src/styles/index.scss
linkwe-ui/src/styles/sidebar.scss
linkwe-ui/src/views/appTool/chatToolbar/list.vue
linkwe-ui/src/views/appTool/selfApp/list.vue
linkwe-ui/src/views/application/groupFission.vue
linkwe-ui/src/views/application/taskGroup.vue
linkwe-ui/src/views/communityOperating/groupSOP/list.vue
linkwe-ui/src/views/communityOperating/keywords/list.vue
linkwe-ui/src/views/communityOperating/newCustomer/list.vue
linkwe-ui/src/views/communityOperating/oldCustomer/list.vue
linkwe-ui/src/views/contacts/organization.vue
linkwe-ui/src/views/customerManage/customer.vue
linkwe-ui/src/views/customerManage/customerDetail.vue
linkwe-ui/src/views/customerManage/dimission/index.vue
linkwe-ui/src/views/customerManage/group.vue
linkwe-ui/src/views/customerManage/groupDetail.vue
linkwe-ui/src/views/customerManage/lossRemind.vue
linkwe-ui/src/views/customerManage/tag.vue
linkwe-ui/src/views/drainageCode/group/list.vue
linkwe-ui/src/views/drainageCode/staff/list.vue
linkwe-ui/src/views/drainageCode/welcome/add.vue
linkwe-ui/src/views/drainageCode/welcome/components/Tab.vue
linkwe-ui/src/views/drainageCode/welcome/list.vue
linkwe-ui/src/views/enterpriseWechat/list.vue
linkwe-ui/src/views/groupMessage/add.vue
linkwe-ui/src/views/groupMessage/record.vue
linkwe-ui/src/views/material/components/MaPage.vue
linkwe-ui/src/views/material/text.vue
linkwe-ui/package.json
View file @
fb4498d
...
@@ -46,15 +46,16 @@
...
@@ -46,15 +46,16 @@
"core-js"
:
"3.6.5"
,
"core-js"
:
"3.6.5"
,
"echarts"
:
"4.2.1"
,
"echarts"
:
"4.2.1"
,
"element-resize-detector"
:
"^1.2.2"
,
"element-resize-detector"
:
"^1.2.2"
,
"element-ui"
:
"
2.13
.2"
,
"element-ui"
:
"
^2.15
.2"
,
"fabric"
:
"^3.5.1"
,
"fabric"
:
"^3.5.1"
,
"file-saver"
:
"2.0.1"
,
"file-saver"
:
"2.0.1"
,
"fuse.js"
:
"3.4.4"
,
"fuse.js"
:
"3.4.4"
,
"img"
:
"7.0.0"
,
"js-beautify"
:
"1.10.2"
,
"js-beautify"
:
"1.10.2"
,
"js-cookie"
:
"2.2.0"
,
"js-cookie"
:
"2.2.0"
,
"jsencrypt"
:
"3.0.0-rc.1"
,
"jsencrypt"
:
"3.0.0-rc.1"
,
"moment"
:
"^2.29.1"
,
"moment"
:
"^2.29.1"
,
"normalize.css"
:
"
7.0.0
"
,
"normalize.css"
:
"
^8.0.1
"
,
"nprogress"
:
"0.2.0"
,
"nprogress"
:
"0.2.0"
,
"path-to-regexp"
:
"2.4.0"
,
"path-to-regexp"
:
"2.4.0"
,
"promise.prototype.finally"
:
"^3.1.2"
,
"promise.prototype.finally"
:
"^3.1.2"
,
...
...
linkwe-ui/src/assets/icons/svg/home.svg
0 → 100644
View file @
fb4498d
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg
t=
"1622282080839"
class=
"icon"
viewBox=
"0 0 1024 1024"
version=
"1.1"
xmlns=
"http://www.w3.org/2000/svg"
p-id=
"11015"
xmlns:xlink=
"http://www.w3.org/1999/xlink"
width=
"200"
height=
"200"
><defs><style
type=
"text/css"
></style></defs><path
d=
"M426.666667 938.666667a42.666667 42.666667 0 0 1-42.666667 42.666666H149.205333A106.538667 106.538667 0 0 1 42.666667 874.517333v-362.666666c0-47.744 27.328-106.816 63.786666-137.792L484.352 52.821333a42.666667 42.666667 0 0 1 55.253333 0L917.546667 374.058667c36.48 31.061333 63.786667 89.984 63.786666 137.813333v362.666667A106.624 106.624 0 0 1 874.645333 981.333333H640a42.666667 42.666667 0 0 1-42.666667-42.666666V682.666667h-170.666666v256z m447.978666-42.666667A21.290667 21.290667 0 0 0 896 874.517333v-362.666666c0-22.784-16.277333-57.941333-33.706667-72.768L512 141.333333 161.706667 439.082667C144.341333 453.845333 128 489.152 128 511.850667v362.666666A21.205333 21.205333 0 0 0 149.205333 896H341.333333V640a42.666667 42.666667 0 0 1 42.666667-42.666667h256a42.666667 42.666667 0 0 1 42.666667 42.666667v256h191.978666z"
fill=
""
p-id=
"11016"
></path></svg>
\ No newline at end of file
\ No newline at end of file
linkwe-ui/src/components/PhoneDialog.vue
View file @
fb4498d
...
@@ -12,12 +12,12 @@ export default {
...
@@ -12,12 +12,12 @@ export default {
},
},
imageList
:
{
imageList
:
{
type
:
Array
,
type
:
Array
,
default
:
()
=>
[]
default
:
()
=>
[]
,
},
},
messageList
:
{
messageList
:
{
type
:
Array
,
type
:
Array
,
default
:
()
=>
[]
default
:
()
=>
[]
,
}
}
,
},
},
data
()
{
data
()
{
return
{}
return
{}
...
@@ -80,11 +80,11 @@ export default {
...
@@ -80,11 +80,11 @@ export default {
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.preview
{
.preview
{
width
:
260px
;
width
:
219px
;
background
:
#eee
;
height
:
361px
;
border-radius
:
8px
;
background
:
#f5f5f5
;
border-radius
:
4px
;
padding
:
15px
10px
;
padding
:
15px
10px
;
height
:
350px
;
line-height
:
1.25
;
line-height
:
1.25
;
.top
{
.top
{
font-weight
:
600
;
font-weight
:
600
;
...
...
linkwe-ui/src/layout/components/AppMain.vue
View file @
fb4498d
<
template
>
<
template
>
<section
class=
"app-main"
>
<transition
name=
"fade-transform"
mode=
"out-in"
>
<transition
name=
"fade-transform"
mode=
"out-in"
>
<router-view
class=
"page
"
:key=
"key"
/>
<router-view
class=
"page app-main
"
:key=
"key"
/>
<!--
<keep-alive
:include=
"cachedViews"
>
<!--
<keep-alive
:include=
"cachedViews"
>
</keep-alive>
-->
</keep-alive>
-->
</transition>
</transition>
</section>
</
template
>
</
template
>
<
script
>
<
script
>
...
@@ -28,7 +26,9 @@ export default {
...
@@ -28,7 +26,9 @@ export default {
//
min-height
:
calc
(
100vh
-
50px
);
//
min-height
:
calc
(
100vh
-
50px
);
width
:
100%
;
width
:
100%
;
position
:
relative
;
position
:
relative
;
overflow
:
auto
;
overflow-y
:
auto
;
overflow-x
:
hidden
;
padding-top
:
15px
;
//
background-color
:
#fff
;
//
background-color
:
#fff
;
}
}
...
...
linkwe-ui/src/layout/components/Breadcrumb/index.vue
View file @
fb4498d
<
template
>
<
template
>
<el-breadcrumb
class=
"app-breadcrumb"
separator=
"/"
>
<el-breadcrumb
class=
"app-breadcrumb"
separator=
"/"
>
<transition-group
name=
"breadcrumb"
>
<transition-group
name=
"breadcrumb"
>
<el-breadcrumb-item
key=
"1"
>
<svg-icon
@
click=
"handleLink(
{ path: '/index' })"
iconClass="home"
class="cp home"
>
</svg-icon>
</el-breadcrumb-item>
<el-breadcrumb-item
v-for=
"(item, index) in levelList"
:key=
"item.path"
>
<el-breadcrumb-item
v-for=
"(item, index) in levelList"
:key=
"item.path"
>
<span
<span
v-if=
"item.redirect === 'noRedirect' || index == levelList.length - 1"
v-if=
"item.redirect === 'noRedirect' || index == levelList.length - 1"
...
@@ -58,9 +65,9 @@ export default {
...
@@ -58,9 +65,9 @@ export default {
console
.
log
(
matched
)
console
.
log
(
matched
)
const
first
=
matched
[
0
]
const
first
=
matched
[
0
]
if
(
!
this
.
isDashboard
(
first
))
{
//
if (!this.isDashboard(first)) {
matched
=
[{
path
:
'/index'
,
meta
:
{
title
:
'首页'
}
}].
concat
(
matched
)
//
matched = [{ path: '/index', meta: { title: '首页' } }].concat(matched)
}
//
}
this
.
levelList
=
matched
.
filter
(
this
.
levelList
=
matched
.
filter
(
(
item
)
=>
item
.
meta
&&
item
.
meta
.
title
&&
item
.
meta
.
breadcrumb
!==
false
(
item
)
=>
item
.
meta
&&
item
.
meta
.
title
&&
item
.
meta
.
breadcrumb
!==
false
...
@@ -107,4 +114,7 @@ export default {
...
@@ -107,4 +114,7 @@ export default {
color
:
#888
;
color
:
#888
;
margin-left
:
10px
;
margin-left
:
10px
;
}
}
.home
{
color
:
$
blue
;
}
</
style
>
</
style
>
linkwe-ui/src/styles/element-ui.scss
View file @
fb4498d
...
@@ -119,6 +119,7 @@
...
@@ -119,6 +119,7 @@
}
}
.el-table
.el-table__body-wrapper
tr
{
.el-table
.el-table__body-wrapper
tr
{
box-shadow
:
0px
0px
5px
0px
rgba
(
195
,
195
,
195
,
0
.35
);
box-shadow
:
0px
0px
5px
0px
rgba
(
195
,
195
,
195
,
0
.35
);
height
:
50px
;
}
}
.el-table
th
.is-leaf
,
.el-table
th
.is-leaf
,
.el-table
td
{
.el-table
td
{
...
@@ -130,3 +131,12 @@
...
@@ -130,3 +131,12 @@
border-radius
:
4px
;
border-radius
:
4px
;
}
}
}
}
.el-form-item
{
margin
:
0
!
important
;
padding
:
10px
;
&
:hover
{
background
:
#e5f1fc
;
border-radius
:
10px
;
}
}
linkwe-ui/src/styles/index.scss
View file @
fb4498d
...
@@ -6,14 +6,14 @@
...
@@ -6,14 +6,14 @@
::-webkit-scrollbar
{
::-webkit-scrollbar
{
/*滚动条整体样式*/
/*滚动条整体样式*/
width
:
10px
;
/*高宽分别对应横竖滚动条的尺寸*/
/*高宽分别对应横竖滚动条的尺寸*/
height
:
8px
;
width
:
5px
;
height
:
5px
;
}
}
::-webkit-scrollbar-thumb
{
::-webkit-scrollbar-thumb
{
/*滚动条里面小方块*/
/*滚动条里面小方块*/
border-radius
:
10
px
;
border-radius
:
5
px
;
/*深色模式*/
/*深色模式*/
-webkit-box-shadow
:
inset
0
0
5px
rgba
(
0
,
0
,
0
,
0
.2
);
-webkit-box-shadow
:
inset
0
0
5px
rgba
(
0
,
0
,
0
,
0
.2
);
background
:
#eee
;
background
:
#eee
;
...
@@ -384,3 +384,25 @@ aside {
...
@@ -384,3 +384,25 @@ aside {
color
:
#00f
;
color
:
#00f
;
}
}
}
}
.left-tree.el-tree
{
background
:
transparent
;
line-height
:
30px
;
.el-tree-node__content
{
height
:
auto
;
}
.fr
{
[
class
^=
'el-icon-'
]
{
margin-left
:
5px
;
}
.el-icon-edit-outline
{
color
:
$blue
;
}
.el-icon-circle-plus-outline
{
color
:
$green
;
}
.el-icon-delete
{
color
:
$red
;
}
}
}
linkwe-ui/src/styles/sidebar.scss
View file @
fb4498d
...
@@ -6,6 +6,8 @@
...
@@ -6,6 +6,8 @@
position
:
relative
;
position
:
relative
;
flex
:
auto
;
flex
:
auto
;
overflow
:
auto
;
overflow
:
auto
;
display
:
flex
;
flex-direction
:
column
;
}
}
.sidebar-container
{
.sidebar-container
{
...
...
linkwe-ui/src/views/appTool/chatToolbar/list.vue
View file @
fb4498d
...
@@ -32,6 +32,12 @@ export default {
...
@@ -32,6 +32,12 @@ export default {
computed
:
{},
computed
:
{},
created
()
{
created
()
{
this
.
getList
()
this
.
getList
()
this
.
$store
.
dispatch
(
'app/setBusininessDesc'
,
`
<div><span>抓取快捷回复素材,</span>素材抓取后,即可在聊天工具栏使用</div>
`
)
},
},
mounted
()
{},
mounted
()
{},
methods
:
{
methods
:
{
...
@@ -101,10 +107,6 @@ export default {
...
@@ -101,10 +107,6 @@ export default {
>
查看已配置信息
</el-button
>
查看已配置信息
</el-button
>
>
</div>
</div>
<el-card
shadow=
"never"
header=
"红包工具栏"
>
<div
slot=
"header"
>
<span>
抓取快捷回复素材
</span>
素材抓取后,即可在聊天工具栏使用
</div>
<el-table
v-loading=
"loading"
:data=
"list"
>
<el-table
v-loading=
"loading"
:data=
"list"
>
<el-table-column
label=
"素材类型"
align=
"center"
prop=
"mediaType"
>
<el-table-column
label=
"素材类型"
align=
"center"
prop=
"mediaType"
>
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
...
@@ -137,12 +139,7 @@ export default {
...
@@ -137,12 +139,7 @@ export default {
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"已抓取素材数量"
align=
"center"
prop=
"total"
/>
<el-table-column
label=
"已抓取素材数量"
align=
"center"
prop=
"total"
/>
<el-table-column
<el-table-column
label=
"是否启用"
align=
"center"
prop=
"using"
width=
"180"
>
label=
"是否启用"
align=
"center"
prop=
"using"
width=
"180"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-switch
<el-switch
v-model=
"scope.row.using"
v-model=
"scope.row.using"
...
@@ -161,7 +158,6 @@ export default {
...
@@ -161,7 +158,6 @@ export default {
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
</el-card>
<!-- <el-card class="mt20" shadow="never" header="红包工具栏">
<!-- <el-card class="mt20" shadow="never" header="红包工具栏">
<el-row :gutter="10">
<el-row :gutter="10">
...
...
linkwe-ui/src/views/appTool/selfApp/list.vue
View file @
fb4498d
...
@@ -33,6 +33,13 @@ export default {
...
@@ -33,6 +33,13 @@ export default {
computed
:
{},
computed
:
{},
created
()
{
created
()
{
this
.
getList
()
this
.
getList
()
this
.
$store
.
dispatch
(
'app/setBusininessDesc'
,
`
<div>用于添加自建应用,方便自建应用的配置与管理。</div>
`
)
},
},
mounted
()
{
mounted
()
{
// new clipboard(".copy-btn");
// new clipboard(".copy-btn");
...
@@ -97,7 +104,7 @@ export default {
...
@@ -97,7 +104,7 @@ export default {
<
template
>
<
template
>
<div>
<div>
<div
class=
"top-search"
>
<
!--
<
div
class=
"top-search"
>
<el-tooltip
<el-tooltip
effect=
"light"
effect=
"light"
content=
"用于添加自建应用,方便自建应用的配置与管理。"
content=
"用于添加自建应用,方便自建应用的配置与管理。"
...
@@ -108,7 +115,7 @@ export default {
...
@@ -108,7 +115,7 @@ export default {
style=
"font-size: 26px;vertical-align: middle; margin-left: 10px;"
style=
"font-size: 26px;vertical-align: middle; margin-left: 10px;"
></i>
></i>
</el-tooltip>
</el-tooltip>
</div>
</div>
-->
<!--
<div
class=
"ar mb10"
>
<!--
<div
class=
"ar mb10"
>
<el-button
<el-button
v-hasPermi=
"['enterpriseWechat:add']"
v-hasPermi=
"['enterpriseWechat:add']"
...
@@ -241,6 +248,10 @@ export default {
...
@@ -241,6 +248,10 @@ export default {
</
template
>
</
template
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.page
{
padding
:
20px
;
border-radius
:
5px
;
}
.list-wrap
{
.list-wrap
{
display
:
flex
;
display
:
flex
;
flex-wrap
:
wrap
;
flex-wrap
:
wrap
;
...
...
linkwe-ui/src/views/application/groupFission.vue
View file @
fb4498d
...
@@ -20,6 +20,13 @@ export default {
...
@@ -20,6 +20,13 @@ export default {
},
},
created
()
{
created
()
{
this
.
getList
()
this
.
getList
()
this
.
$store
.
dispatch
(
'app/setBusininessDesc'
,
`
<div>用于查看当前企业所有的客户列表及详细信息,支持对客户进行打标签。</div>
`
)
},
},
methods
:
{
methods
:
{
getList
(
data
)
{
getList
(
data
)
{
...
...
linkwe-ui/src/views/application/taskGroup.vue
View file @
fb4498d
...
@@ -20,6 +20,13 @@ export default {
...
@@ -20,6 +20,13 @@ export default {
},
},
created
()
{
created
()
{
this
.
getList
()
this
.
getList
()
this
.
$store
.
dispatch
(
'app/setBusininessDesc'
,
`
<div>是通过管理员统一下发群发消息的任务,将消息推送给员工,员工点击任务按钮进行发送,将任务裂变海报以 H5 网页链接的形式发送给客户。此方式也会消耗一月四次客户群发触达的次数限制。</div>
`
)
},
},
methods
:
{
methods
:
{
getList
(
data
)
{
getList
(
data
)
{
...
...
linkwe-ui/src/views/communityOperating/groupSOP/list.vue
View file @
fb4498d
<
template
>
<
template
>
<div>
<div>
<div
class=
"top-search"
>
<div
class=
"top-search"
>
<el-form
inline
label-position=
"right"
:model=
"query"
label-width=
"80px"
ref=
"queryForm"
>
<el-form
inline
label-position=
"right"
:model=
"query"
label-width=
"80px"
ref=
"queryForm"
>
<el-form-item
label=
"规则名称"
prop=
"ruleName"
>
<el-form-item
label=
"规则名称"
prop=
"ruleName"
>
<el-input
v-model=
"query.ruleName"
placeholder=
"请输入"
></el-input>
<el-input
v-model=
"query.ruleName"
placeholder=
"请输入"
></el-input>
</el-form-item>
</el-form-item>
...
@@ -55,8 +61,16 @@
...
@@ -55,8 +61,16 @@
</div>
</div>
</div>
</div>
<el-table
v-loading=
"loading"
:data=
"list"
@
selection-change=
"handleSelectionChange"
>
<el-table
<el-table-column
type=
"selection"
width=
"50"
align=
"center"
></el-table-column>
v-loading=
"loading"
:data=
"list"
@
selection-change=
"handleSelectionChange"
>
<el-table-column
type=
"selection"
width=
"50"
align=
"center"
></el-table-column>
<el-table-column
<el-table-column
label=
"规则名称"
label=
"规则名称"
...
@@ -65,11 +79,7 @@
...
@@ -65,11 +79,7 @@
:show-overflow-tooltip=
"true"
:show-overflow-tooltip=
"true"
></el-table-column>
></el-table-column>
<el-table-column
<el-table-column
label=
"执行群聊"
align=
"center"
width=
"120"
>
label=
"执行群聊"
align=
"center"
width=
"120"
>
<template
#
default=
"
{ row }">
<template
#
default=
"
{ row }">
<el-popover
<el-popover
placement=
"bottom"
placement=
"bottom"
...
@@ -77,7 +87,9 @@
...
@@ -77,7 +87,9 @@
trigger=
"hover"
trigger=
"hover"
:content=
"getDisplayGroups(row)"
:content=
"getDisplayGroups(row)"
>
>
<div
slot=
"reference"
class=
"table-desc overflow-ellipsis"
>
{{
getDisplayGroups
(
row
)
}}
</div>
<div
slot=
"reference"
class=
"table-desc overflow-ellipsis"
>
{{
getDisplayGroups
(
row
)
}}
</div>
</el-popover>
</el-popover>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
...
@@ -149,33 +161,35 @@ export default {
...
@@ -149,33 +161,35 @@ export default {
list
:
[],
// 群SOP数据
list
:
[],
// 群SOP数据
multiSelect
:
[],
// 多选数据
multiSelect
:
[],
// 多选数据
loading
:
false
,
loading
:
false
,
pickerOptions
:
{}
pickerOptions
:
{}
,
}
}
},
},
methods
:
{
methods
:
{
getList
(
page
)
{
getList
(
page
)
{
page
&&
(
this
.
query
.
pageNum
=
page
)
page
&&
(
this
.
query
.
pageNum
=
page
)
this
.
loading
=
true
this
.
loading
=
true
getList
(
this
.
query
).
then
(({
rows
,
total
})
=>
{
getList
(
this
.
query
)
.
then
(({
rows
,
total
})
=>
{
this
.
list
=
rows
this
.
list
=
rows
this
.
total
=
+
total
this
.
total
=
+
total
this
.
loading
=
false
this
.
loading
=
false
}).
catch
(()
=>
{
})
.
catch
(()
=>
{
this
.
loading
=
false
this
.
loading
=
false
})
})
},
},
goRoute
(
id
)
{
goRoute
(
id
)
{
this
.
$router
.
push
({
this
.
$router
.
push
({
path
:
'/communityOperating/groupSOPAev'
,
path
:
'/communityOperating/groupSOPAev'
,
query
:
{
'id'
:
id
},
query
:
{
id
:
id
},
})
})
},
},
// 重置查询参数
// 重置查询参数
resetQuery
()
{
resetQuery
()
{
this
.
dateRange
=
[]
this
.
dateRange
=
[]
this
.
$refs
[
'queryForm'
].
resetFields
()
this
.
$refs
[
'queryForm'
].
resetFields
()
...
@@ -183,45 +197,51 @@ export default {
...
@@ -183,45 +197,51 @@ export default {
},
},
// 批量删除
// 批量删除
handleBulkRemove
()
{
handleBulkRemove
()
{
this
.
$confirm
(
'确认删除当前数据?删除操作无法撤销,请谨慎操作。'
,
'提示'
,
{
this
.
$confirm
(
'确认删除当前数据?删除操作无法撤销,请谨慎操作。'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
,
type
:
'warning'
,
}).
then
(()
=>
{
})
const
ids
=
this
.
multiSelect
.
map
(
r
=>
r
.
ruleId
)
.
then
(()
=>
{
const
ids
=
this
.
multiSelect
.
map
((
r
)
=>
r
.
ruleId
)
remove
(
ids
+
''
).
then
((
res
)
=>
{
remove
(
ids
+
''
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
if
(
res
.
code
===
200
)
{
this
.
getList
()
this
.
getList
()
}
else
{}
}
else
{
}
})
})
})
})
.
catch
(()
=>
{})
.
catch
(()
=>
{})
},
},
// 删除
// 删除
handleRemove
(
id
)
{
handleRemove
(
id
)
{
this
.
$confirm
(
'确认删除当前数据?删除操作无法撤销,请谨慎操作。'
,
'提示'
,
{
this
.
$confirm
(
'确认删除当前数据?删除操作无法撤销,请谨慎操作。'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
,
type
:
'warning'
,
}).
then
(()
=>
{
})
.
then
(()
=>
{
remove
(
id
+
''
).
then
((
res
)
=>
{
remove
(
id
+
''
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
if
(
res
.
code
===
200
)
{
this
.
getList
()
this
.
getList
()
}
else
{}
}
else
{
}
})
})
})
})
.
catch
(()
=>
{})
.
catch
(()
=>
{})
},
},
// 处理多选
// 处理多选
handleSelectionChange
(
val
)
{
handleSelectionChange
(
val
)
{
this
.
multiSelect
=
val
this
.
multiSelect
=
val
},
},
// 获取显示用实际群聊
// 获取显示用实际群聊
getDisplayGroups
(
row
)
{
getDisplayGroups
(
row
)
{
const
groups
=
row
.
groupList
.
map
(
g
=>
g
.
groupName
)
const
groups
=
row
.
groupList
.
map
(
(
g
)
=>
g
.
groupName
)
return
groups
.
join
(
' '
)
return
groups
.
join
(
' '
)
},
},
...
@@ -229,30 +249,37 @@ export default {
...
@@ -229,30 +249,37 @@ export default {
watch
:
{
watch
:
{
// 日期选择器数据同步至查询参数
// 日期选择器数据同步至查询参数
dateRange
(
dateRange
)
{
dateRange
(
dateRange
)
{
if
(
!
dateRange
||
dateRange
.
length
!==
2
)
{
if
(
!
dateRange
||
dateRange
.
length
!==
2
)
{
this
.
query
.
beginTime
=
''
this
.
query
.
beginTime
=
''
this
.
query
.
endTime
=
''
this
.
query
.
endTime
=
''
}
else
{
}
else
{
[
this
.
query
.
beginTime
,
this
.
query
.
endTime
]
=
dateRange
;[
this
.
query
.
beginTime
,
this
.
query
.
endTime
]
=
dateRange
}
}
}
},
},
},
created
()
{
created
()
{
this
.
getList
()
this
.
getList
()
}
this
.
$store
.
dispatch
(
'app/setBusininessDesc'
,
`
<div>管理员在创建群 SOP 规则后,员工通过推送的消息通知,在规定时间内给规定群聊发送规定内容。</div>
`
)
},
}
}
</
script
>
</
script
>
<
style
scoped
lang=
"scss"
>
<
style
scoped
lang=
"scss"
>
.overflow-ellipsis
{
.overflow-ellipsis
{
white-space
:
nowrap
;
white-space
:
nowrap
;
overflow
:
hidden
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
text-overflow
:
ellipsis
;
}
}
.table-desc
{
.table-desc
{
max-width
:
120px
;
max-width
:
120px
;
}
}
</
style
>
</
style
>
linkwe-ui/src/views/communityOperating/keywords/list.vue
View file @
fb4498d
...
@@ -22,11 +22,7 @@
...
@@ -22,11 +22,7 @@
:data-clipboard-text=
"h5Link"
:data-clipboard-text=
"h5Link"
>
复制地址
</el-button
>
复制地址
</el-button
>
>
<el-link
<el-link
type=
"info"
@
click=
"openHelpDialog"
>
如何配置?
</el-link>
type=
"info"
@
click=
"openHelpDialog"
>
如何配置?
</el-link
>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -92,7 +88,11 @@
...
@@ -92,7 +88,11 @@
</div>
</div>
</div>
</div>
<el-table
v-loading=
"loading"
:data=
"list"
@
selection-change=
"handleSelectionChange"
>
<el-table
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=
"活码名称"
label=
"活码名称"
...
@@ -101,23 +101,16 @@
...
@@ -101,23 +101,16 @@
:show-overflow-tooltip=
"true"
:show-overflow-tooltip=
"true"
/>
/>
<el-table-column
<el-table-column
label=
"群活码"
align=
"center"
width=
"130"
>
label=
"群活码"
align=
"center"
width=
"130"
>
<template
#
default=
"
{ row }">
<template
#
default=
"
{ row }">
<el-popover
<el-popover
placement=
"bottom"
trigger=
"hover"
>
placement=
"bottom"
trigger=
"hover"
>
<el-image
<el-image
slot=
"reference"
slot=
"reference"
: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
) || ''"
:src=
"(row.groupCodeInfo && row.groupCodeInfo.codeUrl) || ''"
class=
"code-image"
class=
"code-image"
>
>
</el-image>
</el-image>
...
@@ -125,11 +118,7 @@
...
@@ -125,11 +118,7 @@
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
<el-table-column
label=
"关键词"
align=
"center"
width=
"120"
>
label=
"关键词"
align=
"center"
width=
"120"
>
<
template
#
default=
"{ row }"
>
<
template
#
default=
"{ row }"
>
<el-popover
<el-popover
placement=
"bottom"
placement=
"bottom"
...
@@ -137,16 +126,14 @@
...
@@ -137,16 +126,14 @@
trigger=
"hover"
trigger=
"hover"
:content=
"getDisplayKeywords(row)"
:content=
"getDisplayKeywords(row)"
>
>
<div
slot=
"reference"
class=
"table-desc overflow-ellipsis"
>
{{
getDisplayKeywords
(
row
)
}}
</div>
<div
slot=
"reference"
class=
"table-desc overflow-ellipsis"
>
{{
getDisplayKeywords
(
row
)
}}
</div>
</el-popover>
</el-popover>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
<el-table-column
label=
"实际群聊"
align=
"center"
width=
"120"
>
label=
"实际群聊"
align=
"center"
width=
"120"
>
<
template
#
default=
"{ row }"
>
<
template
#
default=
"{ row }"
>
<el-popover
<el-popover
placement=
"bottom"
placement=
"bottom"
...
@@ -154,7 +141,9 @@
...
@@ -154,7 +141,9 @@
trigger=
"hover"
trigger=
"hover"
:content=
"getDisplayRealGroups(row)"
:content=
"getDisplayRealGroups(row)"
>
>
<div
slot=
"reference"
class=
"table-desc overflow-ellipsis"
>
{{
getDisplayRealGroups
(
row
)
}}
</div>
<div
slot=
"reference"
class=
"table-desc overflow-ellipsis"
>
{{
getDisplayRealGroups
(
row
)
}}
</div>
</el-popover>
</el-popover>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
...
@@ -221,23 +210,36 @@
...
@@ -221,23 +210,36 @@
>
>
<div
class=
"help"
>
<div
class=
"help"
>
<div
class=
"step"
>
<div
class=
"step"
>
<p>
1、登录企业微信官方后台,进入应用管理,点击 LinkWeChat,再点击【配置到聊天工具栏】。
</p>
<p>
<el-image
:src=
"require('@/assets/example/keywordHelp1.png')"
></el-image>
1、登录企业微信官方后台,进入应用管理,点击
LinkWeChat,再点击【配置到聊天工具栏】。
</p>
<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
:src=
"require('@/assets/example/keywordHelp2.png')"
></el-image>
<el-image
:src=
"require('@/assets/example/keywordHelp2.png')"
></el-image>
</div>
</div>
<div
class=
"step"
>
<div
class=
"step"
>
<p>
3、点击【配置页面】后,在弹窗中,输入页面名称及链接,并确定即可。进入配置页面。
</p>
<p>
<el-image
:src=
"require('@/assets/example/keywordHelp3.png')"
></el-image>
3、点击【配置页面】后,在弹窗中,输入页面名称及链接,并确定即可。进入配置页面。
</p>
<el-image
:src=
"require('@/assets/example/keywordHelp3.png')"
></el-image>
</div>
</div>
</div>
</div>
<div
slot=
"footer"
>
<div
slot=
"footer"
>
<el-button
type=
"primary"
@
click=
"dialogHowToConfig = false"
>
我知道了
</el-button>
<el-button
type=
"primary"
@
click=
"dialogHowToConfig = false"
>
我知道了
</el-button>
</div>
</div>
</el-dialog>
</el-dialog>
</div>
</div>
...
@@ -261,7 +263,7 @@ export default {
...
@@ -261,7 +263,7 @@ export default {
createBy
:
''
,
// 创建人
createBy
:
''
,
// 创建人
keyword
:
''
,
// 关键词
keyword
:
''
,
// 关键词
beginTime
:
''
,
// 创建开始时间
beginTime
:
''
,
// 创建开始时间
endTime
:
''
// 创建结束时间
endTime
:
''
,
// 创建结束时间
},
},
queryCreateByName
:
''
,
queryCreateByName
:
''
,
dateRange
:
[],
// 添加日期
dateRange
:
[],
// 添加日期
...
@@ -273,34 +275,36 @@ export default {
...
@@ -273,34 +275,36 @@ export default {
disabled
:
false
,
disabled
:
false
,
loading
:
false
,
loading
:
false
,
pickerOptions
:
{},
pickerOptions
:
{},
clipboard
:
null
clipboard
:
null
,
}
}
},
},
methods
:
{
methods
:
{
getList
(
page
)
{
getList
(
page
)
{
page
&&
(
this
.
query
.
pageNum
=
page
)
page
&&
(
this
.
query
.
pageNum
=
page
)
this
.
loading
=
true
this
.
loading
=
true
getList
(
this
.
query
).
then
(({
rows
,
total
})
=>
{
getList
(
this
.
query
)
.
then
(({
rows
,
total
})
=>
{
this
.
list
=
rows
this
.
list
=
rows
this
.
total
=
+
total
this
.
total
=
+
total
this
.
loading
=
false
this
.
loading
=
false
}).
catch
(()
=>
{
})
.
catch
(()
=>
{
this
.
loading
=
false
this
.
loading
=
false
})
})
},
},
// 跳转至新增和编辑页面
// 跳转至新增和编辑页面
goRoute
(
id
)
{
goRoute
(
id
)
{
this
.
$router
.
push
({
this
.
$router
.
push
({
path
:
'/communityOperating/keywordsAev'
,
path
:
'/communityOperating/keywordsAev'
,
query
:
{
'id'
:
id
},
query
:
{
id
:
id
},
})
})
},
},
// 重置查询参数
// 重置查询参数
resetQuery
()
{
resetQuery
()
{
this
.
dateRange
=
[]
this
.
dateRange
=
[]
this
.
$refs
[
'queryForm'
].
resetFields
()
this
.
$refs
[
'queryForm'
].
resetFields
()
...
@@ -308,73 +312,79 @@ export default {
...
@@ -308,73 +312,79 @@ export default {
},
},
// 批量删除
// 批量删除
handleBulkRemove
()
{
handleBulkRemove
()
{
this
.
$confirm
(
'确认删除当前数据?删除操作无法撤销,请谨慎操作。'
,
'提示'
,
{
this
.
$confirm
(
'确认删除当前数据?删除操作无法撤销,请谨慎操作。'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
,
type
:
'warning'
,
}).
then
(()
=>
{
})
const
ids
=
this
.
multiSelect
.
map
(
t
=>
t
.
taskId
)
.
then
(()
=>
{
const
ids
=
this
.
multiSelect
.
map
((
t
)
=>
t
.
taskId
)
remove
(
ids
+
''
).
then
((
res
)
=>
{
remove
(
ids
+
''
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
if
(
res
.
code
===
200
)
{
this
.
getList
()
this
.
getList
()
}
else
{}
}
else
{
}
})
})
}).
catch
(()
=>
{})
})
.
catch
(()
=>
{})
},
},
// 删除
// 删除
handleRemove
(
id
)
{
handleRemove
(
id
)
{
this
.
$confirm
(
'确认删除当前数据?删除操作无法撤销,请谨慎操作。'
,
'提示'
,
{
this
.
$confirm
(
'确认删除当前数据?删除操作无法撤销,请谨慎操作。'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
,
type
:
'warning'
,
}).
then
(()
=>
{
})
.
then
(()
=>
{
remove
(
id
+
''
).
then
((
res
)
=>
{
remove
(
id
+
''
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
if
(
res
.
code
===
200
)
{
this
.
getList
()
this
.
getList
()
}
else
{}
}
else
{
}
})
})
})
})
.
catch
(()
=>
{})
.
catch
(()
=>
{})
},
},
openHelpDialog
()
{
openHelpDialog
()
{
this
.
dialogHowToConfig
=
true
this
.
dialogHowToConfig
=
true
},
},
// 获取显示用keyword字符串
// 获取显示用keyword字符串
getDisplayKeywords
(
row
)
{
getDisplayKeywords
(
row
)
{
const
keywordList
=
row
.
keywordList
||
[]
const
keywordList
=
row
.
keywordList
||
[]
const
keywords
=
keywordList
.
map
(
k
=>
k
.
keyword
)
const
keywords
=
keywordList
.
map
(
(
k
)
=>
k
.
keyword
)
return
keywords
.
join
(
' '
)
return
keywords
.
join
(
' '
)
},
},
// 获取显示用实际群码字符串
// 获取显示用实际群码字符串
getDisplayRealGroups
(
row
)
{
getDisplayRealGroups
(
row
)
{
return
row
.
groupNameList
.
join
(
' '
)
return
row
.
groupNameList
.
join
(
' '
)
},
},
// 处理多选
// 处理多选
handleSelectionChange
(
val
)
{
handleSelectionChange
(
val
)
{
this
.
multiSelect
=
val
this
.
multiSelect
=
val
}
}
,
},
},
watch
:
{
watch
:
{
// 日期选择器数据同步至查询参数
// 日期选择器数据同步至查询参数
dateRange
(
dateRange
)
{
dateRange
(
dateRange
)
{
if
(
!
dateRange
||
dateRange
.
length
!==
2
)
{
if
(
!
dateRange
||
dateRange
.
length
!==
2
)
{
this
.
query
.
beginTime
=
''
this
.
query
.
beginTime
=
''
this
.
query
.
endTime
=
''
this
.
query
.
endTime
=
''
}
else
{
}
else
{
[
this
.
query
.
beginTime
,
this
.
query
.
endTime
]
=
dateRange
;[
this
.
query
.
beginTime
,
this
.
query
.
endTime
]
=
dateRange
}
}
}
},
},
},
mounted
()
{
mounted
()
{
this
.
clipboard
=
new
ClipboardJS
(
'.copy-btn'
)
this
.
clipboard
=
new
ClipboardJS
(
'.copy-btn'
)
this
.
clipboard
.
on
(
'success'
,
(
e
)
=>
{
this
.
clipboard
.
on
(
'success'
,
(
e
)
=>
{
...
@@ -390,26 +400,31 @@ export default {
...
@@ -390,26 +400,31 @@ export default {
})
})
},
},
created
()
{
created
()
{
this
.
getList
(
1
)
this
.
getList
(
1
)
this
.
$store
.
dispatch
(
'app/setBusininessDesc'
,
`
<div>当企业开通聊天工具栏后,用户可点击聊天工具栏中的【关键字群发】,搜索或选择某个关键词下的引导语及群活码,进行一键发送,客户手动扫码进群。</div>
`
)
},
},
destroyed
()
{
destroyed
()
{
this
.
clipboard
.
destroy
()
this
.
clipboard
.
destroy
()
}
}
,
}
}
</
script
>
</
script
>
<
style
scoped
lang=
"scss"
>
<
style
scoped
lang=
"scss"
>
.link-info
{
.link-info
{
.link-info__header
{
.link-info__header
{
padding-bottom
:
10px
;
padding-bottom
:
10px
;
font-size
:
16px
;
font-size
:
16px
;
}
}
.link-info__content
{
.link-info__content
{
color
:
#AAAAAA
;
color
:
#aaaaaa
;
padding
:
5px
0
;
padding
:
5px
0
;
}
}
...
@@ -420,7 +435,6 @@ export default {
...
@@ -420,7 +435,6 @@ export default {
margin-bottom
:
14px
;
margin-bottom
:
14px
;
.link__content
{
.link__content
{
background
:
#e0e0e0
;
background
:
#e0e0e0
;
margin
:
8px
10px
8px
0
;
margin
:
8px
10px
8px
0
;
border-radius
:
4px
;
border-radius
:
4px
;
...
@@ -430,41 +444,41 @@ export default {
...
@@ -430,41 +444,41 @@ export default {
span
{
span
{
align-items
:
center
;
align-items
:
center
;
height
:
100%
;
height
:
100%
;
color
:
#AAAAAA
;
color
:
#aaaaaa
;
}
}
}
}
.link__action
{
.link__action
{
:nth-child(n+
2)
{
:nth-child(n
+
2)
{
margin-left
:
10px
;
margin-left
:
10px
;
}
}
}
}
}
}
}
}
.help
{
.help
{
.step
{
.step
{
margin-bottom
:
20px
;
margin-bottom
:
20px
;
}
}
}
}
.code-image
{
.code-image
{
width
:
200px
;
width
:
200px
;
height
:
200px
;
height
:
200px
;
}
}
.code-image--small
{
.code-image--small
{
width
:
50px
;
width
:
50px
;
height
:
50px
;
height
:
50px
;
}
}
.overflow-ellipsis
{
.overflow-ellipsis
{
white-space
:
nowrap
;
white-space
:
nowrap
;
overflow
:
hidden
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
text-overflow
:
ellipsis
;
}
}
.table-desc
{
.table-desc
{
max-width
:
120px
;
max-width
:
120px
;
}
}
</
style
>
</
style
>
linkwe-ui/src/views/communityOperating/newCustomer/list.vue
View file @
fb4498d
...
@@ -38,6 +38,12 @@ export default {
...
@@ -38,6 +38,12 @@ export default {
computed
:
{},
computed
:
{},
created
()
{
created
()
{
this
.
getList
()
this
.
getList
()
this
.
$store
.
dispatch
(
'app/setBusininessDesc'
,
`
<div>指在客户通过员工活码加为好友后,员工自动推送入群引导语和群活码,客户可通过群活码扫码入群。</div>
`
)
},
},
mounted
()
{
mounted
()
{
// new clipboard(".copy-btn");
// new clipboard(".copy-btn");
...
@@ -47,11 +53,13 @@ export default {
...
@@ -47,11 +53,13 @@ export default {
page
&&
(
this
.
query
.
pageNum
=
page
)
page
&&
(
this
.
query
.
pageNum
=
page
)
this
.
loading
=
true
this
.
loading
=
true
getList
(
this
.
query
).
then
(({
rows
,
total
})
=>
{
getList
(
this
.
query
)
.
then
(({
rows
,
total
})
=>
{
this
.
list
=
rows
this
.
list
=
rows
this
.
total
=
+
total
this
.
total
=
+
total
this
.
loading
=
false
this
.
loading
=
false
}).
catch
(()
=>
{
})
.
catch
(()
=>
{
this
.
loading
=
false
this
.
loading
=
false
})
})
},
},
...
@@ -127,7 +135,7 @@ export default {
...
@@ -127,7 +135,7 @@ export default {
},
},
// 重置查询参数
// 重置查询参数
resetQuery
()
{
resetQuery
()
{
this
.
dateRange
=
[]
this
.
dateRange
=
[]
this
.
$refs
[
'queryForm'
].
resetFields
()
this
.
$refs
[
'queryForm'
].
resetFields
()
...
@@ -137,15 +145,15 @@ export default {
...
@@ -137,15 +145,15 @@ export default {
watch
:
{
watch
:
{
// 日期选择器数据同步至查询参数
// 日期选择器数据同步至查询参数
dateRange
(
dateRange
)
{
dateRange
(
dateRange
)
{
if
(
!
dateRange
||
dateRange
.
length
!==
2
)
{
if
(
!
dateRange
||
dateRange
.
length
!==
2
)
{
this
.
query
.
beginTime
=
''
this
.
query
.
beginTime
=
''
this
.
query
.
endTime
=
''
this
.
query
.
endTime
=
''
}
else
{
}
else
{
[
this
.
query
.
beginTime
,
this
.
query
.
endTime
]
=
dateRange
;[
this
.
query
.
beginTime
,
this
.
query
.
endTime
]
=
dateRange
}
}
}
}
},
},
}
}
</
script
>
</
script
>
...
@@ -235,22 +243,20 @@ export default {
...
@@ -235,22 +243,20 @@ export default {
<el-table-column
type=
"selection"
width=
"50"
align=
"center"
/>
<el-table-column
type=
"selection"
width=
"50"
align=
"center"
/>
<el-table-column
prop=
"codeName"
label=
"活码名称"
align=
"center"
>
<el-table-column
prop=
"codeName"
label=
"活码名称"
align=
"center"
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"员工活码"
align=
"center"
prop=
"qrCode"
width=
"130"
>
<el-table-column
<template
#
default=
"
{ row }">
label=
"员工活码"
<el-popover
align=
"center"
placement=
"bottom
"
prop=
"qrCode
"
trigger=
"hover
"
width=
"130
"
>
>
<template
#
default=
"
{ row }">
<el-popover
placement=
"bottom"
trigger=
"hover"
>
<el-image
<el-image
slot=
"reference"
slot=
"reference"
:src=
"row.emplCodeUrl"
:src=
"row.emplCodeUrl"
class=
"code-image--small"
class=
"code-image--small"
></el-image>
></el-image>
<el-image
<el-image
:src=
"row.emplCodeUrl"
class=
"code-image"
>
</el-image>
:src=
"row.emplCodeUrl"
class=
"code-image"
>
</el-image>
</el-popover>
</el-popover>
</
template
>
</
template
>
<!-- <template slot-scope="{ row }">
<!-- <template slot-scope="{ row }">
...
@@ -360,13 +366,13 @@ export default {
...
@@ -360,13 +366,13 @@ export default {
</template>
</template>
<
style
scoped
lang=
"scss"
>
<
style
scoped
lang=
"scss"
>
.code-image
{
.code-image
{
width
:
200px
;
width
:
200px
;
height
:
200px
;
height
:
200px
;
}
}
.code-image--small
{
.code-image--small
{
width
:
50px
;
width
:
50px
;
height
:
50px
;
height
:
50px
;
}
}
</
style
>
</
style
>
linkwe-ui/src/views/communityOperating/oldCustomer/list.vue
View file @
fb4498d
...
@@ -489,6 +489,13 @@ export default {
...
@@ -489,6 +489,13 @@ export default {
created
()
{
created
()
{
this
.
getList
(
1
)
this
.
getList
(
1
)
this
.
$store
.
dispatch
(
'app/setBusininessDesc'
,
`
<div>企业通过下发任务通知员工给选中的标签客户主动发送加群引导语以及群活码,客户扫码后入群。</div>
`
)
},
},
}
}
</
script
>
</
script
>
...
...
linkwe-ui/src/views/contacts/organization.vue
View file @
fb4498d
...
@@ -287,9 +287,7 @@ export default {
...
@@ -287,9 +287,7 @@ export default {
<el-form-item
label
>
<el-form-item
label
>
<el-button
<el-button
v-hasPermi=
"['contacts:organization:query']"
v-hasPermi=
"['contacts:organization:query']"
type=
"cyan"
type=
"primary"
icon=
"el-icon-search"
size=
"mini"
@
click=
"getList(1)"
@
click=
"getList(1)"
>
查询
</el-button
>
查询
</el-button
>
>
...
@@ -300,16 +298,12 @@ export default {
...
@@ -300,16 +298,12 @@ export default {
<el-button
<el-button
v-hasPermi=
"['contacts:organization:sync']"
v-hasPermi=
"['contacts:organization:sync']"
type=
"primary"
type=
"primary"
icon=
"el-icon-refresh"
size=
"mini"
@
click=
"syncUser"
@
click=
"syncUser"
>
同步成员
</el-button
>
同步成员
</el-button
>
>
<el-button
<el-button
v-hasPermi=
"['contacts:organization:import']"
v-hasPermi=
"['contacts:organization:import']"
type=
"primary"
type=
"info"
icon=
"el-icon-plus"
size=
"mini"
@
click=
"batchImport"
@
click=
"batchImport"
>
批量导入
</el-button
>
批量导入
</el-button
>
>
...
@@ -317,18 +311,18 @@ export default {
...
@@ -317,18 +311,18 @@ export default {
v-hasPermi=
"['contacts:organization:addMember']"
v-hasPermi=
"['contacts:organization:addMember']"
type=
"primary"
type=
"primary"
icon=
"el-icon-plus"
icon=
"el-icon-plus"
size=
"mini"
@
click=
"edit()"
@
click=
"edit()"
>
添加成员
</el-button
>
添加成员
</el-button
>
-->
>
-->
</div>
</div>
<el-row
:gutter=
"20
"
>
<el-row
type=
"flex"
justify=
"space-between
"
>
<!--部门数据-->
<!--部门数据-->
<el-col
:span=
"6"
:xs=
"24"
>
<el-col
:span=
"6"
>
<div
class=
"head-container"
>
<div
class=
"head-container"
>
<!--
<div>
部门架构
</div>
-->
<!--
<div>
部门架构
</div>
-->
<!-- :filter-node-method="filterNode" -->
<!-- :filter-node-method="filterNode" -->
<el-tree
<el-tree
class=
"left-tree"
:data=
"treeData"
:data=
"treeData"
:props=
"defaultProps"
:props=
"defaultProps"
:expand-on-click-node=
"false"
:expand-on-click-node=
"false"
...
@@ -340,20 +334,20 @@ export default {
...
@@ -340,20 +334,20 @@ export default {
<span>
{{
node
.
label
}}
</span>
<span>
{{
node
.
label
}}
</span>
<span
class=
"fr"
>
<span
class=
"fr"
>
<i
<i
class=
"el-icon-edit"
class=
"el-icon-edit
-outline
"
title=
"编辑"
title=
"编辑"
v-hasPermi=
"['contacts:organization:editDep']"
v-hasPermi=
"['contacts:organization:editDep']"
v-if=
"node.level !== 1"
v-if=
"node.level !== 1"
@
click
.
stop=
"departEdit(data, 1)"
@
click
.
stop=
"departEdit(data, 1)"
></i>
></i>
<i
<i
class=
"el-icon-
plus
"
class=
"el-icon-
circle-plus-outline
"
title=
"添加"
title=
"添加"
v-hasPermi=
"['contacts:organization:addDep']"
v-hasPermi=
"['contacts:organization:addDep']"
@
click
.
stop=
"departEdit(data, 0)"
@
click
.
stop=
"departEdit(data, 0)"
></i>
></i>
<i
<i
class=
"el-icon-
minus
"
class=
"el-icon-
delete
"
title=
"删除"
title=
"删除"
v-hasPermi=
"['contacts:organization:removeDep']"
v-hasPermi=
"['contacts:organization:removeDep']"
v-if=
"node.level !== 1"
v-if=
"node.level !== 1"
...
@@ -365,7 +359,7 @@ export default {
...
@@ -365,7 +359,7 @@ export default {
</div>
</div>
</el-col>
</el-col>
<!--用户数据-->
<!--用户数据-->
<el-col
:span=
"1
8"
:xs=
"24
"
>
<el-col
:span=
"1
7
"
>
<el-table
<el-table
v-loading=
"loading"
v-loading=
"loading"
:data=
"userList"
:data=
"userList"
...
...
linkwe-ui/src/views/customerManage/customer.vue
View file @
fb4498d
...
@@ -88,6 +88,13 @@ export default {
...
@@ -88,6 +88,13 @@ export default {
this
.
getList
()
this
.
getList
()
this
.
getListTag
()
this
.
getListTag
()
this
.
getListOrganization
()
this
.
getListOrganization
()
// this.$store.dispatch(
// 'app/setBusininessDesc',
// `
// <div>用于查看当前企业所有的客户列表及详细信息,支持对客户进行打标签。</div>
// `
// )
},
},
mounted
()
{},
mounted
()
{},
methods
:
{
methods
:
{
...
@@ -344,13 +351,13 @@ export default {
...
@@ -344,13 +351,13 @@ export default {
>
>
<el-button
<el-button
v-hasPermi=
"['customerManage:customer:query']"
v-hasPermi=
"['customerManage:customer:query']"
type=
"
info
"
type=
"
success
"
@
click=
"resetForm()"
@
click=
"resetForm()"
>
重置
</el-button
>
重置
</el-button
>
>
<el-button
<el-button
v-hasPermi=
"['customerManage:customer:export']"
v-hasPermi=
"['customerManage:customer:export']"
type=
"
cyan
"
type=
"
info
"
@
click=
"exportCustomer"
@
click=
"exportCustomer"
>
导出列表
</el-button
>
导出列表
</el-button
>
>
...
@@ -367,8 +374,6 @@ export default {
...
@@ -367,8 +374,6 @@ export default {
<el-button
<el-button
v-hasPermi=
"['customerManage/customer:makeTag']"
v-hasPermi=
"['customerManage/customer:makeTag']"
type=
"primary"
type=
"primary"
size=
"mini"
icon=
"el-icon-s-flag"
@
click=
"makeTag('add')"
@
click=
"makeTag('add')"
:disabled=
"multipleSelection.length !== 1"
:disabled=
"multipleSelection.length !== 1"
>
打标签
</el-button
>
打标签
</el-button
...
@@ -376,8 +381,6 @@ export default {
...
@@ -376,8 +381,6 @@ export default {
<el-button
<el-button
v-hasPermi=
"['customerManage:customer:removeTag']"
v-hasPermi=
"['customerManage:customer:removeTag']"
type=
"primary"
type=
"primary"
size=
"mini"
icon=
"el-icon-brush"
@
click=
"makeTag('remove')"
@
click=
"makeTag('remove')"
:disabled=
"multipleSelection.length !== 1"
:disabled=
"multipleSelection.length !== 1"
>
移除标签
</el-button
>
移除标签
</el-button
...
@@ -385,16 +388,12 @@ export default {
...
@@ -385,16 +388,12 @@ export default {
<el-button
<el-button
v-hasPermi=
"['customerManage:customer:sync']"
v-hasPermi=
"['customerManage:customer:sync']"
type=
"primary"
type=
"primary"
size=
"mini"
icon=
"el-icon-refresh"
@
click=
"sync"
@
click=
"sync"
>
同步客户
</el-button
>
同步客户
</el-button
>
>
<el-button
<el-button
v-hasPermi=
"['customerManage:customer:checkRepeat']"
v-hasPermi=
"['customerManage:customer:checkRepeat']"
type=
"primary"
type=
"primary"
size=
"mini"
icon=
"el-icon-view"
>
查看重复客户
</el-button
>
查看重复客户
</el-button
>
>
</div>
</div>
...
...
linkwe-ui/src/views/customerManage/customerDetail.vue
View file @
fb4498d
...
@@ -55,8 +55,15 @@ export default {
...
@@ -55,8 +55,15 @@ export default {
<
template
>
<
template
>
<div>
<div>
<!--
<el-button
slot=
"append"
circle
icon=
"el-icon-back"
@
click=
"$router.back()"
></el-button>
返回 -->
<!--
<el-button
slot=
"append"
circle
icon=
"el-icon-back"
@
click=
"$router.back()"
></el-button>
返回 -->
<div
class=
"flex aic"
>
<el-avatar
:size=
"100"
:src=
"customer.avatar"
></el-avatar>
<el-card
v-for=
"(item, index) of customer.weFlowerCustomerRels"
:key=
"index"
shadow=
"never"
:body-style=
"
{ width: '410px', lineHeight: '30px' }"
>
<div
class=
"flex aic mt20"
>
<el-avatar
:size=
"50"
:src=
"customer.avatar"
></el-avatar>
<div
class=
"info-wrap"
>
<div
class=
"info-wrap"
>
<div
class=
"mb10"
>
<div
class=
"mb10"
>
{{
customer
.
name
}}
{{
customer
.
name
}}
...
@@ -72,8 +79,8 @@ export default {
...
@@ -72,8 +79,8 @@ export default {
></i>
></i>
</div>
</div>
<div class="
info
"
>
<div class="
info
"
>
出生日期:
{{
customer
.
birthday
||
'--'
}}
出生日期:
{{
customer
.
birthday
}}
<
div
class
=
"bfc-d ml20
"
>
<
div
class
=
"bfc-d
"
>
<
el
-
date
-
picker
<
el
-
date
-
picker
v
-
if
=
"datePickerVisible"
v
-
if
=
"datePickerVisible"
v
-
model
=
"birthday"
v
-
model
=
"birthday"
...
@@ -94,13 +101,8 @@ export default {
...
@@ -94,13 +101,8 @@ export default {
<
/div
>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
<
el
-
divider
><
/el-divider
>
<
el
-
card
v
-
for
=
"(item, index) of customer.weFlowerCustomerRels"
:
key
=
"index"
shadow
=
"never"
:
body
-
style
=
"
{
width
:
'400px'
}
"
>
<
el
-
button
<
el
-
button
v
-
if
=
"item.status == 1"
v
-
if
=
"item.status == 1"
class
=
"fr"
class
=
"fr"
...
@@ -140,6 +142,7 @@ export default {
...
@@ -140,6 +142,7 @@ export default {
<
el
-
col
:
span
=
"12"
>
{{
'--'
}}
<
/el-col
>
<
el
-
col
:
span
=
"12"
>
{{
'--'
}}
<
/el-col
>
<
/el-row
>
<
/el-row
>
<
el
-
divider
><
/el-divider
>
<
el
-
divider
><
/el-divider
>
<
el
-
row
:
gutter
=
"10"
>
<
el
-
row
:
gutter
=
"10"
>
<
el
-
col
:
span
=
"10"
>
添加人:
<
/el-col
>
<
el
-
col
:
span
=
"10"
>
添加人:
<
/el-col
>
<
el
-
col
:
span
=
"12"
>
{{
item
.
userName
}}
<
/el-col
>
<
el
-
col
:
span
=
"12"
>
{{
item
.
userName
}}
<
/el-col
>
...
...
linkwe-ui/src/views/customerManage/dimission/index.vue
View file @
fb4498d
...
@@ -68,6 +68,12 @@ export default {
...
@@ -68,6 +68,12 @@ export default {
computed
:
{},
computed
:
{},
created
()
{
created
()
{
this
.
getList
()
this
.
getList
()
this
.
$store
.
dispatch
(
'app/setBusininessDesc'
,
`
<div>从通讯录将离职员工删除后,可以分配他的客户及客户群给其他员工继续跟进。</div>
`
)
},
},
mounted
()
{},
mounted
()
{},
methods
:
{
methods
:
{
...
@@ -160,7 +166,7 @@ export default {
...
@@ -160,7 +166,7 @@ export default {
>
>
<el-button
<el-button
v-hasPermi=
"['customerManage:dimission:query']"
v-hasPermi=
"['customerManage:dimission:query']"
type=
"
info
"
type=
"
success
"
@
click=
"resetForm('queryForm')"
@
click=
"resetForm('queryForm')"
>
重置
</el-button
>
重置
</el-button
>
>
...
@@ -168,21 +174,17 @@ export default {
...
@@ -168,21 +174,17 @@ export default {
</el-form>
</el-form>
<div
class=
"mid-action"
>
<div
class=
"mid-action"
>
<div
class=
"total"
>
<div></div>
从通讯录将离职员工删除后,可以分配他的客户及客户群给其他员工继续跟进
</div>
<div>
<div>
<el-button
<el-button
v-hasPermi=
"['customerManage:dimission:filter']"
v-hasPermi=
"['customerManage:dimission:filter']"
type=
"primary"
type=
"primary"
size=
"mini"
@
click=
"$router.push(
{ path: '/customerManage/allocatedStaffList' })"
@
click=
"$router.push(
{ path: '/customerManage/allocatedStaffList' })"
>已分配的离职员工
</el-button
>已分配的离职员工
</el-button
>
>
<el-button
<el-button
v-hasPermi=
"['customerManage:dimission:allocate']"
v-hasPermi=
"['customerManage:dimission:allocate']"
type=
"primary"
type=
"info"
size=
"mini"
@
click=
"showSelectDialog"
@
click=
"showSelectDialog"
>
分配给其他员工
</el-button
>
分配给其他员工
</el-button
>
>
...
...
linkwe-ui/src/views/customerManage/group.vue
View file @
fb4498d
...
@@ -179,7 +179,7 @@ export default {
...
@@ -179,7 +179,7 @@ export default {
>
>
<el-button
<el-button
v-hasPermi=
"['customerManage:group:export']"
v-hasPermi=
"['customerManage:group:export']"
type=
"
cyan
"
type=
"
success
"
@
click=
"handleExport"
@
click=
"handleExport"
>
导出列表
</el-button
>
导出列表
</el-button
>
>
...
@@ -201,8 +201,6 @@ export default {
...
@@ -201,8 +201,6 @@ export default {
<el-button
<el-button
v-hasPermi=
"['customerManage:group:sync']"
v-hasPermi=
"['customerManage:group:sync']"
type=
"primary"
type=
"primary"
size=
"mini"
icon=
"el-icon-refresh"
@
click=
"sync"
@
click=
"sync"
>
同步客户群
</el-button
>
同步客户群
</el-button
>
>
...
...
linkwe-ui/src/views/customerManage/groupDetail.vue
View file @
fb4498d
...
@@ -60,27 +60,37 @@ export default {
...
@@ -60,27 +60,37 @@ export default {
<!--
<el-button
slot=
"append"
circle
icon=
"el-icon-back"
@
click=
"$router.back()"
></el-button>
返回 -->
<!--
<el-button
slot=
"append"
circle
icon=
"el-icon-back"
@
click=
"$router.back()"
></el-button>
返回 -->
<div
class=
"flex aic"
>
<div
class=
"flex aic"
>
<el-avatar
<el-avatar
:size=
"
10
0"
:size=
"
5
0"
src=
"https://cube.elemecdn.com/3/7c/3ea6beec64369c2642b92c6726f1epng.png"
src=
"https://cube.elemecdn.com/3/7c/3ea6beec64369c2642b92c6726f1epng.png"
></el-avatar>
></el-avatar>
<div
class=
"info-wrap"
>
<div
class=
"info-wrap"
>
<div
style=
"margin-bottom:
20
px;"
>
{{
group
.
groupName
}}
</div>
<div
style=
"margin-bottom:
15
px;"
>
{{
group
.
groupName
}}
</div>
<div
class=
"info"
>
<div
class=
"info"
>
群主:
{{
group
.
groupLeaderName
}}
| 创建时间:
{{
group
.
createTime
}}
|
<span
class=
"key"
>
群主:
</span>
{{
group
.
groupLeaderName
}}
群公告:
{{
group
.
notice
||
'未设置'
}}
<span
class=
"line"
>
|
</span>
<span
class=
"key"
>
创建时间:
</span>
{{
group
.
createTime
}}
<span
class=
"line"
>
|
</span>
<span
class=
"key"
>
群公告:
</span>
{{
group
.
notice
||
'未设置'
}}
</div>
</div>
</div>
</div>
</div>
</div>
<el-input
placeholder=
"请输入群成员"
v-model=
"query.memberName"
class
>
<el-input
<el-button
slot=
"append"
@
click=
"getList(1)"
>
查询
</el-button>
size=
"normal"
placeholder=
"请输入群成员"
v-model=
"query.memberName"
class
>
<el-button
type=
"primary"
slot=
"append"
@
click=
"getList(1)"
>
<span
class=
"key"
>
查询
</span>
</el-button>
</el-input>
</el-input>
<el-table
<el-table
v-loading=
"loading"
v-loading=
"loading"
:data=
"list"
:data=
"list"
@
selection-change=
"handleSelectionChange"
@
selection-change=
"handleSelectionChange"
>
>
<
!--
<el-table-column
type=
"selection"
width=
"55"
align=
"center"
/>
--
>
<
el-table-column
width=
"55"
/
>
<el-table-column
label=
"群成员"
align=
"center"
prop=
"memberName"
>
<el-table-column
label=
"群成员"
prop=
"memberName"
>
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
{{
scope
.
row
.
memberName
}}
{{
scope
.
row
.
memberName
}}
<!--
<span
<!--
<span
...
@@ -89,13 +99,8 @@ export default {
...
@@ -89,13 +99,8 @@ export default {
<!--
<
i
:
class
=
"
[
'el-icon-s-custom'
,
({
1
:
'man'
,
2
:
'woman'
}
)[
scope
.
row
.
gender
]]
"></i> -->
<!--
<
i
:
class
=
"
[
'el-icon-s-custom'
,
({
1
:
'man'
,
2
:
'woman'
}
)[
scope
.
row
.
gender
]]
"></i> -->
</template>
</template>
</el-table-column>
</el-table-column>
<el-table-column
<el-table-column label="
进群时间
" prop="
joinTime
"></el-table-column>
label="
进群时间
"
<el-table-column label="
进群方式
" prop="
joinScene
">
align="
center
"
prop="
joinTime
"
width="
180
"
></el-table-column>
<el-table-column label="
进群方式
" align="
center
" prop="
joinScene
">
<template slot-scope="
scope
"
>
<template slot-scope="
scope
"
>
<
span
>
{{
joinScene
[
scope
.
row
.
joinScene
]
}}
<
/span
>
<
span
>
{{
joinScene
[
scope
.
row
.
joinScene
]
}}
<
/span
>
<
/template
>
<
/template
>
...
@@ -121,7 +126,15 @@ export default {
...
@@ -121,7 +126,15 @@ export default {
.
info
-
wrap
{
.
info
-
wrap
{
margin
-
left
:
20
px
;
margin
-
left
:
20
px
;
.
info
{
.
info
{
color
:
#
aaa
;
color
:
#
666
;
}
.
line
{
padding
:
15
px
;
color
:
#
dbdbdb
;
}
}
}
}
.
key
{
color
:
$blue
;
}
<
/style
>
<
/style
>
linkwe-ui/src/views/customerManage/lossRemind.vue
View file @
fb4498d
...
@@ -262,13 +262,13 @@ export default {
...
@@ -262,13 +262,13 @@ export default {
>
>
<el-button
<el-button
v-hasPermi=
"['customerManage:customer:query']"
v-hasPermi=
"['customerManage:customer:query']"
type=
"
info
"
type=
"
success
"
@
click=
"resetForm()"
@
click=
"resetForm()"
>
重置
</el-button
>
重置
</el-button
>
>
<el-button
<el-button
v-hasPermi=
"['customerManage:customer:export']"
v-hasPermi=
"['customerManage:customer:export']"
type=
"
cyan
"
type=
"
info
"
@
click=
"exportCustomer"
@
click=
"exportCustomer"
>
导出列表
</el-button
>
导出列表
</el-button
>
>
...
...
linkwe-ui/src/views/customerManage/tag.vue
View file @
fb4498d
...
@@ -104,25 +104,19 @@ export default {
...
@@ -104,25 +104,19 @@ export default {
<el-button
<el-button
v-hasPermi=
"['customerManage:tag:add']"
v-hasPermi=
"['customerManage:tag:add']"
type=
"primary"
type=
"primary"
size=
"mini"
icon=
"el-icon-plus"
@
click=
"edit()"
@
click=
"edit()"
>
新建标签组
</el-button
>
新建标签组
</el-button
>
>
<el-button
<el-button
v-hasPermi=
"['customerManage:tag:sync']"
v-hasPermi=
"['customerManage:tag:sync']"
type=
"primary"
type=
"info"
size=
"mini"
icon=
"el-icon-refresh"
@
click=
"syncTag"
@
click=
"syncTag"
>
同步标签组
</el-button
>
同步标签组
</el-button
>
>
<el-button
<el-button
v-hasPermi=
"['customerManage:tag:remove']"
v-hasPermi=
"['customerManage:tag:remove']"
v-if=
"ids.length"
:disabled=
"!ids.length"
type=
"primary"
type=
"danger"
size=
"mini"
icon=
"el-icon-delete"
@
click=
"remove()"
@
click=
"remove()"
>
批量删除
</el-button
>
批量删除
</el-button
>
>
...
...
linkwe-ui/src/views/drainageCode/group/list.vue
View file @
fb4498d
...
@@ -448,6 +448,14 @@ export default {
...
@@ -448,6 +448,14 @@ export default {
created
()
{
created
()
{
this
.
getGroupCodes
()
this
.
getGroupCodes
()
this
.
$store
.
dispatch
(
'app/setBusininessDesc'
,
`
<div>群活码原理为把多个群二维码统一为固定的活码,群满自动切换新群,无需手动更新二维码,并未改变微信原有入群规则。</div>
<div>本质上相当于一个中间跳转页面,当一个群快满时,会自动在跳转页面中显示另一个群的二维码,从而突破客户加群的限制。</div>
`
)
},
},
destroyed
()
{
destroyed
()
{
...
...
linkwe-ui/src/views/drainageCode/staff/list.vue
View file @
fb4498d
...
@@ -47,6 +47,12 @@ export default {
...
@@ -47,6 +47,12 @@ export default {
},
},
created
()
{
created
()
{
this
.
getList
()
this
.
getList
()
this
.
$store
.
dispatch
(
'app/setBusininessDesc'
,
`
<div>支持单人、批量单人及多人方式新建员工活码,客户可以通过扫描员工活码添加员工为好友,并支持自动给客户打标签和发送欢迎语。</div>
`
)
},
},
mounted
()
{
mounted
()
{
var
clipboard
=
new
ClipboardJS
(
'.copy-btn'
)
var
clipboard
=
new
ClipboardJS
(
'.copy-btn'
)
...
...
linkwe-ui/src/views/drainageCode/welcome/add.vue
View file @
fb4498d
...
@@ -64,7 +64,7 @@ export default {
...
@@ -64,7 +64,7 @@ export default {
<el-form
ref=
"form"
:model=
"form"
label-width=
"80px"
class=
"form"
>
<el-form
ref=
"form"
:model=
"form"
label-width=
"80px"
class=
"form"
>
<el-form-item
label=
"欢迎语"
>
<el-form-item
label=
"欢迎语"
>
<el-card
shadow=
"never"
class=
"card"
>
<el-card
shadow=
"never"
class=
"card"
>
<div
style=
"height:
3
00px;"
>
<div
style=
"height:
2
00px;"
>
<el-input
<el-input
type=
"textarea"
type=
"textarea"
:autosize=
"
{ minRows: 2, maxRows: 6 }"
:autosize=
"
{ minRows: 2, maxRows: 6 }"
...
@@ -75,16 +75,6 @@ export default {
...
@@ -75,16 +75,6 @@ export default {
>
</el-input>
>
</el-input>
</div>
</div>
<div
class=
"bfc-o"
>
<div
class=
"bfc-o"
>
<el-button
type=
"default"
class=
"fr"
round
icon=
"el-icon-user-solid"
@
click=
"insertName()"
>
插入客户昵称
</el-button
>
</div>
<el-divider></el-divider>
<div
v-if=
"form.materialUrl"
>
<div
v-if=
"form.materialUrl"
>
<el-image
<el-image
style=
"width: 100px; height: 100px; cursor: pointer;border-radius: 6px;"
style=
"width: 100px; height: 100px; cursor: pointer;border-radius: 6px;"
...
@@ -94,6 +84,23 @@ export default {
...
@@ -94,6 +84,23 @@ export default {
</el-image>
</el-image>
<i
class=
"el-icon-error"
@
click=
"removeMaterial"
></i>
<i
class=
"el-icon-error"
@
click=
"removeMaterial"
></i>
</div>
</div>
<el-button
icon=
"el-icon-plus"
size=
"mini"
@
click=
"dialogVisibleSelectMaterial = true"
>
添加图片
</el-button>
<el-button
type=
"default"
class=
"fr"
round
icon=
"el-icon-user-solid"
@
click=
"insertName()"
>
插入客户昵称
</el-button
>
</div>
<!--
<el-popover
placement=
"top-start"
trigger=
"hover"
>
<!--
<el-popover
placement=
"top-start"
trigger=
"hover"
>
<div
class=
"ac"
>
<div
class=
"ac"
>
...
@@ -117,16 +124,9 @@ export default {
...
@@ -117,16 +124,9 @@ export default {
>
添加图片
</el-button
>
添加图片
</el-button
>
>
</el-popover>
-->
</el-popover>
-->
<el-button
icon=
"el-icon-plus"
size=
"mini"
@
click=
"dialogVisibleSelectMaterial = true"
>
添加图片
</el-button
>
</el-card>
</el-card>
</el-form-item>
</el-form-item>
<el-form-item
label=
" "
>
<el-form-item
label=
" "
class=
"ar"
>
<el-button
type=
"primary"
@
click=
"submit"
>
保存
</el-button>
<el-button
type=
"primary"
@
click=
"submit"
>
保存
</el-button>
<el-button
@
click=
"$router.back()"
>
取消
</el-button>
<el-button
@
click=
"$router.back()"
>
取消
</el-button>
</el-form-item>
</el-form-item>
...
...
linkwe-ui/src/views/drainageCode/welcome/components/Tab.vue
View file @
fb4498d
...
@@ -89,7 +89,6 @@ export default {
...
@@ -89,7 +89,6 @@ export default {
v-hasPermi=
"['wecom:tlp:add']"
v-hasPermi=
"['wecom:tlp:add']"
type=
"primary"
type=
"primary"
size=
"mini"
size=
"mini"
icon=
"el-icon-plus"
@
click=
"goRoute()"
@
click=
"goRoute()"
>
新建
{{
wel
[
type
]
}}
欢迎语
</el-button
>
新建
{{
wel
[
type
]
}}
欢迎语
</el-button
>
>
...
...
linkwe-ui/src/views/drainageCode/welcome/list.vue
View file @
fb4498d
linkwe-ui/src/views/enterpriseWechat/list.vue
View file @
fb4498d
...
@@ -104,8 +104,6 @@ export default {
...
@@ -104,8 +104,6 @@ export default {
<el-button
<el-button
v-hasPermi=
"['enterpriseWechat:add']"
v-hasPermi=
"['enterpriseWechat:add']"
type=
"primary"
type=
"primary"
icon=
"el-icon-plus"
size=
"mini"
@
click=
"edit()"
@
click=
"edit()"
>
添加
</el-button
>
添加
</el-button
>
>
...
...
linkwe-ui/src/views/groupMessage/add.vue
View file @
fb4498d
...
@@ -73,7 +73,37 @@ export default {
...
@@ -73,7 +73,37 @@ export default {
}
$
{
this
.
form
.
pushType
==
0
?
'客户'
:
'客户群'
}
`
}
$
{
this
.
form
.
pushType
==
0
?
'客户'
:
'客户群'
}
`
},
},
},
},
created
()
{},
created
()
{
this
.
$store
.
dispatch
(
'app/setBusininessDesc'
,
`
<div>
<h5>一、什么是群发助手?</h5>
<p>
成员可把通知、祝福、活动等消息批量发送给不同的客户,并进行后续的服务;管理员或负责人也可创建企业服务消息,由成员发送并进行后续的服务。
</p>
<h5>二、谁可以使用群发助手?</h5>
<p>
具有客户联系使用权限的成员,都可以使用群发助手给自己的客户发送消息;超级管理员和业务负责人还可向管理范围内成员的客户创建企业服务消息。
</p>
<h5>三、群发是否有频率限制?</h5>
<p>
每个自然月最多接收来自同一企业的管理员或业务负责人的4条群发消息。
</p>
<h5>四、群发助手其他注意事项</h5>
<p>
1、群发消息不得出现违反法律法规或侵犯他人合法权益的内容,企业应对其制作、发送和传播的群发消息内容承担全部法律责任。
</p>
<p>
2、不得以任何方式滥用群发助手实施恶意骚扰用户、开展过度营销等行为。
</p>
<p>
3、如企业微信帐号存在异常,则可能导致群发消息发送失败或异常等情况。
</p>
</div>
`
)
},
mounted
()
{},
mounted
()
{},
methods
:
{
methods
:
{
// 显示选择客户范围弹窗
// 显示选择客户范围弹窗
...
@@ -149,7 +179,14 @@ export default {
...
@@ -149,7 +179,14 @@ export default {
<
template
>
<
template
>
<div
v-loading=
"loading"
>
<div
v-loading=
"loading"
>
<el-form
ref=
"form"
:model=
"form"
:rules=
"rules"
label-width=
"80px"
>
<div
class=
"flex content-wrap"
>
<el-form
style=
"margin-right: 170px;"
ref=
"form"
:model=
"form"
:rules=
"rules"
label-width=
"80px"
>
<el-form-item
label=
"群发类型"
prop=
"pushType"
>
<el-form-item
label=
"群发类型"
prop=
"pushType"
>
<el-radio-group
v-model=
"form.pushType"
>
<el-radio-group
v-model=
"form.pushType"
>
<el-radio
<el-radio
...
@@ -180,8 +217,7 @@ export default {
...
@@ -180,8 +217,7 @@ export default {
></el-date-picker>
></el-date-picker>
<span
class=
"small-tip"
>
设置时间定时发送,不设置立即发送
</span>
<span
class=
"small-tip"
>
设置时间定时发送,不设置立即发送
</span>
</el-form-item>
</el-form-item>
<el-form-item
label=
" "
>
<el-form-item
label-width=
"0"
>
<div
class=
"flex content-wrap"
>
<div
class=
"content-left"
>
<div
class=
"content-left"
>
<el-button
class=
"create"
@
click=
"goRoute"
>
新建素材
</el-button>
<el-button
class=
"create"
@
click=
"goRoute"
>
新建素材
</el-button>
<el-tabs
v-model=
"activeName"
>
<el-tabs
v-model=
"activeName"
>
...
@@ -224,46 +260,9 @@ export default {
...
@@ -224,46 +260,9 @@ export default {
定时任务补偿
定时任务补偿
</el-tab-pane>
-->
</el-tab-pane>
-->
</el-tabs>
</el-tabs>
<div
class=
"mt15"
>
<el-button
type=
"primary"
@
click=
"submit"
>
通知成员发送
</el-button>
<span
class=
"small-tip"
>
通知成员,向选中的客户发送以上企业消息
</span
>
<el-popover
placement=
"top-start"
title=
"群发助手介绍"
width=
"500"
trigger=
"hover"
>
<div>
<h5>
一、什么是群发助手?
</h5>
<p>
成员可把通知、祝福、活动等消息批量发送给不同的客户,并进行后续的服务;管理员或负责人也可创建企业服务消息,由成员发送并进行后续的服务。
</p>
<h5>
二、谁可以使用群发助手?
</h5>
<p>
具有客户联系使用权限的成员,都可以使用群发助手给自己的客户发送消息;超级管理员和业务负责人还可向管理范围内成员的客户创建企业服务消息。
</p>
<h5>
三、群发是否有频率限制?
</h5>
<p>
每个自然月最多接收来自同一企业的管理员或业务负责人的4条群发消息。
</p>
<h5>
四、群发助手其他注意事项
</h5>
<p>
1、群发消息不得出现违反法律法规或侵犯他人合法权益的内容,企业应对其制作、发送和传播的群发消息内容承担全部法律责任。
</p>
<p>
2、不得以任何方式滥用群发助手实施恶意骚扰用户、开展过度营销等行为。
</p>
<p>
3、如企业微信帐号存在异常,则可能导致群发消息发送失败或异常等情况。
</p>
</div>
<i
slot=
"reference"
class=
"el-icon-warning-outline"
></i>
</el-popover>
</div>
</div>
</div
>
</el-form-item
>
</el-form>
<!-- 预览 -->
<!-- 预览 -->
<PhoneDialog
<PhoneDialog
:message=
"form.textMessage.content || '请输入欢迎语'"
:message=
"form.textMessage.content || '请输入欢迎语'"
...
@@ -274,11 +273,15 @@ export default {
...
@@ -274,11 +273,15 @@ export default {
:src=
"form.imageMessage.pic_url"
:src=
"form.imageMessage.pic_url"
fit=
"fit"
fit=
"fit"
>
>
</el-image
</el-image>
></PhoneDialog>
</PhoneDialog>
</div>
<div
class=
"mt15"
style=
"margin-left: 40px;"
>
<el-button
type=
"info"
@
click=
"submit"
>
通知成员发送
</el-button>
<span
class=
"small-tip"
>
通知成员,向选中的客户发送以上企业消息
</span>
</div>
</div>
</el-form-item>
</el-form>
<!-- 选择发送客户弹窗 -->
<!-- 选择发送客户弹窗 -->
<el-dialog
title=
"选择发送客户"
:visible
.
sync=
"dialogVisibleSelectCustomer"
>
<el-dialog
title=
"选择发送客户"
:visible
.
sync=
"dialogVisibleSelectCustomer"
>
...
@@ -360,24 +363,21 @@ export default {
...
@@ -360,24 +363,21 @@ export default {
margin-left
:
12px
;
margin-left
:
12px
;
}
}
.content-wrap
{
.content-wrap
{
height
:
500px
;
background
:
#ffffff
;
align-items
:
stretch
;
border-radius
:
10px
;
justify-content
:
space-between
;
padding
:
20px
;
padding-right
:
6%
;
}
.content-left
{
.content-left
{
position
:
relative
;
position
:
relative
;
width
:
60%
;
.create
{
.create
{
position
:
absolute
;
position
:
absolute
;
right
:
10px
;
right
:
10px
;
top
:
14px
;
top
:
14px
;
z-index
:
1
;
z-index
:
1
;
}
}
}
.el-tabs
{
.el-tabs
{
height
:
90%
;
height
:
90%
;
background
:
#eee
;
border-radius
:
8px
;
border-radius
:
8px
;
padding
:
10px
;
padding
:
10px
;
}
}
...
...
linkwe-ui/src/views/groupMessage/record.vue
View file @
fb4498d
...
@@ -168,7 +168,7 @@ export default {
...
@@ -168,7 +168,7 @@ export default {
</el-form-item>
</el-form-item>
<el-form-item
label=
" "
>
<el-form-item
label=
" "
>
<el-button
type=
"primary"
@
click=
"getList(1)"
>
查询
</el-button>
<el-button
type=
"primary"
@
click=
"getList(1)"
>
查询
</el-button>
<el-button
@
click=
"resetQuery"
>
重置
</el-button>
<el-button
type=
"success"
@
click=
"resetQuery"
>
重置
</el-button>
</el-form-item>
</el-form-item>
</el-form>
</el-form>
...
...
linkwe-ui/src/views/material/components/MaPage.vue
View file @
fb4498d
...
@@ -98,14 +98,16 @@ export default {
...
@@ -98,14 +98,16 @@ export default {
// 获取类目树
// 获取类目树
getTree
()
{
getTree
()
{
getTree
(
this
.
type
).
then
(({
data
})
=>
{
getTree
(
this
.
type
).
then
(({
data
})
=>
{
this
.
treeData
=
[{
this
.
treeData
=
[
id
:
""
,
{
name
:
"全部"
,
id
:
''
,
parentId
:
"0"
,
name
:
'全部'
,
parentId
:
'0'
,
hasParent
:
false
,
hasParent
:
false
,
hasChildren
:
true
,
hasChildren
:
true
,
children
:
data
||
[]
children
:
data
||
[],
}]
},
]
})
})
},
},
// 获取素材列表
// 获取素材列表
...
@@ -172,7 +174,7 @@ export default {
...
@@ -172,7 +174,7 @@ export default {
switch
(
type
)
{
switch
(
type
)
{
case
5
:
case
5
:
// 清除编辑的数据
// 清除编辑的数据
this
.
$parent
.
posterSubassemblyList
=
[]
;
this
.
$parent
.
posterSubassemblyList
=
[]
this
.
$parent
.
posterEdit
.
step
=
0
this
.
$parent
.
posterEdit
.
step
=
0
this
.
$parent
.
dialog
.
edit
=
true
this
.
$parent
.
dialog
.
edit
=
true
break
break
...
@@ -185,7 +187,7 @@ export default {
...
@@ -185,7 +187,7 @@ export default {
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
this
.
$refs
[
'form'
].
clearValidate
()
this
.
$refs
[
'form'
].
clearValidate
()
})
})
break
;
break
}
}
// type || !data ? (this.disabled = false) : (this.disabled = true)
// type || !data ? (this.disabled = false) : (this.disabled = true)
},
},
...
@@ -240,8 +242,8 @@ export default {
...
@@ -240,8 +242,8 @@ export default {
<
template
>
<
template
>
<div
class=
"page"
>
<div
class=
"page"
>
<el-row
:gutter=
"20
"
>
<el-row
type=
"flex"
justify=
"space-between
"
>
<el-col
:span=
"6"
:xs=
"24"
>
<el-col
:span=
"6"
>
<div>
<div>
<el-button
<el-button
v-hasPermi=
"['material:addType']"
v-hasPermi=
"['material:addType']"
...
@@ -255,6 +257,7 @@ export default {
...
@@ -255,6 +257,7 @@ export default {
<!-- :filter-node-method="filterNode" -->
<!-- :filter-node-method="filterNode" -->
<el-tree
<el-tree
ref=
"tree"
ref=
"tree"
class=
"left-tree"
:data=
"treeData"
:data=
"treeData"
:props=
"treeProps"
:props=
"treeProps"
:expand-on-click-node=
"false"
:expand-on-click-node=
"false"
...
@@ -267,19 +270,19 @@ export default {
...
@@ -267,19 +270,19 @@ export default {
<span
class=
"fr"
v-if=
"data.id"
>
<span
class=
"fr"
v-if=
"data.id"
>
<i
<i
v-hasPermi=
"['material:editType']"
v-hasPermi=
"['material:editType']"
class=
"el-icon-edit"
class=
"el-icon-edit
-outline
"
title=
"编辑"
title=
"编辑"
@
click
.
stop=
"treeEdit(data, 1)"
@
click
.
stop=
"treeEdit(data, 1)"
></i>
></i>
<i
<i
v-hasPermi=
"['material:addType']"
v-hasPermi=
"['material:addType']"
class=
"el-icon-
plus
"
class=
"el-icon-
circle-plus-outline
"
title=
"添加子分类"
title=
"添加子分类"
@
click
.
stop=
"treeEdit(data, 0)"
@
click
.
stop=
"treeEdit(data, 0)"
></i>
></i>
<i
<i
v-hasPermi=
"['material:removeType']"
v-hasPermi=
"['material:removeType']"
class=
"el-icon-
minus
"
class=
"el-icon-
delete
"
title=
"删除"
title=
"删除"
@
click
.
stop=
"treeRemove(data.id)"
@
click
.
stop=
"treeRemove(data.id)"
></i>
></i>
...
@@ -289,7 +292,7 @@ export default {
...
@@ -289,7 +292,7 @@ export default {
</div>
</div>
</el-col>
</el-col>
<el-col
:span=
"1
8"
:xs=
"24
"
>
<el-col
:span=
"1
7
"
>
<!--
<el-checkbox
<!--
<el-checkbox
:indeterminate=
"isIndeterminate"
:indeterminate=
"isIndeterminate"
v-model=
"checkAll"
v-model=
"checkAll"
...
...
linkwe-ui/src/views/material/text.vue
View file @
fb4498d
...
@@ -39,7 +39,6 @@ export default {
...
@@ -39,7 +39,6 @@ export default {
<el-table-column
<el-table-column
label=
"操作"
label=
"操作"
align=
"center"
align=
"center"
width=
"180"
class-name=
"small-padding fixed-width"
class-name=
"small-padding fixed-width"
>
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
...
...
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