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
d9a87e8a
Commit
d9a87e8a
authored
Jul 26, 2016
by
superman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
产品列表页面增加筛选表单
parent
013540b4
Show whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
595 additions
and
246 deletions
+595
-246
workspace.xml
.idea/workspace.xml
+406
-193
MainHeader.jsx
src/components/MainHeader.jsx
+9
-3
BaseInfoForm.jsx
src/components/ProductForm/BaseInfoForm.jsx
+11
-8
ShouyiYongjingForm.jsx
src/components/ProductForm/ShouyiYongjingForm.jsx
+11
-3
App.jsx
src/containers/App/App.jsx
+17
-8
AddItem.jsx
src/containers/Product/AddItem.jsx
+1
-1
List.jsx
src/containers/Product/List.jsx
+125
-9
List.jsx
src/containers/Trade/List.jsx
+6
-19
index.less
src/entries/index.less
+3
-1
product.js
src/reducers/product.js
+1
-1
utils.js
src/utils.js
+5
-0
No files found.
.idea/workspace.xml
View file @
d9a87e8a
...
@@ -2,7 +2,16 @@
...
@@ -2,7 +2,16 @@
<project
version=
"4"
>
<project
version=
"4"
>
<component
name=
"ChangeListManager"
>
<component
name=
"ChangeListManager"
>
<list
default=
"true"
id=
"ec208c71-5ff8-4642-a786-fad4f24be9b8"
name=
"Default"
comment=
""
>
<list
default=
"true"
id=
"ec208c71-5ff8-4642-a786-fad4f24be9b8"
name=
"Default"
comment=
""
>
<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/components/MainHeader.jsx"
afterPath=
"$PROJECT_DIR$/src/components/MainHeader.jsx"
/>
<change
type=
"MODIFICATION"
beforePath=
"$PROJECT_DIR$/src/components/ProductForm/BaseInfoForm.jsx"
afterPath=
"$PROJECT_DIR$/src/components/ProductForm/BaseInfoForm.jsx"
/>
<change
type=
"MODIFICATION"
beforePath=
"$PROJECT_DIR$/src/components/ProductForm/ShouyiYongjingForm.jsx"
afterPath=
"$PROJECT_DIR$/src/components/ProductForm/ShouyiYongjingForm.jsx"
/>
<change
type=
"MODIFICATION"
beforePath=
"$PROJECT_DIR$/src/containers/App/App.jsx"
afterPath=
"$PROJECT_DIR$/src/containers/App/App.jsx"
/>
<change
type=
"MODIFICATION"
beforePath=
"$PROJECT_DIR$/src/containers/Product/AddItem.jsx"
afterPath=
"$PROJECT_DIR$/src/containers/Product/AddItem.jsx"
/>
<change
type=
"MODIFICATION"
beforePath=
"$PROJECT_DIR$/src/containers/Product/List.jsx"
afterPath=
"$PROJECT_DIR$/src/containers/Product/List.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/entries/index.less"
afterPath=
"$PROJECT_DIR$/src/entries/index.less"
/>
<change
type=
"MODIFICATION"
beforePath=
"$PROJECT_DIR$/src/reducers/product.js"
afterPath=
"$PROJECT_DIR$/src/reducers/product.js"
/>
<change
type=
"MODIFICATION"
beforePath=
"$PROJECT_DIR$/src/utils.js"
afterPath=
"$PROJECT_DIR$/src/utils.js"
/>
</list>
</list>
<ignored
path=
"shuniu-admin.iws"
/>
<ignored
path=
"shuniu-admin.iws"
/>
<ignored
path=
".idea/workspace.xml"
/>
<ignored
path=
".idea/workspace.xml"
/>
...
@@ -25,31 +34,33 @@
...
@@ -25,31 +34,33 @@
</component>
</component>
<component
name=
"FileEditorManager"
>
<component
name=
"FileEditorManager"
>
<leaf
SIDE_TABS_SIZE_LIMIT_KEY=
"300"
>
<leaf
SIDE_TABS_SIZE_LIMIT_KEY=
"300"
>
<file
leaf-file-name=
"
CopyToClipboard.jsx
"
pinned=
"false"
current-in-tab=
"false"
>
<file
leaf-file-name=
"
utils.js
"
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/src/
components/CopyToClipboard/CopyToClipboard.jsx
"
>
<entry
file=
"file://$PROJECT_DIR$/src/
utils.js
"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
26
7"
>
<state
relative-caret-position=
"
44
7"
>
<caret
line=
"
49"
column=
"12"
selection-start-line=
"49"
selection-start-column=
"12"
selection-end-line=
"49"
selection-end-column=
"12
"
/>
<caret
line=
"
142"
column=
"33"
selection-start-line=
"142"
selection-start-column=
"13"
selection-end-line=
"142"
selection-end-column=
"33
"
/>
<folding
/>
<folding
/>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
</file>
</file>
<file
leaf-file-name=
"
CopyToClipboard.less"
pinned=
"false"
current-in-tab=
"fals
e"
>
<file
leaf-file-name=
"
ShouyiYongjingForm.jsx"
pinned=
"false"
current-in-tab=
"tru
e"
>
<entry
file=
"file://$PROJECT_DIR$/src/components/
CopyToClipboard/CopyToClipboard.less
"
>
<entry
file=
"file://$PROJECT_DIR$/src/components/
ProductForm/ShouyiYongjingForm.jsx
"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"210"
>
<state
relative-caret-position=
"570"
>
<caret
line=
"14"
column=
"27"
selection-start-line=
"14"
selection-start-column=
"27"
selection-end-line=
"14"
selection-end-column=
"27"
/>
<caret
line=
"154"
column=
"114"
selection-start-line=
"154"
selection-start-column=
"114"
selection-end-line=
"154"
selection-end-column=
"114"
/>
<folding
/>
<folding>
<element
signature=
"e#0#50#0"
expanded=
"true"
/>
</folding>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
</file>
</file>
<file
leaf-file-name=
"
MainHeader
.jsx"
pinned=
"false"
current-in-tab=
"false"
>
<file
leaf-file-name=
"
BaseInfoForm
.jsx"
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/src/components/
MainHeader
.jsx"
>
<entry
file=
"file://$PROJECT_DIR$/src/components/
ProductForm/BaseInfoForm
.jsx"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"0"
>
<state
relative-caret-position=
"
27
0"
>
<caret
line=
"
0"
column=
"0"
selection-start-line=
"0"
selection-start-column=
"0"
selection-end-line=
"0"
selection-end-column=
"50
"
/>
<caret
line=
"
94"
column=
"8"
selection-start-line=
"94"
selection-start-column=
"8"
selection-end-line=
"94"
selection-end-column=
"81
"
/>
<folding>
<folding>
<element
signature=
"e#0#50#0"
expanded=
"true"
/>
<element
signature=
"e#0#50#0"
expanded=
"true"
/>
</folding>
</folding>
...
@@ -57,11 +68,23 @@
...
@@ -57,11 +68,23 @@
</provider>
</provider>
</entry>
</entry>
</file>
</file>
<file
leaf-file-name=
"
BaseUpload.jsx"
pinned=
"false"
current-in-tab=
"tru
e"
>
<file
leaf-file-name=
"
product.js"
pinned=
"false"
current-in-tab=
"fals
e"
>
<entry
file=
"file://$PROJECT_DIR$/src/
containers/BaseFunction/BaseUpload.jsx
"
>
<entry
file=
"file://$PROJECT_DIR$/src/
reducers/product.js
"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"162"
>
<state
relative-caret-position=
"522"
>
<caret
line=
"53"
column=
"33"
selection-start-line=
"53"
selection-start-column=
"33"
selection-end-line=
"53"
selection-end-column=
"33"
/>
<caret
line=
"50"
column=
"6"
selection-start-line=
"50"
selection-start-column=
"6"
selection-end-line=
"50"
selection-end-column=
"6"
/>
<folding>
<element
signature=
"e#0#44#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
</file>
<file
leaf-file-name=
"List.jsx"
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/src/containers/Product/List.jsx"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"285"
>
<caret
line=
"165"
column=
"34"
selection-start-line=
"165"
selection-start-column=
"34"
selection-end-line=
"165"
selection-end-column=
"34"
/>
<folding>
<folding>
<element
signature=
"e#0#50#0"
expanded=
"true"
/>
<element
signature=
"e#0#50#0"
expanded=
"true"
/>
</folding>
</folding>
...
@@ -69,48 +92,64 @@
...
@@ -69,48 +92,64 @@
</provider>
</provider>
</entry>
</entry>
</file>
</file>
<file
leaf-file-name=
"
BaseUpload.less
"
pinned=
"false"
current-in-tab=
"false"
>
<file
leaf-file-name=
"
DateTimeStatusForm.jsx
"
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/src/co
ntainers/BaseFunction/BaseUpload.less
"
>
<entry
file=
"file://$PROJECT_DIR$/src/co
mponents/ProductForm/DateTimeStatusForm.jsx
"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"15"
>
<state
relative-caret-position=
"192"
>
<caret
line=
"1"
column=
"21"
selection-start-line=
"1"
selection-start-column=
"21"
selection-end-line=
"1"
selection-end-column=
"21"
/>
<caret
line=
"44"
column=
"58"
selection-start-line=
"44"
selection-start-column=
"8"
selection-end-line=
"44"
selection-end-column=
"58"
/>
<folding
/>
<folding>
<element
signature=
"e#0#50#0"
expanded=
"true"
/>
</folding>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
</file>
</file>
<file
leaf-file-name=
"
README.md
"
pinned=
"false"
current-in-tab=
"false"
>
<file
leaf-file-name=
"
EditItem.jsx
"
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/
README.md
"
>
<entry
file=
"file://$PROJECT_DIR$/
src/containers/Product/EditItem.jsx
"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"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"
/>
<caret
line=
"0"
column=
"0"
selection-start-line=
"0"
selection-start-column=
"0"
selection-end-line=
"0"
selection-end-column=
"0"
/>
<folding
/>
<folding>
<element
signature=
"e#0#50#0"
expanded=
"true"
/>
</folding>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
</file>
</file>
<file
leaf-file-name=
"
DocumentsFor
m.jsx"
pinned=
"false"
current-in-tab=
"false"
>
<file
leaf-file-name=
"
AddIte
m.jsx"
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/src/co
mponents/ProductForm/DocumentsFor
m.jsx"
>
<entry
file=
"file://$PROJECT_DIR$/src/co
ntainers/Product/AddIte
m.jsx"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"225"
>
<state
relative-caret-position=
"615"
>
<caret
line=
"79"
column=
"16"
selection-start-line=
"79"
selection-start-column=
"16"
selection-end-line=
"79"
selection-end-column=
"16"
/>
<caret
line=
"104"
column=
"6"
selection-start-line=
"100"
selection-start-column=
"4"
selection-end-line=
"104"
selection-end-column=
"6"
/>
<folding
/>
<folding>
<element
signature=
"e#0#50#0"
expanded=
"true"
/>
</folding>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
</file>
</file>
<file
leaf-file-name=
"
List.jsx
"
pinned=
"false"
current-in-tab=
"false"
>
<file
leaf-file-name=
"
index.js
"
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/src/
containers/CustomMessage/List.jsx
"
>
<entry
file=
"file://$PROJECT_DIR$/src/
entries/index.js
"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
342
"
>
<state
relative-caret-position=
"
0
"
>
<caret
line=
"
91"
column=
"82"
selection-start-line=
"91"
selection-start-column=
"8"
selection-end-line=
"91"
selection-end-column=
"82
"
/>
<caret
line=
"
0"
column=
"0"
selection-start-line=
"0"
selection-start-column=
"0"
selection-end-line=
"0"
selection-end-column=
"0
"
/>
<folding>
<folding>
<element
signature=
"e#0#
50
#0"
expanded=
"true"
/>
<element
signature=
"e#0#
22
#0"
expanded=
"true"
/>
</folding>
</folding>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
</file>
</file>
<file
leaf-file-name=
"index.less"
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/src/entries/index.less"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"228"
>
<caret
line=
"25"
column=
"35"
selection-start-line=
"25"
selection-start-column=
"35"
selection-end-line=
"25"
selection-end-column=
"35"
/>
<folding
/>
</state>
</provider>
</entry>
</file>
</leaf>
</leaf>
</component>
</component>
<component
name=
"Git.Settings"
>
<component
name=
"Git.Settings"
>
...
@@ -124,12 +163,6 @@
...
@@ -124,12 +163,6 @@
<component
name=
"IdeDocumentHistory"
>
<component
name=
"IdeDocumentHistory"
>
<option
name=
"CHANGED_PATHS"
>
<option
name=
"CHANGED_PATHS"
>
<list>
<list>
<option
value=
"$PROJECT_DIR$/src/containers/Product/EditItem.jsx"
/>
<option
value=
"$PROJECT_DIR$/src/containers/Product/List.jsx"
/>
<option
value=
"$PROJECT_DIR$/src/containers/Announcement/EditItem.jsx"
/>
<option
value=
"$PROJECT_DIR$/src/containers/Remittance/AuditList.jsx"
/>
<option
value=
"$PROJECT_DIR$/src/containers/Audit/Remittance/List.jsx"
/>
<option
value=
"$PROJECT_DIR$/src/containers/Audit/Remittance/EditItem.jsx"
/>
<option
value=
"$PROJECT_DIR$/src/reducers/audit.js"
/>
<option
value=
"$PROJECT_DIR$/src/reducers/audit.js"
/>
<option
value=
"$PROJECT_DIR$/src/sagas/audit.js"
/>
<option
value=
"$PROJECT_DIR$/src/sagas/audit.js"
/>
<option
value=
"$PROJECT_DIR$/src/services/xFetch.js"
/>
<option
value=
"$PROJECT_DIR$/src/services/xFetch.js"
/>
...
@@ -155,9 +188,7 @@
...
@@ -155,9 +188,7 @@
<option
value=
"$PROJECT_DIR$/src/services/customMessage.js"
/>
<option
value=
"$PROJECT_DIR$/src/services/customMessage.js"
/>
<option
value=
"$PROJECT_DIR$/src/sagas/customMessage.js"
/>
<option
value=
"$PROJECT_DIR$/src/sagas/customMessage.js"
/>
<option
value=
"$PROJECT_DIR$/src/containers/CustomMessage/List.jsx"
/>
<option
value=
"$PROJECT_DIR$/src/containers/CustomMessage/List.jsx"
/>
<option
value=
"$PROJECT_DIR$/src/entries/index.less"
/>
<option
value=
"$PROJECT_DIR$/src/components/ProductForm/HuikuanInfoForm.jsx"
/>
<option
value=
"$PROJECT_DIR$/src/components/ProductForm/HuikuanInfoForm.jsx"
/>
<option
value=
"$PROJECT_DIR$/src/components/ProductForm/BaseInfoForm.jsx"
/>
<option
value=
"$PROJECT_DIR$/src/containers/Announcement/AddItem.jsx"
/>
<option
value=
"$PROJECT_DIR$/src/containers/Announcement/AddItem.jsx"
/>
<option
value=
"$PROJECT_DIR$/src/containers/Announcement/List.jsx"
/>
<option
value=
"$PROJECT_DIR$/src/containers/Announcement/List.jsx"
/>
<option
value=
"$PROJECT_DIR$/src/containers/CustomMessage/AddItem.jsx"
/>
<option
value=
"$PROJECT_DIR$/src/containers/CustomMessage/AddItem.jsx"
/>
...
@@ -167,14 +198,22 @@
...
@@ -167,14 +198,22 @@
<option
value=
"$PROJECT_DIR$/src/containers/Trade/Item.jsx"
/>
<option
value=
"$PROJECT_DIR$/src/containers/Trade/Item.jsx"
/>
<option
value=
"$PROJECT_DIR$/src/containers/index.js"
/>
<option
value=
"$PROJECT_DIR$/src/containers/index.js"
/>
<option
value=
"$PROJECT_DIR$/src/routes/index.js"
/>
<option
value=
"$PROJECT_DIR$/src/routes/index.js"
/>
<option
value=
"$PROJECT_DIR$/src/containers/App/App.jsx"
/>
<option
value=
"$PROJECT_DIR$/src/utils.js"
/>
<option
value=
"$PROJECT_DIR$/src/components/CopyToClipboard.jsx"
/>
<option
value=
"$PROJECT_DIR$/src/components/CopyToClipboard.jsx"
/>
<option
value=
"$PROJECT_DIR$/src/components/CopyToClipboard/CopyToClipboard.less"
/>
<option
value=
"$PROJECT_DIR$/src/components/CopyToClipboard/CopyToClipboard.less"
/>
<option
value=
"$PROJECT_DIR$/src/components/CopyToClipboard/CopyToClipboard.jsx"
/>
<option
value=
"$PROJECT_DIR$/src/components/CopyToClipboard/CopyToClipboard.jsx"
/>
<option
value=
"$PROJECT_DIR$/src/containers/BaseFunction/BaseUpload.less"
/>
<option
value=
"$PROJECT_DIR$/src/containers/BaseFunction/BaseUpload.less"
/>
<option
value=
"$PROJECT_DIR$/.gitignore"
/>
<option
value=
"$PROJECT_DIR$/.gitignore"
/>
<option
value=
"$PROJECT_DIR$/src/containers/BaseFunction/BaseUpload.jsx"
/>
<option
value=
"$PROJECT_DIR$/src/containers/BaseFunction/BaseUpload.jsx"
/>
<option
value=
"$PROJECT_DIR$/src/containers/App/App.jsx"
/>
<option
value=
"$PROJECT_DIR$/src/containers/Trade/List.jsx"
/>
<option
value=
"$PROJECT_DIR$/src/components/MainHeader.jsx"
/>
<option
value=
"$PROJECT_DIR$/src/entries/index.less"
/>
<option
value=
"$PROJECT_DIR$/src/utils.js"
/>
<option
value=
"$PROJECT_DIR$/src/containers/Product/AddItem.jsx"
/>
<option
value=
"$PROJECT_DIR$/src/reducers/product.js"
/>
<option
value=
"$PROJECT_DIR$/src/components/ProductForm/BaseInfoForm.jsx"
/>
<option
value=
"$PROJECT_DIR$/src/containers/Product/List.jsx"
/>
<option
value=
"$PROJECT_DIR$/src/components/ProductForm/ShouyiYongjingForm.jsx"
/>
</list>
</list>
</option>
</option>
</component>
</component>
...
@@ -231,6 +270,180 @@
...
@@ -231,6 +270,180 @@
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
</PATH_ELEMENT>
</PATH_ELEMENT>
</PATH>
</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>
<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=
"reducers"
/>
<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=
"entries"
/>
<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=
"Trade"
/>
<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=
"Product"
/>
<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=
"App"
/>
<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=
"components"
/>
<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=
"components"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
</PATH_ELEMENT>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"ProductForm"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
</PATH_ELEMENT>
</PATH>
<PATH>
<PATH>
<PATH_ELEMENT>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"shuniu-admin"
/>
<option
name=
"myItemId"
value=
"shuniu-admin"
/>
...
@@ -722,12 +935,12 @@
...
@@ -722,12 +935,12 @@
<workItem
from=
"1468394206076"
duration=
"1879000"
/>
<workItem
from=
"1468394206076"
duration=
"1879000"
/>
<workItem
from=
"1468396235889"
duration=
"33823000"
/>
<workItem
from=
"1468396235889"
duration=
"33823000"
/>
<workItem
from=
"1468540294765"
duration=
"94258000"
/>
<workItem
from=
"1468540294765"
duration=
"94258000"
/>
<workItem
from=
"1468995021353"
duration=
"14
0333
000"
/>
<workItem
from=
"1468995021353"
duration=
"14
8465
000"
/>
</task>
</task>
<servers
/>
<servers
/>
</component>
</component>
<component
name=
"TimeTrackingManager"
>
<component
name=
"TimeTrackingManager"
>
<option
name=
"totallyTimeSpent"
value=
"27
0293
000"
/>
<option
name=
"totallyTimeSpent"
value=
"27
8425
000"
/>
</component>
</component>
<component
name=
"TodoView"
>
<component
name=
"TodoView"
>
<todo-panel
id=
"selected-file"
>
<todo-panel
id=
"selected-file"
>
...
@@ -740,7 +953,7 @@
...
@@ -740,7 +953,7 @@
</component>
</component>
<component
name=
"ToolWindowManager"
>
<component
name=
"ToolWindowManager"
>
<frame
x=
"0"
y=
"0"
width=
"1280"
height=
"800"
extended-state=
"0"
/>
<frame
x=
"0"
y=
"0"
width=
"1280"
height=
"800"
extended-state=
"0"
/>
<editor
active=
"
fals
e"
/>
<editor
active=
"
tru
e"
/>
<layout>
<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=
"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"
/>
<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"
/>
...
@@ -750,7 +963,7 @@
...
@@ -750,7 +963,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=
"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=
"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=
"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=
"
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=
"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=
"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=
"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=
"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"
/>
<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"
/>
...
@@ -812,82 +1025,6 @@
...
@@ -812,82 +1025,6 @@
<watches-manager
/>
<watches-manager
/>
</component>
</component>
<component
name=
"editorHistoryManager"
>
<component
name=
"editorHistoryManager"
>
<entry
file=
"file://$PROJECT_DIR$/src/containers/Trade/Item.less"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"210"
>
<caret
line=
"14"
column=
"4"
selection-start-line=
"14"
selection-start-column=
"4"
selection-end-line=
"14"
selection-end-column=
"4"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/containers/Product/EditItem.jsx"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"402"
>
<caret
line=
"108"
column=
"103"
selection-start-line=
"108"
selection-start-column=
"103"
selection-end-line=
"108"
selection-end-column=
"103"
/>
<folding>
<element
signature=
"e#0#50#0"
expanded=
"false"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/containers/Trade/Contract.jsx"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"267"
>
<caret
line=
"64"
column=
"8"
selection-start-line=
"64"
selection-start-column=
"8"
selection-end-line=
"64"
selection-end-column=
"94"
/>
<folding>
<element
signature=
"e#0#50#0"
expanded=
"false"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/reducers/trade.js"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"-45"
>
<caret
line=
"3"
column=
"19"
selection-start-line=
"3"
selection-start-column=
"19"
selection-end-line=
"3"
selection-end-column=
"19"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/sagas/trade.js"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"495"
>
<caret
line=
"75"
column=
"32"
selection-start-line=
"75"
selection-start-column=
"32"
selection-end-line=
"75"
selection-end-column=
"32"
/>
<folding>
<element
signature=
"e#0#38#0"
expanded=
"false"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/containers/Trade/AddItem.jsx"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"432"
>
<caret
line=
"54"
column=
"33"
selection-start-line=
"54"
selection-start-column=
"33"
selection-end-line=
"54"
selection-end-column=
"33"
/>
<folding>
<element
signature=
"e#0#50#0"
expanded=
"false"
/>
</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=
"135"
>
<caret
line=
"9"
column=
"26"
selection-start-line=
"9"
selection-start-column=
"26"
selection-end-line=
"9"
selection-end-column=
"26"
/>
<folding>
<element
signature=
"e#0#30#0"
expanded=
"false"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/sagas/remittance.js"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"279"
>
<caret
line=
"19"
column=
"25"
selection-start-line=
"19"
selection-start-column=
"25"
selection-end-line=
"19"
selection-end-column=
"35"
/>
<folding>
<element
signature=
"e#0#38#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/containers/Withdraw/PassItem.jsx"
>
<entry
file=
"file://$PROJECT_DIR$/src/containers/Withdraw/PassItem.jsx"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"1005"
>
<state
relative-caret-position=
"1005"
>
...
@@ -1006,16 +1143,6 @@
...
@@ -1006,16 +1143,6 @@
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/containers/Product/List.jsx"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"462"
>
<caret
line=
"142"
column=
"61"
selection-start-line=
"142"
selection-start-column=
"22"
selection-end-line=
"142"
selection-end-column=
"61"
/>
<folding>
<element
signature=
"e#0#50#0"
expanded=
"false"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/proxy.config.js"
>
<entry
file=
"file://$PROJECT_DIR$/proxy.config.js"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"642"
>
<state
relative-caret-position=
"642"
>
...
@@ -1044,14 +1171,6 @@
...
@@ -1044,14 +1171,6 @@
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/entries/index.less"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"210"
>
<caret
line=
"15"
column=
"20"
selection-start-line=
"15"
selection-start-column=
"20"
selection-end-line=
"15"
selection-end-column=
"20"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/components/ProductForm/HuikuanInfoForm.jsx"
>
<entry
file=
"file://$PROJECT_DIR$/src/components/ProductForm/HuikuanInfoForm.jsx"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"402"
>
<state
relative-caret-position=
"402"
>
...
@@ -1140,16 +1259,6 @@
...
@@ -1140,16 +1259,6 @@
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/containers/Trade/Item.jsx"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"507"
>
<caret
line=
"139"
column=
"38"
selection-start-line=
"139"
selection-start-column=
"38"
selection-end-line=
"139"
selection-end-column=
"38"
/>
<folding>
<element
signature=
"e#0#50#0"
expanded=
"false"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/containers/Announcement/List.jsx"
>
<entry
file=
"file://$PROJECT_DIR$/src/containers/Announcement/List.jsx"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"-1413"
>
<state
relative-caret-position=
"-1413"
>
...
@@ -1178,114 +1287,218 @@
...
@@ -1178,114 +1287,218 @@
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/components/CopyToClipboard/CopyToClipboard.less"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"210"
>
<caret
line=
"14"
column=
"27"
selection-start-line=
"14"
selection-start-column=
"27"
selection-end-line=
"14"
selection-end-column=
"27"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/components/CopyToClipboard/CopyToClipboard.jsx"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"267"
>
<caret
line=
"49"
column=
"12"
selection-start-line=
"49"
selection-start-column=
"12"
selection-end-line=
"49"
selection-end-column=
"12"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/containers/BaseFunction/BaseUpload.less"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"15"
>
<caret
line=
"1"
column=
"21"
selection-start-line=
"1"
selection-start-column=
"21"
selection-end-line=
"1"
selection-end-column=
"21"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/README.md"
>
<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/components/ProductForm/DocumentsForm.jsx"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"225"
>
<caret
line=
"79"
column=
"16"
selection-start-line=
"79"
selection-start-column=
"16"
selection-end-line=
"79"
selection-end-column=
"16"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/containers/CustomMessage/List.jsx"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"342"
>
<caret
line=
"91"
column=
"82"
selection-start-line=
"91"
selection-start-column=
"8"
selection-end-line=
"91"
selection-end-column=
"82"
/>
<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=
"30"
>
<caret
line=
"2"
column=
"0"
selection-start-line=
"2"
selection-start-column=
"0"
selection-end-line=
"2"
selection-end-column=
"0"
/>
<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=
"162"
>
<caret
line=
"53"
column=
"33"
selection-start-line=
"53"
selection-start-column=
"33"
selection-end-line=
"53"
selection-end-column=
"33"
/>
<folding>
<element
signature=
"e#0#50#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/dist/index.html"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"240"
>
<caret
line=
"16"
column=
"0"
selection-start-line=
"16"
selection-start-column=
"0"
selection-end-line=
"16"
selection-end-column=
"0"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/containers/App/App.jsx"
>
<entry
file=
"file://$PROJECT_DIR$/src/containers/App/App.jsx"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
-18
0"
>
<state
relative-caret-position=
"
33
0"
>
<caret
line=
"
74"
column=
"13"
selection-start-line=
"74"
selection-start-column=
"13"
selection-end-line=
"74"
selection-end-column=
"13
"
/>
<caret
line=
"
89"
column=
"47"
selection-start-line=
"89"
selection-start-column=
"47"
selection-end-line=
"89"
selection-end-column=
"47
"
/>
<folding>
<folding>
<element
signature=
"e#0#50#0"
expanded=
"true"
/>
<element
signature=
"e#0#50#0"
expanded=
"true"
/>
</folding>
</folding>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/co
mponents/ProductForm/BaseInfoForm
.jsx"
>
<entry
file=
"file://$PROJECT_DIR$/src/co
ntainers/Trade/List
.jsx"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
345
"
>
<state
relative-caret-position=
"
297
"
>
<caret
line=
"13
5"
column=
"87"
selection-start-line=
"135"
selection-start-column=
"64"
selection-end-line=
"135"
selection-end-column=
"8
7"
/>
<caret
line=
"13
0"
column=
"7"
selection-start-line=
"130"
selection-start-column=
"7"
selection-end-line=
"130"
selection-end-column=
"
7"
/>
<folding>
<folding>
<element
signature=
"e#0#50#0"
expanded=
"true"
/>
<element
signature=
"e#0#50#0"
expanded=
"true"
/>
</folding>
</folding>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/
utils.js
"
>
<entry
file=
"file://$PROJECT_DIR$/src/
containers/Trade/Item.jsx
"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
41
7"
>
<state
relative-caret-position=
"
23
7"
>
<caret
line=
"1
68"
column=
"31"
selection-start-line=
"168"
selection-start-column=
"31"
selection-end-line=
"168"
selection-end-column=
"31
"
/>
<caret
line=
"1
21"
column=
"86"
selection-start-line=
"121"
selection-start-column=
"37"
selection-end-line=
"121"
selection-end-column=
"86
"
/>
<folding
/>
<folding
/>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/components/MainHeader.jsx"
>
<entry
file=
"file://$PROJECT_DIR$/src/components/MainHeader.jsx"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
0
"
>
<state
relative-caret-position=
"
525
"
>
<caret
line=
"
0"
column=
"0"
selection-start-line=
"0"
selection-start-column=
"0"
selection-end-line=
"0"
selection-end-column=
"50
"
/>
<caret
line=
"
35"
column=
"42"
selection-start-line=
"35"
selection-start-column=
"42"
selection-end-line=
"35"
selection-end-column=
"42
"
/>
<folding>
<folding>
<element
signature=
"e#0#50#0"
expanded=
"true"
/>
<element
signature=
"e#0#50#0"
expanded=
"true"
/>
</folding>
</folding>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/co
mponents/CopyToClipboard/CopyToClipboard
.less"
>
<entry
file=
"file://$PROJECT_DIR$/src/co
ntainers/App/App
.less"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
210
"
>
<state
relative-caret-position=
"
-1647
"
>
<caret
line=
"
14"
column=
"27"
selection-start-line=
"14"
selection-start-column=
"27"
selection-end-line=
"14"
selection-end-column=
"27
"
/>
<caret
line=
"
0"
column=
"0"
selection-start-line=
"0"
selection-start-column=
"0"
selection-end-line=
"0"
selection-end-column=
"0
"
/>
<folding
/>
<folding
/>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/
components/CopyToClipboard/CopyToClipboard.jsx
"
>
<entry
file=
"file://$PROJECT_DIR$/src/
entries/index.js
"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"267"
>
<state
relative-caret-position=
"0"
>
<caret
line=
"49"
column=
"12"
selection-start-line=
"49"
selection-start-column=
"12"
selection-end-line=
"49"
selection-end-column=
"12"
/>
<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#22#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/entries/index.less"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"228"
>
<caret
line=
"25"
column=
"35"
selection-start-line=
"25"
selection-start-column=
"35"
selection-end-line=
"25"
selection-end-column=
"35"
/>
<folding
/>
<folding
/>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/
containers/BaseFunction/BaseUpload.les
s"
>
<entry
file=
"file://$PROJECT_DIR$/src/
utils.j
s"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
15
"
>
<state
relative-caret-position=
"
447
"
>
<caret
line=
"1
"
column=
"21"
selection-start-line=
"1"
selection-start-column=
"21"
selection-end-line=
"1"
selection-end-column=
"21
"
/>
<caret
line=
"1
42"
column=
"33"
selection-start-line=
"142"
selection-start-column=
"13"
selection-end-line=
"142"
selection-end-column=
"33
"
/>
<folding
/>
<folding
/>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/
README.md
"
>
<entry
file=
"file://$PROJECT_DIR$/
src/containers/Product/EditItem.jsx
"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"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"
/>
<caret
line=
"0"
column=
"0"
selection-start-line=
"0"
selection-start-column=
"0"
selection-end-line=
"0"
selection-end-column=
"0"
/>
<folding
/>
<folding>
<element
signature=
"e#0#50#0"
expanded=
"true"
/>
</folding>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/co
mponents/ProductForm/DocumentsFor
m.jsx"
>
<entry
file=
"file://$PROJECT_DIR$/src/co
ntainers/Product/AddIte
m.jsx"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"225"
>
<state
relative-caret-position=
"615"
>
<caret
line=
"79"
column=
"16"
selection-start-line=
"79"
selection-start-column=
"16"
selection-end-line=
"79"
selection-end-column=
"16"
/>
<caret
line=
"104"
column=
"6"
selection-start-line=
"100"
selection-start-column=
"4"
selection-end-line=
"104"
selection-end-column=
"6"
/>
<folding
/>
<folding>
<element
signature=
"e#0#50#0"
expanded=
"true"
/>
</folding>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/
containers/CustomMessage/List.jsx
"
>
<entry
file=
"file://$PROJECT_DIR$/src/
reducers/product.js
"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"342"
>
<state
relative-caret-position=
"522"
>
<caret
line=
"91"
column=
"82"
selection-start-line=
"91"
selection-start-column=
"8"
selection-end-line=
"91"
selection-end-column=
"82"
/>
<caret
line=
"50"
column=
"6"
selection-start-line=
"50"
selection-start-column=
"6"
selection-end-line=
"50"
selection-end-column=
"6"
/>
<folding>
<element
signature=
"e#0#44#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/components/ProductForm/BaseInfoForm.jsx"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"270"
>
<caret
line=
"94"
column=
"8"
selection-start-line=
"94"
selection-start-column=
"8"
selection-end-line=
"94"
selection-end-column=
"81"
/>
<folding>
<folding>
<element
signature=
"e#0#50#0"
expanded=
"true"
/>
<element
signature=
"e#0#50#0"
expanded=
"true"
/>
</folding>
</folding>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/
.gitignore
"
>
<entry
file=
"file://$PROJECT_DIR$/
src/components/ProductForm/DateTimeStatusForm.jsx
"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"30"
>
<state
relative-caret-position=
"192"
>
<caret
line=
"2"
column=
"0"
selection-start-line=
"2"
selection-start-column=
"0"
selection-end-line=
"2"
selection-end-column=
"0"
/>
<caret
line=
"44"
column=
"58"
selection-start-line=
"44"
selection-start-column=
"8"
selection-end-line=
"44"
selection-end-column=
"58"
/>
<folding
/>
<folding>
<element
signature=
"e#0#50#0"
expanded=
"true"
/>
</folding>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/
dist/index.html
"
>
<entry
file=
"file://$PROJECT_DIR$/
src/containers/Product/List.jsx
"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"240"
>
<state
relative-caret-position=
"285"
>
<caret
line=
"16"
column=
"0"
selection-start-line=
"16"
selection-start-column=
"0"
selection-end-line=
"16"
selection-end-column=
"0"
/>
<caret
line=
"165"
column=
"34"
selection-start-line=
"165"
selection-start-column=
"34"
selection-end-line=
"165"
selection-end-column=
"34"
/>
<folding
/>
<folding>
<element
signature=
"e#0#50#0"
expanded=
"true"
/>
</folding>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/co
ntainers/BaseFunction/BaseUpload
.jsx"
>
<entry
file=
"file://$PROJECT_DIR$/src/co
mponents/ProductForm/ShouyiYongjingForm
.jsx"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
162
"
>
<state
relative-caret-position=
"
570
"
>
<caret
line=
"
53"
column=
"33"
selection-start-line=
"53"
selection-start-column=
"33"
selection-end-line=
"53"
selection-end-column=
"33
"
/>
<caret
line=
"
154"
column=
"114"
selection-start-line=
"154"
selection-start-column=
"114"
selection-end-line=
"154"
selection-end-column=
"114
"
/>
<folding>
<folding>
<element
signature=
"e#0#50#0"
expanded=
"true"
/>
<element
signature=
"e#0#50#0"
expanded=
"true"
/>
</folding>
</folding>
...
...
src/components/MainHeader.jsx
View file @
d9a87e8a
...
@@ -15,21 +15,27 @@ export default class MainHeader extends Component {
...
@@ -15,21 +15,27 @@ export default class MainHeader extends Component {
render
()
{
render
()
{
const
{
breadcrumb
,
title
}
=
this
.
props
;
const
{
breadcrumb
,
title
,
operation
}
=
this
.
props
;
return
(
return
(
<
div
className=
"main-header"
>
<
div
className=
"main-header"
>
<
Row
>
<
Row
>
<
Col
span=
"8"
>
<
Col
span=
"8"
>
<
Breadcrumb
>
<
Breadcrumb
>
{
breadcrumb
.
map
((
b
,
i
)
=>
<
Breadcrumb
.
Item
key=
{
i
}
>
{
b
}
</
Breadcrumb
.
Item
>)
}
{
breadcrumb
.
map
((
b
,
i
)
=>
<
Breadcrumb
.
Item
key=
{
i
}
>
{
b
}
</
Breadcrumb
.
Item
>)
}
</
Breadcrumb
>
</
Breadcrumb
>
</
Col
>
</
Col
>
</
Row
>
</
Row
>
<
Row
>
<
Row
type=
"flex"
justify=
"space-around"
align=
"middle"
>
<
Col
span=
"20"
>
<
Col
span=
"20"
>
<
h1
className=
"tac"
>
{
title
}
</
h1
>
<
h1
className=
"tac"
>
{
title
}
</
h1
>
</
Col
>
</
Col
>
{
operation
&&
<
Col
span=
"4"
>
{
operation
}
</
Col
>
}
</
Row
>
</
Row
>
</
div
>
</
div
>
);
);
...
...
src/components/ProductForm/BaseInfoForm.jsx
View file @
d9a87e8a
...
@@ -49,12 +49,12 @@ export default class BaseInfoForm extends Component {
...
@@ -49,12 +49,12 @@ export default class BaseInfoForm extends Component {
};
};
}
}
componentWillMount
(){
componentWillMount
()
{
const
{
itemPic
}
=
this
.
props
.
product
;
const
{
itemPic
}
=
this
.
props
.
product
;
if
(
itemPic
)
{
if
(
itemPic
)
{
this
.
setState
({
this
.
setState
({
fileList
:[{
fileList
:
[{
uid
:
UUID
(),
uid
:
UUID
(),
status
:
'done'
,
status
:
'done'
,
url
:
itemPic
,
url
:
itemPic
,
...
@@ -104,11 +104,14 @@ export default class BaseInfoForm extends Component {
...
@@ -104,11 +104,14 @@ export default class BaseInfoForm extends Component {
<
Spin
spinning=
{
loading
}
>
<
Spin
spinning=
{
loading
}
>
<
Form
horizontal
onSubmit=
{
this
.
handleSubmit
.
bind
(
this
)
}
>
<
Form
horizontal
onSubmit=
{
this
.
handleSubmit
.
bind
(
this
)
}
>
<
Form
.
Item
label=
"产品类目"
{
...
smallFormItemLayout
}
>
<
Form
.
Item
label=
"产品类目"
{
...
smallFormItemLayout
}
>
{
cates
&&
<
Cascader
options=
{
cates
}
placeholder=
"请选产品类目"
<
Cascader
options=
{
cates
}
placeholder=
"请选产品类目"
{
...
getFieldProps
('
categoryId
',
{
{
...
getFieldProps
('
categoryId
',
{
initialValue
:
productCate
initialValue
:
productCate
})}
})}
/>
/>
}
</
Form
.
Item
>
</
Form
.
Item
>
<
Form
.
Item
label=
"产品短标题"
{
...
smallFormItemLayout
}
>
<
Form
.
Item
label=
"产品短标题"
{
...
smallFormItemLayout
}
>
<
Input
placeholder=
"产品短标题"
<
Input
placeholder=
"产品短标题"
...
@@ -234,7 +237,7 @@ export default class BaseInfoForm extends Component {
...
@@ -234,7 +237,7 @@ export default class BaseInfoForm extends Component {
!
this
.
props
.
isCreate
&&
!
this
.
props
.
isCreate
&&
<
Button
onClick=
{
e
=>
{
e
.
preventDefault
();
this
.
props
.
history
.
goBack
();}
}
<
Button
onClick=
{
e
=>
{
e
.
preventDefault
();
this
.
props
.
history
.
goBack
();}
}
style=
{
{
marginLeft
:
'1em'
}
}
>
style=
{
{
marginLeft
:
'1em'
}
}
>
<
Icon
type=
"rollback"
/>
返回
<
Icon
type=
"rollback"
/>
返回
</
Button
>
</
Button
>
}
}
</
Form
.
Item
>
</
Form
.
Item
>
...
...
src/components/ProductForm/ShouyiYongjingForm.jsx
View file @
d9a87e8a
...
@@ -86,7 +86,15 @@ export default class ShouyiYongjingForm extends Component {
...
@@ -86,7 +86,15 @@ export default class ShouyiYongjingForm extends Component {
};
};
Object
.
keys
(
formData
).
forEach
(
key
=>
{
Object
.
keys
(
formData
).
forEach
(
key
=>
{
if
(
/^
[\d]
+$/g
.
test
(
key
))
{
if
(
/^
[\d]
+$/g
.
test
(
key
))
{
commissionAlg
.
push
(
formData
[
key
]);
const
d
=
formData
[
key
];
commissionAlg
.
push
({
min
:
d
.
min
,
max
:
d
.
max
,
result
:{
yj
:
d
.
yj
,
sy
:
d
.
sy
}
});
}
else
{
}
else
{
data
[
key
]
=
formData
[
key
];
data
[
key
]
=
formData
[
key
];
}
}
...
@@ -141,10 +149,10 @@ export default class ShouyiYongjingForm extends Component {
...
@@ -141,10 +149,10 @@ export default class ShouyiYongjingForm extends Component {
<
Input
{
...
getFieldProps
(
index
+
'
.
max
',
{
initialValue
:
item
.
max
})}
/>
<
Input
{
...
getFieldProps
(
index
+
'
.
max
',
{
initialValue
:
item
.
max
})}
/>
</
Col
>
</
Col
>
<
Col
span=
"5"
>
<
Col
span=
"5"
>
<
Input
{
...
getFieldProps
(
index
+
'
.
sy
',
{
initialValue
:
item
.
sy
})}
/>
<
Input
{
...
getFieldProps
(
index
+
'
.
sy
',
{
initialValue
:
item
.
result
&&
item
.
result
.
sy
})}
/>
</
Col
>
</
Col
>
<
Col
span=
"5"
>
<
Col
span=
"5"
>
<
Input
{
...
getFieldProps
(
index
+
'
.
yj
',
{
initialValue
:
item
.
yj
})}
/>
<
Input
{
...
getFieldProps
(
index
+
'
.
yj
',
{
initialValue
:
item
.
result
&&
item
.
result
.
yj
})}
/>
</
Col
>
</
Col
>
<
Col
span=
"4"
>
<
Col
span=
"4"
>
<
Icon
type=
"cross"
onClick=
{
this
.
handleRemoveYongjin
.
bind
(
this
,
index
)
}
/>
<
Icon
type=
"cross"
onClick=
{
this
.
handleRemoveYongjin
.
bind
(
this
,
index
)
}
/>
...
...
src/containers/App/App.jsx
View file @
d9a87e8a
...
@@ -3,7 +3,7 @@ import {Router, Route, IndexRoute, Link} from 'react-router';
...
@@ -3,7 +3,7 @@ import {Router, Route, IndexRoute, Link} from 'react-router';
import
Layout
from
'../../components/Layout/Layout'
;
import
Layout
from
'../../components/Layout/Layout'
;
import
{
connect
}
from
'react-redux'
;
import
{
connect
}
from
'react-redux'
;
import
{
Collapse
,
Menu
,
Icon
,
Upload
}
from
'antd'
;
import
{
Collapse
,
Menu
,
Icon
,
Upload
,
Row
,
Col
}
from
'antd'
;
const
Panel
=
Collapse
.
Panel
;
const
Panel
=
Collapse
.
Panel
;
const
SubMenu
=
Menu
.
SubMenu
;
const
SubMenu
=
Menu
.
SubMenu
;
...
@@ -53,20 +53,20 @@ export default class App extends Component {
...
@@ -53,20 +53,20 @@ export default class App extends Component {
to
:
'/remittance/audits'
,
to
:
'/remittance/audits'
,
cn
:
'报单审核'
,
cn
:
'报单审核'
,
en
:
'Remittance Audits'
en
:
'Remittance Audits'
},{
},
{
to
:
'/withdraw/audits'
,
to
:
'/withdraw/audits'
,
cn
:
'提现审核'
,
cn
:
'提现审核'
,
en
:
'Withdraw Money'
en
:
'Withdraw Money'
}
}
]
]
},{
},
{
title
:
'消息管理'
,
title
:
'消息管理'
,
items
:[
items
:
[
{
{
to
:
'/customMessages'
,
to
:
'/customMessages'
,
cn
:
'消息列表'
,
cn
:
'消息列表'
,
en
:
'Messages'
en
:
'Messages'
},{
},
{
to
:
'/customMessages/create'
,
to
:
'/customMessages/create'
,
cn
:
'推送消息'
,
cn
:
'推送消息'
,
en
:
'Send Message'
en
:
'Send Message'
...
@@ -81,7 +81,16 @@ export default class App extends Component {
...
@@ -81,7 +81,16 @@ export default class App extends Component {
return
(
return
(
<
div
className=
{
styles
.
normal
}
>
<
div
className=
{
styles
.
normal
}
>
<
div
className=
{
styles
.
head
}
>
<
div
className=
{
styles
.
head
}
>
<
Row
type=
"flex"
justify=
"space-around"
align=
"middle"
>
<
Col
span=
"12"
>
<
img
className=
"page-logo"
src=
{
'/'
+
logo
}
title=
"枢纽科技"
alt=
"枢纽科技"
/>
<
img
className=
"page-logo"
src=
{
'/'
+
logo
}
title=
"枢纽科技"
alt=
"枢纽科技"
/>
</
Col
>
<
Col
span=
"12"
>
<
div
style=
{
{
float
:
'right'
,
marginRight
:
30
}
}
>
{
user
.
username
}
</
div
>
</
Col
>
</
Row
>
</
div
>
</
div
>
<
div
className=
{
styles
.
content
}
>
<
div
className=
{
styles
.
content
}
>
<
div
className=
{
styles
.
side
}
>
<
div
className=
{
styles
.
side
}
>
...
@@ -105,7 +114,7 @@ export default class App extends Component {
...
@@ -105,7 +114,7 @@ export default class App extends Component {
</
SubMenu
>
</
SubMenu
>
<
SubMenu
key=
"sub2"
title=
{
<
span
><
Icon
type=
"folder"
/><
span
>
基本功能
</
span
></
span
>
}
>
<
SubMenu
key=
"sub2"
title=
{
<
span
><
Icon
type=
"folder"
/><
span
>
基本功能
</
span
></
span
>
}
>
<
Menu
.
Item
>
<
Menu
.
Item
>
<
MenuItemContent
to=
"/upload"
cn=
"图片上传"
en=
"Upload Images"
/>
<
MenuItemContent
to=
"/upload"
cn=
"图片上传"
en=
"Upload Images"
/>
</
Menu
.
Item
>
</
Menu
.
Item
>
</
SubMenu
>
</
SubMenu
>
</
Menu
>
</
Menu
>
...
...
src/containers/Product/AddItem.jsx
View file @
d9a87e8a
...
@@ -86,7 +86,7 @@ export default class AddItem extends Component {
...
@@ -86,7 +86,7 @@ export default class AddItem extends Component {
};
};
component
Will
Mount
()
{
component
Did
Mount
()
{
const
{
cates
}
=
this
.
props
;
const
{
cates
}
=
this
.
props
;
if
(
!
cates
||
!
cates
.
length
)
{
if
(
!
cates
||
!
cates
.
length
)
{
this
.
fetchCates
();
this
.
fetchCates
();
...
...
src/containers/Product/List.jsx
View file @
d9a87e8a
import
React
,
{
Component
,
PropTypes
}
from
'react'
;
import
React
,
{
Component
,
PropTypes
}
from
'react'
;
import
{
connect
}
from
'react-redux'
;
import
{
connect
}
from
'react-redux'
;
import
{
Table
,
Icon
,
Breadcrumb
,
Row
,
Col
,
Pagination
}
from
'antd'
;
import
{
Table
,
Icon
,
Row
,
Col
,
Button
,
Form
,
Input
,
Cascader
,
Select
}
from
'antd'
;
import
{
import
{
serialize
,
serialize
,
formatDateTime
,
formatDateTime
,
productStatusToString
,
productStatusToString
,
productEnableCreateTrade
productEnableCreateTrade
,
UUID
,
formItemLayout
,
smallFormItemLayout
,
footerFormSubmitLayout
,
handleUpload
,
filterFormItemLayout
,
PRODUCT_STATUS
}
from
'../../utils'
;
}
from
'../../utils'
;
import
{
Link
}
from
'react-router'
;
import
{
Link
}
from
'react-router'
;
import
Layout
from
'../../components/Layout/Layout'
;
import
Layout
from
'../../components/Layout/Layout'
;
import
MainHeader
from
'../../components/MainHeader'
;
import
MainHeader
from
'../../components/MainHeader'
;
const
ProductStatus
=
Object
.
keys
(
PRODUCT_STATUS
).
filter
(
key
=>
key
!=
-
9
);
const
columns
=
[
const
columns
=
[
{
{
...
@@ -79,19 +88,27 @@ const columns = [
...
@@ -79,19 +88,27 @@ const columns = [
];
];
@
connect
(
state
=>
({
@
connect
(
state
=>
({
cates
:
state
.
product
.
cates
,
items
:
state
.
product
.
items
,
items
:
state
.
product
.
items
,
loading
:
state
.
product
.
loading
,
loading
:
state
.
product
.
loading
,
total
:
state
.
product
.
total
total
:
state
.
product
.
total
}))
}))
@
Form
.
create
()
export
default
class
List
extends
Component
{
export
default
class
List
extends
Component
{
constructor
(
props
,
context
)
{
constructor
(
props
,
context
)
{
super
(
props
,
context
);
super
(
props
,
context
);
this
.
state
=
{
filterVisible
:
false
}
}
}
componentDidMount
()
{
componentDidMount
()
{
this
.
fetchList
(
this
.
props
.
location
.
query
);
this
.
fetchList
(
this
.
props
.
location
.
query
);
const
{
cates
}
=
this
.
props
;
if
(
!
cates
||
!
cates
.
length
)
{
this
.
fetchCates
();
}
};
};
fetchList
(
query
)
{
fetchList
(
query
)
{
...
@@ -101,14 +118,53 @@ export default class List extends Component {
...
@@ -101,14 +118,53 @@ export default class List extends Component {
});
});
};
};
fetchCates
()
{
this
.
props
.
dispatch
({
type
:
'FETCH_PRODUCT_CATES'
});
};
handleRowClick
({
id
})
{
handleRowClick
({
id
})
{
this
.
props
.
history
.
push
(
'/products/'
+
id
);
this
.
props
.
history
.
push
(
'/products/'
+
id
);
}
}
handleFilterVisible
()
{
this
.
setState
({
filterVisible
:
!
this
.
state
.
filterVisible
});
}
handleFilterSubmit
(
e
)
{
e
.
preventDefault
();
const
formData
=
this
.
props
.
form
.
getFieldsValue
();
if
(
formData
.
categoryId
&&
formData
.
categoryId
[
1
])
{
formData
.
categoryId
=
formData
.
categoryId
[
1
];
}
const
searchQuery
=
{...
this
.
props
.
location
.
query
,
...
formData
};
console
.
log
(
searchQuery
);
this
.
props
.
history
.
replace
(
this
.
props
.
location
.
pathname
+
'?'
+
serialize
(
searchQuery
));
this
.
fetchList
(
searchQuery
);
}
handleResetFilterForm
(
e
){
e
.
preventDefault
();
this
.
props
.
form
.
setFieldsValue
({
id
:
undefined
,
status
:
undefined
,
categoryId
:
undefined
,
title
:
undefined
});
}
render
()
{
render
()
{
const
{
total
,
items
,
loading
,
history
:{
replace
},
location
:{
pathname
,
query
}}
=
this
.
props
;
const
{
total
,
cates
,
items
,
loading
,
form
:{
getFieldProps
},
history
:{
replace
},
location
:{
pathname
,
query
}
}
=
this
.
props
;
const
pagination
=
{
const
pagination
=
{
...
@@ -131,16 +187,76 @@ export default class List extends Component {
...
@@ -131,16 +187,76 @@ export default class List extends Component {
}
}
};
};
const
header
=
(<
MainHeader
breadcrumb=
{
[
'产品管理'
,
'产品列表'
]
}
const
operation
=
(
title=
"产品列表"
/>);
<
div
style=
{
{
textAlign
:
'right'
}
}
>
<
Button
size=
"small"
type=
"ghost"
onClick=
{
this
.
handleFilterVisible
.
bind
(
this
)
}
>
<
Icon
type=
"filter"
/>
</
Button
>
</
div
>
);
const
searchStyle
=
{
size
:
'default'
,
style
:
{
width
:
100
}
}
//horizontal
const
header
=
(
<
div
>
<
MainHeader
breadcrumb=
{
[
'产品管理'
,
'产品列表'
]
}
title=
"产品列表"
operation=
{
operation
}
/>
{
this
.
state
.
filterVisible
&&
<
Form
inline
onSubmit=
{
this
.
handleFilterSubmit
.
bind
(
this
)
}
style=
{
{
marginBottom
:
20
}
}
className=
"tac"
>
<
Form
.
Item
label=
"ID"
>
<
Input
placeholder=
"请输入搜索ID"
{
...
searchStyle
}
{
...
getFieldProps
('
id
')}
/>
</
Form
.
Item
>
<
Form
.
Item
label=
"类目"
>
{
cates
&&
<
Cascader
options=
{
cates
}
placeholder=
"请选产品类目"
{
...
searchStyle
}
{
...
getFieldProps
('
categoryId
')}
/>
}
</
Form
.
Item
>
<
Form
.
Item
label=
"标题"
>
<
Input
placeholder=
"请输入搜索标题"
{
...
searchStyle
}
{
...
getFieldProps
('
title
')}
/>
</
Form
.
Item
>
<
Form
.
Item
label=
"状态"
>
<
Select
placeholder=
"请选择状态"
{
...
searchStyle
}
{
...
getFieldProps
('
status
')}
>
<
Select
.
Option
key=
"status-option-default"
value=
{
null
}
>
请选择
</
Select
.
Option
>
{
ProductStatus
.
map
((
status
,
index
)
=>
<
Select
.
Option
key=
{
status
}
data
-
value=
{
status
}
value=
{
status
}
>
{
PRODUCT_STATUS
[
status
]
}
</
Select
.
Option
>
)
}
</
Select
>
</
Form
.
Item
>
<
Form
.
Item
>
<
Button
.
Group
size=
"default"
>
<
Button
type=
"primary"
size=
"default"
htmlType=
"submit"
loading=
{
loading
}
><
Icon
type=
"search"
/>
筛选
</
Button
>
<
Button
type=
"ghost"
size=
"default"
htmlType=
"reset"
onClick=
{
this
.
handleResetFilterForm
.
bind
(
this
)
}
><
Icon
type=
"cross-circle-o"
/>
清空
</
Button
>
</
Button
.
Group
>
</
Form
.
Item
>
</
Form
>
}
</
div
>
);
return
(
return
(
<
Layout
header=
{
header
}
>
<
Layout
header=
{
header
}
>
<
Table
className=
"
an
t-table"
columns=
{
columns
}
<
Table
className=
"
lis
t-table"
columns=
{
columns
}
dataSource=
{
Array
.
isArray
(
items
)?
items
:[]
}
dataSource=
{
Array
.
isArray
(
items
)?
items
:[]
}
loading=
{
loading
}
loading=
{
loading
}
pagination=
{
pagination
}
pagination=
{
pagination
}
scroll=
{
{
y
:
window
.
innerHeight
-
380
}
}
scroll=
{
{
y
:
window
.
innerHeight
-
(
this
.
state
.
filterVisible
?
432
:
380
)
}
}
onRowClick=
{
this
.
handleRowClick
.
bind
(
this
)
}
onRowClick=
{
this
.
handleRowClick
.
bind
(
this
)
}
/>
/>
</
Layout
>
</
Layout
>
...
...
src/containers/Trade/List.jsx
View file @
d9a87e8a
import
React
,
{
Component
,
PropTypes
}
from
'react'
;
import
React
,
{
Component
,
PropTypes
}
from
'react'
;
import
{
connect
}
from
'react-redux'
;
import
{
connect
}
from
'react-redux'
;
import
{
Table
,
Icon
,
Breadcrumb
,
Row
,
Col
}
from
'antd'
;
import
{
Table
,
Icon
,
Breadcrumb
,
Row
,
Col
,
Input
}
from
'antd'
;
import
{
Link
}
from
'react-router'
;
import
{
Link
}
from
'react-router'
;
import
{
serialize
,
formatDateTime
,
tradeStatusToString
}
from
'../../utils'
;
import
{
serialize
,
formatDateTime
,
tradeStatusToString
}
from
'../../utils'
;
import
Layout
from
'../../components/Layout/Layout'
;
import
Layout
from
'../../components/Layout/Layout'
;
import
MainHeader
from
'../../components/MainHeader'
;
const
columns
=
[
const
columns
=
[
{
{
...
@@ -127,24 +128,10 @@ export default class List extends Component {
...
@@ -127,24 +128,10 @@ export default class List extends Component {
}
}
};
};
const
breadcrumb
=
[
'订单管理'
,
'订单列表'
];
const
header
=
(
const
header
=
(<
MainHeader
breadcrumb=
{
[
'订单管理'
,
'订单列表'
]
}
<
div
className=
"main-header"
>
title=
"订单列表"
/>);
<
Row
>
<
Col
span=
"8"
>
<
Breadcrumb
>
{
breadcrumb
.
map
((
b
,
i
)
=>
<
Breadcrumb
.
Item
key=
{
i
}
>
{
b
}
</
Breadcrumb
.
Item
>)
}
</
Breadcrumb
>
</
Col
>
</
Row
>
<
Row
>
<
Col
span=
"20"
>
<
h1
className=
"tac"
>
订单列表
</
h1
>
</
Col
>
</
Row
>
</
div
>
);
return
(
return
(
<
Layout
header=
{
header
}
>
<
Layout
header=
{
header
}
>
...
...
src/entries/index.less
View file @
d9a87e8a
...
@@ -22,8 +22,10 @@
...
@@ -22,8 +22,10 @@
.ant-btn {
.ant-btn {
font-weight: 400 !important;
font-weight: 400 !important;
}
}
.ant-table
{
.ant-table{
font-size: 14px !important;
font-size: 14px !important;
}
.list-table {
display: flex;
display: flex;
flex-direction: column;
flex-direction: column;
height: 100%;
height: 100%;
...
...
src/reducers/product.js
View file @
d9a87e8a
...
@@ -48,7 +48,7 @@ const product = handleActions({
...
@@ -48,7 +48,7 @@ const product = handleActions({
return
{...
state
,
loading
:
false
,
err
:
action
.
err
};
return
{...
state
,
loading
:
false
,
err
:
action
.
err
};
}
}
},
{
},
{
cates
:
[],
//
cates: [],
items
:
[],
items
:
[],
loading
:
false
,
loading
:
false
,
});
});
...
...
src/utils.js
View file @
d9a87e8a
...
@@ -140,6 +140,11 @@ export const footerFormSubmitLayout = {
...
@@ -140,6 +140,11 @@ export const footerFormSubmitLayout = {
wrapperCol
:
{
span
:
16
,
offset
:
4
}
wrapperCol
:
{
span
:
16
,
offset
:
4
}
};
};
export
const
filterFormItemLayout
=
{
labelCol
:{
span
:
10
},
wrapperCol
:{
span
:
14
}
}
export
function
filterUploadSuccess
(
fileList
)
{
export
function
filterUploadSuccess
(
fileList
)
{
return
fileList
.
filter
((
file
)
=>
{
return
fileList
.
filter
((
file
)
=>
{
...
...
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