保存进度
This commit is contained in:
@@ -59,6 +59,7 @@ Copyright © CPIC All rights reserved
|
||||
width="100%" stripe
|
||||
border="true"
|
||||
:head-cell-style="headerCellStyle"
|
||||
:row-class-name="tableRowClassName"
|
||||
empty-text="请上传文件"
|
||||
:data="ui.newRegulatory.regulatory_files"
|
||||
>
|
||||
@@ -168,6 +169,12 @@ export default {
|
||||
const onDeleteUploadedFile = ( rowId: any ): void =>
|
||||
{
|
||||
console.log( `点击的rowid:${rowId}` );
|
||||
ElMessage.info( `选取的行号${rowId}` );
|
||||
};
|
||||
|
||||
const tableRowClassName = ( row: any, rowIndex: any ): void =>
|
||||
{
|
||||
row.rowIndex = rowIndex;
|
||||
};
|
||||
|
||||
/**
|
||||
@@ -231,11 +238,12 @@ export default {
|
||||
}
|
||||
};
|
||||
|
||||
return {
|
||||
return {
|
||||
ui,
|
||||
headerCellStyle,
|
||||
cellStyle,
|
||||
onUploadSuccess,
|
||||
tableRowClassName,
|
||||
showUploadFileDialog,
|
||||
onDeleteUploadedFile,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user