Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-home
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 3500785f
authored
Oct 15, 2021
by
ym
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
ui
1 parent
600fe6a0
Show whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
336 additions
and
170 deletions
package.json
src/App.vue
src/api/modules/home.js
src/assets/css/common.scss
src/config/env.development.js
src/router/routes.js
src/setup/qiankun.js
src/setup/render.js
src/views/ehome/components/summary-ranking.vue
src/views/ehome/components/summary-statistics.vue
src/views/enterpriseWechat/index.vue
src/views/followUp/components/addSale.vue
src/views/followUp/components/selectEmp.vue
src/views/followUp/index.vue
src/views/home/components/accurate-marketing.vue
src/views/home/components/enterprise-information.vue
src/views/home/components/overview-enterprise.vue
src/views/home/index.vue
src/views/service/index.vue
vue.config.js
package.json
View file @
3500785
...
@@ -13,7 +13,7 @@
...
@@ -13,7 +13,7 @@
"echarts"
:
"^5.2.0"
,
"echarts"
:
"^5.2.0"
,
"el-tree-transfer"
:
"^2.2.6"
,
"el-tree-transfer"
:
"^2.2.6"
,
"element-ui"
:
"^2.4.5"
,
"element-ui"
:
"^2.4.5"
,
"glsx-common"
:
"^1.4.0
"
,
"glsx-common"
:
"^1.4.4
"
,
"glsx-components"
:
"^1.0.4"
,
"glsx-components"
:
"^1.0.4"
,
"glsx-table"
:
"^1.0.9"
,
"glsx-table"
:
"^1.0.9"
,
"vue"
:
"^2.6.10"
,
"vue"
:
"^2.6.10"
,
...
...
src/App.vue
View file @
3500785
...
@@ -58,6 +58,6 @@ export default {
...
@@ -58,6 +58,6 @@ export default {
}
}
#app
{
#app
{
background
:
#F4F5FA
;
background
:
#F4F5FA
;
padding
-left
:
40px
;
padding
:
0px
20px
20px
40px
;
}
}
</
style
>
</
style
>
\ No newline at end of file
\ No newline at end of file
src/api/modules/home.js
View file @
3500785
...
@@ -7,11 +7,9 @@
...
@@ -7,11 +7,9 @@
* @returns
* @returns
*/
*/
import
{
http
}
from
'@/main'
import
{
http
}
from
'@/main'
const
sessionId
=
'mini-e2d2767d-b50c-4258-973f-2d7c4c636ed5-rop'
const
url
=
'/rop-scrm-entmicro/router'
const
url
=
'/rop-scrm-entmicro/router'
const
getChart
=
params
=>
{
const
getChart
=
params
=>
{
params
.
method
=
'org.ore.api.home.view.chart'
params
.
method
=
'org.ore.api.home.view.chart'
params
.
sessionId
=
sessionId
return
http
({
return
http
({
url
,
url
,
method
:
'POST'
,
method
:
'POST'
,
...
@@ -22,7 +20,6 @@ const getChart = params => {
...
@@ -22,7 +20,6 @@ const getChart = params => {
const
getSort
=
params
=>
{
const
getSort
=
params
=>
{
params
.
method
=
'org.ore.api.home.view.sort'
params
.
method
=
'org.ore.api.home.view.sort'
params
.
sessionId
=
sessionId
return
http
({
return
http
({
url
,
url
,
...
@@ -33,7 +30,6 @@ const getSort = params => {
...
@@ -33,7 +30,6 @@ const getSort = params => {
}
}
const
getStore
=
params
=>
{
const
getStore
=
params
=>
{
params
.
method
=
'org.ore.api.home.view.store.data'
params
.
method
=
'org.ore.api.home.view.store.data'
params
.
sessionId
=
sessionId
return
http
({
return
http
({
url
,
url
,
...
@@ -44,7 +40,6 @@ const getStore = params => {
...
@@ -44,7 +40,6 @@ const getStore = params => {
}
}
const
getShop
=
params
=>
{
const
getShop
=
params
=>
{
params
.
method
=
'org.ore.api.home.view.shop.data'
params
.
method
=
'org.ore.api.home.view.shop.data'
params
.
sessionId
=
sessionId
return
http
({
return
http
({
url
,
url
,
...
@@ -55,7 +50,16 @@ const getShop = params => {
...
@@ -55,7 +50,16 @@ const getShop = params => {
}
}
const
getView
=
params
=>
{
const
getView
=
params
=>
{
params
.
method
=
'org.ore.api.home.view.data'
params
.
method
=
'org.ore.api.home.view.data'
params
.
sessionId
=
sessionId
return
http
({
url
,
method
:
'POST'
,
data
:
params
,
sign
:
true
})
}
const
findLoginCount
=
params
=>
{
params
.
method
=
'org.ore.api.common.findLoginCount'
return
http
({
return
http
({
url
,
url
,
...
@@ -69,5 +73,6 @@ export default {
...
@@ -69,5 +73,6 @@ export default {
getView
,
getView
,
getSort
,
getSort
,
getShop
,
getShop
,
getStore
getStore
,
findLoginCount
}
}
\ No newline at end of file
\ No newline at end of file
src/assets/css/common.scss
View file @
3500785
...
@@ -109,3 +109,15 @@ img {
...
@@ -109,3 +109,15 @@ img {
background
:
#FFFFFF
;
background
:
#FFFFFF
;
box-shadow
:
0
10px
20px
0
rgba
(
88
,
80
,
255
,
0
.10
);
box-shadow
:
0
10px
20px
0
rgba
(
88
,
80
,
255
,
0
.10
);
}
}
::-webkit-scrollbar
{
/*滚动条整体样式*/
width
:
8px
;
height
:
1px
;
}
::-webkit-scrollbar-thumb
{
/*滚动条里面小方块*/
border-radius
:
7px
;
background-color
:
#E9E8FF
;
}
\ No newline at end of file
\ No newline at end of file
src/config/env.development.js
View file @
3500785
...
@@ -17,7 +17,7 @@ module.exports = {
...
@@ -17,7 +17,7 @@ module.exports = {
code_message_map
:
{}
code_message_map
:
{}
},
},
request
:
{
request
:
{
baseURL
:
'http
://192.168.3.191:8064
'
,
baseURL
:
'http
s://scrm.test.glsx.com.cn
'
,
// 设置超时时间
// 设置超时时间
timeout
:
180000
,
timeout
:
180000
,
// 携带凭证
// 携带凭证
...
...
src/router/routes.js
View file @
3500785
...
@@ -11,12 +11,6 @@ const staticRoutes = Object.freeze([{
...
@@ -11,12 +11,6 @@ const staticRoutes = Object.freeze([{
component
:
resolve
=>
require
([
`@/views/ehome/index.vue`
],
resolve
)
component
:
resolve
=>
require
([
`@/views/ehome/index.vue`
],
resolve
)
},
},
{
{
name
:
'About'
,
path
:
'/about'
,
component
:
resolve
=>
require
([
`@/views/about/index.vue`
],
resolve
),
meta
:
{}
},
{
name
:
'EnterpriseWechat'
,
name
:
'EnterpriseWechat'
,
path
:
'/enterpriseWechat/index'
,
path
:
'/enterpriseWechat/index'
,
component
:
resolve
=>
require
([
`@/views/enterpriseWechat/index.vue`
],
resolve
),
component
:
resolve
=>
require
([
`@/views/enterpriseWechat/index.vue`
],
resolve
),
...
...
src/setup/qiankun.js
View file @
3500785
...
@@ -28,6 +28,7 @@ export async function bootstrap({ name, id, history, common, messenger, globalSt
...
@@ -28,6 +28,7 @@ export async function bootstrap({ name, id, history, common, messenger, globalSt
subscribe
({
messenger
})
subscribe
({
messenger
})
}
}
export
async
function
mount
(
props
)
{
export
async
function
mount
(
props
)
{
console
.
log
(
'11111'
,
props
)
const
insts
=
render
(
props
.
routerBase
,
routes
)
const
insts
=
render
(
props
.
routerBase
,
routes
)
router
=
insts
.
router
router
=
insts
.
router
instance
=
insts
.
vm
instance
=
insts
.
vm
...
...
src/setup/render.js
View file @
3500785
...
@@ -18,16 +18,15 @@ const render = (base, routes) => {
...
@@ -18,16 +18,15 @@ const render = (base, routes) => {
mode
:
'history'
mode
:
'history'
})
})
router
.
beforeEach
((
to
,
from
,
next
)
=>
{
router
.
beforeEach
((
to
,
from
,
next
)
=>
{
if
(
from
.
path
==
'/'
&&
to
.
path
==
'/home/index'
)
{
if
(
from
.
path
==
'/'
&&
(
to
.
path
==
'/home/index'
||
to
.
path
==
'/ehome/index'
)
)
{
next
();
next
();
// next('/enterpriseWechat/index')
Vue
.
prototype
.
$apis
.
ww
.
getStatus
({}).
then
((
res
)
=>
{
// Vue.prototype.$apis.ww.getStatus({}).then((res) => {
// if (res.status != 'SUCCESS') {
// if (res.status != 'SUCCESS') {
// next('/enterpriseWechat/index')
// next('/enterpriseWechat/index')
// } else {
// } else {
// next()
// next()
// }
// }
//
})
})
}
else
{
}
else
{
next
();
next
();
}
}
...
...
src/views/ehome/components/summary-ranking.vue
View file @
3500785
...
@@ -97,7 +97,7 @@
...
@@ -97,7 +97,7 @@
<el-dialog
center
:visible
.
sync=
"dialogVisible"
width=
"30%"
>
<el-dialog
center
:visible
.
sync=
"dialogVisible"
width=
"30%"
>
<span>
您还没有门店,暂无数据,请先创建门店
</span>
<span>
您还没有门店,暂无数据,请先创建门店
</span>
<span
slot=
"footer"
class=
"dialog-footer"
>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
type=
"primary"
@
click=
"
dialogVisible = fals
e"
>
确 定
</el-button>
<el-button
type=
"primary"
@
click=
"
jumpStor
e"
>
确 定
</el-button>
</span>
</span>
</el-dialog>
</el-dialog>
</div>
</div>
...
@@ -122,6 +122,10 @@ export default {
...
@@ -122,6 +122,10 @@ export default {
},
},
methods
:
{
methods
:
{
jumpStore
()
{
this
.
dialogVisible
=
false
;
this
.
$history
.
push
(
'/settings/account/index'
);
},
tabRank
()
{
tabRank
()
{
this
.
getSort
();
this
.
getSort
();
},
},
...
...
src/views/ehome/components/summary-statistics.vue
View file @
3500785
...
@@ -4,7 +4,14 @@
...
@@ -4,7 +4,14 @@
<div
class=
"summary-title"
>
汇总
</div>
<div
class=
"summary-title"
>
汇总
</div>
<div
class=
"summary-time"
>
<div
class=
"summary-time"
>
<span>
统计截止至
</span>
<span>
统计截止至
</span>
<el-date-picker
@
change=
"changeTime"
format=
"yyyy-MM-dd"
v-model=
"summaryTime"
type=
"date"
placeholder=
"选择日期"
:clearable=
"false"
>
<el-date-picker
@
change=
"changeTime"
format=
"yyyy-MM-dd"
v-model=
"summaryTime"
type=
"date"
placeholder=
"选择日期"
:clearable=
"false"
>
</el-date-picker>
</el-date-picker>
</div>
</div>
</div>
</div>
...
@@ -22,9 +29,10 @@
...
@@ -22,9 +29,10 @@
<img
src=
"@/assets/img/question.png"
slot=
"reference"
/>
<img
src=
"@/assets/img/question.png"
slot=
"reference"
/>
</el-popover>
</el-popover>
</div>
</div>
<div
class=
"summary-item-total"
>
{{
customerCount
}}
</div>
<div
class=
"summary-item-total"
>
{{
customerCount
?
customerCount
:
"- -"
}}
</div>
<div
class=
"summary-item-number"
>
<div
class=
"summary-item-number"
>
未加企微客户数:
<span>
{{
notAddEntmicroCount
}}
</span>
未加企微客户数:
<span>
{{
notAddEntmicroCount
?
notAddEntmicroCount
:
"- -"
}}
</span>
</div>
</div>
<linechart
:echartId=
"echartId1"
:echartData=
"custAddList"
></linechart>
<linechart
:echartId=
"echartId1"
:echartData=
"custAddList"
></linechart>
</div>
</div>
...
@@ -41,9 +49,11 @@
...
@@ -41,9 +49,11 @@
<img
src=
"@/assets/img/question.png"
slot=
"reference"
/>
<img
src=
"@/assets/img/question.png"
slot=
"reference"
/>
</el-popover>
</el-popover>
</div>
</div>
<div
class=
"summary-item-total"
>
{{
addEntmicroCount
}}
</div>
<div
class=
"summary-item-total"
>
{{
addEntmicroCount
?
addEntmicroCount
:
"- -"
}}
</div>
<div
class=
"summary-item-number"
>
<div
class=
"summary-item-number"
>
当日新增:
<span>
{{
newEntmicroCount
}}
</span>
当日新增:
<span>
{{
newEntmicroCount
?
newEntmicroCount
:
"- -"
}}
</span>
</div>
</div>
<linechart
:echartId=
"echartId2"
:echartData=
"custEntmicroAdds"
></linechart>
<linechart
:echartId=
"echartId2"
:echartData=
"custEntmicroAdds"
></linechart>
</div>
</div>
...
@@ -60,9 +70,12 @@
...
@@ -60,9 +70,12 @@
<img
src=
"@/assets/img/question.png"
slot=
"reference"
/>
<img
src=
"@/assets/img/question.png"
slot=
"reference"
/>
</el-popover>
</el-popover>
</div>
</div>
<div
class=
"summary-item-total"
>
{{
entmicroLoseCount
}}
</div>
<div
class=
"summary-item-total"
>
{{
entmicroLoseCount
?
entmicroLoseCount
:
"- -"
}}
</div>
<div
class=
"summary-item-number"
>
<div
class=
"summary-item-number"
>
当日新增:
<span>
{{
todayEntmicroLoseCount
}}
</span>
当日新增:
<span>
{{
todayEntmicroLoseCount
?
todayEntmicroLoseCount
:
"- -"
}}
</span>
</div>
</div>
<linechart
:echartId=
"echartId3"
:echartData=
"custLoseList"
></linechart>
<linechart
:echartId=
"echartId3"
:echartData=
"custLoseList"
></linechart>
</div>
</div>
...
@@ -147,9 +160,11 @@ export default {
...
@@ -147,9 +160,11 @@ export default {
this
.
getChart
();
this
.
getChart
();
},
},
getViewData
()
{
getViewData
()
{
this
.
$apis
.
home
.
getShop
({
this
.
$apis
.
home
date
:
this
.
summaryTime
.
getShop
({
}).
then
((
res
)
=>
{
date
:
this
.
summaryTime
,
})
.
then
((
res
)
=>
{
this
.
customerCount
=
res
.
customerCount
;
this
.
customerCount
=
res
.
customerCount
;
this
.
newCustomerCount
=
res
.
newCustomerCount
;
this
.
newCustomerCount
=
res
.
newCustomerCount
;
this
.
addEntmicroCount
=
res
.
addEntmicroCount
;
this
.
addEntmicroCount
=
res
.
addEntmicroCount
;
...
@@ -162,7 +177,7 @@ export default {
...
@@ -162,7 +177,7 @@ export default {
});
});
},
},
getChart
()
{
getChart
()
{
this
.
$apis
.
home
.
getChart
({
day
:
30
,
date
:
this
.
summaryTime
}).
then
((
res
)
=>
{
this
.
$apis
.
home
.
getChart
({
day
:
30
,
date
:
this
.
summaryTime
}).
then
((
res
)
=>
{
this
.
custAddList
=
res
.
custAddList
;
this
.
custAddList
=
res
.
custAddList
;
this
.
custEntmicroAdds
=
res
.
custEntmicroAdds
;
this
.
custEntmicroAdds
=
res
.
custEntmicroAdds
;
this
.
custLoseList
=
res
.
custLoseList
;
this
.
custLoseList
=
res
.
custLoseList
;
...
@@ -195,14 +210,14 @@ export default {
...
@@ -195,14 +210,14 @@ export default {
let
Averg
;
let
Averg
;
if
(
params
.
seriesName
==
"每日新增企微用户"
)
{
if
(
params
.
seriesName
==
"每日新增企微用户"
)
{
circleColor
=
"#5850FF"
;
circleColor
=
"#5850FF"
;
Averg
=
monthAverg
[
params
.
dataIndex
]
Averg
=
monthAverg
[
params
.
dataIndex
];
}
}
if
(
params
.
seriesName
==
"每日新增产值"
)
{
if
(
params
.
seriesName
==
"每日新增产值"
)
{
circleColor
=
"#2CCA74"
;
circleColor
=
"#2CCA74"
;
}
}
if
(
params
.
seriesName
==
"每日企微消失用户"
)
{
if
(
params
.
seriesName
==
"每日企微消失用户"
)
{
circleColor
=
"#FF6D00"
;
circleColor
=
"#FF6D00"
;
Averg
=
monthAvergLoss
[
params
.
dataIndex
]
Averg
=
monthAvergLoss
[
params
.
dataIndex
];
}
}
return
(
return
(
params
.
name
+
params
.
name
+
...
@@ -213,7 +228,7 @@ export default {
...
@@ -213,7 +228,7 @@ export default {
params
.
value
+
params
.
value
+
"<br>"
+
"<br>"
+
`<span style="display:inline-block;margin-right:5px;border-radius:10px;width:10px;height:10px;background-color:
${
circleColor
}
;"></span>`
+
`<span style="display:inline-block;margin-right:5px;border-radius:10px;width:10px;height:10px;background-color:
${
circleColor
}
;"></span>`
+
(
new
Date
(
params
.
name
).
getMonth
()
+
1
)
+
(
new
Date
(
params
.
name
).
getMonth
()
+
1
)
+
"月均值:"
+
"月均值:"
+
Averg
Averg
);
);
...
...
src/views/enterpriseWechat/index.vue
View file @
3500785
...
@@ -5,16 +5,19 @@
...
@@ -5,16 +5,19 @@
企业自建应用接入流程
企业自建应用接入流程
<span>
(适合没有自己技术团队的企业,接入即可使用全部功能)
</span>
<span>
(适合没有自己技术团队的企业,接入即可使用全部功能)
</span>
</div>
</div>
<div
class=
"step-panel"
:style=
"
{
<div
class=
"step-panel"
:style=
"
{
'min-height': boxHeight + 'px',
'min-height': boxHeight + 'px',
}">
}"
>
<div
class=
"step-left scrm-box-f"
>
<div
class=
"step-left scrm-box-f"
>
<div
class=
"step-box"
>
<div
class=
"step-box"
>
<div
class=
"el-steps el-steps--vertical"
>
<div
class=
"el-steps el-steps--vertical"
>
<div
class=
"el-step is-vertical"
style=
"flex-basis: 50%"
>
<div
class=
"el-step is-vertical"
style=
"flex-basis: 50%"
>
<div
class=
"el-step__head is-wait"
:class=
"
{ 'is-finish': active == 1 }">
<div
class=
"el-step__head is-wait"
:class=
"
{ 'is-finish': active == 1 }">
<div
class=
"el-step__line"
style=
"margin-right: 0px"
></div>
<div
class=
"el-step__line"
style=
"margin-right: 0px"
></div>
<div
class=
"el-step__icon is-text"
@
click=
"active = 1"
>
<div
class=
"el-step__icon is-text"
>
<div
class=
"el-step__icon-inner"
>
1
</div>
<div
class=
"el-step__icon-inner"
>
1
</div>
</div>
</div>
</div>
</div>
...
@@ -36,7 +39,7 @@
...
@@ -36,7 +39,7 @@
<div
class=
"el-step is-vertical"
style=
"flex-basis: 50%"
>
<div
class=
"el-step is-vertical"
style=
"flex-basis: 50%"
>
<div
class=
"el-step__head is-wait"
:class=
"
{ 'is-finish': active == 2 }">
<div
class=
"el-step__head is-wait"
:class=
"
{ 'is-finish': active == 2 }">
<div
class=
"el-step__line"
style=
"margin-right: 0px"
></div>
<div
class=
"el-step__line"
style=
"margin-right: 0px"
></div>
<div
class=
"el-step__icon is-text"
@
click=
"active = 2"
>
<div
class=
"el-step__icon is-text"
>
<div
class=
"el-step__icon-inner"
>
2
</div>
<div
class=
"el-step__icon-inner"
>
2
</div>
</div>
</div>
</div>
</div>
...
@@ -58,7 +61,7 @@
...
@@ -58,7 +61,7 @@
<div
class=
"el-step is-vertical is-flex"
style=
"flex-basis: 50%"
>
<div
class=
"el-step is-vertical is-flex"
style=
"flex-basis: 50%"
>
<div
class=
"el-step__head is-wait"
:class=
"
{ 'is-finish': active == 3 }">
<div
class=
"el-step__head is-wait"
:class=
"
{ 'is-finish': active == 3 }">
<div
class=
"el-step__line"
></div>
<div
class=
"el-step__line"
></div>
<div
class=
"el-step__icon is-text"
@
click=
"active = 3"
>
<div
class=
"el-step__icon is-text"
>
<div
class=
"el-step__icon-inner"
>
3
</div>
<div
class=
"el-step__icon-inner"
>
3
</div>
</div>
</div>
</div>
</div>
...
@@ -86,14 +89,17 @@
...
@@ -86,14 +89,17 @@
第一步:初次使用客户,需要企业微信超级管理员授权绑定企业,具体如下:
第一步:初次使用客户,需要企业微信超级管理员授权绑定企业,具体如下:
</div>
</div>
<div
class=
"config-box-h2"
>
<div
class=
"config-box-h2"
>
未注册企业微信的用户,请先前往企业微信的官网进行注册。
<a>
企业微信官网>>
</a>
未注册企业微信的用户,请先前往企业微信的官网进行注册。
<a
@
click=
"jumpUrl('https://work.weixin.qq.com/')"
>
企业微信官网>>
</a
>
</div>
</div>
<div
class=
"config-box-h3"
>
1.企业微信超级管理员扫码授权接入嘀加企微管家
</div>
<div
class=
"config-box-h3"
>
1.企业微信超级管理员扫码授权接入嘀加企微管家
</div>
<div
class=
"config-box-qrcode"
style=
"width: 50%"
>
<div
class=
"config-box-qrcode"
style=
"width: 50%"
v-if=
"qrcodeUrl"
>
<div
class=
"config-use-qrcode"
>
<div
class=
"config-use-qrcode"
>
<img
:src=
"qrcodeUrl"
/>
<img
:src=
"qrcodeUrl"
/>
<div
class=
"qrcode-refresh"
v-if=
"checkStatus != 'never'"
>
<div
class=
"qrcode-refresh"
v-if=
"checkStatus != 'never'"
>
<div
class=
"qrcode-status"
v-if=
"checkStatus == 'suc'"
>
<div
class=
"qrcode-status"
v-if=
"checkStatus == 'suc
c
'"
>
<i
class=
"el-icon-circle-check"
></i>
<i
class=
"el-icon-circle-check"
></i>
<div>
完成
</div>
<div>
完成
</div>
</div>
</div>
...
@@ -112,7 +118,10 @@
...
@@ -112,7 +118,10 @@
</div>
</div>
<div
class=
"config-use-desc"
>
请联系超级管理员用企业微信扫码接入
</div>
<div
class=
"config-use-desc"
>
请联系超级管理员用企业微信扫码接入
</div>
</div>
</div>
<div
class=
"config-form-panel"
>
<div
class=
"config-form-panel"
v-if=
"applicationList && applicationList.length > 0"
>
<div>
<div>
<div
class=
"config-box-h3"
>
2.填写嘀加智慧门店秘钥secret
</div>
<div
class=
"config-box-h3"
>
2.填写嘀加智慧门店秘钥secret
</div>
<div
class=
"config-box-form"
>
<div
class=
"config-box-form"
>
...
@@ -121,23 +130,24 @@
...
@@ -121,23 +130,24 @@
v-for=
"(item, index) in applicationList"
v-for=
"(item, index) in applicationList"
:key=
"index"
:key=
"index"
>
>
<label
v-if=
"item.appCode == 'DJQWGJ'"
>
*嘀加企微管家Secret:
</label>
<label
v-if=
"item.appCode == 'DJQWGJ'"
>
*Secret:
</label>
<label
v-if=
"item.appCode == 'WBLXR'"
>
*外部联系人Secret:
</label>
<label
v-if=
"item.appCode == 'WBLXR'"
>
*客户联系Secret:
</label>
<label
v-if=
"item.appCode == 'TXLTBZS'"
<label
v-if=
"item.appCode == 'TXLTBZS'"
>
*通讯录Secret:
</label>
>
*通讯录同步助手Secret:
</label
>
<input
<input
type=
"text"
type=
"text"
:readonly=
"toStatus"
v-model=
"item.appSecret"
v-model=
"item.appSecret"
class=
"config-item-input"
class=
"config-item-input"
/>
/>
</div>
</div>
<div
class=
"config-box-link"
><span>
查看如何获取 >>
</span></div>
<div
class=
"config-box-link"
><span
@
click=
"jumpUrl('http://qcimg01.glsx.net/upload/temporary/illustrate.html')"
>
查看如何获取 >>
</span></div>
</div>
</div>
</div>
</div>
<div
class=
"config-box-qrcode"
>
<div
class=
"config-box-qrcode"
>
<div
class=
"config-box-h3"
>
如未成功,请加我微信帮您接入
</div>
<div
class=
"config-box-h3"
>
如未成功,请加我微信帮您接入
</div>
<div
class=
"config-use-qrcode"
><img
src=
"@/assets/img/qrcode.png"
alt=
""
/></div>
<div
class=
"config-use-qrcode"
>
<img
src=
"@/assets/img/qrcode.png"
alt=
""
/>
</div>
<div
class=
"config-use-desc"
>
请联系超级管理员用企业微信扫码接入
</div>
<div
class=
"config-use-desc"
>
请联系超级管理员用企业微信扫码接入
</div>
</div>
</div>
</div>
</div>
...
@@ -146,7 +156,7 @@
...
@@ -146,7 +156,7 @@
<div
class=
"config-box-h1"
>
第二步:如若完整使用本系统,还需要管理员
</div>
<div
class=
"config-box-h1"
>
第二步:如若完整使用本系统,还需要管理员
</div>
<div
class=
"config-form-panel"
>
<div
class=
"config-form-panel"
>
<div>
<div>
<div
class=
"config-box-h3"
>
通讯录接收事件服务配置
</div>
<div
class=
"config-box-h3"
style=
"padding-left: 30px"
>
通讯录接收事件服务配置
</div>
<div
class=
"config-box-form"
>
<div
class=
"config-box-form"
>
<div
class=
"config-box-input"
>
<div
class=
"config-box-input"
>
<label>
*URL:
</label>
<label>
*URL:
</label>
...
@@ -185,7 +195,7 @@
...
@@ -185,7 +195,7 @@
/></span>
/></span>
</div>
</div>
<div
class=
"config-box-link step-link"
>
<div
class=
"config-box-link step-link"
>
<span>
查看如何获取 >>
</span>
<span
@
click=
"jumpUrl('http://qcimg01.glsx.net/upload/temporary/illustration.html')"
>
查看如何获取 >>
</span>
<el-button
<el-button
type=
"primary"
type=
"primary"
size=
"mini"
size=
"mini"
...
@@ -200,22 +210,37 @@
...
@@ -200,22 +210,37 @@
</div>
</div>
<div
class=
"config-box"
v-if=
"active == 3"
>
<div
class=
"config-box"
v-if=
"active == 3"
>
<div
class=
"config-box-h1"
>
第三步:配置完成后
</div>
<div
class=
"config-box-h1"
>
第三步:配置完成后
</div>
<div
class=
"config-box-qrcode"
>
<div
class=
"config-box-qrcode
config-qrcode-finish
"
>
<div
class=
"config-finish"
>
<div
class=
"config-finish"
>
<img
src=
"@/assets/img/enterprise/config.png"
/>
<img
src=
"@/assets/img/enterprise/config.png"
/>
</div>
</div>
</div>
</div>
<div
class=
"config-box-h4"
>
进入首页即可开始您的营销获客之旅。
</div>
<div
class=
"config-box-h4"
>
进入首页即可开始您的营销获客之旅。
</div>
<div
style=
"margin-top: 15px"
>
<div
style=
"margin-top: 15px"
>
<div
class=
"step-jump-home"
@
click=
"jumpHome"
v-if=
"$globalState.session.merchantModel == 2"
>
前往首页>>
</div>
<div
<div
class=
"step-jump-home"
@
click=
"jumpStore"
v-if=
"$globalState.session.merchantModel == 1"
>
去创建门店>>
</div>
class=
"step-jump-home"
@
click=
"jumpHome"
v-if=
"$globalState.session.merchantModel == 1"
>
前往首页>>
</div>
<div
class=
"step-jump-home"
@
click=
"jumpStore"
v-if=
"$globalState.session.merchantModel == 2"
>
去创建门店>>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div
class=
"footer-panel"
:style=
"
{
</div>
'left': footerLeft + 'px',
<div
}">
class=
"footer-panel"
:style=
"
{
left: footerLeft + 'px',
}"
>
<el-button
type=
"primary"
v-show=
"active == 2"
@
click=
"handlePrev"
<el-button
type=
"primary"
v-show=
"active == 2"
@
click=
"handlePrev"
>
上一步
</el-button
>
上一步
</el-button
>
>
...
@@ -261,6 +286,7 @@ export default {
...
@@ -261,6 +286,7 @@ export default {
data
()
{
data
()
{
return
{
return
{
boxHeight
:
0
,
boxHeight
:
0
,
toStatus
:
false
,
token
:
""
,
token
:
""
,
callbackUrl
:
""
,
callbackUrl
:
""
,
encodingAesKey
:
""
,
encodingAesKey
:
""
,
...
@@ -268,7 +294,7 @@ export default {
...
@@ -268,7 +294,7 @@ export default {
entryStatus
:
true
,
entryStatus
:
true
,
qrcodeUrl
:
""
,
qrcodeUrl
:
""
,
dialogTime
:
5
,
dialogTime
:
5
,
active
:
3
,
active
:
2
,
dialogStatus
:
false
,
dialogStatus
:
false
,
Secret
:
""
,
Secret
:
""
,
SecretContact
:
""
,
SecretContact
:
""
,
...
@@ -285,13 +311,22 @@ export default {
...
@@ -285,13 +311,22 @@ export default {
checkResult
:
0
,
checkResult
:
0
,
};
};
},
},
watch
:
{
active
(
val
)
{
if
(
val
==
3
)
{
this
.
toStatus
=
true
;
}
},
},
methods
:
{
methods
:
{
jumpUrl
(
url
)
{
window
.
open
(
url
);
},
jumpHome
()
{
jumpHome
()
{
this
.
$router
.
push
(
'/home/index'
);
this
.
$router
.
push
(
"/home/index"
);
},
},
jumpStore
()
{
jumpStore
()
{
this
.
$history
.
push
(
'/settings/account/index'
);
this
.
$history
.
push
(
"/settings/account/index"
);
},
},
handleGetSecret
()
{
handleGetSecret
()
{
for
(
let
i
in
this
.
applicationList
)
{
for
(
let
i
in
this
.
applicationList
)
{
...
@@ -304,7 +339,7 @@ export default {
...
@@ -304,7 +339,7 @@ export default {
}
}
}
}
if
(
this
.
checkStatus
!=
"succ"
)
{
if
(
this
.
checkStatus
!=
"succ"
&&
this
.
qrcodeUrl
)
{
this
.
$message
({
this
.
$message
({
message
:
"请联系超级管理员用企业微信扫码接入"
,
message
:
"请联系超级管理员用企业微信扫码接入"
,
type
:
"error"
,
type
:
"error"
,
...
@@ -332,27 +367,24 @@ export default {
...
@@ -332,27 +367,24 @@ export default {
},
},
handleNext
()
{
handleNext
()
{
if
(
this
.
active
==
1
)
{
if
(
this
.
active
==
1
)
{
this
.
handleGetSecret
();
this
.
statusQrcode
==
"SUCCESS"
?
this
.
active
=
3
:
this
.
handleGetSecret
();
}
}
if
(
this
.
active
==
2
)
{
if
(
this
.
active
==
2
)
{
if
(
this
.
checkResult
==
1
)
{
if
(
this
.
statusQrcode
==
"SUCCESS"
)
{
this
.
active
++
;
this
.
active
++
;
}
else
{
}
else
{
this
.
$message
({
this
.
$message
({
message
:
"
配置失败
"
,
message
:
"
消息服务器未验证
"
,
type
:
"warning"
,
type
:
"warning"
,
});
});
}
}
}
}
},
},
handleConfig
()
{
handleConfig
()
{
if
(
this
.
checkResult
==
1
)
{
if
(
this
.
statusQrcode
==
"SUCCESS"
)
{
this
.
active
++
;
this
.
active
++
;
}
else
{
}
else
{
this
.
$message
({
this
.
getStatus
();
message
:
"配置失败"
,
type
:
"warning"
,
});
}
}
},
},
handlePrev
()
{
handlePrev
()
{
...
@@ -377,7 +409,6 @@ export default {
...
@@ -377,7 +409,6 @@ export default {
if
(
this
.
checkStatus
==
"succ"
)
{
if
(
this
.
checkStatus
==
"succ"
)
{
clearInterval
(
this
.
timerQrcode
);
clearInterval
(
this
.
timerQrcode
);
this
.
getReportStatus
(
"succ"
);
this
.
getReportStatus
(
"succ"
);
this
.
getStatus
();
this
.
getAccess
();
this
.
getAccess
();
}
else
if
(
this
.
checkStatus
==
"ing"
)
{
}
else
if
(
this
.
checkStatus
==
"ing"
)
{
this
.
getReportStatus
(
"scan"
);
this
.
getReportStatus
(
"scan"
);
...
@@ -401,14 +432,17 @@ export default {
...
@@ -401,14 +432,17 @@ export default {
//企微授权接入
//企微授权接入
getAccess
()
{
getAccess
()
{
this
.
$apis
.
ww
.
getAccess
({}).
then
((
res
)
=>
{
this
.
$apis
.
ww
.
getAccess
({}).
then
((
res
)
=>
{
console
.
log
(
res
)
if
(
res
)
{
this
.
getStatus
();
}
});
});
},
},
//检测二维码
//检测二维码
getStatus
()
{
getStatus
()
{
this
.
$apis
.
ww
.
getStatus
({}).
then
((
res
)
=>
{
this
.
$apis
.
ww
.
getStatus
({}).
then
((
res
)
=>
{
this
.
applicationList
=
res
.
applicationList
;
this
.
statusQrcode
=
res
.
status
;
this
.
statusQrcode
=
res
.
status
;
this
.
applicationList
=
res
.
applicationList
;
if
(
this
.
applicationList
)
{
let
index
=
res
.
applicationList
.
findIndex
((
item
)
=>
{
let
index
=
res
.
applicationList
.
findIndex
((
item
)
=>
{
return
item
.
appCode
==
"TXLTBZS"
;
return
item
.
appCode
==
"TXLTBZS"
;
});
});
...
@@ -416,17 +450,18 @@ export default {
...
@@ -416,17 +450,18 @@ export default {
this
.
token
=
this
.
applicationList
[
index
].
token
;
this
.
token
=
this
.
applicationList
[
index
].
token
;
this
.
encodingAesKey
=
this
.
applicationList
[
index
].
encodingAesKey
;
this
.
encodingAesKey
=
this
.
applicationList
[
index
].
encodingAesKey
;
this
.
checkResult
=
this
.
applicationList
[
index
].
checkResult
;
this
.
checkResult
=
this
.
applicationList
[
index
].
checkResult
;
}
if
(
this
.
statusQrcode
==
"NEVER"
)
{
if
(
this
.
statusQrcode
==
"NEVER"
)
{
this
.
dialogStatus
=
true
;
this
.
dialogStatus
=
true
;
this
.
timer
=
setInterval
(
this
.
closeDalog
,
1000
);
this
.
timer
=
setInterval
(
this
.
closeDalog
,
1000
);
this
.
getQrcode
();
this
.
getReportStatus
();
}
else
if
(
this
.
statusQrcode
==
"SUCCESS"
)
{
}
else
if
(
this
.
statusQrcode
==
"SUCCESS"
)
{
this
.
active
=
3
;
this
.
active
=
3
;
}
else
if
(
this
.
statusQrcode
==
"SERVER_CHECK"
)
{
}
else
if
(
this
.
statusQrcode
==
"SERVER_CHECK"
)
{
this
.
active
=
2
;
this
.
active
=
2
;
}
else
{
}
else
{
this
.
active
=
1
;
this
.
active
=
1
;
this
.
getQrcode
();
this
.
getReportStatus
();
}
}
});
});
},
},
...
@@ -434,7 +469,7 @@ export default {
...
@@ -434,7 +469,7 @@ export default {
getReportStatus
(
sts
)
{
getReportStatus
(
sts
)
{
let
operation
;
let
operation
;
let
status
;
let
status
;
if
(
this
.
entryStatus
)
{
if
(
this
.
entryStatus
||
!
sts
)
{
operation
=
"get"
;
operation
=
"get"
;
status
=
"succ"
;
status
=
"succ"
;
}
else
{
}
else
{
...
@@ -459,11 +494,13 @@ export default {
...
@@ -459,11 +494,13 @@ export default {
},
},
mounted
()
{
mounted
()
{
let
clientHeight
=
document
.
documentElement
.
clientHeight
;
let
clientHeight
=
document
.
documentElement
.
clientHeight
;
this
.
footerLeft
=
document
.
querySelector
(
'.base-container-right'
).
offsetLeft
this
.
footerLeft
=
document
.
querySelector
(
".base-container-right"
).
offsetLeft
;
console
.
log
(
this
.
footerLeft
)
this
.
boxHeight
=
clientHeight
-
200
;
this
.
boxHeight
=
clientHeight
-
260
;
this
.
getStatus
();
this
.
getStatus
();
},
},
beforeDestroy
()
{
clearInterval
(
this
.
timerQrcode
);
},
};
};
</
script
>
</
script
>
...
@@ -491,12 +528,21 @@ export default {
...
@@ -491,12 +528,21 @@ export default {
.el-step__head.is-finish
.el-step__icon.is-text
{
.el-step__head.is-finish
.el-step__icon.is-text
{
background-color
:
#5850ff
;
background-color
:
#5850ff
;
}
}
.el-step__title
{
font-size
:
17px
;
}
.el-step__description
{
font-size
:
13px
;
}
.el-step__title.is-wait
{
color
:
#999999
;
}
.el-step__title.is-finish
{
.el-step__title.is-finish
{
color
:
#
5850ff
;
color
:
#
333333
;
font-weight
:
700
;
font-weight
:
700
;
}
}
.el-step__description.is-finish
{
.el-step__description.is-finish
{
color
:
#
5850ff
;
color
:
#
666666
;
}
}
.enterprise-title
{
.enterprise-title
{
margin-bottom
:
15px
;
margin-bottom
:
15px
;
...
@@ -556,6 +602,7 @@ export default {
...
@@ -556,6 +602,7 @@ export default {
letter-spacing
:
1px
;
letter-spacing
:
1px
;
margin-top
:
10px
;
margin-top
:
10px
;
>
a
{
>
a
{
cursor
:
pointer
;
font-size
:
12px
;
font-size
:
12px
;
font-weight
:
500
;
font-weight
:
500
;
color
:
#5850ff
;
color
:
#5850ff
;
...
@@ -640,9 +687,9 @@ export default {
...
@@ -640,9 +687,9 @@ export default {
justify-content
:
space-between
;
justify-content
:
space-between
;
}
}
.config-box-form
{
.config-box-form
{
margin-left
:
6
0px
;
margin-left
:
3
0px
;
.config-box-input
{
.config-box-input
{
width
:
38
0px
;
width
:
66
0px
;
height
:
32px
;
height
:
32px
;
background
:
#ffffff
;
background
:
#ffffff
;
border-radius
:
2px
;
border-radius
:
2px
;
...
@@ -703,6 +750,9 @@ export default {
...
@@ -703,6 +750,9 @@ export default {
}
}
}
}
}
}
.config-qrcode-finish
{
margin
:
0
auto
;
}
.step-ul
{
.step-ul
{
padding
:
30px
;
padding
:
30px
;
}
}
...
...
src/views/followUp/components/addSale.vue
View file @
3500785
...
@@ -2,7 +2,11 @@
...
@@ -2,7 +2,11 @@
<div
class=
"drawer-sale-panel"
>
<div
class=
"drawer-sale-panel"
>
<el-form
label-width=
"150px"
:model=
"addForm"
>
<el-form
label-width=
"150px"
:model=
"addForm"
>
<div
class=
"scrm-textRight sale-reload"
>
<div
class=
"scrm-textRight sale-reload"
>
<el-button
slot=
"append"
type=
"primary"
@
click=
"syncEntmicroIsOutsiderStaff"
<el-button
size=
"small"
slot=
"append"
type=
"primary"
@
click=
"syncEntmicroIsOutsiderStaff"
>
同步有外部联系人权限的员工
</el-button
>
同步有外部联系人权限的员工
</el-button
>
>
</div>
</div>
...
@@ -19,6 +23,7 @@
...
@@ -19,6 +23,7 @@
{{
tag
.
staffName
}}
{{
tag
.
staffName
}}
</el-tag>
</el-tag>
<el-input
<el-input
size=
"small"
v-model
.
trim=
"newTag"
v-model
.
trim=
"newTag"
placeholder=
"选择员工"
placeholder=
"选择员工"
@
input=
"inputTag"
@
input=
"inputTag"
...
@@ -26,9 +31,9 @@
...
@@ -26,9 +31,9 @@
></el-input>
></el-input>
</div>
</div>
<
el-button
class=
"sale-select-btn"
type=
"primary"
@
click=
"addEmp"
<
div><el-button
size=
"small"
class=
"sale-select-btn"
type=
"primary"
@
click=
"addEmp"
>
确定
</el-button
>
确定
</el-button
>
>
</div>
</div>
</div>
<div>
<div>
<div
class=
"select-sale-panel"
>
<div
class=
"select-sale-panel"
>
...
@@ -37,7 +42,7 @@
...
@@ -37,7 +42,7 @@
</div>
</div>
</div>
</div>
</el-form-item>
</el-form-item>
<el-form-item
label=
"请选择跟进员工类型
:
"
>
<el-form-item
label=
"请选择跟进员工类型"
>
<div
class=
"emp-type"
>
<div
class=
"emp-type"
>
<div
<div
@
click=
"handleType(index)"
@
click=
"handleType(index)"
...
@@ -52,23 +57,24 @@
...
@@ -52,23 +57,24 @@
</div>
</div>
<div
class=
"sale-select"
>
<div
class=
"sale-select"
>
<el-input
<el-input
size=
"small"
v-model=
"empTypeValue"
v-model=
"empTypeValue"
placeholder=
"添加类型名称"
placeholder=
"添加类型名称"
maxlength=
"8"
maxlength=
"8"
show-word-limit
show-word-limit
>
>
</el-input>
</el-input>
<
el-button
class=
"sale-select-btn"
type=
"primary"
@
click=
"addEmpType"
<
div><el-button
size=
"small"
class=
"sale-select-btn"
type=
"primary"
@
click=
"addEmpType"
>
新增
</el-button
>
新增
</el-button
>
>
</div>
</div>
</div>
<div
class=
"sale-type-desc"
>
<div
class=
"sale-type-desc"
>
跟进员工类型最多新增30个,已新增
{{
empType
.
length
-
2
}}
个
跟进员工类型最多新增30个,已新增
{{
empType
.
length
-
2
}}
个
</div>
</div>
</el-form-item>
</el-form-item>
<el-form-item>
<el-form-item
style=
"text-align: center"
>
<el-button
@
click=
"onCancel"
>
取消
</el-button>
<el-button
@
click=
"onCancel"
size=
"small"
>
取消
</el-button>
<el-button
type=
"primary"
@
click=
"onSubmit"
>
确定
</el-button>
<el-button
type=
"primary"
@
click=
"onSubmit"
size=
"small"
>
确定
</el-button>
</el-form-item>
</el-form-item>
</el-form>
</el-form>
</div>
</div>
...
@@ -87,11 +93,7 @@ export default {
...
@@ -87,11 +93,7 @@ export default {
return
{
return
{
addForm
:
{},
addForm
:
{},
typeIndex
:
0
,
typeIndex
:
0
,
empType
:
[
empType
:
[],
{
name
:
"新车跟进专员"
,
status
:
1
},
{
name
:
"售后跟进专员"
,
status
:
1
},
{
name
:
"sdfsdfsd"
},
],
empTypeValue
:
""
,
empTypeValue
:
""
,
newTag
:
""
,
newTag
:
""
,
innerTags
:
[],
innerTags
:
[],
...
@@ -100,6 +102,10 @@ export default {
...
@@ -100,6 +102,10 @@ export default {
},
},
methods
:
{
methods
:
{
init
()
{
(
this
.
newTag
=
""
),
(
this
.
innerTags
=
[]);
this
.
empTypeValue
=
""
;
},
listEntFollowerType
()
{
listEntFollowerType
()
{
this
.
$apis
.
emp
this
.
$apis
.
emp
.
listEntFollowerType
({
merchantId
:
this
.
$globalState
.
session
.
merchantId
})
.
listEntFollowerType
({
merchantId
:
this
.
$globalState
.
session
.
merchantId
})
...
@@ -177,7 +183,13 @@ export default {
...
@@ -177,7 +183,13 @@ export default {
});
});
},
},
onSubmit
()
{
onSubmit
()
{
console
.
log
(
this
.
innerTags
);
if
(
this
.
innerTags
.
length
==
0
)
{
this
.
$message
({
message
:
"请选择员工"
,
type
:
"error"
,
});
return
}
let
userIds
=
[];
let
userIds
=
[];
this
.
innerTags
.
forEach
((
item
)
=>
{
this
.
innerTags
.
forEach
((
item
)
=>
{
userIds
.
push
(
item
.
userId
);
userIds
.
push
(
item
.
userId
);
...
@@ -203,6 +215,7 @@ export default {
...
@@ -203,6 +215,7 @@ export default {
}
}
.sale-select
{
.sale-select
{
display
:
flex
;
display
:
flex
;
align-items
:
center
;
}
}
.sale-select-btn
{
.sale-select-btn
{
margin-left
:
8px
;
margin-left
:
8px
;
...
@@ -220,7 +233,7 @@ export default {
...
@@ -220,7 +233,7 @@ export default {
&-btn
{
&-btn
{
cursor
:
pointer
;
cursor
:
pointer
;
display
:
inline-block
;
display
:
inline-block
;
padding
:
10px
15
px
;
padding
:
8px
10
px
;
margin-bottom
:
10px
;
margin-bottom
:
10px
;
margin-right
:
10px
;
margin-right
:
10px
;
position
:
relative
;
position
:
relative
;
...
@@ -255,6 +268,8 @@ export default {
...
@@ -255,6 +268,8 @@ export default {
display
:
inline-block
;
display
:
inline-block
;
outline
:
none
;
outline
:
none
;
padding
:
0
10px
0
5px
;
padding
:
0
10px
0
5px
;
line-height
:
32px
;
height
:
35px
;
transition
:
border-color
0.2s
cubic-bezier
(
0.645
,
0.045
,
0.355
,
1
);
transition
:
border-color
0.2s
cubic-bezier
(
0.645
,
0.045
,
0.355
,
1
);
width
:
100%
;
width
:
100%
;
display
:
flex
;
display
:
flex
;
...
@@ -269,21 +284,23 @@ export default {
...
@@ -269,21 +284,23 @@ export default {
.el-tag
{
.el-tag
{
margin-right
:
4px
;
margin-right
:
4px
;
height
:
26px
;
line-height
:
24px
;
}
}
.tag-input
{
.tag-input
{
background
:
transparent
;
background
:
transparent
;
border
:
none
!important
;
border
:
none
!important
;
font-size
:
14px
;
font-size
:
14px
;
height
:
40
px
;
height
:
32
px
;
outline
:
none
;
outline
:
none
;
padding-left
:
0
;
padding-left
:
0
;
width
:
100px
;
width
:
100px
;
}
}
.el-input-tag--mini
.tag-input
{
.el-input-tag--mini
.tag-input
{
height
:
2
8
px
;
height
:
2
4
px
;
line-height
:
2
8
px
;
line-height
:
2
4
px
;
}
}
.el-input-tag--small
.tag-input
{
.el-input-tag--small
.tag-input
{
...
@@ -292,7 +309,7 @@ export default {
...
@@ -292,7 +309,7 @@ export default {
}
}
.el-input-tag--medium
.tag-input
{
.el-input-tag--medium
.tag-input
{
height
:
3
6
px
;
height
:
3
2
px
;
line-height
:
3
6
px
;
line-height
:
3
2
px
;
}
}
</
style
>
</
style
>
\ No newline at end of file
\ No newline at end of file
src/views/followUp/components/selectEmp.vue
View file @
3500785
<
template
>
<
template
>
<div
class=
"select-emp-panel"
>
<div
class=
"select-emp-panel"
>
<div
class=
"scrm-p10 emp-tree-panel"
:style=
"
{
<div
class=
"scrm-p10 emp-tree-panel"
>
height: treeHeight + 'px',
}">
<div
class=
"popper-arrow"
></div>
<div
class=
"popper-arrow"
></div>
<div
class=
"emp-scroll-panel"
:style=
"
{
height: treeHeight + 'px',
}"
>
<div
class=
"tree-title"
>
所在门店/部门
</div>
<div
class=
"tree-title"
>
所在门店/部门
</div>
<el-tree
<el-tree
:data=
"listTree"
:data=
"listTree"
...
@@ -13,7 +17,13 @@
...
@@ -13,7 +17,13 @@
@
node-click=
"handleNodeClick"
@
node-click=
"handleNodeClick"
></el-tree>
></el-tree>
</div>
</div>
<el-col
class=
"scrm-p10 emp-table-panel"
>
</div>
<el-col
class=
"scrm-p10 emp-table-panel"
:style=
"
{
height: treeHeight+20 + 'px',
}"
>
<GLTable
<GLTable
ref=
"saleTable"
ref=
"saleTable"
:tableData=
"tableEmpData"
:tableData=
"tableEmpData"
...
@@ -75,24 +85,24 @@ export default {
...
@@ -75,24 +85,24 @@ export default {
this
.
$refs
.
saleTable
.
$refs
.
salelistMutiTable
.
clearSelection
();
this
.
$refs
.
saleTable
.
$refs
.
salelistMutiTable
.
clearSelection
();
},
},
handleNodeClick
(
data
)
{
handleNodeClick
(
data
)
{
this
.
departmentId
=
data
.
id
this
.
departmentId
=
data
.
id
;
this
.
listEntmicroStaff
();
this
.
listEntmicroStaff
();
},
},
listEntmicroStaff
(
staffName
)
{
listEntmicroStaff
(
staffName
)
{
let
params
=
{
let
params
=
{
departmentId
:
this
.
departmentId
,
departmentId
:
this
.
departmentId
,
staffName
:
staffName
?
staffName
:
this
.
staffName
,
staffName
:
staffName
?
staffName
:
this
.
staffName
,
merchantid
:
this
.
$globalState
.
session
.
merchantId
,
merchantid
:
this
.
$globalState
.
session
.
merchantId
,
};
};
this
.
$apis
.
emp
.
listEntmicroStaff
(
params
).
then
((
res
)
=>
{
this
.
$apis
.
emp
.
listEntmicroStaff
(
params
).
then
((
res
)
=>
{
this
.
tableEmpData
=
res
;
this
.
tableEmpData
=
res
;
});
});
}
}
,
},
},
mounted
()
{
mounted
()
{
let
clientHeight
=
document
.
documentElement
.
clientHeight
;
let
clientHeight
=
document
.
documentElement
.
clientHeight
;
this
.
treeHeight
=
clientHeight
-
450
this
.
treeHeight
=
clientHeight
-
450
;
this
.
listDepartmentTree
();
this
.
listDepartmentTree
();
this
.
listEntmicroStaff
();
this
.
listEntmicroStaff
();
},
},
...
@@ -109,6 +119,11 @@ export default {
...
@@ -109,6 +119,11 @@ export default {
background
:
#ffffff
;
background
:
#ffffff
;
box-shadow
:
0px
2px
12px
0px
rgba
(
0
,
0
,
0
,
0.06
);
box-shadow
:
0px
2px
12px
0px
rgba
(
0
,
0
,
0
,
0.06
);
border
:
1px
solid
#e4e7ed
;
border
:
1px
solid
#e4e7ed
;
.emp-scroll-panel
{
min-height
:
200px
;
overflow
:
auto
;
box-sizing
:
border-box
;
}
.popper-arrow
{
.popper-arrow
{
border-top-width
:
0
;
border-top-width
:
0
;
border-width
:
6px
;
border-width
:
6px
;
...
@@ -139,6 +154,8 @@ export default {
...
@@ -139,6 +154,8 @@ export default {
}
}
.emp-table-panel
{
.emp-table-panel
{
flex
:
1
;
flex
:
1
;
min-height
:
200px
;
overflow
:
auto
;
margin-top
:
10px
;
margin-top
:
10px
;
background
:
#ffffff
;
background
:
#ffffff
;
box-shadow
:
0px
2px
12px
0px
rgba
(
0
,
0
,
0
,
0.06
);
box-shadow
:
0px
2px
12px
0px
rgba
(
0
,
0
,
0
,
0.06
);
...
...
src/views/followUp/index.vue
View file @
3500785
...
@@ -38,7 +38,7 @@
...
@@ -38,7 +38,7 @@
size=
"small"
size=
"small"
icon=
"el-icon-plus"
icon=
"el-icon-plus"
type=
"primary"
type=
"primary"
@
click=
"
drawer = true
"
@
click=
"
openDrawer
"
class=
"scrm-mr10"
class=
"scrm-mr10"
>
跟进专员
</el-button
>
跟进专员
</el-button
>
>
...
@@ -59,13 +59,14 @@
...
@@ -59,13 +59,14 @@
</GLTable>
</GLTable>
</div>
</div>
<el-drawer
<el-drawer
class=
"drawer-panel"
size=
"60%"
size=
"60%"
title=
"添加跟进员工"
title=
"添加跟进员工"
:visible
.
sync=
"drawer"
:visible
.
sync=
"drawer"
:direction=
"direction"
:direction=
"direction"
:before-close=
"handleClose"
:before-close=
"handleClose"
>
>
<add-sale
@
closeDrawer=
"closeDrawer"
@
handSelectdEmp=
"handSelectdEmp"
></add-sale>
<add-sale
ref=
"drawerForm"
@
closeDrawer=
"closeDrawer"
@
handSelectdEmp=
"handSelectdEmp"
></add-sale>
</el-drawer>
</el-drawer>
</div>
</div>
</template>
</template>
...
@@ -150,6 +151,10 @@ export default {
...
@@ -150,6 +151,10 @@ export default {
},
},
methods
:
{
methods
:
{
openDrawer
()
{
this
.
drawer
=
true
;
// this.$refs.drawerForm.init();
},
beforeSearchFn
()
{
beforeSearchFn
()
{
return
new
Promise
((
resolve
)
=>
{
return
new
Promise
((
resolve
)
=>
{
// 调接口前,操作
// 调接口前,操作
...
@@ -230,14 +235,14 @@ export default {
...
@@ -230,14 +235,14 @@ export default {
<
style
scoped
lang=
"scss"
>
<
style
scoped
lang=
"scss"
>
.follow-header
{
.follow-header
{
background
:
#ffffff
;
background
:
#ffffff
;
border
:
1px
solid
#5850ff
;
border-radius
:
4px
;
border-radius
:
4px
;
line-height
:
2
7
px
;
line-height
:
2
0
px
;
padding
:
10px
20px
;
padding
:
10px
20px
;
font-size
:
15px
;
font-size
:
15px
;
color
:
rgba
(
0
,
0
,
0
,
0.65
);
color
:
rgba
(
0
,
0
,
0
,
0.65
);
position
:
relative
;
position
:
relative
;
.follow-process-a
{
.follow-process-a
{
text-decoration
:
underline
;
position
:
absolute
;
position
:
absolute
;
right
:
50px
;
right
:
50px
;
bottom
:
10px
;
bottom
:
10px
;
...
@@ -259,4 +264,7 @@ export default {
...
@@ -259,4 +264,7 @@ export default {
}
}
}
}
}
}
.drawer-panel
{
}
</
style
>
</
style
>
\ No newline at end of file
\ No newline at end of file
src/views/home/components/accurate-marketing.vue
View file @
3500785
...
@@ -101,11 +101,13 @@ export default {
...
@@ -101,11 +101,13 @@ export default {
color
:
#000000
;
color
:
#000000
;
line-height
:
22px
;
line-height
:
22px
;
margin-bottom
:
10px
;
margin-bottom
:
10px
;
text-align
:
left
;
}
}
.accurate-desc
{
.accurate-desc
{
font-size
:
14px
;
font-size
:
14px
;
font-weight
:
400
;
font-weight
:
400
;
color
:
#999999
;
color
:
#999999
;
text-align
:
left
;
line-height
:
20px
;
line-height
:
20px
;
}
}
}
}
...
...
src/views/home/components/enterprise-information.vue
View file @
3500785
...
@@ -74,7 +74,7 @@ export default {
...
@@ -74,7 +74,7 @@ export default {
box-sizing
:
border-box
;
box-sizing
:
border-box
;
.info-title
{
.info-title
{
font-size
:
20px
;
font-size
:
20px
;
font-weight
:
5
00
;
font-weight
:
6
00
;
color
:
#333333
;
color
:
#333333
;
line-height
:
24px
;
line-height
:
24px
;
letter-spacing
:
1px
;
letter-spacing
:
1px
;
...
...
src/views/home/components/overview-enterprise.vue
View file @
3500785
...
@@ -12,33 +12,34 @@
...
@@ -12,33 +12,34 @@
trigger=
"hover"
trigger=
"hover"
content=
"各门店客户总数之和,门店之间不去重"
content=
"各门店客户总数之和,门店之间不去重"
>
>
<img
src=
"@/assets/img/question.png"
slot=
"reference"
>
<img
src=
"@/assets/img/question.png"
slot=
"reference"
/
>
</el-popover>
</el-popover>
</div>
</div>
<div
class=
"view-title-num"
>
{{
customerCount
}}
人
</div>
<div
class=
"view-title-num"
>
{{
customerCount
?
customerCount
:
"- -"
}}
人
</div>
</div>
</div>
<div
class=
"view-num-panel"
>
<div
class=
"view-num-panel"
>
<div
class=
"view-num-y"
>
<div
class=
"view-num-y"
>
<img
<img
class=
"accurate-img"
src=
"@/assets/img/home/count1.png"
alt=
""
/>
class=
"accurate-img"
src=
"@/assets/img/home/count1.png"
alt=
""
/>
<div
class=
"view-customer-desc"
>
企微客户数
</div>
<div
class=
"view-customer-desc"
>
企微客户数
</div>
<div
class=
"view-customer-num"
>
{{
addEntmicroCount
}}
人
</div>
<div
class=
"view-customer-num"
>
{{
addEntmicroCount
?
addEntmicroCount
:
"- -"
}}
人
</div>
</div>
</div>
<div
class=
"view-num-n"
>
<div
class=
"view-num-n"
>
<img
<img
class=
"accurate-img"
src=
"@/assets/img/home/count2.png"
alt=
""
/>
class=
"accurate-img"
src=
"@/assets/img/home/count2.png"
alt=
""
/>
<div
class=
"view-customer-desc"
>
未加企微客户数
</div>
<div
class=
"view-customer-desc"
>
未加企微客户数
</div>
<div
class=
"view-customer-num"
>
{{
notAddEntmicroCount
}}
人
</div>
<div
class=
"view-customer-num"
>
{{
notAddEntmicroCount
?
notAddEntmicroCount
:
"- -"
}}
人
</div>
</div>
</div>
</div>
</div>
<div
class=
"view-l-loss"
>
<div
class=
"view-l-loss"
>
<div
class=
"view-loss-desc"
>
企微流失客户总数
<span>
{{
entmicroLoseCount
}}
</span>
人
</div>
<div
class=
"view-loss-desc"
>
企微流失客户总数
<span>
{{
entmicroLoseCount
?
entmicroLoseCount
:
"- -"
}}
</span
>
人
</div>
<div
class=
"view-loss-btn"
>
<div
class=
"view-loss-btn"
>
<el-button
type=
"primary"
size=
"small"
>
立即召回
</el-button>
<el-button
type=
"primary"
size=
"small"
>
立即召回
</el-button>
</div>
</div>
...
@@ -46,15 +47,29 @@
...
@@ -46,15 +47,29 @@
</div>
</div>
<div
class=
"view-prise-r"
>
<div
class=
"view-prise-r"
>
<div
class=
"view-prise-h"
>
<div
class=
"view-prise-h"
>
<div
class=
"view-h-title"
>
当日新增客户数
<span>
{{
newCustomerCount
}}
人
</span></div>
<div
class=
"view-h-title"
>
<div
class=
"view-h-desc"
>
当日新增企微客户数:
{{
addEntmicroCount
}}
人
</div>
当日新增客户数
<span>
{{
newCustomerCount
?
newCustomerCount
:
"- -"
}}
人
</span>
</div>
<div
class=
"view-h-desc"
>
当日新增企微客户数:
{{
addEntmicroCount
?
addEntmicroCount
:
"- -"
}}
人
</div>
</div>
</div>
<div
class=
"view-prise-h"
>
<div
class=
"view-prise-h"
>
<div
class=
"view-h-title"
>
当日新增群客户数
<span>
{{
todayAddPackmenberCount
}}
人
</span></div>
<div
class=
"view-h-title"
>
<div
class=
"view-h-desc"
>
群客户总数:
{{
packmenberCount
}}
人
</div>
当日新增群客户数
<span
>
{{
todayAddPackmenberCount
?
todayAddPackmenberCount
:
"- -"
}}
人
</span
>
</div>
<div
class=
"view-h-desc"
>
群客户总数:
{{
packmenberCount
?
packmenberCount
:
"- -"
}}
人
</div>
</div>
</div>
<div
class=
"view-prise-f"
>
<div
class=
"view-prise-f"
>
<div
class=
"view-h-title"
>
当日企微流失数
<span>
{{
todayEntmicroLoseCount
}}
人
</span></div>
<div
class=
"view-h-title"
>
当日企微流失数
<span
>
{{
todayEntmicroLoseCount
?
todayEntmicroLoseCount
:
"- -"
}}
人
</span
>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -65,6 +80,12 @@
...
@@ -65,6 +80,12 @@
export
default
{
export
default
{
name
:
"overviewEnterprise"
,
name
:
"overviewEnterprise"
,
props
:
{
summaryTime
:
{
type
:
String
,
},
},
data
()
{
data
()
{
return
{
return
{
customerCount
:
0
,
customerCount
:
0
,
...
@@ -78,19 +99,16 @@ export default {
...
@@ -78,19 +99,16 @@ export default {
todayAddPackmenberCount
:
0
,
todayAddPackmenberCount
:
0
,
};
};
},
},
props
:
{
summaryTime
:
{
type
:
String
}
},
watch
:
{
watch
:
{
summaryTime
()
{
summaryTime
()
{
this
.
getViewData
()
this
.
getViewData
()
;
}
}
,
},
},
methods
:
{
methods
:
{
getViewData
()
{
getViewData
()
{
this
.
$apis
.
home
.
getStore
({
date
:
this
.
summaryTime
}).
then
((
res
)
=>
{
this
.
$apis
.
home
.
getStore
({
date
:
this
.
summaryTime
}).
then
((
res
)
=>
{
this
.
customerCount
=
res
.
customerCount
;
this
.
customerCount
=
res
.
customerCount
;
this
.
newCustomerCount
=
res
.
newCustomerCount
;
this
.
newCustomerCount
=
res
.
newCustomerCount
;
this
.
addEntmicroCount
=
res
.
addEntmicroCount
;
this
.
addEntmicroCount
=
res
.
addEntmicroCount
;
...
@@ -103,9 +121,10 @@ export default {
...
@@ -103,9 +121,10 @@ export default {
});
});
},
},
},
},
mounted
()
{
mounted
()
{
this
.
getViewData
();
this
.
getViewData
();
}
}
,
};
};
</
script
>
</
script
>
...
@@ -115,7 +134,7 @@ export default {
...
@@ -115,7 +134,7 @@ export default {
.view-prise-l
{
.view-prise-l
{
width
:
60%
;
width
:
60%
;
padding
:
20px
40px
20px
20px
;
padding
:
20px
40px
20px
20px
;
border-right
:
1px
solid
rgba
(
0
,
0
,
0
,
.06
);
border-right
:
1px
solid
rgba
(
0
,
0
,
0
,
0
.06
);
.view-l-title
{
.view-l-title
{
display
:
flex
;
display
:
flex
;
justify-content
:
space-between
;
justify-content
:
space-between
;
...
...
src/views/home/index.vue
View file @
3500785
...
@@ -2,7 +2,8 @@
...
@@ -2,7 +2,8 @@
<div
class=
"main"
>
<div
class=
"main"
>
<div
class=
"main-panel"
:class=
"
{ 'main-isScroll2': guideStatus }">
<div
class=
"main-panel"
:class=
"
{ 'main-isScroll2': guideStatus }">
<div
class=
"main-left"
>
<div
class=
"main-left"
>
<div
class=
"header-panel"
>
<div
class=
"header-panel"
:style=
"
{
height: headHeight + 'px'}">
<img
<img
class=
"info-consulting-icon"
class=
"info-consulting-icon"
src=
"@/assets/img/home/home-header.png"
src=
"@/assets/img/home/home-header.png"
...
@@ -15,6 +16,7 @@
...
@@ -15,6 +16,7 @@
<div
class=
"summary-time"
>
<div
class=
"summary-time"
>
<span>
统计截止至
</span>
<span>
统计截止至
</span>
<el-date-picker
<el-date-picker
size=
"mall"
format=
"yyyy-MM-dd"
format=
"yyyy-MM-dd"
v-model=
"summaryTime"
v-model=
"summaryTime"
type=
"date"
type=
"date"
...
@@ -143,6 +145,7 @@
...
@@ -143,6 +145,7 @@
}"
}"
>
</div>
>
</div>
</div>
</div>
<div
class=
"box-fixed"
v-if=
"guideStatus"
></div>
</div>
</div>
</
template
>
</
template
>
...
@@ -171,6 +174,7 @@ export default {
...
@@ -171,6 +174,7 @@ export default {
summaryTime
:
util
.
getBeforeDate
(),
summaryTime
:
util
.
getBeforeDate
(),
guideStatus
:
false
,
guideStatus
:
false
,
step
:
1
,
step
:
1
,
headHeight
:
0
,
guideWidth
:
""
,
guideWidth
:
""
,
guideHeight
:
""
,
guideHeight
:
""
,
guideLeft
:
0
,
guideLeft
:
0
,
...
@@ -193,15 +197,14 @@ export default {
...
@@ -193,15 +197,14 @@ export default {
}
}
},
},
getRezie
()
{
getRezie
()
{
this
.
borderLeft
=
document
.
querySelector
(
".el-main"
).
offsetLeft
+
5
;
this
.
borderLeft
=
document
.
querySelector
(
".el-main"
).
offsetLeft
+
38
;
this
.
borderTop
=
document
.
querySelector
(
".el-main"
).
offsetTop
+
5
;
this
.
borderTop
=
document
.
querySelector
(
".el-main"
).
offsetTop
;
if
(
this
.
step
==
1
)
{
if
(
this
.
step
==
1
)
{
this
.
guideWidth
=
document
.
querySelector
(
".header-panel"
).
offsetWidth
;
this
.
guideWidth
=
document
.
querySelector
(
".header-panel"
).
offsetWidth
+
20
;
this
.
guideHeight
=
document
.
querySelector
(
".header-panel"
).
offset
Height
;
this
.
guideHeight
=
this
.
head
Height
;
this
.
imgWidth
=
this
.
guideWidth
/
2
;
this
.
imgWidth
=
this
.
guideWidth
/
2
;
this
.
imgHeight
=
(
this
.
imgWidth
*
246
)
/
541
;
this
.
imgHeight
=
(
this
.
imgWidth
*
246
)
/
541
;
this
.
guideLeft
=
this
.
guideLeft
=
this
.
borderLeft
;
document
.
querySelector
(
".header-panel"
).
offsetLeft
+
this
.
borderLeft
;
this
.
guideTop
=
this
.
guideTop
=
document
.
querySelector
(
".header-panel"
).
offsetTop
+
this
.
borderTop
;
document
.
querySelector
(
".header-panel"
).
offsetTop
+
this
.
borderTop
;
}
else
if
(
this
.
step
==
2
)
{
}
else
if
(
this
.
step
==
2
)
{
...
@@ -213,7 +216,7 @@ export default {
...
@@ -213,7 +216,7 @@ export default {
document
.
querySelector
(
".consult-box"
).
offsetLeft
+
this
.
borderLeft
;
document
.
querySelector
(
".consult-box"
).
offsetLeft
+
this
.
borderLeft
;
this
.
guideTop
=
document
.
querySelector
(
".consult-box"
).
offsetTop
+
this
.
borderTop
;
this
.
guideTop
=
document
.
querySelector
(
".consult-box"
).
offsetTop
+
this
.
borderTop
;
}
else
{
}
else
{
let
top
=
document
.
querySelector
(
".accurate-sercives"
).
offsetTop
+
1
0
0
;
let
top
=
document
.
querySelector
(
".accurate-sercives"
).
offsetTop
+
1
5
0
;
this
.
guideLeft
=
this
.
guideLeft
=
document
.
querySelector
(
".operational-panel-s"
).
offsetLeft
+
this
.
borderLeft
;
document
.
querySelector
(
".operational-panel-s"
).
offsetLeft
+
this
.
borderLeft
;
this
.
guideTop
=
this
.
guideTop
=
...
@@ -229,21 +232,37 @@ export default {
...
@@ -229,21 +232,37 @@ export default {
this
.
imgHeight
=
(
this
.
imgWidth
*
222
)
/
668
;
this
.
imgHeight
=
(
this
.
imgWidth
*
222
)
/
668
;
}
}
},
},
},
findLogin
()
{
this
.
$apis
.
home
.
findLoginCount
({
loginType
:
1
}).
then
((
res
)
=>
{
mounted
()
{
if
(
res
)
{
this
.
guideStatus
=
true
;
this
.
getRezie
();
this
.
getRezie
();
window
.
addEventListener
(
"on
resize"
,
()
=>
{
window
.
addEventListener
(
"
resize"
,
()
=>
{
this
.
getRezie
();
this
.
getRezie
();
});
});
}
});
},
},
mounted
()
{
this
.
headHeight
=
document
.
querySelector
(
".header-panel"
).
offsetWidth
/
8
;
this
.
findLogin
();
},
},
};
};
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.box-fixed
{
position
:
fixed
;
width
:
100%
;
height
:
100%
;
left
:
0px
;
top
:
0px
;
background
:
rgba
(
0
,
0
,
0
,
0.1
);
}
.header-panel
{
.header-panel
{
width
:
100%
;
width
:
100%
;
height
:
140px
;
position
:
relative
;
position
:
relative
;
.jump-mf-btn
{
.jump-mf-btn
{
position
:
absolute
;
position
:
absolute
;
...
@@ -255,18 +274,17 @@ export default {
...
@@ -255,18 +274,17 @@ export default {
color
:
#ffffff
;
color
:
#ffffff
;
line-height
:
12px
;
line-height
:
12px
;
cursor
:
pointer
;
cursor
:
pointer
;
bottom
:
1
0
px
;
bottom
:
1
5
px
;
right
:
2
1
%
;
right
:
2
0.6
%
;
}
}
>
img
{
>
img
{
width
:
100%
;
width
:
100%
;
height
:
140px
;
height
:
auto
;
}
}
}
}
.main-isScroll2
{
.main-isScroll2
{
position
:
absolute
;
position
:
absolute
;
overflow-y
:
hidden
;
overflow-y
:
hidden
;
width
:
100%
;
height
:
100%
;
height
:
100%
;
}
}
.main-panel
{
.main-panel
{
...
@@ -276,14 +294,19 @@ export default {
...
@@ -276,14 +294,19 @@ export default {
display
:
flex
;
display
:
flex
;
justify-content
:
space-between
;
justify-content
:
space-between
;
align-items
:
center
;
align-items
:
center
;
/deep/
.el-date-editor.el-input,
.el-date-editor.el-input__inner
{
winth
:
100px
;
line-height
:
32px
;
height
:
32px
;
}
}
}
.home-statistics-title
{
.home-statistics-title
{
font-size
:
20px
;
font-size
:
20px
;
font-weight
:
5
00
;
font-weight
:
6
00
;
color
:
#333333
;
color
:
#333333
;
line-height
:
20px
;
line-height
:
20px
;
letter-spacing
:
1px
;
letter-spacing
:
1px
;
margin
:
20px
0
;
margin
:
30px
0px
20px
;
}
}
.operational-panel-s
{
.operational-panel-s
{
margin-top
:
20px
;
margin-top
:
20px
;
...
...
src/views/service/index.vue
View file @
3500785
...
@@ -127,7 +127,7 @@ export default {
...
@@ -127,7 +127,7 @@ export default {
display
:
flex
;
display
:
flex
;
.service-active-l
{
.service-active-l
{
width
:
50%
;
width
:
50%
;
margin-top
:
1
0
0px
;
margin-top
:
1
5
0px
;
}
}
.service-active-r
{
.service-active-r
{
width
:
50%
;
width
:
50%
;
...
...
vue.config.js
View file @
3500785
...
@@ -20,7 +20,7 @@ const cdn = {
...
@@ -20,7 +20,7 @@ const cdn = {
}
}
module
.
exports
=
{
module
.
exports
=
{
outputDir
:
`../dist/
${
packageName
}
`
,
outputDir
:
`../dist/
${
packageName
}
`
,
publicPath
:
node_env
?
baseUrl
:
'/'
,
//
publicPath: node_env ? baseUrl : '/',
assetsDir
:
'static'
,
assetsDir
:
'static'
,
configureWebpack
:
{
configureWebpack
:
{
resolve
:
{
resolve
:
{
...
...
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