Commit cb9c2de1 by 杨明

fixed

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