+
@@ -29,6 +29,7 @@ export default ({
this.optionsSetup = val.setup;
},
deep: true,
+ immediate: true
},
},
computed: {
diff --git a/report-ui/src/views/bigscreenDesigner/designer/widget/temp.vue b/report-ui/src/views/bigscreenDesigner/designer/widget/temp.vue
index df892766..685e5b71 100644
--- a/report-ui/src/views/bigscreenDesigner/designer/widget/temp.vue
+++ b/report-ui/src/views/bigscreenDesigner/designer/widget/temp.vue
@@ -46,8 +46,10 @@ import widgetFormTime from "./form/widgetFormTime.vue";
import widgetScaleVertical from "./scale/widgetScaleVertical.vue";
import widgetScaleHorizontal from "./scale/widgetScaleHorizontal.vue";
import widgetBarDoubleYaxisChart from "./bar/widgetBarDoubleYaxisChart.vue";
+import widgetDecorateFlowLine from "./styleWidget/widgetDecorateFlowLine.vue";
import widgetBorder from "./styleWidget/widgetBorder.vue";
import widgetDecoration from "./styleWidget/widgetDecoration.vue";
+import widgetBarMap from "./map/widgetBarMap.vue";
export default {
name: "WidgetTemp",
@@ -55,6 +57,7 @@ export default {
widgetHref,
widgetText,
widgetBorder,
+ widgetDecorateFlowLine,
widgetDecoration,
WidgetMarquee,
widgetTime,
@@ -90,6 +93,7 @@ export default {
//widgetInput,
widgetFormTime,
widgetBarDoubleYaxisChart,
+ widgetBarMap
},
model: {
prop: "value",
diff --git a/report-ui/src/views/bigscreenDesigner/designer/widget/texts/widgetIframe.vue b/report-ui/src/views/bigscreenDesigner/designer/widget/texts/widgetIframe.vue
index 9e1c22fc..de96836e 100644
--- a/report-ui/src/views/bigscreenDesigner/designer/widget/texts/widgetIframe.vue
+++ b/report-ui/src/views/bigscreenDesigner/designer/widget/texts/widgetIframe.vue
@@ -1,7 +1,7 @@
@@ -47,7 +47,24 @@ export default {
mounted() {
this.options = this.value;
},
- methods: {}
+ methods: {
+ toGetUrl(url) {
+ if (url.indexOf('{') < 0 && url.indexOf('}' < 0)) {
+ return url
+ }
+ const reg = /{[a-zA-Z0-9]*\}/g
+ const list = url.match(reg)
+ console.log(list)
+ let result = url
+ const query = this.$route.query
+ for (let i = 0; i < list.length; i++) {
+ const sub = list[i]
+ const key = sub.replace('{', '').replace('}', '')
+ result = result.replace(sub, query[key])
+ }
+ return result
+ }
+ }
};
diff --git a/report-ui/src/views/bigscreenDesigner/designer/widget/widget.vue b/report-ui/src/views/bigscreenDesigner/designer/widget/widget.vue
index dd2bf6d9..322a11bd 100644
--- a/report-ui/src/views/bigscreenDesigner/designer/widget/widget.vue
+++ b/report-ui/src/views/bigscreenDesigner/designer/widget/widget.vue
@@ -54,7 +54,9 @@ import widgetScaleVertical from "./scale/widgetScaleVertical.vue";
import widgetScaleHorizontal from "./scale/widgetScaleHorizontal.vue";
import widgetBarDoubleYaxisChart from "./bar/widgetBarDoubleYaxisChart.vue";
import widgetBorder from "./styleWidget/widgetBorder.vue";
+import widgetDecorateFlowLine from "./styleWidget/widgetDecorateFlowLine.vue";
import widgetDecoration from "./styleWidget/widgetDecoration.vue";
+import widgetBarMap from "./map/widgetBarMap.vue";
export default {
name: "Widget",
@@ -62,6 +64,7 @@ export default {
widgetHref,
widgetText,
widgetBorder,
+ widgetDecorateFlowLine,
widgetDecoration,
WidgetMarquee,
widgetTime,
@@ -97,6 +100,7 @@ export default {
//widgetInput,
widgetFormTime,
widgetBarDoubleYaxisChart,
+ widgetBarMap
},
model: {
prop: "value",
diff --git a/report-ui/src/views/layout/components/Sidebar/index.vue b/report-ui/src/views/layout/components/Sidebar/index.vue
index a36d1e40..b53f2376 100644
--- a/report-ui/src/views/layout/components/Sidebar/index.vue
+++ b/report-ui/src/views/layout/components/Sidebar/index.vue
@@ -3,7 +3,7 @@
-
V1.1.0
+
V1.2.0