diff --git a/report-ui/src/views/report/bigscreen/designer/form/contentMenu.vue b/report-ui/src/views/report/bigscreen/designer/form/contentMenu.vue index b86e1760..24841530 100644 --- a/report-ui/src/views/report/bigscreen/designer/form/contentMenu.vue +++ b/report-ui/src/views/report/bigscreen/designer/form/contentMenu.vue @@ -3,19 +3,19 @@
删除图层
-
+
复制图层
-
+
置顶图层
-
- 置地图层 +
+ 置低图层
-
+
上移一层
-
+
下移一层
@@ -61,6 +61,21 @@ export default { message: "已取消删除" }); }); + }, + copyLayer() { + this.$emit("copylayer"); + }, + istopLayer() { + this.$emit("istopLayer"); + }, + setlowLayer() { + this.$emit("setlowLayer"); + }, + moveupLayer() { + this.$emit("moveupLayer"); + }, + movedownLayer() { + this.$emit("movedownLayer"); } } }; diff --git a/report-ui/src/views/report/bigscreen/designer/index.vue b/report-ui/src/views/report/bigscreen/designer/index.vue index df8e8402..6b10e08e 100644 --- a/report-ui/src/views/report/bigscreen/designer/index.vue +++ b/report-ui/src/views/report/bigscreen/designer/index.vue @@ -30,18 +30,22 @@ -
- - - - {{ item.label }} -
+ + +
+ + + + {{ item.label }} +
+
+
@@ -206,6 +210,11 @@ :visible.sync="visibleContentMenu" :style-obj="styleObj" @deletelayer="deletelayer" + @copylayer="copylayer" + @istopLayer="istopLayer" + @setlowLayer="setlowLayer" + @moveupLayer="moveupLayer" + @movedownLayer="movedownLayer" />
@@ -639,9 +648,6 @@ export default { this.visibleContentMenu = true; return false; }, - deletelayer() { - this.widgets.splice(this.rightClickIndex, 1); - }, setDefaultValue(options, val) { for (let i = 0; i < options.length; i++) { if (Object.prototype.toString.call(options[i]) == "[object Object]") { @@ -665,7 +671,21 @@ export default { } } } - } + }, + // 删除 + deletelayer() { + this.widgets.splice(this.rightClickIndex, 1); + }, + // 复制 + copylayer() {}, + // 置顶 + istopLayer() {}, + // 置低 + setlowLayer() {}, + // 上移一层 + moveupLayer() {}, + // 下移一层 + movedownLayer() {} } }; diff --git a/report-ui/src/views/report/bigscreen/index.vue b/report-ui/src/views/report/bigscreen/index.vue index b0a9888e..dccefe01 100644 --- a/report-ui/src/views/report/bigscreen/index.vue +++ b/report-ui/src/views/report/bigscreen/index.vue @@ -6,56 +6,45 @@ !-->