Commit 024baf6e by 胡悦

修复

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