Commit 024baf6e by 胡悦

修复

1 parent 914b8bac
...@@ -251,6 +251,7 @@ export default { ...@@ -251,6 +251,7 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
.container { .container {
margin-top: 26px;
margin-bottom: 84px; margin-bottom: 84px;
background: #ffffff; background: #ffffff;
box-shadow: 0 10px 20px 0 rgba(88, 80, 255, 0.1); box-shadow: 0 10px 20px 0 rgba(88, 80, 255, 0.1);
......
<template> <template>
<div> <div style="margin-top: 26px;">
<BasicInof :form="'customerGroup'" :eventBus="eventBus" :id="$route.params.id"></BasicInof> <BasicInof :form="'customerGroup'" :eventBus="eventBus" :id="$route.params.id"></BasicInof>
<div class="detail-container"> <div class="group-detail-container">
<glsx-combi-form <glsx-combi-form
ref="showSearch" ref="showSearch"
labelWidth="90px" labelWidth="90px"
...@@ -184,7 +184,8 @@ export default { ...@@ -184,7 +184,8 @@ export default {
} }
</script> </script>
<style lang="scss" scope> <style lang="scss" scope>
.detail-container { .group-detail-container {
margin-top: 26px;
margin-bottom: 84px; margin-bottom: 84px;
padding: 20px; padding: 20px;
background-color: #ffffff; background-color: #ffffff;
...@@ -203,5 +204,6 @@ export default { ...@@ -203,5 +204,6 @@ export default {
width: 100%; width: 100%;
background: #ffffff; background: #ffffff;
box-shadow: 0px -1px 1px 0px rgba(88, 80, 255, 0.1); box-shadow: 0px -1px 1px 0px rgba(88, 80, 255, 0.1);
z-index: 1;
} }
</style> </style>
<template> <template>
<div> <div style="margin-top: 26px;">
<BasicInof :eventBus="eventBus" :id="$route.params.id" :form="'customer'"></BasicInof> <BasicInof :eventBus="eventBus" :id="$route.params.id" :form="'customer'"></BasicInof>
<div class="detail-container"> <div class="detail-container">
<div class="detail-modular"> <div class="detail-modular">
...@@ -324,5 +324,6 @@ export default { ...@@ -324,5 +324,6 @@ export default {
width: 100%; width: 100%;
background: #ffffff; background: #ffffff;
box-shadow: 0px -1px 1px 0px rgba(88, 80, 255, 0.1); box-shadow: 0px -1px 1px 0px rgba(88, 80, 255, 0.1);
z-index: 1;
} }
</style> </style>
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
@click="switchMenu(2)" @click="switchMenu(2)"
>客户群群发</div> >客户群群发</div>
</div> </div>
<div v-show="activeIndex == 1" class="container"> <div v-if="activeIndex == 1" class="container">
<div class="container-header"> <div class="container-header">
<div class="text">企业统一选择要发送的客户,由添加客户的成员确认后发送给客户,消息内容仅管理员和负责人可创建。</div> <div class="text">企业统一选择要发送的客户,由添加客户的成员确认后发送给客户,消息内容仅管理员和负责人可创建。</div>
<el-button type="primary" icon="el-icon-plus" @click="btnClick('create', 1)">新建群发</el-button> <el-button type="primary" icon="el-icon-plus" @click="btnClick('create', 1)">新建群发</el-button>
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
</GLTable> </GLTable>
<!-- 表格区域 end --> <!-- 表格区域 end -->
</div> </div>
<div v-show="activeIndex == 2" class="container"> <div v-if="activeIndex == 2" class="container">
<div class="container-header"> <div class="container-header">
<div class="text">管理员或负责人统一创建内容,群主收到通知后,可选择他管理的客户群并群发。</div> <div class="text">管理员或负责人统一创建内容,群主收到通知后,可选择他管理的客户群并群发。</div>
<el-button type="primary" icon="el-icon-plus" @click="btnClick('create', 2)">新建群发</el-button> <el-button type="primary" icon="el-icon-plus" @click="btnClick('create', 2)">新建群发</el-button>
...@@ -208,6 +208,13 @@ export default { ...@@ -208,6 +208,13 @@ export default {
methods: { methods: {
switchMenu(val) { switchMenu(val) {
this.activeIndex = val this.activeIndex = val
this.$nextTick(() => {
if (val == 1) {
if (this.$refs.customer) this.$refs.customer.refreshTable()
} else {
if (this.$refs.customerGroup) this.$refs.customerGroup.refreshTable()
}
})
}, },
/** /**
* name: 按钮名称 * name: 按钮名称
...@@ -257,6 +264,7 @@ export default { ...@@ -257,6 +264,7 @@ export default {
<style lang="scss" scope> <style lang="scss" scope>
.send-assistant { .send-assistant {
margin-top: 26px;
.menu-sub { .menu-sub {
.menu-sub-item { .menu-sub-item {
display: inline-block; display: inline-block;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!