(create)新增项目所属文档片段crud

This commit is contained in:
2024-07-25 18:51:12 +08:00
parent 3c32e70977
commit 7aecdb2df6
20 changed files with 231 additions and 61 deletions

View File

@@ -32,6 +32,9 @@ let beiceType = [
const crudOptions = ref({
api: dutApi.getDutList,
add: { show: true, api: dutApi.save, text: "新增被测件" },
afterDelete(response) {
crudRef.value.setSelecteds([])
},
// 处理添加后函数
beforeOpenAdd: function () {
let round_str = parseInt(route.query.key) + 1