Commit e7adc5d8 by liuyong

修改画布

1 parent e80b46af
...@@ -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'
)
) )
} }
} }
......
...@@ -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;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!