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 269c6fb5
authored
Apr 06, 2023
by
前端
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'master' of
http://192.168.3.233:8090/saas/scrm-micro-link
into v3.8.0
2 parents
d71df95d
e034093b
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
27 additions
and
5 deletions
src/api/modules/common.js
src/api/modules/seckillActivity.js
src/main.js
src/setup/qiankun.js
src/views/activityLink/editActivity.vue
src/api/modules/common.js
View file @
269c6fb
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* @Author: yangming yangming@didihu.com.cn
* @Author: yangming yangming@didihu.com.cn
* @Date: 2022-11-23 14:46:30
* @Date: 2022-11-23 14:46:30
* @LastEditors: 前端 qianduan01@didihu.com.cn
* @LastEditors: 前端 qianduan01@didihu.com.cn
* @LastEditTime: 202
2-12-18 14:49:23
* @LastEditTime: 202
3-03-31 14:41:09
* @FilePath: \live\src\api\modules\common.js
* @FilePath: \live\src\api\modules\common.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
*/
*/
...
@@ -77,6 +77,17 @@ const uploadFundingVideoApi = params => {
...
@@ -77,6 +77,17 @@ const uploadFundingVideoApi = params => {
noSignAttr
:
[
'file'
]
noSignAttr
:
[
'file'
]
})
})
}
}
/**众筹活动订单配置开关(SAAS)【控制众筹订单列表部分字段0:展示;1:隐藏;】 */
const
getCrowdfundingOrderConfig
=
(
params
=
{})
=>
{
params
.
method
=
'scrm.api.shopmall.crowd.funding.order.config'
params
.
requestType
=
1
//0:门店;1:运营版
return
http
({
url
:
'/rop-scrm-shopmall/router'
,
method
:
'POST'
,
data
:
params
,
sign
:
true
})
}
export
default
{
export
default
{
pictureUpload
,
pictureUpload
,
getMerchantStaff
,
getMerchantStaff
,
...
@@ -84,5 +95,6 @@ export default {
...
@@ -84,5 +95,6 @@ export default {
uploadImgApi
,
uploadImgApi
,
uploadMusicApi
,
uploadMusicApi
,
uploadVideoApi
,
uploadVideoApi
,
uploadFundingVideoApi
uploadFundingVideoApi
,
getCrowdfundingOrderConfig
}
}
src/api/modules/seckillActivity.js
View file @
269c6fb
...
@@ -159,6 +159,16 @@ const getLiveListApi = params => {
...
@@ -159,6 +159,16 @@ const getLiveListApi = params => {
sign
:
true
sign
:
true
})
})
}
}
/**支付商户管理-下拉列表 */
const
getPayMerchatListApi
=
params
=>
{
params
.
method
=
'entmicro.api.payment.pageListPayment'
return
http
({
url
:
'rop-scrm-entmicro/router'
,
method
:
'GET'
,
data
:
params
,
sign
:
true
})
}
/**定金收款账户下拉列表 */
/**定金收款账户下拉列表 */
const
getPayListApi
=
params
=>
{
const
getPayListApi
=
params
=>
{
params
.
method
=
'scrm.api.shopmall.activity.payment.account.list'
params
.
method
=
'scrm.api.shopmall.activity.payment.account.list'
...
@@ -249,4 +259,4 @@ const liveroomOverview = params => {
...
@@ -249,4 +259,4 @@ const liveroomOverview = params => {
sign
:
true
sign
:
true
})
})
}
}
export
default
{
getPayListApi
,
liveroomDetailexport
,
liveroomDetailpage
,
liveroomOverview
,
getActivityPageApi
,
getCrowdfundListApi
,
exportCrowdfundApi
,
getBrowseListApi
,
exportBrowseApi
,
toggleStatusApi
,
deleteActivityApi
,
topActivityApi
,
getSharedApi
,
addOrUpdateActivityApi
,
getActivityDetailApi
,
getCrowdSharedApi
,
getLiveListApi
,
getRankListApi
,
exportRankListApi
,
getDataBoardApi
,
getVisitorListApi
,
getSharedListApi
,
getDailyOrderQuantityStatistics
,
exportDailyOrderQuantityStatistics
}
export
default
{
getPay
MerchatListApi
,
getPay
ListApi
,
liveroomDetailexport
,
liveroomDetailpage
,
liveroomOverview
,
getActivityPageApi
,
getCrowdfundListApi
,
exportCrowdfundApi
,
getBrowseListApi
,
exportBrowseApi
,
toggleStatusApi
,
deleteActivityApi
,
topActivityApi
,
getSharedApi
,
addOrUpdateActivityApi
,
getActivityDetailApi
,
getCrowdSharedApi
,
getLiveListApi
,
getRankListApi
,
exportRankListApi
,
getDataBoardApi
,
getVisitorListApi
,
getSharedListApi
,
getDailyOrderQuantityStatistics
,
exportDailyOrderQuantityStatistics
}
src/main.js
View file @
269c6fb
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
* @Author: limin
* @Author: limin
* @Date: 2021-08-13 14:12:11
* @Date: 2021-08-13 14:12:11
* @LastEditors: 前端 qianduan01@didihu.com.cn
* @LastEditors: 前端 qianduan01@didihu.com.cn
* @LastEditTime: 2023-03-
24 17:46:01
* @LastEditTime: 2023-03-
31 14:19:14
* @FilePath: \scrm\scrm-sub-blog\src\main.js
* @FilePath: \scrm\scrm-sub-blog\src\main.js
*/
*/
import
Vue
from
'vue'
import
Vue
from
'vue'
...
...
src/setup/qiankun.js
View file @
269c6fb
...
@@ -27,7 +27,7 @@ export async function bootstrap({ history, common, messenger, globalState }) {
...
@@ -27,7 +27,7 @@ export async function bootstrap({ history, common, messenger, globalState }) {
Vue
.
prototype
.
$common
=
common
Vue
.
prototype
.
$common
=
common
Vue
.
prototype
.
$message
=
message
Vue
.
prototype
.
$message
=
message
Vue
.
prototype
.
$messageBox
=
messageBox
Vue
.
prototype
.
$messageBox
=
messageBox
Vue
.
prototype
.
$http
=
new
common
.
Http
({
response
,
request
,
sign
,
secret
,
alert
:
message
.
error
,
headers
:
{
token
:
globalState
.
session
.
token
}
})
Vue
.
prototype
.
$http
=
new
common
.
Http
({
response
,
request
,
sign
,
secret
,
alert
:
message
.
error
,
headers
:
{
token
:
globalState
.
session
.
token
}
})
Vue
.
prototype
.
$http_common
=
new
common
.
Http
({
response
,
signWay
:
'md5'
,
request
:
request_common
,
sign
:
sign_common
,
secret
,
alert
:
ElementUI
.
Message
.
error
,
headers
:
{
TGT
:
globalState
.
session
.
token
}
})
Vue
.
prototype
.
$http_common
=
new
common
.
Http
({
response
,
signWay
:
'md5'
,
request
:
request_common
,
sign
:
sign_common
,
secret
,
alert
:
ElementUI
.
Message
.
error
,
headers
:
{
TGT
:
globalState
.
session
.
token
}
})
// Vue.prototype.$setGlobalState = globalState.actions.setGlobalState
// Vue.prototype.$setGlobalState = globalState.actions.setGlobalState
Vue
.
use
(
GLButton
,
{
permissions
:
globalState
.
permissions
||
[
'1-1-1-1'
,
'2-1-1-1'
,
'3-1-1-1'
]
})
Vue
.
use
(
GLButton
,
{
permissions
:
globalState
.
permissions
||
[
'1-1-1-1'
,
'2-1-1-1'
,
'3-1-1-1'
]
})
...
...
src/views/activityLink/editActivity.vue
View file @
269c6fb
This diff is collapsed.
Click to expand it.
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