|
@@ -2,7 +2,7 @@
|
|
<div class="wandaEditer">
|
|
<div class="wandaEditer">
|
|
<!-- 顶部工具栏 -->
|
|
<!-- 顶部工具栏 -->
|
|
<div class="top_toolbar">
|
|
<div class="top_toolbar">
|
|
- <topToolbar></topToolbar>
|
|
|
|
|
|
+ <topToolbar ref="topToolbar" @openConfirmDialog="dialogVisible = true"></topToolbar>
|
|
</div>
|
|
</div>
|
|
<div class="content">
|
|
<div class="content">
|
|
<!-- 左侧工具栏 -->
|
|
<!-- 左侧工具栏 -->
|
|
@@ -25,6 +25,18 @@
|
|
<rightToolbar :focusItemList="focusItemList"></rightToolbar>
|
|
<rightToolbar :focusItemList="focusItemList"></rightToolbar>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
+ <el-dialog
|
|
|
|
+ title="操作提示"
|
|
|
|
+ :visible.sync="dialogVisible"
|
|
|
|
+ width="600px">
|
|
|
|
+ <div style="margin-bottom: 15px;">您打开的是已发布的平面图,您可以进行如下操作:</div>
|
|
|
|
+ <p>1、直接选择平面图中的元素进行复制,然后贴到其他平面图;</p>
|
|
|
|
+ <p>2、点击“启动编辑”对当前平面图进行编辑;</p>
|
|
|
|
+ <span slot="footer" class="dialog-footer">
|
|
|
|
+ <el-button size="small" @click="dialogVisible = false">取 消</el-button>
|
|
|
|
+ <el-button size="small" type="primary" @click="handleOpenUrl">打 开</el-button>
|
|
|
|
+ </span>
|
|
|
|
+ </el-dialog>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
|
|
|
|
@@ -39,7 +51,8 @@ export default {
|
|
data() {
|
|
data() {
|
|
return {
|
|
return {
|
|
cmdType: "choice",
|
|
cmdType: "choice",
|
|
- focusItemList: null
|
|
|
|
|
|
+ focusItemList: null,
|
|
|
|
+ dialogVisible: false
|
|
};
|
|
};
|
|
},
|
|
},
|
|
components: {
|
|
components: {
|
|
@@ -59,6 +72,10 @@ export default {
|
|
},
|
|
},
|
|
changeFocusItem(item) {
|
|
changeFocusItem(item) {
|
|
this.focusItemList = item;
|
|
this.focusItemList = item;
|
|
|
|
+ },
|
|
|
|
+ handleOpenUrl() {
|
|
|
|
+ this.$refs.topToolbar.handleOpenUrl();
|
|
|
|
+ this.dialogVisible = false;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
};
|
|
};
|
|
@@ -96,4 +113,7 @@ export default {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+/deep/ .el-dialog__body {
|
|
|
|
+ padding: 10px 20px;
|
|
|
|
+}
|
|
</style>
|
|
</style>
|