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 712f44f5
authored
Jun 18, 2022
by
xinla
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
--no commit message
1 parent
eea5626e
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
111 additions
and
100 deletions
linkwe-pc/env.js
linkwe-pc/public/static/config.js
linkwe-pc/src/components/PhoneDialog.vue
linkwe-pc/src/config.js
linkwe-pc/src/layout/index.vue
linkwe-pc/src/main.js
linkwe-pc/src/views/-index.vue
linkwe-pc/src/views/communityOperating/keywords/list.vue
linkwe-pc/src/views/login.vue
linkwe-pc/src/views/operateCenter/index/dataAnalysis.vue
linkwe-pc/env.js
View file @
712f44f
...
@@ -23,4 +23,9 @@ const envs = {
...
@@ -23,4 +23,9 @@ const envs = {
}
}
const
env
=
envs
[
process
.
env
.
VUE_APP_ENV
||
process
.
env
.
NODE_ENV
]
const
env
=
envs
[
process
.
env
.
VUE_APP_ENV
||
process
.
env
.
NODE_ENV
]
try
{
window
.
lwConfig
=
Object
.
assign
(
env
,
window
.
lwConfig
||
{})
}
catch
(
error
)
{
console
.
log
(
error
)
}
module
.
exports
=
env
module
.
exports
=
env
linkwe-pc/public/static/config.js
View file @
712f44f
// 用于无打包配置,会覆盖系统相关配置
// 用于无打包配置,会覆盖系统相关配置
// window.lwConfig = {
window
.
lwConfig
=
{
// DOMAIN: 'http://demo.linkwechat.cn',
SYSTEM_NAME
:
'LinkWeChat'
,
// BASE_URL: '/', // 路由基础路径
SYSTEM_NAME_ALL
:
'LinkWechat 企业微信SCRM'
,
// BASE_API: 'http://demo.linkwechat.cn/prod-api',
COMPANY_NAME
:
'仟微科技'
,
// SYSTEM_API: '/prod-api',
COMPANY_NAME_ALL
:
'仟微科技'
,
// KF_API: '/prod-kf',
LOGO_DARK_URL
:
'http://demo.linkwechat.cn/public/logo_dark_url.png'
,
// }
LOGO_LIGHT_URL
:
'http://demo.linkwechat.cn/public/logo_light_url.png'
,
LOGO_TEXT_DARK_URL
:
'http://demo.linkwechat.cn/public/logo_text_dark_url.png'
,
LOGO_TEXT_LIGHT_URL
:
'http://demo.linkwechat.cn/public/logo_text_light_url.png'
,
COPYRIGHT
:
'Copyright © 2018-2021 LinkWeChat All Rights Reserved.'
,
// DOMAIN: 'http://demo.linkwechat.cn',
// BASE_URL: '/', // 路由基础路径
// BASE_API: 'http://demo.linkwechat.cn/prod-api',
// SYSTEM_API: '/prod-api',
// KF_API: '/prod-kf',
}
linkwe-pc/src/components/PhoneDialog.vue
View file @
712f44f
...
@@ -33,7 +33,7 @@ export default {
...
@@ -33,7 +33,7 @@ export default {
<
template
>
<
template
>
<div
class=
"preview ac"
>
<div
class=
"preview ac"
>
<div
class=
"top"
>
小微
</div>
<div
class=
"top"
>
小微
</div>
<div
class=
"small"
>
仟微科技
-企微
</div>
<div
class=
"small"
>
{{
lwConfig
.
COMPANY_NAME
}}
-企微
</div>
<div
class=
"time"
>
凌晨2:20
</div>
<div
class=
"time"
>
凌晨2:20
</div>
<ul
class=
"msg-ul"
>
<ul
class=
"msg-ul"
>
<li
class=
"flex msg-li"
>
<li
class=
"flex msg-li"
>
...
@@ -50,7 +50,7 @@ export default {
...
@@ -50,7 +50,7 @@ export default {
size=
"small"
size=
"small"
:src=
"require('@/assets/image/profile.jpg')"
:src=
"require('@/assets/image/profile.jpg')"
></el-avatar>
></el-avatar>
<div
class=
"msg"
style=
"line-height: 0; padding: 5px
;
"
>
<div
class=
"msg"
style=
"line-height: 0; padding: 5px"
>
<slot></slot>
<slot></slot>
</div>
</div>
</li>
</li>
...
@@ -70,7 +70,7 @@ export default {
...
@@ -70,7 +70,7 @@ export default {
size=
"small"
size=
"small"
:src=
"require('@/assets/image/profile.jpg')"
:src=
"require('@/assets/image/profile.jpg')"
></el-avatar>
></el-avatar>
<div
class=
"msg"
style=
"line-height: 0; padding: 5px
;
"
>
<div
class=
"msg"
style=
"line-height: 0; padding: 5px"
>
<slot
name=
"image"
v-bind:image=
"image"
></slot>
<slot
name=
"image"
v-bind:image=
"image"
></slot>
</div>
</div>
</li>
</li>
...
...
linkwe-pc/src/config.js
View file @
712f44f
import
{
getToken
}
from
'@/utils/auth'
import
{
getToken
}
from
'@/utils/auth'
import
env
from
'../env'
window
.
lwConfig
=
Object
.
assign
(
env
,
window
.
lwConfig
||
{})
window
.
CONFIG
=
{
window
.
CONFIG
=
{
/**
/**
* 是否系统布局配置
* 是否系统布局配置
...
...
linkwe-pc/src/layout/index.vue
View file @
712f44f
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
<div
class=
"main-container"
>
<div
class=
"main-container"
>
<div
v-show=
"$route.name !== '首页'"
>
<div
v-show=
"$route.name !== '首页'"
>
<hamburger
id=
"hamburger-container"
class=
"hamburger-container"
/>
<hamburger
id=
"hamburger-container"
class=
"hamburger-container"
/>
<span
class=
"slogan"
>
仟微科技
|
</span>
<span
class=
"slogan"
>
{{
lwConfig
.
COMPANY_NAME
}}
|
</span>
<breadcrumb
id=
"breadcrumb-container"
class=
"breadcrumb-container"
/>
<breadcrumb
id=
"breadcrumb-container"
class=
"breadcrumb-container"
/>
</div>
</div>
...
@@ -51,7 +51,7 @@ export default {
...
@@ -51,7 +51,7 @@ export default {
RightPanel
,
RightPanel
,
Settings
,
Settings
,
Sidebar
,
Sidebar
,
TagsView
TagsView
,
},
},
mixins
:
[
ResizeMixin
],
mixins
:
[
ResizeMixin
],
computed
:
{
computed
:
{
...
@@ -59,7 +59,7 @@ export default {
...
@@ -59,7 +59,7 @@ export default {
...
mapState
({
...
mapState
({
sidebar
:
(
state
)
=>
state
.
app
.
sidebar
,
sidebar
:
(
state
)
=>
state
.
app
.
sidebar
,
device
:
(
state
)
=>
state
.
app
.
device
,
device
:
(
state
)
=>
state
.
app
.
device
,
showSettings
:
(
state
)
=>
state
.
settings
.
showSettings
showSettings
:
(
state
)
=>
state
.
settings
.
showSettings
,
// needTagsView: (state) => state.settings.tagsView,
// needTagsView: (state) => state.settings.tagsView,
// fixedHeader: (state) => state.settings.fixedHeader,
// fixedHeader: (state) => state.settings.fixedHeader,
}),
}),
...
@@ -68,15 +68,15 @@ export default {
...
@@ -68,15 +68,15 @@ export default {
hideSidebar
:
!
this
.
sidebar
.
opened
||
this
.
$route
.
path
==
'/index'
,
hideSidebar
:
!
this
.
sidebar
.
opened
||
this
.
$route
.
path
==
'/index'
,
openSidebar
:
this
.
sidebar
.
opened
&&
this
.
$route
.
path
!==
'/index'
,
openSidebar
:
this
.
sidebar
.
opened
&&
this
.
$route
.
path
!==
'/index'
,
withoutAnimation
:
this
.
sidebar
.
withoutAnimation
,
withoutAnimation
:
this
.
sidebar
.
withoutAnimation
,
mobile
:
this
.
device
===
'mobile'
mobile
:
this
.
device
===
'mobile'
,
}
}
}
}
,
},
},
methods
:
{
methods
:
{
handleClickOutside
()
{
handleClickOutside
()
{
this
.
$store
.
dispatch
(
'app/closeSideBar'
,
{
withoutAnimation
:
false
})
this
.
$store
.
dispatch
(
'app/closeSideBar'
,
{
withoutAnimation
:
false
})
}
}
,
}
}
,
}
}
</
script
>
</
script
>
...
...
linkwe-pc/src/main.js
View file @
712f44f
import
Vue
from
'vue'
import
Vue
from
'vue'
// require('promise.prototype.finally').shim()
// require('promise.prototype.finally').shim()
import
'../env'
import
Cookies
from
'js-cookie'
import
Cookies
from
'js-cookie'
...
@@ -9,14 +10,14 @@ import Element from 'element-ui'
...
@@ -9,14 +10,14 @@ import Element from 'element-ui'
import
'./styles/element-variables.scss'
import
'./styles/element-variables.scss'
Vue
.
use
(
Element
,
{
Vue
.
use
(
Element
,
{
size
:
Cookies
.
get
(
'size'
)
||
'small'
// set element-ui default size
size
:
Cookies
.
get
(
'size'
)
||
'small'
,
// set element-ui default size
})
})
import
'@/styles/common.scss'
// common css
import
'@/styles/common.scss'
// common css
import
'@/styles/index.scss'
// global css
import
'@/styles/index.scss'
// global css
import
'video.js/dist/video-js.css'
import
'video.js/dist/video-js.css'
import
config
from
'@/config'
import
'@/config'
import
App
from
'./App'
import
App
from
'./App'
import
store
from
'./store'
import
store
from
'./store'
import
router
from
'./router'
import
router
from
'./router'
...
@@ -32,7 +33,7 @@ import {
...
@@ -32,7 +33,7 @@ import {
selectDictLabel
,
selectDictLabel
,
selectDictLabels
,
selectDictLabels
,
download
,
download
,
handleTree
handleTree
,
}
from
'@/utils/common'
}
from
'@/utils/common'
import
Pagination
from
'@/components/Pagination'
import
Pagination
from
'@/components/Pagination'
...
@@ -62,6 +63,7 @@ Vue.prototype.selectDictLabel = selectDictLabel
...
@@ -62,6 +63,7 @@ Vue.prototype.selectDictLabel = selectDictLabel
Vue
.
prototype
.
selectDictLabels
=
selectDictLabels
Vue
.
prototype
.
selectDictLabels
=
selectDictLabels
Vue
.
prototype
.
download
=
download
Vue
.
prototype
.
download
=
download
Vue
.
prototype
.
handleTree
=
handleTree
Vue
.
prototype
.
handleTree
=
handleTree
Vue
.
prototype
.
lwConfig
=
window
.
lwConfig
Vue
.
prototype
.
msgSuccess
=
function
(
msg
)
{
Vue
.
prototype
.
msgSuccess
=
function
(
msg
)
{
this
.
$message
({
showClose
:
true
,
message
:
msg
,
type
:
'success'
})
this
.
$message
({
showClose
:
true
,
message
:
msg
,
type
:
'success'
})
...
@@ -97,9 +99,9 @@ VueAMap.initAMapApiLoader({
...
@@ -97,9 +99,9 @@ VueAMap.initAMapApiLoader({
'AMap.ToolBar'
,
'AMap.ToolBar'
,
'AMap.MapType'
,
'AMap.MapType'
,
'AMap.PolyEditor'
,
'AMap.PolyEditor'
,
'AMap.CircleEditor'
'AMap.CircleEditor'
,
],
],
v
:
'1.4.4'
v
:
'1.4.4'
,
})
})
/**
/**
...
@@ -117,5 +119,5 @@ new Vue({
...
@@ -117,5 +119,5 @@ new Vue({
el
:
'#app'
,
el
:
'#app'
,
router
,
router
,
store
,
store
,
render
:
(
h
)
=>
h
(
App
)
render
:
(
h
)
=>
h
(
App
)
,
})
})
linkwe-pc/src/views/-index.vue
View file @
712f44f
...
@@ -159,7 +159,7 @@
...
@@ -159,7 +159,7 @@
<div
class=
"inedx_r_top_t"
>
<div
class=
"inedx_r_top_t"
>
<p
class=
"p1"
>
{{
$store
.
state
.
user
.
companyName
}}
,欢迎登陆本系统
</p>
<p
class=
"p1"
>
{{
$store
.
state
.
user
.
companyName
}}
,欢迎登陆本系统
</p>
<p
class=
"p2"
>
登录时间:
{{
parseTime
(
new
Date
())
}}
</p>
<p
class=
"p2"
>
登录时间:
{{
parseTime
(
new
Date
())
}}
</p>
<p
class=
"p1 p3 margint20"
>
LinkWechat 企业微信SCRM
</p>
<p
class=
"p1 p3 margint20"
>
{{
lwConfig
.
SYSTEM_NAME_ALL
}}
</p>
<p
class=
"p2 p4"
>
<p
class=
"p2 p4"
>
版本信息:开源
版本信息:开源
<span
class=
"fr"
>
可用期限:永久
</span>
<span
class=
"fr"
>
可用期限:永久
</span>
...
@@ -243,56 +243,56 @@ export default {
...
@@ -243,56 +243,56 @@ export default {
{
{
name
:
'企业客户'
,
name
:
'企业客户'
,
url
:
'/customerManage/customer'
,
url
:
'/customerManage/customer'
,
img
:
require
(
'@/assets/index/kehgl.png'
)
img
:
require
(
'@/assets/index/kehgl.png'
)
,
},
},
{
{
name
:
'员工活码'
,
name
:
'员工活码'
,
url
:
'/drainageCode/staff'
,
url
:
'/drainageCode/staff'
,
img
:
require
(
'@/assets/index/neircd.png'
)
img
:
require
(
'@/assets/index/neircd.png'
)
,
},
},
{
{
name
:
'新增群发'
,
name
:
'新增群发'
,
url
:
'/customerMaintain/groupMessage/add'
,
url
:
'/customerMaintain/groupMessage/add'
,
img
:
require
(
'@/assets/index/renwb.png'
)
img
:
require
(
'@/assets/index/renwb.png'
)
,
},
},
{
{
name
:
'任务宝'
,
name
:
'任务宝'
,
url
:
'/application/taskGroup'
,
url
:
'/application/taskGroup'
,
img
:
require
(
'@/assets/index/xiaoxqf.png'
)
img
:
require
(
'@/assets/index/xiaoxqf.png'
)
,
},
},
{
{
name
:
'新客拉群'
,
name
:
'新客拉群'
,
url
:
'/communityOperating/newCustomer'
,
url
:
'/communityOperating/newCustomer'
,
img
:
require
(
'@/assets/index/yuanghm.png'
)
img
:
require
(
'@/assets/index/yuanghm.png'
)
,
},
},
{
{
name
:
'素材中心'
,
name
:
'素材中心'
,
url
:
'/customerMaintain/material'
,
url
:
'/customerMaintain/material'
,
img
:
require
(
'@/assets/index/zidgl.png'
)
img
:
require
(
'@/assets/index/zidgl.png'
)
,
},
},
{
{
name
:
'关键词群'
,
name
:
'关键词群'
,
url
:
'/communityOperating/keywords'
,
url
:
'/communityOperating/keywords'
,
img
:
require
(
'@/assets/index/yuanghm.png'
)
img
:
require
(
'@/assets/index/yuanghm.png'
)
,
},
},
{
{
name
:
'会话存档'
,
name
:
'会话存档'
,
url
:
'/riskControl/conversation/content'
,
url
:
'/riskControl/conversation/content'
,
img
:
require
(
'@/assets/index/zidgl.png'
)
img
:
require
(
'@/assets/index/zidgl.png'
)
,
}
}
,
],
],
table
:
{
table
:
{
userCount
:
0
,
userCount
:
0
,
customerCount
:
0
,
customerCount
:
0
,
groupCount
:
0
,
groupCount
:
0
,
groupMemberCount
:
0
groupMemberCount
:
0
,
},
},
erchatsTable
:
{},
erchatsTable
:
{},
allData
:
{},
allData
:
{},
time
:
'昨天'
,
time
:
'昨天'
,
uptime
:
''
,
uptime
:
''
,
timeType
:
'today'
,
timeType
:
'today'
,
durationCount
:
2600
durationCount
:
2600
,
}
}
},
},
mounted
()
{
mounted
()
{
...
@@ -308,7 +308,7 @@ export default {
...
@@ -308,7 +308,7 @@ export default {
let
json
=
{
let
json
=
{
today
:
'昨天'
,
today
:
'昨天'
,
week
:
'上周'
,
week
:
'上周'
,
month
:
'上月'
month
:
'上月'
,
}
}
this
.
time
=
json
[
type
]
this
.
time
=
json
[
type
]
this
.
erchatsTable
=
this
.
allData
[
type
]
this
.
erchatsTable
=
this
.
allData
[
type
]
...
@@ -341,7 +341,7 @@ export default {
...
@@ -341,7 +341,7 @@ export default {
arr1
:
[],
arr1
:
[],
arr2
:
[],
arr2
:
[],
arr3
:
[],
arr3
:
[],
xData
:
[]
xData
:
[]
,
}
}
let
series
=
[]
let
series
=
[]
this
.
erchatsTable
.
dataList
.
forEach
((
a
)
=>
{
this
.
erchatsTable
.
dataList
.
forEach
((
a
)
=>
{
...
@@ -367,8 +367,8 @@ export default {
...
@@ -367,8 +367,8 @@ export default {
// }
// }
// },
// },
textStyle
:
{
textStyle
:
{
color
:
'#fff'
// 主标题文字的颜色。
color
:
'#fff'
,
// 主标题文字的颜色。
}
}
,
})
})
}
}
this
.
drawLine
(
data
.
xData
,
series
)
this
.
drawLine
(
data
.
xData
,
series
)
...
@@ -386,16 +386,16 @@ export default {
...
@@ -386,16 +386,16 @@ export default {
charts
.
setOption
({
charts
.
setOption
({
color
:
[
'#088AEE'
,
'#E74E59'
,
'#14BF48'
,
'#FA7216'
],
color
:
[
'#088AEE'
,
'#E74E59'
,
'#14BF48'
,
'#FA7216'
],
tooltip
:
{
tooltip
:
{
trigger
:
'axis'
trigger
:
'axis'
,
},
},
legend
:
{
legend
:
{
data
:
[
'新增客户数'
,
'新增客群数'
,
'群新增人数'
,
'流失客户数'
]
data
:
[
'新增客户数'
,
'新增客群数'
,
'群新增人数'
,
'流失客户数'
]
,
},
},
grid
:
{
grid
:
{
left
:
'3%'
,
left
:
'3%'
,
right
:
'4%'
,
right
:
'4%'
,
bottom
:
'3%'
,
bottom
:
'3%'
,
containLabel
:
true
containLabel
:
true
,
},
},
xAxis
:
{
xAxis
:
{
type
:
'category'
,
type
:
'category'
,
...
@@ -403,19 +403,19 @@ export default {
...
@@ -403,19 +403,19 @@ export default {
data
:
xData
,
data
:
xData
,
axisLine
:
{
axisLine
:
{
lineStyle
:
{
lineStyle
:
{
color
:
'#ccc'
color
:
'#ccc'
,
}
}
,
}
}
,
},
},
yAxis
:
{
yAxis
:
{
type
:
'value'
,
type
:
'value'
,
axisLine
:
{
axisLine
:
{
lineStyle
:
{
lineStyle
:
{
color
:
'#ccc'
color
:
'#ccc'
,
}
}
,
}
}
,
},
},
series
series
,
})
})
},
},
refresh
()
{
refresh
()
{
...
@@ -440,8 +440,8 @@ export default {
...
@@ -440,8 +440,8 @@ export default {
}
else
{
}
else
{
return
'-'
return
'-'
}
}
}
}
,
}
}
,
}
}
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
...
...
linkwe-pc/src/views/communityOperating/keywords/list.vue
View file @
712f44f
...
@@ -16,7 +16,7 @@ export default {
...
@@ -16,7 +16,7 @@ export default {
createBy
:
''
,
// 创建人
createBy
:
''
,
// 创建人
keywords
:
''
,
// 关键词
keywords
:
''
,
// 关键词
beginTime
:
''
,
// 创建开始时间
beginTime
:
''
,
// 创建开始时间
endTime
:
''
// 创建结束时间
endTime
:
''
,
// 创建结束时间
},
},
queryCreateByName
:
''
,
queryCreateByName
:
''
,
dateRange
:
[],
// 添加日期
dateRange
:
[],
// 添加日期
...
@@ -27,7 +27,7 @@ export default {
...
@@ -27,7 +27,7 @@ export default {
dialogHowToConfig
:
false
,
dialogHowToConfig
:
false
,
disabled
:
false
,
disabled
:
false
,
loading
:
false
,
loading
:
false
,
clipboard
:
null
clipboard
:
null
,
}
}
},
},
watch
:
{
watch
:
{
...
@@ -39,7 +39,7 @@ export default {
...
@@ -39,7 +39,7 @@ export default {
}
else
{
}
else
{
;[
this
.
query
.
beginTime
,
this
.
query
.
endTime
]
=
dateRange
;[
this
.
query
.
beginTime
,
this
.
query
.
endTime
]
=
dateRange
}
}
}
}
,
},
},
created
()
{
created
()
{
this
.
getList
(
1
)
this
.
getList
(
1
)
...
@@ -57,7 +57,7 @@ export default {
...
@@ -57,7 +57,7 @@ export default {
this
.
$notify
({
this
.
$notify
({
title
:
'成功'
,
title
:
'成功'
,
message
:
'链接已复制到剪切板,可粘贴。'
,
message
:
'链接已复制到剪切板,可粘贴。'
,
type
:
'success'
type
:
'success'
,
})
})
})
})
...
@@ -88,7 +88,7 @@ export default {
...
@@ -88,7 +88,7 @@ export default {
goRoute
(
id
)
{
goRoute
(
id
)
{
this
.
$router
.
push
({
this
.
$router
.
push
({
path
:
'keywordsAev'
,
path
:
'keywordsAev'
,
query
:
{
id
:
id
}
query
:
{
id
:
id
}
,
})
})
},
},
// 重置查询参数
// 重置查询参数
...
@@ -105,7 +105,7 @@ export default {
...
@@ -105,7 +105,7 @@ export default {
this
.
$confirm
(
'确认删除当前数据?删除操作无法撤销,请谨慎操作。'
,
'提示'
,
{
this
.
$confirm
(
'确认删除当前数据?删除操作无法撤销,请谨慎操作。'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
type
:
'warning'
,
})
})
.
then
(()
=>
{
.
then
(()
=>
{
const
ids
=
this
.
multiSelect
.
map
((
t
)
=>
t
.
taskId
)
const
ids
=
this
.
multiSelect
.
map
((
t
)
=>
t
.
taskId
)
...
@@ -124,7 +124,7 @@ export default {
...
@@ -124,7 +124,7 @@ export default {
this
.
$confirm
(
'确认删除当前数据?删除操作无法撤销,请谨慎操作。'
,
'提示'
,
{
this
.
$confirm
(
'确认删除当前数据?删除操作无法撤销,请谨慎操作。'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
type
:
'warning'
,
})
})
.
then
(()
=>
{
.
then
(()
=>
{
remove
(
id
+
''
).
then
((
res
)
=>
{
remove
(
id
+
''
).
then
((
res
)
=>
{
...
@@ -154,8 +154,8 @@ export default {
...
@@ -154,8 +154,8 @@ export default {
// 处理多选
// 处理多选
handleSelectionChange
(
val
)
{
handleSelectionChange
(
val
)
{
this
.
multiSelect
=
val
this
.
multiSelect
=
val
}
}
,
}
}
,
}
}
</
script
>
</
script
>
...
@@ -311,13 +311,14 @@ export default {
...
@@ -311,13 +311,14 @@ export default {
title=
"配置方法"
title=
"配置方法"
:visible
.
sync=
"dialogHowToConfig"
:visible
.
sync=
"dialogHowToConfig"
width=
"500px"
width=
"500px"
style=
"margin-bottom: 7vh
;
"
style=
"margin-bottom: 7vh"
:close-on-click-modal=
"false"
:close-on-click-modal=
"false"
>
>
<div
class=
"help"
>
<div
class=
"help"
>
<div
class=
"step"
>
<div
class=
"step"
>
<p>
<p>
1、登录企业微信官方后台,进入应用管理,点击 LinkWeChat,再点击【配置到聊天工具栏】。
1、登录企业微信官方后台,进入应用管理,点击
{{ lwConfig.SYSTEM_NAME }},再点击【配置到聊天工具栏】。
</p>
</p>
<el-image
:src=
"require('@/assets/example/keywordHelp1.png')"
></el-image>
<el-image
:src=
"require('@/assets/example/keywordHelp1.png')"
></el-image>
</div>
</div>
...
@@ -326,16 +327,12 @@ export default {
...
@@ -326,16 +327,12 @@ export default {
<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>
<p>
3、点击【配置页面】后,在弹窗中,输入页面名称及链接,并确定即可。进入配置页面。
</p>
3、点击【配置页面】后,在弹窗中,输入页面名称及链接,并确定即可。进入配置页面。
</p>
<el-image
:src=
"require('@/assets/example/keywordHelp3.png')"
></el-image>
<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
type=
"primary"
@
click=
"dialogHowToConfig = false"
>
我知道了
</el-button>
我知道了
</el-button>
</div>
</div>
</el-dialog>
</el-dialog>
</div>
</div>
...
...
linkwe-pc/src/views/login.vue
View file @
712f44f
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
<img
class=
"login-bg3"
src=
"@/assets/image/login_bg3.png"
alt=
""
/>
<img
class=
"login-bg3"
src=
"@/assets/image/login_bg3.png"
alt=
""
/>
<div
class=
"login-form-wrap"
>
<div
class=
"login-form-wrap"
>
<el-form
ref=
"loginForm"
:model=
"loginForm"
:rules=
"loginRules"
class=
"login-form"
>
<el-form
ref=
"loginForm"
:model=
"loginForm"
:rules=
"loginRules"
class=
"login-form"
>
<h3
class=
"title"
>
LinkWeChat
</h3>
<h3
class=
"title"
>
{{
lwConfig
.
SYSTEM_NAME
}}
</h3>
<el-form-item
prop=
"username"
>
<el-form-item
prop=
"username"
>
<el-input
<el-input
v-model=
"loginForm.username"
v-model=
"loginForm.username"
...
@@ -80,7 +80,7 @@
...
@@ -80,7 +80,7 @@
<!-- 底部 -->
<!-- 底部 -->
<div
class=
"el-login-footer"
>
<div
class=
"el-login-footer"
>
<span>
Copyright © 2018-2021 LinkWeChat All Rights Reserved.
</span>
<span>
{{
lwConfig
.
COPYRIGHT
}}
</span>
</div>
</div>
<!--
<el-dialog
<!--
<el-dialog
...
...
linkwe-pc/src/views/operateCenter/index/dataAnalysis.vue
View file @
712f44f
...
@@ -159,7 +159,7 @@
...
@@ -159,7 +159,7 @@
<div
class=
"inedx_r_top_t"
>
<div
class=
"inedx_r_top_t"
>
<p
class=
"p1"
>
{{
$store
.
state
.
user
.
companyName
}}
,欢迎登陆本系统
</p>
<p
class=
"p1"
>
{{
$store
.
state
.
user
.
companyName
}}
,欢迎登陆本系统
</p>
<p
class=
"p2"
>
登录时间:
{{
parseTime
(
new
Date
())
}}
</p>
<p
class=
"p2"
>
登录时间:
{{
parseTime
(
new
Date
())
}}
</p>
<p
class=
"p1 p3 margint20"
>
LinkWechat 企业微信SCRM
</p>
<p
class=
"p1 p3 margint20"
>
{{
lwConfig
.
SYSTEM_NAME_ALL
}}
</p>
<p
class=
"p2 p4"
>
<p
class=
"p2 p4"
>
版本信息:开源
版本信息:开源
<span
class=
"fr"
>
可用期限:永久
</span>
<span
class=
"fr"
>
可用期限:永久
</span>
...
@@ -239,56 +239,56 @@ export default {
...
@@ -239,56 +239,56 @@ export default {
{
{
name
:
'企业客户'
,
name
:
'企业客户'
,
url
:
'/customerManage/customer'
,
url
:
'/customerManage/customer'
,
img
:
require
(
'@/assets/index/kehgl.png'
)
img
:
require
(
'@/assets/index/kehgl.png'
)
,
},
},
{
{
name
:
'员工活码'
,
name
:
'员工活码'
,
url
:
'/drainageCode/staff'
,
url
:
'/drainageCode/staff'
,
img
:
require
(
'@/assets/index/neircd.png'
)
img
:
require
(
'@/assets/index/neircd.png'
)
,
},
},
{
{
name
:
'新增群发'
,
name
:
'新增群发'
,
url
:
'/customerMaintain/groupMessage/add'
,
url
:
'/customerMaintain/groupMessage/add'
,
img
:
require
(
'@/assets/index/renwb.png'
)
img
:
require
(
'@/assets/index/renwb.png'
)
,
},
},
{
{
name
:
'任务宝'
,
name
:
'任务宝'
,
url
:
'/application/taskGroup'
,
url
:
'/application/taskGroup'
,
img
:
require
(
'@/assets/index/xiaoxqf.png'
)
img
:
require
(
'@/assets/index/xiaoxqf.png'
)
,
},
},
{
{
name
:
'新客拉群'
,
name
:
'新客拉群'
,
url
:
'/communityOperating/newCustomer'
,
url
:
'/communityOperating/newCustomer'
,
img
:
require
(
'@/assets/index/yuanghm.png'
)
img
:
require
(
'@/assets/index/yuanghm.png'
)
,
},
},
{
{
name
:
'素材中心'
,
name
:
'素材中心'
,
url
:
'/customerMaintain/material'
,
url
:
'/customerMaintain/material'
,
img
:
require
(
'@/assets/index/zidgl.png'
)
img
:
require
(
'@/assets/index/zidgl.png'
)
,
},
},
{
{
name
:
'关键词群'
,
name
:
'关键词群'
,
url
:
'/communityOperating/keywords'
,
url
:
'/communityOperating/keywords'
,
img
:
require
(
'@/assets/index/yuanghm.png'
)
img
:
require
(
'@/assets/index/yuanghm.png'
)
,
},
},
{
{
name
:
'会话存档'
,
name
:
'会话存档'
,
url
:
'/riskControl/conversation/content'
,
url
:
'/riskControl/conversation/content'
,
img
:
require
(
'@/assets/index/zidgl.png'
)
img
:
require
(
'@/assets/index/zidgl.png'
)
,
}
}
,
],
],
table
:
{
table
:
{
userCount
:
0
,
userCount
:
0
,
customerCount
:
0
,
customerCount
:
0
,
groupCount
:
0
,
groupCount
:
0
,
groupMemberCount
:
0
groupMemberCount
:
0
,
},
},
erchatsTable
:
{},
erchatsTable
:
{},
allData
:
{},
allData
:
{},
time
:
'昨天'
,
time
:
'昨天'
,
uptime
:
''
,
uptime
:
''
,
timeType
:
'today'
,
timeType
:
'today'
,
durationCount
:
2600
durationCount
:
2600
,
}
}
},
},
mounted
()
{
mounted
()
{
...
@@ -304,7 +304,7 @@ export default {
...
@@ -304,7 +304,7 @@ export default {
let
json
=
{
let
json
=
{
today
:
'昨天'
,
today
:
'昨天'
,
week
:
'上周'
,
week
:
'上周'
,
month
:
'上月'
month
:
'上月'
,
}
}
this
.
time
=
json
[
type
]
this
.
time
=
json
[
type
]
this
.
erchatsTable
=
this
.
allData
[
type
]
this
.
erchatsTable
=
this
.
allData
[
type
]
...
@@ -337,7 +337,7 @@ export default {
...
@@ -337,7 +337,7 @@ export default {
arr1
:
[],
arr1
:
[],
arr2
:
[],
arr2
:
[],
arr3
:
[],
arr3
:
[],
xData
:
[]
xData
:
[]
,
}
}
let
series
=
[]
let
series
=
[]
this
.
erchatsTable
.
dataList
.
forEach
((
a
)
=>
{
this
.
erchatsTable
.
dataList
.
forEach
((
a
)
=>
{
...
@@ -363,8 +363,8 @@ export default {
...
@@ -363,8 +363,8 @@ export default {
// }
// }
// },
// },
textStyle
:
{
textStyle
:
{
color
:
'#fff'
// 主标题文字的颜色。
color
:
'#fff'
,
// 主标题文字的颜色。
}
}
,
})
})
}
}
this
.
drawLine
(
data
.
xData
,
series
)
this
.
drawLine
(
data
.
xData
,
series
)
...
@@ -382,16 +382,16 @@ export default {
...
@@ -382,16 +382,16 @@ export default {
charts
.
setOption
({
charts
.
setOption
({
color
:
[
'#088AEE'
,
'#E74E59'
,
'#14BF48'
,
'#FA7216'
],
color
:
[
'#088AEE'
,
'#E74E59'
,
'#14BF48'
,
'#FA7216'
],
tooltip
:
{
tooltip
:
{
trigger
:
'axis'
trigger
:
'axis'
,
},
},
legend
:
{
legend
:
{
data
:
[
'新增客户数'
,
'新增客群数'
,
'群新增人数'
,
'流失客户数'
]
data
:
[
'新增客户数'
,
'新增客群数'
,
'群新增人数'
,
'流失客户数'
]
,
},
},
grid
:
{
grid
:
{
left
:
'3%'
,
left
:
'3%'
,
right
:
'4%'
,
right
:
'4%'
,
bottom
:
'3%'
,
bottom
:
'3%'
,
containLabel
:
true
containLabel
:
true
,
},
},
xAxis
:
{
xAxis
:
{
type
:
'category'
,
type
:
'category'
,
...
@@ -399,19 +399,19 @@ export default {
...
@@ -399,19 +399,19 @@ export default {
data
:
xData
,
data
:
xData
,
axisLine
:
{
axisLine
:
{
lineStyle
:
{
lineStyle
:
{
color
:
'#ccc'
color
:
'#ccc'
,
}
}
,
}
}
,
},
},
yAxis
:
{
yAxis
:
{
type
:
'value'
,
type
:
'value'
,
axisLine
:
{
axisLine
:
{
lineStyle
:
{
lineStyle
:
{
color
:
'#ccc'
color
:
'#ccc'
,
}
}
,
}
}
,
},
},
series
series
,
})
})
},
},
refresh
()
{
refresh
()
{
...
@@ -436,8 +436,8 @@ export default {
...
@@ -436,8 +436,8 @@ export default {
}
else
{
}
else
{
return
'-'
return
'-'
}
}
}
}
,
}
}
,
}
}
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
...
...
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