Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
shuniu-admin-react
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
superman
shuniu-admin-react
Commits
1fbbabc6
Commit
1fbbabc6
authored
Jul 29, 2016
by
superman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
40acf81d
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
450 additions
and
277 deletions
+450
-277
workspace.xml
.idea/workspace.xml
+268
-179
index.js
dist/index.js
+19
-19
proxy.config.js
proxy.config.js
+2
-2
PassItem.jsx
src/containers/Withdraw/PassItem.jsx
+161
-77
No files found.
.idea/workspace.xml
View file @
1fbbabc6
...
...
@@ -2,16 +2,9 @@
<project
version=
"4"
>
<component
name=
"ChangeListManager"
>
<list
default=
"true"
id=
"ec208c71-5ff8-4642-a786-fad4f24be9b8"
name=
"Default"
comment=
""
>
<change
type=
"NEW"
beforePath=
""
afterPath=
"$PROJECT_DIR$/src/const.js"
/>
<change
type=
"MODIFICATION"
beforePath=
"$PROJECT_DIR$/.idea/workspace.xml"
afterPath=
"$PROJECT_DIR$/.idea/workspace.xml"
/>
<change
type=
"MODIFICATION"
beforePath=
"$PROJECT_DIR$/proxy.config.js"
afterPath=
"$PROJECT_DIR$/proxy.config.js"
/>
<change
type=
"MODIFICATION"
beforePath=
"$PROJECT_DIR$/src/containers/Announcement/AddItem.jsx"
afterPath=
"$PROJECT_DIR$/src/containers/Announcement/AddItem.jsx"
/>
<change
type=
"MODIFICATION"
beforePath=
"$PROJECT_DIR$/src/containers/Announcement/EditItem.jsx"
afterPath=
"$PROJECT_DIR$/src/containers/Announcement/EditItem.jsx"
/>
<change
type=
"MODIFICATION"
beforePath=
"$PROJECT_DIR$/src/containers/BaseFunction/BaseUpload.jsx"
afterPath=
"$PROJECT_DIR$/src/containers/BaseFunction/BaseUpload.jsx"
/>
<change
type=
"MODIFICATION"
beforePath=
"$PROJECT_DIR$/src/containers/Trade/Item.jsx"
afterPath=
"$PROJECT_DIR$/src/containers/Trade/Item.jsx"
/>
<change
type=
"MODIFICATION"
beforePath=
"$PROJECT_DIR$/src/containers/Trade/List.jsx"
afterPath=
"$PROJECT_DIR$/src/containers/Trade/List.jsx"
/>
<change
type=
"MODIFICATION"
beforePath=
"$PROJECT_DIR$/src/reducers/announcement.js"
afterPath=
"$PROJECT_DIR$/src/reducers/announcement.js"
/>
<change
type=
"MODIFICATION"
beforePath=
"$PROJECT_DIR$/src/sagas/announcement.js"
afterPath=
"$PROJECT_DIR$/src/sagas/announcement.js"
/>
<change
type=
"MODIFICATION"
beforePath=
"$PROJECT_DIR$/src/containers/Withdraw/PassItem.jsx"
afterPath=
"$PROJECT_DIR$/src/containers/Withdraw/PassItem.jsx"
/>
</list>
<ignored
path=
"shuniu-admin.iws"
/>
<ignored
path=
".idea/workspace.xml"
/>
...
...
@@ -34,112 +27,118 @@
</component>
<component
name=
"FileEditorManager"
>
<leaf
SIDE_TABS_SIZE_LIMIT_KEY=
"300"
>
<file
leaf-file-name=
"
AddItem.jsx
"
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/src/
containers/Trade/AddItem.jsx
"
>
<file
leaf-file-name=
"
product.js
"
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/src/
services/product.js
"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
345
"
>
<caret
line=
"
58"
column=
"5"
selection-start-line=
"51"
selection-start-column=
"4"
selection-end-line=
"58"
selection-end-column=
"5
"
/>
<state
relative-caret-position=
"
0
"
>
<caret
line=
"
0"
column=
"0"
selection-start-line=
"0"
selection-start-column=
"0"
selection-end-line=
"0"
selection-end-column=
"0
"
/>
<folding>
<element
signature=
"e#0#
5
0#0"
expanded=
"true"
/>
<element
signature=
"e#0#
3
0#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
</file>
<file
leaf-file-name=
"
AddItem.jsx
"
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/src/
containers/Announcement/AddItem.jsx
"
>
<file
leaf-file-name=
"
customMessage.js
"
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/src/
services/customMessage.js
"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"-150"
>
<caret
line=
"42"
column=
"15"
selection-start-line=
"42"
selection-start-column=
"15"
selection-end-line=
"42"
selection-end-column=
"15"
/>
<folding
/>
<state
relative-caret-position=
"0"
>
<caret
line=
"0"
column=
"0"
selection-start-line=
"0"
selection-start-column=
"0"
selection-end-line=
"0"
selection-end-column=
"0"
/>
<folding>
<element
signature=
"e#0#30#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
</file>
<file
leaf-file-name=
"
EditItem.jsx
"
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/src/
containers/Announcement/EditItem.jsx
"
>
<file
leaf-file-name=
"
contract.js
"
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/src/
services/contract.js
"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"405"
>
<caret
line=
"133"
column=
"65"
selection-start-line=
"133"
selection-start-column=
"65"
selection-end-line=
"133"
selection-end-column=
"65"
/>
<folding
/>
<state
relative-caret-position=
"0"
>
<caret
line=
"0"
column=
"0"
selection-start-line=
"0"
selection-start-column=
"0"
selection-end-line=
"0"
selection-end-column=
"0"
/>
<folding>
<element
signature=
"e#0#30#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
</file>
<file
leaf-file-name=
"announcement.js"
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/src/s
aga
s/announcement.js"
>
<entry
file=
"file://$PROJECT_DIR$/src/s
ervice
s/announcement.js"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
133
"
>
<caret
line=
"
9"
column=
"50"
selection-start-line=
"9"
selection-start-column=
"19"
selection-end-line=
"9"
selection-end-column=
"5
0"
/>
<state
relative-caret-position=
"
0
"
>
<caret
line=
"
0"
column=
"0"
selection-start-line=
"0"
selection-start-column=
"0"
selection-end-line=
"0"
selection-end-column=
"
0"
/>
<folding>
<element
signature=
"e#0#3
8
#0"
expanded=
"true"
/>
<element
signature=
"e#0#3
0
#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
</file>
<file
leaf-file-name=
"
const.js"
pinned=
"false"
current-in-tab=
"tru
e"
>
<entry
file=
"file://$PROJECT_DIR$/
src/const
.js"
>
<file
leaf-file-name=
"
proxy.config.js"
pinned=
"false"
current-in-tab=
"fals
e"
>
<entry
file=
"file://$PROJECT_DIR$/
proxy.config
.js"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
0
"
>
<caret
line=
"
0"
column=
"0"
selection-start-line=
"0"
selection-start-column=
"0"
selection-end-line=
"0"
selection-end-column=
"0
"
/>
<state
relative-caret-position=
"
75
"
>
<caret
line=
"
6"
column=
"2"
selection-start-line=
"6"
selection-start-column=
"2"
selection-end-line=
"6"
selection-end-column=
"2
"
/>
<folding
/>
</state>
</provider>
</entry>
</file>
<file
leaf-file-name=
"
contract
.js"
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/src/s
agas/contract
.js"
>
<file
leaf-file-name=
"
remittance
.js"
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/src/s
ervices/remittance
.js"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
-24
0"
>
<state
relative-caret-position=
"0"
>
<caret
line=
"0"
column=
"0"
selection-start-line=
"0"
selection-start-column=
"0"
selection-end-line=
"0"
selection-end-column=
"0"
/>
<folding>
<element
signature=
"e#0#3
8
#0"
expanded=
"true"
/>
<element
signature=
"e#0#3
0
#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
</file>
<file
leaf-file-name=
"
customMessage
.js"
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/src/s
agas/customMessage
.js"
>
<file
leaf-file-name=
"
withdraw
.js"
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/src/s
ervices/withdraw
.js"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
285
"
>
<caret
line=
"
19"
column=
"11"
selection-start-line=
"19"
selection-start-column=
"11"
selection-end-line=
"19"
selection-end-column=
"11
"
/>
<state
relative-caret-position=
"
0
"
>
<caret
line=
"
0"
column=
"0"
selection-start-line=
"0"
selection-start-column=
"0"
selection-end-line=
"0"
selection-end-column=
"0
"
/>
<folding>
<element
signature=
"e#0#3
8
#0"
expanded=
"true"
/>
<element
signature=
"e#0#3
0
#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
</file>
<file
leaf-file-name=
"
proxy.config.js
"
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/
proxy.config.js
"
>
<file
leaf-file-name=
"
PassItem.jsx
"
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/
src/containers/Withdraw/PassItem.jsx
"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"75"
>
<caret
line=
"6"
column=
"2"
selection-start-line=
"6"
selection-start-column=
"2"
selection-end-line=
"6"
selection-end-column=
"2"
/>
<folding
/>
<state
relative-caret-position=
"357"
>
<caret
line=
"213"
column=
"78"
selection-start-line=
"213"
selection-start-column=
"78"
selection-end-line=
"213"
selection-end-column=
"78"
/>
<folding>
<element
signature=
"e#0#50#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
</file>
<file
leaf-file-name=
"
BaseUpload.jsx"
pinned=
"false"
current-in-tab=
"fals
e"
>
<entry
file=
"file://$PROJECT_DIR$/
src/containers/BaseFunction/BaseUpload.jsx
"
>
<file
leaf-file-name=
"
.gitignore"
pinned=
"false"
current-in-tab=
"tru
e"
>
<entry
file=
"file://$PROJECT_DIR$/
.gitignore
"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"270"
>
<caret
line=
"52"
column=
"52"
selection-start-line=
"52"
selection-start-column=
"52"
selection-end-line=
"52"
selection-end-column=
"52"
/>
<folding>
<element
signature=
"e#0#50#0"
expanded=
"true"
/>
</folding>
<state
relative-caret-position=
"60"
>
<caret
line=
"4"
column=
"0"
selection-start-line=
"4"
selection-start-column=
"0"
selection-end-line=
"4"
selection-end-column=
"0"
/>
<folding
/>
</state>
</provider>
</entry>
</file>
<file
leaf-file-name=
"
index.js
"
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/src/
sagas/index.js
"
>
<file
leaf-file-name=
"
PassItem.jsx
"
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/src/
containers/Remittance/PassItem.jsx
"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"0"
>
<caret
line=
"0"
column=
"0"
selection-start-line=
"0"
selection-start-column=
"0"
selection-end-line=
"0"
selection-end-column=
"0"
/>
<folding
/>
<state
relative-caret-position=
"72"
>
<caret
line=
"78"
column=
"8"
selection-start-line=
"78"
selection-start-column=
"8"
selection-end-line=
"120"
selection-end-column=
"112"
/>
<folding>
<element
signature=
"e#0#50#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
...
...
@@ -157,7 +156,6 @@
<component
name=
"IdeDocumentHistory"
>
<option
name=
"CHANGED_PATHS"
>
<list>
<option
value=
"$PROJECT_DIR$/src/containers/BaseFunction/BaseUpload.less"
/>
<option
value=
"$PROJECT_DIR$/src/components/MainHeader.jsx"
/>
<option
value=
"$PROJECT_DIR$/src/containers/Remittance/List.jsx"
/>
<option
value=
"$PROJECT_DIR$/src/variable.less"
/>
...
...
@@ -205,9 +203,10 @@
<option
value=
"$PROJECT_DIR$/src/containers/Announcement/AddItem.jsx"
/>
<option
value=
"$PROJECT_DIR$/src/containers/Announcement/EditItem.jsx"
/>
<option
value=
"$PROJECT_DIR$/src/sagas/announcement.js"
/>
<option
value=
"$PROJECT_DIR$/proxy.config.js"
/>
<option
value=
"$PROJECT_DIR$/src/containers/BaseFunction/BaseUpload.jsx"
/>
<option
value=
"$PROJECT_DIR$/src/const.js"
/>
<option
value=
"$PROJECT_DIR$/proxy.config.js"
/>
<option
value=
"$PROJECT_DIR$/src/containers/Withdraw/PassItem.jsx"
/>
</list>
</option>
</component>
...
...
@@ -278,6 +277,86 @@
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
</PATH_ELEMENT>
</PATH>
<PATH>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"shuniu-admin"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode"
/>
</PATH_ELEMENT>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"shuniu-admin"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
</PATH_ELEMENT>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"src"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
</PATH_ELEMENT>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"services"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
</PATH_ELEMENT>
</PATH>
<PATH>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"shuniu-admin"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode"
/>
</PATH_ELEMENT>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"shuniu-admin"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
</PATH_ELEMENT>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"src"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
</PATH_ELEMENT>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"containers"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
</PATH_ELEMENT>
</PATH>
<PATH>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"shuniu-admin"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode"
/>
</PATH_ELEMENT>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"shuniu-admin"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
</PATH_ELEMENT>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"src"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
</PATH_ELEMENT>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"containers"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
</PATH_ELEMENT>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"Withdraw"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
</PATH_ELEMENT>
</PATH>
<PATH>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"shuniu-admin"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode"
/>
</PATH_ELEMENT>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"shuniu-admin"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
</PATH_ELEMENT>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"src"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
</PATH_ELEMENT>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"containers"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
</PATH_ELEMENT>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"Remittance"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
</PATH_ELEMENT>
</PATH>
<PATH>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"shuniu-admin"
/>
...
...
@@ -769,12 +848,12 @@
<workItem
from=
"1468394206076"
duration=
"1879000"
/>
<workItem
from=
"1468396235889"
duration=
"33823000"
/>
<workItem
from=
"1468540294765"
duration=
"94258000"
/>
<workItem
from=
"1468995021353"
duration=
"2
08176
000"
/>
<workItem
from=
"1468995021353"
duration=
"2
12160
000"
/>
</task>
<servers
/>
</component>
<component
name=
"TimeTrackingManager"
>
<option
name=
"totallyTimeSpent"
value=
"3
38136
000"
/>
<option
name=
"totallyTimeSpent"
value=
"3
42120
000"
/>
</component>
<component
name=
"TodoView"
>
<todo-panel
id=
"selected-file"
>
...
...
@@ -787,7 +866,7 @@
</component>
<component
name=
"ToolWindowManager"
>
<frame
x=
"0"
y=
"0"
width=
"1280"
height=
"800"
extended-state=
"0"
/>
<editor
active=
"
tru
e"
/>
<editor
active=
"
fals
e"
/>
<layout>
<window_info
id=
"Palette"
active=
"false"
anchor=
"right"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.33"
sideWeight=
"0.5"
order=
"3"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"TODO"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.329235"
sideWeight=
"0.5"
order=
"6"
side_tool=
"false"
content_ui=
"tabs"
/>
...
...
@@ -797,7 +876,7 @@
<window_info
id=
"Maven Projects"
active=
"false"
anchor=
"right"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.33"
sideWeight=
"0.5"
order=
"4"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Version Control"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.32876712"
sideWeight=
"0.5"
order=
"7"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Run"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.33"
sideWeight=
"0.5"
order=
"2"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Terminal"
active=
"
false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"fals
e"
show_stripe_button=
"true"
weight=
"0.32739726"
sideWeight=
"0.5"
order=
"7"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Terminal"
active=
"
true"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"tru
e"
show_stripe_button=
"true"
weight=
"0.32739726"
sideWeight=
"0.5"
order=
"7"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Capture Tool"
active=
"false"
anchor=
"left"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.33"
sideWeight=
"0.5"
order=
"2"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Designer"
active=
"false"
anchor=
"right"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.33"
sideWeight=
"0.5"
order=
"3"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Project"
active=
"false"
anchor=
"left"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"true"
show_stripe_button=
"true"
weight=
"0.24071082"
sideWeight=
"0.5"
order=
"0"
side_tool=
"false"
content_ui=
"combo"
/>
...
...
@@ -859,94 +938,6 @@
<watches-manager
/>
</component>
<component
name=
"editorHistoryManager"
>
<entry
file=
"file://$PROJECT_DIR$/src/reducers/user.js"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"432"
>
<caret
line=
"59"
column=
"81"
selection-start-line=
"59"
selection-start-column=
"81"
selection-end-line=
"59"
selection-end-column=
"81"
/>
<folding>
<element
signature=
"e#0#44#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/containers/App/App.less"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"-732"
>
<caret
line=
"31"
column=
"23"
selection-start-line=
"31"
selection-start-column=
"23"
selection-end-line=
"31"
selection-end-column=
"23"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/containers/Users/List.jsx"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"57"
>
<caret
line=
"55"
column=
"5"
selection-start-line=
"55"
selection-start-column=
"5"
selection-end-line=
"55"
selection-end-column=
"5"
/>
<folding>
<element
signature=
"e#0#50#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/components/MainHeader/MainHeader.jsx"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"90"
>
<caret
line=
"6"
column=
"4"
selection-start-line=
"6"
selection-start-column=
"4"
selection-end-line=
"6"
selection-end-column=
"8"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/components/Layout/Layout.less"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"0"
>
<caret
line=
"0"
column=
"9"
selection-start-line=
"0"
selection-start-column=
"9"
selection-end-line=
"0"
selection-end-column=
"9"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/components/MainHeader/MainHeader.less"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"438"
>
<caret
line=
"32"
column=
"32"
selection-start-line=
"32"
selection-start-column=
"32"
selection-end-line=
"32"
selection-end-column=
"32"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/containers/Product/List.jsx"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"165"
>
<caret
line=
"216"
column=
"102"
selection-start-line=
"216"
selection-start-column=
"102"
selection-end-line=
"216"
selection-end-column=
"102"
/>
<folding>
<element
signature=
"e#0#50#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/routes/index.js"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"237"
>
<caret
line=
"58"
column=
"36"
selection-start-line=
"58"
selection-start-column=
"36"
selection-end-line=
"58"
selection-end-column=
"36"
/>
<folding>
<element
signature=
"e#0#50#0"
expanded=
"false"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/containers/Announcement/List.jsx"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"-1398"
>
<caret
line=
"35"
column=
"54"
selection-start-line=
"35"
selection-start-column=
"54"
selection-end-line=
"35"
selection-end-column=
"54"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/containers/Remittance/List.jsx"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"570"
>
<caret
line=
"49"
column=
"77"
selection-start-line=
"49"
selection-start-column=
"77"
selection-end-line=
"49"
selection-end-column=
"77"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/services/xFetch.js"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"345"
>
...
...
@@ -1049,16 +1040,6 @@
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/containers/Remittance/PassItem.jsx"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"342"
>
<caret
line=
"225"
column=
"111"
selection-start-line=
"224"
selection-start-column=
"68"
selection-end-line=
"225"
selection-end-column=
"111"
/>
<folding>
<element
signature=
"e#0#50#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/components/ProductForm/HuikuanInfoForm.jsx"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"507"
>
...
...
@@ -1173,7 +1154,7 @@
<state
relative-caret-position=
"342"
>
<caret
line=
"125"
column=
"45"
selection-start-line=
"125"
selection-start-column=
"19"
selection-end-line=
"125"
selection-end-column=
"45"
/>
<folding>
<element
signature=
"e#0#38#0"
expanded=
"
tru
e"
/>
<element
signature=
"e#0#38#0"
expanded=
"
fals
e"
/>
</folding>
</state>
</provider>
...
...
@@ -1188,14 +1169,6 @@
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/.gitignore"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"45"
>
<caret
line=
"3"
column=
"6"
selection-start-line=
"3"
selection-start-column=
"6"
selection-end-line=
"3"
selection-end-column=
"6"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/containers/Trade/List.jsx"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"360"
>
...
...
@@ -1267,7 +1240,7 @@
<state
relative-caret-position=
"-240"
>
<caret
line=
"0"
column=
"0"
selection-start-line=
"0"
selection-start-column=
"0"
selection-end-line=
"0"
selection-end-column=
"0"
/>
<folding>
<element
signature=
"e#0#38#0"
expanded=
"
tru
e"
/>
<element
signature=
"e#0#38#0"
expanded=
"
fals
e"
/>
</folding>
</state>
</provider>
...
...
@@ -1277,7 +1250,7 @@
<state
relative-caret-position=
"285"
>
<caret
line=
"19"
column=
"11"
selection-start-line=
"19"
selection-start-column=
"11"
selection-end-line=
"19"
selection-end-column=
"11"
/>
<folding>
<element
signature=
"e#0#38#0"
expanded=
"
tru
e"
/>
<element
signature=
"e#0#38#0"
expanded=
"
fals
e"
/>
</folding>
</state>
</provider>
...
...
@@ -1295,7 +1268,113 @@
<state
relative-caret-position=
"133"
>
<caret
line=
"9"
column=
"50"
selection-start-line=
"9"
selection-start-column=
"19"
selection-end-line=
"9"
selection-end-column=
"50"
/>
<folding>
<element
signature=
"e#0#38#0"
expanded=
"true"
/>
<element
signature=
"e#0#38#0"
expanded=
"false"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/containers/BaseFunction/BaseUpload.jsx"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"270"
>
<caret
line=
"52"
column=
"52"
selection-start-line=
"52"
selection-start-column=
"52"
selection-end-line=
"52"
selection-end-column=
"52"
/>
<folding>
<element
signature=
"e#0#50#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/const.js"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"15"
>
<caret
line=
"1"
column=
"0"
selection-start-line=
"0"
selection-start-column=
"0"
selection-end-line=
"1"
selection-end-column=
"0"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/services/user.js"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"0"
>
<caret
line=
"0"
column=
"0"
selection-start-line=
"0"
selection-start-column=
"0"
selection-end-line=
"0"
selection-end-column=
"0"
/>
<folding>
<element
signature=
"e#0#30#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/services/trade.js"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"0"
>
<caret
line=
"0"
column=
"0"
selection-start-line=
"0"
selection-start-column=
"0"
selection-end-line=
"0"
selection-end-column=
"0"
/>
<folding>
<element
signature=
"e#0#30#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/services/todos.js"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"0"
>
<caret
line=
"0"
column=
"0"
selection-start-line=
"0"
selection-start-column=
"0"
selection-end-line=
"0"
selection-end-column=
"0"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/services/remittance.js"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"0"
>
<caret
line=
"0"
column=
"0"
selection-start-line=
"0"
selection-start-column=
"0"
selection-end-line=
"0"
selection-end-column=
"0"
/>
<folding>
<element
signature=
"e#0#30#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/services/product.js"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"0"
>
<caret
line=
"0"
column=
"0"
selection-start-line=
"0"
selection-start-column=
"0"
selection-end-line=
"0"
selection-end-column=
"0"
/>
<folding>
<element
signature=
"e#0#30#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/services/customMessage.js"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"0"
>
<caret
line=
"0"
column=
"0"
selection-start-line=
"0"
selection-start-column=
"0"
selection-end-line=
"0"
selection-end-column=
"0"
/>
<folding>
<element
signature=
"e#0#30#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/services/contract.js"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"0"
>
<caret
line=
"0"
column=
"0"
selection-start-line=
"0"
selection-start-column=
"0"
selection-end-line=
"0"
selection-end-column=
"0"
/>
<folding>
<element
signature=
"e#0#30#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/services/announcement.js"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"0"
>
<caret
line=
"0"
column=
"0"
selection-start-line=
"0"
selection-start-column=
"0"
selection-end-line=
"0"
selection-end-column=
"0"
/>
<folding>
<element
signature=
"e#0#30#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/services/withdraw.js"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"0"
>
<caret
line=
"0"
column=
"0"
selection-start-line=
"0"
selection-start-column=
"0"
selection-end-line=
"0"
selection-end-column=
"0"
/>
<folding>
<element
signature=
"e#0#30#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
...
...
@@ -1308,20 +1387,30 @@
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/containers/
BaseFunction/BaseUpload
.jsx"
>
<entry
file=
"file://$PROJECT_DIR$/src/containers/
Remittance/PassItem
.jsx"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
270
"
>
<caret
line=
"
52"
column=
"52"
selection-start-line=
"52"
selection-start-column=
"52"
selection-end-line=
"52"
selection-end-column=
"5
2"
/>
<state
relative-caret-position=
"
72
"
>
<caret
line=
"
78"
column=
"8"
selection-start-line=
"78"
selection-start-column=
"8"
selection-end-line=
"120"
selection-end-column=
"11
2"
/>
<folding>
<element
signature=
"e#0#50#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/con
st.js
"
>
<entry
file=
"file://$PROJECT_DIR$/src/con
tainers/Withdraw/PassItem.jsx
"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"0"
>
<caret
line=
"0"
column=
"0"
selection-start-line=
"0"
selection-start-column=
"0"
selection-end-line=
"0"
selection-end-column=
"0"
/>
<state
relative-caret-position=
"357"
>
<caret
line=
"213"
column=
"78"
selection-start-line=
"213"
selection-start-column=
"78"
selection-end-line=
"213"
selection-end-column=
"78"
/>
<folding>
<element
signature=
"e#0#50#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/.gitignore"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"60"
>
<caret
line=
"4"
column=
"0"
selection-start-line=
"4"
selection-start-column=
"0"
selection-end-line=
"4"
selection-end-column=
"0"
/>
<folding
/>
</state>
</provider>
...
...
dist/index.js
View file @
1fbbabc6
This source diff could not be displayed because it is too large. You can
view the blob
instead.
proxy.config.js
View file @
1fbbabc6
...
...
@@ -2,6 +2,6 @@
// - https://github.com/dora-js/dora-plugin-proxy#规则定义
module
.
exports
=
{
//
'/api/*': 'http://react.yanky.cn/',
'/api/*'
:
'http://192.168.1.126:8080/'
'/api/*'
:
'http://react.yanky.cn/'
,
//
'/api/*': 'http://192.168.1.126:8080/'
};
src/containers/Withdraw/PassItem.jsx
View file @
1fbbabc6
...
...
@@ -28,7 +28,8 @@ import {
formItemLayout
,
smallFormItemLayout
,
footerFormSubmitLayout
,
remittanceAuditStatusToString
remittanceAuditStatusToString
,
NULL
}
from
'../../utils'
;
@
connect
(
state
=>
({
...
...
@@ -39,6 +40,9 @@ import {
export
default
class
PassItem
extends
Component
{
constructor
()
{
super
(...
arguments
);
this
.
state
=
{
isEdit
:
false
}
}
...
...
@@ -70,16 +74,70 @@ export default class PassItem extends Component {
render
()
{
const
{
audit
,
loading
,
form
:{
getFieldProps
},
location
:{
query
}}
=
this
.
props
;
//
// const {isEdit} = this.state;
//
// let title = (audit && audit.nickname ? audit.nickname + ' - ' : '');
//
// let readOnly = true;
//
// if (audit) {
// switch (audit.status) {
// case 1:
// title += '提现审核详情';
// readOnly = false;
// break;
// case 5:
// title += '审核失败';
// break;
// case 9:
// title += '审核成功';
// }
// } else {
// title += '提现审核详情';
// }
//
// const header = (<MainHeader breadcrumb={['审核管理', '提现审核','审核详情']} title={title}/>);
//
// let memo = [];
//
// if (audit) {
// if (audit.status == 1) {
// const {bankCard, balance, balanceLong, amountLong} = audit;
// if (!balance) {
// memo.push('无余额可用');
// } else if (balanceLong < amountLong) {
// memo.push('余额不足');
// }
//
// const {username, bank, bankBranch, num} = bankCard;
//
// if (!username) {
// memo.push('无持卡人信息');
// }
// if (!num) {
// memo.push('无银行卡号');
// }
// if (!bank || !bankBranch) {
// memo.push('无开户行信息');
// }
// } else {
// memo.push(audit.memo);
// }
// }
//
// memo = memo.length && memo[0] || '';
let
title
=
(
audit
&&
audit
.
nickname
?
audit
.
nickname
+
' - '
:
''
);
let
readOnly
=
true
;
const
isEdit
=
audit
&&
audit
.
status
==
1
&&
this
.
state
.
isEdit
;
if
(
audit
)
{
switch
(
audit
.
status
)
{
case
1
:
title
+=
'报单审核详情'
;
readOnly
=
false
;
break
;
case
5
:
title
+=
'审核失败'
;
...
...
@@ -88,39 +146,32 @@ export default class PassItem extends Component {
title
+=
'审核成功'
;
}
}
else
{
title
+=
'提现审核详情'
;
}
const
header
=
(<
MainHeader
breadcrumb=
{
[
'审核管理'
,
'提现审核'
,
'审核详情'
]
}
title=
{
title
}
/>);
let
memo
=
[];
if
(
audit
)
{
if
(
audit
.
status
==
1
)
{
const
{
bankCard
,
balance
,
balanceLong
,
amountLong
}
=
audit
;
if
(
!
balance
)
{
memo
.
push
(
'无余额可用'
);
}
else
if
(
balanceLong
<
amountLong
)
{
memo
.
push
(
'余额不足'
);
title
+=
'报单审核详情'
;
}
const
{
name
,
bank
,
bankBranch
,
num
}
=
bankCard
;
if
(
!
name
)
{
memo
.
push
(
'无持卡人'
);
}
if
(
!
num
)
{
memo
.
push
(
'无银行卡号'
);
}
if
(
!
bank
||
!
bankBranch
)
{
memo
.
push
(
'无开户行信息'
);
}
}
else
{
memo
.
push
(
audit
.
memo
);
}
const
operation
=
(
<
div
style=
{
{
textAlign
:
'right'
}
}
>
<
Button
.
Group
>
{
audit
&&
audit
.
status
==
1
&&
<
Button
type=
"ghost"
onClick=
{
e
=>
{
e
.
preventDefault
();
this
.
setState
({
isEdit
:
!
this
.
state
.
isEdit
})}
}
>
<
Icon
type=
"edit"
/>
</
Button
>
}
<
Button
type=
"ghost"
onClick=
{
e
=>
{
e
.
preventDefault
();
isEdit
?
this
.
setState
({
isEdit
:
!
this
.
state
.
isEdit
})
:
this
.
props
.
history
.
goBack
();
}
}
>
<
Icon
type=
"rollback"
/>
</
Button
>
</
Button
.
Group
>
</
div
>
);
memo
=
memo
.
join
(
'
\
n'
);
const
header
=
(<
MainHeader
breadcrumb=
{
[
'审核管理'
,
'提现审核'
,
'审核详情'
]
}
title=
{
title
}
operation=
{
operation
}
/>
);
return
(
...
...
@@ -128,51 +179,84 @@ export default class PassItem extends Component {
<
Spin
spinning=
{
loading
}
>
{
audit
&&
<
Form
horizontal
>
<
Form
horizontal
className=
"main-form"
>
<
Row
style=
{
{
padding
:
'0 20px'
}
}
>
<
Col
span=
"12"
>
<
Form
.
Item
label=
"申请时间"
{
...
smallFormItemLayout
}
>
<
Input
placeholder=
"申请时间"
readOnly
defaultValue=
{
audit
.
dateCreated
&&
formatDateTime
(
audit
.
dateCreated
)
||
'错误的时间'
}
/>
{
audit
.
dateCreated
&&
formatDateTime
(
audit
.
dateCreated
)
||
'错误的时间'
}
</
Form
.
Item
>
<
Form
.
Item
label=
"当前余额"
{
...
smallFormItemLayout
}
>
<
Input
placeholder=
"当前余额"
readOnly
defaultValue=
{
audit
.
balance
}
/>
{
audit
.
balance
||
NULL
}
</
Form
.
Item
>
<
Form
.
Item
label=
"持卡人"
{
...
smallFormItemLayout
}
>
{
audit
.
bankCard
&&
audit
.
bankCard
.
username
||
NULL
}
</
Form
.
Item
>
<
Form
.
Item
label=
"持卡人信息"
{
...
smallFormItemLayout
}
>
<
Input
placeholder=
"持卡人信息"
readOnly
defaultValue=
{
'持卡人:'
+
(
audit
.
name
||
''
)
+
' 卡号:'
+
(
audit
.
number
||
''
)
}
/>
<
Form
.
Item
label=
"卡号"
{
...
smallFormItemLayout
}
>
{
audit
.
bankCard
&&
audit
.
bankCard
.
num
||
NULL
}
</
Form
.
Item
>
<
Form
.
Item
label=
"银行卡信息"
{
...
smallFormItemLayout
}
>
<
Input
placeholder=
"银行卡信息"
readOnly
defaultValue=
{
(
audit
.
bankCard
.
bank
||
''
)
+
(
audit
.
bankCard
.
bankBranch
||
''
)
}
/>
{
audit
.
bankCard
&&
audit
.
bankCard
.
bank
||
NULL
}
{
" - "
}
{
audit
.
bankCard
&&
audit
.
bankCard
.
bankBranch
||
NULL
}
</
Form
.
Item
>
<
Form
.
Item
label=
"提现金额"
{
...
smallFormItemLayout
}
>
<
Input
placeholder=
"实际入账金额"
readOnly
defaultValue=
{
audit
.
amount
}
/>
{
audit
.
amount
||
NULL
}
</
Form
.
Item
>
{
audit
.
status
==
5
?
<
Form
.
Item
label=
"拒绝理由"
{
...
smallFormItemLayout
}
>
{
audit
.
memo
||
NULL
}
</
Form
.
Item
>
:
(
audit
.
status
==
1
&&
isEdit
&&
<
Form
.
Item
label=
"拒绝理由"
{
...
smallFormItemLayout
}
>
<
Input
placeholder=
"拒绝理由"
readOnly=
{
readOnly
}
type=
"textarea"
autosize
<
Input
placeholder=
"拒绝理由"
type=
"textarea"
autosize
{
...
getFieldProps
('
memo
',
{
initialValue
:
memo
initialValue
:
''
})}
/>
</
Form
.
Item
>
)
}
<
Form
.
Item
{
...
footerFormSubmitLayout
}
style=
{
{
marginTop
:
30
}
}
>
{
audit
.
status
==
1
&&
audit
.
status
==
1
&&
(
isEdit
?
<
span
>
<
Button
size=
"large"
type=
"primary"
onClick=
{
this
.
handleSubmit
.
bind
(
this
,
9
)
}
>
<
Button
size=
"large"
type=
"primary"
onClick=
{
this
.
handleSubmit
.
bind
(
this
,
9
)
}
>
<
Icon
type=
"check-circle-o"
/>
通过
</
Button
>
<
Button
size=
"large"
type=
"ghost"
onClick=
{
this
.
handleSubmit
.
bind
(
this
,
5
)
}
<
Button
size=
"large"
type=
"ghost"
onClick=
{
this
.
handleSubmit
.
bind
(
this
,
5
)
}
style=
{
{
margin
:
'auto 1em'
}
}
>
<
Icon
type=
"cross-circle-o"
/>
拒绝
</
Button
>
</
span
>
:
<
Button
type=
"primary"
style=
{
{
marginRight
:
'1em'
}
}
onClick=
{
e
=>
{
e
.
preventDefault
();
this
.
setState
({
isEdit
:
!
this
.
state
.
isEdit
})
}
}
>
<
Icon
type=
"edit"
/>
审核
</
Button
>
)
}
<
Button
onClick=
{
e
=>
{
e
.
preventDefault
();
this
.
props
.
history
.
goBack
();}
}
>
<
Icon
type=
"rollback"
/>
返回
<
Button
onClick=
{
e
=>
{
e
.
preventDefault
();
isEdit
?
this
.
setState
({
isEdit
:
!
this
.
state
.
isEdit
})
:
this
.
props
.
history
.
goBack
();
}
}
>
<
Icon
type=
"rollback"
/>
{
isEdit
?
'取消'
:
'返回'
}
</
Button
>
</
Form
.
Item
>
</
Col
>
</
Row
>
</
Form
>
}
</
Spin
>
...
...
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