Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-marketing
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 4bc6d765
authored
Oct 13, 2022
by
陈婉清
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'master' into 'v2.10.1'
Master See merge request
!358
2 parents
8bcbfa45
e528cc0f
Show whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
149 additions
and
167 deletions
package-lock.json
src/App.vue
src/assets/guestCustom/friend-bg.png
src/config/index.js
src/views/activity/addActivity.vue
src/views/activity/distribution.vue
src/views/activity/index.vue
src/views/activityConfig/index.vue
src/views/friendGroup/components/preview.vue
src/views/friendGroup/friendGroupAdd.vue
src/views/friendGroup/index.vue
src/views/guestGroup/add.vue
src/views/guestGroup/components/selectMember.vue
src/views/guestGroup/index.vue
src/views/sop/sopAnalysis/completeList.vue
src/views/sop/sopAnalysis/touchList.vue
package-lock.json
View file @
4bc6d76
...
@@ -2078,6 +2078,17 @@
...
@@ -2078,6 +2078,17 @@
"color-convert"
:
"^2.0.1"
"color-convert"
:
"^2.0.1"
}
}
},
},
"chalk"
:
{
"version"
:
"4.1.2"
,
"resolved"
:
"https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz"
,
"integrity"
:
"sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA=="
,
"dev"
:
true
,
"optional"
:
true
,
"requires"
:
{
"ansi-styles"
:
"^4.1.0"
,
"supports-color"
:
"^7.1.0"
}
},
"cliui"
:
{
"cliui"
:
{
"version"
:
"6.0.0"
,
"version"
:
"6.0.0"
,
"resolved"
:
"https://registry.npmmirror.com/cliui/-/cliui-6.0.0.tgz"
,
"resolved"
:
"https://registry.npmmirror.com/cliui/-/cliui-6.0.0.tgz"
,
...
@@ -2119,6 +2130,13 @@
...
@@ -2119,6 +2130,13 @@
"integrity"
:
"sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A=="
,
"integrity"
:
"sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A=="
,
"dev"
:
true
"dev"
:
true
},
},
"has-flag"
:
{
"version"
:
"4.0.0"
,
"resolved"
:
"https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz"
,
"integrity"
:
"sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ=="
,
"dev"
:
true
,
"optional"
:
true
},
"is-fullwidth-code-point"
:
{
"is-fullwidth-code-point"
:
{
"version"
:
"3.0.0"
,
"version"
:
"3.0.0"
,
"resolved"
:
"https://registry.npmmirror.com/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz"
,
"resolved"
:
"https://registry.npmmirror.com/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz"
,
...
@@ -2160,6 +2178,28 @@
...
@@ -2160,6 +2178,28 @@
"ansi-regex"
:
"^5.0.1"
"ansi-regex"
:
"^5.0.1"
}
}
},
},
"supports-color"
:
{
"version"
:
"7.2.0"
,
"resolved"
:
"https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz"
,
"integrity"
:
"sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw=="
,
"dev"
:
true
,
"optional"
:
true
,
"requires"
:
{
"has-flag"
:
"^4.0.0"
}
},
"vue-loader-v16"
:
{
"version"
:
"npm:vue-loader@16.8.3"
,
"resolved"
:
"https://registry.npmjs.org/vue-loader/-/vue-loader-16.8.3.tgz"
,
"integrity"
:
"sha512-7vKN45IxsKxe5GcVCbc2qFU5aWzyiLrYJyUuMz4BQLKctCj/fmCa0w6fGiiQ2cLFetNcek1ppGJQDCup0c1hpA=="
,
"dev"
:
true
,
"optional"
:
true
,
"requires"
:
{
"chalk"
:
"^4.1.0"
,
"hash-sum"
:
"^2.0.0"
,
"loader-utils"
:
"^2.0.0"
}
},
"wrap-ansi"
:
{
"wrap-ansi"
:
{
"version"
:
"6.2.0"
,
"version"
:
"6.2.0"
,
"resolved"
:
"https://registry.npmmirror.com/wrap-ansi/-/wrap-ansi-6.2.0.tgz"
,
"resolved"
:
"https://registry.npmmirror.com/wrap-ansi/-/wrap-ansi-6.2.0.tgz"
,
...
@@ -12764,75 +12804,6 @@
...
@@ -12764,75 +12804,6 @@
}
}
}
}
},
},
"vue-loader-v16"
:
{
"version"
:
"npm:vue-loader@16.8.3"
,
"resolved"
:
"https://registry.npmmirror.com/vue-loader/-/vue-loader-16.8.3.tgz"
,
"integrity"
:
"sha512-7vKN45IxsKxe5GcVCbc2qFU5aWzyiLrYJyUuMz4BQLKctCj/fmCa0w6fGiiQ2cLFetNcek1ppGJQDCup0c1hpA=="
,
"dev"
:
true
,
"optional"
:
true
,
"requires"
:
{
"chalk"
:
"^4.1.0"
,
"hash-sum"
:
"^2.0.0"
,
"loader-utils"
:
"^2.0.0"
},
"dependencies"
:
{
"ansi-styles"
:
{
"version"
:
"4.3.0"
,
"resolved"
:
"https://registry.npmmirror.com/ansi-styles/-/ansi-styles-4.3.0.tgz"
,
"integrity"
:
"sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg=="
,
"dev"
:
true
,
"optional"
:
true
,
"requires"
:
{
"color-convert"
:
"^2.0.1"
}
},
"chalk"
:
{
"version"
:
"4.1.2"
,
"resolved"
:
"https://registry.npmmirror.com/chalk/-/chalk-4.1.2.tgz"
,
"integrity"
:
"sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA=="
,
"dev"
:
true
,
"optional"
:
true
,
"requires"
:
{
"ansi-styles"
:
"^4.1.0"
,
"supports-color"
:
"^7.1.0"
}
},
"color-convert"
:
{
"version"
:
"2.0.1"
,
"resolved"
:
"https://registry.npmmirror.com/color-convert/-/color-convert-2.0.1.tgz"
,
"integrity"
:
"sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ=="
,
"dev"
:
true
,
"optional"
:
true
,
"requires"
:
{
"color-name"
:
"~1.1.4"
}
},
"color-name"
:
{
"version"
:
"1.1.4"
,
"resolved"
:
"https://registry.npmmirror.com/color-name/-/color-name-1.1.4.tgz"
,
"integrity"
:
"sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA=="
,
"dev"
:
true
,
"optional"
:
true
},
"has-flag"
:
{
"version"
:
"4.0.0"
,
"resolved"
:
"https://registry.npmmirror.com/has-flag/-/has-flag-4.0.0.tgz"
,
"integrity"
:
"sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ=="
,
"dev"
:
true
,
"optional"
:
true
},
"supports-color"
:
{
"version"
:
"7.2.0"
,
"resolved"
:
"https://registry.npmmirror.com/supports-color/-/supports-color-7.2.0.tgz"
,
"integrity"
:
"sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw=="
,
"dev"
:
true
,
"optional"
:
true
,
"requires"
:
{
"has-flag"
:
"^4.0.0"
}
}
}
},
"vue-router"
:
{
"vue-router"
:
{
"version"
:
"3.5.4"
,
"version"
:
"3.5.4"
,
"resolved"
:
"https://registry.npmmirror.com/vue-router/-/vue-router-3.5.4.tgz"
,
"resolved"
:
"https://registry.npmmirror.com/vue-router/-/vue-router-3.5.4.tgz"
,
...
...
src/App.vue
View file @
4bc6d76
<!--
* @Author: yangming yangming@didihu.com.cn
* @Date: 2022-09-16 14:23:36
* @LastEditors: yangming yangming@didihu.com.cn
* @LastEditTime: 2022-09-19 10:54:45
* @FilePath: \scrm-micro-marketing\src\App.vue
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
<
template
>
<
template
>
<div
id=
"app"
>
<div
id=
"app"
>
<!--
<h2>
<!--
<h2>
...
@@ -69,9 +77,6 @@ export default {
...
@@ -69,9 +77,6 @@ export default {
color
:
#fff
;
color
:
#fff
;
z-index
:
-1111
;
z-index
:
-1111
;
}
}
.el-switch__core
{
width
:
50px
!important
;
}
.el-switch__label--right
{
.el-switch__label--right
{
position
:
relative
;
position
:
relative
;
right
:
46px
;
right
:
46px
;
...
...
src/assets/guestCustom/friend-bg.png
View file @
4bc6d76
60.5 KB
|
W:
|
H:
144 KB
|
W:
|
H:
2-up
Swipe
Onion skin
src/config/index.js
View file @
4bc6d76
...
@@ -3,8 +3,8 @@
...
@@ -3,8 +3,8 @@
* @version:
* @version:
* @Author: limin
* @Author: limin
* @Date: 2021-06-07 14:12:32
* @Date: 2021-06-07 14:12:32
* @LastEditors:
Please set LastEditors
* @LastEditors:
yangming yangming@didihu.com.cn
* @LastEditTime: 2022-0
2-18 19:05:02
* @LastEditTime: 2022-0
9-26 17:25:16
*/
*/
// 根据环境引入不同配置 process.env.VUE_APP_ENV
// 根据环境引入不同配置 process.env.VUE_APP_ENV
// let request = require('@/http/request.js')
// let request = require('@/http/request.js')
...
...
src/views/activity/addActivity.vue
View file @
4bc6d76
...
@@ -37,8 +37,13 @@
...
@@ -37,8 +37,13 @@
></i>
></i>
</div>
</div>
</div>
</div>
<div
class=
"activity-name-tips"
>
注:1. 手机号码、车牌号、车架号 至少填写一项,系统将用于匹配客户;
</div>
<div
class=
"activity-tips-panel"
>
<div
class=
"activity-name-tips"
style=
"margin-left: 26px"
>
2. 导入招揽员工号码前,请确保该员工已加入企业微信,并且备注号码。
</div>
<div
class=
"activity-tips-l"
>
注:
</div>
<div
class=
"activity-tips-r"
>
<div
class=
"activity-name-tips"
>
1. 手机号码、车牌号、车架号 至少填写一项,系统将用于匹配客户;
</div>
<div
class=
"activity-name-tips"
>
2. 导入招揽员工号码前,请确保该员工已加入企业微信,并且备注号码。
</div>
</div>
</div>
</
template
>
</
template
>
</el-form-item>
</el-form-item>
<
template
v-if=
"addForm.selectType == 1"
>
<
template
v-if=
"addForm.selectType == 1"
>
...
@@ -81,9 +86,11 @@
...
@@ -81,9 +86,11 @@
</div>
</div>
</
template
>
</
template
>
<div
class=
"table-btns"
slot=
"optionBtns"
slot-scope=
"scope"
>
<div
class=
"table-btns"
slot=
"optionBtns"
slot-scope=
"scope"
>
<div
class=
"gl-table-button"
>
<el-button
type=
"text"
@
click=
"handleConfig(scope.scope)"
><div
class=
"config"
>
配置
</div></el-button>
<el-button
type=
"text"
@
click=
"handleConfig(scope.scope)"
><div
class=
"config"
>
配置
</div></el-button>
<el-button
type=
"text"
@
click=
"handleReset(scope.scope)"
v-if=
"scope.scope.welcomeDTOS && scope.scope.welcomeDTOS.length"
><div
class=
"config"
>
重置
</div></el-button>
<el-button
type=
"text"
@
click=
"handleReset(scope.scope)"
v-if=
"scope.scope.welcomeDTOS && scope.scope.welcomeDTOS.length"
><div
class=
"config"
>
重置
</div></el-button>
</div>
</div>
</div>
</GLTable>
</GLTable>
<div
class=
"activity-name-tips"
>
<div
class=
"activity-name-tips"
>
配置后,员工企微端可以对该细分人群进行一键营销,点击
配置后,员工企微端可以对该细分人群进行一键营销,点击
...
@@ -112,7 +119,7 @@
...
@@ -112,7 +119,7 @@
<span>
{{ ImportResult.successCount }}
</span>
<span>
{{ ImportResult.successCount }}
</span>
条,匹配失败
条,匹配失败
<span>
{{ ImportResult.errorCount }}
</span>
<span>
{{ ImportResult.errorCount }}
</span>
条
条
。
</div>
</div>
<div
class=
"import-reason"
>
<div
class=
"import-reason"
>
<div
class=
"import-reason-content"
>
失败分析:
</div>
<div
class=
"import-reason-content"
>
失败分析:
</div>
...
@@ -571,7 +578,6 @@ export default {
...
@@ -571,7 +578,6 @@ export default {
border-bottom
:
1px
solid
#d8d8d8
;
border-bottom
:
1px
solid
#d8d8d8
;
}
}
.activity-box-form
{
.activity-box-form
{
width
:
50%
;
padding-top
:
30px
;
padding-top
:
30px
;
.form-w40
{
.form-w40
{
width
:
80%
;
width
:
80%
;
...
@@ -633,8 +639,6 @@ export default {
...
@@ -633,8 +639,6 @@ export default {
.edit-group
{
.edit-group
{
color
:
#5850ff
;
color
:
#5850ff
;
cursor
:
pointer
;
cursor
:
pointer
;
margin-left
:
15px
;
line-height
:
32px
;
}
}
}
}
.activity-status
{
.activity-status
{
...
@@ -651,6 +655,9 @@ export default {
...
@@ -651,6 +655,9 @@ export default {
vertical-align
:
middle
;
vertical-align
:
middle
;
margin-top
:
-1px
;
margin-top
:
-1px
;
}
}
.activity-tips-panel
{
display
:
flex
;
}
.activity-name-tips
{
.activity-name-tips
{
font-size
:
14px
;
font-size
:
14px
;
line-height
:
14px
;
line-height
:
14px
;
...
...
src/views/activity/distribution.vue
View file @
4bc6d76
...
@@ -227,7 +227,7 @@ export default {
...
@@ -227,7 +227,7 @@ export default {
label
:
'跟进员工'
,
label
:
'跟进员工'
,
prop
:
'followName'
,
prop
:
'followName'
,
addHtml
:
'followName'
,
addHtml
:
'followName'
,
w
idth
:
120
minW
idth
:
120
},
},
{
{
...
...
src/views/activity/index.vue
View file @
4bc6d76
...
@@ -90,7 +90,8 @@ export default {
...
@@ -90,7 +90,8 @@ export default {
},
},
{
{
label
:
'客户总数'
,
label
:
'客户总数'
,
prop
:
'customerCount'
prop
:
'customerCount'
,
width
:
200
},
},
{
{
label
:
'已跟进'
,
label
:
'已跟进'
,
...
...
src/views/activityConfig/index.vue
View file @
4bc6d76
...
@@ -90,33 +90,35 @@ export default {
...
@@ -90,33 +90,35 @@ export default {
{
{
label
:
'活动名称'
,
label
:
'活动名称'
,
prop
:
'configName'
,
prop
:
'configName'
,
w
idth
:
300
,
minW
idth
:
300
,
line
:
1
line
:
1
},
},
{
{
label
:
'人群类型'
,
label
:
'人群类型'
,
prop
:
'custTypeName'
,
prop
:
'custTypeName'
,
w
idth
:
200
,
minW
idth
:
200
,
line
:
1
line
:
1
},
},
{
{
label
:
'推送日期'
,
label
:
'推送日期'
,
prop
:
'sendDate'
prop
:
'sendDate'
,
minWidth
:
120
},
},
{
{
label
:
'创建人'
,
label
:
'创建人'
,
prop
:
'createdByName'
prop
:
'createdByName'
,
minWidth
:
150
},
},
{
{
label
:
'创建日期'
,
label
:
'创建日期'
,
prop
:
'createdTime'
,
prop
:
'createdTime'
,
w
idth
:
'180px'
minW
idth
:
'180px'
},
},
{
{
label
:
'状态'
,
label
:
'状态'
,
prop
:
'status'
,
prop
:
'status'
,
addHtml
:
'status'
,
addHtml
:
'status'
,
w
idth
:
'140px'
minW
idth
:
'140px'
},
},
{
{
label
:
'操作'
,
label
:
'操作'
,
...
...
src/views/friendGroup/components/preview.vue
View file @
4bc6d76
...
@@ -135,7 +135,7 @@ export default {
...
@@ -135,7 +135,7 @@ export default {
width
:
250px
;
width
:
250px
;
height
:
350px
;
height
:
350px
;
overflow-y
:
auto
;
overflow-y
:
auto
;
top
:
125
px
;
top
:
90
px
;
left
:
20px
;
left
:
20px
;
//
background-color
:
cornflowerblue
;
//
background-color
:
cornflowerblue
;
.preview-time
{
.preview-time
{
...
...
src/views/friendGroup/friendGroupAdd.vue
View file @
4bc6d76
...
@@ -445,6 +445,10 @@ export default {
...
@@ -445,6 +445,10 @@ export default {
border
:
1px
solid
rgba
(
88
,
80
,
255
,
0.49
);
border
:
1px
solid
rgba
(
88
,
80
,
255
,
0.49
);
border-radius
:
4px
;
border-radius
:
4px
;
line-height
:
24px
;
line-height
:
24px
;
min-width
:
488px
;
max-width
:
844px
;
width
:
auto
;
box-sizing
:
border-box
;
.tips-icon
{
.tips-icon
{
width
:
14px
;
width
:
14px
;
height
:
14px
;
height
:
14px
;
...
@@ -457,8 +461,11 @@ export default {
...
@@ -457,8 +461,11 @@ export default {
padding-bottom
:
30px
;
padding-bottom
:
30px
;
align-items
:
flex-end
;
align-items
:
flex-end
;
justify-content
:
space-between
;
justify-content
:
space-between
;
.preview
{
flex
:
1
;
}
.info-content
{
.info-content
{
width
:
calc
(
100%
-
360px
)
;
width
:
66%
;
.filter-box
{
.filter-box
{
//
margin-left
:
120px
;
//
margin-left
:
120px
;
margin-bottom
:
10px
;
margin-bottom
:
10px
;
...
@@ -533,7 +540,7 @@ export default {
...
@@ -533,7 +540,7 @@ export default {
.sale-select
{
.sale-select
{
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
margin-left
:
80
px
;
margin-left
:
154
px
;
}
}
.input-tag-wrapper
{
.input-tag-wrapper
{
max-height
:
75px
;
max-height
:
75px
;
...
@@ -604,10 +611,21 @@ export default {
...
@@ -604,10 +611,21 @@ export default {
padding-bottom
:
10px
;
padding-bottom
:
10px
;
}
}
.welcome-box
{
.welcome-box
{
display
:
inline-block
;
min-width
:
488px
;
max-width
:
844px
;
width
:
auto
!important
;
margin-left
:
154px
;
}
}
}
}
.group-content
{
.group-content
{
padding
:
22px
0
20px
;
padding
:
22px
0
20px
;
}
}
.date-picker
{
margin-left
:
150px
;
/deep/
{
.el-date-editor
{
width
:
136px
;
}
}
}
</
style
>
</
style
>
src/views/friendGroup/index.vue
View file @
4bc6d76
...
@@ -308,6 +308,7 @@ export default {
...
@@ -308,6 +308,7 @@ export default {
mounted
()
{
mounted
()
{
this
.
handleRefresh
()
this
.
handleRefresh
()
this
.
getListData
()
this
.
getOptionsList
(
'searchFormData'
)
this
.
getOptionsList
(
'searchFormData'
)
},
},
...
@@ -319,10 +320,11 @@ export default {
...
@@ -319,10 +320,11 @@ export default {
this
.
refreshStatus
=
false
this
.
refreshStatus
=
false
},
1000
)
},
1000
)
},
1000
),
},
1000
),
createStatus
()
{
async
createStatus
()
{
this
.
$apis
.
friendGroup
.
createStatus
({}).
then
(
res
=>
{
this
.
updatedTime
=
dayjs
(
new
Date
().
getTime
()).
format
(
'YYYY-MM-DD HH:mm:ss'
)
await
this
.
$apis
.
friendGroup
.
createStatus
({})
await
this
.
$apis
.
friendGroup
.
publicStatus
({})
this
.
getListData
()
this
.
getListData
()
})
},
},
getListData
()
{
getListData
()
{
this
.
loading
=
true
this
.
loading
=
true
...
@@ -337,7 +339,6 @@ export default {
...
@@ -337,7 +339,6 @@ export default {
}
}
this
.
$apis
.
friendGroup
.
getListApi
(
params
).
then
(
res
=>
{
this
.
$apis
.
friendGroup
.
getListApi
(
params
).
then
(
res
=>
{
this
.
loading
=
false
this
.
loading
=
false
this
.
updatedTime
=
dayjs
(
new
Date
().
getTime
()).
format
(
'YYYY-MM-DD HH:mm:ss'
)
if
(
res
)
{
if
(
res
)
{
this
.
tableData
=
res
.
data
this
.
tableData
=
res
.
data
this
.
tableData
.
forEach
(
listM
=>
{
this
.
tableData
.
forEach
(
listM
=>
{
...
...
src/views/guestGroup/add.vue
View file @
4bc6d76
...
@@ -6,10 +6,10 @@
...
@@ -6,10 +6,10 @@
<div
class=
"title"
>
基础信息
</div>
<div
class=
"title"
>
基础信息
</div>
<div
class=
"info-box"
>
<div
class=
"info-box"
>
<div
class=
"info-content"
>
<div
class=
"info-content"
>
<div
class=
"tips-text"
>
<
!--
<
div
class=
"tips-text"
>
<img
src=
"@/assets/guestCustom/tips.png"
class=
"tips-icon"
alt
/>
<img
src=
"@/assets/guestCustom/tips.png"
class=
"tips-icon"
alt
/>
<span>
企业主体信息需要认证,才可使用该功能。
</span>
<span>
企业主体信息需要认证,才可使用该功能。
</span>
</div>
</div>
-->
<el-form
:model=
"basicForm"
:rules=
"basicRules"
ref=
"basicForm"
label-width=
"124px"
>
<el-form
:model=
"basicForm"
:rules=
"basicRules"
ref=
"basicForm"
label-width=
"124px"
>
<el-form-item
label=
"自定义群名"
prop=
"groupName"
>
<el-form-item
label=
"自定义群名"
prop=
"groupName"
>
<el-input
v-model
.
trim=
"basicForm.groupName"
size=
"small"
placeholder=
"为群聊设个自定义组名,如“VIP服务群”"
maxlength=
"10"
></el-input>
<el-input
v-model
.
trim=
"basicForm.groupName"
size=
"small"
placeholder=
"为群聊设个自定义组名,如“VIP服务群”"
maxlength=
"10"
></el-input>
...
@@ -93,7 +93,9 @@
...
@@ -93,7 +93,9 @@
</GLFooter>
</GLFooter>
<GLDialog
:title=
"'选择成员'"
:visible
.
sync=
"membersVisible"
>
<GLDialog
:title=
"'选择成员'"
:visible
.
sync=
"membersVisible"
>
<!--
<SelectMembers
islord=
"false"
:selectData=
"selectData"
ref=
"membersForm"
></SelectMembers>
-->
<!--
<SelectMembers
islord=
"false"
:selectData=
"selectData"
ref=
"membersForm"
></SelectMembers>
-->
<div
style=
"width:100%;overflow:hidden"
>
<SelectMember
ref=
"membersForm"
v-if=
"membersVisible"
:selectData=
"selectData"
:followData=
"followData"
></SelectMember>
<SelectMember
ref=
"membersForm"
v-if=
"membersVisible"
:selectData=
"selectData"
:followData=
"followData"
></SelectMember>
</div>
<span
slot=
"footer"
class=
"dialog-footer"
>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
plain
size=
"small"
class=
"btn-three"
@
click=
"membersVisible = false"
>
取消
</el-button>
<el-button
plain
size=
"small"
class=
"btn-three"
@
click=
"membersVisible = false"
>
取消
</el-button>
<el-button
type=
"primary"
size=
"small"
@
click=
"handleConfirm"
>
确定
</el-button>
<el-button
type=
"primary"
size=
"small"
@
click=
"handleConfirm"
>
确定
</el-button>
...
@@ -120,7 +122,6 @@ export default {
...
@@ -120,7 +122,6 @@ export default {
},
},
data
()
{
data
()
{
const
validatorUser
=
(
rule
,
value
,
callback
)
=>
{
const
validatorUser
=
(
rule
,
value
,
callback
)
=>
{
const
followList
=
this
.
basicForm
.
followList
const
followList
=
this
.
basicForm
.
followList
let
userList
=
[]
let
userList
=
[]
if
(
this
.
basicForm
.
userList
&&
this
.
basicForm
.
userList
.
length
)
{
if
(
this
.
basicForm
.
userList
&&
this
.
basicForm
.
userList
.
length
)
{
...
@@ -132,7 +133,6 @@ export default {
...
@@ -132,7 +133,6 @@ export default {
if
(
!
this
.
basicForm
.
followList
.
length
)
{
if
(
!
this
.
basicForm
.
followList
.
length
)
{
callback
(
new
Error
(
'请选择跟进专员'
))
callback
(
new
Error
(
'请选择跟进专员'
))
}
else
{
}
else
{
if
(
userList
.
length
<
2
)
{
if
(
userList
.
length
<
2
)
{
this
.
$message
({
this
.
$message
({
type
:
'error'
,
type
:
'error'
,
...
@@ -209,6 +209,9 @@ export default {
...
@@ -209,6 +209,9 @@ export default {
followVisible
:
false
followVisible
:
false
}
}
},
},
beforeDestroy
()
{
this
.
$message
.
closeAll
()
},
watch
:
{
watch
:
{
basicForm
:
{
basicForm
:
{
handler
(
val
)
{
handler
(
val
)
{
...
@@ -224,6 +227,7 @@ export default {
...
@@ -224,6 +227,7 @@ export default {
// }
// }
},
},
mounted
()
{
mounted
()
{
this
.
wxTips
()
if
(
this
.
$route
.
params
)
{
if
(
this
.
$route
.
params
)
{
const
id
=
this
.
$route
.
params
.
id
const
id
=
this
.
$route
.
params
.
id
if
(
id
!=
-
1
)
this
.
getDetail
(
id
)
if
(
id
!=
-
1
)
this
.
getDetail
(
id
)
...
@@ -234,6 +238,31 @@ export default {
...
@@ -234,6 +238,31 @@ export default {
this
.
boxHeight
=
clientHeight
-
200
this
.
boxHeight
=
clientHeight
-
200
},
},
methods
:
{
methods
:
{
wxTips
()
{
const
menu
=
JSON
.
parse
(
sessionStorage
[
'SCRM_BASE_MENULIST'
])
menu
.
forEach
(
item
=>
{
if
(
!
item
.
children
)
{
return
}
item
.
children
.
forEach
(
itm
=>
{
if
(
itm
.
path
==
'/enterpriseWechat/index'
)
{
this
.
$apis
.
groupGuest
.
getStatus
({}).
then
(
res
=>
{
if
(
res
.
status
!=
'SUCCESS'
)
{
const
h
=
this
.
$createElement
this
.
$message
({
showClose
:
true
,
duration
:
0
,
message
:
h
(
'p'
,
null
,
[
h
(
'span'
,
null
,
'此功能需完成【企业微信授权】后方可使用! '
),
h
(
'span'
,
{
on
:
{
click
:
this
.
jumpWx
},
style
:
{
marginRight
:
'150px'
,
cursor
:
'pointer'
,
color
:
'#5850ff'
}
},
[
'企业微信授权 '
,
h
(
'i'
,
{
class
:
'el-icon-d-arrow-right'
},
''
)])])
})
}
})
}
})
})
},
jumpWx
()
{
this
.
$history
.
push
(
'/settings/enterpriseWechat/index'
)
},
openMembers
()
{
openMembers
()
{
this
.
membersVisible
=
!
this
.
membersVisible
this
.
membersVisible
=
!
this
.
membersVisible
},
},
...
@@ -335,7 +364,6 @@ export default {
...
@@ -335,7 +364,6 @@ export default {
}
}
},
},
remove
(
val
,
idx
)
{
remove
(
val
,
idx
)
{
if
(
this
.
$refs
.
membersForm
)
{
if
(
this
.
$refs
.
membersForm
)
{
this
.
$refs
.
membersForm
.
remove
(
val
)
this
.
$refs
.
membersForm
.
remove
(
val
)
this
.
$set
(
this
.
basicForm
,
'userList'
,
this
.
$refs
.
membersForm
.
innerTags
)
this
.
$set
(
this
.
basicForm
,
'userList'
,
this
.
$refs
.
membersForm
.
innerTags
)
...
...
src/views/guestGroup/components/selectMember.vue
View file @
4bc6d76
...
@@ -8,42 +8,13 @@
...
@@ -8,42 +8,13 @@
<div
class=
"member-content"
>
<div
class=
"member-content"
>
<el-form
:inline=
"true"
class=
"member-form"
:model=
"searchForm"
@
submit
.
native
.
prevent
>
<el-form
:inline=
"true"
class=
"member-form"
:model=
"searchForm"
@
submit
.
native
.
prevent
>
<el-form-item
label=
"所在门店/部门"
style=
"margin-bottom: 0;"
>
<el-form-item
label=
"所在门店/部门"
style=
"margin-bottom: 0;"
>
<el-popover
<el-popover
ref=
"popover"
placement=
"bottom"
width=
"215"
trigger=
"click"
v-model=
"popoverVisible"
@
show=
"onShowPopover"
@
hide=
"onHidePopover"
>
ref=
"popover"
<el-tree
class=
"select-tree"
:data=
"treeData"
:props=
"defaultProps"
default-expand-all
@
node-click=
"handleNodeClick"
></el-tree>
placement=
"bottom"
<el-input
v-model=
"searchForm.department"
slot=
"reference"
:size=
"size"
readonly
placeholder=
"请选择所在门店/部门"
:class=
"
{ rotate: popoverVisible }" suffix-icon="el-icon-arrow-down" @keyup.enter.native="search">
</el-input>
width=
"215"
trigger=
"click"
v-model=
"popoverVisible"
@
show=
"onShowPopover"
@
hide=
"onHidePopover"
>
<el-tree
class=
"select-tree"
:data=
"treeData"
:props=
"defaultProps"
default-expand-all
@
node-click=
"handleNodeClick"
></el-tree>
<el-input
v-model=
"searchForm.department"
slot=
"reference"
:size=
"size"
readonly
placeholder=
"请选择所在门店/部门"
:class=
"
{ 'rotate': popoverVisible }"
suffix-icon="el-icon-arrow-down"
@keyup.enter.native="search"
>
</el-input>
</el-popover>
</el-popover>
</el-form-item>
</el-form-item>
<el-form-item
label=
"姓名"
style=
"margin-bottom: 0;"
>
<el-form-item
label=
"姓名"
style=
"margin-bottom: 0;"
>
<el-input
<el-input
:size=
"size"
v-model
.
trim=
"searchForm.name"
@
keyup
.
enter
.
native=
"search"
clearable
placeholder=
"请输入姓名搜索"
></el-input>
:size=
"size"
v-model
.
trim=
"searchForm.name"
@
keyup
.
enter
.
native=
"search"
clearable
placeholder=
"请输入姓名搜索"
></el-input>
</el-form-item>
</el-form-item>
<!--
<el-form-item>
<!--
<el-form-item>
<el-checkbox
v-model=
"searchForm.checked"
>
仅看跟进专员
</el-checkbox>
<el-checkbox
v-model=
"searchForm.checked"
>
仅看跟进专员
</el-checkbox>
...
@@ -53,21 +24,10 @@
...
@@ -53,21 +24,10 @@
</el-form-item>
</el-form-item>
</el-form>
</el-form>
<div
class=
"table-content"
>
<div
class=
"table-content"
>
<GLTable
<GLTable
v-loading=
"loading"
ref=
"empTable"
:tableData=
"tableEmpData"
:tableParams=
"tableParams"
:hasNum=
"false"
:hasPage=
"false"
:noDataImg=
"url"
@
selectionTable=
"selectionTable"
@
row-click=
"rowClick"
>
:key=
"key"
v-loading=
"loading"
ref=
"empTable"
:tableData=
"tableEmpData"
:tableParams=
"tableParams"
:hasNum=
"false"
:hasPage=
"false"
:noDataImg=
"url"
@
selectionTable=
"selectionTable"
@
row-click=
"rowClick"
>
<div
slot=
"staffName"
slot-scope=
"scope"
>
<div
slot=
"staffName"
slot-scope=
"scope"
>
<span>
{{
scope
.
scope
.
staffName
}}
</span>
<span>
{{
scope
.
scope
.
staffName
}}
</span>
<span
class=
"staff-title"
v-show=
"scope.scope.staffTitle"
>
{{
scope
.
scope
.
staffTitle
}}
</span>
<span
class=
"staff-title"
v-show=
"scope.scope.staffTitle"
>
{{
scope
.
scope
.
staffTitle
}}
</span>
</div>
</div>
</GLTable>
</GLTable>
</div>
</div>
...
@@ -78,17 +38,10 @@
...
@@ -78,17 +38,10 @@
</div>
</div>
<div
class=
"member-right"
>
<div
class=
"member-right"
>
<div
class=
"member-title"
>
已选
</div>
<div
class=
"member-title"
>
已选
</div>
<div
class=
"member-name"
>
成员名称(
{{
innerTags
.
length
}}
项)
</div>
<div
class=
"member-name"
>
成员名称(
{{
innerTags
.
length
}}
项)
</div>
<div
class=
"input-tag-wrapper"
>
<div
class=
"input-tag-wrapper"
>
<div
class=
"tag-box"
>
<div
class=
"tag-box"
>
<el-tag
<el-tag
v-for=
"(tag, idx) in innerTags"
:key=
"idx"
type=
"info"
closable
:disable-transitions=
"false"
@
close=
"remove(tag)"
>
v-for=
"(tag, idx) in innerTags"
:key=
"idx"
type=
"info"
closable
:disable-transitions=
"false"
@
close=
"remove(tag)"
>
<!--
<i
class=
"el-icon-user-solid"
></i>
-->
<!--
<i
class=
"el-icon-user-solid"
></i>
-->
<img
class=
"headPortrait"
src=
"@/assets/headPortrait.png"
/>
<img
class=
"headPortrait"
src=
"@/assets/headPortrait.png"
/>
{{
tag
.
staffName
}}
{{
tag
.
staffName
}}
...
@@ -146,7 +99,6 @@ export default {
...
@@ -146,7 +99,6 @@ export default {
},
},
mounted
()
{
mounted
()
{
this
.
listDepartmentTree
()
this
.
listDepartmentTree
()
},
},
methods
:
{
methods
:
{
selectionTable
(
val
)
{
selectionTable
(
val
)
{
...
@@ -180,7 +132,7 @@ export default {
...
@@ -180,7 +132,7 @@ export default {
this
.
allTreeData
=
this
.
getEmployee
(
res
)
this
.
allTreeData
=
this
.
getEmployee
(
res
)
this
.
currentTreeData
=
this
.
getEmployee
(
res
)
this
.
currentTreeData
=
this
.
getEmployee
(
res
)
this
.
treeData
=
res
this
.
treeData
=
res
this
.
tableEmpData
.
length
?
(
this
.
$refs
.
empTable
.
tableHeightValues
=
'250px'
)
:
this
.
$refs
.
empTable
.
setTableHeightFun
(
)
// this.tableEmpData.length && (this.$refs.empTable.tableHeightValues = '250px'
)
if
(
this
.
selectData
&&
this
.
selectData
.
length
)
{
if
(
this
.
selectData
&&
this
.
selectData
.
length
)
{
this
.
selectData
.
forEach
(
item
=>
{
this
.
selectData
.
forEach
(
item
=>
{
this
.
$refs
.
empTable
.
$refs
.
salelistMutiTable
.
toggleRowSelection
(
item
)
this
.
$refs
.
empTable
.
$refs
.
salelistMutiTable
.
toggleRowSelection
(
item
)
...
@@ -298,6 +250,7 @@ export default {
...
@@ -298,6 +250,7 @@ export default {
}
}
}
}
.member-wrapper
{
.member-wrapper
{
width
:
100%
;
display
:
flex
;
display
:
flex
;
.member-title
{
.member-title
{
font-size
:
16px
;
font-size
:
16px
;
...
@@ -312,8 +265,6 @@ export default {
...
@@ -312,8 +265,6 @@ export default {
}
}
}
}
.member-left
{
.member-left
{
width
:
800px
;
.member-content
{
.member-content
{
border
:
1px
solid
#eee
;
border
:
1px
solid
#eee
;
.member-form
{
.member-form
{
...
...
src/views/guestGroup/index.vue
View file @
4bc6d76
...
@@ -88,7 +88,7 @@ export default {
...
@@ -88,7 +88,7 @@ export default {
{
{
label
:
'群聊名称'
,
label
:
'群聊名称'
,
prop
:
'groupName'
,
prop
:
'groupName'
,
width
:
250
,
width
:
250
,
line
:
1
line
:
1
}
,
}
,
{
{
...
@@ -300,7 +300,6 @@ export default {
...
@@ -300,7 +300,6 @@ export default {
}
)
}
)
break
break
default
:
default
:
}
}
}
,
}
,
setTableFinishFun
()
{
setTableFinishFun
()
{
...
@@ -345,7 +344,7 @@ export default {
...
@@ -345,7 +344,7 @@ export default {
}
}
}
}
.
btn
-
header
{
.
btn
-
header
{
margin
-
bottom
:
1
0
px
;
margin
-
bottom
:
1
6
px
;
}
}
.
container
{
.
container
{
margin
-
bottom
:
20
px
;
margin
-
bottom
:
20
px
;
...
@@ -367,7 +366,7 @@ export default {
...
@@ -367,7 +366,7 @@ export default {
.
toptips
{
.
toptips
{
display
:
inline
-
block
;
display
:
inline
-
block
;
position
:
relative
;
position
:
relative
;
margin
-
left
:
1
0
px
;
margin
-
left
:
1
6
px
;
height
:
20
px
;
height
:
20
px
;
font
-
size
:
14
px
;
font
-
size
:
14
px
;
font
-
weight
:
400
;
font
-
weight
:
400
;
...
...
src/views/sop/sopAnalysis/completeList.vue
View file @
4bc6d76
...
@@ -175,7 +175,6 @@ export default {
...
@@ -175,7 +175,6 @@ export default {
getBaseInfo
()
{
getBaseInfo
()
{
this
.
$apis
.
sop
.
getSopBaseInfoApi
({
sopId
:
this
.
sopId
}).
then
(
res
=>
{
this
.
$apis
.
sop
.
getSopBaseInfoApi
({
sopId
:
this
.
sopId
}).
then
(
res
=>
{
this
.
sopInfo
=
res
this
.
sopInfo
=
res
console
.
log
(
this
.
sopInfo
)
this
.
sopInfo
.
completedPercent
=
Math
.
round
((
this
.
sopInfo
.
sopStatistics
.
finishEventCount
/
this
.
sopInfo
.
sopStatistics
.
eventCount
)
*
100
).
toFixed
(
0
)
+
'%'
this
.
sopInfo
.
completedPercent
=
Math
.
round
((
this
.
sopInfo
.
sopStatistics
.
finishEventCount
/
this
.
sopInfo
.
sopStatistics
.
eventCount
)
*
100
).
toFixed
(
0
)
+
'%'
this
.
drawPie
()
this
.
drawPie
()
})
})
...
...
src/views/sop/sopAnalysis/touchList.vue
View file @
4bc6d76
...
@@ -160,7 +160,7 @@ export default {
...
@@ -160,7 +160,7 @@ export default {
getBaseInfo
()
{
getBaseInfo
()
{
this
.
$apis
.
sop
.
getSopBaseInfoApi
({
sopId
:
this
.
sopId
}).
then
(
res
=>
{
this
.
$apis
.
sop
.
getSopBaseInfoApi
({
sopId
:
this
.
sopId
}).
then
(
res
=>
{
this
.
sopInfo
=
res
this
.
sopInfo
=
res
this
.
sopInfo
.
touchPercent
=
this
.
sopInfo
.
customerCount
?
Math
.
round
((
this
.
selectedEventInfo
.
eventStatistics
.
reachCustomerCount
/
this
.
sopInfo
.
customerCount
)
*
100
).
toFixed
(
0
)
+
'%'
:
'-'
this
.
sopInfo
.
touchPercent
=
this
.
baseData
.
sopEventList
.
length
&&
this
.
sopInfo
.
customerCount
?
Math
.
round
((
this
.
selectedEventInfo
.
eventStatistics
.
reachCustomerCount
/
this
.
sopInfo
.
customerCount
)
*
100
).
toFixed
(
0
)
+
'%'
:
'-'
this
.
drawPie
()
this
.
drawPie
()
})
})
},
},
...
...
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