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
b16f2324
Commit
b16f2324
authored
Apr 02, 2025
by
彭俊龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:自动化工单方案优化
parent
135dc94e
Pipeline
#96672
canceled with stages
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
1 deletion
+12
-1
index.js
...manager/workOrder/autoCase/components/CaseModify/index.js
+12
-1
No files found.
src/pages/bsmanager/workOrder/autoCase/components/CaseModify/index.js
View file @
b16f2324
...
...
@@ -822,6 +822,7 @@ const CaseModify = props => {
getNodeAPI
=
GetScheduledConfigFlowNode
({
flowId
});
getRuleConfigAPI
=
GetFormDataSource
({
flowId
});
}
else
{
getNodeAPI
=
GetConditionConfigFlowNode
({
flowId
});
}
Promise
.
all
([
getNodeAPI
,
getRuleConfigAPI
&&
getRuleConfigAPI
]).
then
(
res
=>
{
...
...
@@ -834,6 +835,16 @@ const CaseModify = props => {
});
setNodeNames
(
nodeNames
);
if
(
configInfo
.
triggerType
==
'定时触发'
)
{
const
d
=
flowData
.
current
.
find
(
v
=>
v
.
SubFlowId
==
flowId
).
FlowName
;
if
(
d
){
const
{
FlowName
,
EventName
}
=
d
getBizMetaData
({
FlowName
,
EventName
,
ScheduledConfig
:
{
Values
:
[]
}
})
}
setConfigInfo
({
...
configInfo
,
activityId
:
nodeNames
[
0
].
value
,
flowId
:
flowId
});
generatePostData
({
activityId
:
nodeNames
[
0
].
value
,
activityName
:
nodeNames
[
0
].
label
});
}
else
{
...
...
@@ -1866,7 +1877,7 @@ const CaseModify = props => {
locale
=
{
locale
}
format
=
{
'YYYY-MM-DD HH:00'
}
value
=
{
startTime
}
onChange
=
{
t
=>
setStartTime
(
t
)}
onChange
=
{
t
=>
setStartTime
(
moment
(
t
.
format
(
'YYYY-MM-DD HH:00:00'
))
)}
/
>
<
span
>
结束时间:
<
/span
>
<
DatePicker
locale
=
{
locale
}
value
=
{
endTime
}
onChange
=
{
t
=>
setEndTime
(
t
)}
/
>
...
...
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