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
5b24ea2e
Commit
5b24ea2e
authored
Mar 20, 2025
by
彭俊龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:自动化工单弹窗初始化参数逻辑优化
parent
f9f73bb5
Pipeline
#96417
failed with stages
Changes
3
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
11 deletions
+13
-11
index.js
...manager/workOrder/autoCase/components/CaseModify/index.js
+3
-7
index.js
src/pages/bsmanager/workOrder/autoCase/index.js
+3
-2
LookModal.jsx
...es/platformCenter/scheduledTasks/components/LookModal.jsx
+7
-2
No files found.
src/pages/bsmanager/workOrder/autoCase/components/CaseModify/index.js
View file @
5b24ea2e
...
@@ -123,9 +123,10 @@ const CaseModify = props => {
...
@@ -123,9 +123,10 @@ const CaseModify = props => {
getEventFlow
();
getEventFlow
();
if
(
mode
===
'edit'
&&
flowConfigDetail
)
{
if
(
mode
===
'edit'
&&
flowConfigDetail
)
{
dealPostData
(
flowConfigDetail
);
dealPostData
(
flowConfigDetail
);
}
else
{
init
();
}
}
// else {
// init();
// }
}
}
},
[
visible
]);
},
[
visible
]);
...
@@ -237,7 +238,6 @@ const CaseModify = props => {
...
@@ -237,7 +238,6 @@ const CaseModify = props => {
return
;
return
;
}
}
}
}
setErrorMsg
(
''
);
const
{
UserIds
,
AgentConfig
,
RoleIds
}
=
ScheduledConfig
const
{
UserIds
,
AgentConfig
,
RoleIds
}
=
ScheduledConfig
let
userIds
=
[]
let
userIds
=
[]
let
roleIds
=
[]
let
roleIds
=
[]
...
@@ -263,10 +263,6 @@ const CaseModify = props => {
...
@@ -263,10 +263,6 @@ const CaseModify = props => {
activityId
:
activityId
,
activityId
:
activityId
,
triggerType
:
TriggerMethod
,
triggerType
:
TriggerMethod
,
schemeName
:
SchemeName
,
schemeName
:
SchemeName
,
schemeNameErrMsg
:
''
,
flowIdErrMsg
:
''
,
userIdsErrMsg
:
''
,
activityIdErrMsg
:
''
,
roleIds
,
roleIds
,
userIds
userIds
});
});
...
...
src/pages/bsmanager/workOrder/autoCase/index.js
View file @
5b24ea2e
...
@@ -419,16 +419,17 @@ const AutoCase = props => {
...
@@ -419,16 +419,17 @@ const AutoCase = props => {
<
/Pagination
>
<
/Pagination
>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
<
CaseModify
{
openEditor
&&
<
CaseModify
visible
=
{
openEditor
}
visible
=
{
openEditor
}
flowConfigDetail
=
{
flowConfigDetail
.
current
}
flowConfigDetail
=
{
flowConfigDetail
.
current
}
mode
=
{
mode
.
current
}
mode
=
{
mode
.
current
}
onClose
=
{()
=>
setOpeneditor
(
false
)}
onClose
=
{()
=>
setOpeneditor
(
false
)}
onOk
=
{
onSubmit
}
onOk
=
{
onSubmit
}
/
>
/>
}
<
ExcuteLog
visible
=
{
showLog
}
id
=
{
showlogId
.
current
}
onClose
=
{()
=>
setShowLog
(
false
)}
/
>
<
ExcuteLog
visible
=
{
showLog
}
id
=
{
showlogId
.
current
}
onClose
=
{()
=>
setShowLog
(
false
)}
/
>
<
LookModal
<
LookModal
visible
=
{
lookVisible
}
visible
=
{
lookVisible
}
dateType
=
'本月'
onCancel
=
{()
=>
setLookVisible
(
false
)}
onCancel
=
{()
=>
setLookVisible
(
false
)}
planName
=
{
planName
.
current
}
planName
=
{
planName
.
current
}
keepTableList
=
{
keepTableList
}
keepTableList
=
{
keepTableList
}
...
...
src/pages/platformCenter/scheduledTasks/components/LookModal.jsx
View file @
5b24ea2e
...
@@ -19,7 +19,7 @@ import { GetIISAgentSite, QueryIISAgentCalllog } from '@/services/scheduledTasks
...
@@ -19,7 +19,7 @@ import { GetIISAgentSite, QueryIISAgentCalllog } from '@/services/scheduledTasks
const
{
RangePicker
}
=
DatePicker
;
const
{
RangePicker
}
=
DatePicker
;
const
LookModal
=
props
=>
{
const
LookModal
=
props
=>
{
const
{
visible
,
onCancel
,
keepTableList
,
planName
}
=
props
;
const
{
visible
,
onCancel
,
keepTableList
,
planName
,
dateType
}
=
props
;
const
[
form
]
=
Form
.
useForm
(
null
);
const
[
form
]
=
Form
.
useForm
(
null
);
const
[
currentTime
,
setCurrentTime
]
=
useState
(
'昨天'
);
const
[
currentTime
,
setCurrentTime
]
=
useState
(
'昨天'
);
const
[
siteData
,
setSiteData
]
=
useState
([]);
const
[
siteData
,
setSiteData
]
=
useState
([]);
...
@@ -50,9 +50,14 @@ const LookModal = props => {
...
@@ -50,9 +50,14 @@ const LookModal = props => {
tableList
.
current
.
jobName
=
planName
tableList
.
current
.
jobName
=
planName
}
}
if
(
visible
)
{
if
(
visible
)
{
getSiteList
();
if
(
dateType
){
timeChoose
(
dateType
)
}
else
{
getLogList
();
getLogList
();
}
}
getSiteList
();
}
},
[
visible
]);
},
[
visible
]);
const
getSiteList
=
()
=>
{
const
getSiteList
=
()
=>
{
...
...
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