Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-link
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 e00eefcc
authored
Dec 23, 2022
by
前端
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fixed
1 parent
a22203d2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
4 deletions
src/api/modules/activity.js
src/setup/qiankun.js
src/views/activityLink/index.vue
src/api/modules/activity.js
View file @
e00eefc
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* @Author: 前端 qianduan01@didihu.com.cn
* @Author: 前端 qianduan01@didihu.com.cn
* @Date: 2022-12-13 09:23:56
* @Date: 2022-12-13 09:23:56
* @LastEditors: 前端 qianduan01@didihu.com.cn
* @LastEditors: 前端 qianduan01@didihu.com.cn
* @LastEditTime: 2022-12-
19 15:54:12
* @LastEditTime: 2022-12-
23 15:10:00
* @FilePath: \scrm-micro-link\src\api\modules\activity.js
* @FilePath: \scrm-micro-link\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
*/
*/
...
@@ -90,7 +90,7 @@ const deleteApi = params => {
...
@@ -90,7 +90,7 @@ const deleteApi = params => {
})
})
}
}
//膨胀金列表
//膨胀金列表
const
pageApi
=
params
=>
{
const
pageA
llA
pi
=
params
=>
{
params
.
method
=
`scrm.api.shopmall.all.bulge.activity.page`
params
.
method
=
`scrm.api.shopmall.all.bulge.activity.page`
return
http
({
return
http
({
url
:
'rop-scrm-shopmall/router'
,
url
:
'rop-scrm-shopmall/router'
,
...
@@ -99,6 +99,15 @@ const pageApi = params => {
...
@@ -99,6 +99,15 @@ const pageApi = params => {
sign
:
true
sign
:
true
})
})
}
}
const
pageApi
=
params
=>
{
params
.
method
=
`scrm.api.shopmall.bulge.activity.page`
return
http
({
url
:
'rop-scrm-shopmall/router'
,
method
:
'POST'
,
data
:
params
,
sign
:
true
})
}
const
updateApi
=
params
=>
{
const
updateApi
=
params
=>
{
params
.
method
=
`
${
defaultPath
}
bulge.add.or.update`
params
.
method
=
`
${
defaultPath
}
bulge.add.or.update`
return
http
({
return
http
({
...
@@ -127,6 +136,7 @@ export default {
...
@@ -127,6 +136,7 @@ export default {
getActivityDetailApi
,
getActivityDetailApi
,
deleteApi
,
deleteApi
,
pageApi
,
pageApi
,
pageAllApi
,
updateApi
,
updateApi
,
getShared
getShared
}
}
src/setup/qiankun.js
View file @
e00eefc
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* @Author: 前端 qianduan01@didihu.com.cn
* @Author: 前端 qianduan01@didihu.com.cn
* @Date: 2022-12-13 09:23:57
* @Date: 2022-12-13 09:23:57
* @LastEditors: 前端 qianduan01@didihu.com.cn
* @LastEditors: 前端 qianduan01@didihu.com.cn
* @LastEditTime: 2022-12-23 1
4:02:22
* @LastEditTime: 2022-12-23 1
5:17:06
* @FilePath: \scrm-micro-link\src\setup\qiankun.js
* @FilePath: \scrm-micro-link\src\setup\qiankun.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
*/
*/
...
...
src/views/activityLink/index.vue
View file @
e00eefc
...
@@ -114,7 +114,7 @@ export default {
...
@@ -114,7 +114,7 @@ export default {
}
}
],
],
// 表格
// 表格
getListApi
:
this
.
$apis
.
activity
.
pageApi
,
getListApi
:
this
.
$apis
.
activity
[
this
.
loginpath
?
'pageAllApi'
:
'pageApi'
]
,
tableParams
:
{
tableParams
:
{
listName
:
'list'
,
listName
:
'list'
,
tableOption
:
true
,
tableOption
:
true
,
...
...
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