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
fcf78dfe
Commit
fcf78dfe
authored
Apr 15, 2022
by
xiexiuxing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
按钮权限添加
parent
a62ab3c4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
index.ts
config/routes/index.ts
+2
-2
index.tsx
src/pages/order/receivingNote/deliveryNoteManage/index.tsx
+6
-6
No files found.
config/routes/index.ts
View file @
fcf78dfe
...
...
@@ -35,8 +35,8 @@ const homeRoute = {
component
:
'@/pages/home'
,
};
// isDev ? [ homeRoute, OrderRoute ] :
//
const routes = asyncRoutes;
const
routes
=
isDev
?
[
homeRoute
,
OrderRoute
]
:
asyncRoutes
;
const
routes
=
asyncRoutes
;
//
const routes = isDev ? [ homeRoute, OrderRoute ] : asyncRoutes;
const
memberCenterRoute
=
{
path
:
'/memberCenter'
,
...
...
src/pages/order/receivingNote/deliveryNoteManage/index.tsx
View file @
fcf78dfe
...
...
@@ -31,9 +31,9 @@ const DeliveryNoteManage: React.FC = () => {
const
controllerBtns
=
(<
Space
></
Space
>)
const
renderOptionButton
=
(
r
:
any
)
=>
{
const
btnAuthOfOperationTextMap
=
{
'作废'
:
'DevTest
'
,
'查看'
:
'
DevTest
'
,
'修改'
:
'
DevTest
'
,
// '作废': 'deliveryNoteManage.generateQualityTesting
',
'查看'
:
'
deliveryNoteManage.looking
'
,
'修改'
:
'
deliveryNoteManage.update
'
,
}
const
buttonGroup
=
{
'作废'
:
false
,
...
...
@@ -41,7 +41,7 @@ const DeliveryNoteManage: React.FC = () => {
'修改'
:
true
,
}
const
operationHandler
=
{
'作废'
:
()
=>
{
console
.
log
(
'作废 :>> '
,)
},
//
'作废': () => { console.log('作废 :>> ',) },
'修改'
:
()
=>
{
history
.
push
(
`/memberCenter/order/receivingNote/deliveryNoteManage/edit?id=
${
r
.
id
}
`
)
},
...
...
@@ -86,13 +86,13 @@ const DeliveryNoteManage: React.FC = () => {
)
}
},
/*
{
{
title
:
'操作'
,
dataIndex
:
''
,
key
:
'x'
,
align
:
'center'
,
render
:
(
record
)
=>
renderOptionButton
(
record
)
}
,*/
}
]
const
fetchData
=
(
params
:
unknown
)
=>
{
...
...
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