2 Commits f0cfb16747 ... ad532dcc2f

Author SHA1 Message Date
  cldu ad532dcc2f Merge branch 'ETA2.0.3_1' into debug 1 week ago
  cldu a7779aa091 fix:保存图回显问题 1 week ago

+ 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(),
       };