Commit e00eefcc by 前端

fixed

1 parent a22203d2
...@@ -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 pageAllApi = 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
} }
...@@ -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 14:02:22 * @LastEditTime: 2022-12-23 15: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
*/ */
......
...@@ -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,
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!