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 { ...@@ -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: 170
}, },
{ {
label: '当日新增退群客户数', label: '当日新增退群客户数',
prop: 'delCustomerCount', prop: 'delCustomerCount',
minWidth: 160 minWidth: 170
}, },
{ {
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' }, '')])])
......
...@@ -96,8 +96,8 @@ ...@@ -96,8 +96,8 @@
</p> </p>
<p> <p>
<span>添加来源:</span> <span>添加来源:</span>
<el-tooltip effect="dark" :content="leftPanelInfo.addWay | toLabel" placement="top"> <el-tooltip effect="dark" :content="leftPanelInfo.addWayName" placement="top">
<span class="ellipsis-1">{{ leftPanelInfo.addWay | toLabel }}</span> <span class="ellipsis-1">{{ leftPanelInfo.addWayName }}</span>
</el-tooltip> </el-tooltip>
</p> </p>
<p> <p>
...@@ -170,14 +170,7 @@ ...@@ -170,14 +170,7 @@
</div> </div>
</div> </div>
<!--2. 员工跟进表 --> <!--2. 员工跟进表 -->
<GLTable :hasNum="false" class="table" :tableData="employTableList" :hasPage="false" :tableParams="employTableParams" :headerStyle="{ height: '54px' }"> <GLTable :hasNum="false" class="table" :tableData="employTableList" :hasPage="false" :tableParams="employTableParams" :headerStyle="{ height: '54px' }"></GLTable>
<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>
<div class="public-text"> <div class="public-text">
<div class="public-text-info font-16 flex"> <div class="public-text-info font-16 flex">
所属群聊 所属群聊
...@@ -234,7 +227,7 @@ ...@@ -234,7 +227,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>
...@@ -452,9 +445,7 @@ export default { ...@@ -452,9 +445,7 @@ export default {
}, },
{ {
label: '来源', label: '来源',
prop: 'addWay', prop: 'addWayName',
addHtml: 'addWay',
align: 'left',
width: 90 width: 90
}, },
{ {
...@@ -1346,4 +1337,9 @@ export default { ...@@ -1346,4 +1337,9 @@ export default {
} }
} }
} }
.phone-fill-box {
/deep/ .el-dialog__body {
min-height: 195px;
}
}
</style> </style>
...@@ -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>
......
...@@ -211,6 +211,9 @@ export default { ...@@ -211,6 +211,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()
}, },
......
...@@ -393,7 +393,8 @@ export default { ...@@ -393,7 +393,8 @@ export default {
label: '企微名称', label: '企微名称',
prop: 'nickNameList', prop: 'nickNameList',
addHtml: 'nickNameList', addHtml: 'nickNameList',
minWidth: 170 minWidth: 170,
line: 1
}, },
{ {
label: '联系电话', label: '联系电话',
...@@ -1203,14 +1204,6 @@ export default { ...@@ -1203,14 +1204,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);
...@@ -1234,7 +1227,7 @@ export default { ...@@ -1234,7 +1227,7 @@ export default {
align-items: center; align-items: center;
font-weight: 600; font-weight: 600;
color: #333333; color: #333333;
font-size: 20px; font-size: 16px;
} }
.clientNumText { .clientNumText {
margin-left: 6px; margin-left: 6px;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!