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