Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
liangzhen
/
framework-tools-web
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit e7adc5d8
authored
Jan 18, 2024
by
liuyong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改画布
1 parent
e80b46af
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
2 deletions
public/drawio/extention/js/exGraph.js
src/views/archi-ele-list/index.vue
public/drawio/extention/js/exGraph.js
View file @
e7adc5d
...
@@ -70,7 +70,24 @@
...
@@ -70,7 +70,24 @@
}
}
fns
.
push
(
fns
.
push
(
item2
.
color
?
this
.
createVertexTemplateEntry
(
item2
.
iconName
+
';fillColor='
+
item2
.
color
+
';'
+
'attr='
+
JSON
.
stringify
(
attr_
),
item2
.
shapeWidth
?
item2
.
shapeWidth
:
150
,
item2
.
shapeHeight
?
item2
.
shapeHeight
:
75
,
null
,
item2
.
eleName
,
null
,
null
,
'封闭图形2'
)
:
this
.
createEdgeTemplateEntry
(
item2
.
iconName
+
'attr='
+
JSON
.
stringify
(
attr_
),
item2
.
shapeWidth
?
item2
.
shapeWidth
:
150
,
item2
.
shapeHeight
?
item2
.
shapeHeight
:
75
,
''
,
item2
.
elementName
,
null
,
'非封闭图形2'
)
item2
.
color
?
this
.
createVertexTemplateEntry
(
item2
.
iconName
+
';fillColor='
+
item2
.
color
+
';'
+
'attr='
+
JSON
.
stringify
(
attr_
)
+
';eleId='
+
item2
.
eleBelongId
,
item2
.
shapeWidth
?
item2
.
shapeWidth
:
150
,
item2
.
shapeHeight
?
item2
.
shapeHeight
:
75
,
null
,
item2
.
eleName
,
null
,
null
,
'封闭图形2'
)
:
this
.
createEdgeTemplateEntry
(
item2
.
iconName
+
'attr='
+
JSON
.
stringify
(
attr_
),
item2
.
shapeWidth
?
item2
.
shapeWidth
:
150
,
item2
.
shapeHeight
?
item2
.
shapeHeight
:
75
,
''
,
item2
.
elementName
,
null
,
'非封闭图形2'
)
)
)
}
}
}
}
...
...
src/views/archi-ele-list/index.vue
View file @
e7adc5d
...
@@ -50,7 +50,7 @@
...
@@ -50,7 +50,7 @@
<el-table-column
prop=
"archiLevelName"
label=
"架构层次"
align=
"center"
></el-table-column>
<el-table-column
prop=
"archiLevelName"
label=
"架构层次"
align=
"center"
></el-table-column>
<el-table-column
prop=
"archiBelongName"
label=
"架构归属"
align=
"center"
></el-table-column>
<el-table-column
prop=
"archiBelongName"
label=
"架构归属"
align=
"center"
></el-table-column>
<el-table-column
prop=
"eaLevel"
label=
"元素层级"
align=
"center"
></el-table-column>
<el-table-column
prop=
"eaLevel"
label=
"元素层级"
align=
"center"
></el-table-column>
<el-table-column
prop=
"content"
label=
"描述"
align=
"center"
></el-table-column>
<el-table-column
prop=
"content"
label=
"描述"
align=
"center"
width=
"200"
:show-overflow-tooltip=
"true"
></el-table-column>
<el-table-column
label=
"图标"
align=
"center"
>
<el-table-column
label=
"图标"
align=
"center"
>
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
<img
:src=
"scope.row.icon"
alt=
""
:style=
"
{ 'width': scope.row.width, 'height': scope.row.height }">
<img
:src=
"scope.row.icon"
alt=
""
:style=
"
{ 'width': scope.row.width, 'height': scope.row.height }">
...
@@ -358,6 +358,7 @@ export default {
...
@@ -358,6 +358,7 @@ export default {
this
.
ruleForm
.
let2
=
row
.
archiLevelId
;
this
.
ruleForm
.
let2
=
row
.
archiLevelId
;
this
.
ruleForm
.
let3
=
row
.
archiBelongId
;
this
.
ruleForm
.
let3
=
row
.
archiBelongId
;
this
.
ruleForm
.
let4
=
row
.
content
;
this
.
ruleForm
.
let4
=
row
.
content
;
this
.
ruleForm
.
let5
=
row
.
eaLevel
;
this
.
ruleForm
.
let6
=
row
.
color
;
this
.
ruleForm
.
let6
=
row
.
color
;
this
.
is_add_edit
=
'edit'
;
this
.
is_add_edit
=
'edit'
;
this
.
elementId
=
row
.
elementId
;
this
.
elementId
=
row
.
elementId
;
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment