Commit da52c02b by 杨明

Merge branch 'v2.1.0' of http://192.168.3.233:8090/saas/scrm-micro-custom into yangm_dev_v2.1.0

2 parents 4274ecaf e56d52b3
...@@ -152,7 +152,8 @@ export default { ...@@ -152,7 +152,8 @@ export default {
{ {
label: '车架号', label: '车架号',
prop: 'carVin', prop: 'carVin',
minWidth: 140 minWidth: 140,
line:1
}, },
{ {
label: '车系', label: '车系',
......
...@@ -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>
...@@ -292,7 +294,7 @@ export default { ...@@ -292,7 +294,7 @@ export default {
{ {
label: '操作', label: '操作',
prop: 'optionBtns', prop: 'optionBtns',
width: '62px', width: '65px',
addHtml: 'optionBtns', addHtml: 'optionBtns',
fixed: 'right' fixed: 'right'
} }
...@@ -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>
...@@ -514,6 +509,9 @@ export default { ...@@ -514,6 +509,9 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
@import '@/styles/variables.scss'; @import '@/styles/variables.scss';
@import '@/styles/resetelement.scss'; @import '@/styles/resetelement.scss';
// /deep/.el-table .el-table__header tr th{
// line-height: 30px;
// }
.expandImg { .expandImg {
display: flex; display: flex;
// justify-content: center; // justify-content: center;
......
...@@ -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
}, },
{ {
......
...@@ -440,7 +440,7 @@ export default { ...@@ -440,7 +440,7 @@ export default {
{ {
label: '操作', label: '操作',
prop: 'optionBtns', prop: 'optionBtns',
width: '62px', width: '65px',
addHtml: 'optionBtns', addHtml: 'optionBtns',
fixed: 'right' fixed: 'right'
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!