Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jinfa-platform
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-platform
Commits
a62ab3c4
Commit
a62ab3c4
authored
Apr 15, 2022
by
前端-彭佳文
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'v2-220418-order' into 'v2-220418'
V2 220418 order See merge request linkseeks-design/pro-platform!330
parents
d6edae11
a6da3254
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
6 deletions
+3
-6
index.ts
config/routes/index.ts
+2
-5
index.tsx
...der/deliveryPlanManagement/deliveryPlanAwaitB2B/index.tsx
+1
-1
No files found.
config/routes/index.ts
View file @
a62ab3c4
...
...
@@ -18,9 +18,6 @@ import TranactionRoute from './tranactionRoute' // 交易能力路由
// import marketingRoute from './marketingRoute';
// import BalancedRoute from './balanceRoute';
import
OrderRoute
from
'./orderRoute'
;
// 订单能力
import
supplierRoute
from
'./supplierRoute'
;
// 供应商能力
import
memberRoute
from
'./memberRoute'
;
// 会员中心
import
asyncRoutes
from
'../router.config.json'
;
import
ProcurementRoute
from
'./procurementRoute'
;
// todo wuting
...
...
@@ -29,7 +26,7 @@ import ProcurementRoute from './procurementRoute'; // todo wuting
// import contracRoute from './contracRoute';
// export const routes = [CommodityRoute, MemberRoute, ShopRoute, ChannelRoute, TranactionRoute, AfterService, PayandSettleRoute, LogisticsRoute, AuthConfigRoute, HandlingRoute, BalaceRoute]
const
isDev
=
false
;
const
isDev
=
process
.
env
.
NODE_ENV
===
"development"
;
const
homeRoute
=
{
path
:
`/memberCenter/home`
,
name
:
'home'
,
...
...
@@ -39,7 +36,7 @@ const homeRoute = {
};
// isDev ? [ homeRoute, OrderRoute ] :
// const routes = asyncRoutes;
const
routes
=
isDev
?
[
homeRoute
,
OrderRoute
,
supplierRoute
,
memberRoute
]
:
asyncRoutes
;
const
routes
=
isDev
?
[
homeRoute
,
OrderRoute
]
:
asyncRoutes
;
const
memberCenterRoute
=
{
path
:
'/memberCenter'
,
...
...
src/pages/order/deliveryPlanManagement/deliveryPlanAwaitB2B/index.tsx
View file @
a62ab3c4
...
...
@@ -66,7 +66,7 @@ const DeliveryPlanManagementAwaitB2B: React.FC = () => {
const
controllerBtns
=
(
<
Space
>
<
AuthButton
btnCode=
'create'
>
<
AuthButton
btnCode=
'
awaitB2B.
create'
>
<
Button
type=
'primary'
icon=
{
<
PlusOutlined
/>
}
onClick=
{
()
=>
history
.
push
(
`/memberCenter/order/deliveryPlanManagement/awaitB2B/create`
)
}
>
新增
</
Button
>
</
AuthButton
>
</
Space
>
...
...
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