Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-home
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit cb9c2de1
authored
May 30, 2023
by
杨明
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fixed
1 parent
8f5d0b83
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
5 deletions
src/views/home/index.vue
src/views/home/marketing.vue
src/views/home/index.vue
View file @
cb9c2de
...
@@ -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
...
...
src/views/home/marketing.vue
View file @
cb9c2de
...
@@ -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
;
}
}
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment