This commit is contained in:
2023-08-02 20:48:36 +08:00
parent d8daf0e81c
commit dc2a733a23
2 changed files with 36 additions and 3 deletions

View File

@@ -20,6 +20,9 @@ const testDemandNumber = route.query.key.split("-")[3]
// crud设置
const crudOptions = ref({
api: caseApi.getCaseList,
add: { show: true, api: caseApi.save },
edit: { show: true, api: caseApi.update },
delete: { show: true, api: caseApi.delete },
parameters: {
projectId: route.query.id,
round: roundNumber,
@@ -29,9 +32,6 @@ const crudOptions = ref({
},
showIndex: false,
rowSelection: { showCheckedAll: true },
add: { show: true },
edit: { show: true },
delete: { show: true },
searchColNumber: 3,
tablePagination: false,
operationColumn: true,