Commit 788b377e by xuyl

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

2 parents cd22cf73 874dab7f
......@@ -167,6 +167,11 @@ export default {
document.querySelector('.noDataText') ? (document.querySelector('.noDataText').innerText = '暂无数据') : ''
}
})
if (this.tableData == 0) {
this.$refs.viewCustomers.setTableHeightFun()
} else {
this.$refs.viewCustomers.tableHeightValues = ''
}
})
.catch(err => {
this.userLoading = false
......
......@@ -7,7 +7,7 @@
<button class="backBtn" @click="goBack">返回客户群管理</button>
</div>
<div class="content">
<div class="leftWrap">
<div class="leftWrap" :style="{ height: heightBox + 'px' }">
<div class="avator">
<img src="@/assets/clientDetail/defaultAvator.png" alt="" />
</div>
......@@ -42,7 +42,7 @@
</el-tooltip>
</p>
</div>
<div class="rightWrap">
<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>
......@@ -121,6 +121,8 @@ export default {
},
created() {
this.getTableDetail()
let clientHeight = document.documentElement.clientHeight
this.heightBox = clientHeight - 175
},
// watch: {
......
......@@ -2,7 +2,7 @@
<div>
<div class="scrm-sub-client-container">
<!-- <p class="pageTitle">客户群管理</p> -->
<div class="pageContent">
<div class="pageContent" :style="{ 'min-height': heightBox + 'px' }">
<GLCombiForm :formObj="searchForm" :formData="clientGroupFormList" @handleOk="searchTable" @handleRest="resetTable"></GLCombiForm>
<div class="leadList">
<div>
......@@ -145,12 +145,12 @@ export default {
{
label: '当日新增入群客户数',
prop: 'newCustomerCount',
minWidth: 160
minWidth: 170
},
{
label: '当日新增退群客户数',
prop: 'delCustomerCount',
minWidth: 160
minWidth: 170
},
{
label: '当前跟进员工数',
......@@ -213,6 +213,8 @@ export default {
//运行在qiankun容器中
this.merchantModel = this.$globalState.session.merchantModel
this.accountLevel = this.$globalState.session.accountLevel
let clientHeight = document.documentElement.clientHeight
this.heightBox = clientHeight - 135
}
},
// watch: {
......@@ -226,10 +228,10 @@ export default {
// }
// }
// },
beforeDestroy() {
deactivated() {
this.$message.closeAll()
},
mounted() {
activated() {
this.wxTips()
},
methods: {
......@@ -247,7 +249,7 @@ export default {
getStatus({}).then(res => {
if (res.status != 'SUCCESS') {
const h = this.$createElement
this.$message({
this.messageTips = this.$message({
showClose: true,
duration: 0,
message: h('p', null, [h('span', null, '此功能需完成【企业微信授权】后方可使用! '), h('span', { on: { click: this.jumpWx }, style: { marginRight: '150px', cursor: 'pointer', color: '#5850ff' } }, ['企业微信授权 ', h('i', { class: 'el-icon-d-arrow-right' }, '')])])
......
......@@ -96,8 +96,8 @@
</p>
<p>
<span>添加来源:</span>
<el-tooltip effect="dark" :content="leftPanelInfo.addWay | toLabel" placement="top">
<span class="ellipsis-1">{{ leftPanelInfo.addWay | toLabel }}</span>
<el-tooltip effect="dark" :content="leftPanelInfo.addWayName" placement="top">
<span class="ellipsis-1">{{ leftPanelInfo.addWayName }}</span>
</el-tooltip>
</p>
<p>
......@@ -170,14 +170,7 @@
</div>
</div>
<!--2. 员工跟进表 -->
<GLTable :hasNum="false" class="table" :tableData="employTableList" :hasPage="false" :tableParams="employTableParams" :headerStyle="{ height: '54px' }">
<span slot="addWay" slot-scope="scope">
<span>{{ scope.scope.addWay | toLabel }}</span>
</span>
<span slot="addType" slot-scope="scope">
<span>{{ addTypeToLable(scope.scope.addType) }}</span>
</span>
</GLTable>
<GLTable :hasNum="false" class="table" :tableData="employTableList" :hasPage="false" :tableParams="employTableParams" :headerStyle="{ height: '54px' }"></GLTable>
<div class="public-text">
<div class="public-text-info font-16 flex">
所属群聊
......@@ -234,7 +227,7 @@
<el-button type="primary" @click="goBack">返回</el-button>
</div>
</div>
<basic-dialog class="phone-fill-box" title="添加联系电话" :isVisible="phoneVisible" @confirmDialog="phoneConfirmDialog" @closeDialog="phoneVisible = false" :isShowCloseBtn="true">
<basic-dialog class="phone-fill-box" :width="'720px'" title="添加联系电话" :isVisible="phoneVisible" @confirmDialog="phoneConfirmDialog" @closeDialog="phoneVisible = false" :isShowCloseBtn="true">
<div class="dialog-form">
<label>联系电话:</label>
<el-input v-model.trim="contactPhone" size="small" placeholder="请输入11位的手机号" maxlength="11"></el-input>
......@@ -452,9 +445,7 @@ export default {
},
{
label: '来源',
prop: 'addWay',
addHtml: 'addWay',
align: 'left',
prop: 'addWayName',
width: 90
},
{
......@@ -1346,4 +1337,9 @@ export default {
}
}
}
.phone-fill-box {
/deep/ .el-dialog__body {
min-height: 195px;
}
}
</style>
......@@ -2,7 +2,7 @@
<div>
<div class="scrm-sub-client-container">
<!-- <p class="pageTitle">客户管理</p> -->
<div class="pageContent">
<div class="pageContent" :style="{ 'min-height': heightBox + 'px' }">
<GLCombiForm :formObj="searchForm" :formData="clientManageFormList" @handleOk="searchTable" @handleRest="resetTable"></GLCombiForm>
<div class="leadList">
<div>
......@@ -503,6 +503,10 @@ export default {
}
})
}
},
mounted() {
let clientHeight = document.documentElement.clientHeight
this.heightBox = clientHeight - 130
}
}
</script>
......
......@@ -211,6 +211,9 @@ export default {
// if (val.path == '/guestGroup/index') this.searchTable()
// }
// },
beforeDestroy() {
this.$message.closeAll()
},
mounted() {
this.wxTips()
},
......
......@@ -393,7 +393,8 @@ export default {
label: '企微名称',
prop: 'nickNameList',
addHtml: 'nickNameList',
minWidth: 170
minWidth: 170,
line: 1
},
{
label: '联系电话',
......@@ -1203,14 +1204,6 @@ export default {
}
}
.pageContent {
/deep/ {
.noDataImg {
margin-top: 100px;
}
.noDataText {
margin-bottom: 100px;
}
}
overflow-y: auto;
padding: 20px 20px 30px;
box-shadow: 0 10px 20px 0 rgba(88, 80, 255, 0.1);
......@@ -1234,7 +1227,7 @@ export default {
align-items: center;
font-weight: 600;
color: #333333;
font-size: 20px;
font-size: 16px;
}
.clientNumText {
margin-left: 6px;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!