浏览代码

新增编辑多因子增加参数

cxmo 11 月之前
父节点
当前提交
4b9e05d4c9
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      src/views/chartRelevance_manage/relevance/relevanceChartEditorV2.vue

+ 4 - 0
src/views/chartRelevance_manage/relevance/relevanceChartEditorV2.vue

@@ -155,6 +155,7 @@
                             <el-table-column v-for="(num,index) in SortedArray" :key="num"
                             <el-table-column v-for="(num,index) in SortedArray" :key="num"
                                 min-width="45px"
                                 min-width="45px"
                                 sortable
                                 sortable
+                                prop="LeadValue"
                                 align="center"
                                 align="center"
                                 class-name="zip-cell"
                                 class-name="zip-cell"
                                 :label="num">
                                 :label="num">
@@ -345,6 +346,7 @@ export default {
                 this.multipleChartData.SourcesFrom.isShow = this.SourcesFromVisable
                 this.multipleChartData.SourcesFrom.isShow = this.SourcesFromVisable
             }
             }
         },
         },
+        //禁用表格行的样式
         getTableRowClassname({row}){
         getTableRowClassname({row}){
             if(!row.isSuccess){
             if(!row.isSuccess){
                 return 'disable-row'
                 return 'disable-row'
@@ -768,6 +770,7 @@ export default {
                     EdbInfoId:i.Id
                     EdbInfoId:i.Id
                 }
                 }
             })
             })
+            const SeriesIds = this.this.$refs.multipleIndForm.factorList.map(i=>i.SeriesId)
             const LegendConfig = YDataList.map(i=>{
             const LegendConfig = YDataList.map(i=>{
                 return {
                 return {
                     LegendName:i.Name,
                     LegendName:i.Name,
@@ -788,6 +791,7 @@ export default {
                     LegendConfig,
                     LegendConfig,
                 },
                 },
                 SourcesFrom,
                 SourcesFrom,
+                SeriesIds
             }
             }
             const {ChartInfoId} = this.multipleChartData.ChartInfo
             const {ChartInfoId} = this.multipleChartData.ChartInfo
             const isEdit = ChartInfoId&&type!=='saveOther'
             const isEdit = ChartInfoId&&type!=='saveOther'