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
a110200a
Commit
a110200a
authored
Jun 30, 2023
by
皮倩雯
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: '维保模板增加配置'
parent
1b61b19b
Pipeline
#75218
passed with stages
Changes
3
Pipelines
1
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
1 deletion
+19
-1
index.jsx
src/components/RuleConfig/index.jsx
+12
-1
AddModal.jsx
...ages/bsmanager/patrolMaintenance/maintenance/AddModal.jsx
+0
-0
api.js
src/services/maintenance/api.js
+7
-0
No files found.
src/components/RuleConfig/index.jsx
View file @
a110200a
...
...
@@ -10,7 +10,16 @@ const fnList = [
{
label
:
'上报人工单统计'
,
value
:
'$fn.caseNum()'
},
];
const
RuleConfig
=
props
=>
{
const
{
visible
,
handleCancel
,
fieldList
,
onSubumit
,
RuleContent
,
flag
,
flowID
}
=
props
;
const
{
visible
,
handleCancel
,
fieldList
,
onSubumit
,
RuleContent
,
flag
,
flowID
,
showInsertFn
,
}
=
props
;
const
[
rule
,
setRule
]
=
useState
([]);
const
[
expandedKey
,
setExpandedKey
]
=
useState
(
''
);
// 默认展开项
const
[
currentSelectId
,
setCurrentSelectId
]
=
useState
(
''
);
// 选中得节点
...
...
@@ -109,9 +118,11 @@ const RuleConfig = props => {
<
div
className=
{
styles
.
rightContent
}
>
{
flag
==
1
&&
<
div
className=
{
styles
.
title
}
>
符合以下条件时工单扭转到对应的节点
</
div
>
}
<
div
className=
{
styles
.
textAreaBox
}
>
{
flag
==
1
&&
(
<
Dropdown
overlay=
{
fnListRender
}
placement=
"bottom"
arrow
>
<
div
className=
{
styles
.
insertFn
}
>
插入函数
</
div
>
</
Dropdown
>
)
}
<
TextArea
id=
"ruleText"
...
...
src/pages/bsmanager/patrolMaintenance/maintenance/AddModal.jsx
View file @
a110200a
This diff is collapsed.
Click to expand it.
src/services/maintenance/api.js
View file @
a110200a
...
...
@@ -47,3 +47,9 @@ export const CM_XWBPlan_ChangeOrder = planIds =>
// 获取父级维保模板
export
const
GetParentDeviceTemplate
=
query
=>
get
(
`
${
PUBLISH_SERVICE
}
/WorkOrderCenter/GetParentDeviceTemplate`
,
query
);
export
const
GetFeedbackTableFields
=
query
=>
get
(
`
${
PUBLISH_SERVICE
}
/WorkOrderCenter/GetFeedbackTableFields`
,
query
);
export
const
GetAccountConfigInfo
=
query
=>
get
(
`/PandaWorkFlow/WorkFlow/AccountManage/GetAccountConfigInfo`
,
query
);
\ No newline at end of file
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