瀏覽代碼

商品曲线设置版本语言信息

Karsa 11 月之前
父節點
當前提交
3e506e1ead

+ 1 - 1
src/api/modules/futuresBaseApi.js

@@ -323,7 +323,7 @@ export default {
 	 * @returns 
 	 */
 	setChartLangInfo: params => {
-		return http.post('/datamanage/chart_info/base/edit')
+		return http.post('/future_good/chart_info/base/edit',params)
 	},
   
 }

+ 11 - 8
src/views/dataEntry_manage/adjustdata/adjustData.vue

@@ -190,10 +190,6 @@ export default {
       page_size: 20,
       start_index: 0,
       end_index: 49,
-      tableColums: [
-        { label: this.$t('Edb.Detail.e_date'),key:'DataTime' },
-        { label: this.$t('Edb.Detail.e_value'),key:'Value' }
-      ],
 
       tips: this.$t('AdjustDataPage.usetip'),
 
@@ -202,8 +198,8 @@ export default {
           r:0,
           c:0,
           v:{
-            m:"日期",
-            v:"日期",
+            m: this.$t('Edb.Detail.e_date'),
+            v: this.$t('Edb.Detail.e_date'),
             bg:'#bbb'
           },
         },
@@ -211,8 +207,8 @@ export default {
           r:0,
           c:1,
           v:{
-            m:"值",
-            v:"值",
+            m:this.$t('Edb.Detail.e_value'),
+            v:this.$t('Edb.Detail.e_value'),
             bg:'#bbb'
           },
         },
@@ -306,6 +302,13 @@ export default {
       return this.old_edb_data.length;
     },
 
+    tableColums(){
+      return [
+          { label: this.$t('Edb.Detail.e_date'),key:'DataTime' },
+          { label: this.$t('Edb.Detail.e_value'),key:'Value' }
+        ]
+    },
+
      ...mapState({
 			currentLang: state => state.lang,	
 		})

+ 77 - 31
src/views/dataEntry_manage/components/setLangInfo.vue

@@ -52,7 +52,7 @@
 
                   <el-input 
                     v-model="updateInfo.YNameEn" 
-                    :placeholder="$t('Chart.InputHolderAll.input_common',{label:$t('Chart.Detail.y_en_name')})"
+                    :placeholder="$t('Chart.InputHolderAll.input_common',{label:$t('Chart.Detail.y_name')})"
                     v-if="currentLang==='en'"
                   />
                   <el-input 
@@ -137,6 +137,50 @@
           </el-collapse>
         </div>
 
+        <!-- 跨品种分析图 -->
+         <div class="set-en-name-box" v-else-if="formData.chartInfo&&formData.chartInfo[0].source===10">
+          <el-collapse v-model="activeNames" class="sectionScatter-collapse">
+            <el-collapse-item :title="$t('Chart.Detail.chart_name')" :name="0" >
+              <ul class="section-ul" v-if="copyFormData.chartInfo.length">
+                <li>
+                  <el-input v-model="copyFormData.chartInfo[0].value" :placeholder="$t('Chart.InputHolderAll.input_common',{label:$t('Chart.Detail.chart_name')})" style="width: 600px;"/>
+                </li>
+                <li>
+                  <div class="ch-name"><!-- X轴名称: -->{{$t('Chart.Detail.x_name')}}</div>
+                  
+                  <el-input 
+                    v-model="copyFormData.chartInfo[1].value" 
+                    :placeholder="$t('Chart.InputHolderAll.input_common',{label:$t('Chart.Detail.x_name')})"
+                  />
+                </li>
+                <li>
+                  <div class="ch-name"><!-- Y轴名称: -->{{$t('Chart.Detail.y_name')}}</div>
+
+                  <el-input 
+                    v-model="copyFormData.chartInfo[2].value" 
+                    :placeholder="$t('Chart.InputHolderAll.input_common',{label:$t('Chart.Detail.y_name')})"
+                  />
+                </li>
+
+              </ul>
+            </el-collapse-item>
+            
+            <!-- 品种 -->
+            <el-collapse-item :title="$t('Chart.Detail.variety_name')" :name="1">
+              <ul class="section-ul" v-if="copyFormData.chartsList.length">
+                <li v-for="(item,index) in copyFormData.chartsList" :key="index">
+                  <div class="ch-name">{{$t('Chart.Detail.variety_name')}}{{index+1}}</div>
+
+                  <el-input 
+                    v-model="item.value" 
+                    :placeholder="$t('Chart.InputHolderAll.input_common',{label:$t('Chart.Detail.variety_name')})"
+                  />
+                </li>
+              </ul>
+            </el-collapse-item>
+          </el-collapse>
+        </div>
+
         <!-- 普通图 -->
         <div class="set-en-name-box" v-else>
           <el-form-item :label="item.label+':'" :prop="item.key" v-for="item in copyFormData.chartInfo" :key="item.key">
@@ -229,6 +273,8 @@ export default {
 
         this.fromEdbList = _.cloneDeep(this.edblist);
         this.updateInfo = _.cloneDeep(this.datainfo);
+
+        console.log(this.updateInfo)
       }
     }
   },
@@ -272,15 +318,15 @@ export default {
       console.log(this.copyFormData)
       const { chartInfo,chartsList }  = this.copyFormData;
       let params = {
-        ChartInfoId: chartInfo[1].id,
-        ChartNameEn: chartInfo[1].value.trim(),
+        ChartInfoId: chartInfo[0].id,
+        ChartName: chartInfo[0].value.trim(),
         TagList: [
-          { ChartTagId: chartInfo[3].id,TagNameEn: chartInfo[3].value },
-          { ChartTagId: chartInfo[5].id,TagNameEn: chartInfo[5].value }
+          { ChartTagId: chartInfo[1].id,TagName: chartInfo[1].value },
+          { ChartTagId: chartInfo[2].id,TagName: chartInfo[2].value }
         ],
         VarietyList: chartsList.map(_ => ({
-          ChartVarietyId: _[1].id,
-          VarietyNameEn: _[1].value
+          ChartVarietyId: _.id,
+          VarietyName: _.value
         }))
       }
       this.$emit('updateLang',params)
@@ -345,31 +391,31 @@ export default {
     max-height:600px;
     overflow-y:auto;
   }
-}
-.set-en-name-box{
-  .el-collapse-item__header{
-    background-color:#DCDFE6;
-    padding-left:8px;
-    font-size: 16px;
-    font-weight: 400;
-    color: #333333;
-    margin-bottom:0;
-    display: flex;
-    justify-content: space-between;
-    align-items: center;
-    // text-overflow: ellipsis;
-    // white-space: nowrap;
-    overflow: hidden;
-    line-height: inherit;
-    .el-collapse-item__arrow{
-      margin-left: 12px;
+  .set-en-name-box{
+    .el-collapse-item__header{
+      background-color:#DCDFE6;
+      padding-left:8px;
+      font-size: 16px;
+      font-weight: 400;
+      color: #333333;
+      margin-bottom:0;
+      display: flex;
+      justify-content: space-between;
+      align-items: center;
+      // text-overflow: ellipsis;
+      // white-space: nowrap;
+      overflow: hidden;
+      line-height: inherit;
+      .el-collapse-item__arrow{
+        margin-left: 12px;
+      }
+    }
+    .el-input{
+      width: 100%;
+    }
+    .el-collapse-item__content{
+      padding:18px 8px 0 8px;
     }
-  }
-  .el-input{
-    width: 100%;
-  }
-  .el-collapse-item__content{
-    padding:18px 8px 0 8px;
   }
 }
 

+ 13 - 33
src/views/dataEntry_manage/databaseComponents/createChart.vue

@@ -11,8 +11,7 @@
 		width="80%"
 		v-dialogDrag>
 		<div slot="title" style="display: flex; align-items: center">
-			<span style="font-size: 16px;cursor: pointer;" @click="editEnName" v-if="chartLang=='en'">{{chartInfo.EdbNameEn || '点击输入英文图表名称' }}</span>
-			<span style="font-size: 16px;" v-else>{{chartInfo.EdbName || ''}}</span>
+			<span style="font-size: 16px;">{{currentLang==='en'?(chartInfo.EdbName||chartInfo.EdbNameEn):chartInfo.EdbName}}</span>
 		</div>
 		<h2 style="margin-bottom: 15px" v-if="!isOnlyShowBaseChart">{{chart_type===1 ? '曲线图' : '季节性图'}}</h2>
 		<div class="header">
@@ -140,6 +139,10 @@ export default {
 		// 同比,环比,环差,超季节性、 残差展示基础图
 		isOnlyShowBaseChart() {
 			return [6,12,13,35,37].includes(this.chartInfo.Source)
+		},
+
+		currentLang() {
+			return this.$store.state.lang
 		}
 	},
 	watch: {
@@ -407,7 +410,7 @@ export default {
 				data: DataList.map(item=>([item.DataTimestamp, item.Value])),
 				type: 'spline',
 				yAxis: 1,
-				name: this.chartLang=='zh'?`${EdbInfo.EdbName}同比`:EdbInfo.EdbNameEn?`${EdbInfo.EdbNameEn}同比`:'无英文名称',
+				name: this.currentLang=='zh'?`${EdbInfo.EdbName}同比`:`${EdbInfo.EdbNameEn}同比`,
 				lineWidth: 1
 			})
 			console.log(this.options.series)
@@ -430,27 +433,15 @@ export default {
 
 			//y轴
 
-			// 单位 中文时 为无不显示   英文时 为空提示点击输入
-			// 中文不存在或等于无时 英文显示为空  中文存在且英文不存在时 显示'英文单位'
-			let yTitleText = this.chartLang=='zh'?
-			(this.chartInfo.Unit && this.chartInfo.Unit!='无') ? this.chartInfo.Unit:'':
-			!this.chartInfo.UnitEn && this.chartInfo.Unit && this.chartInfo.Unit!='无' ? '英文单位':this.chartInfo.UnitEn
-			// title样式  英文为空时,提示文字样式  英文可以点击设置
-			let yTitleStyle = {}
-			if(this.chartLang=='en'){
-				yTitleStyle.cursor='pointer'
-				if(yTitleText=='英文单位'){
-					yTitleStyle.color="#999"
-				}
-			}
+			let yTitleText = this.currentLang=='zh'?this.chartInfo.Unit:this.chartInfo.UnitEn
+
 			let yItem = {
 				title: {
 					text: yTitleText,
 					align: 'high',
 					rotation: 0,
 					y: -15,
-					offset: 0,
-					style:yTitleStyle
+					offset: 0
 				},
 				labels: {
 					formatter: function (ctx) {
@@ -463,8 +454,8 @@ export default {
 				...seasonOptions.yAxis,
 			};
 			// 图例名称和图例文字样式
-			let dataName = this.chartLang=='zh'?this.chartInfo.EdbName:this.chartInfo.EdbNameEn?this.chartInfo.EdbNameEn:'无英文名称'
-			let color = this.chartLang=='en'&&(!this.chartInfo.EdbNameEn)?'#999':'#333'
+			let dataName = this.currentLang=='zh'?this.chartInfo.EdbName:this.chartInfo.EdbNameEn
+			let color = this.currentLang=='en'&&(!this.chartInfo.EdbNameEn)?'#999':'#333'
 			let legend={
 				...defaultOpts.legend,
 				itemStyle: {
@@ -551,8 +542,7 @@ export default {
               align: 'center',
             },
             title: {
-              text:  this.chartLang=='zh'?this.chartInfo.Unit:
-							!this.chartInfo.UnitEn && this.chartInfo.Unit && this.chartInfo.Unit!='无' ? '英文单位':this.chartInfo.UnitEn,
+              text:  this.currentLang=='zh'?this.chartInfo.Unit:this.chartInfo.UnitEn,
               align: 'high',
               rotation: 0,
               y: -15,
@@ -595,8 +585,7 @@ export default {
               align: 'center',
             },
             title: {
-              text:  this.chartLang=='zh'?this.chartInfo.Unit:
-							!this.chartInfo.UnitEn && this.chartInfo.Unit && this.chartInfo.Unit!='无' ? '英文单位':this.chartInfo.UnitEn,
+              text:  this.currentLang=='zh'?this.chartInfo.Unit:this.chartInfo.UnitEn,
               align: 'high',
               rotation: 0,
               y: -15,
@@ -725,15 +714,6 @@ export default {
 		close() {
 			this.init()
 			this.$emit('close')
-		},
-		// 编辑英文信息弹窗
-		editEnName(){
-			this.$emit('editEnName','chart')
-		},
-		// 竖轴标题点击事件
-		clickYAxisTitle(){
-			console.log(this.chartLang);
-			if(this.chartLang == 'en') this.editEnName()
 		}
 	},
 	created() {},

+ 8 - 28
src/views/dataEntry_manage/mixins/chartPublic.js

@@ -531,49 +531,29 @@ export const chartSetMixin = {
 
         this.formItemArray.chartInfo.push({
           label:/* 'X轴名称' */this.$t('Chart.Detail.x_name'),
-          value:this.crossVarietyChartData.XName,
+          value:this.currentLang==='en'?this.crossVarietyChartData.XNameEn:this.crossVarietyChartData.XName,
           key:'XName',
           id:TagList[0].ChartTagId,
-          notEdit:true
+          placeholder:/* '请输入X轴名称' */this.$t('Chart.InputHolderAll.input_common',{label:this.$t('Chart.Detail.x_name')})
         },
         {
-          label:/* '英文X轴名称' */this.$t('Chart.Detail.x_en_name'),
-          value:this.crossVarietyChartData.XNameEn,
-          key:'XNameEn',
-          id:TagList[0].ChartTagId,
-          placeholder:/* '请输入英文X轴名称' */this.$t('Chart.InputHolderAll.input_common',{label:this.$t('Chart.Detail.x_en_name')})
-        },{
           label:/* 'Y轴名称' */this.$t('Chart.Detail.y_name'),
-          value:this.crossVarietyChartData.YName,
+          value:this.currentLang==='en'?this.crossVarietyChartData.YNameEn:this.crossVarietyChartData.YName,
           key:'YName',
           id:TagList[1].ChartTagId,
-          notEdit:true
-        },
-        {
-          label:/* '英文Y轴名称' */this.$t('Chart.Detail.y_en_name'),
-          value:this.crossVarietyChartData.YNameEn,
-          key:'YNameEn',
-          id:TagList[1].ChartTagId,
-          placeholder:/* '请输入英文Y轴名称' */this.$t('Chart.InputHolderAll.input_common',{label:this.$t('Chart.Detail.y_en_name')})
+          placeholder:/* '请输入Y轴名称' */this.$t('Chart.InputHolderAll.input_common',{label:this.$t('Chart.Detail.y_name')})
         })
 
         VarietyList.forEach(item => {
-          this.formItemArray.chartsList.push([
+          this.formItemArray.chartsList.push(
             {
               label:/* '品种名称' */this.$t('Chart.Detail.variety_name'),
-              value:item.ChartVarietyName,
+              value:this.currentLang==='en'?item.ChartVarietyNameEn:item.ChartVarietyName,
               key:'ChartVarietyName',
               id:item.ChartVarietyId,
-              notEdit:true
-            },
-            {
-              label:/* '英文品种名称' */this.$t('Chart.Detail.variety_en_name'),
-              value:item.ChartVarietyNameEn,
-              key:'ChartVarietyNameEn',
-              id:item.ChartVarietyId,
-              placeholder:/* '请输入英文品种名称' */this.$t('Chart.InputHolderAll.input_common',{label:this.$t('Chart.Detail.variety_en_name')})
+              placeholder:/* '请输入品种名称' */this.$t('Chart.InputHolderAll.input_common',{label:this.$t('Chart.Detail.variety_name')})
             }
-          ])
+          )
         })
       }
 

+ 2 - 15
src/views/datasheet_manage/components/MixedTable.vue

@@ -159,7 +159,7 @@
         <div :class="['item',{'deletesty': menu.key==='reset'}]" v-for="menu in config.contextMenuOption" :key="menu.key" @click="handleContext(menu.key)">
           <span v-if="!menu.children">{{menu.label}}</span>
           
-          <el-collapse v-model="activeNames" @change="handleChange" v-if="menu.children">
+          <el-collapse v-model="activeNames" @change="handleChange" v-if="menu.children" class="mixed-edb-slide-collapse">
             <el-collapse-item name="1">
               <template slot="title">
                  {{menu.label}}
@@ -180,19 +180,6 @@
             </el-collapse-item>
           </el-collapse>  
 
-          <!-- 二级菜单 -->
-          <!-- <div class="subMenu-wrapper" v-if="menu.children">
-            <div slot="reference" class="item" v-for="submenu in menu.children" :key="submenu.key" @click="edbCalculateInsertOpen(submenu)">
-                <el-popover
-                  width="300"
-                  trigger="hover"
-                  placement="right"
-                >
-                  <div v-html="formulaTip.get(submenu.fromEdbKey)"></div>
-                  <div slot="reference" style="width:100%">{{submenu.label}}</div>   
-                </el-popover>
-            </div>
-          </div> -->
         </div>
       </div>
     </template>
@@ -1421,7 +1408,7 @@ export default {
     }
   }
 }
-.el-collapse {
+.mixed-edb-slide-collapse {
   border: none !important;
   .el-collapse-item__header {
     padding: 0;

+ 5 - 1
src/views/datasheet_manage/components/calculateEdbDia.vue

@@ -46,7 +46,7 @@
                 v-for="(item,index) in edbArrFromTable" 
                 :key="index"
                 @click="selectTableEdbHandle(item)"
-              >{{ item.EdbName }}</el-tag>
+              >{{ currentLang==='en'?(item.EdbNameEn||item.EdbName):item.EdbName }}</el-tag>
           </div>
         </section>
         
@@ -280,6 +280,10 @@ export default {
 				{label: this.$t('ETable.Date.calendar_lunar'),key: '农历'},
 			]
     },
+
+    currentLang() {
+			return this.$store.state.lang
+		}
   },
   watch: {
     isShow(nval) {

+ 6 - 2
src/views/datasheet_manage/components/edbDetailSection.vue

@@ -66,7 +66,7 @@ export default {
 				},
 				{
 					label: this.$t('Edb.Detail.e_name') || '指标名称',
-					key: 'EdbName',
+					key: this.currentLang==='en'?'EdbNameEn':'EdbName',
 				},
 				{
 					label: this.$t('Edb.Detail.e_fre') ||  '频度',
@@ -74,7 +74,7 @@ export default {
 				},
 				{
 					label: this.$t('Edb.Detail.e_unit') ||  '单位',
-					key: 'Unit',
+					key: this.currentLang==='en'?'UnitEn':'Unit',
 				},
 				{
 					label: this.$t('Edb.Detail.e_start_time') ||  '起始时间',
@@ -91,6 +91,10 @@ export default {
 					key: 'SourceName',
 				},
 			]
+    },
+
+    currentLang() {
+      return this.$store.state.lang
     }
   },
   methods: {},

+ 10 - 3
src/views/edbHistoryPage.vue

@@ -1,7 +1,7 @@
 <template>
     <!-- 指标溯源页 -->
     <div class="edb-history-page-wrap">
-        <div class="edb-title">{{treeData.EdbName||''}}</div>
+        <div class="edb-title">{{currentLang==='en'?(treeData.EdbNameEn||treeData.EdbName):treeData.EdbName}}</div>
         <div class="edb-source-wrap">
             <vue2-org-tree
                 :data="treeData"
@@ -25,13 +25,20 @@ export default {
             treeData:{}
         };
     },
+    computed: {
+        currentLang() {
+            return this.$store.state.lang
+        }
+    },
     methods: {
         renderContent(h, data) {
+            let name = this.currentLang === 'en'?(data.EdbNameEn||data.EdbName):data.EdbName;
+            
             return (
                 <el-tooltip content={data.RuleTitle} placement='top' popper-class='node-tooltip'>
                     {
-                        data.IsStop?<span class='node stop'>{data.EdbName+'(暂停更新)'}</span>
-                        :<span class='node'>{data.EdbName}</span>
+                        data.IsStop?<span class='node stop'>{name+'(暂停更新)'}</span>
+                        :<span class='node'>{name}</span>
                     }
                 </el-tooltip>
             )

+ 13 - 3
src/views/futures_manage/commodityChartBase.vue

@@ -197,7 +197,7 @@
 									@saveChartHandle="saveChartHandle"
 									@saveChartOtherHandle="saveChartOtherHandle"
 									@editChartHandle="editChartHandle"
-									@openEnNameDia="openEnNameDia"
+								  @openLangInfoDia="openLangInfoDia"
 									@delChartHandle="delChartHandle"
 								/>
               </el-col>
@@ -245,11 +245,19 @@
     />
 
 		<!-- 输入英文指标弹窗 -->
-		<set-en-name-dia 
+		<!-- <set-en-name-dia 
 			:isOpenDialog="setEnName" 
 		  :formData="formItemArray"
 			@cancel="setEnName=false"
    	  @updateEnName="updateEnName"
+		/> -->
+
+		<!-- 设置对应版本信息弹窗 -->
+		<setLangInfoDia
+			:isOpenDialog="isLangInfoDia"
+			:formData="formItemArray"
+			@cancel="isLangInfoDia=false" 
+			@updateLang="updateLang"
 		/>
 
 	</div>
@@ -267,6 +275,7 @@ import SaveChartOther from '@/views/dataEntry_manage/components/SaveChartOther';
 import setEnNameDia from '@/views/dataEntry_manage/components/setEnNameDia.vue'
 import { chartSetMixin } from '@/views/dataEntry_manage/mixins/chartPublic';
 import { copyOtherOptions } from '@/utils/defaultOptions';
+import setLangInfoDia from '@/views/dataEntry_manage/components/setLangInfo.vue'
 export default {
 	components: { 
 		changeLang,
@@ -274,7 +283,8 @@ export default {
 		Chart,
 		addMyClassifyDia,
 		SaveChartOther,
-		setEnNameDia
+		setEnNameDia,
+		setLangInfoDia
 	},
 	mixins:[ leftMixin,chartSetMixin ],
 	computed: {

+ 0 - 119
src/views/mychart_manage/components/chartDetailDia.vue

@@ -380,125 +380,6 @@
               highlight-current-row
               border
             >
-              <!-- 可配置展开 只用于默认图 季节性隐藏-->
-              <!-- <el-table-column type="expand" v-if="sameOptionType.includes(chartInfo.ChartType) && chartInfo.ChartType!==5 && chartInfo.Source===1">
-                <template slot-scope="props">
-                  <div class="options-cont">
-                    //堆叠图 或组合图中的堆叠类型 非第一项隐藏配置
-                    <template v-if="showYOptionsHandle(props.row,props.$index)">
-                        <el-checkbox v-model="props.row.IsOrder">{{$t('Chart.Detail.re_order')}}</el-checkbox>
-                        <el-radio-group v-model="props.row.IsAxis" size="mini">
-                          <el-radio-button :label="1">{{$t('Chart.Detail.l_axis')}}</el-radio-button></el-radio-button>
-                          <el-radio-button :label="0">{{$t('Chart.Detail.r_axis')}}</el-radio-button>
-                          //指标有右轴时才可以选右2轴 不然没有右2这个概念的意义
-                          <el-radio-button 
-                            v-if="[1,6].includes(chartInfo.ChartType)"
-                            :label="2" 
-                            :disabled="(tableData.findIndex(_ => _.IsAxis===0) === -1) 
-                            || (tableData.findIndex(_ => _.IsAxis===0) === props.$index 
-                                && tableData.filter(_ => _.IsAxis===0).length === 1)"
-                          >t('Chart.Detail.rtwo_axis')}}</el-radio-button>
-                        </el-radio-group>
-                    </template>
-                    <div style="min-width: 250px">
-                      <el-radio
-                        v-model="props.row.EdbInfoType"
-                        :label="1"
-                        @change="getPreviewChartInfo"
-                        >{{$t('Chart.Detail.stand_lead')}}</el-radio
-                      >
-                      <div style="margin-top: 22px">
-                        <el-radio
-                          v-model="props.row.EdbInfoType"
-                          :label="0"
-                          style="margin-right: 10px"
-                          @change="getPreviewChartInfo"
-                          >{{$t('Chart.Detail.leading_lead')}}</el-radio
-                        >
-                        <template v-if="props.row.EdbInfoType === 0">
-                          {{$t('EtaChartAddPage.label_lead')}}
-                          <el-input
-                            style="width: 60px"
-                            size="mini"
-                            type="number"
-                            min="0"
-                            v-model="props.row.LeadValue"
-                            @change="getPreviewChartInfo"
-                            @keyup.native="filterCode(props.row)"
-                          ></el-input>
-                          <el-select
-                            v-model="props.row.LeadUnit"
-                            placeholder=""
-                            style="width: 60px"
-                            size="mini"
-                            @change="getPreviewChartInfo"
-                          >
-                            <el-option
-                              v-for="item in fre_options"
-                              :key="item"
-                              :label="item"
-                              :value="item"
-                            >
-                            </el-option>
-                          </el-select>
-                        </template>
-                      </div>
-                    </div>
-                    <div>
-                      <div style="display: flex">
-                        <span style="margin-right: 3px">{{$t('Chart.Detail.line_color')}}:</span>
-                        <el-color-picker
-                          v-model="props.row.ChartColor"
-                          size="mini"
-                          show-alpha
-                          :predefine="predefineColors"
-                        ></el-color-picker>
-                      </div>
-                      <div 
-                        style="margin-top: 12px"
-                        v-if="chartInfo.ChartType === 1 
-                        || (chartInfo.ChartType === 6 && props.row.ChartStyle==='spline')"
-                      >
-                        {{$t('Chart.Detail.line_size')}}:
-                        <el-input
-                          style="width: 60px"
-                          size="mini"
-                          type="number"
-                          :min="1"
-                          v-model="props.row.ChartWidth"
-                        />
-                      </div>
-                    </div>
-                    <div v-if="chartInfo.ChartType === 6">
-                      <span style="margin-right: 3px"><{{$t('Chart.label_create_sty')}}:</span>
-                      <el-select
-                        v-model="props.row.ChartStyle"
-                        placeholder="请选择生成样式"
-                        style="width: 50%"
-                        class="edb-item-style"
-                      >
-                        <el-option
-                          v-for="item in chartItemStyleArr"
-                          :key="item.key"
-                          :label="item.label"
-                          :value="item.value"
-                        >
-                        </el-option>
-                      </el-select>
-                    </div>
-                    <div class="copy-excel">
-                      <span class="editsty" @click="copyCode(props.row)" v-if="isAllowCopyData">
-                        <i class="el-icon-document-copy" />&nbsp;{{$t('Edb.detail_copydata_btn')}}</span
-                      >
-                      <span 
-                        class="editsty" v-if="isAllowCheckData"
-                        @click="viewTarget(props.row)"
-                        style="display:block;margin-top:15px;"
-                      >&nbsp;{{$t('Edb.detail_lookdata_btn')}}</span>
-                    </div>
-                  </div>
-                </template>
-              </el-table-column> -->
               <el-table-column
                 v-for="item in tableColums"
                 :key="item.label"