Преглед изворни кода

fix: 优化245图表别名放在图表名称下方

ldong пре 2 месеци
родитељ
комит
9171168076
2 измењених фајлова са 19 додато и 19 уклоњено
  1. 10 10
      src/views/dataEntry_manage/addChart.vue
  2. 9 9
      src/views/dataEntry_manage/editChart.vue

+ 10 - 10
src/views/dataEntry_manage/addChart.vue

@@ -101,16 +101,6 @@
 							clearable
 						/>
 					</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_alias')" prop="ChartAlias" v-if="[1,4,5,6,11,14].includes(chartInfo.ChartType)">
 						<el-input
@@ -127,6 +117,16 @@
 							<i class="el-icon-question" style="color: #666" />
 						</el-tooltip>
 					</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-select
 							v-model="chartInfo.Unit"

+ 9 - 9
src/views/dataEntry_manage/editChart.vue

@@ -122,15 +122,6 @@
 							clearable
 						/>
 					</el-form-item>
-					<el-form-item :label="$t('Chart.Detail.chart_classify')" prop="classify">
-						<el-cascader
-							v-model="chartInfo.classify"
-							:options="classifyOptions"
-							:props="levelProps"
-							style="width: 90%"
-							:placeholder="$t('Chart.InputHolderAll.input_classify')"
-						/>
-					</el-form-item>
 					<!-- 图表别名-->
 					<el-form-item :label="$t('Chart.Detail.chart_alias')" prop="ChartAlias" v-if="[1,4,5,6,11,14].includes(chartInfo.ChartType)">
 						<el-input
@@ -147,6 +138,15 @@
 							<i class="el-icon-question" style="color: #666" />
 						</el-tooltip>
 					</el-form-item>
+					<el-form-item :label="$t('Chart.Detail.chart_classify')" prop="classify">
+						<el-cascader
+							v-model="chartInfo.classify"
+							:options="classifyOptions"
+							:props="levelProps"
+							style="width: 90%"
+							:placeholder="$t('Chart.InputHolderAll.input_classify')"
+						/>
+					</el-form-item>
 					<el-form-item :label="$t('Chart.Detail.chart_unit')" prop="Unit" v-if="[7,11].includes(chartInfo.ChartType)">
 						<el-select
 							v-model="chartInfo.Unit"