Commit 7380654c by 王志慧

commit

1 parent e0eac431
...@@ -32,11 +32,12 @@ export function getDataOverviewBarMap(params) { ...@@ -32,11 +32,12 @@ export function getDataOverviewBarMap(params) {
}) })
} }
//客户分群列表接口 // 获取自定义分群客户列表数据接口
export function getCustomerList(params) { export function getCustomerList(params) {
params.method = 'entmicro.api.customer.cluster.page' params.method = 'entmicro.api.customer.crowd.page'
return http3({ return http3({
url:'/rop-scrm-entmicro/router', url:'/rop-scrm-entmicro/router',
// url:'http://192.168.3.193:8395/rop-scrm-entmicro/router',
method: 'POST', method: 'POST',
data: params, data: params,
sign: true sign: true
......
...@@ -18,9 +18,9 @@ export const fetchConfig = function (isEnv = true) { ...@@ -18,9 +18,9 @@ export const fetchConfig = function (isEnv = true) {
return Promise.resolve(cfg) return Promise.resolve(cfg)
} }
return new Http({request:{timeout:3000}}).get('https://oss-config.test.glsx.com.cn/mock/616d3b131072f92988f05a01/custom/config2') // return new Http({request:{timeout:3000}}).get('https://oss-config.test.glsx.com.cn/mock/616d3b131072f92988f05a01/custom/config2')
//开发环境mock //开发环境mock
//return new Http({ request: { timeout: 3000 } }).get('http://192.168.3.171:7300/mock/616d3b131072f92988f05a01/custom/config2') return new Http({ request: { timeout: 3000 } }).get('http://192.168.3.171:7300/mock/616d3b131072f92988f05a01/custom/config2')
} }
export const config = { export const config = {
install(vue, cfg) { install(vue, cfg) {
......
...@@ -26,3 +26,43 @@ ...@@ -26,3 +26,43 @@
.el-range-editor.is-active:hover { .el-range-editor.is-active:hover {
border-color: $btnBlue; border-color: $btnBlue;
} }
.el-message-box {
width: 547px;
height:310px;
box-sizing: border-box;
padding-bottom: 10px;
}
.el-message-box__title {
padding-left: 0;
margin-bottom: 0;
font-size: 20px;
line-height: 1;
color: #333;
}
.el-message-box__title {
display: block!important;
}
.el-message-box__headerbtn {
display: block!important;
color:#666666;
}
.el-message-box__header {
position: relative;
padding: 15px 20px ;
border-bottom:1px solid #E6E6E6;
}
.el-message-box__content {
text-align: center;
padding: 60px 0;
}
.el-icon-warning {
display: block!important;
font-size:33px!important;
color: #5850FF!important;
position:relative;
left:50%;
transform: translateX(-50%);
margin-bottom:12px;
}
\ No newline at end of file \ No newline at end of file
...@@ -8,14 +8,14 @@ ...@@ -8,14 +8,14 @@
</div> --> </div> -->
<div class="content"> <div class="content">
<div class="leftWrap"> <div class="leftWrap">
<div class="avatorStyle"> <div class="avatorStyle">
<div class="avator"> <div class="avator">
<img :src="leftPanelInfo.avatar" alt="" v-if="leftPanelInfo.avatar" /> <img :src="leftPanelInfo.avatar" alt="" v-if="leftPanelInfo.avatar" />
<img src="@/assets/clientDetail/defaultAvator.png" alt="" v-else /> <img src="@/assets/clientDetail/defaultAvator.png" alt="" v-else />
</div>
<span class="customerID">客户ID:{{ leftPanelInfo.oneId }}</span>
</div> </div>
<span class="customerID" >客户ID:{{ leftPanelInfo.oneId }}</span> <hr />
</div>
<hr>
<div class="leftWrapTop"> <div class="leftWrapTop">
<div class="baseInfo"> <div class="baseInfo">
<span>基本信息</span> <span>基本信息</span>
...@@ -56,7 +56,7 @@ ...@@ -56,7 +56,7 @@
</p> </p>
<p> <p>
<span>证件号码:</span> <span>证件号码:</span>
<span class="ellipsis-1">{{leftPanelInfo.idCard}}</span> <span class="ellipsis-1">{{ leftPanelInfo.idCard }}</span>
</p> </p>
<p> <p>
<span>性别:</span> <span>性别:</span>
...@@ -417,24 +417,24 @@ export default { ...@@ -417,24 +417,24 @@ export default {
{ {
label: '跟进员工', label: '跟进员工',
prop: 'staffName', prop: 'staffName',
//align: 'left' align: 'left'
}, },
{ {
label: '所属部门', label: '所属部门',
prop: 'departmentName', prop: 'departmentName',
//align: 'left' align: 'left'
}, },
{ {
label: '添加时间', label: '添加时间',
prop: 'addTime', prop: 'addTime',
minWidth: 160, minWidth: 160,
//align: 'left' align: 'left'
}, },
{ {
label: '来源', label: '来源',
prop: 'addWay', prop: 'addWay',
addHtml: 'addWay', addHtml: 'addWay',
//align: 'left', align: 'left',
minWidth: 120 minWidth: 120
}, },
{ {
...@@ -442,23 +442,23 @@ export default { ...@@ -442,23 +442,23 @@ export default {
prop: 'addType', prop: 'addType',
addHtml: 'addType', addHtml: 'addType',
width: 170, width: 170,
//align: 'left' align: 'left'
}, },
{ {
label: '备注手机号', label: '备注手机号',
prop: 'remarkMobiles', prop: 'remarkMobiles',
minWidth: 120, minWidth: 120,
//align: 'left' align: 'left'
}, },
{ {
label: '备注', label: '备注',
prop: 'remark', prop: 'remark',
//align: 'left' align: 'left'
}, },
{ {
label: '描述', label: '描述',
prop: 'description', prop: 'description',
//align: 'left' align: 'left'
} }
] ]
}, },
...@@ -471,27 +471,27 @@ export default { ...@@ -471,27 +471,27 @@ export default {
label: '群聊名称', label: '群聊名称',
prop: 'groupName', prop: 'groupName',
addHtml: 'groupName', addHtml: 'groupName',
//align: 'left' align: 'left'
}, },
{ {
label: '群主', label: '群主',
prop: 'groupHostName', prop: 'groupHostName',
//align: 'left' align: 'left'
}, },
{ {
label: '客户数', label: '客户数',
prop: 'membersNumber', prop: 'membersNumber',
//align: 'left' align: 'left'
}, },
{ {
label: '本群昵称', label: '本群昵称',
prop: 'groupNickName', prop: 'groupNickName',
//align: 'left' align: 'left'
}, },
{ {
label: '入群时间', label: '入群时间',
prop: 'joinTime', prop: 'joinTime',
//align: 'left' align: 'left'
}, },
{ {
label: '操作', label: '操作',
...@@ -531,7 +531,7 @@ export default { ...@@ -531,7 +531,7 @@ export default {
label: '已打标签', label: '已打标签',
prop: 'labelInfoList', prop: 'labelInfoList',
addHtml: 'labelInfoList', addHtml: 'labelInfoList',
//align: 'left' align: 'left'
} }
] ]
}, },
...@@ -953,21 +953,20 @@ export default { ...@@ -953,21 +953,20 @@ export default {
padding: 0 20px; padding: 0 20px;
.baseInfo { .baseInfo {
padding-top: 5px; padding-top: 5px;
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
span { span {
font-size: 16px; font-size: 16px;
font-weight: 600; font-weight: 600;
} }
.iconStyle{ .iconStyle {
width: 16px; width: 16px;
height: 16px; height: 16px;
color: #666666; color: #666666;
} }
} }
} }
.avatorStyle{ .avatorStyle {
padding-bottom: 5px; padding-bottom: 5px;
} }
.avator { .avator {
...@@ -1255,5 +1254,8 @@ export default { ...@@ -1255,5 +1254,8 @@ export default {
margin-bottom: 10px; margin-bottom: 10px;
} }
} }
.table /deep/ .line-ellipsis {
white-space: nowrap;
}
} }
</style> </style>
...@@ -220,75 +220,75 @@ export default { ...@@ -220,75 +220,75 @@ export default {
label: '客户ID', label: '客户ID',
prop: 'oneId', prop: 'oneId',
minWidth: 150, minWidth: 150,
// //align: 'left' //align: 'left'
}, },
{ {
label: '客户名称', label: '客户名称',
prop: 'customerName', prop: 'customerName',
addHtml: 'customerName', addHtml: 'customerName',
minWidth: 130, minWidth: 130,
// //align: 'left' //align: 'left'
}, },
{ {
label: '企微名称', label: '企微名称',
prop: 'nickNameList', prop: 'nickNameList',
addHtml: 'nickNameList', addHtml: 'nickNameList',
minWidth: 170, minWidth: 170,
// //align: 'left' //align: 'left'
}, },
{ {
label: '联系电话', label: '联系电话',
prop: 'customerPhone', prop: 'customerPhone',
addHtml: 'customerPhone', addHtml: 'customerPhone',
minWidth: 110, minWidth: 110,
// //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: 120,
// //align: 'left' //align: 'left'
}, },
{ {
label: '是否加企微', //1. 加入,0.未加入 label: '是否加企微', //1. 加入,0.未加入
prop: 'isJoin', prop: 'isJoin',
addHtml: 'isJoin', addHtml: 'isJoin',
width: 100, width: 100,
// //align: 'left' //align: 'left'
}, },
{ {
label: '当前状态', label: '当前状态',
prop: 'status', prop: 'status',
addHtml: 'status', addHtml: 'status',
minWidth: 100, minWidth: 100,
// //align: 'left' //align: 'left'
}, },
{ {
label: '所属渠道', label: '所属渠道',
prop: 'sourceChannel', prop: 'sourceChannel',
width: 150, width: 150,
// //align: 'left' //align: 'left'
}, },
{ {
label: '添加来源', label: '添加来源',
prop: 'addWay', prop: 'addWay',
addHtml: 'addWay', addHtml: 'addWay',
minWidth: 100, minWidth: 100,
// //align: 'left' //align: 'left'
}, },
{ {
label: '添加时间', label: '添加时间',
prop: 'addTime', prop: 'addTime',
width: 150, width: 150,
// //align: 'left' //align: 'left'
}, },
{ {
label: '操作', label: '操作',
......
...@@ -115,7 +115,7 @@ ...@@ -115,7 +115,7 @@
<div class="footer-panel"> <div class="footer-panel">
<div> <div>
<el-button type="primary" @click="handleSubmit">确定</el-button> <el-button type="primary" @click="handleSubmit">确定</el-button>
<el-button class="cancel-button" @click="handleCancel">取消</el-button> <el-button class="cancel-button" @click="handleCancel">取消</el-button>
</div> </div>
</div> </div>
<el-dialog title="人群规则说明" class="crowd-dialog" width="720px" :before-close="handleClose" :visible.sync="dialogRuleVisible" :show-close="isShowCloseBtn"> <el-dialog title="人群规则说明" class="crowd-dialog" width="720px" :before-close="handleClose" :visible.sync="dialogRuleVisible" :show-close="isShowCloseBtn">
...@@ -210,20 +210,20 @@ export default { ...@@ -210,20 +210,20 @@ export default {
{ {
label: '标签组', label: '标签组',
prop: 'groupName', prop: 'groupName',
width: 180, width: 230,
align: '' align: 'left'
}, },
{ {
label: '标签组类型', label: '标签组类型',
prop: 'groupType', prop: 'groupType',
width: 180 width: 180,
//align: 'left' align: 'left'
}, },
{ {
label: '标签', label: '标签',
prop: 'labelUnitList', prop: 'labelUnitList',
addHtml: 'labelUnitList' addHtml: 'labelUnitList',
//align: 'left' align: 'left'
} }
] ]
}, },
...@@ -383,13 +383,16 @@ export default { ...@@ -383,13 +383,16 @@ export default {
open(value) { open(value) {
if (value == 'dialogLogicVisible' && this.selectedArray.length == 0) { if (value == 'dialogLogicVisible' && this.selectedArray.length == 0) {
this.$confirm('暂未选中标签,无法生成人群规则逻辑,快去选标签吧?', '提示', { this.$confirm('暂未选中标签,无法生成人群规则逻辑,快去选标签吧?', '提示', {
confirmButtonText: '确定', confirmButtonText: '我知道了',
cancelButtonText: '取消',
showCancelButton: false,
type: 'warning' type: 'warning'
}) })
.then(() => { .then(() => {
this[value] = false this[value] = false
}) })
.catch(() => {}) .catch(() => {})
return return
} }
this[value] = true this[value] = true
...@@ -893,8 +896,8 @@ export default { ...@@ -893,8 +896,8 @@ export default {
left: 50%; left: 50%;
top: 50%; top: 50%;
margin-left: -220px; margin-left: -220px;
.cancel-button{ .cancel-button {
margin-left:20px; margin-left: 20px;
} }
} }
} }
......
...@@ -120,20 +120,20 @@ export default { ...@@ -120,20 +120,20 @@ export default {
{ {
label: '标签组', label: '标签组',
prop: 'groupName', prop: 'groupName',
width: 180 width: 180,
//align: 'left' align: 'left'
}, },
{ {
label: '标签组类型', label: '标签组类型',
prop: 'groupType', prop: 'groupType',
width: 180 width: 180,
//align: 'left' align: 'left'
}, },
{ {
label: '标签', label: '标签',
prop: 'labelUnitList', prop: 'labelUnitList',
addHtml: 'labelUnitList' addHtml: 'labelUnitList',
//align: 'left' align: 'left'
} }
] ]
}, },
......
...@@ -58,28 +58,28 @@ export default { ...@@ -58,28 +58,28 @@ export default {
tableColumns: [ tableColumns: [
{ {
label: '人群名称', label: '人群名称',
prop: 'crowdName' prop: 'crowdName',
// addHtml: 'crowdName', // addHtml: 'crowdName',
//align: 'left' align: 'left'
}, },
{ {
label: '人群描述', label: '人群描述',
prop: 'crowdDesc' prop: 'crowdDesc',
//align: 'left' align: 'left'
// width: 180 // width: 180
}, },
{ {
label: '人数', label: '人数',
prop: 'total' prop: 'total',
// addHtml: 'total', // addHtml: 'total',
//align: 'left' align: 'left'
}, },
{ {
label: '操作', label: '操作',
prop: 'xxx', prop: 'xxx',
fixed: 'right', fixed: 'right',
addHtml: 'xxx', addHtml: 'xxx',
//align: 'left', align: 'left',
width: 180 width: 180
} }
] ]
...@@ -168,14 +168,13 @@ export default { ...@@ -168,14 +168,13 @@ export default {
padding: 5px 16px; padding: 5px 16px;
color: #fff; color: #fff;
font-size: 16px; font-size: 16px;
margin-bottom:10px; margin-bottom: 10px;
&:hover { &:hover {
background-color: $lightBtnBlue; background-color: $lightBtnBlue;
} }
} }
/deep/ .el-tabs__header{ /deep/ .el-tabs__header {
margin: 0 0 20px margin: 0 0 20px;
;
} }
/deep/ .el-tabs__nav-wrap::after { /deep/ .el-tabs__nav-wrap::after {
content: none; content: none;
...@@ -183,9 +182,12 @@ export default { ...@@ -183,9 +182,12 @@ export default {
/deep/ .el-tabs__item { /deep/ .el-tabs__item {
font-size: 16px; font-size: 16px;
color: #5850ff; color: #717171;
letter-spacing: 0.8px; letter-spacing: 0.8px;
// font-weight: 600; }
/deep/ .is-active {
color: #5850ff;
font-weight: 500;
} }
.leftDistance { .leftDistance {
margin-left: 10px; margin-left: 10px;
...@@ -202,13 +204,12 @@ export default { ...@@ -202,13 +204,12 @@ export default {
margin-left: 10px; margin-left: 10px;
} }
.searchTop { .searchTop {
// margin-left:45px; /deep/ .el-form-item:nth-child(2) {
// /deep/ .el-input__inner{ position: static !important;
// width: 400px; .el-form-item__content{
// } margin-left:15px!important;
// .inline-b{ }
// margin-right: 700px; }
// }
} }
.allTagsWrap { .allTagsWrap {
position: relative; position: relative;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!