Commit f2be8785 by 徐忆琳

Merge branch 'xuyl_dev_v2.0.0' into 'v2.0.0'

更新v2.0.0

See merge request !5
2 parents e73908d5 de253457
......@@ -219,65 +219,76 @@ export default {
{
label: '客户ID',
prop: 'oneId',
minWidth: 160
minWidth: 150,
// //align: 'left'
},
{
label: '客户名称',
prop: 'customerName',
addHtml: 'customerName',
minWidth: 150
minWidth: 130,
// //align: 'left'
},
{
label: '企微名称',
prop: 'nickNameList',
addHtml: 'nickNameList',
minWidth: 200
minWidth: 170,
// //align: 'left'
},
{
label: '联系电话',
prop: 'customerPhone',
addHtml: 'customerPhone',
minWidth: 110
minWidth: 110,
// //align: 'left'
},
{
label: '性别',
prop: 'customerSex',
addHtml: 'customerSex',
minWidth: 80
minWidth: 80,
// //align: 'left'
},
{
label: '跟进员工',
prop: 'followStaff',
addHtml: 'followStaff',
minWidth: 120
minWidth: 120,
// //align: 'left'
},
{
label: '是否加企微', //1. 加入,0.未加入
prop: 'isJoin',
addHtml: 'isJoin',
width: 100
width: 100,
// //align: 'left'
},
{
label: '当前状态',
prop: 'status',
addHtml: 'status',
minWidth: 100
minWidth: 100,
// //align: 'left'
},
{
label: '所属渠道',
prop: 'sourceChannel',
width: 120
width: 150,
// //align: 'left'
},
{
label: '添加来源',
prop: 'addWay',
addHtml: 'addWay',
minWidth: 100
minWidth: 100,
// //align: 'left'
},
{
label: '添加时间',
prop: 'addTime',
width: 150
width: 150,
// //align: 'left'
},
{
label: '操作',
......@@ -380,7 +391,7 @@ export default {
return
}
// addWaySource
const id = this.clientManageFormList.findIndex(item => {
const id = this.clientManageFormList.findIndex(item => {
return item.name == 'addWaySource'
})
let data = res.map(item => {
......@@ -403,6 +414,9 @@ export default {
staffName: val ? val.trim() : ''
}
getStaffList(params).then(res => {
if (res.length == 0) {
return ''
}
const id = this.clientManageFormList.findIndex(item => {
return item.name == 'followStaffList'
})
......
......@@ -3,7 +3,7 @@
<el-tabs v-model="activeName" @tab-click="handleClick()">
<el-tab-pane label="推荐人群" name="first"></el-tab-pane>
<el-tab-pane label="自定义人群" name="second">
<GLButton class="addBtn" fn="新建人群" @click="addClick">+ 新建人群</GLButton>
<GLButton class="addBtn" fn="新建人群" @click="addClick"><i class="el-icon-plus"></i> 新建人群</GLButton>
</el-tab-pane>
</el-tabs>
<div class="pageContent">
......@@ -15,9 +15,10 @@
</search-form>
<GLTable @setTableFinishFun="setTableFinishFun" v-if="isReload" ref="crowdManage" :hasNum="false" :getListApi="getListApi" :beforeSearchFn="beforeSearchFn" :searchForm="searchForm" :pageConf="pageConf" :noDataImg="url" :tableParams="tableParams" :headerStyle="{ height: '54px', background: '#F4F6FC', color: '#333333', fontSize: '14px' }">
<template slot="xxx" slot-scope="scope">
<span @click="btnClick('detail', scope.scope)" class="blue-text">查看详情</span>
<span style="margin-left: 20px" @click="btnClick('view', scope.scope)" class="blue-text">查看客户</span>
<!-- <GLButton class="blue-text leftDistance" type="text" fn="查看客户" v-if="userType !== 2" @click="toViewCustomer(scope.scope)">查看客户</GLButton> -->
<!-- <span @click="btnClick('detail', scope.scope)" class="blue-text">查看详情</span> -->
<GLButton type="text" @click="btnClick('detail', scope.scope)" class="blue-text" fn="查看详情">查看详情</GLButton>
<!-- <span style="margin-left: 20px" @click="btnClick('view', scope.scope)" class="blue-text">查看客户</span> -->
<GLButton class="blue-text leftDistance" type="text" fn="查看客户" v-if="userType !== 2" @click="toViewCustomer(scope.scope)">查看客户</GLButton>
</template>
</GLTable>
</div>
......@@ -57,26 +58,26 @@ export default {
label: '人群名称',
prop: 'crowdName',
// addHtml: 'crowdName',
align: 'left'
// //align: 'left'
},
{
label: '人群描述',
prop: 'crowdDesc',
align: 'left'
//align: 'left'
// width: 180
},
{
label: '人数',
prop: 'total',
// addHtml: 'total',
align: 'left'
//align: 'left'
},
{
label: '操作',
prop: 'xxx',
fixed: 'right',
addHtml: 'xxx',
align: 'left',
//align: 'left',
width: 180
}
]
......
......@@ -199,33 +199,33 @@ export default {
label: '客户',
prop: 'customerName',
addHtml: 'customerName',
align: 'left'
//align: 'left'
// width: 200
},
{
label: '创建时间',
prop: 'createdTime',
align: 'left'
//align: 'left'
// width: 200
},
{
label: '现群名称',
prop: 'chatName',
align: 'left'
//align: 'left'
},
{
label: '现群主',
prop: 'createdBy',
// minWidth: '180px',
addHtml: 'groupOwner',
align: 'left'
//align: 'left'
},
{
label: '状态',
prop: 'status',
addHtml: 'status',
// width: 250,
align: 'left'
//align: 'left'
}
]
},
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!