Commit a9f54606 by 杨明

fixed

1 parent a4a18ec4
...@@ -26,18 +26,6 @@ ...@@ -26,18 +26,6 @@
<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="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">
...@@ -117,6 +105,10 @@ export default { ...@@ -117,6 +105,10 @@ export default {
placeholder: '请选择', placeholder: '请选择',
optionList: [ optionList: [
{ {
value: '',
label: '全部'
},
{
value: '1', value: '1',
label: '是' label: '是'
}, },
...@@ -191,7 +183,7 @@ export default { ...@@ -191,7 +183,7 @@ export default {
{ {
label: '操作', label: '操作',
prop: 'optionBtns', prop: 'optionBtns',
width: '60px', width: '62px',
addHtml: 'optionBtns', addHtml: 'optionBtns',
fixed: 'right' fixed: 'right'
} }
......
...@@ -60,8 +60,6 @@ ...@@ -60,8 +60,6 @@
<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 class="pure-blue-text">{{ scope.scope.type == 1 ? '@微信' : scope.scope.type == 2 ? '@企微' : scope.scope.type == null ? '' :''}}</span>
</span> </span>
<span slot="customerSex" slot-scope="scope"> <span slot="customerSex" slot-scope="scope">
<span>{{ scope.scope.customerSex == 2 ? '女' : scope.scope.customerSex == 1 ? '男' : '未知' }}</span> <span>{{ scope.scope.customerSex == 2 ? '女' : scope.scope.customerSex == 1 ? '男' : '未知' }}</span>
......
...@@ -9,13 +9,10 @@ ...@@ -9,13 +9,10 @@
<el-button size="small" @click="handleExport">导出</el-button> <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"> <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"> <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>
<span class="pure-blue-text">{{ scope.scope.type == 1 ? '@微信' : scope.scope.type == 2 ? '@企微' : scope.scope.type == null ? '' : '' }}</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 == 2 ? '女' : scope.scope.customerSex == 1 ? '男' : '未知' }}</span> <span>{{ scope.scope.customerSex == 2 ? '女' : scope.scope.customerSex == 1 ? '男' : '未知' }}</span>
...@@ -142,7 +139,7 @@ export default { ...@@ -142,7 +139,7 @@ export default {
} }
], ],
tableOption: { tableOption: {
width: 60, width: 62,
btnList: [ btnList: [
{ {
name: '详情', name: '详情',
......
<template> <template>
<div class="sub-container"> <div class="sub-container">
<GLCombiForm class="sub-form-style" :formObj="searchForm" :formData="clientGroupFormList" @handleOk="searchTable" @handleRest="resetTable"> <GLCombiForm class="sub-form-style" :formObj="searchForm" :formData="clientGroupFormList" @handleOk="searchTable" @handleRest="resetTable"></GLCombiForm>
</GLCombiForm> <div class="leadList">
<div class="leadList">
<div> <div>
<span></span> <span></span>
</div> </div>
...@@ -13,8 +12,6 @@ ...@@ -13,8 +12,6 @@
<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 class="pure-blue-text">{{ scope.scope.type == 1 ? '@微信' : scope.scope.type == 2 ? '@企微' : scope.scope.type == null ? '' : '' }}</span>
</span> </span>
<span slot="customerSex" slot-scope="scope"> <span slot="customerSex" slot-scope="scope">
<span>{{ scope.scope.customerSex == 2 ? '女' : scope.scope.customerSex == 1 ? '男' : '未知' }}</span> <span>{{ scope.scope.customerSex == 2 ? '女' : scope.scope.customerSex == 1 ? '男' : '未知' }}</span>
...@@ -227,23 +224,23 @@ export default { ...@@ -227,23 +224,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 {
......
<template> <template>
<div class="sub-container"> <div class="sub-container">
<GLCombiForm :formObj="searchForm" :formData="clientGroupFormList" @handleOk="searchTable" @handleRest="resetTable">n> <GLCombiForm :formObj="searchForm" :formData="clientGroupFormList" @handleOk="searchTable" @handleRest="resetTable">n></GLCombiForm>
</GLCombiForm>
<div class="leadList"> <div class="leadList">
<div> <div>
<span></span> <span></span>
...@@ -14,8 +13,6 @@ ...@@ -14,8 +13,6 @@
<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 class="pure-blue-text">{{ scope.scope.type == 1 ? '@微信' : scope.scope.type == 2 ? '@企微' : scope.scope.type == null ? '' : '' }}</span>
</span> </span>
<span slot="customerSex" slot-scope="scope"> <span slot="customerSex" slot-scope="scope">
<span>{{ scope.scope.customerSex == 2 ? '女' : scope.scope.customerSex == 1 ? '男' : '未知' }}</span> <span>{{ scope.scope.customerSex == 2 ? '女' : scope.scope.customerSex == 1 ? '男' : '未知' }}</span>
......
...@@ -129,6 +129,7 @@ export default { ...@@ -129,6 +129,7 @@ export default {
{ {
label: '群聊名称', label: '群聊名称',
prop: 'custGroupName', prop: 'custGroupName',
line: 1,
minWidth: 160 minWidth: 160
}, },
{ {
...@@ -188,7 +189,7 @@ export default { ...@@ -188,7 +189,7 @@ export default {
} }
], ],
tableOption: { tableOption: {
width: 60 width: 62
// btnList: [ // btnList: [
// { // {
// name: '详情', // name: '详情',
......
...@@ -23,7 +23,6 @@ ...@@ -23,7 +23,6 @@
<span class="ellipsis-1"> <span class="ellipsis-1">
<!-- {{ leftPanelInfo.customerName }} --> <!-- {{ leftPanelInfo.customerName }} -->
{{ beautySub(leftPanelInfo.customerName) }} {{ beautySub(leftPanelInfo.customerName) }}
<!-- <label class="pure-blue-text font-12">{{ leftPanelInfo.type == 1 ? '@微信' : leftPanelInfo.type == 2 ? '@企微' : '' }}</label> -->
</span> </span>
</el-tooltip> </el-tooltip>
</p> </p>
...@@ -801,7 +800,7 @@ export default { ...@@ -801,7 +800,7 @@ export default {
return return
} }
if (!/^1[3456789]\d{9}$/.test(this.contactPhone)) { if (!/^1[3456789]\d{9}$/.test(this.contactPhone)) {
this.$message.error('联系电话不符合要求') this.$message.error('联系电话不符合要求,请重新输入!')
return return
} }
const userIdList = this.nickNameList.map(item => item.userId) const userIdList = this.nickNameList.map(item => item.userId)
......
...@@ -15,8 +15,6 @@ ...@@ -15,8 +15,6 @@
<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="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 ? '男' : scope.scope.customerSex == 2 ? '女' : '' }}</span> <span>{{ scope.scope.customerSex == 0 ? '未知' : scope.scope.customerSex == 1 ? '男' : scope.scope.customerSex == 2 ? '女' : '' }}</span>
...@@ -290,8 +288,7 @@ export default { ...@@ -290,8 +288,7 @@ export default {
}, },
{ {
label: '添加来源', label: '添加来源',
prop: 'addWay', prop: 'addWayName',
addHtml: 'addWay',
minWidth: 120 minWidth: 120
//align: 'left' //align: 'left'
}, },
...@@ -304,7 +301,7 @@ export default { ...@@ -304,7 +301,7 @@ export default {
{ {
label: '操作', label: '操作',
prop: 'optionBtns', prop: 'optionBtns',
width: '60px', width: '62px',
addHtml: 'optionBtns', addHtml: 'optionBtns',
fixed: 'right' fixed: 'right'
} }
...@@ -330,7 +327,7 @@ export default { ...@@ -330,7 +327,7 @@ export default {
this.merchantModel = this.$globalState.session.merchantModel this.merchantModel = this.$globalState.session.merchantModel
this.accountLevel = this.$globalState.session.accountLevel this.accountLevel = this.$globalState.session.accountLevel
} }
this.getDictionaryFun() // this.getDictionaryFun()
this.getStaffList() this.getStaffList()
}, },
// filters:{ // filters:{
......
...@@ -161,7 +161,7 @@ export default { ...@@ -161,7 +161,7 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
.content-wrap { .content-wrap {
padding: 16px 10px 16px 16px; padding: 16px 3px 16px 16px;
box-sizing: border-box; box-sizing: border-box;
height: 100%; height: 100%;
.tree-input { .tree-input {
......
...@@ -362,6 +362,10 @@ export default { ...@@ -362,6 +362,10 @@ export default {
placeholder: '请选择', placeholder: '请选择',
optionList: [ optionList: [
{ {
value: '',
label: '全部'
},
{
value: '1', value: '1',
label: '是' label: '是'
}, },
...@@ -434,7 +438,7 @@ export default { ...@@ -434,7 +438,7 @@ export default {
{ {
label: '操作', label: '操作',
prop: 'optionBtns', prop: 'optionBtns',
width: '60px', width: '62px',
addHtml: 'optionBtns', addHtml: 'optionBtns',
fixed: 'right' fixed: 'right'
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!