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 991f86e7
authored
May 29, 2021
by
xinla
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
mid-action类基础样式提出
1 parent
1e957a51
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
360 additions
and
589 deletions
linkwe-ui/src/layout/components/Breadcrumb/index.vue
linkwe-ui/src/store/modules/app.js
linkwe-ui/src/styles/index.scss
linkwe-ui/src/views/application/groupFission.vue
linkwe-ui/src/views/application/taskGroup.vue
linkwe-ui/src/views/communityOperating/oldCustomer/list.vue
linkwe-ui/src/views/conversation/securityPage/sensitiveList.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/group/realCode.vue
linkwe-ui/src/views/drainageCode/staff/list.vue
linkwe-ui/src/views/drainageCode/welcome/components/Tab.vue
linkwe-ui/src/views/drainageCode/welcome/list.vue
linkwe-ui/src/views/groupMessage/record.vue
linkwe-ui/src/layout/components/Breadcrumb/index.vue
View file @
991f86e
...
@@ -10,6 +10,15 @@
...
@@ -10,6 +10,15 @@
<a
v-else
@
click
.
prevent=
"handleLink(item)"
>
{{
item
.
meta
.
title
}}
</a>
<a
v-else
@
click
.
prevent=
"handleLink(item)"
>
{{
item
.
meta
.
title
}}
</a>
</el-breadcrumb-item>
</el-breadcrumb-item>
</transition-group>
</transition-group>
<el-popover
v-if=
"busininessDesc"
placement=
"top-start"
title=
"引导语"
trigger=
"hover"
>
<div
v-html=
"busininessDesc"
></div>
<i
class=
"el-icon-question"
slot=
"reference"
></i>
</el-popover>
</el-breadcrumb>
</el-breadcrumb>
</
template
>
</
template
>
...
@@ -28,9 +37,15 @@ export default {
...
@@ -28,9 +37,15 @@ export default {
if
(
route
.
path
.
startsWith
(
'/redirect/'
))
{
if
(
route
.
path
.
startsWith
(
'/redirect/'
))
{
return
return
}
}
this
.
$store
.
state
.
app
.
busininessDesc
=
''
this
.
getBreadcrumb
()
this
.
getBreadcrumb
()
},
},
},
},
computed
:
{
busininessDesc
()
{
return
this
.
$store
.
state
.
app
.
busininessDesc
},
},
created
()
{
created
()
{
this
.
getBreadcrumb
()
this
.
getBreadcrumb
()
},
},
...
@@ -88,4 +103,8 @@ export default {
...
@@ -88,4 +103,8 @@ export default {
cursor
:
text
;
cursor
:
text
;
}
}
}
}
.el-icon-question
{
color
:
#888
;
margin-left
:
10px
;
}
</
style
>
</
style
>
linkwe-ui/src/store/modules/app.js
View file @
991f86e
...
@@ -2,15 +2,18 @@ import Cookies from 'js-cookie'
...
@@ -2,15 +2,18 @@ import Cookies from 'js-cookie'
const
state
=
{
const
state
=
{
sidebar
:
{
sidebar
:
{
opened
:
Cookies
.
get
(
'sidebarStatus'
)
?
!!+
Cookies
.
get
(
'sidebarStatus'
)
:
true
,
opened
:
Cookies
.
get
(
'sidebarStatus'
)
withoutAnimation
:
false
?
!!+
Cookies
.
get
(
'sidebarStatus'
)
:
true
,
withoutAnimation
:
false
,
},
},
device
:
'desktop'
,
device
:
'desktop'
,
size
:
Cookies
.
get
(
'size'
)
||
'medium'
size
:
Cookies
.
get
(
'size'
)
||
'medium'
,
busininessDesc
:
undefined
,
}
}
const
mutations
=
{
const
mutations
=
{
TOGGLE_SIDEBAR
:
state
=>
{
TOGGLE_SIDEBAR
:
(
state
)
=>
{
state
.
sidebar
.
opened
=
!
state
.
sidebar
.
opened
state
.
sidebar
.
opened
=
!
state
.
sidebar
.
opened
state
.
sidebar
.
withoutAnimation
=
false
state
.
sidebar
.
withoutAnimation
=
false
if
(
state
.
sidebar
.
opened
)
{
if
(
state
.
sidebar
.
opened
)
{
...
@@ -30,7 +33,10 @@ const mutations = {
...
@@ -30,7 +33,10 @@ const mutations = {
SET_SIZE
:
(
state
,
size
)
=>
{
SET_SIZE
:
(
state
,
size
)
=>
{
state
.
size
=
size
state
.
size
=
size
Cookies
.
set
(
'size'
,
size
)
Cookies
.
set
(
'size'
,
size
)
}
},
SET_busininessDesc
:
(
state
,
busininessDesc
)
=>
{
state
.
busininessDesc
=
busininessDesc
},
}
}
const
actions
=
{
const
actions
=
{
...
@@ -45,12 +51,15 @@ const actions = {
...
@@ -45,12 +51,15 @@ const actions = {
},
},
setSize
({
commit
},
size
)
{
setSize
({
commit
},
size
)
{
commit
(
'SET_SIZE'
,
size
)
commit
(
'SET_SIZE'
,
size
)
}
},
setBusininessDesc
({
commit
},
busininessDesc
)
{
commit
(
'SET_busininessDesc'
,
busininessDesc
)
},
}
}
export
default
{
export
default
{
namespaced
:
true
,
namespaced
:
true
,
state
,
state
,
mutations
,
mutations
,
actions
actions
,
}
}
linkwe-ui/src/styles/index.scss
View file @
991f86e
...
@@ -86,7 +86,7 @@ div:focus {
...
@@ -86,7 +86,7 @@ div:focus {
visibility
:
hidden
;
visibility
:
hidden
;
display
:
block
;
display
:
block
;
font-size
:
0
;
font-size
:
0
;
content
:
" "
;
content
:
' '
;
clear
:
both
;
clear
:
both
;
height
:
0
;
height
:
0
;
}
}
...
@@ -100,7 +100,8 @@ aside {
...
@@ -100,7 +100,8 @@ aside {
display
:
block
;
display
:
block
;
line-height
:
32px
;
line-height
:
32px
;
font-size
:
16px
;
font-size
:
16px
;
font-family
:
-
apple-system
,
BlinkMacSystemFont
,
"Segoe UI"
,
Roboto
,
Oxygen
,
Ubuntu
,
Cantarell
,
"Fira Sans"
,
"Droid Sans"
,
"Helvetica Neue"
,
sans-serif
;
font-family
:
-
apple-system
,
BlinkMacSystemFont
,
'Segoe UI'
,
Roboto
,
Oxygen
,
Ubuntu
,
Cantarell
,
'Fira Sans'
,
'Droid Sans'
,
'Helvetica Neue'
,
sans-serif
;
color
:
#2c3e50
;
color
:
#2c3e50
;
-webkit-font-smoothing
:
antialiased
;
-webkit-font-smoothing
:
antialiased
;
-moz-osx-font-smoothing
:
grayscale
;
-moz-osx-font-smoothing
:
grayscale
;
...
@@ -126,7 +127,7 @@ aside {
...
@@ -126,7 +127,7 @@ aside {
}
}
.text-center
{
.text-center
{
text-align
:
center
text-align
:
center
;
}
}
.sub-navbar
{
.sub-navbar
{
...
@@ -137,7 +138,13 @@ aside {
...
@@ -137,7 +138,13 @@ aside {
text-align
:
right
;
text-align
:
right
;
padding-right
:
20px
;
padding-right
:
20px
;
transition
:
600ms
ease
position
;
transition
:
600ms
ease
position
;
background
:
linear-gradient
(
90deg
,
rgba
(
32
,
182
,
249
,
1
)
0%
,
rgba
(
32
,
182
,
249
,
1
)
0%
,
rgba
(
33
,
120
,
241
,
1
)
100%
,
rgba
(
33
,
120
,
241
,
1
)
100%
);
background
:
linear-gradient
(
90deg
,
rgba
(
32
,
182
,
249
,
1
)
0%
,
rgba
(
32
,
182
,
249
,
1
)
0%
,
rgba
(
33
,
120
,
241
,
1
)
100%
,
rgba
(
33
,
120
,
241
,
1
)
100%
);
.subtitle
{
.subtitle
{
font-size
:
20px
;
font-size
:
20px
;
...
@@ -187,7 +194,6 @@ aside {
...
@@ -187,7 +194,6 @@ aside {
}
}
.el-table
{
.el-table
{
.el-table__header-wrapper
,
.el-table__header-wrapper
,
.el-table__fixed-header-wrapper
{
.el-table__fixed-header-wrapper
{
th
{
th
{
...
@@ -206,22 +212,22 @@ aside {
...
@@ -206,22 +212,22 @@ aside {
color
:
#6379bb
;
color
:
#6379bb
;
border-bottom
:
1px
solid
#ddd
;
border-bottom
:
1px
solid
#ddd
;
margin
:
8px
10px
25px
10px
;
margin
:
8px
10px
25px
10px
;
padding-bottom
:
5px
padding-bottom
:
5px
;
}
}
/** 表格布局 **/
/** 表格布局 **/
.el-table
.fixed-width
.el-button--mini
{
.el-table
.fixed-width
.el-button--mini
{
color
:
#409
EFF
;
color
:
#409
eff
;
padding-left
:
0
;
padding-left
:
0
;
padding-right
:
0
;
padding-right
:
0
;
width
:
inherit
;
width
:
inherit
;
}
}
.el-tree-node__content
>
.el-checkbox
{
.el-tree-node__content
>
.el-checkbox
{
margin-right
:
8px
;
margin-right
:
8px
;
}
}
.list-group-striped
>
.list-group-item
{
.list-group-striped
>
.list-group-item
{
border-left
:
0
;
border-left
:
0
;
border-right
:
0
;
border-right
:
0
;
border-radius
:
0
;
border-radius
:
0
;
...
@@ -264,22 +270,22 @@ aside {
...
@@ -264,22 +270,22 @@ aside {
/* button color */
/* button color */
.el-button--cyan.is-active
,
.el-button--cyan.is-active
,
.el-button--cyan
:active
{
.el-button--cyan
:active
{
background
:
#20
B2AA
;
background
:
#20
b2aa
;
border-color
:
#20
B2AA
;
border-color
:
#20
b2aa
;
color
:
#
FFFFFF
;
color
:
#
ffffff
;
}
}
.el-button--cyan
:focus
,
.el-button--cyan
:focus
,
.el-button--cyan
:hover
{
.el-button--cyan
:hover
{
background
:
#48
D1CC
;
background
:
#48
d1cc
;
border-color
:
#48
D1CC
;
border-color
:
#48
d1cc
;
color
:
#
FFFFFF
;
color
:
#
ffffff
;
}
}
.el-button--cyan
{
.el-button--cyan
{
background-color
:
#20
B2AA
;
background-color
:
#20
b2aa
;
border-color
:
#20
B2AA
;
border-color
:
#20
b2aa
;
color
:
#
FFFFFF
;
color
:
#
ffffff
;
}
}
/* text color */
/* text color */
...
@@ -334,7 +340,7 @@ aside {
...
@@ -334,7 +340,7 @@ aside {
/* 拖拽列样式 */
/* 拖拽列样式 */
.sortable-ghost
{
.sortable-ghost
{
opacity
:
.8
;
opacity
:
0
.8
;
color
:
#fff
!
important
;
color
:
#fff
!
important
;
background
:
#42b983
!
important
;
background
:
#42b983
!
important
;
}
}
...
@@ -343,3 +349,38 @@ aside {
...
@@ -343,3 +349,38 @@ aside {
position
:
relative
;
position
:
relative
;
float
:
right
;
float
:
right
;
}
}
.tag-input
{
width
:
240px
;
display
:
flex
;
border-radius
:
4px
;
border
:
1px
solid
#dcdfe6
;
align-items
:
center
;
padding
:
0
15px
;
overflow
:
hidden
;
height
:
32px
;
background-color
:
#fff
;
.tag-place
{
color
:
#bbb
;
font-size
:
14px
;
}
}
.mid-action
{
display
:
flex
;
justify-content
:
space-between
;
padding
:
10px
0
;
align-items
:
center
;
.total
{
background-color
:
rgba
(
65
,
133
,
244
,
0
.1
);
border
:
1px
solid
rgba
(
65
,
133
,
244
,
0
.2
);
border-radius
:
3px
;
font-size
:
14px
;
min-height
:
32px
;
line-height
:
32px
;
padding
:
0
12px
;
color
:
#606266
;
}
.num
{
color
:
#00f
;
}
}
linkwe-ui/src/views/application/groupFission.vue
View file @
991f86e
<
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
:
2
fissionType
:
2
,
},
},
dateRange
:
[],
dateRange
:
[],
tableData
:
[],
tableData
:
[],
total
:
0
total
:
0
,
}
}
},
},
created
()
{
created
()
{
this
.
getList
()
this
.
getList
()
},
},
methods
:
{
methods
:
{
getList
(
data
)
{
getList
(
data
)
{
let
params
=
Object
.
assign
({},
this
.
query
,
data
)
let
params
=
Object
.
assign
({},
this
.
query
,
data
)
api
.
getList
(
params
)
api
.
getList
(
params
).
then
(({
rows
,
total
})
=>
{
.
then
(({
rows
,
total
})
=>
{
this
.
tableData
=
rows
this
.
tableData
=
rows
;
this
.
total
=
+
total
this
.
total
=
+
total
;
})
})
},
},
resetForm
()
{
resetForm
()
{},
toDetail
(
row
)
{
},
toDetail
(
row
){
this
.
$router
.
push
({
this
.
$router
.
push
({
path
:
`/application/fissionDetail?id=
${
row
.
id
}
`
,
path
:
`/application/fissionDetail?id=
${
row
.
id
}
`
,
})
})
},
},
newAdd
()
{
newAdd
()
{
this
.
$router
.
push
({
this
.
$router
.
push
({
path
:
'/application/addFission'
,
path
:
'/application/addFission'
,
})
})
},
},
toEdit
(
row
)
{
toEdit
(
row
)
{
this
.
$router
.
push
({
this
.
$router
.
push
({
path
:
`/application/addFission?id=
${
row
.
id
}
`
,
path
:
`/application/addFission?id=
${
row
.
id
}
`
,
})
})
}
},
},
},
}
}
</
script
>
</
script
>
...
@@ -62,14 +59,8 @@ export default {
...
@@ -62,14 +59,8 @@ export default {
class=
"top-search"
class=
"top-search"
size=
"small"
size=
"small"
>
>
<el-form-item
<el-form-item
label=
"裂变名"
prop=
"taskName"
>
label=
"裂变名"
<el-input
v-model=
"query.taskName"
placeholder=
"请输入"
></el-input>
prop=
"taskName"
>
<el-input
v-model=
"query.taskName"
placeholder=
"请输入"
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"添加日期"
>
<el-form-item
label=
"添加日期"
>
<el-date-picker
<el-date-picker
...
@@ -85,51 +76,31 @@ export default {
...
@@ -85,51 +76,31 @@ export default {
<el-button
<el-button
v-hasPermi=
"['customerManage:customer:query']"
v-hasPermi=
"['customerManage:customer:query']"
type=
"primary"
type=
"primary"
@
click=
"getList(
{pageNum:1})"
@
click=
"getList(
{ pageNum: 1 })"
>查询
</el-button>
>查询
</el-button
>
<el-button
<el-button
v-hasPermi=
"['customerManage:customer:query']"
v-hasPermi=
"['customerManage:customer:query']"
type=
"primary"
type=
"primary"
@
click=
"newAdd()"
@
click=
"newAdd()"
>
新增任务
</el-button>
>
新增任务
</el-button
>
</el-form-item>
</el-form-item>
</el-form>
</el-form>
<el-table
<el-table
:data=
"tableData"
border
style=
"width: 100%"
>
:data=
"tableData"
<el-table-column
prop=
"taskName"
label=
"群裂变名称"
>
</el-table-column>
border
<el-table-column
prop=
"fissNum"
label=
"裂变客户数量"
>
</el-table-column>
style=
"width: 100%"
<el-table-column
prop=
"fissStatus"
label=
"活动状态"
>
>
<el-table-column
prop=
"taskName"
label=
"群裂变名称"
>
</el-table-column>
<el-table-column
prop=
"fissNum"
label=
"裂变客户数量"
>
</el-table-column>
<el-table-column
prop=
"fissStatus"
label=
"活动状态"
>
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
<p>
{{
scope
.
row
.
fissStatus
===
1
?
'进行中'
:
'已结束'
}}
</p>
<p>
{{
scope
.
row
.
fissStatus
===
1
?
'进行中'
:
'已结束'
}}
</p>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
<el-table-column
prop=
"startTime"
label=
"活动时间"
>
prop=
"startTime"
label=
"活动时间"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<p>
{{
scope
.
row
.
startTime
}}
-
{{
scope
.
row
.
overTime
}}
</p>
<p>
{{
scope
.
row
.
startTime
}}
-
{{
scope
.
row
.
overTime
}}
</p>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
<el-table-column
prop=
"operation"
label=
"操作"
>
prop=
"operation"
label=
"操作"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-button
<el-button
@
click=
"toDetail(scope.row)"
@
click=
"toDetail(scope.row)"
...
@@ -137,15 +108,17 @@ export default {
...
@@ -137,15 +108,17 @@ export default {
size=
"mini"
size=
"mini"
type=
"text"
type=
"text"
icon=
"el-icon-view"
icon=
"el-icon-view"
>
查看
</el-button>
>
查看
</el-button
>
<el-button
<el-button
v-if=
"scope.row.fissStatus!=
2"
v-if=
"scope.row.fissStatus !=
2"
@
click=
"toEdit(scope.row)"
@
click=
"toEdit(scope.row)"
v-hasPermi=
"['enterpriseWechat:edit']"
v-hasPermi=
"['enterpriseWechat:edit']"
size=
"mini"
size=
"mini"
type=
"text"
type=
"text"
icon=
"el-icon-edit"
icon=
"el-icon-edit"
>
编辑
</el-button>
>
编辑
</el-button
>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
...
@@ -159,24 +132,4 @@ export default {
...
@@ -159,24 +132,4 @@ export default {
</div>
</div>
</template>
</template>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
></
style
>
.mid-action
{
display
:
flex
;
justify-content
:
space-between
;
margin
:
10px
0
;
align-items
:
center
;
.total
{
background-color
:
rgba
(
65
,
133
,
244
,
0.1
);
border
:
1px
solid
rgba
(
65
,
133
,
244
,
0.2
);
border-radius
:
3px
;
font-size
:
14px
;
min-height
:
32px
;
line-height
:
32px
;
padding
:
0
12px
;
color
:
#606266
;
}
.num
{
color
:
#00f
;
}
}
</
style
>
linkwe-ui/src/views/application/taskGroup.vue
View file @
991f86e
<
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
,
}
}
},
},
created
()
{
created
()
{
this
.
getList
()
this
.
getList
()
},
},
methods
:
{
methods
:
{
getList
(
data
)
{
getList
(
data
)
{
let
params
=
Object
.
assign
({},
this
.
query
,
data
)
let
params
=
Object
.
assign
({},
this
.
query
,
data
)
api
.
getList
(
params
)
api
.
getList
(
params
).
then
(({
rows
,
total
})
=>
{
.
then
(({
rows
,
total
})
=>
{
this
.
tableData
=
rows
this
.
tableData
=
rows
;
this
.
total
=
+
total
this
.
total
=
+
total
;
})
})
},
},
resetForm
()
{
resetForm
()
{},
toDetail
(
row
)
{
},
toDetail
(
row
){
this
.
$router
.
push
({
this
.
$router
.
push
({
path
:
`/application/taskDetail?id=
${
row
.
id
}
`
,
path
:
`/application/taskDetail?id=
${
row
.
id
}
`
,
})
})
},
},
newAdd
()
{
newAdd
()
{
this
.
$router
.
push
({
this
.
$router
.
push
({
path
:
'/application/addTask'
,
path
:
'/application/addTask'
,
})
})
},
},
toEdit
(
row
)
{
toEdit
(
row
)
{
this
.
$router
.
push
({
this
.
$router
.
push
({
path
:
`/application/addTask?id=
${
row
.
id
}
`
,
path
:
`/application/addTask?id=
${
row
.
id
}
`
,
})
})
}
},
},
},
}
}
</
script
>
</
script
>
...
@@ -62,14 +59,8 @@ export default {
...
@@ -62,14 +59,8 @@ export default {
class=
"top-search"
class=
"top-search"
size=
"small"
size=
"small"
>
>
<el-form-item
<el-form-item
label=
"任务名"
prop=
"taskName"
>
label=
"任务名"
<el-input
v-model=
"query.taskName"
placeholder=
"请输入"
></el-input>
prop=
"taskName"
>
<el-input
v-model=
"query.taskName"
placeholder=
"请输入"
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"添加日期"
>
<el-form-item
label=
"添加日期"
>
<el-date-picker
<el-date-picker
...
@@ -85,51 +76,31 @@ export default {
...
@@ -85,51 +76,31 @@ export default {
<el-button
<el-button
v-hasPermi=
"['customerManage:customer:query']"
v-hasPermi=
"['customerManage:customer:query']"
type=
"primary"
type=
"primary"
@
click=
"getList(
{pageNum:1})"
@
click=
"getList(
{ pageNum: 1 })"
>查询
</el-button>
>查询
</el-button
>
<el-button
<el-button
v-hasPermi=
"['customerManage:customer:query']"
v-hasPermi=
"['customerManage:customer:query']"
type=
"primary"
type=
"primary"
@
click=
"newAdd()"
@
click=
"newAdd()"
>
新增任务
</el-button>
>
新增任务
</el-button
>
</el-form-item>
</el-form-item>
</el-form>
</el-form>
<el-table
<el-table
:data=
"tableData"
border
style=
"width: 100%"
>
:data=
"tableData"
<el-table-column
prop=
"taskName"
label=
"任务活动名称"
>
</el-table-column>
border
<el-table-column
prop=
"fissNum"
label=
"裂变客户数量"
>
</el-table-column>
style=
"width: 100%"
<el-table-column
prop=
"fissStatus"
label=
"活动状态"
>
>
<el-table-column
prop=
"taskName"
label=
"任务活动名称"
>
</el-table-column>
<el-table-column
prop=
"fissNum"
label=
"裂变客户数量"
>
</el-table-column>
<el-table-column
prop=
"fissStatus"
label=
"活动状态"
>
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
<p>
{{
scope
.
row
.
fissStatus
===
1
?
'进行中'
:
'已结束'
}}
</p>
<p>
{{
scope
.
row
.
fissStatus
===
1
?
'进行中'
:
'已结束'
}}
</p>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
<el-table-column
prop=
"startTime"
label=
"活动时间"
>
prop=
"startTime"
label=
"活动时间"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<p>
{{
scope
.
row
.
startTime
}}
-
{{
scope
.
row
.
overTime
}}
</p>
<p>
{{
scope
.
row
.
startTime
}}
-
{{
scope
.
row
.
overTime
}}
</p>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
<el-table-column
prop=
"operation"
label=
"操作"
>
prop=
"operation"
label=
"操作"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-button
<el-button
@
click=
"toDetail(scope.row)"
@
click=
"toDetail(scope.row)"
...
@@ -137,15 +108,17 @@ export default {
...
@@ -137,15 +108,17 @@ export default {
size=
"mini"
size=
"mini"
type=
"text"
type=
"text"
icon=
"el-icon-view"
icon=
"el-icon-view"
>
查看
</el-button>
>
查看
</el-button
>
<el-button
<el-button
v-if=
"scope.row.fissStatus!=
2"
v-if=
"scope.row.fissStatus !=
2"
@
click=
"toEdit(scope.row)"
@
click=
"toEdit(scope.row)"
v-hasPermi=
"['enterpriseWechat:edit']"
v-hasPermi=
"['enterpriseWechat:edit']"
size=
"mini"
size=
"mini"
type=
"text"
type=
"text"
icon=
"el-icon-edit"
icon=
"el-icon-edit"
>
编辑
</el-button>
>
编辑
</el-button
>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
...
@@ -159,24 +132,4 @@ export default {
...
@@ -159,24 +132,4 @@ export default {
</div>
</div>
</template>
</template>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
></
style
>
.mid-action
{
display
:
flex
;
justify-content
:
space-between
;
margin
:
10px
0
;
align-items
:
center
;
.total
{
background-color
:
rgba
(
65
,
133
,
244
,
0.1
);
border
:
1px
solid
rgba
(
65
,
133
,
244
,
0.2
);
border-radius
:
3px
;
font-size
:
14px
;
min-height
:
32px
;
line-height
:
32px
;
padding
:
0
12px
;
color
:
#606266
;
}
.num
{
color
:
#00f
;
}
}
</
style
>
linkwe-ui/src/views/communityOperating/oldCustomer/list.vue
View file @
991f86e
This diff is collapsed.
Click to expand it.
linkwe-ui/src/views/conversation/securityPage/sensitiveList.vue
View file @
991f86e
...
@@ -16,7 +16,11 @@
...
@@ -16,7 +16,11 @@
</div>
</div>
</el-form-item>
</el-form-item>
<el-form-item>
<el-form-item>
<el-input
v-model=
"form.keyword"
placeholder=
"搜索关键词"
style=
"width:300px"
>
<el-input
v-model=
"form.keyword"
placeholder=
"搜索关键词"
style=
"width:300px"
>
<el-button
slot=
"prepend"
icon=
"el-icon-search"
></el-button>
<el-button
slot=
"prepend"
icon=
"el-icon-search"
></el-button>
</el-input>
</el-input>
</el-form-item>
</el-form-item>
...
@@ -41,30 +45,41 @@
...
@@ -41,30 +45,41 @@
range-separator=
"至"
range-separator=
"至"
start-placeholder=
"开始日期"
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
end-placeholder=
"结束日期"
class=
"date-range"
>
class=
"date-range"
>
</el-date-picker>
</el-date-picker>
</el-col>
</el-col>
</el-row>
</el-row>
</div>
</div>
<el-table
:data=
"tableData"
stripe
style=
"width: 100%"
<el-table
:header-cell-style=
"{background:'#fff'}"
>
:data=
"tableData"
<el-table-column
prop=
"pattern_words"
label=
"敏感词"
>
stripe
</el-table-column>
style=
"width: 100%"
<el-table-column
prop=
"content"
label=
"内容"
>
:header-cell-style=
"{ background: '#fff' }"
</el-table-column>
>
<el-table-column
prop=
"from"
label=
"触发者"
>
<el-table-column
prop=
"pattern_words"
label=
"敏感词"
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"content"
label=
"内容"
>
</el-table-column>
<el-table-column
prop=
"from"
label=
"触发者"
>
</el-table-column>
<el-table-column
prop=
"status"
label=
"消息状态"
>
<el-table-column
prop=
"status"
label=
"消息状态"
>
<
template
slot=
"header"
>
<
template
slot=
"header"
>
{{
floorRange
}}
{{
floorRange
}}
<el-select
size=
"mini"
v-model=
"floorRange"
class=
"noborder"
@
change=
"chechName(floorRange)"
>
<el-select
<el-option
v-for=
"item in displayOptions"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
size=
"mini"
v-model=
"floorRange"
class=
"noborder"
@
change=
"chechName(floorRange)"
>
<el-option
v-for=
"item in displayOptions"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</el-option>
</el-select>
</el-select>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"msgtime"
label=
"发送时间"
>
<el-table-column
prop=
"msgtime"
label=
"发送时间"
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
<pagination
<pagination
v-show=
"total > 0"
v-show=
"total > 0"
...
@@ -84,10 +99,10 @@
...
@@ -84,10 +99,10 @@
</template>
</template>
<
script
>
<
script
>
import
*
as
sensitiveApis
from
'@/api/conversation/security'
import
*
as
sensitiveApis
from
'@/api/conversation/security'
import
SelectUser
from
"@/components/SelectUser"
import
SelectUser
from
'@/components/SelectUser'
export
default
{
export
default
{
components
:
{
components
:
{
SelectUser
SelectUser
,
},
},
data
()
{
data
()
{
return
{
return
{
...
@@ -96,7 +111,7 @@ export default {
...
@@ -96,7 +111,7 @@ export default {
pageNum
:
1
,
pageNum
:
1
,
scopeType
:
''
,
scopeType
:
''
,
auditScopeId
:
''
,
auditScopeId
:
''
,
keyword
:
''
// 关键词
keyword
:
''
,
// 关键词
},
},
selectDate
:
''
,
selectDate
:
''
,
dateRangeValue
:
''
,
// 时间选择
dateRangeValue
:
''
,
// 时间选择
...
@@ -104,28 +119,29 @@ export default {
...
@@ -104,28 +119,29 @@ export default {
queryUser
:
[],
// 搜索框选择的添加人
queryUser
:
[],
// 搜索框选择的添加人
query
:
{
query
:
{
pageNum
:
1
,
pageNum
:
1
,
pageSize
:
10
pageSize
:
10
,
},
},
total
:
0
,
total
:
0
,
dialogVisibleSelectUser
:
false
,
// 选择添加人弹窗显隐
dialogVisibleSelectUser
:
false
,
// 选择添加人弹窗显隐
floorRange
:
'全部'
,
floorRange
:
'全部'
,
displayOptions
:
[{
displayOptions
:
[
value
:
"0"
,
{
label
:
"全部"
value
:
'0'
,
label
:
'全部'
,
},
},
{
{
value
:
"1"
,
value
:
'1'
,
label
:
"已发送"
label
:
'已发送'
,
},
},
{
{
value
:
"2"
,
value
:
'2'
,
label
:
"已撤回"
label
:
'已撤回'
,
},
},
{
{
value
:
"3"
,
value
:
'3'
,
label
:
"已删除"
label
:
'已删除'
,
}
}
,
]
]
,
}
}
},
},
methods
:
{
methods
:
{
...
@@ -133,7 +149,7 @@ export default {
...
@@ -133,7 +149,7 @@ export default {
if
(
this
.
queryUser
.
length
>
0
)
{
if
(
this
.
queryUser
.
length
>
0
)
{
this
.
form
.
pageSize
=
this
.
query
.
pageSize
this
.
form
.
pageSize
=
this
.
query
.
pageSize
this
.
form
.
pageNum
=
this
.
query
.
pageNum
this
.
form
.
pageNum
=
this
.
query
.
pageNum
sensitiveApis
.
getSecurityList
(
this
.
form
).
then
(
res
=>
{
sensitiveApis
.
getSecurityList
(
this
.
form
).
then
(
(
res
)
=>
{
if
(
res
.
code
===
200
)
{
if
(
res
.
code
===
200
)
{
this
.
tableData
=
res
.
rows
this
.
tableData
=
res
.
rows
this
.
total
=
Number
(
res
.
total
)
this
.
total
=
Number
(
res
.
total
)
...
@@ -157,34 +173,20 @@ export default {
...
@@ -157,34 +173,20 @@ export default {
selectedUser
(
list
)
{
selectedUser
(
list
)
{
// console.log(list)
// console.log(list)
this
.
queryUser
=
list
this
.
queryUser
=
list
this
.
form
.
scopeType
=
list
.
map
(
d
=>
d
.
department
)
+
""
this
.
form
.
scopeType
=
list
.
map
(
(
d
)
=>
d
.
department
)
+
''
this
.
form
.
auditScopeId
=
list
.
map
(
d
=>
d
.
userId
)
+
""
this
.
form
.
auditScopeId
=
list
.
map
(
(
d
)
=>
d
.
userId
)
+
''
this
.
getSensitiveList
()
this
.
getSensitiveList
()
}
}
,
}
}
,
}
}
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.demo-form-inline
{
.demo-form-inline
{
background
:
#efefef
;
background
:
#efefef
;
padding
:
18px
10px
0
10px
;
padding
:
18px
10px
0
10px
;
}
}
.tag-input
{
width
:
240px
;
.search-content
{
display
:
flex
;
border-radius
:
4px
;
border
:
1px
solid
#dcdfe6
;
align-items
:
center
;
padding
:
0
15px
;
overflow
:
hidden
;
height
:
32px
;
background
:
#fff
;
.tag-place
{
color
:
#bbb
;
font-size
:
14px
;
}
}
.search-content
{
height
:
40px
;
height
:
40px
;
margin-top
:
15px
;
margin-top
:
15px
;
padding
:
10px
;
padding
:
10px
;
...
@@ -196,15 +198,15 @@ export default {
...
@@ -196,15 +198,15 @@ export default {
margin-left
:
10px
;
margin-left
:
10px
;
width
:
300px
;
width
:
300px
;
}
}
}
}
.noborder
{
.noborder
{
/deep/
.el-input--mini
.el-input__inner
{
/deep/
.el-input--mini
.el-input__inner
{
width
:
2px
;
width
:
2px
;
border
:
none
;
border
:
none
;
}
}
}
}
.content
{
.content
{
margin-top
:
15px
;
margin-top
:
15px
;
padding
:
10px
;
padding
:
10px
;
}
}
</
style
>
</
style
>
linkwe-ui/src/views/customerManage/customer.vue
View file @
991f86e
...
@@ -522,40 +522,6 @@ export default {
...
@@ -522,40 +522,6 @@ export default {
</template>
</template>
<style lang="
scss
"
scoped
>
<style lang="
scss
"
scoped
>
.
tag
-
input
{
width
:
240
px
;
display
:
flex
;
border
-
radius
:
4
px
;
border
:
1
px
solid
#
dcdfe6
;
align
-
items
:
center
;
padding
:
0
15
px
;
overflow
:
hidden
;
height
:
32
px
;
.
tag
-
place
{
color
:
#
bbb
;
font
-
size
:
14
px
;
}
}
.
mid
-
action
{
display
:
flex
;
justify
-
content
:
space
-
between
;
padding
:
10
px
0
;
align
-
items
:
center
;
background
:
#
fff
;
.
total
{
background
-
color
:
rgba
(
65
,
133
,
244
,
0.1
);
border
:
1
px
solid
rgba
(
65
,
133
,
244
,
0.2
);
border
-
radius
:
3
px
;
font
-
size
:
14
px
;
min
-
height
:
32
px
;
line
-
height
:
32
px
;
padding
:
0
12
px
;
color
:
#
606266
;
}
.
num
{
color
:
#
00
f
;
}
}
.
el
-
icon
-
s
-
custom
{
.
el
-
icon
-
s
-
custom
{
font
-
size
:
16
px
;
font
-
size
:
16
px
;
margin
-
left
:
4
px
;
margin
-
left
:
4
px
;
...
...
linkwe-ui/src/views/customerManage/customerDetail.vue
View file @
991f86e
...
@@ -157,26 +157,6 @@ export default {
...
@@ -157,26 +157,6 @@ export default {
<
/template
>
<
/template
>
<
style
lang
=
"scss"
scoped
>
<
style
lang
=
"scss"
scoped
>
.
mid
-
action
{
display
:
flex
;
justify
-
content
:
space
-
between
;
margin
:
10
px
0
;
align
-
items
:
center
;
.
total
{
background
-
color
:
rgba
(
65
,
133
,
244
,
0.1
);
border
:
1
px
solid
rgba
(
65
,
133
,
244
,
0.2
);
border
-
radius
:
3
px
;
font
-
size
:
14
px
;
min
-
height
:
32
px
;
line
-
height
:
32
px
;
padding
:
0
12
px
;
color
:
#
606266
;
}
.
num
{
color
:
#
00
f
;
}
}
.
info
-
wrap
{
.
info
-
wrap
{
margin
-
left
:
20
px
;
margin
-
left
:
20
px
;
.
info
{
.
info
{
...
...
linkwe-ui/src/views/customerManage/dimission/index.vue
View file @
991f86e
...
@@ -249,23 +249,4 @@ export default {
...
@@ -249,23 +249,4 @@ export default {
.el-select
{
.el-select
{
width
:
220px
;
width
:
220px
;
}
}
.mid-action
{
display
:
flex
;
justify-content
:
space-between
;
margin
:
10px
0
;
align-items
:
center
;
.total
{
background-color
:
rgba
(
65
,
133
,
244
,
0.1
);
border
:
1px
solid
rgba
(
65
,
133
,
244
,
0.2
);
border-radius
:
3px
;
font-size
:
14px
;
min-height
:
32px
;
line-height
:
32px
;
padding
:
0
12px
;
color
:
#606266
;
}
.num
{
color
:
#00f
;
}
}
</
style
>
</
style
>
linkwe-ui/src/views/customerManage/group.vue
View file @
991f86e
...
@@ -257,24 +257,4 @@ export default {
...
@@ -257,24 +257,4 @@ export default {
</div>
</div>
</template>
</template>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
></
style
>
.mid-action
{
display
:
flex
;
justify-content
:
space-between
;
margin
:
10px
0
;
align-items
:
center
;
.total
{
background-color
:
rgba
(
65
,
133
,
244
,
0.1
);
border
:
1px
solid
rgba
(
65
,
133
,
244
,
0.2
);
border-radius
:
3px
;
font-size
:
14px
;
min-height
:
32px
;
line-height
:
32px
;
padding
:
0
12px
;
color
:
#606266
;
}
.num
{
color
:
#00f
;
}
}
</
style
>
linkwe-ui/src/views/customerManage/groupDetail.vue
View file @
991f86e
...
@@ -113,25 +113,6 @@ export default {
...
@@ -113,25 +113,6 @@ export default {
<
/template
>
<
/template
>
<
style
lang
=
"scss"
scoped
>
<
style
lang
=
"scss"
scoped
>
.
mid
-
action
{
display
:
flex
;
justify
-
content
:
space
-
between
;
margin
:
10
px
0
;
align
-
items
:
center
;
.
total
{
background
-
color
:
rgba
(
65
,
133
,
244
,
0.1
);
border
:
1
px
solid
rgba
(
65
,
133
,
244
,
0.2
);
border
-
radius
:
3
px
;
font
-
size
:
14
px
;
min
-
height
:
32
px
;
line
-
height
:
32
px
;
padding
:
0
12
px
;
color
:
#
606266
;
}
.
num
{
color
:
#
00
f
;
}
}
.
el
-
input
{
.
el
-
input
{
display
:
table
;
display
:
table
;
width
:
30
%
;
width
:
30
%
;
...
...
linkwe-ui/src/views/customerManage/lossRemind.vue
View file @
991f86e
...
@@ -94,6 +94,13 @@ export default {
...
@@ -94,6 +94,13 @@ export default {
this
.
getListTag
()
this
.
getListTag
()
this
.
getListOrganization
()
this
.
getListOrganization
()
this
.
getLossRemindStatus
()
this
.
getLossRemindStatus
()
this
.
$store
.
dispatch
(
'app/setBusininessDesc'
,
`
<div>开启后,当员工被客户删除时,被删除的员工将收到一条消息提醒</div>
`
)
},
},
mounted
()
{},
mounted
()
{},
methods
:
{
methods
:
{
...
@@ -281,14 +288,6 @@ export default {
...
@@ -281,14 +288,6 @@ export default {
inactive-color=
"#ff4949"
inactive-color=
"#ff4949"
@
change=
"remindSwitch"
@
change=
"remindSwitch"
></el-switch>
></el-switch>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"开启后,当员工被客户删除时,被删除的员工将收到一条消息提醒"
placement=
"top-end"
>
<i
class=
"el-icon-warning-outline"
></i>
</el-tooltip>
</div>
</div>
</div>
</div>
...
@@ -397,40 +396,6 @@ export default {
...
@@ -397,40 +396,6 @@ export default {
</template>
</template>
<style lang="
scss
"
scoped
>
<style lang="
scss
"
scoped
>
.
tag
-
input
{
width
:
240
px
;
display
:
flex
;
border
-
radius
:
4
px
;
border
:
1
px
solid
#
dcdfe6
;
align
-
items
:
center
;
padding
:
0
15
px
;
overflow
:
hidden
;
height
:
32
px
;
.
tag
-
place
{
color
:
#
bbb
;
font
-
size
:
14
px
;
}
}
.
mid
-
action
{
display
:
flex
;
justify
-
content
:
space
-
between
;
padding
:
10
px
0
;
align
-
items
:
center
;
background
:
#
fff
;
.
total
{
background
-
color
:
rgba
(
65
,
133
,
244
,
0.1
);
border
:
1
px
solid
rgba
(
65
,
133
,
244
,
0.2
);
border
-
radius
:
3
px
;
font
-
size
:
14
px
;
min
-
height
:
32
px
;
line
-
height
:
32
px
;
padding
:
0
12
px
;
color
:
#
606266
;
}
.
num
{
color
:
#
00
f
;
}
}
.
el
-
icon
-
s
-
custom
{
.
el
-
icon
-
s
-
custom
{
font
-
size
:
16
px
;
font
-
size
:
16
px
;
margin
-
left
:
4
px
;
margin
-
left
:
4
px
;
...
...
linkwe-ui/src/views/customerManage/tag.vue
View file @
991f86e
...
@@ -99,7 +99,7 @@ export default {
...
@@ -99,7 +99,7 @@ export default {
<
template
>
<
template
>
<div
class=
"app-container"
>
<div
class=
"app-container"
>
<div
class=
"mid-action"
>
<div
class=
"mid-action"
>
<div
class=
"total"
></div>
<div></div>
<div>
<div>
<el-button
<el-button
v-hasPermi=
"['customerManage:tag:add']"
v-hasPermi=
"['customerManage:tag:add']"
...
@@ -182,14 +182,4 @@ export default {
...
@@ -182,14 +182,4 @@ export default {
/>
/>
</div>
</div>
</template>
</template>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
></
style
>
.mid-action
{
display
:
flex
;
justify-content
:
space-between
;
margin
:
10px
0
;
align-items
:
center
;
.num
{
color
:
#00f
;
}
}
</
style
>
linkwe-ui/src/views/drainageCode/group/list.vue
View file @
991f86e
<
template
>
<
template
>
<div
class=
"page"
>
<div
class=
"page"
>
<el-form
<el-form
:inline=
"true"
class=
"top-search"
>
:inline=
"true"
class=
"top-search"
>
<el-form-item>
<el-form-item>
<el-input
<el-input
v-model=
"query.activityName"
v-model=
"query.activityName"
...
@@ -30,9 +27,7 @@
...
@@ -30,9 +27,7 @@
></el-date-picker>
></el-date-picker>
</el-form-item>
</el-form-item>
<el-form-item
<el-form-item
class=
"search-button-area"
>
class=
"search-button-area"
>
<el-button
type=
"primary"
@
click=
"handleSearch"
>
查询
</el-button>
<el-button
type=
"primary"
@
click=
"handleSearch"
>
查询
</el-button>
<el-button
@
click=
"handleClear"
>
清空
</el-button>
<el-button
@
click=
"handleClear"
>
清空
</el-button>
</el-form-item>
</el-form-item>
...
@@ -95,7 +90,9 @@
...
@@ -95,7 +90,9 @@
trigger=
"hover"
trigger=
"hover"
:content=
"row.activityDesc"
:content=
"row.activityDesc"
>
>
<div
slot=
"reference"
class=
"table-desc overflow-ellipsis"
>
{{
row
.
activityDesc
}}
</div>
<div
slot=
"reference"
class=
"table-desc overflow-ellipsis"
>
{{
row
.
activityDesc
}}
</div>
</el-popover>
</el-popover>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
...
@@ -107,33 +104,20 @@
...
@@ -107,33 +104,20 @@
width=
"130"
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.codeUrl"
:src=
"row.codeUrl"
class=
"code-image--small"
class=
"code-image--small"
></el-image>
></el-image>
<el-image
<el-image
:src=
"row.codeUrl"
class=
"code-image"
>
</el-image>
:src=
"row.codeUrl"
class=
"code-image"
>
</el-image>
</el-popover>
</el-popover>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
<el-table-column
label=
"实际群码总数"
align=
"center"
>
label=
"实际群码总数"
align=
"center"
>
<
template
#
default=
"{ row }"
>
<
template
#
default=
"{ row }"
>
<el-button
<el-button
type=
"text"
@
click=
"handleRealCodeDialogOpen(row.id, -1)"
>
type=
"text"
@
click=
"handleRealCodeDialogOpen(row.id, -1)"
>
{{
(
row
.
actualList
&&
row
.
actualList
.
length
)
||
0
}}
{{
(
row
.
actualList
&&
row
.
actualList
.
length
)
||
0
}}
</el-button>
</el-button>
</
template
>
</
template
>
...
@@ -155,10 +139,7 @@
...
@@ -155,10 +139,7 @@
<i
slot=
"reference"
class=
"el-icon-warning expire-icon"
></i>
<i
slot=
"reference"
class=
"el-icon-warning expire-icon"
></i>
</el-popover>
</el-popover>
<el-button
<el-button
type=
"text"
@
click=
"handleRealCodeDialogOpen(row.id, 0)"
>
type=
"text"
@
click=
"handleRealCodeDialogOpen(row.id, 0)"
>
{{
row
.
availableCodes
}}
{{
row
.
availableCodes
}}
</el-button>
</el-button>
</
template
>
</
template
>
...
@@ -182,15 +163,17 @@
...
@@ -182,15 +163,17 @@
align=
"center"
align=
"center"
></el-table-column>
></el-table-column>
<el-table-column
<el-table-column
label=
"操作"
align=
"center"
>
label=
"操作"
align=
"center"
>
<
template
#
default=
"{ row }"
>
<
template
#
default=
"{ row }"
>
<el-button
<el-button
type=
"text"
type=
"text"
size=
"mini"
size=
"mini"
@
click=
"$router.push(
{ path: '/drainageCode/customerGroupDetail', query: { groupCodeId: row.id } })"
@
click=
"
$router.push(
{
path: '/drainageCode/customerGroupDetail',
query: { groupCodeId: row.id },
})
"
>
>
编辑
编辑
</el-button>
</el-button>
...
@@ -212,11 +195,7 @@
...
@@ -212,11 +195,7 @@
复制
复制
</el-button>
</el-button>
<el-button
<el-button
type=
"text"
size=
"mini"
@
click=
"handleRemove(row.id)"
>
type=
"text"
size=
"mini"
@
click=
"handleRemove(row.id)"
>
删除
删除
</el-button>
</el-button>
</
template
>
</
template
>
...
@@ -238,22 +217,31 @@
...
@@ -238,22 +217,31 @@
append-to-body
append-to-body
width=
"70%"
width=
"70%"
>
>
<RealCode
ref=
"realCode"
:groupCodeId=
"openGroupCodeId"
:status=
"openGroupCodeStatus"
></RealCode>
<RealCode
ref=
"realCode"
:groupCodeId=
"openGroupCodeId"
:status=
"openGroupCodeStatus"
></RealCode>
</el-dialog>
</el-dialog>
</div>
</div>
</template>
</template>
<
script
>
<
script
>
import
RealCode
from
'./realCode'
import
RealCode
from
'./realCode'
import
{
getList
,
remove
,
downloadBatch
,
download
}
from
'@/api/drainageCode/group'
import
{
getList
,
remove
,
downloadBatch
,
download
,
}
from
'@/api/drainageCode/group'
import
ClipboardJS
from
'clipboard'
import
ClipboardJS
from
'clipboard'
export
default
{
export
default
{
components
:
{
components
:
{
RealCode
RealCode
,
},
},
data
()
{
data
()
{
return
{
return
{
// 搜索数据
// 搜索数据
query
:
{
query
:
{
...
@@ -262,7 +250,7 @@ export default {
...
@@ -262,7 +250,7 @@ export default {
activityName
:
''
,
activityName
:
''
,
createBy
:
''
,
createBy
:
''
,
beginTime
:
''
,
beginTime
:
''
,
endTime
:
''
endTime
:
''
,
},
},
// 加载状态
// 加载状态
loading
:
false
,
loading
:
false
,
...
@@ -281,50 +269,52 @@ export default {
...
@@ -281,50 +269,52 @@ export default {
// 打开实际群码的检索状态
// 打开实际群码的检索状态
openGroupCodeStatus
:
-
1
,
openGroupCodeStatus
:
-
1
,
// 拷贝对象
// 拷贝对象
clipboard
:
null
clipboard
:
null
,
}
}
},
},
methods
:
{
methods
:
{
// 获取活码数据
// 获取活码数据
getGroupCodes
()
{
getGroupCodes
()
{
const
params
=
Object
.
assign
({},
this
.
query
)
const
params
=
Object
.
assign
({},
this
.
query
)
this
.
loading
=
true
this
.
loading
=
true
getList
(
params
).
then
((
res
)
=>
{
getList
(
params
)
.
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
if
(
res
.
code
===
200
)
{
this
.
groupCodes
=
res
.
rows
this
.
groupCodes
=
res
.
rows
this
.
total
=
parseInt
(
res
.
total
)
this
.
total
=
parseInt
(
res
.
total
)
}
}
this
.
loading
=
false
this
.
loading
=
false
}).
catch
(()
=>
{
})
.
catch
(()
=>
{
this
.
loading
=
false
this
.
loading
=
false
})
})
},
},
// 查询
// 查询
handleSearch
()
{
handleSearch
()
{
this
.
getGroupCodes
()
this
.
getGroupCodes
()
},
},
// 搜索栏清空
// 搜索栏清空
handleClear
()
{
handleClear
()
{
this
.
searchDate
=
''
this
.
searchDate
=
''
this
.
query
=
{
this
.
query
=
{
activityName
:
''
,
activityName
:
''
,
createBy
:
''
,
createBy
:
''
,
beginTime
:
''
,
beginTime
:
''
,
endTime
:
''
endTime
:
''
,
}
}
this
.
getGroupCodes
()
this
.
getGroupCodes
()
},
},
// 批量下载
// 批量下载
handleBulkDownload
()
{
handleBulkDownload
()
{
const
ids
=
this
.
multiGroupCode
.
map
(
group
=>
group
.
id
)
const
ids
=
this
.
multiGroupCode
.
map
(
(
group
)
=>
group
.
id
)
this
.
$confirm
(
'是否确认下载所有图片吗?'
,
'警告'
,
{
this
.
$confirm
(
'是否确认下载所有图片吗?'
,
'警告'
,
{
confirmButtonText
:
'确定'
,
confirmButtonText
:
'确定'
,
...
@@ -349,24 +339,31 @@ export default {
...
@@ -349,24 +339,31 @@ export default {
},
},
// 批量删除
// 批量删除
handleBulkRemove
()
{
handleBulkRemove
()
{
this
.
$confirm
(
'确认删除当前群活码?删除操作无法撤销,请谨慎操作。'
,
'提示'
,
{
this
.
$confirm
(
'确认删除当前群活码?删除操作无法撤销,请谨慎操作。'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
,
type
:
'warning'
,
}).
then
(()
=>
{
}
const
ids
=
this
.
multiGroupCode
.
map
(
group
=>
group
.
id
)
)
.
then
(()
=>
{
const
ids
=
this
.
multiGroupCode
.
map
((
group
)
=>
group
.
id
)
remove
(
ids
+
''
).
then
((
res
)
=>
{
remove
(
ids
+
''
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
if
(
res
.
code
===
200
)
{
this
.
getGroupCodes
()
this
.
getGroupCodes
()
}
else
{}
}
else
{
}
})
})
})
})
.
catch
(()
=>
{})
.
catch
(()
=>
{})
},
},
// 下载
// 下载
handleDownload
(
codeId
,
activityName
)
{
handleDownload
(
codeId
,
activityName
)
{
const
name
=
activityName
+
'.png'
const
name
=
activityName
+
'.png'
download
(
codeId
).
then
((
res
)
=>
{
download
(
codeId
).
then
((
res
)
=>
{
...
@@ -383,47 +380,54 @@ export default {
...
@@ -383,47 +380,54 @@ export default {
},
},
// 删除
// 删除
handleRemove
(
codeId
)
{
handleRemove
(
codeId
)
{
this
.
$confirm
(
'确认删除当前群活码?删除操作无法撤销,请谨慎操作。'
,
'提示'
,
{
this
.
$confirm
(
'确认删除当前群活码?删除操作无法撤销,请谨慎操作。'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
,
type
:
'warning'
,
}).
then
(()
=>
{
}
)
.
then
(()
=>
{
remove
(
codeId
).
then
((
res
)
=>
{
remove
(
codeId
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
if
(
res
.
code
===
200
)
{
this
.
getGroupCodes
()
this
.
getGroupCodes
()
}
else
{}
}
else
{
}
})
})
})
})
.
catch
(()
=>
{})
.
catch
(()
=>
{})
},
},
// 处理多选
// 处理多选
handleSelectionChange
(
val
)
{
handleSelectionChange
(
val
)
{
this
.
multiGroupCode
=
val
this
.
multiGroupCode
=
val
},
},
// 打开实际群码窗口
// 打开实际群码窗口
handleRealCodeDialogOpen
(
groupCodeId
,
status
)
{
handleRealCodeDialogOpen
(
groupCodeId
,
status
)
{
this
.
openGroupCodeId
=
groupCodeId
this
.
openGroupCodeId
=
groupCodeId
this
.
openGroupCodeStatus
=
status
this
.
openGroupCodeStatus
=
status
this
.
realCodeDialog
=
true
this
.
realCodeDialog
=
true
}
}
,
},
},
watch
:
{
watch
:
{
searchDate
(
dateRange
)
{
searchDate
(
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
}
}
},
},
// 如果实际群码弹出框关闭,刷新数据
// 如果实际群码弹出框关闭,刷新数据
realCodeDialog
(
val
)
{
realCodeDialog
(
val
)
{
if
(
val
===
false
)
this
.
getGroupCodes
()
if
(
val
===
false
)
this
.
getGroupCodes
()
}
}
,
},
},
mounted
()
{
mounted
()
{
...
@@ -442,45 +446,38 @@ export default {
...
@@ -442,45 +446,38 @@ export default {
})
})
},
},
created
()
{
created
()
{
this
.
getGroupCodes
()
this
.
getGroupCodes
()
},
},
destroyed
()
{
destroyed
()
{
this
.
clipboard
.
destroy
()
this
.
clipboard
.
destroy
()
},
},
}
}
</
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
:
150px
;
max-width
:
150px
;
}
}
.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
;
}
}
.expire-icon
{
.expire-icon
{
color
:
red
;
color
:
red
;
}
}
.mid-action
{
display
:
flex
;
justify-content
:
space-between
;
align-items
:
center
;
margin
:
10px
0
;
}
</
style
>
</
style
>
linkwe-ui/src/views/drainageCode/group/realCode.vue
View file @
991f86e
This diff is collapsed.
Click to expand it.
linkwe-ui/src/views/drainageCode/staff/list.vue
View file @
991f86e
...
@@ -383,24 +383,4 @@ export default {
...
@@ -383,24 +383,4 @@ export default {
</div>
</div>
</template>
</template>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
></
style
>
.mid-action
{
display
:
flex
;
justify-content
:
space-between
;
margin
:
10px
0
;
align-items
:
center
;
.total
{
background-color
:
rgba
(
65
,
133
,
244
,
0.1
);
border
:
1px
solid
rgba
(
65
,
133
,
244
,
0.2
);
border-radius
:
3px
;
font-size
:
14px
;
min-height
:
32px
;
line-height
:
32px
;
padding
:
0
12px
;
color
:
#606266
;
}
.num
{
color
:
#00f
;
}
}
</
style
>
linkwe-ui/src/views/drainageCode/welcome/components/Tab.vue
View file @
991f86e
...
@@ -22,9 +22,9 @@ export default {
...
@@ -22,9 +22,9 @@ export default {
total
:
0
,
total
:
0
,
list
:
[],
list
:
[],
wel
:
{
wel
:
{
1
:
'
员工
'
,
1
:
'
活码
'
,
2
:
'
部门
员工'
,
2
:
'员工'
,
3
:
'
客户
'
,
3
:
'
入群
'
,
},
},
}
}
},
},
...
@@ -83,7 +83,7 @@ export default {
...
@@ -83,7 +83,7 @@ export default {
<
template
>
<
template
>
<div>
<div>
<div
class=
"mid-action"
>
<div
class=
"mid-action"
>
<div
class=
"total"
></div>
<div></div>
<div>
<div>
<el-button
<el-button
v-hasPermi=
"['wecom:tlp:add']"
v-hasPermi=
"['wecom:tlp:add']"
...
@@ -133,24 +133,4 @@ export default {
...
@@ -133,24 +133,4 @@ export default {
</div>
</div>
</template>
</template>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
></
style
>
.mid-action
{
display
:
flex
;
justify-content
:
space-between
;
padding
:
10px
0
;
align-items
:
center
;
.total
{
background-color
:
rgba
(
65
,
133
,
244
,
0.1
);
//
border
:
1px
solid
rgba
(
65
,
133
,
244
,
0.2
);
border-radius
:
3px
;
font-size
:
14px
;
min-height
:
32px
;
line-height
:
32px
;
//
padding
:
0
12px
;
color
:
#606266
;
}
.num
{
color
:
#00f
;
}
}
</
style
>
linkwe-ui/src/views/drainageCode/welcome/list.vue
View file @
991f86e
...
@@ -2,14 +2,14 @@
...
@@ -2,14 +2,14 @@
<
template
>
<
template
>
<div>
<div>
<el-tabs
:value=
"active"
type=
"card"
>
<el-tabs
:value=
"active"
>
<el-tab-pane
:label=
"`
员工
欢迎语($
{total1})`" name="1">
<el-tab-pane
:label=
"`
活码
欢迎语($
{total1})`" name="1">
<Tab
ref=
"tab1"
type=
"1"
@
total=
"totalChange"
></Tab>
<Tab
ref=
"tab1"
type=
"1"
@
total=
"totalChange"
></Tab>
</el-tab-pane>
</el-tab-pane>
<el-tab-pane
:label=
"`
部门
员工欢迎语($
{total2})`" name="2">
<el-tab-pane
:label=
"`员工欢迎语($
{total2})`" name="2">
<Tab
ref=
"tab2"
type=
"2"
@
total=
"totalChange"
></Tab>
<Tab
ref=
"tab2"
type=
"2"
@
total=
"totalChange"
></Tab>
</el-tab-pane>
</el-tab-pane>
<el-tab-pane
:label=
"`
客户
群欢迎语($
{total3})`" name="3">
<el-tab-pane
:label=
"`
入
群欢迎语($
{total3})`" name="3">
<Tab
ref=
"tab3"
type=
"3"
@
total=
"totalChange"
></Tab>
<Tab
ref=
"tab3"
type=
"3"
@
total=
"totalChange"
></Tab>
</el-tab-pane>
</el-tab-pane>
</el-tabs>
</el-tabs>
...
@@ -34,7 +34,21 @@ export default {
...
@@ -34,7 +34,21 @@ export default {
watch
:
{},
watch
:
{},
computed
:
{},
computed
:
{},
created
()
{},
created
()
{},
mounted
()
{},
mounted
()
{
this
.
$store
.
dispatch
(
'app/setBusininessDesc'
,
`
<div>活码欢迎语:客户通过员工活码添加员工时,系统自动回复欢迎语;新建活码时也可以从活码欢迎语模板中选择。</div>
<div>员工欢迎语:客户通过搜索手机号等非员工活码方式添加员工时,系统自动回复欢迎语。</div>
<div>入群欢迎语:客户加入群聊时,系统自动回复欢迎语。</div>
`
)
},
// beforeRouteLeave(to, from, next) {
// // this.$store.dispatch(('app/setBusininessDesc', ''))
// this.$store.state.app.busininessDesc = ''
// next()
// },
methods
:
{
methods
:
{
totalChange
([
type
,
total
])
{
totalChange
([
type
,
total
])
{
this
[
'total'
+
type
]
=
total
this
[
'total'
+
type
]
=
total
...
...
linkwe-ui/src/views/groupMessage/record.vue
View file @
991f86e
...
@@ -235,24 +235,4 @@ export default {
...
@@ -235,24 +235,4 @@ export default {
</div>
</div>
</template>
</template>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
></
style
>
.mid-action
{
display
:
flex
;
justify-content
:
space-between
;
margin
:
10px
0
;
align-items
:
center
;
.total
{
background-color
:
rgba
(
65
,
133
,
244
,
0.1
);
border
:
1px
solid
rgba
(
65
,
133
,
244
,
0.2
);
border-radius
:
3px
;
font-size
:
14px
;
min-height
:
32px
;
line-height
:
32px
;
padding
:
0
12px
;
color
:
#606266
;
}
.num
{
color
:
#00f
;
}
}
</
style
>
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