Ver Fonte

Merge branch 'ETA2.0.3_1' into debug

cldu há 2 meses atrás
pai
commit
ad532dcc2f

+ 2 - 1
src/views/positionAnalysis_manage/components/processChart.vue

@@ -655,7 +655,8 @@ export default {
       await dataBaseInterface.setChartThumbnail(form);
       if (isUpdate) return;
       this.$message.success(this.$t("MsgPrompt.saved_msg"));
-      this.$emit("updateChartsInfo", { id: ChartInfoId });
+      this.$route.query.id = ChartInfoId;
+      this.$emit("updateChartsInfo");
       // this.$router.replace({
       //   path: "positionAnalysisPrecessList",
       //   query: {

+ 2 - 2
src/views/positionAnalysis_manage/porcess/processDetail.vue

@@ -499,9 +499,9 @@ export default {
       if (!this.$route.query.id) this.chartInfos = [];
       this.getChartsInfo(params);
     },
-    updateChartsInfo(options) {
+    updateChartsInfo() {
       let params = {
-        ChartInfoId: (options && options.id) || +this.$route.query.id || 0,
+        ChartInfoId: +this.$route.query.id || 0,
         ExtraConfig: this.handleExtraConfig(),
         ChartsConfig: this.handleChartsConfig(),
       };