Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jinfa-mall
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
shenshaokai
jinfa-mall
Commits
e1c59588
Commit
e1c59588
authored
Mar 04, 2022
by
前端-许佳敏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改配置
parent
1e465688
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
index.ts
apps/srm/web/global/config/index.ts
+1
-0
base.config.json
config/base.config.json
+1
-2
No files found.
apps/srm/web/global/config/index.ts
View file @
e1c59588
...
...
@@ -25,6 +25,7 @@ const getMallList = () => {
const
getWebMallInfo
=
()
=>
{
const
shopInfo
=
SELF_CONFIG
.
web
.
shopInfo
console
.
log
(
shopInfo
)
console
.
log
(
'render'
)
const
webMallList
=
shopInfo
.
filter
((
item
:
{
isDefault
:
number
;
type
:
number
})
=>
item
.
type
===
6
)
return
webMallList
[
0
]
}
...
...
config/base.config.json
View file @
e1c59588
{
"userRegister"
:{
"useType"
:[{
"memberTypeId"
:
1
,
"memberTypeName"
:
"企业会员"
,
"businessTypes"
:[{
"businessTypeId"
:
2
,
"businessTypeName"
:
"SRM采购商"
},{
"businessTypeId"
:
3
,
"businessTypeName"
:
"SRM供应商"
}]},{
"memberTypeId"
:
2
,
"memberTypeName"
:
"个人会员"
,
"businessTypes"
:[]},{
"memberTypeId"
:
3
,
"memberTypeName"
:
"渠道企业会员"
,
"businessTypes"
:[]},{
"memberTypeId"
:
4
,
"memberTypeName"
:
"渠道个人会员"
,
"businessTypes"
:[]}]},
"web"
:{
"shopInfo"
:[],
"orderMode"
:[{
"id"
:
15
,
"platformType"
:
3
,
"platformWayName"
:
"请购单下单"
,
"isPitchOn"
:
1
,
"platformTypeName"
:
"下单模式"
},{
"id"
:
14
,
"platformType"
:
3
,
"platformWayName"
:
"采购招标合同下单"
,
"isPitchOn"
:
1
,
"platformTypeName"
:
"下单模式"
},{
"id"
:
13
,
"platformType"
:
3
,
"platformWayName"
:
"采购竞价合同下单"
,
"isPitchOn"
:
1
,
"platformTypeName"
:
"下单模式"
},{
"id"
:
12
,
"platformType"
:
3
,
"platformWayName"
:
"采购询价合同下单"
,
"isPitchOn"
:
1
,
"platformTypeName"
:
"下单模式"
},{
"id"
:
11
,
"platformType"
:
3
,
"platformWayName"
:
"渠道积分下单"
,
"isPitchOn"
:
1
,
"platformTypeName"
:
"下单模式"
},{
"id"
:
10
,
"platformType"
:
3
,
"platformWayName"
:
"积分下单"
,
"isPitchOn"
:
1
,
"platformTypeName"
:
"下单模式"
},{
"id"
:
9
,
"platformType"
:
3
,
"platformWayName"
:
"渠道现货手工下单"
,
"isPitchOn"
:
1
,
"platformTypeName"
:
"下单模式"
},{
"id"
:
8
,
"platformType"
:
3
,
"platformWayName"
:
"渠道现货进货单下单"
,
"isPitchOn"
:
1
,
"platformTypeName"
:
"下单模式"
},{
"id"
:
7
,
"platformType"
:
3
,
"platformWayName"
:
"渠道直采手工下单"
,
"isPitchOn"
:
1
,
"platformTypeName"
:
"下单模式"
},{
"id"
:
6
,
"platformType"
:
3
,
"platformWayName"
:
"渠道直采进货单下单"
,
"isPitchOn"
:
1
,
"platformTypeName"
:
"下单模式"
},{
"id"
:
5
,
"platformType"
:
3
,
"platformWayName"
:
"合并订单下单"
,
"isPitchOn"
:
1
,
"platformTypeName"
:
"下单模式"
},{
"id"
:
4
,
"platformType"
:
3
,
"platformWayName"
:
"需求报价下单"
,
"isPitchOn"
:
1
,
"platformTypeName"
:
"下单模式"
},{
"id"
:
3
,
"platformType"
:
3
,
"platformWayName"
:
"询价报价下单"
,
"isPitchOn"
:
1
,
"platformTypeName"
:
"下单模式"
},{
"id"
:
2
,
"platformType"
:
3
,
"platformWayName"
:
"手工下单"
,
"isPitchOn"
:
1
,
"platformTypeName"
:
"下单模式"
},{
"id"
:
1
,
"platformType"
:
3
,
"platformWayName"
:
"进货单下单"
,
"isPitchOn"
:
1
,
"platformTypeName"
:
"下单模式"
}],
"orderType"
:[{
"id"
:
12
,
"platformType"
:
4
,
"platformWayName"
:
"请购单采购"
,
"isPitchOn"
:
1
,
"platformTypeName"
:
"订单类型"
},{
"id"
:
11
,
"platformType"
:
4
,
"platformWayName"
:
"采购招标合同"
,
"isPitchOn"
:
1
,
"platformTypeName"
:
"订单类型"
},{
"id"
:
10
,
"platformType"
:
4
,
"platformWayName"
:
"采购竞价合同"
,
"isPitchOn"
:
1
,
"platformTypeName"
:
"订单类型"
},{
"id"
:
9
,
"platformType"
:
4
,
"platformWayName"
:
"采购询价合同"
,
"isPitchOn"
:
1
,
"platformTypeName"
:
"订单类型"
},{
"id"
:
8
,
"platformType"
:
4
,
"platformWayName"
:
"渠道积分兑换"
,
"isPitchOn"
:
1
,
"platformTypeName"
:
"订单类型"
},{
"id"
:
7
,
"platformType"
:
4
,
"platformWayName"
:
"积分兑换"
,
"isPitchOn"
:
1
,
"platformTypeName"
:
"订单类型"
},{
"id"
:
6
,
"platformType"
:
4
,
"platformWayName"
:
"渠道现货"
,
"isPitchOn"
:
1
,
"platformTypeName"
:
"订单类型"
},{
"id"
:
5
,
"platformType"
:
4
,
"platformWayName"
:
"渠道直采"
,
"isPitchOn"
:
1
,
"platformTypeName"
:
"订单类型"
},{
"id"
:
4
,
"platformType"
:
4
,
"platformWayName"
:
"集采"
,
"isPitchOn"
:
1
,
"platformTypeName"
:
"订单类型"
},{
"id"
:
3
,
"platformType"
:
4
,
"platformWayName"
:
"现货采购"
,
"isPitchOn"
:
1
,
"platformTypeName"
:
"订单类型"
},{
"id"
:
2
,
"platformType"
:
4
,
"platformWayName"
:
"需求采购"
,
"isPitchOn"
:
1
,
"platformTypeName"
:
"订单类型"
},{
"id"
:
1
,
"platformType"
:
4
,
"platformWayName"
:
"询价采购"
,
"isPitchOn"
:
1
,
"platformTypeName"
:
"订单类型"
}]},
"global"
:{
"siteInfo"
:{
"id"
:
1
,
"name"
:
"米居采购商城"
,
"logo"
:
"https://shushangyun01.oss-cn-shenzhen.aliyuncs.com/1111140a35f1cbcd64cd2a49de0317f13f97c.png"
,
"siteUrl"
:
"mjsrm-test.shushangyun.com:12880"
,
"symbol"
:
"¥"
,
"language"
:
"China"
}}}
\ No newline at end of file
{
"userRegister"
:{
"useType"
:[{
"memberTypeId"
:
1
,
"memberTypeName"
:
"企业会员"
,
"businessTypes"
:[{
"businessTypeId"
:
2
,
"businessTypeName"
:
"SRM采购商"
},{
"businessTypeId"
:
3
,
"businessTypeName"
:
"SRM供应商"
}]},{
"memberTypeId"
:
2
,
"memberTypeName"
:
"个人会员"
,
"businessTypes"
:[]},{
"memberTypeId"
:
3
,
"memberTypeName"
:
"渠道企业会员"
,
"businessTypes"
:[]},{
"memberTypeId"
:
4
,
"memberTypeName"
:
"渠道个人会员"
,
"businessTypes"
:[]}]},
"web"
:{
"shopInfo"
:[{
"id"
:
3
,
"name"
:
"米居采购商城"
,
"type"
:
6
,
"environment"
:
1
,
"property"
:
1
,
"memberOperate"
:
0
,
"logoUrl"
:
"https://shushangyun01.oss-cn-shenzhen.aliyuncs.com/B003E031-2ED4-4f26-A114-919C782ECFBDc6c1b8978df042cfa82a53b04665fe6e.png"
,
"state"
:
1
,
"url"
:
"mjsrm-test"
,
"isDefault"
:
1
,
"createTime"
:
1646388136588
}],
"orderMode"
:[{
"id"
:
12
,
"platformType"
:
3
,
"platformWayName"
:
"采购询价合同下单"
,
"isPitchOn"
:
1
,
"platformTypeName"
:
"下单模式"
}],
"orderType"
:[{
"id"
:
9
,
"platformType"
:
4
,
"platformWayName"
:
"采购询价合同"
,
"isPitchOn"
:
1
,
"platformTypeName"
:
"订单类型"
}]},
"global"
:{
"siteInfo"
:{
"id"
:
5
,
"name"
:
"米居采购商城"
,
"logo"
:
"https://shushangyun01.oss-cn-shenzhen.aliyuncs.com/1111140a35f1cbcd64cd2a49de0317f13f97c.png"
,
"siteUrl"
:
"mjsrm-test.shushangyun.com:12880"
,
"symbol"
:
"¥"
,
"language"
:
"China"
}}}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment