Commit cb9c2de1 by 杨明

fixed

1 parent 8f5d0b83
......@@ -79,6 +79,7 @@
<script>
import homeStep from './components/home-step.vue'
import sceneSubscription from './components/scene-subscription'
import { mapActions } from 'vuex'
export default {
name: 'home',
components: {
......@@ -93,8 +94,12 @@ export default {
},
mounted() {
this.verifyOpen()
this.getMerchantInfo({ merchantId: this.$globalState.session.merchantId })
},
methods: {
...mapActions({
getMerchantInfo: 'marketing/getMerchantInfo'
}),
verifyOpen() {
this.$apis.aiCard.verifyOpen({}).then(res => {
this.verifyOpenStatus = res && res.data
......
......@@ -2,7 +2,7 @@
* @Author: 前端 qianduan01@didihu.com.cn
* @Date: 2023-05-11 18:32:20
* @LastEditors: yangming yangming@didihu.com.cn
* @LastEditTime: 2023-05-24 14:45:56
* @LastEditTime: 2023-05-30 14:52:13
* @FilePath: \scrm-micro-home\src\views\home\marketing.vue
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
......@@ -59,13 +59,11 @@ export default {
mounted() {
this.getCalendarListData({ status: 1, recommendMonths: 3 })
this.getCalendarListDataAll()
this.getMerchantInfo({ merchantId: this.$globalState.session.merchantId }) //'44211227' this.$globalState.session.merchantId
},
methods: {
...mapActions({
getCalendarListData: 'marketing/getCalendarListData',
getCalendarListDataAll: 'marketing/getCalendarListDataAll',
getMerchantInfo: 'marketing/getMerchantInfo'
getCalendarListDataAll: 'marketing/getCalendarListDataAll'
}),
handleShowCalendar(value) {
this.showCalendar = Boolean(value)
......@@ -90,7 +88,7 @@ export default {
.market-left {
width: 246px;
background: #fff;
height:100%;
height: 100%;
overflow-y: scroll;
overflow-x: hidden;
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!