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
db448486
Commit
db448486
authored
Jun 11, 2020
by
熊成伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
debug
parent
442c94cc
Pipeline
#15297
passed with stages
in 56 seconds
Changes
22
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
22 changed files
with
307 additions
and
261 deletions
+307
-261
workspace.xml
.idea/workspace.xml
+173
-181
idt-menu-ico-01.png
public/img/icon/idt-menu-ico-01.png
+0
-0
idt-menu-ico-02.png
public/img/icon/idt-menu-ico-02.png
+0
-0
idt-menu-ico-04.png
public/img/icon/idt-menu-ico-04.png
+0
-0
idt-menu-ico-16.png
public/img/icon/idt-menu-ico-16.png
+0
-0
idt-menu-ico-17.png
public/img/icon/idt-menu-ico-17.png
+0
-0
idt-menu-ico-28.png
public/img/icon/idt-menu-ico-28.png
+0
-0
idt-menu-ico-37.png
public/img/icon/idt-menu-ico-37.png
+0
-0
idt-menu-ico-48.png
public/img/icon/idt-menu-ico-48.png
+0
-0
idt-menu-ico-61.png
public/img/icon/idt-menu-ico-61.png
+0
-0
idt-menu-ico-63.png
public/img/icon/idt-menu-ico-63.png
+0
-0
index.jsx
src/components/Loading/index.jsx
+16
-0
index.less
src/components/Loading/index.less
+38
-0
index.jsx
src/components/LogCard/index.jsx
+1
-1
index.jsx
src/components/Skeleton/index.jsx
+1
-1
CardItem.jsx
src/components/WorkCard/CardItem.jsx
+2
-1
Backlog.jsx
src/pages/Backlog/Backlog.jsx
+7
-7
Communicate.jsx
src/pages/Communicate/Communicate.jsx
+6
-9
Process.jsx
src/pages/EventProcessing/Process.jsx
+17
-18
Notice.jsx
src/pages/Notice/Notice.jsx
+19
-28
Work.jsx
src/pages/Work/Work.jsx
+21
-11
instance.js
src/utils/instance.js
+6
-4
No files found.
.idea/workspace.xml
View file @
db448486
...
...
@@ -2,6 +2,14 @@
<project
version=
"4"
>
<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/LogCard/index.jsx"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/src/components/LogCard/index.jsx"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/src/components/Skeleton/index.jsx"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/src/components/Skeleton/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/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/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"
/>
</list>
...
...
@@ -16,19 +24,11 @@
</component>
<component
name=
"FileEditorManager"
>
<leaf
SIDE_TABS_SIZE_LIMIT_KEY=
"300"
>
<file
pinned=
"false"
current-in-tab=
"
fals
e"
>
<file
pinned=
"false"
current-in-tab=
"
tru
e"
>
<entry
file=
"file://$PROJECT_DIR$/src/pages/EventProcessing/Process.jsx"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"125"
>
<caret
line=
"5"
selection-start-line=
"5"
selection-start-column=
"3"
selection-end-line=
"5"
selection-end-column=
"51"
/>
<folding>
<element
signature=
"e#0#49#0"
expanded=
"true"
/>
<element
signature=
"e#325#352#0"
expanded=
"true"
/>
<element
signature=
"e#1338#1722#0"
/>
<element
signature=
"e#1817#2029#0"
/>
<element
signature=
"e#2118#2347#0"
/>
<element
signature=
"e#2689#2905#0"
/>
</folding>
<state
relative-caret-position=
"50"
>
<caret
line=
"2"
column=
"42"
selection-start-line=
"2"
selection-start-column=
"42"
selection-end-line=
"2"
selection-end-column=
"42"
/>
</state>
</provider>
</entry>
...
...
@@ -36,8 +36,8 @@
<file
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/src/pages/Backlog/Backlog.jsx"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
42
5"
>
<caret
line=
"
41"
column=
"30"
lean-forward=
"true"
selection-start-line=
"36"
selection-start-column=
"10"
selection-end-line=
"41"
selection-end-column=
"3
0"
/>
<state
relative-caret-position=
"
17
5"
>
<caret
line=
"
31"
column=
"80"
selection-start-line=
"31"
selection-start-column=
"80"
selection-end-line=
"31"
selection-end-column=
"8
0"
/>
<folding>
<element
signature=
"e#0#49#0"
expanded=
"true"
/>
</folding>
...
...
@@ -48,8 +48,8 @@
<file
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/src/pages/Notice/Notice.jsx"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
-30
0"
>
<caret
line=
"
12"
column=
"39"
selection-start-line=
"12"
selection-start-column=
"39"
selection-end-line=
"12"
selection-end-column=
"39
"
/>
<state
relative-caret-position=
"
35
0"
>
<caret
line=
"
80"
column=
"14"
lean-forward=
"true"
selection-start-line=
"80"
selection-start-column=
"14"
selection-end-line=
"80"
selection-end-column=
"14
"
/>
<folding>
<element
signature=
"e#0#49#0"
expanded=
"true"
/>
</folding>
...
...
@@ -58,57 +58,57 @@
</entry>
</file>
<file
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/src/
utils/instance.js
"
>
<entry
file=
"file://$PROJECT_DIR$/src/
components/NoticeTab/index.jsx
"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"225"
>
<caret
line=
"69"
column=
"46"
selection-start-line=
"69"
selection-start-column=
"42"
selection-end-line=
"69"
selection-end-column=
"46"
/>
<folding>
<element
signature=
"e#0#26#0"
expanded=
"true"
/>
</folding>
<state
relative-caret-position=
"375"
>
<caret
line=
"17"
column=
"58"
lean-forward=
"true"
selection-start-line=
"17"
selection-start-column=
"58"
selection-end-line=
"17"
selection-end-column=
"58"
/>
</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=
"
2
25"
>
<caret
line=
"2
5"
column=
"22"
selection-start-line=
"25"
selection-start-column=
"16"
selection-end-line=
"25"
selection-end-column=
"22
"
/>
<state
relative-caret-position=
"
3
25"
>
<caret
line=
"2
8"
column=
"28"
lean-forward=
"true"
selection-start-line=
"28"
selection-start-column=
"28"
selection-end-line=
"28"
selection-end-column=
"28
"
/>
<folding>
<element
signature=
"e#0#51#0"
expanded=
"true"
/>
<element
signature=
"e#154#204#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
</file>
<file
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/src/pages/
EventProcessing/Option
.jsx"
>
<entry
file=
"file://$PROJECT_DIR$/src/pages/
Communicate/Communicate
.jsx"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
64
5"
>
<caret
line=
"
29"
column=
"22"
selection-start-line=
"29"
selection-start-column=
"22"
selection-end-line=
"29"
selection-end-column=
"22
"
/>
<state
relative-caret-position=
"
32
5"
>
<caret
line=
"
37"
column=
"30"
selection-start-line=
"37"
selection-start-column=
"30"
selection-end-line=
"37"
selection-end-column=
"30
"
/>
<folding>
<element
signature=
"e#0#4
0
#0"
expanded=
"true"
/>
<element
signature=
"e#0#4
9
#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
</file>
<file
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/src/components/
LogCard/index
.jsx"
>
<entry
file=
"file://$PROJECT_DIR$/src/components/
WorkCard/CardItem
.jsx"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
15
0"
>
<caret
line=
"
6"
column=
"33"
selection-start-line=
"6"
selection-start-column=
"24"
selection-end-line=
"6"
selection-end-column=
"33
"
/>
<state
relative-caret-position=
"
40
0"
>
<caret
line=
"
35"
column=
"91"
selection-start-line=
"35"
selection-start-column=
"91"
selection-end-line=
"35"
selection-end-column=
"91
"
/>
<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/
components/LogCard/index.les
s"
>
<entry
file=
"file://$PROJECT_DIR$/src/
utils/request.j
s"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"-75"
/>
<state
relative-caret-position=
"975"
>
<caret
line=
"39"
column=
"18"
selection-start-line=
"39"
selection-start-column=
"11"
selection-end-line=
"39"
selection-end-column=
"18"
/>
</state>
</provider>
</entry>
</file>
...
...
@@ -125,10 +125,6 @@
</component>
<component
name=
"FindInProjectRecents"
>
<findStrings>
<find>
common-layout-content-static
</find>
<find>
setNodeId
</find>
<find>
scrollTop
</find>
<find>
scroll
</find>
<find>
/blank/work/1
</find>
<find>
workUrl
</find>
<find>
scrollTo
</find>
...
...
@@ -146,15 +142,19 @@
<find>
t
</find>
<find>
setT
</find>
<find>
start
</find>
<find>
end
</find>
<find>
setEnd
</find>
<find>
setStart
</find>
<find>
beforeSubmit
</find>
<find>
localStorage
</find>
<find>
onChange
</find>
<find>
beforeSubmit
</find>
<find>
setSearchWord
</find>
<find>
endT
</find>
<find>
loadingCount
</find>
<find>
setLoading
</find>
<find>
console
</find>
<find>
loading
</find>
<find>
setEndT
</find>
<find>
setSearchWor
d
</find>
<find>
localStorage
</find>
<find>
en
d
</find>
<find>
setEnd
</find>
</findStrings>
<replaceStrings>
<replace>
this.props
</replace>
...
...
@@ -171,13 +171,10 @@
<component
name=
"IdeDocumentHistory"
>
<option
name=
"CHANGED_PATHS"
>
<list>
<option
value=
"$PROJECT_DIR$/.gitlab-ci.yml"
/>
<option
value=
"$PROJECT_DIR$/config-overrides.js"
/>
<option
value=
"$PROJECT_DIR$/src/components/LogCard/index.less"
/>
<option
value=
"$PROJECT_DIR$/default.conf"
/>
<option
value=
"$PROJECT_DIR$/src/pages/Login/index.jsx"
/>
<option
value=
"$PROJECT_DIR$/src/components/WorkCard/index.jsx"
/>
<option
value=
"$PROJECT_DIR$/src/components/LogCard/index.jsx"
/>
<option
value=
"$PROJECT_DIR$/src/components/AddressList/index.jsx"
/>
<option
value=
"$PROJECT_DIR$/src/layout/Footer.jsx"
/>
<option
value=
"$PROJECT_DIR$/src/pages/index.less"
/>
...
...
@@ -199,9 +196,7 @@
<option
value=
"$PROJECT_DIR$/src/layout/index.less"
/>
<option
value=
"$PROJECT_DIR$/src/layout/CommonLayout.jsx"
/>
<option
value=
"$PROJECT_DIR$/src/variable.less"
/>
<option
value=
"$PROJECT_DIR$/src/pages/Communicate/Communicate.jsx"
/>
<option
value=
"$PROJECT_DIR$/src/pages/EventProcessing/Flow.jsx"
/>
<option
value=
"$PROJECT_DIR$/src/components/WorkCard/CardItem.jsx"
/>
<option
value=
"$PROJECT_DIR$/src/router.js"
/>
<option
value=
"$PROJECT_DIR$/src/components/BlankTabs/index.jsx"
/>
<option
value=
"$PROJECT_DIR$/src/components/BlankTabs/index.less"
/>
...
...
@@ -211,17 +206,22 @@
<option
value=
"$PROJECT_DIR$/src/pages/EventProcessing/SubmitDetail.jsx"
/>
<option
value=
"$PROJECT_DIR$/src/utils/request.js"
/>
<option
value=
"$PROJECT_DIR$/src/pages/EventProcessing/Option.jsx"
/>
<option
value=
"$PROJECT_DIR$/src/pages/EventProcessing/Process.jsx"
/>
<option
value=
"$PROJECT_DIR$/src/pages/Work/WorkDetail.jsx"
/>
<option
value=
"$PROJECT_DIR$/src/pages/Communicate/AddressBook.jsx"
/>
<option
value=
"$PROJECT_DIR$/src/components/Skeleton/index.less"
/>
<option
value=
"$PROJECT_DIR$/src/components/Skeleton/index.jsx"
/>
<option
value=
"$PROJECT_DIR$/src/pages/Notice/index.less"
/>
<option
value=
"$PROJECT_DIR$/src/pages/Backlog/index.less"
/>
<option
value=
"$PROJECT_DIR$/src/pages/Backlog/Backlog.jsx"
/>
<option
value=
"$PROJECT_DIR$/src/pages/Notice/Notice.jsx"
/>
<option
value=
"$PROJECT_DIR$/src/components/Skeleton/index.jsx"
/>
<option
value=
"$PROJECT_DIR$/src/utils/instance.js"
/>
<option
value=
"$PROJECT_DIR$/src/pages/Communicate/AddressBook.jsx"
/>
<option
value=
"$PROJECT_DIR$/src/components/LogCard/index.jsx"
/>
<option
value=
"$PROJECT_DIR$/src/components/WorkCard/CardItem.jsx"
/>
<option
value=
"$PROJECT_DIR$/src/pages/Work/Work.jsx"
/>
<option
value=
"$PROJECT_DIR$/src/pages/Communicate/Communicate.jsx"
/>
<option
value=
"$PROJECT_DIR$/src/components/Loading/index.jsx"
/>
<option
value=
"$PROJECT_DIR$/src/components/Loading/index.less"
/>
<option
value=
"$PROJECT_DIR$/src/pages/Backlog/Backlog.jsx"
/>
<option
value=
"$PROJECT_DIR$/src/pages/Notice/Notice.jsx"
/>
<option
value=
"$PROJECT_DIR$/src/pages/EventProcessing/Process.jsx"
/>
</list>
</option>
</component>
...
...
@@ -246,6 +246,11 @@
<item
name=
"create-react-app"
type=
"b2602c69:ProjectViewProjectNode"
/>
<item
name=
"create-react-app"
type=
"462c0819:PsiDirectoryNode"
/>
</path>
<path>
<item
name=
"create-react-app"
type=
"b2602c69:ProjectViewProjectNode"
/>
<item
name=
"create-react-app"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"public"
type=
"462c0819:PsiDirectoryNode"
/>
</path>
<path>
<item
name=
"create-react-app"
type=
"b2602c69:ProjectViewProjectNode"
/>
<item
name=
"create-react-app"
type=
"462c0819:PsiDirectoryNode"
/>
...
...
@@ -262,27 +267,34 @@
<item
name=
"create-react-app"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"src"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"components"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"Lo
gCard
"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"Lo
ading
"
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=
"components"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"Skeleton"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"pages"
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=
"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=
"Work"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"EventProcessing"
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"
/>
...
...
@@ -307,17 +319,18 @@
<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"
/>
<recent
name=
"F:\即时通讯\create-react-app\src\pages\Work"
/>
<recent
name=
"F:\即时通讯\create-react-app\src\pages\WorkDetail"
/>
</key>
<key
name=
"CopyFile.RECENT_KEYS"
>
<recent
name=
"F:\即时通讯\create-react-app\public\icon"
/>
<recent
name=
"F:\即时通讯\create-react-app\public\img\test"
/>
<recent
name=
"F:\即时通讯\create-react-app\public\img"
/>
<recent
name=
"F:\即时通讯\create-react-app\src\components\AddressList"
/>
<recent
name=
"F:\即时通讯\create-react-app\src\pages"
/>
<recent
name=
"F:\即时通讯\create-react-app\src\pages\AddressList"
/>
</key>
<key
name=
"MoveFile.RECENT_KEYS"
>
<recent
name=
"F:\即时通讯\create-react-app\public\img"
/>
<recent
name=
"F:\即时通讯\create-react-app\src"
/>
<recent
name=
"F:\即时通讯\create-react-app\src\pages\Work"
/>
<recent
name=
"F:\即时通讯\create-react-app\src\pages\WorkDetail"
/>
</key>
</component>
<component
name=
"RunDashboard"
>
...
...
@@ -350,12 +363,12 @@
<workItem
from=
"1591579020550"
duration=
"32744000"
/>
<workItem
from=
"1591665260536"
duration=
"37378000"
/>
<workItem
from=
"1591751569364"
duration=
"40213000"
/>
<workItem
from=
"1591837824022"
duration=
"
23293
000"
/>
<workItem
from=
"1591837824022"
duration=
"
33679
000"
/>
</task>
<servers
/>
</component>
<component
name=
"TimeTrackingManager"
>
<option
name=
"totallyTimeSpent"
value=
"2
36443
000"
/>
<option
name=
"totallyTimeSpent"
value=
"2
46829
000"
/>
</component>
<component
name=
"ToolWindowManager"
>
<frame
x=
"-8"
y=
"-8"
width=
"1382"
height=
"784"
extended-state=
"6"
/>
...
...
@@ -386,44 +399,6 @@
<option
name=
"version"
value=
"1"
/>
</component>
<component
name=
"editorHistoryManager"
>
<entry
file=
"file://$PROJECT_DIR$/config-overrides.js"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"2350"
>
<caret
line=
"103"
column=
"5"
selection-start-line=
"103"
selection-start-column=
"5"
selection-end-line=
"103"
selection-end-column=
"5"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/pages/index.less"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"325"
>
<caret
line=
"13"
column=
"24"
selection-start-line=
"13"
selection-start-column=
"24"
selection-end-line=
"13"
selection-end-column=
"24"
/>
</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=
"325"
>
<caret
line=
"18"
column=
"5"
lean-forward=
"true"
selection-start-line=
"8"
selection-start-column=
"3"
selection-end-line=
"18"
selection-end-column=
"5"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/pages/Empty.jsx"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"150"
>
<caret
line=
"6"
column=
"39"
lean-forward=
"true"
selection-start-line=
"6"
selection-start-column=
"39"
selection-end-line=
"6"
selection-end-column=
"39"
/>
<folding>
<element
signature=
"e#0#26#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/components/NoticeTab/index.jsx"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"375"
>
<caret
line=
"17"
column=
"58"
lean-forward=
"true"
selection-start-line=
"17"
selection-start-column=
"58"
selection-end-line=
"17"
selection-end-column=
"58"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/useHooks/useThrottle.js"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"300"
>
...
...
@@ -577,16 +552,6 @@
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/pages/Communicate/Communicate.jsx"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"375"
>
<caret
line=
"21"
column=
"27"
lean-forward=
"true"
selection-start-line=
"21"
selection-start-column=
"11"
selection-end-line=
"21"
selection-end-column=
"27"
/>
<folding>
<element
signature=
"e#0#49#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/variable.less"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"420"
>
...
...
@@ -618,16 +583,6 @@
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/components/WorkCard/CardItem.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"
/>
<folding>
<element
signature=
"e#0#49#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/components/BlankTabs/index.jsx"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"325"
>
...
...
@@ -682,13 +637,6 @@
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/utils/request.js"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"150"
>
<caret
line=
"33"
column=
"8"
selection-start-line=
"33"
selection-start-column=
"8"
selection-end-line=
"34"
selection-end-column=
"7"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/package.json"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"673"
>
...
...
@@ -706,121 +654,165 @@
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/components/Skeleton/index.
jsx
"
>
<entry
file=
"file://$PROJECT_DIR$/src/components/Skeleton/index.
less
"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"475"
>
<caret
line=
"19"
lean-forward=
"true"
selection-start-line=
"19"
selection-end-line=
"19"
/>
<folding>
<element
signature=
"e#0#26#0"
expanded=
"true"
/>
</folding>
<state
relative-caret-position=
"275"
>
<caret
line=
"11"
column=
"16"
lean-forward=
"true"
selection-start-line=
"11"
selection-start-column=
"16"
selection-end-line=
"11"
selection-end-column=
"16"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/components/
Skeleton
/index.less"
>
<entry
file=
"file://$PROJECT_DIR$/src/components/
LogCard
/index.less"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"275"
>
<caret
line=
"11"
column=
"16"
lean-forward=
"true"
selection-start-line=
"11"
selection-start-column=
"16"
selection-end-line=
"11"
selection-end-column=
"16"
/>
<state
relative-caret-position=
"-75"
/>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/pages/Notice/index.less"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state>
<caret
selection-end-line=
"9"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/pages/
EventProcessing/Process.jsx
"
>
<entry
file=
"file://$PROJECT_DIR$/src/pages/
Backlog/index.less
"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"125"
>
<caret
line=
"5"
selection-start-line=
"5"
selection-start-column=
"3"
selection-end-line=
"5"
selection-end-column=
"51"
/>
<state
relative-caret-position=
"225"
>
<caret
line=
"9"
selection-start-line=
"9"
selection-end-line=
"9"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/pages/EventProcessing/Option.jsx"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"570"
>
<caret
line=
"29"
column=
"22"
selection-start-line=
"29"
selection-start-column=
"22"
selection-end-line=
"29"
selection-end-column=
"22"
/>
<folding>
<element
signature=
"e#0#49#0"
expanded=
"true"
/>
<element
signature=
"e#325#352#0"
expanded=
"true"
/>
<element
signature=
"e#1338#1722#0"
/>
<element
signature=
"e#1817#2029#0"
/>
<element
signature=
"e#2118#2347#0"
/>
<element
signature=
"e#2689#2905#0"
/>
<element
signature=
"e#0#40#0"
expanded=
"true"
/>
</folding>
</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=
"100"
>
<caret
line=
"4"
selection-start-line=
"4"
selection-end-line=
"4"
selection-end-column=
"48"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/components/NoticeTab/index.jsx"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"375"
>
<caret
line=
"17"
column=
"58"
lean-forward=
"true"
selection-start-line=
"17"
selection-start-column=
"58"
selection-end-line=
"17"
selection-end-column=
"58"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/components/LogCard/index.jsx"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
150
"
>
<caret
line=
"
6"
column=
"33"
selection-start-line=
"6"
selection-start-column=
"24"
selection-end-line=
"6"
selection-end-column=
"33
"
/>
<state
relative-caret-position=
"
575
"
>
<caret
line=
"
23"
column=
"65"
selection-start-line=
"23"
selection-start-column=
"65"
selection-end-line=
"23"
selection-end-column=
"65
"
/>
<folding>
<element
signature=
"e#0#26#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/
pages/Communicate/AddressBook
.jsx"
>
<entry
file=
"file://$PROJECT_DIR$/src/
components/Skeleton/index
.jsx"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
7
5"
>
<caret
line=
"
3"
column=
"47"
selection-start-line=
"3"
selection-start-column=
"47"
selection-end-line=
"3"
selection-end-column=
"47
"
/>
<state
relative-caret-position=
"
2
5"
>
<caret
line=
"
1"
column=
"20"
selection-start-line=
"1"
selection-start-column=
"20"
selection-end-line=
"1"
selection-end-column=
"20
"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/
components/LogCard/index.les
s"
>
<entry
file=
"file://$PROJECT_DIR$/src/
utils/instance.j
s"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"-75"
/>
<state
relative-caret-position=
"200"
>
<caret
line=
"35"
lean-forward=
"true"
selection-start-line=
"35"
selection-end-line=
"35"
/>
<folding>
<element
signature=
"e#0#26#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/pages/Notice/index.less"
>
<entry
file=
"file://$PROJECT_DIR$/src/utils/utils.jsx"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
/>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/utils/request.js"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state>
<caret
selection-end-line=
"9
"
/>
<state
relative-caret-position=
"975"
>
<caret
line=
"39"
column=
"18"
selection-start-line=
"39"
selection-start-column=
"11"
selection-end-line=
"39"
selection-end-column=
"18
"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/pages/Backlog/index.less"
>
<entry
file=
"file://$PROJECT_DIR$/public/img/add-work.png"
>
<provider
selected=
"true"
editor-type-id=
"images"
/>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/components/WorkCard/CardItem.jsx"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"225"
>
<caret
line=
"9"
selection-start-line=
"9"
selection-end-line=
"9"
/>
<state
relative-caret-position=
"400"
>
<caret
line=
"35"
column=
"91"
selection-start-line=
"35"
selection-start-column=
"91"
selection-end-line=
"35"
selection-end-column=
"91"
/>
<folding>
<element
signature=
"e#0#49#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/pages/
EventProcessing/Option
.jsx"
>
<entry
file=
"file://$PROJECT_DIR$/src/pages/
Work/Work
.jsx"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
64
5"
>
<caret
line=
"2
9"
column=
"22"
selection-start-line=
"29"
selection-start-column=
"22"
selection-end-line=
"29"
selection-end-column=
"22
"
/>
<state
relative-caret-position=
"
32
5"
>
<caret
line=
"2
8"
column=
"28"
lean-forward=
"true"
selection-start-line=
"28"
selection-start-column=
"28"
selection-end-line=
"28"
selection-end-column=
"28
"
/>
<folding>
<element
signature=
"e#0#40#0"
expanded=
"true"
/>
<element
signature=
"e#0#51#0"
expanded=
"true"
/>
<element
signature=
"e#154#204#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/pages/
Backlog/Backlog
.jsx"
>
<entry
file=
"file://$PROJECT_DIR$/src/pages/
Communicate/Communicate
.jsx"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
4
25"
>
<caret
line=
"
41"
column=
"30"
lean-forward=
"true"
selection-start-line=
"36"
selection-start-column=
"10"
selection-end-line=
"41
"
selection-end-column=
"30"
/>
<state
relative-caret-position=
"
3
25"
>
<caret
line=
"
37"
column=
"30"
selection-start-line=
"37"
selection-start-column=
"30"
selection-end-line=
"37
"
selection-end-column=
"30"
/>
<folding>
<element
signature=
"e#0#49#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/
pages/Notice/Notice
.jsx"
>
<entry
file=
"file://$PROJECT_DIR$/src/
components/Loading/index
.jsx"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"-300"
>
<caret
line=
"12"
column=
"39"
selection-start-line=
"12"
selection-start-column=
"39"
selection-end-line=
"12"
selection-end-column=
"39"
/>
<state
relative-caret-position=
"25"
>
<caret
line=
"1"
column=
"20"
selection-start-line=
"1"
selection-start-column=
"20"
selection-end-line=
"1"
selection-end-column=
"20"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/components/Loading/index.less"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"25"
>
<caret
line=
"1"
column=
"14"
lean-forward=
"true"
selection-start-line=
"1"
selection-start-column=
"14"
selection-end-line=
"1"
selection-end-column=
"14"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/pages/Backlog/Backlog.jsx"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"175"
>
<caret
line=
"31"
column=
"80"
selection-start-line=
"31"
selection-start-column=
"80"
selection-end-line=
"31"
selection-end-column=
"80"
/>
<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=
"
225
"
>
<caret
line=
"
69"
column=
"46"
selection-start-line=
"69"
selection-start-column=
"42"
selection-end-line=
"69"
selection-end-column=
"46
"
/>
<state
relative-caret-position=
"
350
"
>
<caret
line=
"
80"
column=
"14"
lean-forward=
"true"
selection-start-line=
"80"
selection-start-column=
"14"
selection-end-line=
"80"
selection-end-column=
"14
"
/>
<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/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=
"225"
>
<caret
line=
"25"
column=
"22"
selection-start-line=
"25"
selection-start-column=
"16"
selection-end-line=
"25"
selection-end-column=
"22"
/>
<folding>
<element
signature=
"e#0#51#0"
expanded=
"true"
/>
</folding>
<state
relative-caret-position=
"50"
>
<caret
line=
"2"
column=
"42"
selection-start-line=
"2"
selection-start-column=
"42"
selection-end-line=
"2"
selection-end-column=
"42"
/>
</state>
</provider>
</entry>
...
...
public/img/icon/idt-menu-ico-01.png
0 → 100644
View file @
db448486
36.8 KB
public/img/icon/idt-menu-ico-02.png
0 → 100644
View file @
db448486
30.6 KB
public/img/icon/idt-menu-ico-04.png
0 → 100644
View file @
db448486
48.6 KB
public/img/icon/idt-menu-ico-16.png
0 → 100644
View file @
db448486
25.5 KB
public/img/icon/idt-menu-ico-17.png
0 → 100644
View file @
db448486
33.2 KB
public/img/icon/idt-menu-ico-28.png
0 → 100644
View file @
db448486
25.1 KB
public/img/icon/idt-menu-ico-37.png
0 → 100644
View file @
db448486
24.3 KB
public/img/icon/idt-menu-ico-48.png
0 → 100644
View file @
db448486
34.7 KB
public/img/icon/idt-menu-ico-61.png
0 → 100644
View file @
db448486
24.5 KB
public/img/icon/idt-menu-ico-63.png
0 → 100644
View file @
db448486
24.8 KB
src/components/Loading/index.jsx
0 → 100644
View file @
db448486
import
React
from
'react'
;
import
'./index.less'
const
Index
=
()
=>
{
return
(
<
div
className=
"loading"
>
<
span
/>
<
span
/>
<
span
/>
<
span
/>
<
span
/>
</
div
>
);
};
export
default
Index
;
src/components/Loading/index.less
0 → 100644
View file @
db448486
.loading{
width: 100%;
height: 20px;
margin: 9px auto;
display: flex;
justify-content: center;
}
.loading span{
display: inline-block;
width: 8px;
height: 100%;
border-radius: 4px;
background: rgba(35,35,35,0.13);
-webkit-animation: load 1s ease infinite;
}
@-webkit-keyframes load{
0%,100%{
height: 20px;
background: rgba(35,35,35,0.13);
}
50%{
height: 40px;
margin: -15px 0;
background: rgba(35,35,35,0.1);
}
}
.loading span:nth-child(2){
-webkit-animation-delay:0.2s;
}
.loading span:nth-child(3){
-webkit-animation-delay:0.4s;
}
.loading span:nth-child(4){
-webkit-animation-delay:0.6s;
}
.loading span:nth-child(5){
-webkit-animation-delay:0.8s;
}
src/components/LogCard/index.jsx
View file @
db448486
...
...
@@ -21,7 +21,7 @@ const Index = (props) => {
<
img
alt=
""
className=
"todo-read-png"
src=
{
props
.
data
&&
props
.
data
.
read
?
'/img/read.png'
:
'/img/unread.png'
}
src=
{
props
.
data
&&
props
.
data
.
FLAG
===
'D'
?
'/img/read.png'
:
'/img/unread.png'
}
/>
</
span
>
</
div
>
...
...
src/components/Skeleton/index.jsx
View file @
db448486
import
React
from
'react'
;
import
ContentLoader
,
{
Facebook
}
from
'react-content-loader'
import
ContentLoader
from
'react-content-loader'
import
'./index.less'
const
Index
=
()
=>
{
...
...
src/components/WorkCard/CardItem.jsx
View file @
db448486
...
...
@@ -32,7 +32,8 @@ const CardItem = (props) => {
)
}
<
img
src=
{
data
.
icon
}
className=
"card-content-img-svg"
alt=
""
/>
<
img
src=
{
data
.
icon
?
`/img/icon/${data.icon}.png`
:
"/img/add-work.png"
}
className=
"card-content-img-svg"
alt=
""
/>
</
div
>
<
div
className=
"card-content-title"
>
{
data
.
text
}
...
...
src/pages/Backlog/Backlog.jsx
View file @
db448486
import
React
,
{
useState
,
useEffect
}
from
'react'
;
import
{
WhiteSpace
,
WingBlank
,
ActivityIndicator
}
from
'antd-mobile'
import
{
WhiteSpace
,
WingBlank
}
from
'antd-mobile'
import
TodoCard
from
'../../components/LogCard'
import
TopSearch
from
'../../components/TopSearch'
;
import
Skeleton
from
'../../components/Skeleton'
import
Loading
from
'../../components/Loading'
import
axiosRequest
from
'../../utils/request'
;
import
Document
from
'react-document-title'
import
Empty
from
'../Empty'
...
...
@@ -11,7 +12,6 @@ import './index.less'
const
Backlog
=
(
props
)
=>
{
const
[
start
,
setStart
]
=
useState
(
true
);
const
[
end
,
setEnd
]
=
useState
(
true
)
const
[
endT
,
setEndT
]
=
useState
(
false
);
useEffect
(()
=>
{
//回到顶部
...
...
@@ -26,9 +26,10 @@ const Backlog = (props) => {
const
checkLog
=
(
OPERATEID
,
UUID
)
=>
{
props
.
history
.
push
(
`/blank/info/
${
OPERATEID
}
/
${
UUID
}
`
)
};
const
getData
=
()
=>
{
const
getData
=
(
scroll
)
=>
{
const
pageMap
=
{
searchWord
,
nowPage
:
current
+
1
,
pageSize
:
10
};
setLoading
(
true
);
scroll
&&
current
>
0
&&
window
.
scrollTo
(
0
,
document
.
body
.
scrollHeight
);
axiosRequest
({
method
:
'post'
,
url
:
'/idtAppServiceV6/oApp/getUnDone'
,
...
...
@@ -49,8 +50,7 @@ const Backlog = (props) => {
let
clientHeight
=
document
.
documentElement
.
clientHeight
||
document
.
body
.
clientHeight
;
let
scrollHeight
=
document
.
documentElement
.
scrollHeight
||
document
.
body
.
scrollHeight
;
if
(
scrollHeight
>
clientHeight
&&
scrollTop
+
clientHeight
===
scrollHeight
)
{
current
>
0
&&
window
.
scrollTo
(
0
,
document
.
body
.
scrollHeight
);
getData
()
getData
(
true
)
}
}
useEffect
(()
=>
{
...
...
@@ -64,7 +64,6 @@ const Backlog = (props) => {
};
useEffect
(()
=>
{
setStart
(
true
);
setEndT
(
false
)
setData
([])
!
start
&&
getData
()
},
[
searchWord
]);
...
...
@@ -88,7 +87,8 @@ const Backlog = (props) => {
<
WhiteSpace
/>
{
loading
&&
(
<
div
className=
"pos-line content-loading"
>
<
ActivityIndicator
/>
<
Loading
/>
<
WhiteSpace
/>
<
WhiteSpace
/>
</
div
>
)
}
...
...
src/pages/Communicate/Communicate.jsx
View file @
db448486
import
React
,
{
useState
,
useEffect
}
from
'react'
;
import
{
WhiteSpace
}
from
'antd-mobile'
import
AddressUser
from
'../../components/AddressList/AddressUser'
;
import
axiosRequest
from
'../../utils/request'
;
import
{
ActivityIndicator
}
from
"antd-mobile"
;
import
Skeleton
from
'../../components/Skeleton'
import
Document
from
'react-document-title'
import
Empty
from
'../Empty'
...
...
@@ -33,18 +34,14 @@ const Communicate = (props) => {
return
(
<
Document
title=
"通讯录"
>
<
div
>
<
ActivityIndicator
toast
text=
"加载中..."
animating=
{
loading
}
/>
<
div
className=
'breadBox'
>
{
title
.
length
>
0
?
title
[
0
].
depts
:
''
}
{
title
&&
title
.
length
>
0
?
title
[
0
].
depts
:
''
}
</
div
>
{
loading
?
<
div
><
WhiteSpace
/><
Skeleton
/></
div
>
:
(
<
div
className=
'adMainBox'
>
{
!
start
&&
(
data
.
length
>
0
?
<
AddressUser
data=
{
data
}
/>
:
<
Empty
/>)
}
{
data
&&
!
start
&&
(
data
.
length
>
0
?
<
AddressUser
data=
{
data
}
/>
:
<
Empty
/>)
}
</
div
>
)
}
</
div
>
</
Document
>
...
...
src/pages/EventProcessing/Process.jsx
View file @
db448486
import
React
,
{
useState
,
useEffect
}
from
'react'
;
import
Document
from
'react-document-title'
import
{
WingBlank
,
WhiteSpace
,
ActionSheet
,
ActivityIndicator
}
from
'antd-mobile'
import
{
WingBlank
,
WhiteSpace
,
ActionSheet
}
from
'antd-mobile'
import
axiosRequest
from
'../../utils/request'
;
import
TopTabs
from
'../../components/BlankTabs'
//
import Skeleton from '../../components/Skeleton'
import
Skeleton
from
'../../components/Skeleton'
import
Basic
from
'./Basic'
import
Adjunct
from
'./Adjunct'
import
Flow
from
'./Flow'
;
...
...
@@ -41,12 +41,14 @@ const Process = (props) => {
},
[]);
//获取basic数据
const
[
basic
,
setBasic
]
=
useState
([]);
const
[
basicLoading
,
setBasicLoading
]
=
useState
(
false
)
const
getBasic
=
uuid
=>
{
axiosRequest
({
method
:
'post'
,
url
:
`/idtAppServiceV6/oApp/getData`
,
body
:
{
uuid
,
tableId
,
templateId
}
}).
then
(
res
=>
{
setBasicLoading
(
true
)
const
result
=
[...
basic
];
result
.
map
(
item
=>
{
item
.
content
=
res
[
item
.
title
]
...
...
@@ -57,24 +59,27 @@ const Process = (props) => {
}
//获取Flow数据
const
[
flowData
,
setFlowData
]
=
useState
([]);
const
[
flowLoading
,
setFlowLoading
]
=
useState
(
false
)
const
getFlow
=
uuid
=>
{
axiosRequest
({
method
:
'post'
,
url
:
`/idtAppServiceV6/oApp/getFlowList`
,
body
:
{
uuid
,
tableId
}
}).
then
(
res
=>
{
setFlowLoading
(
true
)
setFlowData
(
res
)
});
};
const
[
adjunctData
,
setAdjunctData
]
=
useState
([]);
const
[
adjunctLoading
,
setAdjunctLoading
]
=
useState
(
false
)
const
getAdjunct
=
uuid
=>
{
axiosRequest
({
method
:
'post'
,
url
:
`/idtAppServiceV6/oApp/getFiles`
,
body
:
{
uuid
,
fieldName
:
'fj'
,
tableId
}
}).
then
(
res
=>
{
setAdjunctLoading
(
true
)
setAdjunctData
(
res
)
});
};
...
...
@@ -97,8 +102,6 @@ const Process = (props) => {
getButton
()
},
[
nodeId
]);
const
[
loading
,
setLoading
]
=
useState
(
false
);
//提交按钮状态
const
[
disabled
,
setDisabled
]
=
useState
(
true
);
//提交按钮文字
...
...
@@ -109,11 +112,12 @@ const Process = (props) => {
setFootStatus
(
true
)
};
useEffect
(()
=>
{
setLoading
(
false
)
;
const
option
=
document
.
getElementsByClassName
(
"option-text"
)[
0
]
const
option
=
document
.
getElementsByClassName
(
"option-text"
)[
0
]
;
if
(
option
)
{
option
.
addEventListener
(
'focus'
,
optionBlur
,
true
);
return
()
=>
option
.
removeEventListener
(
'focus'
,
optionBlur
,
true
);
},
[]);
}
},
[
basic
]);
const
[
blyj
,
setBlyj
]
=
useState
()
const
optionChange
=
val
=>
{
...
...
@@ -216,30 +220,25 @@ const Process = (props) => {
return
()
=>
window
.
removeEventListener
(
'scroll'
,
handleScroll
,
true
);
},
[]);
return
(
<
Document
title=
"待办详情"
>
<
div
>
<
ActivityIndicator
toast
text=
"加载中..."
animating=
{
loading
}
/>
<
TopTabs
page=
{
current
}
onClick=
{
tabClick
}
/>
<
div
id=
"event"
>
<
WingBlank
>
<
div
id=
"event-basic"
/>
<
WhiteSpace
/>
<
Basic
data=
{
basic
}
/>
{
basicLoading
?
<
Basic
data=
{
basic
}
/>
:
<
Skeleton
/>
}
<
div
id=
"event-adjunct"
/>
<
WhiteSpace
/>
<
Adjunct
data=
{
adjunctData
}
/>
{
adjunctLoading
?
<
Adjunct
data=
{
adjunctData
}
/>
:
<
Skeleton
/>
}
<
div
id=
"event-flow"
/>
<
WhiteSpace
/>
<
Flow
data=
{
flowData
}
/>
{
flowLoading
?
<
Flow
data=
{
flowData
}
/>
:
<
Skeleton
/>
}
<
div
id=
"event-option"
/>
<
WhiteSpace
/>
<
Option
onChange=
{
optionChange
}
/>
{
basicLoading
?
<
Option
onChange=
{
optionChange
}
/>
:
<
Skeleton
/>
}
</
WingBlank
>
</
div
>
<
div
className=
"event-footer"
>
...
...
src/pages/Notice/Notice.jsx
View file @
db448486
import
React
,
{
useEffect
,
useState
}
from
'react'
;
import
{
ActivityIndicator
,
Toast
,
WhiteSpace
,
WingBlank
}
from
'antd-mobile'
import
{
WhiteSpace
,
WingBlank
}
from
'antd-mobile'
import
TodoCard
from
'../../components/LogCard'
import
TopNotice
from
'../../components/NoticeTab'
import
axiosRequest
from
'../../utils/request'
;
import
Skeleton
from
'../../components/Skeleton'
import
Document
from
'react-document-title'
import
Empty
from
'../Empty'
// import useDebounce from '../../useHooks/useDebounce'
import
Loading
from
"../../components/Loading"
;
const
Notice
=
(
props
)
=>
{
const
[
start
,
setStart
]
=
useState
(
true
);
const
[
end
,
setEnd
]
=
useState
(
true
)
const
[
endT
,
setEndT
]
=
useState
(
false
);
const
[
current
,
setCurrent
]
=
useState
(
0
);
const
[
searchWord
,
setSearchWord
]
=
useState
();
...
...
@@ -20,9 +19,10 @@ const Notice = (props) => {
const
[
data
,
setData
]
=
useState
([]);
const
getData
=
()
=>
{
const
getData
=
(
scroll
)
=>
{
const
pageMap
=
{
searchWord
,
nowPage
:
current
+
1
,
pageSize
:
10
,
FLAG
:
tab
};
setLoading
(
true
);
scroll
&&
current
>
0
&&
window
.
scrollTo
(
0
,
document
.
body
.
scrollHeight
)
axiosRequest
({
method
:
'post'
,
url
:
'/idtAppServiceV6/oApp/getUnDone'
,
...
...
@@ -31,6 +31,8 @@ const Notice = (props) => {
setStart
(
false
);
setEnd
(
res
.
rows
&&
res
.
rows
.
length
>=
10
)
let
result
=
end
&&
res
.
rows
?
data
.
concat
(
res
.
rows
)
:
data
;
console
.
log
(
'end'
,
end
,
'result'
,
result
,
'res'
,
res
)
res
.
rows
&&
res
.
rows
.
length
>=
10
&&
setCurrent
(
1
);
setData
(
result
);
setLoading
(
false
);
...
...
@@ -44,8 +46,7 @@ const Notice = (props) => {
let
scrollHeight
=
document
.
documentElement
.
scrollHeight
||
document
.
body
.
scrollHeight
;
if
(
scrollHeight
>
clientHeight
&&
scrollTop
+
clientHeight
===
scrollHeight
)
{
current
>
0
&&
window
.
scrollTo
(
0
,
document
.
body
.
scrollHeight
)
getData
()
getData
(
true
)
}
}
useEffect
(()
=>
{
...
...
@@ -64,27 +65,17 @@ const Notice = (props) => {
//tab已读未读切换
const
[
tab
,
setTab
]
=
useState
(
'N'
);
// const tabData = () => {
// const pageMap ={searchWord, nowPage: current + 1, pageSize: 10, FLAG: tab};
// setLoading(true);
// axiosRequest({
// method: 'post',
// url: '/idtAppServiceV6/oApp/getUnDone',
// body: pageMap,
// }).then(res => {
// setLoading(false);
// let result = start && res.rows ? [].concat(res.rows) : [];
// res.rows && res.rows.length >= 10 ? setCurrent(current + 1) : setEndT(true);
// setData(result);
// });
// };
const
tabChange
=
val
=>
{
setCurrent
(
0
)
setCurrent
(
0
);
setData
([]);
setTab
(
val
);
setEnd
(
true
)
};
const
tabSearch
=
val
=>
{
setCurrent
(
0
)
setCurrent
(
0
);
setData
([])
setSearchWord
(
val
)
setEnd
(
true
)
}
useEffect
(()
=>
{
//回到顶部
...
...
@@ -93,12 +84,11 @@ const Notice = (props) => {
},
[])
useEffect
(()
=>
{
setStart
(
true
);
setEndT
(
false
)
setData
([])
setCurrent
(
0
)
getData
()
getData
(
false
,
[])
},
[
searchWord
,
tab
]);
console
.
log
(
current
)
console
.
log
(
data
.
length
)
return
(
<
Document
title=
"通知"
>
<
WingBlank
>
...
...
@@ -116,7 +106,8 @@ const Notice = (props) => {
<
WhiteSpace
/>
{
loading
&&
(
<
div
className=
"pos-line content-loading"
>
<
ActivityIndicator
/>
<
Loading
/>
<
WhiteSpace
/>
<
WhiteSpace
/>
</
div
>
)
}
...
...
src/pages/Work/Work.jsx
View file @
db448486
import
React
,
{
useState
,
useEffect
}
from
'react'
;
import
{
WhiteSpace
,
WingBlank
}
from
"antd-mobile"
;
import
axiosRequest
from
'../../utils/request'
;
//
import axiosRequest from '../../utils/request';
import
TopSearch
from
'../../components/TopSearch'
import
WorkCard
from
'../../components/WorkCard'
;
import
Skeleton
from
'../../components/Skeleton'
...
...
@@ -19,17 +19,27 @@ const Work = (props) => {
},
[]);
const
loadOperates
=
()
=>
{
setLoading
(
true
)
axiosRequest
({
method
:
'post'
,
url
:
'/idtAppServiceV6/oApp/getAllOperate'
,
}).
then
(
res
=>
{
setLoading
(
false
);
setStart
(
false
)
const
result
=
res
?
res
.
map
(
item
=>
({
icon
:
''
,
text
:
item
.
nodeName
}))
:
[]
setLoading
(
true
);
setTimeout
(()
=>
{
setLoading
(
false
)
},
1000
)
const
res
=
localStorage
.
getItem
(
"menu"
);
setStart
(
false
);
const
result
=
JSON
.
parse
(
res
)
setOperates
(
result
);
setData
(
result
)
});
setData
(
result
);
// let ss = []
// JSON.parse(res).map(item => ss.push(item.text));
// let a = new Set(ss)
// console.log([...a].join(','))
// axiosRequest({
// method: 'post',
// url: '/idtAppServiceV6/oApp/getAllOperate',
// }).then(res => {
// setLoading(false);
//
// });
}
const
commonEdit
=
()
=>
{
...
...
src/utils/instance.js
View file @
db448486
...
...
@@ -30,9 +30,9 @@ let defaultHeaders = {
export
const
createAPI
=
(
baseURL
)
=>
{
return
(
conf
=
{})
=>
{
let
opts
=
conf
.
opts
||
{};
let
body
=
conf
.
body
||
{};
//
let body = conf.body || {};
let
urlParams
=
''
;
console
.
log
(
conf
)
//
console.log(conf)
let
headers
=
{
...
defaultHeaders
,
...
opts
.
headers
};
if
(
conf
.
opts
)
{
...
...
@@ -52,7 +52,7 @@ export const createAPI = (baseURL) => {
// console.log(response)
if
(
!
response
||
!
response
.
data
)
{
response
.
code
===
'idt-core-50
5
'
&&
(
window
.
location
.
href
=
'/login'
)
response
.
code
===
'idt-core-50
0
'
&&
(
window
.
location
.
href
=
'/login'
)
console
.
log
(
'response出错, 无返回数据!'
,
response
);
return
false
;
};
if
(
response
.
data
&&
response
.
data
.
errorMessage
)
{
...
...
@@ -67,7 +67,9 @@ export const createAPI = (baseURL) => {
localStorage
.
setItem
(
"token"
,
response
.
data
.
token
);
}
if
(
response
&&
response
.
data
&&
response
.
data
.
leftOperateBar
)
{
localStorage
.
setItem
(
"menu"
,
JSON
.
stringify
(
response
.
data
.
leftOperateBar
));
const
result
=
response
.
data
.
leftOperateBar
.
filter
(
item
=>
item
.
nodeName
===
'公共分组'
);
const
menu
=
result
.
length
>
0
&&
result
[
0
].
children
?
result
[
0
].
children
.
map
(
item
=>
({
icon
:
item
.
imgType
,
text
:
item
.
nodeName
}))
:
[];
result
.
length
>
0
&&
localStorage
.
setItem
(
"menu"
,
JSON
.
stringify
(
menu
));
}
if
(
response
.
data
)
{
...
...
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