Commit adf1730c by 杨明

Merge branch 'v3.11.0' of http://192.168.3.233:8090/saas/scrm-micro-home into v3.11.0

2 parents 88ddcf42 3be691e6
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
<div class="error-tips flex-center" v-if="item.type == 'error'"> <div class="error-tips flex-center" v-if="item.type == 'error'">
<i class="el-icon-error"></i> <i class="el-icon-error"></i>
<span>{{ item.content }}</span> <span>{{ item.content }}</span>
<i class="el-icon-close"></i> <!-- <i class="el-icon-close"></i> -->
</div> </div>
<template v-else> <template v-else>
<div :class="['chat-item', item.type == 'answer' ? 'is-left' : 'is-right']"> <div :class="['chat-item', item.type == 'answer' ? 'is-left' : 'is-right']">
...@@ -86,7 +86,7 @@ export default { ...@@ -86,7 +86,7 @@ export default {
} }
}, },
computed: { computed: {
...mapState('marketing', ['calendarDataAll']) ...mapState('marketing', ['calendarDataAll', 'activityInfo'])
}, },
watch: { watch: {
chatItem() { chatItem() {
...@@ -95,6 +95,9 @@ export default { ...@@ -95,6 +95,9 @@ export default {
const height = this.$refs.chatBRef.offsetHeight - chatRef.offsetHeight + 40 const height = this.$refs.chatBRef.offsetHeight - chatRef.offsetHeight + 40
chatRef.scrollTop = height //滚动到最底部 chatRef.scrollTop = height //滚动到最底部
}) })
},
activityInfo() {
this.chatItem = []
} }
}, },
methods: { methods: {
......
...@@ -152,7 +152,7 @@ export default { ...@@ -152,7 +152,7 @@ export default {
}) })
}, },
addSuper() { addSuper() {
this.$parent.handleShowCalendar(0) this.$parent.handleShowCalendar(0)
this.setActivityInfo({}) this.setActivityInfo({})
}, },
//设置活动详情 //设置活动详情
......
...@@ -39,6 +39,7 @@ export default { ...@@ -39,6 +39,7 @@ export default {
currentDate: '', currentDate: '',
options: { options: {
defaultView: 'month', defaultView: 'month',
isReadOnly: true,
month: { month: {
dayNames: ['周日', '周一', '周二', '周三', '周四', '周五', '周六'] dayNames: ['周日', '周一', '周二', '周三', '周四', '周五', '周六']
}, },
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!