|
@@ -101,32 +101,32 @@
|
|
clearable
|
|
clearable
|
|
/>
|
|
/>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
- <el-form-item :label="$t('Chart.Detail.chart_classify')" prop="classify">
|
|
|
|
- <cascader
|
|
|
|
- v-model="chartInfo.classify"
|
|
|
|
- :options="classifyOptions"
|
|
|
|
- :props="levelProps"
|
|
|
|
- cascaderWidth="width: 90%"
|
|
|
|
- :placeholder="$t('Chart.InputHolderAll.input_classify')"
|
|
|
|
- :config="{ label: currentLang === 'zh' ? 'ChartClassifyName' : 'ChartClassifyNameEn',value: 'ChartClassifyId'}"
|
|
|
|
- />
|
|
|
|
- </el-form-item>
|
|
|
|
- <!-- 图表别名 英文文案还没给-->
|
|
|
|
- <el-form-item label="图表别名" prop="ChartAlias" v-if="[1,5,6].includes(chartInfo.ChartType)">
|
|
|
|
|
|
+ <!-- 图表别名 -->
|
|
|
|
+ <el-form-item :label="$t('Chart.Detail.chart_alias')" prop="ChartAlias" v-if="[1,4,5,6,11,14].includes(chartInfo.ChartType)">
|
|
<el-input
|
|
<el-input
|
|
v-model="chartInfo.ChartAlias"
|
|
v-model="chartInfo.ChartAlias"
|
|
style="width: 90%"
|
|
style="width: 90%"
|
|
- placeholder="请输入图表别名"
|
|
|
|
|
|
+ :placeholder="$t('Chart.InputHolderAll.input_common',{label:$t('Chart.Detail.chart_alias')})"
|
|
clearable
|
|
clearable
|
|
/>
|
|
/>
|
|
<el-tooltip effect="dark" placement="right">
|
|
<el-tooltip effect="dark" placement="right">
|
|
<div
|
|
<div
|
|
slot="content"
|
|
slot="content"
|
|
style="line-height: 20px;width:300px"
|
|
style="line-height: 20px;width:300px"
|
|
- >设置图表别名,默认PPT中插入该图表时显示,若无设置,则PPT中不显示该图表名称。</div>
|
|
|
|
|
|
+ >{{$t('Chart.OptMsg.set_chart_alias')}}</div>
|
|
<i class="el-icon-question" style="color: #666" />
|
|
<i class="el-icon-question" style="color: #666" />
|
|
</el-tooltip>
|
|
</el-tooltip>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
|
+ <el-form-item :label="$t('Chart.Detail.chart_classify')" prop="classify">
|
|
|
|
+ <cascader
|
|
|
|
+ v-model="chartInfo.classify"
|
|
|
|
+ :options="classifyOptions"
|
|
|
|
+ :props="levelProps"
|
|
|
|
+ cascaderWidth="width: 90%"
|
|
|
|
+ :placeholder="$t('Chart.InputHolderAll.input_classify')"
|
|
|
|
+ :config="{ label: currentLang === 'zh' ? 'ChartClassifyName' : 'ChartClassifyNameEn',value: 'ChartClassifyId'}"
|
|
|
|
+ />
|
|
|
|
+ </el-form-item>
|
|
<el-form-item :label="$t('Chart.Detail.chart_unit')" prop="Unit" v-if="[7,11].includes(chartInfo.ChartType)">
|
|
<el-form-item :label="$t('Chart.Detail.chart_unit')" prop="Unit" v-if="[7,11].includes(chartInfo.ChartType)">
|
|
<el-select
|
|
<el-select
|
|
v-model="chartInfo.Unit"
|
|
v-model="chartInfo.Unit"
|