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
722a0c30
Commit
722a0c30
authored
Dec 16, 2022
by
邓超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改工作流编辑器默认值,规则交互优化
parent
518a7f52
Pipeline
#65545
passed with stages
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
4 deletions
+10
-4
index.jsx
src/components/RuleConfig/index.jsx
+1
-1
global.less
src/global.less
+8
-2
FlowChart.jsx
...r/workOrder/workflowEdit/workFlowComponents/FlowChart.jsx
+1
-1
No files found.
src/components/RuleConfig/index.jsx
View file @
722a0c30
...
...
@@ -66,7 +66,7 @@ const RuleConfig = props => {
let
ednIndex
=
document
.
getElementById
(
'ruleText'
).
selectionEnd
;
let
rangeIndex
=
document
.
getElementById
(
'ruleText'
).
selectionStart
;
console
.
log
(
ednIndex
,
rangeIndex
,
'endene'
);
setRule
(
`
${
rule
.
slice
(
0
,
rangeIndex
)}
${
text
}
${
rule
.
slice
(
rangeIndex
)}
`
);
setRule
(
`
${
rule
.
slice
(
0
,
rangeIndex
)}
${
text
}
${
rule
.
slice
(
rangeIndex
)}
`
);
rangeIndex
+=
text
.
toString
().
length
;
ruleText
.
current
.
focus
();
};
...
...
src/global.less
View file @
722a0c30
...
...
@@ -175,7 +175,12 @@ iframe {
.ant-spin-container {
height: 100%;
}
textarea.ant-input {
border:1px solid #d9d9d9 ;
}
border: 1px solid #d9d9d9;
}
.ant-tooltip-content {
position: static !important;
}
}
\ No newline at end of file
src/pages/bsmanager/workOrder/workflowEdit/workFlowComponents/FlowChart.jsx
View file @
722a0c30
...
...
@@ -351,7 +351,7 @@ const FlowChart = props => {
WebPage
:
''
,
FeedbackName
:
''
,
Transferable
:
0
,
EventsInformation
:
1
,
EventsInformation
:
0
,
IsSendMessage
:
1
,
IsSave
:
0
,
AutoClose
:
'否'
,
...
...
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