|
|
@@ -35,7 +35,7 @@
|
|
|
<el-button
|
|
|
type="danger"
|
|
|
link
|
|
|
- @click="handleReset"
|
|
|
+ @click="handleDelete(row)"
|
|
|
:disabled="row.exportStatus == 1"
|
|
|
>[删除]</el-button
|
|
|
>
|
|
|
@@ -126,6 +126,14 @@
|
|
|
download(res.data, row.fileName);
|
|
|
}
|
|
|
|
|
|
+ //删除
|
|
|
+ function handleDelete(row) {
|
|
|
+ pageRef.value?.messageBoxConfirm({
|
|
|
+ message: '确定删除吗?',
|
|
|
+ fetch: ()=>request.get('/common/exportrecord/deleteRecord?id=' + row.id)
|
|
|
+ });
|
|
|
+ }
|
|
|
+
|
|
|
defineExpose({
|
|
|
handleOpen
|
|
|
});
|