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
a1ad9165
Commit
a1ad9165
authored
Jul 23, 2020
by
熊成伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
debug
parent
4de9e616
Pipeline
#16441
passed with stages
in 1 minute
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
Process.jsx
src/pages/EventProcessing/Process.jsx
+3
-1
Option.jsx
src/pages/EventProcessing/commponents/Option.jsx
+1
-1
No files found.
src/pages/EventProcessing/Process.jsx
View file @
a1ad9165
...
@@ -26,6 +26,7 @@ const Process = (props) => {
...
@@ -26,6 +26,7 @@ const Process = (props) => {
window
.
scrollTo
(
0
,
0
)
window
.
scrollTo
(
0
,
0
)
},
[]);
},
[]);
const
[
deal
,
setDeal
]
=
useState
()
useEffect
(()
=>
{
useEffect
(()
=>
{
const
{
id
}
=
props
.
match
.
params
;
const
{
id
}
=
props
.
match
.
params
;
setFlowTbId
(
FLOWTBID
);
setFlowTbId
(
FLOWTBID
);
...
@@ -46,6 +47,7 @@ const Process = (props) => {
...
@@ -46,6 +47,7 @@ const Process = (props) => {
setTableId
(
res
.
table
&&
res
.
table
.
tableId
);
setTableId
(
res
.
table
&&
res
.
table
.
tableId
);
setTemplateId
(
res
.
property
&&
res
.
property
.
templateId
);
setTemplateId
(
res
.
property
&&
res
.
property
.
templateId
);
setNodeId
(
res
.
property
&&
res
.
property
.
curNodeId
);
setNodeId
(
res
.
property
&&
res
.
property
.
curNodeId
);
setDeal
(
res
.
deal
)
// setOperateId(res.property && res.property.operateId);
// setOperateId(res.property && res.property.operateId);
});
});
...
@@ -250,7 +252,7 @@ const Process = (props) => {
...
@@ -250,7 +252,7 @@ const Process = (props) => {
{
resultLoading
?
<
Flow
data=
{
flowData
}
/>
:
<
Skeleton
/>
}
{
resultLoading
?
<
Flow
data=
{
flowData
}
/>
:
<
Skeleton
/>
}
<
div
id=
"event-option"
/>
<
div
id=
"event-option"
/>
<
WhiteSpace
/>
<
WhiteSpace
/>
{
resultLoading
?
<
Option
onChange=
{
optionChange
}
/>
:
<
Skeleton
/>
}
{
resultLoading
?
<
Option
deal=
{
deal
}
onChange=
{
optionChange
}
/>
:
<
Skeleton
/>
}
</
WingBlank
>
</
WingBlank
>
</
div
>
</
div
>
...
...
src/pages/EventProcessing/commponents/Option.jsx
View file @
a1ad9165
...
@@ -28,7 +28,7 @@ const Option = (props) => {
...
@@ -28,7 +28,7 @@ const Option = (props) => {
{
/*常用阅办意见<img alt="" src="/img/option-icon.png" className="option-icon"/>*/
}
{
/*常用阅办意见<img alt="" src="/img/option-icon.png" className="option-icon"/>*/
}
{
/*</a>*/
}
{
/*</a>*/
}
</
div
>
</
div
>
<
textarea
className=
"option-text"
onChange=
{
onChange
}
/>
<
textarea
defaultValue=
{
props
.
deal
&&
props
.
deal
[
'办理意见'
]
}
className=
"option-text"
onChange=
{
onChange
}
/>
</
div
>
</
div
>
</
div
>
</
div
>
);
);
...
...
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