This commit is contained in:
2026-07-21 13:20:06 +08:00
parent 76df2b9cd2
commit e50d1b8fda
21 changed files with 714 additions and 129 deletions

View File

@@ -73,6 +73,12 @@
<span>{{ formatAttachments(row.attachments) }}</span>
</template>
</avue-crud>
<empty-pagination
:page="page"
@size-change="sizeChange"
@current-change="currentChange"
@load="onLoad(page, query)"
/>
<el-dialog title="事故记录数据导入" append-to-body v-model="excelBox" width="555px">
<avue-form :option="excelOption" v-model="excelForm" :upload-after="uploadAfter">
<template #excelTemplate>
@@ -235,6 +241,14 @@ export default {
this.$message.warning('保险理赔金额不能小于 0');
return false;
}
if (!row.accidentNature) {
this.$message.warning('请选择事故性质');
return false;
}
if (!row.accidentResponsibility) {
this.$message.warning('请选择事故责任');
return false;
}
if (
row.directEconomicLoss !== undefined &&
row.directEconomicLoss !== null &&
@@ -286,7 +300,7 @@ export default {
);
},
rowDel(row) {
this.$confirm('确定将选择数据删除?', {
this.$confirm('确定删除该条数据删除后不可恢复?', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning',
@@ -302,7 +316,7 @@ export default {
this.$message.warning('请选择至少一条数据');
return;
}
this.$confirm('确定将选择数据删除?', {
this.$confirm('确定删除所选数据删除后不可恢复?', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning',