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
5293754d
Commit
5293754d
authored
1 month ago
by
彭俊龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:自动化工单测试
parent
9863752b
Pipeline
#96628
failed with stages
Changes
3
Pipelines
1
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
0 deletions
+21
-0
index.js
...manager/workOrder/autoCase/components/CaseModify/index.js
+0
-0
index.js
src/pages/bsmanager/workOrder/autoCase/index.js
+15
-0
flow.js
src/services/flow/flow.js
+6
-0
No files found.
src/pages/bsmanager/workOrder/autoCase/components/CaseModify/index.js
View file @
5293754d
This diff is collapsed.
Click to expand it.
src/pages/bsmanager/workOrder/autoCase/index.js
View file @
5293754d
...
...
@@ -28,6 +28,7 @@ import {
DeleteFlowAutoConfig
,
EnableDisableFlowAutoConfig
,
GetFlowAutoConfigDetail
,
GetFlowCenterData
}
from
'@/services/flow/flow'
;
import
{
GetIISAgentConfig
,
...
...
@@ -62,6 +63,7 @@ const AutoCase = props => {
let
flowConfigDetail
=
useRef
(
null
);
let
showlogId
=
useRef
(
null
);
let
planName
=
useRef
(
null
)
let
flowCenterData
=
useRef
(
null
);
const
[
refreshKey
,
setRefreshKey
]
=
useState
(
0
)
let
mode
=
useRef
(
''
);
const
statusObj
=
[
<
Tag
color
=
"default"
>
已停用
<
/Tag>, <Tag color="processing">已启用</
Tag
>
];
...
...
@@ -184,8 +186,20 @@ const AutoCase = props => {
useEffect
(()
=>
{
getTableList
()
getFlowCenterData
()
},
[])
const
getFlowCenterData
=
async
()
=>
{
const
{
code
,
data
,
msg
}
=
await
GetFlowCenterData
({
userID
:
1
,
systemType
:
'业务系统'
,
isFilterOrderMode
:
0
,
isInternal
:
0
});
if
(
code
==
0
){
flowCenterData
.
current
=
data
;
}
}
const
getTableList
=
()
=>
{
GetIISAgentConfig
({
agentName
:
''
}).
then
(
res
=>
{
...
...
@@ -423,6 +437,7 @@ const AutoCase = props => {
{
openEditor
&&
<
CaseModify
visible
=
{
openEditor
}
flowConfigDetail
=
{
flowConfigDetail
.
current
}
flowCenterData
=
{
flowCenterData
.
current
}
mode
=
{
mode
.
current
}
onClose
=
{()
=>
setOpeneditor
(
false
)}
onOk
=
{
onSubmit
}
...
...
This diff is collapsed.
Click to expand it.
src/services/flow/flow.js
View file @
5293754d
...
...
@@ -147,6 +147,12 @@ export const GetFlowAutoConfigDetail = query => get(`${PUBLISH_SERVICE}/WorkFlow
export
const
GetFlowAutoSchemeLogs
=
query
=>
get
(
`
${
PUBLISH_SERVICE
}
/WorkFlow/GetFlowAutoSchemeLogs`
,
query
);
export
const
GetBizMetaData
=
query
=>
post
(
`
${
PANDAWORKFLOW
}
/EventManage/GetBizMetaData`
,
query
);
export
const
GetFlowCenterData
=
query
=>
get
(
`
${
PANDAWORKFLOW
}
/EventManage/GetFlowCenterData`
,
query
);
This diff is collapsed.
Click to expand it.
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