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 533c6dc2
authored
Apr 22, 2022
by
前端
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'xuyl_dev_2.1.0' into 'v2.1.0'
Xuyl dev 2.1.0 See merge request
!54
2 parents
28b04c67
63d72e0f
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
88 additions
and
78 deletions
src/views/clientGroupManage/clientGroupDetail.vue
src/views/clientGroupManage/components/client.vue
src/views/clientGroupManage/components/followEmployee.vue
src/views/clientGroupManage/components/leaveGroupClient.vue
src/views/clientGroupManage/components/potentialClient.vue
src/views/clientGroupManage/index.vue
src/views/clientManage/clientDetail.vue
src/views/clientManage/index.vue
src/views/leadManage/leadBasicInfo.vue
src/views/clientGroupManage/clientGroupDetail.vue
View file @
533c6dc
...
...
@@ -43,25 +43,29 @@
</p>
</div>
<div
class=
"rightWrap"
:style=
"
{ 'min-height': heightBox + 'px' }">
<div
class=
"choseRow"
>
<div
class=
"choseItem"
:class=
"
{ activeItem: currentIndex == index }" v-for="(item, index) in titles" :key="index" @click="tabClick(index)">
<span>
{{
item
.
name
}}
<template>
(
{{
item
.
personNum
||
0
}}
)个
</
template
>
</span>
<div
class=
"rightWrapBtn"
style=
"display: flex"
>
<div
class=
"choseRow"
>
<div
class=
"choseItem"
:class=
"
{ activeItem: currentIndex == index }" v-for="(item, index) in titles" :key="index" @click="tabClick(index)">
<span>
{{
item
.
name
}}
<template>
(
{{
item
.
personNum
||
0
}}
)个
</
template
>
</span>
</div>
<el-button
style=
"border: 1px solid #5850ff; color: #5850ff; right: 0px; position: absolute;background:none;"
size=
"small"
@
click=
"handleExport(currentIndex)"
>
导出
</el-button>
</div>
</div>
<
template
v-if=
"currentIndex == 0"
>
<client
ref=
"childComp"
:url=
"url"
@
goDetail=
"goDetail"
></client>
<client
ref=
"childComp
Client
"
:url=
"url"
@
goDetail=
"goDetail"
></client>
</
template
>
<
template
v-if=
"currentIndex == 1"
>
<follow-employee
ref=
"childComp"
:url=
"url"
></follow-employee>
<follow-employee
ref=
"childComp
Follow
"
:url=
"url"
></follow-employee>
</
template
>
<
template
v-if=
"currentIndex == 2"
>
<leave-group-client
ref=
"childComp"
:url=
"url"
@
goDetail=
"goDetail"
></leave-group-client>
<leave-group-client
ref=
"childComp
Leave
"
:url=
"url"
@
goDetail=
"goDetail"
></leave-group-client>
</
template
>
<
template
v-if=
"currentIndex == 3"
>
<potential-client
ref=
"childComp"
:url=
"url"
></potential-client>
<potential-client
ref=
"childComp
Potential
"
:url=
"url"
></potential-client>
</
template
>
<basic-dialog
title=
""
width=
"547px"
:isVisible=
"dialogVisible"
btnOkLabel=
"我知道了"
:isHasCancelBtn=
"false"
@
confirmDialog=
"handleConfirm"
@
closeDialog=
"handleClose"
>
...
...
@@ -145,6 +149,17 @@ export default {
// this.$set(this.titles[0], 'personNum', num)
// }
// },
handleExport
(
currentIndex
)
{
if
(
currentIndex
==
0
)
{
this
.
$refs
.
childCompClient
.
handleExport
()
}
else
if
(
currentIndex
==
1
)
{
this
.
$refs
.
childCompFollow
.
handleExport
()
}
else
if
(
currentIndex
==
2
)
{
this
.
$refs
.
childCompLeave
.
handleExport
()
}
else
{
this
.
$refs
.
childCompPotential
.
handleExport
()
}
},
tabClick
(
index
)
{
this
.
currentIndex
=
index
},
...
...
@@ -286,40 +301,43 @@ export default {
background-color
:
#fff
;
padding
:
20px
;
padding-top
:
50px
;
.choseRow
{
position
:
absolute
;
width
:
100%
;
left
:
0
;
top
:
0
;
.rightWrapBtn
{
display
:
flex
;
background-color
:
$
bgColor
;
z-index
:
10
;
.choseItem
{
height
:
40px
;
line-height
:
40px
;
width
:
180px
;
box-sizing
:
border-box
;
background
:
#ffffff
;
text-align
:
center
;
border
:
1px
solid
#eeedff
;
cursor
:
pointer
;
&:first-child
{
border-left
:
0
;
}
span
{
font-weight
:
400
;
font-size
:
14px
;
color
:
#37383a
;
.choseRow
{
position
:
absolute
;
width
:
100%
;
left
:
0
;
top
:
0
;
display
:
flex
;
background-color
:
$
bgColor
;
z-index
:
10
;
.choseItem
{
height
:
40px
;
line-height
:
40px
;
width
:
180px
;
box-sizing
:
border-box
;
background
:
#ffffff
;
text-align
:
center
;
border
:
1px
solid
#eeedff
;
cursor
:
pointer
;
&:first-child
{
border-left
:
0
;
}
span
{
font-weight
:
400
;
font-size
:
14px
;
color
:
#37383a
;
}
}
}
.activeItem
{
border-radius
:
4px
4px
0
0
;
span
{
color
:
$
btnBlue
;
font-weight
:
600
;
.activeItem
{
border-radius
:
4px
4px
0
0
;
span
{
color
:
$
btnBlue
;
font-weight
:
600
;
}
box-sizing
:
border-box
;
border-bottom
:
0
!
important
;
}
box-sizing
:
border-box
;
border-bottom
:
0
!
important
;
}
}
...
...
src/views/clientGroupManage/components/client.vue
View file @
533c6dc
...
...
@@ -2,12 +2,12 @@
<div
class=
"sub-container"
>
<GLCombiForm
class=
"sub-form-style"
:formObj=
"searchForm"
:formData=
"clientGroupFormList"
@
handleOk=
"searchTable"
@
handleRest=
"resetTable"
></GLCombiForm>
<!-- :tableId="$route.query.id" 去掉,表格组件也应该去掉 -->
<div
class=
"leadList"
>
<
!--
<
div
class=
"leadList"
>
<div>
<span></span>
</div>
<el-button
size=
"small"
@
click=
"handleExport"
>
导出
</el-button>
</div>
</div>
-->
<GLTable
ref=
"clientGroupDetail"
@
setTableFinishFun=
"setTableFinishFun"
:hasNum=
"true"
:pageConf=
"pageConf"
:getListApi=
"getListApi"
:beforeSearchFn=
"beforeSearchFn"
:searchForm=
"searchFormTable"
:tableParams=
"tableParams"
:headerStyle=
"
{ height: '54px', background: '#F4F6FC', color: '#333333', fontSize: '14px' }" :noDataImg="url">
<span
slot=
"customerName"
slot-scope=
"scope"
>
<el-tooltip
effect=
"dark"
:content=
"scope.scope.customerName"
placement=
"top"
>
...
...
@@ -45,9 +45,7 @@ export default {
type
:
'datePicker'
,
name
:
'daterange'
,
label
:
'入群时间'
,
datePickerAttrs
:
{
'value-format'
:
'yyyy-MM-dd'
},
valueFormat
:
'yyyy-MM-dd'
,
pickerOptions
:
{
disabledDate
(
time
)
{
return
time
.
getTime
()
>
Date
.
now
()
||
time
.
getTime
()
<
new
Date
(
'2017-12-31'
).
getTime
()
...
...
src/views/clientGroupManage/components/followEmployee.vue
View file @
533c6dc
<
template
>
<div
class=
"sub-container"
>
<GLCombiForm
class=
"sub-form-style"
:formObj=
"searchForm"
:formData=
"clientGroupFormList"
@
handleOk=
"searchTable"
@
handleRest=
"resetTable"
>
</GLCombiForm>
<div
class=
"leadList"
>
<GLCombiForm
class=
"sub-form-style"
:formObj=
"searchForm"
:formData=
"clientGroupFormList"
@
handleOk=
"searchTable"
@
handleRest=
"resetTable"
></GLCombiForm>
<!--
<div
class=
"leadList"
>
<div>
<span></span>
</div>
<el-button
size=
"small"
@
click=
"handleExport"
>
导出
</el-button>
</div>
</div>
-->
<GLTable
ref=
"clientGroupDetail"
@
setTableFinishFun=
"setTableFinishFun"
:hasNum=
"true"
:pageConf=
"pageConf"
:getListApi=
"getListApi"
:beforeSearchFn=
"beforeSearchFn"
:searchForm=
"searchFormTable"
:tableParams=
"tableParams"
:headerStyle=
"
{ height: '54px', background: '#F4F6FC', color: '#333333', fontSize: '14px' }" :noDataImg="url">
<span
slot=
"customerSex"
slot-scope=
"scope"
>
<span>
{{
scope
.
scope
.
customerSex
==
2
?
'女'
:
scope
.
scope
.
customerSex
==
1
?
'男'
:
'未知'
}}
</span>
...
...
@@ -40,9 +39,7 @@ export default {
type
:
'datePicker'
,
name
:
'daterange'
,
label
:
'入群时间'
,
datePickerAttrs
:
{
'value-format'
:
'yyyy-MM-dd'
},
valueFormat
:
'yyyy-MM-dd'
,
pickerOptions
:
{
disabledDate
(
time
)
{
return
time
.
getTime
()
>
Date
.
now
()
||
time
.
getTime
()
<
new
Date
(
'2017-12-31'
).
getTime
()
...
...
src/views/clientGroupManage/components/leaveGroupClient.vue
View file @
533c6dc
<
template
>
<div
class=
"sub-container"
>
<GLCombiForm
class=
"sub-form-style"
:formObj=
"searchForm"
:formData=
"clientGroupFormList"
@
handleOk=
"searchTable"
@
handleRest=
"resetTable"
></GLCombiForm>
<div
class=
"leadList"
>
<
!--
<
div
class=
"leadList"
>
<div>
<span></span>
</div>
<el-button
size=
"small"
@
click=
"handleExport"
>
导出
</el-button>
</div>
</div>
-->
<GLTable
ref=
"clientGroupDetail"
@
setTableFinishFun=
"setTableFinishFun"
:hasNum=
"true"
:pageConf=
"pageConf"
:getListApi=
"getListApi"
:beforeSearchFn=
"beforeSearchFn"
:searchForm=
"searchFormTable"
:tableParams=
"tableParams"
:headerStyle=
"
{ height: '54px', background: '#F4F6FC', color: '#333333', fontSize: '14px' }" :noDataImg="url">
<span
slot=
"customerName"
class=
"flex-center"
slot-scope=
"scope"
>
<el-tooltip
effect=
"dark"
:content=
"scope.scope.customerName"
placement=
"top"
>
...
...
@@ -44,9 +44,7 @@ export default {
type
:
'datePicker'
,
name
:
'daterange'
,
label
:
'入群时间'
,
datePickerAttrs
:
{
'value-format'
:
'yyyy-MM-dd'
},
valueFormat
:
'yyyy-MM-dd'
,
pickerOptions
:
{
disabledDate
(
time
)
{
return
time
.
getTime
()
>
Date
.
now
()
||
time
.
getTime
()
<
new
Date
(
'2017-12-31'
).
getTime
()
...
...
src/views/clientGroupManage/components/potentialClient.vue
View file @
533c6dc
<
template
>
<div
class=
"sub-container"
>
<GLCombiForm
:formObj=
"searchForm"
:formData=
"clientGroupFormList"
@
handleOk=
"searchTable"
@
handleRest=
"resetTable"
>
n>
</GLCombiForm>
<div
class=
"leadList"
>
<
!--
<
div
class=
"leadList"
>
<div>
<span></span>
</div>
<el-button
size=
"small"
@
click=
"handleExport"
>
导出
</el-button>
</div>
</div>
-->
<!-- :tableId="$route.query.id" 去掉,表格组件也应该去掉 -->
<GLTable
ref=
"clientGroupDetail"
@
setTableFinishFun=
"setTableFinishFun"
:hasNum=
"true"
:pageConf=
"pageConf"
:getListApi=
"getListApi"
:beforeSearchFn=
"beforeSearchFn"
:searchForm=
"searchFormTable"
:tableParams=
"tableParams"
:headerStyle=
"
{ height: '54px', background: '#F4F6FC', color: '#333333', fontSize: '14px' }" :noDataImg="url">
<span
slot=
"customerName"
class=
"flex-center"
slot-scope=
"scope"
>
...
...
@@ -45,9 +45,7 @@ export default {
type
:
'datePicker'
,
name
:
'daterange'
,
label
:
'入群时间'
,
datePickerAttrs
:
{
'value-format'
:
'yyyy-MM-dd'
},
valueFormat
:
'yyyy-MM-dd'
,
pickerOptions
:
{
disabledDate
(
time
)
{
return
time
.
getTime
()
>
Date
.
now
()
||
time
.
getTime
()
<
new
Date
(
'2017-12-31'
).
getTime
()
...
...
src/views/clientGroupManage/index.vue
View file @
533c6dc
...
...
@@ -50,9 +50,7 @@ export default {
type
:
'datePicker'
,
name
:
'daterange'
,
label
:
'创建时间'
,
datePickerAttrs
:
{
'value-format'
:
'yyyy-MM-dd'
},
valueFormat
:
'yyyy-MM-dd'
,
pickerOptions
:
{
disabledDate
(
time
)
{
return
time
.
getTime
()
>
Date
.
now
()
||
time
.
getTime
()
<
new
Date
(
'2017-12-31'
).
getTime
()
...
...
src/views/clientManage/clientDetail.vue
View file @
533c6dc
...
...
@@ -121,11 +121,12 @@
</div>
<div
class=
"expande-button"
v-if=
"expande"
@
click=
"expandeClick(false, 'expande')"
>
<span
class=
"font-14 color-58"
>
收起
</span>
<i
class=
"el-icon-arrow-
down
color-58"
></i>
<i
class=
"el-icon-arrow-
up
color-58"
></i>
</div>
<div
class=
"expande-button"
@
click=
"expandeClick(true, 'expande')"
v-if=
"vehicleTableData.length > 1 && !expande"
>
<span
class=
"font-14 color-58"
>
更多车辆
</span>
<i
class=
"el-icon-arrow-up color-58"
></i>
<i
class=
"el-icon-arrow-down color-58"
></i>
</div>
</div>
<layout-row
class=
"layout-detail"
:layoutData=
"vehicleTableData"
:layoutParams=
"vehicleTableParams"
:isHidden=
"expande"
></layout-row>
...
...
@@ -137,11 +138,12 @@
</div>
<div
class=
"expande-button"
v-if=
"deviceExpande"
@
click=
"expandeClick(false, 'deviceExpande')"
>
<span
class=
"font-14 color-58"
>
收起
</span>
<i
class=
"el-icon-arrow-
down
color-58"
></i>
<i
class=
"el-icon-arrow-
up
color-58"
></i>
</div>
<div
class=
"expande-button"
@
click=
"expandeClick(true, 'deviceExpande')"
v-if=
"deviceTableData.length > 1 && !deviceExpande"
>
<span
class=
"font-14 color-58"
>
更多设备
</span>
<i
class=
"el-icon-arrow-up color-58"
></i>
<i
class=
"el-icon-arrow-down color-58"
></i>
</div>
</div>
<layout-row
class=
"layout-detail"
:layoutData=
"deviceTableData"
:layoutParams=
"deviceTableParams"
:isHidden=
"deviceExpande"
></layout-row>
...
...
@@ -154,11 +156,12 @@
</div>
<div
class=
"expande-button"
v-if=
"guaranteeExpande"
@
click=
"expandeClick(false, 'guaranteeExpande')"
>
<span
class=
"font-14 color-58"
>
收起
</span>
<i
class=
"el-icon-arrow-
down
color-58"
></i>
<i
class=
"el-icon-arrow-
up
color-58"
></i>
</div>
<div
class=
"expande-button"
@
click=
"expandeClick(true, 'guaranteeExpande')"
v-if=
"guaranteeTableData.length > 1 && !guaranteeExpande"
>
<span
class=
"font-14 color-58"
>
更多保单
</span>
<i
class=
"el-icon-arrow-up color-58"
></i>
<i
class=
"el-icon-arrow-down color-58"
></i>
</div>
</div>
<layout-row
class=
"layout-detail"
:layoutData=
"guaranteeTableData"
:layoutParams=
"guaranteeTableParams"
:isHidden=
"guaranteeExpande"
></layout-row>
...
...
src/views/clientManage/index.vue
View file @
533c6dc
...
...
@@ -192,9 +192,7 @@ export default {
// prop: 'daterange',
name
:
'daterange'
,
label
:
'添加时间'
,
datePickerAttrs
:
{
'value-format'
:
'yyyy-MM-dd'
},
valueFormat
:
'yyyy-MM-dd'
,
pickerOptions
:
{
disabledDate
(
time
)
{
return
time
.
getTime
()
>
Date
.
now
()
||
time
.
getTime
()
<
new
Date
(
'2017-12-31'
).
getTime
()
...
...
@@ -293,7 +291,7 @@ export default {
{
label
:
'操作'
,
prop
:
'optionBtns'
,
width
:
'6
0
px'
,
width
:
'6
2
px'
,
addHtml
:
'optionBtns'
,
fixed
:
'right'
}
...
...
src/views/leadManage/leadBasicInfo.vue
View file @
533c6dc
...
...
@@ -14,7 +14,7 @@
<yl-descriptions
v-if=
"leadType == 5 || leadType == 6"
ref=
"ylDeacriptions"
:tableModel=
"orderDescriModel"
:showData=
"leadBaseList"
/>
</div>
<!-- 跟进记录 -->
<div
class=
"baseTitle"
>
<div
class=
"baseTitle"
>
<p
class=
"title"
>
跟进记录
</p>
<hr
/>
<div
class=
"timestamp"
v-if=
"this.leadFollowRecord.length > 0"
>
...
...
@@ -28,7 +28,7 @@
</el-timeline-item>
</el-timeline>
</div>
<div
class=
"noRecord"
v-else
>
<div
:style=
"
{ 'height': clientHeight- 450 + 'px' }"
class="noRecord" v-else>
<img
src=
"@/assets/leadManage/noRecord.png"
alt=
""
/>
</div>
</div>
...
...
@@ -268,6 +268,8 @@ export default {
.noRecord
{
display
:
flex
;
justify-content
:
center
;
align-items
:
center
;
overflow
:
hidden
;
//img如果超出这个div会隐藏超出部分
}
}
}
...
...
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