From 3971886a88c517cd2b6f55f48678321f23907d7a Mon Sep 17 00:00:00 2001 From: qianlishi <1432731663@qq.com> Date: Tue, 29 Jun 2021 11:09:18 +0800 Subject: [PATCH] update --- .../views/report/bigscreen/designer/form/dynamicComponents.vue | 3 ++- .../src/views/report/bigscreen/designer/form/dynamicForm.vue | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/report-ui/src/views/report/bigscreen/designer/form/dynamicComponents.vue b/report-ui/src/views/report/bigscreen/designer/form/dynamicComponents.vue index 0944b6d7..af0e78c7 100644 --- a/report-ui/src/views/report/bigscreen/designer/form/dynamicComponents.vue +++ b/report-ui/src/views/report/bigscreen/designer/form/dynamicComponents.vue @@ -108,10 +108,12 @@ export default { chartProperties: this.chartProperties, contextData }; + console.log(params); const { code, data } = await getData(params); const analysisData = this.analysisChartsData(data); console.log(analysisData); this.$emit("input", analysisData); + this.$emit("change", params); if (code != "200") return; }, selectParams(val, key) { @@ -168,7 +170,6 @@ export default { // console.log(ananysicData, '结果数据') return ananysicData; }, - // 饼图或者空心饼图或者漏斗图 piechartFn(data) { const ananysicData = []; diff --git a/report-ui/src/views/report/bigscreen/designer/form/dynamicForm.vue b/report-ui/src/views/report/bigscreen/designer/form/dynamicForm.vue index 3daf4c38..09467880 100644 --- a/report-ui/src/views/report/bigscreen/designer/form/dynamicForm.vue +++ b/report-ui/src/views/report/bigscreen/designer/form/dynamicForm.vue @@ -135,6 +135,7 @@ v-if="item.type == 'dycustComponents' && inputShow[item.name]" v-model="formData[item.name]" :chart-type="item.chartType" + @change="changed($event, item.name)" />