Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-app-operator-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
lanbaoming
jiedao-app-operator-master
Commits
d8b40754
Commit
d8b40754
authored
Sep 06, 2022
by
dragondean@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化抄送流程图
parent
7acff19a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
index.vue
src/components/WorkFlow/index.vue
+1
-2
ProcessViewer.vue
...ts/bpmnProcessDesigner/package/designer/ProcessViewer.vue
+4
-1
No files found.
src/components/WorkFlow/index.vue
View file @
d8b40754
<
template
>
<
template
>
<div>
<div>
<div
style=
"height:350px; overflow:hidden;
"
>
<div
class=
"mb-10
"
>
<my-process-viewer
<my-process-viewer
ref=
"processViewer"
ref=
"processViewer"
:value=
"bpmnXML"
:value=
"bpmnXML"
...
@@ -8,7 +8,6 @@
...
@@ -8,7 +8,6 @@
:activityData=
"activityData"
:activityData=
"activityData"
:processInstanceData=
"processInstanceData"
:processInstanceData=
"processInstanceData"
:taskData=
"taskData"
:taskData=
"taskData"
style=
"height:500px; margin-top: -80px"
/>
/>
</div>
</div>
<el-form
label-position=
"left"
label-width=
"100px"
>
<el-form
label-position=
"left"
label-width=
"100px"
>
...
...
src/components/bpmnProcessDesigner/package/designer/ProcessViewer.vue
View file @
d8b40754
...
@@ -90,7 +90,10 @@ export default {
...
@@ -90,7 +90,10 @@ export default {
let
xmlString
=
xml
||
DefaultEmptyXML
(
newId
,
newName
,
this
.
prefix
);
let
xmlString
=
xml
||
DefaultEmptyXML
(
newId
,
newName
,
this
.
prefix
);
try
{
try
{
// console.log(this.bpmnModeler.importXML);
// console.log(this.bpmnModeler.importXML);
let
{
warnings
}
=
await
this
.
bpmnModeler
.
importXML
(
xmlString
);
let
{
warnings
}
=
await
this
.
bpmnModeler
.
importXML
(
xmlString
)
// 220906 增加一个缩放,自动适应尺寸
this
.
bpmnModeler
.
get
(
'
canvas
'
).
zoom
(
'
fit-viewport
'
);
if
(
warnings
&&
warnings
.
length
)
{
if
(
warnings
&&
warnings
.
length
)
{
warnings
.
forEach
(
warn
=>
console
.
warn
(
warn
));
warnings
.
forEach
(
warn
=>
console
.
warn
(
warn
));
}
}
...
...
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