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 9cc26827
authored
Apr 15, 2024
by
史敦盼
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
1 parent
2fa57e03
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
14 deletions
public/drawio/extention/js/exGraph.js
src/views/busi-assets-list/index.vue
public/drawio/extention/js/exGraph.js
View file @
9cc2682
...
...
@@ -70,22 +70,22 @@
item
.
eleDtos
.
forEach
(
item2
=>
{
// if(item2.assets && item2.dicys) {
let
attr_
=
[];
//
item2.dicys.forEach(res => {
//
if(res.fieldName) {
//
attr_.push(
//
{
//
name: res.fieldName,
//
value: res.propertyValue,
//
id: res.propertyId,
//
controlType: res.controlType,
//
}
//
)
//
}
//
})
item2
.
dicys
&&
item2
.
dicys
.
forEach
(
res
=>
{
if
(
res
.
fieldName
)
{
attr_
.
push
(
{
name
:
res
.
fieldName
,
value
:
res
.
propertyValue
,
id
:
res
.
propertyId
,
controlType
:
res
.
controlType
,
}
)
}
})
fns
.
push
(
this
.
createVertexTemplateEntry
(
// 'html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#d2edfd;shape=mxgraph.archimate3.application;appType=rightTopCircleHasLeft;archiType=rounded',
item2
.
iconName
,
item2
.
iconName
+
';attr='
+
JSON
.
stringify
(
attr_
)
,
item2
.
shapeWidth
?
item2
.
shapeWidth
:
71
,
item2
.
shapeHeight
?
item2
.
shapeHeight
:
41
,
null
,
...
...
src/views/busi-assets-list/index.vue
View file @
9cc2682
...
...
@@ -1067,6 +1067,8 @@ export default {
this
.
ruleForm
.
let2
=
row
.
parentAssetName
this
.
ruleForm
.
let3
=
row
.
archiEleId
this
.
ruleForm
.
preArc
=
row
.
parentElement
?.
replace
(
/
\]
|
\[
|
\/?
]/g
,
''
)
this
.
getShangJiJieDianSelect
(
this
.
ruleForm
.
preArc
)
this
.
cascaderValue
=
[
row
.
parentAssetId
+
''
]
this
.
ruleForm
.
assetNumber
=
row
.
assetNumber
this
.
getZuJianLeiXingSelect
(
null
).
then
((
res
)
=>
{
this
.
zuJianLeiXingSelect
=
res
...
...
@@ -1125,6 +1127,9 @@ export default {
this
.
ruleForm
.
let3
=
row
.
archiEleId
this
.
ruleForm
.
preArc
=
row
.
parentElement
?.
replace
(
/
\]
|
\[
|
\/?
]/g
,
''
)
this
.
getShangJiJieDianSelect
(
this
.
ruleForm
.
preArc
)
this
.
cascaderValue
=
[
row
.
parentAssetId
+
''
]
this
.
ruleForm
.
assetNumber
=
row
.
assetNumber
this
.
ruleForm
.
let4
=
row
.
sort
this
.
ruleForm
.
let5
=
row
.
isShow
==
0
?
'显示'
:
'隐藏'
...
...
@@ -1184,7 +1189,7 @@ export default {
}
},
handleChange
(
value
)
{
console
.
log
(
'data'
,
data
)
// console.log('value', value
)
// 当选中值变化时,更新绑定的对象
let
selectedObject
=
{}
if
(
value
&&
value
.
length
)
{
...
...
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