Commit a072126f by 前端

Merge branch 'xuyl_dev_2.1.0' into 'v2.1.0'

Xuyl dev 2.1.0

See merge request !58
2 parents c3de0948 8dde9c9b
......@@ -2,7 +2,8 @@
<div>
<div class="scrm-sub-client-container">
<!-- <p class="pageTitle">客户群管理</p> -->
<div class="pageContent" :style="{ 'min-height': heightBox + 'px' }">
<!-- :style="{ 'min-height': heightBox + 'px' }" -->
<div class="pageContent" >
<GLCombiForm :formObj="searchForm" :formData="clientGroupFormList" @handleOk="searchTable" @handleRest="resetTable"></GLCombiForm>
<div class="leadList">
<div>
......@@ -213,8 +214,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
// let clientHeight = document.documentElement.clientHeight
// this.heightBox = clientHeight - 135
}
},
// watch: {
......
<template>
<div>
<div class="scrm-sub-client-container">
<div class="pageContent" :style="{ 'min-height': heightBox + 'px' }">
<!-- <p class="pageTitle">客户管理</p> -->
<!-- :style="{ 'min-height': heightBox + 'px' }" -->
<div class="pageContent">
<GLCombiForm :formObj="searchForm" :formData="clientManageFormList" @handleOk="searchTable" @handleRest="resetTable"></GLCombiForm>
<div class="leadList">
<div>
<span></span>
</div>
<GLButton size="small" @click="handleExport" fn="导出">导出</GLButton>
<el-Button size="small" @click="handleExport" fn="导出">导出</el-Button>
</div>
<GLTable @setTableFinishFun="setTableFinishFun" v-if="isReload" ref="clientManage" :hasNum="true" :getListApi="getListApi" :beforeSearchFn="beforeSearchFn" :searchForm="searchFormTable" :noDataImg="url" :pageConf="pageConf" :tableParams="tableParams">
<span slot="customerName" slot-scope="scope">
......@@ -380,14 +382,13 @@ export default {
return new Promise(async (resolve, reject) => {
if (Object.keys(this.$route.query).length && this.queryFlag == 0) {
console.log('进来了')
const res = JSON.parse(window.localStorage.getItem('sourceList'))
this.searchForm.followStaff = this.$route.query.staffName || ''
let add_way = this.$route.query.addWay || ''
let addWayObj = res.find(i => i.label === add_way)
let addWayVal = addWayObj.value
this.searchForm.addWay = addWayVal
this.queryFlag =1
this.queryFlag = 1
}
this.searchFormTable = this.getParams()
resolve()
......@@ -499,14 +500,8 @@ export default {
}
},
mounted() {
let clientHeight = document.documentElement.clientHeight
this.heightBox = clientHeight - 130
// 页面首次加载添加缓存
// if (sessionStorage.getItem('isReload')) {
// this.$$route.query = ''
// } else {
// sessionStorage.setItem('isReload', true)
// }
// let clientHeight = document.documentElement.clientHeight
// this.heightBox = clientHeight - 130
}
}
</script>
......@@ -588,11 +583,11 @@ export default {
.entmicro {
display: flex;
i {
color: #75acff;
margin-right: 3px;
font-size: 14px;
}
i {
color: #75acff;
margin-right: 3px;
font-size: 14px;
}
// }
}
......
......@@ -86,7 +86,7 @@ export default {
{
label: '群聊名称',
prop: 'groupName',
minWidth: 90,
// minWidth: 90,
line: 1
},
{
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!