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