Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
CivManage
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ReactWeb5
CivManage
Commits
37aa7570
Commit
37aa7570
authored
Apr 07, 2023
by
涂伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:'流程中心代码优化'
parent
9b216d2f
Pipeline
#70636
passed with stages
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
FlowModal.jsx
...r/workOrder/workflowEdit/workFlowComponents/FlowModal.jsx
+4
-4
RoalChoose.jsx
...ts/flowChartComponents/nodeModalComponents/RoalChoose.jsx
+2
-2
No files found.
src/pages/bsmanager/workOrder/workflowEdit/workFlowComponents/FlowModal.jsx
View file @
37aa7570
import
React
,
{
useState
,
useEffect
}
from
'react'
;
import
{
CreateFlow
}
from
'@/services/workflow/workflow'
;
import
{
Form
,
Modal
,
Input
,
notification
,
Select
,
Radio
}
from
'antd'
;
import
e
from
'express'
;
const
{
Option
}
=
Select
;
const
{
TextArea
}
=
Input
;
const
FlowModal
=
props
=>
{
...
...
@@ -450,7 +449,7 @@ const FlowModal = props => {
}
};
const
prefix
=
value
=>
{
let
str
=
value
.
currentTarget
.
value
;
let
str
=
value
;
if
(
typeof
str
!==
'string'
)
{
throw
new
Error
(
-
1
,
...
...
@@ -468,6 +467,7 @@ const FlowModal = props => {
console
.
log
(
mkRslt
(
arrResult
));
// form.setFieldsValue({ Code: mkRslt(arrResult) });
form
.
setFieldsValue
({
Prefix
:
mkRslt
(
arrResult
)
});
setFlag
(
flag
+
1
)
};
const
checkCh
=
ch
=>
{
...
...
@@ -550,8 +550,8 @@ const FlowModal = props => {
>
<
Input
placeholder=
"请输入流程名称"
onChange=
{
valu
e
=>
{
prefix
(
value
);
onChange=
{
e
=>
{
prefix
(
e
.
target
.
value
);
}
}
readOnly=
{
modalType
===
'edit'
}
/>
...
...
src/pages/bsmanager/workOrder/workflowEdit/workFlowComponents/flowChartComponents/nodeModalComponents/RoalChoose.jsx
View file @
37aa7570
...
...
@@ -420,7 +420,7 @@ const RoalChoose = props => {
<
div
className=
{
styles
.
selectedList
}
>
<
div
className=
{
styles
.
header
}
>
<
div
className=
{
styles
.
title
}
>
已选列表
</
div
>
<
div
className=
{
styles
.
tagHead
}
>
{
/*
<div className={styles.tagHead}>
<div className={styles.tagContent}>
<div className={styles.tagRol} />
<div>角色</div>
...
...
@@ -429,7 +429,7 @@ const RoalChoose = props => {
<div className={styles.tagOrg} />
<div>机构</div>
</div>
</
div
>
</div>
*/
}
</
div
>
<
div
className=
{
styles
.
selectBox
}
>
{
[...
selected
].
length
>
0
?
(
...
...
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