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
bc5d57c3
Commit
bc5d57c3
authored
Jun 19, 2020
by
熊成伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
debug
parent
2bd3197f
Pipeline
#15548
passed with stages
in 1 minute and 1 second
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
Process.jsx
src/pages/EventProcessing/Process.jsx
+6
-5
No files found.
src/pages/EventProcessing/Process.jsx
View file @
bc5d57c3
...
...
@@ -229,6 +229,7 @@ const Process = (props) => {
return
()
=>
window
.
removeEventListener
(
'scroll'
,
handleScroll
,
true
);
},
[]);
const
resultLoading
=
basicLoading
&&
adjunctLoading
&&
flowLoading
;
return
(
<
Document
title=
"待办详情"
>
<
div
>
...
...
@@ -237,21 +238,21 @@ const Process = (props) => {
<
WingBlank
>
<
div
id=
"event-basic"
/>
<
WhiteSpace
/>
{
basic
Loading
?
<
Basic
data=
{
basic
}
/>
:
<
Skeleton
/>
}
{
result
Loading
?
<
Basic
data=
{
basic
}
/>
:
<
Skeleton
/>
}
<
div
id=
"event-adjunct"
/>
<
WhiteSpace
/>
{
adjunc
tLoading
?
<
Adjunct
data=
{
adjunctData
}
/>
:
<
Skeleton
/>
}
{
resul
tLoading
?
<
Adjunct
data=
{
adjunctData
}
/>
:
<
Skeleton
/>
}
<
div
id=
"event-flow"
/>
<
WhiteSpace
/>
{
flow
Loading
?
<
Flow
data=
{
flowData
}
/>
:
<
Skeleton
/>
}
{
result
Loading
?
<
Flow
data=
{
flowData
}
/>
:
<
Skeleton
/>
}
<
div
id=
"event-option"
/>
<
WhiteSpace
/>
{
basic
Loading
?
<
Option
onChange=
{
optionChange
}
/>
:
<
Skeleton
/>
}
{
result
Loading
?
<
Option
onChange=
{
optionChange
}
/>
:
<
Skeleton
/>
}
</
WingBlank
>
</
div
>
<
div
className=
"event-footer"
>
{
(
basicLoading
&&
adjunctLoading
&&
flowLoading
&&
basicLoading
)
&&
(
{
resultLoading
&&
(
<
div
className=
{
`event-footer-button ${(footStatus && disabled) ? 'button-disabled' : '' }`
}
onClick=
{
footStatus
&&
!
disabled
?
showActionSheet
:
textClick
}
>
{
!
footStatus
&&
(
<
img
alt=
""
src=
"/img/process-edit.png"
className=
"process-edit"
/>
...
...
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