68b05121 by 杨威
2 parents ae49c287 62a4593b
......@@ -187,7 +187,7 @@ export default {
graph.render();
graph.on('node:click', e => {
alert(e);
alert(e.item);
});
graph.on('node:mouseenter', e => {
......@@ -240,19 +240,21 @@ export default {
#mountNode{
/*height: calc(100% - 68px);*/
margin-top: 20px;
width: 60%;
width: 50%;
height: 80%;
position:absolute;
float: left;
border: 1px solid red;
}
#mountNodeRight{
margin-top: 20px;
margin: 20px 20px 0 0;
width: 38%;
float: right;
height: 1000px;
border: 0 solid #5ebbff;
background: white;
}
.slot{
......
......@@ -97,7 +97,7 @@
align="center"
>
<i class="iconfont iconicon-test1" style="margin-right: 8px;color:#66b1ff;font-size:30px" @click="addYtInfo"></i>
<span>用途</span>
<span>房屋用途</span>
</td>
<td colspan="1" align="center">
<i class="iconfont iconicon-test" style="color:#FA6400;font-size:30px" @click="deleteYtInfo(index)"></i>
......@@ -276,7 +276,7 @@ export default {
deleteYtInfo(index) {
if (this.form.ytList.length <= 1) {
this.$message({
message: "不能删除,最少含有一条用途信息",
message: "不能删除,最少含有一条房屋用途信息",
type: "warning",
});
} else {
......