update 选标准抽屉:文本状态改成标准状态

This commit is contained in:
赵霄
2023-09-21 17:32:39 +08:00
parent a609348cbf
commit f0d3844028
3 changed files with 22 additions and 3 deletions
@@ -95,6 +95,7 @@ export default {
total: 0 total: 0
}, },
columns: [ columns: [
// 标准号
{ {
title: this.$t('number'), title: this.$t('number'),
dataIndex: 'standardNumber', dataIndex: 'standardNumber',
@@ -102,6 +103,7 @@ export default {
align: 'center', align: 'center',
width: 150 width: 150
}, },
// 标准名称
{ {
title: this.$t('title'), title: this.$t('title'),
dataIndex: 'standardName', dataIndex: 'standardName',
@@ -109,8 +111,17 @@ export default {
align: 'center', align: 'center',
width: 150 width: 150
}, },
// 发布日期
{ {
title: this.$t('standardSelect.textState'), title: this.$t('standardSelect.releaseDate'),
dataIndex: 'releaseDate',
align: 'center',
width: 120,
scopedSlots: { customRender: 'text' }
},
// 标准状态
{
title: this.$t('projectLibrary.vehicleItemLibrary.standardState'),
dataIndex: 'standardState_dictText', dataIndex: 'standardState_dictText',
align: 'center', align: 'center',
width: 150 width: 150
@@ -108,6 +108,7 @@ export default {
total: 0 total: 0
}, },
columns: [ columns: [
// 标准号
{ {
title: this.$t('standardSelect.standardNumber'), title: this.$t('standardSelect.standardNumber'),
dataIndex: 'standardNumber', dataIndex: 'standardNumber',
@@ -115,6 +116,7 @@ export default {
width: 150, width: 150,
scopedSlots: { customRender: 'detail' } scopedSlots: { customRender: 'detail' }
}, },
// 标准名称
{ {
title: this.$t('standardSelect.standardName'), title: this.$t('standardSelect.standardName'),
dataIndex: 'standardName', dataIndex: 'standardName',
@@ -122,6 +124,7 @@ export default {
width: 150, width: 150,
scopedSlots: { customRender: 'detail' } scopedSlots: { customRender: 'detail' }
}, },
// 发布日期
{ {
title: this.$t('standardSelect.releaseDate'), title: this.$t('standardSelect.releaseDate'),
dataIndex: 'releaseDate', dataIndex: 'releaseDate',
@@ -129,8 +132,9 @@ export default {
width: 120, width: 120,
scopedSlots: { customRender: 'text' } scopedSlots: { customRender: 'text' }
}, },
// 标准状态
{ {
title: this.$t('standardSelect.textState'), title: this.$t('projectLibrary.vehicleItemLibrary.standardState'),
dataIndex: 'standardState_dictText', dataIndex: 'standardState_dictText',
align: 'center', align: 'center',
width: 120, width: 120,
@@ -108,6 +108,7 @@ export default {
total: 0 total: 0
}, },
columns: [ columns: [
// 标准号
{ {
title: this.$t('standardSelect.standardNumber'), title: this.$t('standardSelect.standardNumber'),
dataIndex: 'standardNumber', dataIndex: 'standardNumber',
@@ -115,6 +116,7 @@ export default {
width: 150, width: 150,
scopedSlots: { customRender: 'detail' } scopedSlots: { customRender: 'detail' }
}, },
// 标准名称
{ {
title: this.$t('standardSelect.standardName'), title: this.$t('standardSelect.standardName'),
dataIndex: 'standardName', dataIndex: 'standardName',
@@ -122,6 +124,7 @@ export default {
width: 150, width: 150,
scopedSlots: { customRender: 'detail' } scopedSlots: { customRender: 'detail' }
}, },
// 发布日期
{ {
title: this.$t('standardSelect.releaseDate'), title: this.$t('standardSelect.releaseDate'),
dataIndex: 'releaseDate', dataIndex: 'releaseDate',
@@ -129,8 +132,9 @@ export default {
width: 120, width: 120,
scopedSlots: { customRender: 'text' } scopedSlots: { customRender: 'text' }
}, },
// 标准状态
{ {
title: this.$t('standardSelect.textState'), title: this.$t('projectLibrary.vehicleItemLibrary.standardState'),
dataIndex: 'standardState_dictText', dataIndex: 'standardState_dictText',
align: 'center', align: 'center',
width: 120, width: 120,