Commit 229f2a6c by 杨明

Merge branch 'v2.1.0' of http://192.168.3.233:8090/saas/scrm-micro-custom into yangm_dev_v2.1.0

2 parents a8d4d1c6 4bcb4cbc
...@@ -19,15 +19,25 @@ ...@@ -19,15 +19,25 @@
全部客户 全部客户
<span class="main-container-head-number font-14">{{ totalCount }}个</span> <span class="main-container-head-number font-14">{{ totalCount }}个</span>
</div> </div>
<el-button type="primary" class="export flex" @click="handleExport()">导出</el-button> <el-button class="export" size="small" @click="handleExport()">导出</el-button>
</div> </div>
<GLTable ref="groupRef" :getListApi="getListApi" :searchForm="tableSearchForm" :tableParams="tableParams" :noDataImg="url" :pageConf="pageConf" :beforeSearchFn="beforeSearchFn" @setTableFinishFun="setTableFinishFun"> <GLTable ref="groupRef" :getListApi="getListApi" :searchForm="tableSearchForm" :tableParams="tableParams" :noDataImg="url" :pageConf="pageConf" :beforeSearchFn="beforeSearchFn" @setTableFinishFun="setTableFinishFun">
<span slot="customerName" class="flex-center" slot-scope="scope"> <span slot="customerName" slot-scope="scope" style="display:flex;align-items:center">
<el-tooltip effect="dark" :content="scope.scope.customerName" placement="top"> <el-tooltip effect="dark" :content="scope.scope.customerName" placement="top">
<span class="ellipsis-1" style="display: inline-block; max-width: 70px; text-align: left">{{ scope.scope.customerName }}</span> <span class="ellipsis-1" style="display: inline-block; max-width: 70px; text-align: left">{{ scope.scope.customerName }}</span>
</el-tooltip> </el-tooltip>
<span style="font-size: 12px" :class="[scope.scope.type == 1 ? 'pure-blue-text' : '', scope.scope.type == 2 ? 'pure-yello-text' : '']">{{ scope.scope.type == 1 ? '@微信' : scope.scope.type == 2 ? '@企微' : '' }}</span> <span
style="margin-left: 2px;
height: 20px;
font-size: 12px;
letter-spacing: 0;
line-height: 20px;
font-weight: 400;"
:class="[scope.scope.type == 1 ? 'pure-blue-text' : '', scope.scope.type == 2 ? 'pure-yello-text' : '']"
>
{{ scope.scope.type == 1 ? '@微信' : scope.scope.type == 2 ? '@企微' : '' }}
</span>
</span> </span>
<!-- 企微名称 --> <!-- 企微名称 -->
<div slot="nickNameList" slot-scope="scope" class="expandImg"> <div slot="nickNameList" slot-scope="scope" class="expandImg">
...@@ -129,43 +139,44 @@ export default { ...@@ -129,43 +139,44 @@ export default {
label: '客户名称', label: '客户名称',
prop: 'customerName', prop: 'customerName',
addHtml: 'customerName', addHtml: 'customerName',
minWidth: '120' minWidth: 150
}, },
{ {
label: '企微名称', label: '企微名称',
prop: 'nickNameList', prop: 'nickNameList',
addHtml: 'nickNameList', addHtml: 'nickNameList',
minWidth: 200 minWidth: 220
}, },
{ {
label: '联系电话', label: '联系电话',
prop: 'customerPhone', prop: 'customerPhone',
minWidth: '110' minWidth: 130
}, },
{ {
label: '车牌号', label: '车牌号',
prop: 'carNumber' prop: 'carNumber',
minWidth: 120
}, },
{ {
label: '车架号', label: '车架号',
prop: 'carVin', prop: 'carVin',
minWidth: '110' minWidth: 140
}, },
{ {
label: '车系', label: '车系',
prop: 'audi', prop: 'audi',
line: 2 minWidth: 170
}, },
{ {
label: '跟进员工', label: '跟进员工',
prop: 'followStaff', prop: 'followStaff',
// addHtml: 'followStaff', // addHtml: 'followStaff',
minWidth: 140 minWidth: 170
}, },
{ {
label: '是否加企微', //1. 加入,0.未加入 label: '是否加企微', //1. 加入,0.未加入
prop: 'isJoinName', prop: 'isJoinName',
width: 100 width: 130
}, },
{ {
label: '购车时间', label: '购车时间',
...@@ -281,7 +292,6 @@ export default { ...@@ -281,7 +292,6 @@ export default {
@import '@/styles/variables.scss'; @import '@/styles/variables.scss';
.expandImg { .expandImg {
display: flex; display: flex;
justify-content: center;
.smallFontSize { .smallFontSize {
margin-left: 2px; margin-left: 2px;
height: 20px; height: 20px;
...@@ -358,14 +368,8 @@ export default { ...@@ -358,14 +368,8 @@ export default {
line-height: 20px; line-height: 20px;
} }
.export { .export {
width: 74px; color: #5850ff;
height: 32px; border: 1px solid #5850ff;
box-sizing: border-box;
// font-weight: 400;
padding: 6px 23px;
// background: #ffffff;
// border-radius: 4px;
// border: 1px solid rgba(105, 105, 105, 0.3);
} }
} }
} }
......
...@@ -230,23 +230,23 @@ export default { ...@@ -230,23 +230,23 @@ export default {
.sub-container { .sub-container {
@import '@/styles/variables.scss'; @import '@/styles/variables.scss';
@import '@/styles/resetelement.scss'; @import '@/styles/resetelement.scss';
.leadList { .leadList {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
margin-bottom: 8px; margin-bottom: 8px;
div { div {
text-align: center; text-align: center;
span:nth-child(1) { span:nth-child(1) {
font-weight: 600; font-weight: 600;
font-size: 16px; font-size: 16px;
}
}
/deep/ .el-button {
color: #5850ff;
border: 1px solid #5850ff;
} }
} }
/deep/ .el-button {
color: #5850ff;
border: 1px solid #5850ff;
}
}
/deep/.sub-form-style { /deep/.sub-form-style {
@media screen and (min-width: 1440px) and (max-width: 1720px) { @media screen and (min-width: 1440px) and (max-width: 1720px) {
.glsx-combi-form .el-form-item--small { .glsx-combi-form .el-form-item--small {
......
...@@ -139,17 +139,17 @@ export default { ...@@ -139,17 +139,17 @@ export default {
{ {
label: '当前客户数', label: '当前客户数',
prop: 'totalCount', prop: 'totalCount',
minWidth: 100 minWidth: 110
}, },
{ {
label: '当日新增入群客户数', label: '当日新增入群客户数',
prop: 'newCustomerCount', prop: 'newCustomerCount',
minWidth: 150 minWidth: 160
}, },
{ {
label: '当日新增退群客户数', label: '当日新增退群客户数',
prop: 'delCustomerCount', prop: 'delCustomerCount',
minWidth: 150 minWidth: 160
}, },
{ {
label: '当前跟进员工数', label: '当前跟进员工数',
...@@ -183,7 +183,7 @@ export default { ...@@ -183,7 +183,7 @@ export default {
{ {
label: '创建时间', label: '创建时间',
prop: 'addTime', prop: 'addTime',
width: 140 width: 170
} }
], ],
tableOption: { tableOption: {
......
...@@ -3,16 +3,15 @@ ...@@ -3,16 +3,15 @@
<div class="scrm-sub-client-container"> <div class="scrm-sub-client-container">
<!-- <p class="pageTitle">客户管理</p> --> <!-- <p class="pageTitle">客户管理</p> -->
<div class="pageContent"> <div class="pageContent">
<GLCombiForm :formObj="searchForm" :formData="clientManageFormList" @handleOk="searchTable" @handleRest="resetTable"> <GLCombiForm :formObj="searchForm" :formData="clientManageFormList" @handleOk="searchTable" @handleRest="resetTable"></GLCombiForm>
</GLCombiForm> <div class="leadList">
<div class="leadList">
<div> <div>
<span></span> <span></span>
</div> </div>
<el-button size="small" @click="handleExport">导出</el-button> <el-button size="small" @click="handleExport">导出</el-button>
</div> </div>
<GLTable @setTableFinishFun="setTableFinishFun" v-if="isReload" ref="clientManage" :hasNum="true" :getListApi="getListApi" :beforeSearchFn="beforeSearchFn" :searchForm="searchFormTable" :noDataImg="url" :pageConf="pageConf" :tableParams="tableParams"> <GLTable @setTableFinishFun="setTableFinishFun" v-if="isReload" ref="clientManage" :hasNum="true" :getListApi="getListApi" :beforeSearchFn="beforeSearchFn" :searchForm="searchFormTable" :noDataImg="url" :pageConf="pageConf" :tableParams="tableParams">
<span slot="customerName" class="flex-center" slot-scope="scope"> <span slot="customerName" slot-scope="scope">
<el-tooltip effect="dark" :content="scope.scope.customerName" placement="top"> <el-tooltip effect="dark" :content="scope.scope.customerName" placement="top">
<span class="ellipsis-1" style="display: inline-block; max-width: 70px; text-align: left">{{ scope.scope.customerName }}</span> <span class="ellipsis-1" style="display: inline-block; max-width: 70px; text-align: left">{{ scope.scope.customerName }}</span>
</el-tooltip> </el-tooltip>
...@@ -105,8 +104,7 @@ export default { ...@@ -105,8 +104,7 @@ export default {
url: url, url: url,
sloading: false, sloading: false,
CLIENTSTATUS: this.$Constants.CLIENT_STATUS, CLIENTSTATUS: this.$Constants.CLIENT_STATUS,
searchForm: { searchForm: {},
},
searchFormTable: {}, searchFormTable: {},
clientManageFormList: [ clientManageFormList: [
{ {
...@@ -235,14 +233,13 @@ export default { ...@@ -235,14 +233,13 @@ export default {
{ {
label: '客户ID', label: '客户ID',
prop: 'oneId', prop: 'oneId',
minWidth:180 minWidth: 170
}, },
{ {
label: '客户名称', label: '客户名称',
prop: 'customerName', prop: 'customerName',
addHtml: 'customerName', addHtml: 'customerName',
minWidth:100 width: 120
}, },
{ {
label: '企微名称', label: '企微名称',
...@@ -255,28 +252,28 @@ export default { ...@@ -255,28 +252,28 @@ export default {
label: '联系电话', label: '联系电话',
prop: 'customerPhone', prop: 'customerPhone',
addHtml: 'customerPhone', addHtml: 'customerPhone',
minWidth: 110 minWidth: 130
//align: 'left' //align: 'left'
}, },
{ {
label: '性别', label: '性别',
prop: 'customerSex', prop: 'customerSex',
addHtml: 'customerSex', addHtml: 'customerSex'
minWidth: 80 // minWidth: 80
//align: 'left' //align: 'left'
}, },
{ {
label: '跟进员工', label: '跟进员工',
prop: 'followStaff', prop: 'followStaff',
addHtml: 'followStaff', addHtml: 'followStaff',
minWidth: 120 minWidth: 130
//align: 'left' //align: 'left'
}, },
{ {
label: '是否加企微', //1. 加入,0.未加入 label: '是否加企微', //1. 加入,0.未加入
prop: 'isJoin', prop: 'isJoin',
addHtml: 'isJoin', addHtml: 'isJoin',
width: 100 width: 120
//align: 'left' //align: 'left'
}, },
{ {
...@@ -289,20 +286,20 @@ export default { ...@@ -289,20 +286,20 @@ export default {
{ {
label: '所属渠道', label: '所属渠道',
prop: 'sourceChannel', prop: 'sourceChannel',
width: 150 minWidth: 100
//align: 'left' //align: 'left'
}, },
{ {
label: '添加来源', label: '添加来源',
prop: 'addWay', prop: 'addWay',
addHtml: 'addWay', addHtml: 'addWay',
minWidth: 100 minWidth: 120
//align: 'left' //align: 'left'
}, },
{ {
label: '添加时间', label: '添加时间',
prop: 'addTime', prop: 'addTime',
width: 150 width: 170
//align: 'left' //align: 'left'
}, },
{ {
...@@ -519,7 +516,7 @@ export default { ...@@ -519,7 +516,7 @@ export default {
@import '@/styles/resetelement.scss'; @import '@/styles/resetelement.scss';
.expandImg { .expandImg {
display: flex; display: flex;
justify-content: center; // justify-content: center;
.smallFontSize { .smallFontSize {
margin-left: 2px; margin-left: 2px;
height: 20px; height: 20px;
...@@ -552,7 +549,7 @@ export default { ...@@ -552,7 +549,7 @@ export default {
letter-spacing: 1px; letter-spacing: 1px;
} }
.pageContent { .pageContent {
.leadList { .leadList {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
...@@ -563,7 +560,6 @@ export default { ...@@ -563,7 +560,6 @@ export default {
font-weight: 600; font-weight: 600;
font-size: 16px; font-size: 16px;
} }
} }
/deep/ .el-button { /deep/ .el-button {
color: #5850ff; color: #5850ff;
......
...@@ -66,15 +66,16 @@ export default { ...@@ -66,15 +66,16 @@ export default {
label: '人群名称', label: '人群名称',
prop: 'crowdName', prop: 'crowdName',
addHtml: 'crowdName', addHtml: 'crowdName',
align: 'left' align: 'left',
minWidth:160
// width: 431 // width: 431
}, },
{ {
label: '人群描述', label: '人群描述',
prop: 'crowdDesc', prop: 'crowdDesc',
addHtml: 'crowdDesc', addHtml: 'crowdDesc',
align: 'left' align: 'left',
// width: 431 minWidth:160
}, },
{ {
label: '人数', label: '人数',
......
...@@ -167,43 +167,47 @@ export default { ...@@ -167,43 +167,47 @@ export default {
{ {
label: '单号', label: '单号',
prop: 'orderNo', prop: 'orderNo',
minWidth: 90 minWidth: 180
}, },
{ {
label: '客户名称', label: '客户名称',
prop: 'name' prop: 'name',
minWidth: 150
}, },
{ {
label: '手机号', label: '手机号',
prop: 'phone' prop: 'phone',
minWidth: 150
}, },
{ {
label: '线索类型', label: '线索类型',
prop: 'type', prop: 'type',
addHtml: 'type' addHtml: 'type',
minWidth: 120
}, },
{ {
label: '线索状态', label: '线索状态',
prop: 'status', prop: 'status',
addHtml: 'status' addHtml: 'status',
minWidth: 120
}, },
{ {
label: '跟进人', label: '跟进人',
prop: 'userName', prop: 'userName',
addHtml: 'userName', addHtml: 'userName',
minWidth: 120 minWidth: 140
}, },
{ {
label: '创建时间', label: '创建时间',
prop: 'createdDate', prop: 'createdDate',
minWidth: 100 minWidth: 180
}, },
{ {
label: '操作', label: '操作',
prop: 'options', prop: 'options',
fixed: 'right', fixed: 'right',
addHtml: 'options', addHtml: 'options',
width: 180 width: 80
} }
] ]
}, },
...@@ -303,9 +307,14 @@ export default { ...@@ -303,9 +307,14 @@ export default {
border: 1px solid #5850ff; border: 1px solid #5850ff;
} }
} }
/deep/ .el-tag {
height: 26px;
line-height: 26px;
padding: 0 8px;
}
} }
.blue-text{ .blue-text {
color:#5850ff ; color: #5850ff;
} }
} }
/deep/.el-dialog__body { /deep/.el-dialog__body {
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
<label> <label>
售前线索跟进员工 售前线索跟进员工
<el-popover placement="top" width="400" trigger="hover" content="请在首页-跟进专员模块里创建售前专员,并选择员工来跟进新车询价、试驾预约线索。"> <el-popover placement="top" width="400" trigger="hover" content="请在首页-跟进专员模块里创建售前专员,并选择员工来跟进新车询价、试驾预约线索。">
<img src="@/assets/leadManage/question.png" slot="reference" class="count-item-question" /> <img src="@/assets/leadManage/grayquestion.png" slot="reference" class="count-item-question" />
</el-popover> </el-popover>
: :
</label> </label>
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
<label> <label>
售后线索跟进员工 售后线索跟进员工
<el-popover placement="top" width="400" trigger="hover" content="请在首页-跟进专员模块里创建售前专员,并选择员工来跟进维保预约、救援服务线索。"> <el-popover placement="top" width="400" trigger="hover" content="请在首页-跟进专员模块里创建售前专员,并选择员工来跟进维保预约、救援服务线索。">
<img src="@/assets/leadManage/question.png" slot="reference" class="count-item-question" /> <img src="@/assets/leadManage/grayquestion.png" slot="reference" class="count-item-question" />
</el-popover> </el-popover>
: :
</label> </label>
...@@ -86,7 +86,7 @@ export default { ...@@ -86,7 +86,7 @@ export default {
}, //已选择的员工 }, //已选择的员工
clientHeight: '', clientHeight: '',
type: '', type: '',
followStaffLists: [], //跟进员工列表 followStaffLists: [] //跟进员工列表
} }
}, },
created() { created() {
...@@ -177,20 +177,25 @@ export default { ...@@ -177,20 +177,25 @@ export default {
color: #666; color: #666;
display: inline-block; display: inline-block;
outline: none; outline: none;
padding: 5px 5px 0px 5px; padding-left: 5px;
max-height: 68px; max-height: 68px;
overflow: auto; overflow: auto;
flex-wrap: wrap;
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: 567px; width: 567px;
display: flex; display: flex;
// align-items: center; align-items: center;
margin-top: 6px; margin-top: 6px;
font-size: 14px; font-size: 14px;
height: 46px; height: 46px;
/deep/ .el-tag {
height: 26px;
line-height: 26px;
padding:0 8px;
margin-left: 5px;
}
i { i {
// margin-left: 3px;
color: #75acff; color: #75acff;
margin-right: 3px;
font-size: 14px; font-size: 14px;
} }
} }
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
<div class="timestamp"> <div class="timestamp">
<el-timeline> <el-timeline>
<el-timeline-item v-for="(item, index) in leadFollowRecord" :key="index" :timestamp="item.followDate" placement="top" :color="index === 0 ? '#5850FF' : ''"> <el-timeline-item v-for="(item, index) in leadFollowRecord" :key="index" :timestamp="item.followDate" placement="top" :color="index === 0 ? '#5850FF' : ''">
<p class="conductor">处理人:{{ item.userName }}</p> <p class="conductor">处理人:<span>{{ item.userName }}</span></p>
<p class="remark">{{ item.remark }}</p> <p class="remark">{{ item.remark }}</p>
</el-timeline-item> </el-timeline-item>
</el-timeline> </el-timeline>
...@@ -235,6 +235,9 @@ export default { ...@@ -235,6 +235,9 @@ export default {
} }
.conductor { .conductor {
font-size: 14px; font-size: 14px;
>span{
padding-left: 8px;
}
} }
.remark { .remark {
font-size: 12px; font-size: 12px;
......
...@@ -1414,4 +1414,4 @@ export default { ...@@ -1414,4 +1414,4 @@ export default {
margin-bottom: 5px; margin-bottom: 5px;
} }
} }
</style> </style>
\ No newline at end of file \ No newline at end of file
...@@ -41,7 +41,7 @@ ...@@ -41,7 +41,7 @@
<div class="clientNumText">{{ tableTotal }}个</div> <div class="clientNumText">{{ tableTotal }}个</div>
</div> </div>
</div> </div>
<el-button class="export" size="small" type="primary" @click="handleExport">导出</el-button> <el-button class="export" size="small" @click="handleExport">导出</el-button>
</div> </div>
<GLTable @setTableFinishFun="setTableFinishFun" v-if="isReload" ref="viewCustomers" :layout="layout" :hasNum="true" :tableData="tableData" :tableTotal="tableTotal" :noDataImg="url" :pageConf="pageConf" :searchForm="searchFormTable" @refreshTable="getCustomersListData" :tableParams="tableParams"> <GLTable @setTableFinishFun="setTableFinishFun" v-if="isReload" ref="viewCustomers" :layout="layout" :hasNum="true" :tableData="tableData" :tableTotal="tableTotal" :noDataImg="url" :pageConf="pageConf" :searchForm="searchFormTable" @refreshTable="getCustomersListData" :tableParams="tableParams">
<span slot="qiweimingcheng" slot-scope="scope"> <span slot="qiweimingcheng" slot-scope="scope">
...@@ -249,39 +249,39 @@ export default { ...@@ -249,39 +249,39 @@ export default {
{ {
label: '联系电话', label: '联系电话',
prop: 'customerPhone', prop: 'customerPhone',
minWidth: 110 minWidth: 140
}, },
{ {
label: '车牌号', label: '车牌号',
prop: 'carNumber' prop: 'carNumber',
// width: 160 width: 140
}, },
{ {
label: '车架号(后6位)', label: '车架号(后6位)',
prop: 'carVin', prop: 'carVin',
addHtml: 'carVin', addHtml: 'carVin',
minWidth: '110' minWidth: 140
}, },
{ {
label: '车系', label: '车系',
prop: 'audi' prop: 'audi',
// width: 160 minWidth: 140
}, },
{ {
label: '跟进员工', label: '跟进员工',
prop: 'followStaff', prop: 'followStaff',
minWidth: 120 minWidth: 180
}, },
{ {
label: '是否加企微', label: '是否加企微',
prop: 'isJoin', prop: 'isJoin',
addHtml: 'isJoin', addHtml: 'isJoin',
minWidth: 100 minWidth: 120
}, },
{ {
label: '添加时间', label: '添加时间',
prop: 'addTime', prop: 'addTime',
minWidth: 150 minWidth: 170
} }
] ]
}, },
...@@ -517,7 +517,7 @@ export default { ...@@ -517,7 +517,7 @@ export default {
.expandImg { .expandImg {
display: flex; display: flex;
justify-content: center; // justify-content: center;
.smallFontSize { .smallFontSize {
margin-left: 2px; margin-left: 2px;
height: 20px; height: 20px;
...@@ -587,7 +587,9 @@ export default { ...@@ -587,7 +587,9 @@ export default {
} }
} }
.export { .export {
} color: #5850ff;
border: 1px solid #5850ff;
}
} }
::v-deep .el-dialog { ::v-deep .el-dialog {
height: 100%; height: 100%;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!