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