Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
frontend
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
Schedules
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
h5-communicate
frontend
Commits
8e10f9fb
Commit
8e10f9fb
authored
Jun 09, 2020
by
熊成伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
debug
parent
3fedbcb5
Show whitespace changes
Inline
Side-by-side
Showing
19 changed files
with
567 additions
and
307 deletions
+567
-307
workspace.xml
.idea/workspace.xml
+257
-202
AddressUser.jsx
src/components/AddressList/AddressUser.jsx
+32
-0
index.jsx
src/components/AddressList/index.jsx
+4
-5
index.jsx
src/components/TopSearch/index.jsx
+1
-1
CardItem.jsx
src/components/WorkCard/CardItem.jsx
+2
-2
index.jsx
src/components/WorkCard/index.jsx
+2
-1
CommonLayout.jsx
src/layout/CommonLayout.jsx
+1
-1
Backlog.jsx
src/pages/Backlog/Backlog.jsx
+12
-5
AddressBook.jsx
src/pages/Communicate/AddressBook.jsx
+27
-0
Communicate.jsx
src/pages/Communicate/Communicate.jsx
+98
-68
Process.jsx
src/pages/EventProcessing/Process.jsx
+3
-1
index.jsx
src/pages/Login/index.jsx
+5
-4
Notice.jsx
src/pages/Notice/Notice.jsx
+17
-5
Work.jsx
src/pages/Work/Work.jsx
+17
-9
WorkDetail.jsx
src/pages/Work/WorkDetail.jsx
+78
-0
index.less
src/pages/Work/index.less
+6
-0
WorkDetail.jsx
src/pages/WorkDetail/WorkDetail.jsx
+0
-0
router.js
src/router.js
+3
-1
instance.js
src/utils/instance.js
+2
-2
No files found.
.idea/workspace.xml
View file @
8e10f9fb
...
...
@@ -3,10 +3,19 @@
<component
name=
"ChangeListManager"
>
<list
default=
"true"
id=
"a6d092de-b4f8-454d-99f5-4dac3ce112e5"
name=
"Default Changelist"
comment=
""
>
<change
beforePath=
"$PROJECT_DIR$/.idea/workspace.xml"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/.idea/workspace.xml"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/src/components/AddressList/index.jsx"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/src/components/AddressList/index.jsx"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/src/components/TopSearch/index.jsx"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/src/components/TopSearch/index.jsx"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/src/components/WorkCard/CardItem.jsx"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/src/components/WorkCard/CardItem.jsx"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/src/components/WorkCard/index.jsx"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/src/components/WorkCard/index.jsx"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/src/layout/CommonLayout.jsx"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/src/layout/CommonLayout.jsx"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/src/pages/Backlog/Backlog.jsx"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/src/pages/Backlog/Backlog.jsx"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/src/pages/Communicate/Communicate.jsx"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/src/pages/Communicate/Communicate.jsx"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/src/pages/EventProcessing/Process.jsx"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/src/pages/EventProcessing/Process.jsx"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/src/pages/Login/index.jsx"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/src/pages/Login/index.jsx"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/src/pages/Notice/Notice.jsx"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/src/pages/Notice/Notice.jsx"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/src/pages/Work/Work.jsx"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/src/pages/Work/Work.jsx"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/src/
utils/instance.js"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/src/utils/instance.js
"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/src/
utils/request.js"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/src/utils/request
.js"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/src/
pages/WorkDetail/WorkDetail.jsx"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/src/pages/Work/WorkDetail.jsx
"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/src/
router.js"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/src/router
.js"
afterDir=
"false"
/>
</list>
<ignored
path=
"$PROJECT_DIR$/.tmp/"
/>
<ignored
path=
"$PROJECT_DIR$/temp/"
/>
...
...
@@ -22,8 +31,8 @@
<file
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/src/pages/EventProcessing/Process.jsx"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
423
"
>
<caret
line=
"
49"
column=
"49"
selection-start-line=
"49"
selection-start-column=
"41"
selection-end-line=
"49"
selection-end-column=
"49
"
/>
<state
relative-caret-position=
"
97
"
>
<caret
line=
"
9"
column=
"24"
lean-forward=
"true"
selection-start-line=
"9"
selection-start-column=
"24"
selection-end-line=
"9"
selection-end-column=
"24
"
/>
<folding>
<element
signature=
"e#0#49#0"
expanded=
"true"
/>
</folding>
...
...
@@ -31,71 +40,80 @@
</provider>
</entry>
</file>
<file
pinned=
"false"
current-in-tab=
"
fals
e"
>
<entry
file=
"file://$PROJECT_DIR$/src/
pages/Backlog/Backlog
.jsx"
>
<file
pinned=
"false"
current-in-tab=
"
tru
e"
>
<entry
file=
"file://$PROJECT_DIR$/src/
components/TopSearch/index
.jsx"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"375"
>
<caret
line=
"42"
column=
"29"
selection-start-line=
"42"
selection-start-column=
"29"
selection-end-line=
"42"
selection-end-column=
"29"
/>
<folding>
<element
signature=
"e#0#49#0"
expanded=
"true"
/>
</folding>
<state
relative-caret-position=
"225"
>
<caret
line=
"12"
column=
"32"
selection-start-line=
"12"
selection-start-column=
"32"
selection-end-line=
"12"
selection-end-column=
"32"
/>
</state>
</provider>
</entry>
</file>
<file
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/src/pages/
Notice/Notice
.jsx"
>
<entry
file=
"file://$PROJECT_DIR$/src/pages/
Login/index
.jsx"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"225"
>
<caret
line=
"12"
column=
"27"
lean-forward=
"true"
selection-start-line=
"12"
selection-start-column=
"27"
selection-end-line=
"12"
selection-end-column=
"27"
/>
<state
relative-caret-position=
"300"
>
<caret
line=
"15"
column=
"42"
lean-forward=
"true"
selection-start-line=
"15"
selection-start-column=
"42"
selection-end-line=
"15"
selection-end-column=
"42"
/>
<folding>
<element
signature=
"e#0#42#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
</file>
<file
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/src/
utils/instance.js
"
>
<entry
file=
"file://$PROJECT_DIR$/src/
pages/Backlog/Backlog.jsx
"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"1
25
"
>
<caret
line=
"
29"
column=
"22"
selection-start-line=
"29"
selection-start-column=
"13"
selection-end-line=
"29"
selection-end-column=
"22
"
/>
<state
relative-caret-position=
"1
48
"
>
<caret
line=
"
7"
column=
"46"
lean-forward=
"true"
selection-start-line=
"7"
selection-start-column=
"46"
selection-end-line=
"7"
selection-end-column=
"46
"
/>
<folding>
<element
signature=
"e#0#
26
#0"
expanded=
"true"
/>
<element
signature=
"e#0#
49
#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
</file>
<file
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/src/
utils/request.js
"
>
<entry
file=
"file://$PROJECT_DIR$/src/
pages/Work/WorkDetail.jsx
"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"250"
>
<caret
line=
"22"
column=
"13"
selection-start-line=
"22"
selection-start-column=
"13"
selection-end-line=
"22"
selection-end-column=
"13"
/>
<caret
line=
"58"
column=
"39"
lean-forward=
"true"
selection-start-line=
"58"
selection-start-column=
"39"
selection-end-line=
"58"
selection-end-column=
"39"
/>
<folding>
<element
signature=
"e#0#49#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
</file>
<file
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/src/pages/
Login/index
.jsx"
>
<entry
file=
"file://$PROJECT_DIR$/src/pages/
Notice/Notice
.jsx"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"25"
>
<caret
line=
"1"
column=
"40"
selection-start-line=
"1"
selection-start-column=
"35"
selection-end-line=
"1"
selection-end-column=
"40"
/>
<state
relative-caret-position=
"175"
>
<caret
line=
"52"
column=
"19"
lean-forward=
"true"
selection-start-line=
"52"
selection-start-column=
"19"
selection-end-line=
"52"
selection-end-column=
"19"
/>
<folding>
<element
signature=
"e#0#49#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
</file>
<file
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/
package.json
"
>
<entry
file=
"file://$PROJECT_DIR$/
src/pages/Communicate/Communicate.jsx
"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"175"
>
<caret
line=
"7"
column=
"23"
selection-start-line=
"7"
selection-start-column=
"23"
selection-end-line=
"7"
selection-end-column=
"23"
/>
<state
relative-caret-position=
"98"
>
<caret
line=
"73"
column=
"21"
lean-forward=
"true"
selection-start-line=
"73"
selection-start-column=
"21"
selection-end-line=
"73"
selection-end-column=
"21"
/>
<folding>
<element
signature=
"e#4451#4500#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
</file>
<file
pinned=
"false"
current-in-tab=
"
tru
e"
>
<file
pinned=
"false"
current-in-tab=
"
fals
e"
>
<entry
file=
"file://$PROJECT_DIR$/src/pages/Work/Work.jsx"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"1
75
"
>
<caret
line=
"
13"
column=
"11"
lean-forward=
"true"
selection-start-line=
"13"
selection-start-column=
"11"
selection-end-line=
"13"
selection-end-column=
"11
"
/>
<state
relative-caret-position=
"1
00
"
>
<caret
line=
"
34"
column=
"40"
lean-forward=
"true"
selection-start-line=
"34"
selection-start-column=
"40"
selection-end-line=
"34"
selection-end-column=
"40
"
/>
<folding>
<element
signature=
"e#0#51#0"
expanded=
"true"
/>
</folding>
...
...
@@ -103,23 +121,40 @@
</provider>
</entry>
</file>
<file
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/src/pages/Communicate/AddressBook.jsx"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"200"
>
<caret
line=
"8"
column=
"38"
lean-forward=
"true"
selection-end-line=
"27"
/>
<folding>
<element
signature=
"e#0#39#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
</file>
<file
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/src/layout/CommonLayout.jsx"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state>
<caret
column=
"24"
selection-start-column=
"24"
selection-end-column=
"24"
/>
</state>
</provider>
</entry>
</file>
</leaf>
</component>
<component
name=
"FileTemplateManagerImpl"
>
<option
name=
"RECENT_TEMPLATES"
>
<list>
<option
value=
"JavaScript File"
/>
<option
value=
"Less File"
/>
<option
value=
"React jsx"
/>
<option
value=
"JavaScript File"
/>
</list>
</option>
</component>
<component
name=
"FindInProjectRecents"
>
<findStrings>
<find>
am-tab-bar-tab-title
</find>
<find>
console.log
</find>
<find>
contract-operate_recodeMain
</find>
<find>
auto-step-content-flow
</find>
<find>
auto-step-content-head
</find>
<find>
auto-list-con
</find>
<find>
componentWillReceiveProps
</find>
...
...
@@ -146,6 +181,10 @@
<find>
disabled
</find>
<find>
addStatus
</find>
<find>
autoprefixer
</find>
<find>
setOperates
</find>
<find>
blank-content
</find>
<find>
address-content
</find>
<find>
useEffect
</find>
</findStrings>
<replaceStrings>
<replace>
this.props
</replace>
...
...
@@ -160,11 +199,6 @@
<component
name=
"IdeDocumentHistory"
>
<option
name=
"CHANGED_PATHS"
>
<list>
<option
value=
"$PROJECT_DIR$/src/Pages/EventProcessing/Option.jsx"
/>
<option
value=
"$PROJECT_DIR$/src/Pages/EventProcessing/Flow.jsx"
/>
<option
value=
"$PROJECT_DIR$/src/Pages/Backlog/Backlog.jsx"
/>
<option
value=
"$PROJECT_DIR$/src/components/WorkCard/index.less"
/>
<option
value=
"$PROJECT_DIR$/src/Pages/Work/Work.jsx"
/>
<option
value=
"$PROJECT_DIR$/src/Pages/EventProcessing/Process.jsx"
/>
<option
value=
"$PROJECT_DIR$/src/Pages/EventProcessing/index.less"
/>
<option
value=
"$PROJECT_DIR$/src/Pages/EventProcessing/Basic.jsx"
/>
...
...
@@ -175,7 +209,6 @@
<option
value=
"$PROJECT_DIR$/src/pages/EventProcessing/index.less"
/>
<option
value=
"$PROJECT_DIR$/src/components/TopTabs/index.jsx"
/>
<option
value=
"$PROJECT_DIR$/src/pages/AddressList/AddressList.jsx"
/>
<option
value=
"$PROJECT_DIR$/src/layout/BlankLayout.jsx"
/>
<option
value=
"$PROJECT_DIR$/src/pages/EventProcessing/Basic.jsx"
/>
<option
value=
"$PROJECT_DIR$/src/pages/EventProcessing/Flow.jsx"
/>
<option
value=
"$PROJECT_DIR$/src/components/Adjunct/index.less"
/>
...
...
@@ -188,29 +221,35 @@
<option
value=
"$PROJECT_DIR$/src/components/TodoCard/index.less"
/>
<option
value=
"$PROJECT_DIR$/src/components/TodoCard/index.jsx"
/>
<option
value=
"$PROJECT_DIR$/src/layout/Footer.jsx"
/>
<option
value=
"$PROJECT_DIR$/src/layout/index.less"
/>
<option
value=
"$PROJECT_DIR$/src/pages/Communicate/Communicate.jsx"
/>
<option
value=
"$PROJECT_DIR$/src/pages/Communicate/index.less"
/>
<option
value=
"$PROJECT_DIR$/src/components/LogCard/index.less"
/>
<option
value=
"$PROJECT_DIR$/src/router.js"
/>
<option
value=
"$PROJECT_DIR$/src/components/AddressList/index.less"
/>
<option
value=
"$PROJECT_DIR$/src/components/AddressList/index.jsx"
/>
<option
value=
"$PROJECT_DIR$/src/pages/EventProcessing/SubmitDetail.jsx"
/>
<option
value=
"$PROJECT_DIR$/src/pages/AddressList/index.less"
/>
<option
value=
"$PROJECT_DIR$/src/pages/EventProcessing/Pro.jsx"
/>
<option
value=
"$PROJECT_DIR$/src/pages/EventProcessing/Process.jsx"
/>
<option
value=
"$PROJECT_DIR$/src/components/NoticeTab/index.jsx"
/>
<option
value=
"$PROJECT_DIR$/src/components/StepCard/index.jsx"
/>
<option
value=
"$PROJECT_DIR$/src/components/TopSearch/index.jsx"
/>
<option
value=
"$PROJECT_DIR$/src/components/LogCard/index.jsx"
/>
<option
value=
"$PROJECT_DIR$/src/utils/urlQuery.js"
/>
<option
value=
"$PROJECT_DIR$/src/components/WorkCard/index.jsx"
/>
<option
value=
"$PROJECT_DIR$/src/components/WorkCard/CardItem.jsx"
/>
<option
value=
"$PROJECT_DIR$/src/components/LogCard/index.jsx"
/>
<option
value=
"$PROJECT_DIR$/src/router.js"
/>
<option
value=
"$PROJECT_DIR$/src/pages/Work/index.less"
/>
<option
value=
"$PROJECT_DIR$/src/layout/index.less"
/>
<option
value=
"$PROJECT_DIR$/src/layout/BlankLayout.jsx"
/>
<option
value=
"$PROJECT_DIR$/src/pages/Communicate/Com.jsx"
/>
<option
value=
"$PROJECT_DIR$/src/components/AddressList/index.jsx"
/>
<option
value=
"$PROJECT_DIR$/src/components/AddressList/AddressUser.jsx"
/>
<option
value=
"$PROJECT_DIR$/src/pages/Communicate/AddressBook.jsx"
/>
<option
value=
"$PROJECT_DIR$/src/layout/CommonLayout.jsx"
/>
<option
value=
"$PROJECT_DIR$/src/utils/urlQuery.js"
/>
<option
value=
"$PROJECT_DIR$/src/pages/Notice/Notice.jsx"
/>
<option
value=
"$PROJECT_DIR$/src/pages/Backlog/Backlog.jsx"
/>
<option
value=
"$PROJECT_DIR$/src/pages/Work/Work.jsx"
/>
<option
value=
"$PROJECT_DIR$/src/pages/Backlog/Backlog.jsx"
/>
<option
value=
"$PROJECT_DIR$/src/pages/Work/WorkDetail.jsx"
/>
<option
value=
"$PROJECT_DIR$/src/pages/Notice/Notice.jsx"
/>
<option
value=
"$PROJECT_DIR$/src/pages/Communicate/Communicate.jsx"
/>
<option
value=
"$PROJECT_DIR$/src/pages/Login/index.jsx"
/>
<option
value=
"$PROJECT_DIR$/src/pages/EventProcessing/Process.jsx"
/>
<option
value=
"$PROJECT_DIR$/src/components/TopSearch/index.jsx"
/>
</list>
</option>
</component>
...
...
@@ -278,6 +317,13 @@
<item
name=
"pages"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"Backlog"
type=
"462c0819:PsiDirectoryNode"
/>
</path>
<path>
<item
name=
"create-react-app"
type=
"b2602c69:ProjectViewProjectNode"
/>
<item
name=
"create-react-app"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"src"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"pages"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"Communicate"
type=
"462c0819:PsiDirectoryNode"
/>
</path>
<path>
<item
name=
"create-react-app"
type=
"b2602c69:ProjectViewProjectNode"
/>
<item
name=
"create-react-app"
type=
"462c0819:PsiDirectoryNode"
/>
...
...
@@ -292,6 +338,13 @@
<item
name=
"pages"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"Login"
type=
"462c0819:PsiDirectoryNode"
/>
</path>
<path>
<item
name=
"create-react-app"
type=
"b2602c69:ProjectViewProjectNode"
/>
<item
name=
"create-react-app"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"src"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"pages"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"Notice"
type=
"462c0819:PsiDirectoryNode"
/>
</path>
<path>
<item
name=
"create-react-app"
type=
"b2602c69:ProjectViewProjectNode"
/>
<item
name=
"create-react-app"
type=
"462c0819:PsiDirectoryNode"
/>
...
...
@@ -321,15 +374,16 @@
<property
name=
"settings.editor.selected.configurable"
value=
"editor.preferences.import"
/>
</component>
<component
name=
"RecentsManager"
>
<key
name=
"MoveFile.RECENT_KEYS"
>
<recent
name=
"F:\即时通讯\create-react-app\src\pages\WorkDetail"
/>
</key>
<key
name=
"CopyFile.RECENT_KEYS"
>
<recent
name=
"F:\即时通讯\create-react-app\src\components\AddressList"
/>
<recent
name=
"F:\即时通讯\create-react-app\src\pages"
/>
<recent
name=
"F:\即时通讯\create-react-app\public\img"
/>
<recent
name=
"F:\即时通讯\create-react-app\public\img\test"
/>
<recent
name=
"F:\即时通讯\create-react-app\src\pages\AddressList"
/>
<recent
name=
"F:\即时通讯\create-react-app\src\components\TopTabs"
/>
</key>
<key
name=
"MoveFile.RECENT_KEYS"
>
<recent
name=
"F:\即时通讯\create-react-app\src\pages\Work"
/>
<recent
name=
"F:\即时通讯\create-react-app\src\pages\WorkDetail"
/>
</key>
</component>
<component
name=
"RunDashboard"
>
...
...
@@ -359,12 +413,13 @@
<workItem
from=
"1591406085733"
duration=
"5474000"
/>
<workItem
from=
"1591419899087"
duration=
"268000"
/>
<workItem
from=
"1591493817957"
duration=
"11217000"
/>
<workItem
from=
"1591579020550"
duration=
"32431000"
/>
<workItem
from=
"1591579020550"
duration=
"32744000"
/>
<workItem
from=
"1591665260536"
duration=
"8092000"
/>
</task>
<servers
/>
</component>
<component
name=
"TimeTrackingManager"
>
<option
name=
"totallyTimeSpent"
value=
"1
35246
000"
/>
<option
name=
"totallyTimeSpent"
value=
"1
43651
000"
/>
</component>
<component
name=
"ToolWindowManager"
>
<frame
x=
"-8"
y=
"-8"
width=
"1382"
height=
"784"
extended-state=
"6"
/>
...
...
@@ -405,9 +460,7 @@
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/resize.js"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
/>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/resize.js"
/>
<entry
file=
"file://$PROJECT_DIR$/src/index.css"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"475"
>
...
...
@@ -418,28 +471,10 @@
<entry
file=
"file://$PROJECT_DIR$/public/img/footer-communicate.png"
>
<provider
selected=
"true"
editor-type-id=
"images"
/>
</entry>
<entry
file=
"file://$PROJECT_DIR$/report.20200606.164659.17716.0.001.json"
/>
<entry
file=
"file://$PROJECT_DIR$/public/img/footer-work-s.png"
>
<provider
selected=
"true"
editor-type-id=
"images"
/>
</entry>
<entry
file=
"file://$PROJECT_DIR$/report.20200606.164659.17716.0.001.json"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
/>
</entry>
<entry
file=
"file://$PROJECT_DIR$/public/img/footer-work.png"
>
<provider
selected=
"true"
editor-type-id=
"images"
/>
</entry>
<entry
file=
"file://$PROJECT_DIR$/public/img/footer-work.png"
>
<provider
selected=
"true"
editor-type-id=
"images"
/>
</entry>
<entry
file=
"file://$PROJECT_DIR$/public/img/footer-work-s.png"
>
<provider
selected=
"true"
editor-type-id=
"images"
/>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/layout/index.less"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"100"
>
<caret
line=
"4"
column=
"15"
selection-start-line=
"4"
selection-start-column=
"15"
selection-end-line=
"4"
selection-end-column=
"15"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/layout/Footer.jsx"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"197"
>
...
...
@@ -460,15 +495,7 @@
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/components/Steps/index.jsx"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"-16"
>
<folding>
<element
signature=
"e#0#26#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/components/Steps/index.jsx"
/>
<entry
file=
"file://$PROJECT_DIR$/src/pages/Communicate/index.less"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state>
...
...
@@ -493,16 +520,6 @@
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/router.js"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"450"
>
<caret
line=
"33"
column=
"54"
selection-start-line=
"33"
selection-start-column=
"37"
selection-end-line=
"33"
selection-end-column=
"54"
/>
<folding>
<element
signature=
"e#0#25#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/pages/AddressList/index.less"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"-328"
>
...
...
@@ -510,260 +527,297 @@
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/pages/
AddressList/AddressList
.jsx"
>
<entry
file=
"file://$PROJECT_DIR$/src/pages/
EventProcessing/SubmitDetail
.jsx"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
5
00"
>
<caret
line=
"
20"
column=
"45"
selection-start-line=
"20"
selection-start-column=
"36"
selection-end-line=
"20"
selection-end-column=
"45
"
/>
<state
relative-caret-position=
"
2
00"
>
<caret
line=
"
8"
column=
"29"
selection-start-line=
"8"
selection-start-column=
"29"
selection-end-line=
"8"
selection-end-column=
"29
"
/>
<folding>
<element
signature=
"e#0#39#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/components/AddressList/index.jsx"
>
<entry
file=
"file://$PROJECT_DIR$/src/pages/EventProcessing/Pro.jsx"
/>
<entry
file=
"file://$PROJECT_DIR$/src/components/BlankTabs/index.jsx"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
50
"
>
<caret
line=
"
2"
selection-start-line=
"2"
selection-end-line=
"2
"
/>
<state
relative-caret-position=
"
223
"
>
<caret
line=
"
16"
column=
"27"
selection-start-line=
"16"
selection-start-column=
"27"
selection-end-line=
"16"
selection-end-column=
"27
"
/>
<folding>
<element
signature=
"e#0#26#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/components/
AddressList/index.less
"
>
<entry
file=
"file://$PROJECT_DIR$/src/components/
List/index.jsx
"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"125"
>
<caret
line=
"5"
column=
"21"
selection-start-line=
"5"
selection-start-column=
"21"
selection-end-line=
"5"
selection-end-column=
"21"
/>
<state>
<folding>
<element
signature=
"e#0#26#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/
pages/Communicate/Communicate
.jsx"
>
<entry
file=
"file://$PROJECT_DIR$/src/
components/StepCard/index
.jsx"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
-825
"
>
<caret
line=
"
9"
column=
"47"
selection-start-line=
"9"
selection-start-column=
"47"
selection-end-line=
"9"
selection-end-column=
"4
7"
/>
<state
relative-caret-position=
"
50
"
>
<caret
line=
"
8"
column=
"17"
lean-forward=
"true"
selection-start-line=
"8"
selection-start-column=
"17"
selection-end-line=
"8"
selection-end-column=
"1
7"
/>
<folding>
<element
signature=
"e#0#
39
#0"
expanded=
"true"
/>
<element
signature=
"e#0#
26
#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/
src/pages/EventProcessing/SubmitDetail.jsx
"
>
<entry
file=
"file://$PROJECT_DIR$/
public/index.html
"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"200"
>
<caret
line=
"8"
column=
"29"
selection-start-line=
"8"
selection-start-column=
"29"
selection-end-line=
"8"
selection-end-column=
"29"
/>
<folding>
<element
signature=
"e#0#39#0"
expanded=
"true"
/>
</folding>
<state
relative-caret-position=
"600"
>
<caret
line=
"24"
selection-start-line=
"24"
selection-end-line=
"24"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/pages/EventProcessing/Pro.jsx"
>
<entry
file=
"file://$PROJECT_DIR$/build/index.html"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
/>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/components/NoticeTab/index.jsx"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"1
84
"
>
<caret
line=
"
100"
column=
"12"
lean-forward=
"true"
selection-end-line=
"139
"
/>
<state
relative-caret-position=
"1
50
"
>
<caret
line=
"
9"
column=
"20"
selection-start-line=
"9"
selection-start-column=
"20"
selection-end-line=
"9"
selection-end-column=
"20
"
/>
<folding>
<element
signature=
"e#0#
49
#0"
expanded=
"true"
/>
<element
signature=
"e#0#
26
#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/
components/WorkCard/CardItem
.jsx"
>
<entry
file=
"file://$PROJECT_DIR$/src/
pages/EventProcessing/Option
.jsx"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"400"
>
<caret
line=
"16"
column=
"29"
selection-start-line=
"16"
selection-start-column=
"29"
selection-end-line=
"16"
selection-end-column=
"29"
/>
<folding>
<element
signature=
"e#0#39#0"
expanded=
"true"
/>
</folding>
<state
relative-caret-position=
"675"
>
<caret
line=
"28"
column=
"80"
selection-start-line=
"28"
selection-start-column=
"80"
selection-end-line=
"28"
selection-end-column=
"80"
/>
<caret
line=
"29"
column=
"80"
selection-start-line=
"29"
selection-start-column=
"80"
selection-end-line=
"29"
selection-end-column=
"80"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/components/
Work
Card/index.jsx"
>
<entry
file=
"file://$PROJECT_DIR$/src/components/
Log
Card/index.jsx"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
400
"
>
<caret
line=
"16"
column=
"
45"
lean-forward=
"true"
selection-start-line=
"16"
selection-start-column=
"45"
selection-end-line=
"16"
selection-end-column=
"4
5"
/>
<state
relative-caret-position=
"
-275
"
>
<caret
line=
"16"
column=
"
35"
selection-start-line=
"16"
selection-start-column=
"35"
selection-end-line=
"16"
selection-end-column=
"3
5"
/>
<folding>
<element
signature=
"e#0#
39
#0"
expanded=
"true"
/>
<element
signature=
"e#0#
26
#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/pages/WorkDetail/WorkDetail.jsx"
>
<entry
file=
"file://$PROJECT_DIR$/src/utils/urlQuery.js"
/>
<entry
file=
"file://$PROJECT_DIR$/src/utils/utils.jsx"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
/>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/components/
BlankTabs/index
.jsx"
>
<entry
file=
"file://$PROJECT_DIR$/src/components/
WorkCard/CardItem
.jsx"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"223"
>
<caret
line=
"16"
column=
"27"
selection-start-line=
"16"
selection-start-column=
"27"
selection-end-line=
"16"
selection-end-column=
"27"
/>
<folding>
<element
signature=
"e#0#26#0"
expanded=
"true"
/>
</folding>
<state
relative-caret-position=
"350"
>
<caret
line=
"15"
column=
"6"
lean-forward=
"true"
selection-start-line=
"15"
selection-start-column=
"6"
selection-end-line=
"15"
selection-end-column=
"6"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/
components/List/index.jsx
"
>
<entry
file=
"file://$PROJECT_DIR$/src/
router.js
"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state>
<state
relative-caret-position=
"273"
>
<caret
line=
"24"
column=
"72"
selection-start-line=
"24"
selection-start-column=
"72"
selection-end-line=
"24"
selection-end-column=
"72"
/>
<folding>
<element
signature=
"e#0#2
6
#0"
expanded=
"true"
/>
<element
signature=
"e#0#2
5
#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/
config-overrides.js
"
>
<entry
file=
"file://$PROJECT_DIR$/
src/components/WorkCard/index.jsx
"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
125
"
>
<caret
line=
"
35"
column=
"9"
lean-forward=
"true"
selection-start-line=
"35"
selection-start-column=
"9"
selection-end-line=
"35"
selection-end-column=
"9
"
/>
<state
relative-caret-position=
"
500
"
>
<caret
line=
"
25"
column=
"40"
selection-start-line=
"25"
selection-start-column=
"40"
selection-end-line=
"25"
selection-end-column=
"40
"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/
components/StepCard/index.jsx
"
>
<entry
file=
"file://$PROJECT_DIR$/src/
layout/index.less
"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"50"
>
<caret
line=
"8"
column=
"17"
lean-forward=
"true"
selection-start-line=
"8"
selection-start-column=
"17"
selection-end-line=
"8"
selection-end-column=
"17"
/>
<state
relative-caret-position=
"250"
>
<caret
line=
"10"
column=
"1"
selection-start-line=
"10"
selection-start-column=
"1"
selection-end-line=
"10"
selection-end-column=
"1"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/layout/BlankLayout.jsx"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"125"
>
<caret
line=
"5"
column=
"12"
selection-start-line=
"5"
selection-start-column=
"12"
selection-end-line=
"5"
selection-end-column=
"12"
/>
<folding>
<element
signature=
"e#0#26#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/
public/index.html
"
>
<entry
file=
"file://$PROJECT_DIR$/
src/utils/request.js
"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
600
"
>
<caret
line=
"2
4"
selection-start-line=
"24"
selection-end-line=
"24
"
/>
<state
relative-caret-position=
"
-227
"
>
<caret
line=
"2
2"
column=
"13"
selection-start-line=
"22"
selection-start-column=
"13"
selection-end-line=
"22"
selection-end-column=
"13
"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/build/index.html"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
/>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/components/NoticeTab/index.jsx"
>
<entry
file=
"file://$PROJECT_DIR$/src/utils/instance.js"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
1
50"
>
<caret
line=
"
9"
column=
"20"
selection-start-line=
"9"
selection-start-column=
"20"
selection-end-line=
"9"
selection-end-column=
"20
"
/>
<state
relative-caret-position=
"
3
50"
>
<caret
line=
"
80"
column=
"25"
selection-start-line=
"80"
selection-start-column=
"25"
selection-end-line=
"80"
selection-end-column=
"25
"
/>
<folding>
<element
signature=
"e#0#26#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/pages/
EventProcessing/Option
.jsx"
>
<entry
file=
"file://$PROJECT_DIR$/src/pages/
AddressList/AddressList
.jsx"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"675"
>
<caret
line=
"28"
column=
"80"
selection-start-line=
"28"
selection-start-column=
"80"
selection-end-line=
"28"
selection-end-column=
"80"
/>
<caret
line=
"29"
column=
"80"
selection-start-line=
"29"
selection-start-column=
"80"
selection-end-line=
"29"
selection-end-column=
"80"
/>
<state
relative-caret-position=
"225"
>
<caret
line=
"9"
column=
"17"
selection-start-line=
"9"
selection-start-column=
"17"
selection-end-line=
"9"
selection-end-column=
"17"
/>
<folding>
<element
signature=
"e#0#39#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/components/
LogCard/index.jsx
"
>
<entry
file=
"file://$PROJECT_DIR$/src/components/
AddressList/index.less
"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"-275"
>
<caret
line=
"16"
column=
"35"
selection-start-line=
"16"
selection-start-column=
"35"
selection-end-line=
"16"
selection-end-column=
"35"
/>
<state
relative-caret-position=
"125"
>
<caret
line=
"5"
column=
"21"
selection-start-line=
"5"
selection-start-column=
"21"
selection-end-line=
"5"
selection-end-column=
"21"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/components/AddressList/index.jsx"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"297"
>
<caret
line=
"12"
column=
"15"
selection-start-line=
"12"
selection-start-column=
"15"
selection-end-line=
"12"
selection-end-column=
"15"
/>
<folding>
<element
signature=
"e#0#26#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/
package.json
"
>
<entry
file=
"file://$PROJECT_DIR$/
src/components/AddressList/AddressUser.jsx
"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"175"
>
<caret
line=
"7"
column=
"23"
selection-start-line=
"7"
selection-start-column=
"23"
selection-end-line=
"7"
selection-end-column=
"23"
/>
<caret
line=
"10"
column=
"34"
selection-start-line=
"10"
selection-start-column=
"34"
selection-end-line=
"10"
selection-end-column=
"34"
/>
<folding>
<element
signature=
"e#0#26#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/utils/urlQuery.js"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
/>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/components/TopSearch/index.jsx"
>
<entry
file=
"file://$PROJECT_DIR$/package.json"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
175
"
>
<caret
line=
"1
0"
column=
"18"
selection-start-line=
"10"
selection-start-column=
"18"
selection-end-line=
"10"
selection-end-column=
"18
"
/>
<state
relative-caret-position=
"
400
"
>
<caret
line=
"1
9"
column=
"10"
selection-start-line=
"19"
selection-start-column=
"5"
selection-end-line=
"19"
selection-end-column=
"10
"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/utils/utils.jsx"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
/>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/pages/Notice/Notice.jsx"
>
<entry
file=
"file://$PROJECT_DIR$/config-overrides.js"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
22
5"
>
<caret
line=
"
12"
column=
"27"
lean-forward=
"true"
selection-start-line=
"12"
selection-start-column=
"27"
selection-end-line=
"12"
selection-end-column=
"27
"
/>
<state
relative-caret-position=
"
7
5"
>
<caret
line=
"
3"
column=
"58"
selection-start-line=
"3"
selection-start-column=
"58"
selection-end-line=
"3"
selection-end-column=
"58
"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/layout/CommonLayout.jsx"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"148"
>
<caret
line=
"41"
column=
"35"
selection-start-line=
"41"
selection-start-column=
"21"
selection-end-line=
"41"
selection-end-column=
"35"
/>
<state>
<caret
column=
"24"
selection-start-column=
"24"
selection-end-column=
"24"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/pages/Communicate/AddressBook.jsx"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"200"
>
<caret
line=
"8"
column=
"38"
lean-forward=
"true"
selection-end-line=
"27"
/>
<folding>
<element
signature=
"e#0#
4
9#0"
expanded=
"true"
/>
<element
signature=
"e#0#
3
9#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/
layout/BlankLayout.jsx
"
>
<entry
file=
"file://$PROJECT_DIR$/src/
pages/Work/index.less
"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"175"
>
<caret
line=
"7"
column=
"14"
lean-forward=
"true"
selection-start-line=
"7"
selection-start-column=
"14"
selection-end-line=
"7"
selection-end-column=
"14"
/>
<state>
<caret
column=
"14"
selection-start-column=
"14"
selection-end-column=
"14"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/pages/Work/Work.jsx"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"100"
>
<caret
line=
"34"
column=
"40"
lean-forward=
"true"
selection-start-line=
"34"
selection-start-column=
"40"
selection-end-line=
"34"
selection-end-column=
"40"
/>
<folding>
<element
signature=
"e#0#
26
#0"
expanded=
"true"
/>
<element
signature=
"e#0#
51
#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/pages/
EventProcessing/Process
.jsx"
>
<entry
file=
"file://$PROJECT_DIR$/src/pages/
Backlog/Backlog
.jsx"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
423
"
>
<caret
line=
"
49"
column=
"49"
selection-start-line=
"49"
selection-start-column=
"41"
selection-end-line=
"49"
selection-end-column=
"49
"
/>
<state
relative-caret-position=
"
148
"
>
<caret
line=
"
7"
column=
"46"
lean-forward=
"true"
selection-start-line=
"7"
selection-start-column=
"46"
selection-end-line=
"7"
selection-end-column=
"46
"
/>
<folding>
<element
signature=
"e#0#49#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/pages/
Backlog/Backlog
.jsx"
>
<entry
file=
"file://$PROJECT_DIR$/src/pages/
Work/WorkDetail
.jsx"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
375
"
>
<caret
line=
"
42"
column=
"29"
selection-start-line=
"42"
selection-start-column=
"29"
selection-end-line=
"42"
selection-end-column=
"2
9"
/>
<state
relative-caret-position=
"
250
"
>
<caret
line=
"
58"
column=
"39"
lean-forward=
"true"
selection-start-line=
"58"
selection-start-column=
"39"
selection-end-line=
"58"
selection-end-column=
"3
9"
/>
<folding>
<element
signature=
"e#0#49#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/
utils/instance.js
"
>
<entry
file=
"file://$PROJECT_DIR$/src/
pages/Notice/Notice.jsx
"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"1
2
5"
>
<caret
line=
"
29"
column=
"22"
selection-start-line=
"29"
selection-start-column=
"13"
selection-end-line=
"29"
selection-end-column=
"22
"
/>
<state
relative-caret-position=
"1
7
5"
>
<caret
line=
"
52"
column=
"19"
lean-forward=
"true"
selection-start-line=
"52"
selection-start-column=
"19"
selection-end-line=
"52"
selection-end-column=
"19
"
/>
<folding>
<element
signature=
"e#0#
26
#0"
expanded=
"true"
/>
<element
signature=
"e#0#
49
#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/
utils/request.js
"
>
<entry
file=
"file://$PROJECT_DIR$/src/
pages/Communicate/Communicate.jsx
"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"250"
>
<caret
line=
"22"
column=
"13"
selection-start-line=
"22"
selection-start-column=
"13"
selection-end-line=
"22"
selection-end-column=
"13"
/>
<state
relative-caret-position=
"98"
>
<caret
line=
"73"
column=
"21"
lean-forward=
"true"
selection-start-line=
"73"
selection-start-column=
"21"
selection-end-line=
"73"
selection-end-column=
"21"
/>
<folding>
<element
signature=
"e#4451#4500#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/pages/Login/index.jsx"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"25"
>
<caret
line=
"1"
column=
"40"
selection-start-line=
"1"
selection-start-column=
"35"
selection-end-line=
"1"
selection-end-column=
"40"
/>
<state
relative-caret-position=
"300"
>
<caret
line=
"15"
column=
"42"
lean-forward=
"true"
selection-start-line=
"15"
selection-start-column=
"42"
selection-end-line=
"15"
selection-end-column=
"42"
/>
<folding>
<element
signature=
"e#0#42#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/pages/
Work/Work
.jsx"
>
<entry
file=
"file://$PROJECT_DIR$/src/pages/
EventProcessing/Process
.jsx"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
175
"
>
<caret
line=
"
13"
column=
"11"
lean-forward=
"true"
selection-start-line=
"13"
selection-start-column=
"11"
selection-end-line=
"13"
selection-end-column=
"11
"
/>
<state
relative-caret-position=
"
97
"
>
<caret
line=
"
9"
column=
"24"
lean-forward=
"true"
selection-start-line=
"9"
selection-start-column=
"24"
selection-end-line=
"9"
selection-end-column=
"24
"
/>
<folding>
<element
signature=
"e#0#
51
#0"
expanded=
"true"
/>
<element
signature=
"e#0#
49
#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/components/TopSearch/index.jsx"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"225"
>
<caret
line=
"12"
column=
"32"
selection-start-line=
"12"
selection-start-column=
"32"
selection-end-line=
"12"
selection-end-column=
"32"
/>
</state>
</provider>
</entry>
</component>
</project>
\ No newline at end of file
src/components/AddressList/AddressUser.jsx
0 → 100644
View file @
8e10f9fb
import
React
from
'react'
;
import
'./index.less'
const
Index
=
(
props
)
=>
{
const
data
=
props
.
data
;
return
(
<
div
className=
"address-box"
>
{
data
.
map
((
item
,
index
)
=>
item
.
title
&&
(
<
div
key=
{
index
}
>
<
div
className=
"address-item"
>
1111111111
</
div
>
{
item
.
children
.
map
((
child
,
index2
)
=>
(
<
div
className=
"address-item"
key=
{
index2
}
>
<
div
>
<
img
alt=
""
src=
""
className=
""
/>
{
child
.
title
||
'11'
}
</
div
>
<
div
>
<
img
alt=
""
className=
'smallIco mr-5'
src=
'/img/tel.png'
/>
13488876526
</
div
>
</
div
>
))
}
</
div
>
))
}
</
div
>
);
};
export
default
Index
;
src/components/AddressList/index.jsx
View file @
8e10f9fb
import
React
from
'react'
;
import
'./index.less'
const
data
=
[{},
{},
{},
{}]
const
Index
=
()
=>
{
const
Index
=
(
props
)
=>
{
const
data
=
props
.
data
;
return
(
<
div
className=
"address-box"
>
{
data
.
map
((
item
,
index
)
=>
(
{
data
.
map
((
item
,
index
)
=>
item
.
title
&&
(
<
div
className=
"address-item"
>
cccc
{
item
.
title
||
'11'
}
<
img
src=
"/img/rarrow.png"
alt=
""
className=
'icon18'
/>
</
div
>
))
}
...
...
src/components/TopSearch/index.jsx
View file @
8e10f9fb
...
...
@@ -10,7 +10,7 @@ const Index = (props) => {
const
input
=
document
.
getElementsByClassName
(
"top-single-search"
);
props
.
onSearch
(
input
[
0
].
value
);
let
inputValue
=
input
[
0
].
value
;
setStatus
(
inputValue
!=
null
&&
inputValue
!=
undefined
&&
inputValue
!
=
''
)
setStatus
(
inputValue
!=
null
&&
inputValue
!==
''
)
};
const
clear
=
()
=>
{
setStatus
(
false
)
...
...
src/components/WorkCard/CardItem.jsx
View file @
8e10f9fb
...
...
@@ -3,7 +3,7 @@ import './index.less'
const
CardItem
=
(
props
)
=>
{
const
{
data
,
addStatus
,
type
,
addCommon
,
iconAction
}
=
props
;
const
{
data
,
addStatus
,
type
,
addCommon
,
iconAction
,
workUrl
}
=
props
;
const
[
status
,
setStatus
]
=
useState
(
false
);
useEffect
(()
=>
{
...
...
@@ -11,7 +11,7 @@ const CardItem = (props) => {
},
[
addStatus
])
const
contentCLick
=
()
=>
{
!
status
&&
!
data
.
iconAdd
&&
console
.
log
(
data
.
text
);
!
status
&&
!
data
.
iconAdd
&&
workUrl
(
'/blank/work/1'
)
data
.
iconAdd
&&
addCommon
()
};
const
iconClick
=
()
=>
{
...
...
src/components/WorkCard/index.jsx
View file @
8e10f9fb
...
...
@@ -3,7 +3,7 @@ import './index.less'
import
CardItem
from
'./CardItem'
const
Index
=
(
props
)
=>
{
const
{
title
,
type
,
addStatus
,
addCommon
,
data
,
iconAction
}
=
props
;
const
{
title
,
type
,
addStatus
,
addCommon
,
data
,
iconAction
,
workUrl
}
=
props
;
const
emptyIcon
=
type
===
'edit'
?
{
text
:
addStatus
?
'完成添加'
:
'添加常用'
,
icon
:
addStatus
?
'/img/finish-work.png'
:
'/img/add-work.png'
,
iconAdd
:
true
}
:
{};
...
...
@@ -23,6 +23,7 @@ const Index = (props) => {
type=
{
type
}
key=
{
index
}
data=
{
item
}
workUrl=
{
workUrl
}
addStatus=
{
addStatus
}
addCommon=
{
addCommon
}
iconAction=
{
iconAction
}
...
...
src/layout/CommonLayout.jsx
View file @
8e10f9fb
import
React
,
{
useEffect
,
useState
}
from
'react'
;
import
React
,
{
useEffect
}
from
'react'
;
import
Footer
from
'./Footer'
import
{
withRouter
}
from
'react-router-dom'
import
'./index.less'
...
...
src/pages/Backlog/Backlog.jsx
View file @
8e10f9fb
import
React
,
{
useState
,
useEffect
}
from
'react'
;
import
{
WhiteSpace
,
WingBlank
,
ActivityIndicator
}
from
'antd-mobile'
import
TodoCard
from
'../../components/LogCard'
import
TopSearch
from
'../../components/TopSearch'
import
TopSearch
from
'../../components/TopSearch'
;
import
axiosRequest
from
'../../utils/request'
;
const
Backlog
=
(
props
)
=>
{
const
[
current
,
setCurrent
]
=
useState
(
1
);
...
...
@@ -15,11 +16,18 @@ const Backlog = (props) => {
props
.
history
.
push
(
`/blank/info/example/1`
)
};
const
getData
=
()
=>
{
setLoading
(
false
)
const
pageMap
=
{
searchWord
,
nowPage
:
current
,
pageSize
:
10
}
const
pageMap
=
{
searchWord
,
nowPage
:
current
,
pageSize
:
10
};
console
.
log
(
pageMap
)
setLoading
(
true
)
axiosRequest
({
method
:
'post'
,
url
:
'/dgbg/mobileGetOperates.view?userName=2012012099&clientFlag=123456'
,
}).
then
(
res
=>
{
setLoading
(
false
);
let
result
=
data
.
concat
([{},
{},
{},
{},
{},
{}])
setData
(
result
)
setCurrent
(
current
+
1
)
});
};
//下拉加载
...
...
@@ -29,7 +37,6 @@ const Backlog = (props) => {
const
scrollHeight
=
event
.
scrollHeight
;
const
clientHeight
=
event
.
clientHeight
;
if
(
top
+
clientHeight
===
scrollHeight
)
{
setLoading
(
true
);
getData
()
}
};
...
...
@@ -38,6 +45,7 @@ const Backlog = (props) => {
return
()
=>
window
.
removeEventListener
(
'scroll'
,
handleScroll
,
true
);
},
[
data
]);
//回到顶部
useEffect
(()
=>
{
const
element
=
document
.
getElementById
(
'common-content'
)
element
.
scrollTo
(
0
,
0
)
...
...
@@ -61,7 +69,6 @@ const Backlog = (props) => {
))
}
</
WingBlank
>
);
};
...
...
src/pages/Communicate/AddressBook.jsx
0 → 100644
View file @
8e10f9fb
import
React
,
{
useState
,
useEffect
}
from
'react'
;
import
AddressList
from
'../../components/AddressList'
;
import
AddressUser
from
'../../components/AddressList/AddressUser'
;
const
AddressBook
=
(
props
)
=>
{
return
(
<
div
>
<
div
className=
'breadBox'
>
<
span
className=
'currentLink'
>
科技创新委员会
</
span
>
<
span
className=
'symbol'
>
>
</
span
>
<
span
>
组织架构
</
span
>
<
span
className=
'symbol'
>
>
</
span
>
<
span
>
办公厅
</
span
>
</
div
>
<
div
className=
'adMainBox'
>
<
AddressList
data=
{
[{
title
:
'1'
},
{
title
:
2
},
{
title
:
3
}]
}
/>
<
AddressUser
data=
{
[{
title
:
'1'
,
children
:
[{},
{},
{}]},
{
title
:
2
,
children
:
[{},
{},
{}]},
{
title
:
3
,
children
:
[{},
{},
{}]}]
}
/>
</
div
>
</
div
>
);
};
export
default
AddressBook
;
src/pages/Communicate/Communicate.jsx
View file @
8e10f9fb
import
React
,
{
Component
}
from
'react'
;
import
'./index.less'
// import React, {Component} from 'react';
// import './index.less'
//
// class Communicate extends Component {
//
// render() {
// return (
// <div>
// <div className='breadBox'>
// <span className='currentLink'>科技创新委员会</span><span className='symbol'>></span><span>组织架构</span><span className='symbol'>></span><span>办公厅</span>
// </div>
// <div className='adMainBox'>
// <ul className='adListBox'>
// <li>
// <div className='itemBox'>
// <h4 className='titleBar'>市委办公厅审核员</h4>
// <div className='adContent'>
// <div className='peopleList'>
// <p className='subItem'>
// <span className='cicrleHead mr-5'>
// <img src='/img/head.png' className='imgRes' />
// </span>
// 王磊
// </p>
// <p className='subItem'>
// <img className='smallIco mr-5' src='/img/tel.png' />13488876526
// </p>
// </div>
// <div className='peopleList'>
// <p className='subItem'>
// <span className='cicrleHead mr-5 centerFont'>
// 王
// </span>
// 王磊
// </p>
// <p className='subItem'>
// <img className='smallIco mr-5' src='/img/tel.png' />13488876526
// </p>
// </div>
// </div>
// </div>
// </li>
// <li>
// <div className='itemBox'>
// <h4 className='titleBar'>市委办公厅审核员</h4>
// <div className='adContent'>
// <div className='peopleList'>
// <p className='subItem'>
// <span className='cicrleHead mr-5'>
// <img src='/img/head.png' className='imgRes' />
// </span>
// 王磊
// </p>
// <p className='subItem'>
// <img className='smallIco mr-5' src='/img/tel.png' />13488876526
// </p>
// </div>
// <div className='peopleList'>
// <p className='subItem'>
// <span className='cicrleHead mr-5 centerFont'>
// 王
// </span>
// 王磊
// </p>
// <p className='subItem'>
// <img className='smallIco mr-5' src='/img/tel.png' />13488876526
// </p>
// </div>
// </div>
// </div>
// </li>
// </ul>
// </div>
// </div>
// );
// }
// }
//
// export default Communicate;
class
Communicate
extends
Component
{
render
()
{
import
React
from
'react'
;
import
AddressList
from
'../../components/AddressList'
;
import
AddressUser
from
'../../components/AddressList/AddressUser'
;
const
AddressBook
=
(
props
)
=>
{
return
(
<
div
>
<
div
className=
'breadBox'
>
<
span
className=
'currentLink'
>
科技创新委员会
</
span
><
span
className=
'symbol'
>
>
</
span
><
span
>
组织架构
</
span
><
span
className=
'symbol'
>
>
</
span
><
span
>
办公厅
</
span
>
<
span
className=
'currentLink'
>
科技创新委员会
</
span
>
<
span
className=
'symbol'
>
>
</
span
>
<
span
>
组织架构
</
span
>
<
span
className=
'symbol'
>
>
</
span
>
<
span
>
办公厅
</
span
>
</
div
>
<
div
className=
'adMainBox'
>
<
ul
className=
'adListBox'
>
<
li
>
<
div
className=
'itemBox'
>
<
h4
className=
'titleBar'
>
市委办公厅审核员
</
h4
>
<
div
className=
'adContent'
>
<
div
className=
'peopleList'
>
<
p
className=
'subItem'
>
<
span
className=
'cicrleHead mr-5'
>
<
img
src=
'/img/head.png'
className=
'imgRes'
/>
</
span
>
王磊
</
p
>
<
p
className=
'subItem'
>
<
img
className=
'smallIco mr-5'
src=
'/img/tel.png'
/>
13488876526
</
p
>
</
div
>
<
div
className=
'peopleList'
>
<
p
className=
'subItem'
>
<
span
className=
'cicrleHead mr-5 centerFont'
>
王
</
span
>
王磊
</
p
>
<
p
className=
'subItem'
>
<
img
className=
'smallIco mr-5'
src=
'/img/tel.png'
/>
13488876526
</
p
>
</
div
>
</
div
>
</
div
>
</
li
>
<
li
>
<
div
className=
'itemBox'
>
<
h4
className=
'titleBar'
>
市委办公厅审核员
</
h4
>
<
div
className=
'adContent'
>
<
div
className=
'peopleList'
>
<
p
className=
'subItem'
>
<
span
className=
'cicrleHead mr-5'
>
<
img
src=
'/img/head.png'
className=
'imgRes'
/>
</
span
>
王磊
</
p
>
<
p
className=
'subItem'
>
<
img
className=
'smallIco mr-5'
src=
'/img/tel.png'
/>
13488876526
</
p
>
</
div
>
<
div
className=
'peopleList'
>
<
p
className=
'subItem'
>
<
span
className=
'cicrleHead mr-5 centerFont'
>
王
</
span
>
王磊
</
p
>
<
p
className=
'subItem'
>
<
img
className=
'smallIco mr-5'
src=
'/img/tel.png'
/>
13488876526
</
p
>
</
div
>
</
div
>
</
div
>
</
li
>
</
ul
>
<
AddressList
data=
{
[{
title
:
'1'
},
{
title
:
2
},
{
title
:
3
}]
}
/>
<
AddressUser
data=
{
[{
title
:
'1'
,
children
:
[{},
{},
{}]},
{
title
:
2
,
children
:
[{},
{},
{}]},
{
title
:
3
,
children
:
[{},
{},
{}]}]
}
/>
</
div
>
</
div
>
);
}
}
};
export
default
AddressBook
;
export
default
Communicate
;
src/pages/EventProcessing/Process.jsx
View file @
8e10f9fb
...
...
@@ -20,13 +20,15 @@ const Pro = (props) => {
setFootStatus
(
true
)
};
useEffect
(()
=>
{
setLoading
(
false
);
const
option
=
document
.
getElementsByClassName
(
"option-text"
)[
0
]
option
.
addEventListener
(
'focus'
,
optionBlur
,
true
);
return
()
=>
option
.
removeEventListener
(
'focus'
,
optionBlur
,
true
);
},
[]);
const
optionChange
=
val
=>
{
setDisabled
(
!
(
val
!=
null
&&
val
!=
undefined
&&
val
!
=
''
))
setDisabled
(
!
(
val
!=
null
&&
val
!==
''
))
};
const
[
current
,
setCurrent
]
=
useState
(
'basic'
);
...
...
src/pages/Login/index.jsx
View file @
8e10f9fb
import
React
,
{
useEffect
}
from
'react'
;
import
{
useRequest
}
from
"@umijs/hooks"
;
import
axios
from
'axios'
;
import
React
from
'react'
;
//
import { useRequest } from "@umijs/hooks";
//
import axios from 'axios';
import
{
withRouter
}
from
'react-router-dom'
import
axiosRequest
,
{
loading
}
from
'../../utils/request'
;
import
axiosRequest
from
'../../utils/request'
;
// import { postRequest } from '../../utils/request';
// import './index.less'
...
...
@@ -12,6 +12,7 @@ const Login = (props) => {
method
:
'post'
,
url
:
'/dgbg/mobileLogin.view?userName=2012012099&clientFlag=123456&password=1'
,
}).
then
(
res
=>
{
!
res
.
errorMessage
&&
props
.
history
.
push
(
`/bord/backlog`
)
// setOperates(res.operate || []);
});
...
...
src/pages/Notice/Notice.jsx
View file @
8e10f9fb
...
...
@@ -2,7 +2,7 @@ import React, {useEffect, useState} from 'react';
import
{
ActivityIndicator
,
WhiteSpace
,
WingBlank
}
from
'antd-mobile'
import
TodoCard
from
'../../components/LogCard'
import
TopNotice
from
'../../components/NoticeTab'
import
axiosRequest
from
'../../utils/request'
;
const
Notice
=
(
props
)
=>
{
const
[
loading
,
setLoading
]
=
useState
(
false
);
...
...
@@ -11,11 +11,18 @@ const Notice = (props) => {
const
[
data
,
setData
]
=
useState
([{},{},{},{},{},{}]);
const
getData
=
()
=>
{
setLoading
(
false
)
const
pageMap
=
{
searchWord
,
nowPage
:
current
,
pageSize
:
10
}
const
pageMap
=
{
searchWord
,
nowPage
:
current
,
pageSize
:
10
};
console
.
log
(
pageMap
)
setLoading
(
true
)
axiosRequest
({
method
:
'post'
,
url
:
'/dgbg/mobileGetOperates.view?userName=2012012099&clientFlag=123456'
,
}).
then
(
res
=>
{
setLoading
(
false
);
let
result
=
data
.
concat
([{},
{},
{},
{},
{},
{}])
setData
(
result
)
setCurrent
(
current
+
1
)
});
};
//下拉加载
...
...
@@ -25,7 +32,6 @@ const Notice = (props) => {
const
scrollHeight
=
event
.
scrollHeight
;
const
clientHeight
=
event
.
clientHeight
;
if
(
top
+
clientHeight
===
scrollHeight
)
{
setLoading
(
true
);
getData
()
}
};
...
...
@@ -37,6 +43,12 @@ const Notice = (props) => {
const
checkLog
=
()
=>
{
props
.
history
.
push
(
`/blank/info/example/1`
)
};
//回到顶部
useEffect
(()
=>
{
const
element
=
document
.
getElementById
(
'common-content'
)
element
.
scrollTo
(
0
,
0
)
},
[])
return
(
<
WingBlank
>
<
ActivityIndicator
...
...
@@ -45,7 +57,7 @@ const Notice = (props) => {
animating=
{
loading
}
/>
<
WhiteSpace
/>
<
TopNotice
/>
<
TopNotice
onSearch=
{
setSearchWord
}
/>
{
data
.
map
((
item
,
index
)
=>
(
<
div
key=
{
index
}
>
...
...
src/pages/Work/Work.jsx
View file @
8e10f9fb
import
React
,
{
useState
,
useEffect
}
from
'react'
;
import
{
ActivityIndicator
,
WhiteSpace
,
WingBlank
}
from
"antd-mobile"
;
import
axiosRequest
,
{
loading
}
from
'../../utils/request'
;
import
axiosRequest
from
'../../utils/request'
;
import
TopSearch
from
'../../components/TopSearch'
import
WorkCard
from
'../../components/WorkCard'
const
Work
=
()
=>
{
import
WorkCard
from
'../../components/WorkCard'
;
const
Work
=
(
props
)
=>
{
const
[
loading
,
setLoading
]
=
useState
(
false
)
const
[
addStatus
,
setAddStatus
]
=
useState
(
false
);
const
[
operates
,
setOperates
]
=
useState
([]);
...
...
@@ -14,10 +14,12 @@ const Work = () => {
},
[]);
const
loadOperates
=
()
=>
{
setLoading
(
true
)
axiosRequest
({
method
:
'post'
,
url
:
'/dgbg/mobileGetOperates.view?userName=2012012099&clientFlag=123456'
,
}).
then
(
res
=>
{
setLoading
(
false
)
setOperates
(
res
.
operate
||
[]);
});
}
...
...
@@ -35,10 +37,15 @@ const Work = () => {
// arr.splice(arr.length - 1, 0, item[0]);
};
const
itemSlice
=
(
id
,
arr
,
arr2
)
=>
{
// const index = arr.findIndex(item => item.id == id);
// index > -1 && arr.splice(index, 1);
};
// const itemSlice = (id, arr, arr2) => {
// // const index = arr.findIndex(item => item.id == id);
// // index > -1 && arr.splice(index, 1);
// };
const
workUrl
=
(
url
)
=>
{
props
.
history
.
push
(
url
)
}
return
(
<
WingBlank
>
<
ActivityIndicator
...
...
@@ -50,10 +57,11 @@ const Work = () => {
<
TopSearch
onSearch=
{
workSearch
}
/>
<
WhiteSpace
/>
<
WorkCard
title=
"
事物管理
"
title=
"
工作详情
"
addCommon=
{
commonEdit
}
addStatus=
{
addStatus
}
data=
{
operates
.
map
(
item
=>
({
icon
:
''
,
text
:
item
.
NODENAME
}))
}
workUrl=
{
workUrl
}
iconAction=
{
itemAdd
}
/>
</
WingBlank
>
...
...
src/pages/Work/WorkDetail.jsx
0 → 100644
View file @
8e10f9fb
import
React
,
{
useEffect
,
useState
}
from
'react'
;
import
{
ActivityIndicator
,
WhiteSpace
,
WingBlank
}
from
'antd-mobile'
import
TodoCard
from
'../../components/LogCard'
import
TopNotice
from
'../../components/NoticeTab'
import
axiosRequest
from
'../../utils/request'
;
import
'./index.less'
const
WorkDetail
=
(
props
)
=>
{
const
[
loading
,
setLoading
]
=
useState
(
false
);
const
[
current
,
setCurrent
]
=
useState
(
1
);
const
[
searchWord
,
setSearchWord
]
=
useState
()
const
[
data
,
setData
]
=
useState
([{},{},{},{},{},{}]);
const
getData
=
()
=>
{
const
pageMap
=
{
searchWord
,
nowPage
:
current
,
pageSize
:
10
};
console
.
log
(
pageMap
)
setLoading
(
true
)
axiosRequest
({
method
:
'post'
,
url
:
'/dgbg/mobileGetOperates.view?userName=2012012099&clientFlag=123456'
,
}).
then
(
res
=>
{
setLoading
(
false
);
let
result
=
data
.
concat
([{},
{},
{},
{},
{},
{}])
setData
(
result
)
setCurrent
(
current
+
1
)
});
};
//下拉加载
const
handleScroll
=
()
=>
{
const
event
=
document
.
getElementById
(
"work-content"
)
const
top
=
event
.
scrollTop
;
const
scrollHeight
=
event
.
scrollHeight
;
const
clientHeight
=
event
.
clientHeight
;
if
(
top
+
clientHeight
===
scrollHeight
)
{
getData
()
}
};
useEffect
(()
=>
{
window
.
addEventListener
(
'scroll'
,
handleScroll
,
true
);
return
()
=>
window
.
removeEventListener
(
'scroll'
,
handleScroll
,
true
);
},
[
data
]);
const
checkLog
=
()
=>
{
props
.
history
.
push
(
`/blank/info/example/1`
)
};
//回到顶部
useEffect
(()
=>
{
const
element
=
document
.
getElementById
(
'work-content'
)
element
.
scrollTo
(
0
,
0
)
},
[])
return
(
<
div
id=
"work-content"
className=
"work-content"
>
<
WingBlank
>
<
ActivityIndicator
toast
text=
"加载中..."
animating=
{
loading
}
/>
<
WhiteSpace
/>
<
TopNotice
onSearch=
{
setSearchWord
}
/>
{
data
.
map
((
item
,
index
)
=>
(
<
div
key=
{
index
}
>
<
WhiteSpace
/>
<
TodoCard
data=
{
item
}
onClick=
{
checkLog
}
/>
</
div
>
))
}
</
WingBlank
>
</
div
>
);
};
export
default
WorkDetail
;
src/pages/Work/index.less
0 → 100644
View file @
8e10f9fb
.work-content{
position: fixed;
top: 0;left: 0;right: 0;bottom: 0;
overflow: auto;
padding-bottom: 10px
}
src/pages/WorkDetail/WorkDetail.jsx
deleted
100644 → 0
View file @
3fedbcb5
src/router.js
View file @
8e10f9fb
...
...
@@ -5,6 +5,7 @@ import BlankLayout from './layout/BlankLayout';
import
CommonLayout
from
'./layout/CommonLayout'
;
import
Backlog
from
'./pages/Backlog/Backlog'
import
Work
from
'./pages/Work/Work'
import
WorkDetail
from
'./pages/Work/WorkDetail'
import
Notice
from
'./pages/Notice/Notice'
import
Communicate
from
'./pages/Communicate/Communicate'
;
import
AddressList
from
'./pages/AddressList/AddressList'
;
...
...
@@ -21,8 +22,8 @@ const ReactRouter = () => {
return
(
<
Router
>
<
Switch
>
<
Route
exact
path
=
"/"
render
=
{()
=>
<
Redirect
to
=
"/login"
/>
}
/
>
<
Route
path
=
"/login"
component
=
{
Login
}
/
>
<
Route
exact
path
=
"/"
render
=
{()
=>
<
Redirect
to
=
"/bord/backlog"
/>
}
/
>
<
Route
path
=
"/bord"
render
=
{
()
=>
<
CommonLayout
>
<
Route
path
=
"/bord/backlog"
component
=
{
Backlog
}
/
>
...
...
@@ -34,6 +35,7 @@ const ReactRouter = () => {
}
/
>
<
Route
path
=
"/blank"
component
=
{()
=>
<
BlankLayout
>
<
Route
path
=
"/blank/work/:id"
component
=
{
WorkDetail
}
/
>
<
Route
path
=
"/blank/submit/:id"
component
=
{
SubmitDetail
}
/
>
<
Route
path
=
"/blank/info/:name/:id"
component
=
{
Process
}
/
>
<
/BlankLayout
>
...
...
src/utils/instance.js
View file @
8e10f9fb
import
axios
from
'axios'
;
import
{
parse
,
stringify
}
from
'qs'
;
import
{
stringify
}
from
'qs'
;
import
{
Toast
}
from
'antd-mobile'
;
const
instance
=
axios
.
create
();
...
...
@@ -69,7 +69,7 @@ export const createAPI = (baseURL) => {
})
.
catch
(
error
=>
{
if
(
error
.
response
)
{
const
{
status
,
statusText
,
url
}
=
error
.
response
;
const
{
status
,
statusText
}
=
error
.
response
;
const
errortext
=
codeMessage
[
status
]
||
statusText
;
if
(
status
===
401
)
{
...
...
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