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 b431d7a5
authored
May 18, 2023
by
杨明
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'v3.11.0' of
http://192.168.3.233:8090/saas/scrm-micro-home
into v3.11.0
2 parents
2f3005aa
ab6ed82c
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
32 additions
and
3 deletions
src/api/modules/activity.js
src/store/modules/marketing.js
src/api/modules/activity.js
View file @
b431d7a
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* @Author: yangming yangming@didihu.com.cn
* @Author: yangming yangming@didihu.com.cn
* @Date: 2023-05-17 10:56:24
* @Date: 2023-05-17 10:56:24
* @LastEditors: yangming yangming@didihu.com.cn
* @LastEditors: yangming yangming@didihu.com.cn
* @LastEditTime: 2023-05-18 1
5:36:52
* @LastEditTime: 2023-05-18 1
6:08:50
* @FilePath: \scrm-micro-home\src\api\modules\activity.js
* @FilePath: \scrm-micro-home\src\api\modules\activity.js
* @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
*/
*/
...
@@ -57,10 +57,24 @@ const exportCustomer = params => {
...
@@ -57,10 +57,24 @@ const exportCustomer = params => {
sign
:
true
sign
:
true
})
})
}
}
// 营销日历列表
const
getCalendarListData
=
params
=>
{
params
.
method
=
'marketing.api.calendar.list'
return
http
({
url
:
'/rop-scrm-marketing/router'
,
method
:
'POST'
,
data
:
params
,
sign
:
true
,
returnAll
:
true
})
}
export
default
{
export
default
{
findActivityInfo
,
findActivityInfo
,
createSuperMarketing
,
createSuperMarketing
,
exportCustomer
,
exportCustomer
,
listByPage
,
listByPage
,
getCalendarListData
,
activityDetail
activityDetail
}
}
src/store/modules/marketing.js
View file @
b431d7a
...
@@ -2,10 +2,13 @@
...
@@ -2,10 +2,13 @@
* @Author: yangming yangming@didihu.com.cn
* @Author: yangming yangming@didihu.com.cn
* @Date: 2023-05-16 17:13:33
* @Date: 2023-05-16 17:13:33
* @LastEditors: yangming yangming@didihu.com.cn
* @LastEditors: yangming yangming@didihu.com.cn
* @LastEditTime: 2023-05-18 1
4:20:45
* @LastEditTime: 2023-05-18 1
6:09:16
* @FilePath: \scrm-micro-home\src\store\modules\marketing.js
* @FilePath: \scrm-micro-home\src\store\modules\marketing.js
* @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
*/
*/
import
apis
from
'@/api'
export
default
{
export
default
{
namespaced
:
true
,
namespaced
:
true
,
state
:
{
state
:
{
...
@@ -13,7 +16,8 @@ export default {
...
@@ -13,7 +16,8 @@ export default {
activityId
:
''
,
activityId
:
''
,
activityDate
:
''
,
activityDate
:
''
,
activityProject
:
{},
activityProject
:
{},
customDetail
:
{}
customDetail
:
{},
calendarData
:
[]
},
},
mutations
:
{
mutations
:
{
// 设置客户信息
// 设置客户信息
...
@@ -35,6 +39,9 @@ export default {
...
@@ -35,6 +39,9 @@ export default {
// 设置活动项
// 设置活动项
SET_ACTIVITY_PEOJECT
(
state
,
data
)
{
SET_ACTIVITY_PEOJECT
(
state
,
data
)
{
state
.
activityProject
=
data
state
.
activityProject
=
data
},
[
'SET_CALENDAR_DATA'
](
state
,
payload
)
{
state
.
calendarData
=
payload
.
calendarData
}
}
},
},
actions
:
{
actions
:
{
...
@@ -52,6 +59,14 @@ export default {
...
@@ -52,6 +59,14 @@ export default {
},
},
setActivityProject
({
commit
},
data
)
{
setActivityProject
({
commit
},
data
)
{
commit
(
'SET_ACTIVITY_PEOJECT'
,
data
)
commit
(
'SET_ACTIVITY_PEOJECT'
,
data
)
},
//营销日历列表
getCalendarList
(
conText
,
payload
)
{
apis
.
calendar
.
getCalendarListData
(
payload
).
then
(
res
=>
{
if
(
res
.
code
==
0
)
{
conText
.
commit
(
'SET_CALENDAR_DATA'
,
{
calendarData
:
res
.
data
})
}
})
}
}
}
}
}
}
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