Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-custom
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 19c142cf
authored
Jan 14, 2022
by
胡悦
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'v1.0.2' of
http://192.168.3.233:8090/saas/scrm-micro-custom
into v1.0.2
2 parents
b98d30a5
cbd5d0cd
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
82 additions
and
66 deletions
package.json
src/api/modules/clientGroupManage.js
src/api/modules/clientManage.js
src/components/rule-form/index.vue
src/components/search-form/index.vue
src/setup/qiankun.js
src/views/clientDataOverview/index.vue
src/views/clientGroupManage/components/followEmployee.vue
src/views/clientGroupManage/index.vue
src/views/clientManage/index.vue
src/views/guestGroup/index.vue
src/views/tagsManage/index.vue
package.json
View file @
19c142c
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
"echarts"
:
"^5.2.0"
,
"echarts"
:
"^5.2.0"
,
"element-ui"
:
"^2.4.5"
,
"element-ui"
:
"^2.4.5"
,
"glsx-common"
:
"^1.4.6"
,
"glsx-common"
:
"^1.4.6"
,
"glsx-components"
:
"^1.3.
4
"
,
"glsx-components"
:
"^1.3.
6
"
,
"glsx-table"
:
"^1.1.0"
,
"glsx-table"
:
"^1.1.0"
,
"jquery"
:
"^3.6.0"
,
"jquery"
:
"^3.6.0"
,
"sha1"
:
"^1.1.1"
,
"sha1"
:
"^1.1.1"
,
...
...
src/api/modules/clientGroupManage.js
View file @
19c142c
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
export
function
getTableList
(
params
){
export
function
getTableList
(
params
){
params
.
method
=
'entmicro.api.customer.base.page'
params
.
method
=
'entmicro.api.customer.base.page'
return
http
2
({
return
http
3
({
url
:
'/rop-scrm-entmicro/router'
,
url
:
'/rop-scrm-entmicro/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
}
}
export
function
syncCustomerBase
(
params
){
export
function
syncCustomerBase
(
params
){
params
.
method
=
'entmicro.api.synchro.syncCustomerBase'
params
.
method
=
'entmicro.api.synchro.syncCustomerBase'
return
http
2
({
return
http
3
({
url
:
'/rop-scrm-entmicro/router'
,
url
:
'/rop-scrm-entmicro/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
...
@@ -29,7 +29,7 @@
...
@@ -29,7 +29,7 @@
}
}
export
function
getTableDetail
(
params
){
export
function
getTableDetail
(
params
){
params
.
method
=
'entmicro.api.customer.base.detail'
params
.
method
=
'entmicro.api.customer.base.detail'
return
http
2
({
return
http
3
({
url
:
'/rop-scrm-entmicro/router'
,
url
:
'/rop-scrm-entmicro/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
...
@@ -38,7 +38,7 @@
...
@@ -38,7 +38,7 @@
}
}
export
function
getClientTableDetail
(
params
){
export
function
getClientTableDetail
(
params
){
params
.
method
=
'entmicro.api.customer.detail'
params
.
method
=
'entmicro.api.customer.detail'
return
http
2
({
return
http
3
({
url
:
'/rop-scrm-entmicro/router'
,
url
:
'/rop-scrm-entmicro/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
...
@@ -49,7 +49,7 @@
...
@@ -49,7 +49,7 @@
// 客户群的客户列表获取分页数据接口
// 客户群的客户列表获取分页数据接口
export
function
getDetailTableList
(
params
){
export
function
getDetailTableList
(
params
){
params
.
method
=
'entmicro.api.customer.base.cust.page'
params
.
method
=
'entmicro.api.customer.base.cust.page'
return
http
2
({
return
http
3
({
url
:
'/rop-scrm-entmicro/router'
,
url
:
'/rop-scrm-entmicro/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
...
@@ -76,7 +76,7 @@ export function getStatus(params) {
...
@@ -76,7 +76,7 @@ export function getStatus(params) {
// POST /router/entmicro.api.customer.base.staff.page/1.0.0
// POST /router/entmicro.api.customer.base.staff.page/1.0.0
export
function
getDetailStaffTableList
(
params
){
export
function
getDetailStaffTableList
(
params
){
params
.
method
=
'entmicro.api.customer.base.staff.page'
params
.
method
=
'entmicro.api.customer.base.staff.page'
return
http
2
({
return
http
3
({
url
:
'/rop-scrm-entmicro/router'
,
url
:
'/rop-scrm-entmicro/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
...
@@ -89,7 +89,7 @@ export function getDetailStaffTableList(params){
...
@@ -89,7 +89,7 @@ export function getDetailStaffTableList(params){
*/
*/
export
function
getDetailQuitTableList
(
params
){
export
function
getDetailQuitTableList
(
params
){
params
.
method
=
'entmicro.api.customer.base.quit.cust.page'
params
.
method
=
'entmicro.api.customer.base.quit.cust.page'
return
http
2
({
return
http
3
({
url
:
'/rop-scrm-entmicro/router'
,
url
:
'/rop-scrm-entmicro/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
...
@@ -101,7 +101,7 @@ export function getDetailQuitTableList(params){
...
@@ -101,7 +101,7 @@ export function getDetailQuitTableList(params){
*/
*/
export
function
getDetailPotentialTableList
(
params
){
export
function
getDetailPotentialTableList
(
params
){
params
.
method
=
'entmicro.api.customer.base.potential.cust.page'
params
.
method
=
'entmicro.api.customer.base.potential.cust.page'
return
http
2
({
return
http
3
({
url
:
'/rop-scrm-entmicro/router'
,
url
:
'/rop-scrm-entmicro/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
...
@@ -111,7 +111,7 @@ export function getDetailPotentialTableList(params){
...
@@ -111,7 +111,7 @@ export function getDetailPotentialTableList(params){
//客户群管理(群聊管理)导出
//客户群管理(群聊管理)导出
export
function
clientGroupExportApi
(
params
){
export
function
clientGroupExportApi
(
params
){
params
.
method
=
`entmicro.api.customer.base.list.export`
params
.
method
=
`entmicro.api.customer.base.list.export`
return
http
2
({
return
http
3
({
url
:
'/rop-scrm-entmicro/router'
,
url
:
'/rop-scrm-entmicro/router'
,
method
:
'GET'
,
method
:
'GET'
,
data
:
params
,
data
:
params
,
...
@@ -121,7 +121,7 @@ export function clientGroupExportApi(params){
...
@@ -121,7 +121,7 @@ export function clientGroupExportApi(params){
// 全部客户导出
// 全部客户导出
export
function
clientExportApi
(
params
){
export
function
clientExportApi
(
params
){
params
.
method
=
`entmicro.api.customer.base.cust.export`
params
.
method
=
`entmicro.api.customer.base.cust.export`
return
http
2
({
return
http
3
({
url
:
'/rop-scrm-entmicro/router'
,
url
:
'/rop-scrm-entmicro/router'
,
method
:
'GET'
,
method
:
'GET'
,
data
:
params
,
data
:
params
,
...
@@ -132,7 +132,7 @@ export function clientExportApi(params){
...
@@ -132,7 +132,7 @@ export function clientExportApi(params){
//跟进员工导出
//跟进员工导出
export
function
followEmployeeExportApi
(
params
){
export
function
followEmployeeExportApi
(
params
){
params
.
method
=
`entmicro.api.customer.base.staff.export`
params
.
method
=
`entmicro.api.customer.base.staff.export`
return
http
2
({
return
http
3
({
url
:
'/rop-scrm-entmicro/router'
,
url
:
'/rop-scrm-entmicro/router'
,
method
:
'GET'
,
method
:
'GET'
,
data
:
params
,
data
:
params
,
...
@@ -142,7 +142,7 @@ export function followEmployeeExportApi(params){
...
@@ -142,7 +142,7 @@ export function followEmployeeExportApi(params){
//退群客户导出
//退群客户导出
export
function
leaveGroupExportApi
(
params
){
export
function
leaveGroupExportApi
(
params
){
params
.
method
=
`entmicro.api.customer.base.quit.export`
params
.
method
=
`entmicro.api.customer.base.quit.export`
return
http
2
({
return
http
3
({
url
:
'/rop-scrm-entmicro/router'
,
url
:
'/rop-scrm-entmicro/router'
,
method
:
'GET'
,
method
:
'GET'
,
data
:
params
,
data
:
params
,
...
@@ -153,7 +153,7 @@ export function leaveGroupExportApi(params){
...
@@ -153,7 +153,7 @@ export function leaveGroupExportApi(params){
export
function
potentialClientExportApi
(
params
){
export
function
potentialClientExportApi
(
params
){
params
.
method
=
`entmicro.api.customer.base.potential.export`
params
.
method
=
`entmicro.api.customer.base.potential.export`
return
http
2
({
return
http
3
({
url
:
'/rop-scrm-entmicro/router'
,
url
:
'/rop-scrm-entmicro/router'
,
method
:
'GET'
,
method
:
'GET'
,
data
:
params
,
data
:
params
,
...
...
src/api/modules/clientManage.js
View file @
19c142c
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
* @param {*} params
* @param {*} params
* @returns
* @returns
*/
*/
import
{
http
,
http2
}
from
'@/main'
import
{
http
,
http2
,
http3
}
from
'@/main'
//const commonUrl='&format=json&appKey=48e5e13229b82c1b4e6e8c96151f0637&v=1.0.*×tamp=1654487354&source=sub-client-custom&sign=sdf9787dfs87987sf9879sdf87sdf'
//const commonUrl='&format=json&appKey=48e5e13229b82c1b4e6e8c96151f0637&v=1.0.*×tamp=1654487354&source=sub-client-custom&sign=sdf9787dfs87987sf9879sdf87sdf'
//获取客户列表内容
//获取客户列表内容
...
@@ -108,7 +108,7 @@
...
@@ -108,7 +108,7 @@
//客户信息管理导出
//客户信息管理导出
export
function
clientManageExportApi
(
params
){
export
function
clientManageExportApi
(
params
){
params
.
method
=
`entmicro.api.customer.customerListExport`
params
.
method
=
`entmicro.api.customer.customerListExport`
return
http
2
({
return
http
3
({
url
:
'/rop-scrm-entmicro/router'
,
url
:
'/rop-scrm-entmicro/router'
,
method
:
'GET'
,
method
:
'GET'
,
data
:
params
,
data
:
params
,
...
...
src/components/rule-form/index.vue
View file @
19c142c
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
<template
v-if=
"item.type === 'input'"
>
<template
v-if=
"item.type === 'input'"
>
<el-input
v-if=
"item.clickFunc"
:type=
"item.inputText || 'text'"
:readonly=
"item.readonly || false"
@
click
.
native=
"item.clickFunc"
:class=
"item.clickFunc ? 'pointer' : ''"
:ref=
"item.ref"
v-model=
"ruleForm[item.prop]"
@
input=
"update($event)"
></el-input>
<el-input
v-if=
"item.clickFunc"
:type=
"item.inputText || 'text'"
:readonly=
"item.readonly || false"
@
click
.
native=
"item.clickFunc"
:class=
"item.clickFunc ? 'pointer' : ''"
:ref=
"item.ref"
v-model=
"ruleForm[item.prop]"
@
input=
"update($event)"
></el-input>
<el-input
v-else
:type=
"item.inputText || 'text'"
:readonly=
"item.readonly || false"
:disabled=
"item.disabled || false"
v-model=
"ruleForm[item.prop]"
:maxlength=
"item.maxlength"
:minlength=
"item.minlength"
:placeholder=
"item.placeholder || '请输入'"
:show-password=
"item.showPassword || false"
:clearable=
"item.clearable"
:show-word-limit=
"item.showWordLimit || false"
></el-input>
<el-input
v-else
:type=
"item.inputText || 'text'"
:readonly=
"item.readonly || false"
:disabled=
"item.disabled || false"
v-model
.
trim
=
"ruleForm[item.prop]"
:maxlength=
"item.maxlength"
:minlength=
"item.minlength"
:placeholder=
"item.placeholder || '请输入'"
:show-password=
"item.showPassword || false"
:clearable=
"item.clearable"
:show-word-limit=
"item.showWordLimit || false"
></el-input>
</
template
>
</
template
>
<
template
v-else-if=
"item.type == 'select'"
>
<
template
v-else-if=
"item.type == 'select'"
>
<el-select
v-if=
"item.visibleFunc"
v-model=
"ruleForm[item.prop]"
:placeholder=
"item.placeholder || '请选择'"
:filterable=
"item.filterable || false"
@
change=
"selectChange"
@
visible-change=
"item.visibleFunc"
>
<el-select
v-if=
"item.visibleFunc"
v-model=
"ruleForm[item.prop]"
:placeholder=
"item.placeholder || '请选择'"
:filterable=
"item.filterable || false"
@
change=
"selectChange"
@
visible-change=
"item.visibleFunc"
>
...
...
src/components/search-form/index.vue
View file @
19c142c
...
@@ -47,17 +47,7 @@
...
@@ -47,17 +47,7 @@
<slot
name=
"form-slot"
></slot>
<slot
name=
"form-slot"
></slot>
</
template
>
</
template
>
</el-form-item>
</el-form-item>
<!-- <el-form-item>
<template>
<slot name="formsearch-slot"></slot>
</template>
</el-form-item> -->
</div>
</div>
<!-- <div class="rightBottomBtn">
<el-button plain @click="resetTable" size="small">重置</el-button>
<el-button type="primary" @click="searchTable" size="small">查询</el-button>
<el-button type="primary" @click="syncClick" :loading="ploading" size="small" v-if="(merchantModel == 1 && accountLevel == 1) || (merchantModel == 2 && accountLevel == 4)">同步数据</el-button>
</div> -->
</el-form>
</el-form>
</div>
</div>
</template>
</template>
...
@@ -335,7 +325,6 @@ this.$emit('handleExport')
...
@@ -335,7 +325,6 @@ this.$emit('handleExport')
}
}
.el-select
>
.el-input
{
.el-select
>
.el-input
{
width
:
215px
;
width
:
215px
;
}
}
.el-form-item__content
{
.el-form-item__content
{
width
:
100%
;
width
:
100%
;
...
...
src/setup/qiankun.js
View file @
19c142c
...
@@ -12,7 +12,7 @@ import 'glsx-components/dist/glsx-components.css'
...
@@ -12,7 +12,7 @@ import 'glsx-components/dist/glsx-components.css'
let
routes
=
[]
let
routes
=
[]
let
router
=
null
let
router
=
null
let
instance
=
null
let
instance
=
null
// http:调的是新版标签的接口,http2:调的是客户相关接口;http3:企微授权那边的接口
// http:调的是新版标签的接口,http2:调的是客户相关接口;http3:企微授权那边的接口
目前导出接口都测试的:http3
export
async
function
bootstrap
({
name
,
id
,
history
,
common
,
messenger
,
globalState
,
routerBase
})
{
export
async
function
bootstrap
({
name
,
id
,
history
,
common
,
messenger
,
globalState
,
routerBase
})
{
const
{
response
,
request
,
request2
,
request3
,
sign
,
secret
,
sign_common
,
request_common
}
=
await
fetchConfig
(
globalState
.
configSwitch
)
//globalState.configSwitch
const
{
response
,
request
,
request2
,
request3
,
sign
,
secret
,
sign_common
,
request_common
}
=
await
fetchConfig
(
globalState
.
configSwitch
)
//globalState.configSwitch
Vue
.
prototype
.
$history
=
history
Vue
.
prototype
.
$history
=
history
...
...
src/views/clientDataOverview/index.vue
View file @
19c142c
...
@@ -595,6 +595,7 @@ export default {
...
@@ -595,6 +595,7 @@ export default {
}
}
.topmsg
{
.topmsg
{
display
:
flex
;
display
:
flex
;
min-width
:
1050px
;
.leftPieEcharts
{
.leftPieEcharts
{
position
:
relative
;
position
:
relative
;
background-color
:
#fff
;
background-color
:
#fff
;
...
@@ -727,7 +728,7 @@ export default {
...
@@ -727,7 +728,7 @@ export default {
}
}
.itembox
{
.itembox
{
width
:
calc
(
100%
-
372px
);
width
:
calc
(
100%
-
372px
);
min-width
:
500px
;
.item
{
.item
{
//
border
:
1px
solid
rgba
(
121
,
121
,
121
,
1
);
//
border
:
1px
solid
rgba
(
121
,
121
,
121
,
1
);
height
:
119px
;
height
:
119px
;
...
@@ -897,6 +898,7 @@ export default {
...
@@ -897,6 +898,7 @@ export default {
}
}
}
}
.middlemsg
{
.middlemsg
{
min-width
:
1050px
;
.itembox
{
.itembox
{
display
:
flex
;
display
:
flex
;
width
:
100%
;
width
:
100%
;
...
@@ -958,6 +960,7 @@ export default {
...
@@ -958,6 +960,7 @@ export default {
.bottommsg
{
.bottommsg
{
position
:
relative
;
position
:
relative
;
width
:
100%
;
width
:
100%
;
min-width
:
1050px
;
height
:
578px
;
height
:
578px
;
background-color
:
#fff
;
background-color
:
#fff
;
.timeDuring
{
.timeDuring
{
...
...
src/views/clientGroupManage/components/followEmployee.vue
View file @
19c142c
...
@@ -98,7 +98,7 @@ export default {
...
@@ -98,7 +98,7 @@ export default {
},
},
{
{
label
:
'员工名称'
,
label
:
'员工名称'
,
prop
:
'
customer
Name'
,
prop
:
'
staff
Name'
,
minWidth
:
150
minWidth
:
150
},
},
...
...
src/views/clientGroupManage/index.vue
View file @
19c142c
...
@@ -21,7 +21,7 @@
...
@@ -21,7 +21,7 @@
<template
slot=
"auth-button"
slot-scope=
"scope"
:data=
"scope.scope"
>
<template
slot=
"auth-button"
slot-scope=
"scope"
:data=
"scope.scope"
>
<!--
<auth-button
:data=
"scope.scope"
></auth-button>
-->
<!--
<auth-button
:data=
"scope.scope"
></auth-button>
-->
<span
@
click=
"goDetail(scope.scope.id, scope.scope.custGroupName)"
class=
"blue-text"
>
详情
</span>
<span
@
click=
"goDetail(scope.scope.id, scope.scope.custGroupName)"
class=
"blue-text"
>
详情
</span>
<!--
<GLButton
@
click=
"goDetail(scope.scope.id, scope.scope.custGroupName)"
fn=
"客户群详情"
type=
"text"
>
详情
</GLButton>
-->
<!--
<GLButton
@
click=
"goDetail(scope.scope.id, scope.scope.custGroupName)"
fn=
"客户群详情"
type=
"text"
>
详情
</GLButton>
-->
</
template
>
</
template
>
</GLTable>
</GLTable>
</div>
</div>
...
@@ -30,7 +30,7 @@
...
@@ -30,7 +30,7 @@
</template>
</template>
<
script
>
<
script
>
import
{
getTableList
,
syncCustomerBase
,
getStatus
,
clientGroupExportApi
}
from
'@/api/modules/clientGroupManage'
import
{
getTableList
,
syncCustomerBase
,
getStatus
,
clientGroupExportApi
}
from
'@/api/modules/clientGroupManage'
import
url
from
'@/assets/clientDataOverview/nodata.png'
import
url
from
'@/assets/clientDataOverview/nodata.png'
export
default
{
export
default
{
name
:
'clientGroupManage'
,
name
:
'clientGroupManage'
,
...
@@ -142,7 +142,7 @@ export default {
...
@@ -142,7 +142,7 @@ export default {
label
:
'创建方式'
,
label
:
'创建方式'
,
prop
:
'creationMethod'
,
prop
:
'creationMethod'
,
formatter
:
cellValue
=>
{
formatter
:
cellValue
=>
{
return
cellValue
.
creationMethod
==
1
?
'手动拉群'
:
cellValue
.
creationMethod
==
2
?
"一客一群"
:
""
return
cellValue
.
creationMethod
==
1
?
'手动拉群'
:
cellValue
.
creationMethod
==
2
?
'一客一群'
:
''
},
},
minWidth
:
140
minWidth
:
140
},
},
...
@@ -169,9 +169,9 @@ export default {
...
@@ -169,9 +169,9 @@ export default {
flushTime
:
false
flushTime
:
false
}
}
},
},
activated
()
{
//
activated() {
this
.
searchTable
()
//
this.searchTable()
},
//
},
created
()
{
created
()
{
if
(
window
.
__POWERED_BY_QIANKUN__
)
{
if
(
window
.
__POWERED_BY_QIANKUN__
)
{
//运行在qiankun容器中
//运行在qiankun容器中
...
@@ -191,10 +191,10 @@ export default {
...
@@ -191,10 +191,10 @@ export default {
// }
// }
// },
// },
beforeDestroy
()
{
beforeDestroy
()
{
this
.
$message
.
closeAll
()
this
.
$message
.
closeAll
()
},
},
mounted
()
{
mounted
()
{
this
.
wxTips
()
this
.
wxTips
()
},
},
methods
:
{
methods
:
{
jumpWx
()
{
jumpWx
()
{
...
@@ -257,20 +257,20 @@ export default {
...
@@ -257,20 +257,20 @@ export default {
// }
// }
this
.
$refs
.
clientGroupManage
.
data
.
length
?
(
this
.
$refs
.
clientGroupManage
.
tableHeightValues
=
''
)
:
this
.
$refs
.
clientGroupManage
.
setTableHeightFun
()
this
.
$refs
.
clientGroupManage
.
data
.
length
?
(
this
.
$refs
.
clientGroupManage
.
tableHeightValues
=
''
)
:
this
.
$refs
.
clientGroupManage
.
setTableHeightFun
()
},
},
//导出
//导出
handleExport
(){
handleExport
()
{
var
params
=
this
.
getParams
()
var
params
=
this
.
getParams
()
clientGroupExportApi
(
params
).
then
(
res
=>
{
clientGroupExportApi
(
params
).
then
(
res
=>
{
this
.
$Utils
.
exportFn
(
res
)
this
.
$Utils
.
exportFn
(
res
)
})
})
},
},
searchTable
()
{
searchTable
()
{
this
.
$refs
.
clientGroupManage
.
refreshTable
()
this
.
$refs
.
clientGroupManage
.
refreshTable
()
},
},
getParams
()
{
getParams
()
{
var
params
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
searchForm
))
var
params
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
searchForm
))
if
(
params
.
daterange
)
{
if
(
params
.
daterange
)
{
params
.
beginTime
=
this
.
searchForm
.
daterange
[
0
]
params
.
beginTime
=
this
.
searchForm
.
daterange
[
0
]
params
.
endTime
=
this
.
searchForm
.
daterange
[
1
]
params
.
endTime
=
this
.
searchForm
.
daterange
[
1
]
}
else
{
}
else
{
if
(
params
.
beginTime
)
delete
params
.
beginTime
&&
delete
params
.
endTime
if
(
params
.
beginTime
)
delete
params
.
beginTime
&&
delete
params
.
endTime
...
@@ -290,7 +290,7 @@ export default {
...
@@ -290,7 +290,7 @@ export default {
// }
// }
// resolve()
// resolve()
// })
// })
return
new
Promise
((
resolve
,
reject
)
=>
{
return
new
Promise
((
resolve
,
reject
)
=>
{
this
.
searchFormTable
=
this
.
getParams
()
this
.
searchFormTable
=
this
.
getParams
()
resolve
()
resolve
()
})
})
...
@@ -330,6 +330,12 @@ export default {
...
@@ -330,6 +330,12 @@ export default {
letter-spacing
:
1px
;
letter-spacing
:
1px
;
}
}
.pageContent
{
.pageContent
{
.glsx-table
{
/deep/
.el-table__fixed,
/deep/
.el-table__fixed-right
{
height
:
100%
!important
;
//设置高优先,以覆盖内联样式
}
}
padding
:
6px
20px
30px
;
padding
:
6px
20px
30px
;
box-shadow
:
0
10px
20px
0
rgba
(
88
,
80
,
255
,
0
.1
);
box-shadow
:
0
10px
20px
0
rgba
(
88
,
80
,
255
,
0
.1
);
//
min-width
:
1300px
;
//
min-width
:
1300px
;
...
...
src/views/clientManage/index.vue
View file @
19c142c
...
@@ -22,7 +22,7 @@
...
@@ -22,7 +22,7 @@
<span
class=
"pure-blue-text"
>
{{
scope
.
scope
.
type
==
1
?
'@微信'
:
scope
.
scope
.
type
==
2
?
'@企微'
:
''
}}
</span>
<span
class=
"pure-blue-text"
>
{{
scope
.
scope
.
type
==
1
?
'@微信'
:
scope
.
scope
.
type
==
2
?
'@企微'
:
''
}}
</span>
</span>
</span>
<span
slot=
"customerSex"
slot-scope=
"scope"
>
<span
slot=
"customerSex"
slot-scope=
"scope"
>
<span>
{{
scope
.
scope
.
customerSex
==
0
?
'未知'
:
scope
.
scope
.
customerSex
==
1
?
'男'
:
'女
'
}}
</span>
<span>
{{
scope
.
scope
.
customerSex
==
0
?
'未知'
:
scope
.
scope
.
customerSex
==
1
?
'男'
:
scope
.
scope
.
customerSex
==
2
?
'女'
:
'
'
}}
</span>
</span>
</span>
<div
slot=
"followStaff"
class=
"entmicro"
slot-scope=
"scope"
>
<div
slot=
"followStaff"
class=
"entmicro"
slot-scope=
"scope"
>
<div
class=
"entmicro-tag"
v-for=
"(tag, idx) in followList(scope.scope.followStaff)"
:key=
"idx"
>
<div
class=
"entmicro-tag"
v-for=
"(tag, idx) in followList(scope.scope.followStaff)"
:key=
"idx"
>
...
@@ -437,12 +437,15 @@ export default {
...
@@ -437,12 +437,15 @@ export default {
.
searchTop
{
.
searchTop
{
// margin-bottom: 20px;
// margin-bottom: 20px;
}
}
// .glsx-table
{
.
glsx
-
table
{
// margin-top: 20px;
// /deep/ .el-table__fixed
{
// /deep/ .el-table__fixed
{
// height: 100% !important; //设置高优先,以覆盖内联样式
// height: 100% !important; //设置高优先,以覆盖内联样式
//
}
//
}
/
deep
/
.
el
-
table__fixed
,
//
}
/deep/
.
el
-
table__fixed
-
right
{
height
:
100
%
!
important
;
//设置高优先,以覆盖内联样式
}
}
.
entmicro
{
.
entmicro
{
// overflow: hidden;
// overflow: hidden;
...
@@ -460,9 +463,6 @@ export default {
...
@@ -460,9 +463,6 @@ export default {
&-
tag
{
&-
tag
{
display
:
inline
-
block
;
display
:
inline
-
block
;
}
}
// /deep/ .entmicro-tag + .entmicro-tag
{
// margin-bottom: 4px;
//
}
&-
hover
{
&-
hover
{
max
-
height
:
214
px
;
max
-
height
:
214
px
;
overflow
:
auto
;
overflow
:
auto
;
...
@@ -472,6 +472,9 @@ export default {
...
@@ -472,6 +472,9 @@ export default {
font
-
size
:
14
px
;
font
-
size
:
14
px
;
}
}
}
}
.
entmicro
-
tag
+
.
entmicro
-
tag
{
margin
-
top
:
4
px
;
}
}
}
.
el
-
tag
{
.
el
-
tag
{
...
...
src/views/guestGroup/index.vue
View file @
19c142c
...
@@ -13,6 +13,7 @@
...
@@ -13,6 +13,7 @@
class=
"searchTop border-shadow"
class=
"searchTop border-shadow"
:formModel=
"searchForm"
:formModel=
"searchForm"
:formList=
"searchFormData"
:formList=
"searchFormData"
labelWidth=
"70px"
>
>
<span
class=
"inline-b"
style=
"float: right"
slot=
"form-slot"
>
<span
class=
"inline-b"
style=
"float: right"
slot=
"form-slot"
>
<el-button
type=
"primary"
@
click=
"searchTable"
>
查询
</el-button>
<el-button
type=
"primary"
@
click=
"searchTable"
>
查询
</el-button>
...
...
src/views/tagsManage/index.vue
View file @
19c142c
...
@@ -22,7 +22,7 @@
...
@@ -22,7 +22,7 @@
</span>
</span>
</span>
</span>
<div
class=
"initPanel"
v-if=
"isFirstShow"
>
<div
class=
"initPanel"
v-if=
"isFirstShow"
>
<
template
>
企业标签为全局标签,员工可在企微APP端客户详情、客户跟进等模块查看和打标签,最多3000个;
</
template
>
<
template
>
企业标签为全局标签,员工可在企微APP端客户详情、客户跟进等模块查看和打标签,最多3000个;
</
template
>
<
template
v-if=
"!((merchantModel == 2 && accountLevel == 4) || (merchantModel == 1 && accountLevel == 1))"
>
自店标签为企业商户自有标签,员工可在企微APP端客户跟进等模块查看和打标签,最多3000个;
</
template
>
<
template
v-if=
"!((merchantModel == 2 && accountLevel == 4) || (merchantModel == 1 && accountLevel == 1))"
>
自店标签为企业商户自有标签,员工可在企微APP端客户跟进等模块查看和打标签,最多3000个;
</
template
>
系统标签为通过大数据算法规则生成的标签
系统标签为通过大数据算法规则生成的标签
<img
src=
"@/assets/tagsManage/Shape.png"
alt=
""
/>
<img
src=
"@/assets/tagsManage/Shape.png"
alt=
""
/>
...
@@ -31,7 +31,7 @@
...
@@ -31,7 +31,7 @@
<div
class=
"pageContent"
>
<div
class=
"pageContent"
>
<!-- @setTableHeightEvent="setTableHeightEvent" -->
<!-- @setTableHeightEvent="setTableHeightEvent" -->
<search-form
class=
"searchTop border-shadow"
:formModel=
"searchForm"
:formList=
"tagsPartFormList"
@
setTableHeightEvent=
"setTableHeightEvent"
>
<search-form
class=
"searchTop border-shadow"
:formModel=
"searchForm"
:formList=
"tagsPartFormList"
@
setTableHeightEvent=
"setTableHeightEvent"
labelWidth=
"54px"
>
<span
class=
"inline-b"
slot=
"form-slot"
>
<span
class=
"inline-b"
slot=
"form-slot"
>
<el-button
@
click=
"resetTable"
plain
>
重置
</el-button>
<el-button
@
click=
"resetTable"
plain
>
重置
</el-button>
<!-- :id="tableParams.btnId" -->
<!-- :id="tableParams.btnId" -->
...
@@ -52,7 +52,7 @@
...
@@ -52,7 +52,7 @@
<span>
{{ item.name }}
</span>
<span>
{{ item.name }}
</span>
</el-tooltip>
</el-tooltip>
</span>
</span>
<el-popover
v-if=
"scope.scope.labelList.length > 9"
class=
"ellipsis-1 tag-box-wrap"
placement=
"top"
width=
"
6
00"
trigger=
"hover"
content=
"这是一段内容,这是一段内容,这是一段内容,这是一段内容。"
>
<el-popover
v-if=
"scope.scope.labelList.length > 9"
class=
"ellipsis-1 tag-box-wrap"
placement=
"top"
width=
"
8
00"
trigger=
"hover"
content=
"这是一段内容,这是一段内容,这是一段内容,这是一段内容。"
>
<span
slot=
"reference"
>
...({{ scope.scope.labelList.length }})
</span>
<span
slot=
"reference"
>
...({{ scope.scope.labelList.length }})
</span>
<div
class=
"entmicro-hover"
style=
"height: 214px; overflow-y: auto"
>
<div
class=
"entmicro-hover"
style=
"height: 214px; overflow-y: auto"
>
<el-tag
type=
"info"
class=
"ellipsis-1"
style=
"margin-right: 10px; margin-bottom: 10px; max-width: 200px"
v-for=
"(i, sindex) in scope.scope.labelList"
:key=
"sindex"
:disable-transitions=
"false"
>
<el-tag
type=
"info"
class=
"ellipsis-1"
style=
"margin-right: 10px; margin-bottom: 10px; max-width: 200px"
v-for=
"(i, sindex) in scope.scope.labelList"
:key=
"sindex"
:disable-transitions=
"false"
>
...
@@ -80,9 +80,9 @@
...
@@ -80,9 +80,9 @@
</el-select>
</el-select>
<!-- id="tagTipMsgRef" -->
<!-- id="tagTipMsgRef" -->
<span
class=
"tagTipMsg"
v-if=
"tagDialogTitle == '添加标签组' && !tagForm.initTagsGroup"
>
<span
class=
"tagTipMsg"
v-if=
"tagDialogTitle == '添加标签组' && !tagForm.initTagsGroup"
>
<
template
v-if=
"!(merchantModel == 1 && (accountLevel == 2 || accountLevel == 3 || accountLevel
==
4))"
>
企业标签
</
template
>
<
template
v-if=
"!(merchantModel == 1 && (accountLevel == 2 || accountLevel == 3 || accountLevel
==
4))"
>
企业标签
</
template
>
<
template
v-if=
"!((merchantModel == 2 && accountLevel == 4) || (merchantModel == 1 && accountLevel == 1))"
>
<
template
v-if=
"!((merchantModel == 2 && accountLevel == 4) || (merchantModel == 1 && accountLevel == 1))"
>
<template
v-if=
"!(merchantModel == 1 && (accountLevel == 2 || accountLevel == 3 || accountLevel
==
4))"
>
和
</
template
>
<template
v-if=
"!(merchantModel == 1 && (accountLevel == 2 || accountLevel == 3 || accountLevel
==
4))"
>
和
</
template
>
自店标签分别
自店标签分别
</template>
</template>
最多3000个
最多3000个
...
@@ -332,7 +332,7 @@ export default {
...
@@ -332,7 +332,7 @@ export default {
// }
// }
//1.0.1集团下的省代、市代,门店只能创建自店标签
//1.0.1集团下的省代、市代,门店只能创建自店标签
if
(
this
.
merchantModel
==
1
)
{
if
(
this
.
merchantModel
==
1
)
{
if
(
this
.
accountLevel
==
2
||
this
.
accountLevel
==
3
||
this
.
accountLevel
==
4
)
{
if
(
this
.
accountLevel
==
2
||
this
.
accountLevel
==
3
||
this
.
accountLevel
==
4
)
{
this
.
tagsGroupList
.
splice
(
0
,
1
)
//只能创建自店标签
this
.
tagsGroupList
.
splice
(
0
,
1
)
//只能创建自店标签
// this.tagsPartFormList[0].options.splice(0, 1)
// this.tagsPartFormList[0].options.splice(0, 1)
}
}
...
@@ -424,7 +424,7 @@ export default {
...
@@ -424,7 +424,7 @@ export default {
isShowEditBtn
(
row
)
{
isShowEditBtn
(
row
)
{
//集团模式下,只有集团能可以编辑企业,自店,其他只能编辑自店
//集团模式下,只有集团能可以编辑企业,自店,其他只能编辑自店
//单店模式下,仅门店和员工可以编辑
//单店模式下,仅门店和员工可以编辑
if
(
row
.
labelType
==
'自店标签'
&&
!
(
this
.
merchantModel
==
1
&&
(
this
.
accountLevel
==
2
||
this
.
accountLevel
==
3
||
this
.
accountLevel
==
4
)
))
{
if
(
row
.
labelType
==
'自店标签'
&&
!
(
this
.
merchantModel
==
1
&&
(
this
.
accountLevel
==
2
||
this
.
accountLevel
==
3
||
this
.
accountLevel
==
4
)))
{
return
false
return
false
}
}
if
(
this
.
merchantModel
==
1
)
{
if
(
this
.
merchantModel
==
1
)
{
...
@@ -618,9 +618,22 @@ export default {
...
@@ -618,9 +618,22 @@ export default {
if
(
this
.
tagForm
.
tagsList
.
length
>
0
)
{
if
(
this
.
tagForm
.
tagsList
.
length
>
0
)
{
this
.
$message
.
success
(
'添加成功'
)
this
.
$message
.
success
(
'添加成功'
)
}
}
if
(
this
.
tagDialogTitle
==
'编辑标签组'
)
{
this
.
tagForm
.
tagsName
=
''
this
.
tagForm
.
initTagsGroup
=
''
this
.
tagForm
.
tagsList
=
[]
}
this
.
handleClose
()
this
.
handleClose
()
}
else
if
(
res
.
data
.
code
==
1
)
{
}
else
if
(
res
.
data
.
code
==
1
)
{
this
.
$message
.
error
(
`
${
res
.
data
.
message
}
`
)
this
.
$message
.
error
(
`
${
res
.
data
.
message
}
`
)
}
else
if
(
res
.
data
.
code
==
2
)
{
//编辑弹框, 空标签调接口返回信息
if
(
this
.
tagDialogTitle
==
'编辑标签组'
)
{
this
.
tagForm
.
tagsName
=
''
this
.
tagForm
.
initTagsGroup
=
''
this
.
tagForm
.
tagsList
=
[]
}
this
.
handleClose
()
}
}
this
.
resetTable
()
//刷新下表格
this
.
resetTable
()
//刷新下表格
this
.
getTableTagNumFun
()
this
.
getTableTagNumFun
()
...
@@ -650,9 +663,9 @@ export default {
...
@@ -650,9 +663,9 @@ export default {
}
}
this
.
$message
.
success
(
'修改成功'
)
this
.
$message
.
success
(
'修改成功'
)
this
.
tagForm
.
tagsName
=
''
//
this.tagForm.tagsName = ''
this
.
tagForm
.
initTagsGroup
=
''
//
this.tagForm.initTagsGroup = ''
this
.
tagForm
.
tagsList
=
[]
//
this.tagForm.tagsList = []
this
.
resetTable
()
//刷新下表格
this
.
resetTable
()
//刷新下表格
})
})
...
@@ -754,8 +767,9 @@ export default {
...
@@ -754,8 +767,9 @@ export default {
@import
'@/styles/resetelement.scss'
;
@import
'@/styles/resetelement.scss'
;
.scrm-sub-client-container
{
.scrm-sub-client-container
{
/deep/.search-form
.el-form-item__content
{
/deep/.search-form
.el-form-item__content
{
width
:
inherit
;
width
:
auto
;
}
}
//
//
el-form-item__label
//
/
deep
/
.el-table
tbody
tr
:hover
>
td
{
//
/
deep
/
.el-table
tbody
tr
:hover
>
td
{
//
background-color
:
#f4f3ff
;
//
background-color
:
#f4f3ff
;
//
}
//
}
...
...
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