Commit 7a80e03b by 杨明

fixed

1 parent a9f54606
......@@ -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: 165
},
{
label: '当日新增退群客户数',
prop: 'delCustomerCount',
minWidth: 160
minWidth: 165
},
{
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' }, '')])])
......
......@@ -234,7 +234,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>
......
......@@ -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>
......
......@@ -215,6 +215,9 @@ export default {
// if (val.path == '/guestGroup/index') this.searchTable()
// }
// },
beforeDestroy() {
this.$message.closeAll()
},
mounted() {
this.wxTips()
},
......
......@@ -386,13 +386,13 @@ export default {
{
label: '客户姓名',
prop: 'customerName',
minWidth: 250
minWidth: 170
},
{
label: '企微名称',
prop: 'nickNameList',
addHtml: 'nickNameList',
minWidth: 300
minWidth: 170
},
{
label: '联系电话',
......@@ -1202,14 +1202,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);
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!