Commit 7a80e03b by 杨明

fixed

1 parent a9f54606
...@@ -167,6 +167,11 @@ export default { ...@@ -167,6 +167,11 @@ export default {
document.querySelector('.noDataText') ? (document.querySelector('.noDataText').innerText = '暂无数据') : '' document.querySelector('.noDataText') ? (document.querySelector('.noDataText').innerText = '暂无数据') : ''
} }
}) })
if (this.tableData == 0) {
this.$refs.viewCustomers.setTableHeightFun()
} else {
this.$refs.viewCustomers.tableHeightValues = ''
}
}) })
.catch(err => { .catch(err => {
this.userLoading = false this.userLoading = false
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
<button class="backBtn" @click="goBack">返回客户群管理</button> <button class="backBtn" @click="goBack">返回客户群管理</button>
</div> </div>
<div class="content"> <div class="content">
<div class="leftWrap"> <div class="leftWrap" :style="{ height: heightBox + 'px' }">
<div class="avator"> <div class="avator">
<img src="@/assets/clientDetail/defaultAvator.png" alt="" /> <img src="@/assets/clientDetail/defaultAvator.png" alt="" />
</div> </div>
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
</el-tooltip> </el-tooltip>
</p> </p>
</div> </div>
<div class="rightWrap"> <div class="rightWrap" :style="{ 'min-height': heightBox + 'px' }">
<div class="choseRow"> <div class="choseRow">
<div class="choseItem" :class="{ activeItem: currentIndex == index }" v-for="(item, index) in titles" :key="index" @click="tabClick(index)"> <div class="choseItem" :class="{ activeItem: currentIndex == index }" v-for="(item, index) in titles" :key="index" @click="tabClick(index)">
<span> <span>
...@@ -121,6 +121,8 @@ export default { ...@@ -121,6 +121,8 @@ export default {
}, },
created() { created() {
this.getTableDetail() this.getTableDetail()
let clientHeight = document.documentElement.clientHeight
this.heightBox = clientHeight - 175
}, },
// watch: { // watch: {
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<div> <div>
<div class="scrm-sub-client-container"> <div class="scrm-sub-client-container">
<!-- <p class="pageTitle">客户群管理</p> --> <!-- <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> <GLCombiForm :formObj="searchForm" :formData="clientGroupFormList" @handleOk="searchTable" @handleRest="resetTable"></GLCombiForm>
<div class="leadList"> <div class="leadList">
<div> <div>
...@@ -145,12 +145,12 @@ export default { ...@@ -145,12 +145,12 @@ export default {
{ {
label: '当日新增入群客户数', label: '当日新增入群客户数',
prop: 'newCustomerCount', prop: 'newCustomerCount',
minWidth: 160 minWidth: 165
}, },
{ {
label: '当日新增退群客户数', label: '当日新增退群客户数',
prop: 'delCustomerCount', prop: 'delCustomerCount',
minWidth: 160 minWidth: 165
}, },
{ {
label: '当前跟进员工数', label: '当前跟进员工数',
...@@ -213,6 +213,8 @@ export default { ...@@ -213,6 +213,8 @@ export default {
//运行在qiankun容器中 //运行在qiankun容器中
this.merchantModel = this.$globalState.session.merchantModel this.merchantModel = this.$globalState.session.merchantModel
this.accountLevel = this.$globalState.session.accountLevel this.accountLevel = this.$globalState.session.accountLevel
let clientHeight = document.documentElement.clientHeight
this.heightBox = clientHeight - 135
} }
}, },
// watch: { // watch: {
...@@ -226,10 +228,10 @@ export default { ...@@ -226,10 +228,10 @@ export default {
// } // }
// } // }
// }, // },
beforeDestroy() { deactivated() {
this.$message.closeAll() this.$message.closeAll()
}, },
mounted() { activated() {
this.wxTips() this.wxTips()
}, },
methods: { methods: {
...@@ -247,7 +249,7 @@ export default { ...@@ -247,7 +249,7 @@ export default {
getStatus({}).then(res => { getStatus({}).then(res => {
if (res.status != 'SUCCESS') { if (res.status != 'SUCCESS') {
const h = this.$createElement const h = this.$createElement
this.$message({ this.messageTips = this.$message({
showClose: true, showClose: true,
duration: 0, 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' }, '')])]) 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 @@ ...@@ -234,7 +234,7 @@
<el-button type="primary" @click="goBack">返回</el-button> <el-button type="primary" @click="goBack">返回</el-button>
</div> </div>
</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"> <div class="dialog-form">
<label>联系电话:</label> <label>联系电话:</label>
<el-input v-model.trim="contactPhone" size="small" placeholder="请输入11位的手机号" maxlength="11"></el-input> <el-input v-model.trim="contactPhone" size="small" placeholder="请输入11位的手机号" maxlength="11"></el-input>
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<div> <div>
<div class="scrm-sub-client-container"> <div class="scrm-sub-client-container">
<!-- <p class="pageTitle">客户管理</p> --> <!-- <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> <GLCombiForm :formObj="searchForm" :formData="clientManageFormList" @handleOk="searchTable" @handleRest="resetTable"></GLCombiForm>
<div class="leadList"> <div class="leadList">
<div> <div>
...@@ -503,6 +503,10 @@ export default { ...@@ -503,6 +503,10 @@ export default {
} }
}) })
} }
},
mounted() {
let clientHeight = document.documentElement.clientHeight
this.heightBox = clientHeight - 130
} }
} }
</script> </script>
......
...@@ -215,6 +215,9 @@ export default { ...@@ -215,6 +215,9 @@ export default {
// if (val.path == '/guestGroup/index') this.searchTable() // if (val.path == '/guestGroup/index') this.searchTable()
// } // }
// }, // },
beforeDestroy() {
this.$message.closeAll()
},
mounted() { mounted() {
this.wxTips() this.wxTips()
}, },
......
...@@ -386,13 +386,13 @@ export default { ...@@ -386,13 +386,13 @@ export default {
{ {
label: '客户姓名', label: '客户姓名',
prop: 'customerName', prop: 'customerName',
minWidth: 250 minWidth: 170
}, },
{ {
label: '企微名称', label: '企微名称',
prop: 'nickNameList', prop: 'nickNameList',
addHtml: 'nickNameList', addHtml: 'nickNameList',
minWidth: 300 minWidth: 170
}, },
{ {
label: '联系电话', label: '联系电话',
...@@ -1202,14 +1202,6 @@ export default { ...@@ -1202,14 +1202,6 @@ export default {
} }
} }
.pageContent { .pageContent {
/deep/ {
.noDataImg {
margin-top: 100px;
}
.noDataText {
margin-bottom: 100px;
}
}
overflow-y: auto; overflow-y: auto;
padding: 20px 20px 30px; padding: 20px 20px 30px;
box-shadow: 0 10px 20px 0 rgba(88, 80, 255, 0.1); 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!