This commit is contained in:
2025-04-02 19:16:28 +08:00
parent 9d3945413a
commit e43f9230eb
31 changed files with 513 additions and 188 deletions

View File

@@ -137,7 +137,6 @@ const crudOptions = ref({
projectId: route.query.id,
key: route.query.key
},
showTools: false, // 不显示工具栏
operationColumn: true,
operationColumnAlign: "center", // 操作列居中
isDbClickEdit: false, // 双击不编辑当前列

View File

@@ -124,7 +124,6 @@ const crudOptions = ref({
return tableData
},
showIndex: false,
showTools: false,
operationColumnAlign: "center",
rowSelection: { showCheckedAll: true },
searchColNumber: 3,

View File

@@ -48,7 +48,6 @@ export default function (crudRef: Ref<InstanceType<typeof MaCrud>>) {
add: { show: true, api: testDemandApi.save, text: "新增测试项" },
edit: { show: true, api: testDemandApi.update, text: "修改测试项" },
delete: { show: true, api: testDemandApi.delete },
showTools: false,
beforeOpenAdd: function () {
// 1.新增则将form的content数据变为undifined以便判断
beforeFormContent = undefined

View File

@@ -68,7 +68,6 @@ export default function (crudRef: Ref<InstanceType<typeof MaCrud>>) {
formOption: {
width: 1200
},
showTools: false
})
return crudOptions
}

View File

@@ -54,7 +54,6 @@ export default function (crudRef: Ref<InstanceType<typeof MaCrud>>) {
},
operationWidth: 500,
showIndex: false,
showTools: false,
rowSelection: { showCheckedAll: true },
searchColNumber: 3,
tablePagination: false,

View File

@@ -106,7 +106,6 @@ export default function (crudRef: Ref<InstanceType<typeof MaCrud>>) {
testDemand: testDemandNumber
},
showIndex: false,
showTools: false,
rowSelection: { showCheckedAll: true },
searchColNumber: 3,
tablePagination: false,