【变更】 新增证书增加证书文件上传

This commit is contained in:
fengachen
2022-03-23 17:31:14 +08:00
parent b05282ab0a
commit d71919cbb7
2 changed files with 66 additions and 22 deletions
@@ -210,6 +210,7 @@ export default {
key: 'rowIndex',
width: 60,
align: 'center',
fixed: 'left',
customRender: function(t, r, index) {
return parseInt(index) + 1
}
@@ -217,11 +218,14 @@ export default {
{
title: '单位全称',
align: 'center',
dataIndex: 'companyName'
width: 160,
dataIndex: 'companyName',
fixed:'left'
},
{
title: '证书类型',
align: 'center',
width: 260,
dataIndex: 'certificateType',
customRender: function(text) {
if (text === 1) {
@@ -235,16 +239,19 @@ export default {
title: '证书代码',
align: 'center',
dataIndex: 'code',
width: 140,
scopedSlots: { customRender: 'codeState' }
},
{
title: '发证时间',
align: 'center',
dataIndex: 'certificationDate'
dataIndex: 'certificationDate',
width: 170
},
{
title: '生效日期',
align: 'center',
width: 170,
dataIndex: 'effectDate',
customRender: function(text) {
return !text ? '' : (text.length > 10 ? text.substr(0, 10) : text)
@@ -254,6 +261,7 @@ export default {
title: '失效日期',
align: 'center',
dataIndex: 'invalidDate',
width: 160,
customRender: function(text) {
return !text ? '' : (text.length > 10 ? text.substr(0, 10) : text)
}
@@ -262,6 +270,7 @@ export default {
title: '备案通知书',
align: 'center',
dataIndex: 'noticeOfFiling',
width: 120,
customRender: function(text) {
if (text === 1) {
return '是'
@@ -275,12 +284,14 @@ export default {
{
title: '状态',
align: 'center',
width: 140,
dataIndex: 'certificateStatus',
scopedSlots: { customRender: 'customRenderStatus' }
},
{
title: '证书形式',
align: 'center',
width: 120,
dataIndex: 'certificateModality',
customRender: function(text) {
if (text === 1) {
@@ -298,7 +309,7 @@ export default {
title: '操作',
dataIndex: 'action',
align: 'center',
// fixed:"right",
fixed:'right',
width: 147,
scopedSlots: { customRender: 'action' }
}