Commit 9cc26827 by 史敦盼

修改

1 parent 2fa57e03
...@@ -70,22 +70,22 @@ ...@@ -70,22 +70,22 @@
item.eleDtos.forEach(item2 => { item.eleDtos.forEach(item2 => {
// if(item2.assets && item2.dicys) { // if(item2.assets && item2.dicys) {
let attr_ = []; let attr_ = [];
// item2.dicys.forEach(res => { item2.dicys && item2.dicys.forEach(res => {
// if(res.fieldName) { if(res.fieldName) {
// attr_.push( attr_.push(
// { {
// name: res.fieldName, name: res.fieldName,
// value: res.propertyValue, value: res.propertyValue,
// id: res.propertyId, id: res.propertyId,
// controlType: res.controlType, controlType: res.controlType,
// } }
// ) )
// } }
// }) })
fns.push( fns.push(
this.createVertexTemplateEntry( this.createVertexTemplateEntry(
// 'html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#d2edfd;shape=mxgraph.archimate3.application;appType=rightTopCircleHasLeft;archiType=rounded', // '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.shapeWidth ? item2.shapeWidth : 71,
item2.shapeHeight ? item2.shapeHeight : 41, item2.shapeHeight ? item2.shapeHeight : 41,
null, null,
......
...@@ -1067,6 +1067,8 @@ export default { ...@@ -1067,6 +1067,8 @@ export default {
this.ruleForm.let2 = row.parentAssetName this.ruleForm.let2 = row.parentAssetName
this.ruleForm.let3 = row.archiEleId this.ruleForm.let3 = row.archiEleId
this.ruleForm.preArc = row.parentElement?.replace(/\]|\[|\/?]/g, '') this.ruleForm.preArc = row.parentElement?.replace(/\]|\[|\/?]/g, '')
this.getShangJiJieDianSelect(this.ruleForm.preArc)
this.cascaderValue = [row.parentAssetId + '']
this.ruleForm.assetNumber = row.assetNumber this.ruleForm.assetNumber = row.assetNumber
this.getZuJianLeiXingSelect(null).then((res) => { this.getZuJianLeiXingSelect(null).then((res) => {
this.zuJianLeiXingSelect = res this.zuJianLeiXingSelect = res
...@@ -1125,6 +1127,9 @@ export default { ...@@ -1125,6 +1127,9 @@ export default {
this.ruleForm.let3 = row.archiEleId this.ruleForm.let3 = row.archiEleId
this.ruleForm.preArc = row.parentElement?.replace(/\]|\[|\/?]/g, '') this.ruleForm.preArc = row.parentElement?.replace(/\]|\[|\/?]/g, '')
this.getShangJiJieDianSelect(this.ruleForm.preArc) this.getShangJiJieDianSelect(this.ruleForm.preArc)
this.cascaderValue = [row.parentAssetId + '']
this.ruleForm.assetNumber = row.assetNumber this.ruleForm.assetNumber = row.assetNumber
this.ruleForm.let4 = row.sort this.ruleForm.let4 = row.sort
this.ruleForm.let5 = row.isShow == 0 ? '显示' : '隐藏' this.ruleForm.let5 = row.isShow == 0 ? '显示' : '隐藏'
...@@ -1184,7 +1189,7 @@ export default { ...@@ -1184,7 +1189,7 @@ export default {
} }
}, },
handleChange(value) { handleChange(value) {
console.log('data', data) // console.log('value', value)
// 当选中值变化时,更新绑定的对象 // 当选中值变化时,更新绑定的对象
let selectedObject = {} let selectedObject = {}
if (value && value.length) { if (value && value.length) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!