Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
cdsf-wx-app
Project
Overview
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
姜雷
cdsf-wx-app
Commits
3e121d67
Commit
3e121d67
authored
Oct 11, 2018
by
姜雷
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改权限编码
parent
8bd1072c
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
App.js
src/containers/App.js
+4
-4
Index.js
src/containers/Home/Index.js
+4
-4
No files found.
src/containers/App.js
View file @
3e121d67
...
@@ -132,23 +132,23 @@ class App extends Component {
...
@@ -132,23 +132,23 @@ class App extends Component {
<
Route
<
Route
path
=
"/publicCar"
path
=
"/publicCar"
render
=
{
props
=>
render
=
{
props
=>
this
.
validateUserinfo
(
props
,
'CS
XY
0003'
,
PublicCar
)
this
.
validateUserinfo
(
props
,
'CS
HQ
0003'
,
PublicCar
)
}
}
/
>
/
>
<
Route
<
Route
path
=
"/publicCarDeal"
path
=
"/publicCarDeal"
render
=
{
props
=>
render
=
{
props
=>
this
.
validateUserinfo
(
props
,
'CS
XY
0004'
,
PublicCarDeal
)
this
.
validateUserinfo
(
props
,
'CS
HQ
0004'
,
PublicCarDeal
)
}
}
/
>
/
>
<
Route
<
Route
path
=
"/Repair"
path
=
"/Repair"
render
=
{
props
=>
this
.
validateUserinfo
(
props
,
'CS
XY
0001'
,
Repair
)}
render
=
{
props
=>
this
.
validateUserinfo
(
props
,
'CS
HQ
0001'
,
Repair
)}
/
>
/
>
<
Route
<
Route
path
=
"/RepairDeal"
path
=
"/RepairDeal"
render
=
{
props
=>
render
=
{
props
=>
this
.
validateUserinfo
(
props
,
'CS
XY
0002'
,
RepairDeal
)
this
.
validateUserinfo
(
props
,
'CS
HQ
0002'
,
RepairDeal
)
}
}
/
>
/
>
<
Route
component
=
{
NoMatch
}
/
>
<
Route
component
=
{
NoMatch
}
/
>
...
...
src/containers/Home/Index.js
View file @
3e121d67
...
@@ -36,25 +36,25 @@ export class Index extends React.Component {
...
@@ -36,25 +36,25 @@ export class Index extends React.Component {
<
div
className
=
{
styles
.
iconBox
}
>
<
div
className
=
{
styles
.
iconBox
}
>
<
div
<
div
className
=
{
styles
.
iconItem
}
className
=
{
styles
.
iconItem
}
onClick
=
{()
=>
this
.
validate
(
'CS
XY
0001'
,
'/Repair'
)}
onClick
=
{()
=>
this
.
validate
(
'CS
HQ
0001'
,
'/Repair'
)}
>
>
<
img
src
=
{
repairIcon
}
alt
=
""
/>
<
img
src
=
{
repairIcon
}
alt
=
""
/>
<
/div
>
<
/div
>
<
div
<
div
className
=
{
styles
.
iconItem
}
className
=
{
styles
.
iconItem
}
onClick
=
{()
=>
this
.
validate
(
'CS
XY
0003'
,
'/publicCar'
)}
onClick
=
{()
=>
this
.
validate
(
'CS
HQ
0003'
,
'/publicCar'
)}
>
>
<
img
src
=
{
publicCarIcon
}
alt
=
""
/>
<
img
src
=
{
publicCarIcon
}
alt
=
""
/>
<
/div
>
<
/div
>
<
div
<
div
className
=
{
styles
.
iconItem
}
className
=
{
styles
.
iconItem
}
onClick
=
{()
=>
this
.
validate
(
'CS
XY
0002'
,
'/RepairDeal'
)}
onClick
=
{()
=>
this
.
validate
(
'CS
HQ
0002'
,
'/RepairDeal'
)}
>
>
<
img
src
=
{
repairDealIcon
}
alt
=
""
/>
<
img
src
=
{
repairDealIcon
}
alt
=
""
/>
<
/div
>
<
/div
>
<
div
<
div
className
=
{
styles
.
iconItem
}
className
=
{
styles
.
iconItem
}
onClick
=
{()
=>
this
.
validate
(
'CS
XY
0004'
,
'/publicCarDeal'
)}
onClick
=
{()
=>
this
.
validate
(
'CS
HQ
0004'
,
'/publicCarDeal'
)}
>
>
<
img
src
=
{
publicCarDealIcon
}
alt
=
""
/>
<
img
src
=
{
publicCarDealIcon
}
alt
=
""
/>
<
/div
>
<
/div
>
...
...
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