update 标签管理-可维护数据库字段名
This commit is contained in:
@@ -6,6 +6,7 @@ module.exports = {
|
|||||||
labelContentManagement: '标签内容管理',
|
labelContentManagement: '标签内容管理',
|
||||||
attributeName: '属性名称',
|
attributeName: '属性名称',
|
||||||
attributeNameEnglish: '英文名称',
|
attributeNameEnglish: '英文名称',
|
||||||
|
fieldName: '字段名称',
|
||||||
attributeType: '属性类型',
|
attributeType: '属性类型',
|
||||||
fieldLength: '字段长度',
|
fieldLength: '字段长度',
|
||||||
displayOrder: '展示顺序',
|
displayOrder: '展示顺序',
|
||||||
|
|||||||
@@ -6,6 +6,7 @@ module.exports = {
|
|||||||
labelContentManagement: '标签内容管理',
|
labelContentManagement: '标签内容管理',
|
||||||
attributeName: '属性名称',
|
attributeName: '属性名称',
|
||||||
attributeNameEnglish: '英文名称',
|
attributeNameEnglish: '英文名称',
|
||||||
|
fieldName: '字段名称',
|
||||||
attributeType: '属性类型',
|
attributeType: '属性类型',
|
||||||
fieldLength: '字段长度',
|
fieldLength: '字段长度',
|
||||||
displayOrder: '展示顺序',
|
displayOrder: '展示顺序',
|
||||||
|
|||||||
@@ -48,6 +48,17 @@
|
|||||||
:maxLength="120"
|
:maxLength="120"
|
||||||
></a-input>
|
></a-input>
|
||||||
</a-form-model-item>
|
</a-form-model-item>
|
||||||
|
<!-- 字段名称-->
|
||||||
|
<a-col :span="24">
|
||||||
|
<a-form-model-item :label="$t('system.tag.fieldName')" prop="dbFieldName">
|
||||||
|
<a-input
|
||||||
|
v-model="form.dbFieldName"
|
||||||
|
:placeholder="$t('pleaseEnter') + $t('system.tag.fieldName')"
|
||||||
|
@change="event => event.target.value = event.target.value.trim()"
|
||||||
|
:maxLength="120"
|
||||||
|
></a-input>
|
||||||
|
</a-form-model-item>
|
||||||
|
</a-col>
|
||||||
<!-- 属性类型-->
|
<!-- 属性类型-->
|
||||||
<a-form-model-item :label="$t('system.tag.attributeType')" prop="fieldShowType">
|
<a-form-model-item :label="$t('system.tag.attributeType')" prop="fieldShowType">
|
||||||
<j-dict-select-tag type="list" v-model="form.fieldShowType" dictCode="field_show_type"
|
<j-dict-select-tag type="list" v-model="form.fieldShowType" dictCode="field_show_type"
|
||||||
@@ -157,7 +168,7 @@ export default {
|
|||||||
{ min: 1, max: 20, message: this.$t('cantExeed') + '20' + this.$t('characters'), trigger: 'blur' },
|
{ min: 1, max: 20, message: this.$t('cantExeed') + '20' + this.$t('characters'), trigger: 'blur' },
|
||||||
{ validator: this.test }
|
{ validator: this.test }
|
||||||
],
|
],
|
||||||
|
// 字段名称
|
||||||
dbFieldName: [
|
dbFieldName: [
|
||||||
{ required: true, message: this.$t('PleaseEnterYourEnglishName'), trigger: 'blur' },
|
{ required: true, message: this.$t('PleaseEnterYourEnglishName'), trigger: 'blur' },
|
||||||
{ min: 1, max: 20, message: this.$t('cantExeed') + '20' + this.$t('characters'), trigger: 'blur' },
|
{ min: 1, max: 20, message: this.$t('cantExeed') + '20' + this.$t('characters'), trigger: 'blur' },
|
||||||
|
|||||||
@@ -55,6 +55,17 @@
|
|||||||
></a-input>
|
></a-input>
|
||||||
</a-form-model-item>
|
</a-form-model-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
|
<!-- 字段名称-->
|
||||||
|
<a-col :span="24">
|
||||||
|
<a-form-model-item :label="$t('system.tag.fieldName')" prop="dbFieldName">
|
||||||
|
<a-input
|
||||||
|
v-model="form.dbFieldName"
|
||||||
|
:placeholder="$t('pleaseEnter') + $t('system.tag.fieldName')"
|
||||||
|
@change="event => event.target.value = event.target.value.trim()"
|
||||||
|
:maxLength="120"
|
||||||
|
></a-input>
|
||||||
|
</a-form-model-item>
|
||||||
|
</a-col>
|
||||||
<!-- 属性类型-->
|
<!-- 属性类型-->
|
||||||
<a-col :span="24">
|
<a-col :span="24">
|
||||||
<a-form-model-item :label="$t('system.tag.attributeType')" prop="fieldShowType">
|
<a-form-model-item :label="$t('system.tag.attributeType')" prop="fieldShowType">
|
||||||
|
|||||||
Reference in New Issue
Block a user