This commit is contained in:
2022-09-01 15:44:04 +08:00
parent 70303f3f06
commit 5b37798a20
29 changed files with 141 additions and 126 deletions

View File

@@ -2,7 +2,7 @@
<div class="mod-config">
<el-form :inline="true" :model="dataForm" @keyup.enter.native="getDataList()">
<el-form-item>
<el-input v-model="dataForm.key" placeholder="参数名" clearable></el-input>
<el-input v-model="dataForm.key" placeholder="$t('parameter')" clearable></el-input>
</el-form-item>
<el-form-item>
<el-button @click="getDataList()">{{ $t('query') }}</el-button>
@@ -38,10 +38,10 @@ import TableOperateComponent from '@/components/base-table/components/operationC
const tableConfigs = [
{ prop: 'createTime', name: i18n.t('createTime'), filter: timeFilter },
{ prop: 'name', name: '属性名称' },
{ prop: 'name', name: i18n.t('attrName') },
{ prop: 'code', name: '属性编码' },
{ prop: 'productId', name: '产品id' },
{ prop: 'value', name: '属性值' },
{ prop: 'value', name: i18n.t('attrValue') },
{ prop: 'description', name: i18n.t('desc') },
{ prop: 'operations', name: i18n.t('handle'), fixed: 'right', width: 180, subcomponent: TableOperateComponent, options: ['edit', 'delete'] }
]
@@ -52,7 +52,7 @@ const addOrUpdateConfigs = {
fields: [
{
name: 'name',
label: '属性名称',
label: i18n.t('attrName'),
placeholder: '请输入属性名称'
},
{
@@ -68,7 +68,7 @@ const addOrUpdateConfigs = {
},
{
name: 'value',
label: '属性值',
label: i18n.t('attrValue'),
placeholder: '请输入属性值'
},
{