Commit 14bb3986 authored by Smile's avatar Smile Committed by wux

字典页面添加法文字段

parent d74a0042
...@@ -12,6 +12,9 @@ ...@@ -12,6 +12,9 @@
<el-form-item :label="$t('英文标签')" prop="labelEn"> <el-form-item :label="$t('英文标签')" prop="labelEn">
<el-input v-model="queryParams.labelEn" :placeholder="$t('请输入英文字典标签')" clearable @keyup.enter.native="handleQuery"/> <el-input v-model="queryParams.labelEn" :placeholder="$t('请输入英文字典标签')" clearable @keyup.enter.native="handleQuery"/>
</el-form-item> </el-form-item>
<el-form-item :label="$t('法文标签')" prop="labelFr">
<el-input v-model="queryParams.labelFr" :placeholder="$t('请输入法文字典标签')" clearable @keyup.enter.native="handleQuery"/>
</el-form-item>
<el-form-item :label="$t('状态')" prop="status"> <el-form-item :label="$t('状态')" prop="status">
<el-select v-model="queryParams.status" :placeholder="$t('数据状态')" clearable> <el-select v-model="queryParams.status" :placeholder="$t('数据状态')" clearable>
<el-option v-for="dict in statusOptions" :key="dict.value" :label="dict.label" :value="dict.value"/> <el-option v-for="dict in statusOptions" :key="dict.value" :label="dict.label" :value="dict.value"/>
...@@ -39,6 +42,7 @@ ...@@ -39,6 +42,7 @@
<el-table-column :label="$t('字典编码')" align="center" prop="id" /> <el-table-column :label="$t('字典编码')" align="center" prop="id" />
<el-table-column :label="$t('字典标签')" align="center" prop="label" /> <el-table-column :label="$t('字典标签')" align="center" prop="label" />
<el-table-column :label="$t('英文标签')" align="center" prop="labelEn" /> <el-table-column :label="$t('英文标签')" align="center" prop="labelEn" />
<el-table-column :label="$t('法文标签')" align="center" prop="labelFr" />
<el-table-column :label="$t('字典键值')" align="center" prop="value" /> <el-table-column :label="$t('字典键值')" align="center" prop="value" />
<el-table-column :label="$t('字典排序')" align="center" prop="sort" /> <el-table-column :label="$t('字典排序')" align="center" prop="sort" />
<el-table-column :label="$t('状态')" align="center" prop="status"> <el-table-column :label="$t('状态')" align="center" prop="status">
...@@ -80,6 +84,9 @@ ...@@ -80,6 +84,9 @@
<el-form-item :label="$t('英文数据标签')" prop="labelEn"> <el-form-item :label="$t('英文数据标签')" prop="labelEn">
<el-input v-model="form.labelEn" :placeholder="$t('英文请输入数据标签')" /> <el-input v-model="form.labelEn" :placeholder="$t('英文请输入数据标签')" />
</el-form-item> </el-form-item>
<el-form-item :label="$t('法文数据标签')" prop="labelFr">
<el-input v-model="form.labelFr" :placeholder="$t('法文请输入数据标签')" />
</el-form-item>
<el-form-item :label="$t('数据键值')" prop="value"> <el-form-item :label="$t('数据键值')" prop="value">
<el-input v-model="form.value" :placeholder="$t('请输入数据键值')" /> <el-input v-model="form.value" :placeholder="$t('请输入数据键值')" />
</el-form-item> </el-form-item>
...@@ -232,6 +239,7 @@ export default { ...@@ -232,6 +239,7 @@ export default {
id: undefined, id: undefined,
label: undefined, label: undefined,
labelEn: undefined, labelEn: undefined,
labelFr: undefined,
value: undefined, value: undefined,
sort: 0, sort: 0,
status: CommonStatusEnum.ENABLE, status: CommonStatusEnum.ENABLE,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment