1
0

feat(web): 优化统一的Controller和Service接口

This commit is contained in:
2024-11-26 19:44:35 +08:00
parent 851fc02ce5
commit 7584ca3736
15 changed files with 612 additions and 250 deletions

View File

@@ -1,5 +1,5 @@
import './dialog-permission.css'
import {horizontalFormOptions} from "../constants.js";
import {apiPost, horizontalFormOptions} from "../constants.js";
function detailForm() {
return {
@@ -14,6 +14,11 @@ function detailForm() {
type: 'hidden',
name: 'id',
},
{
type: 'textarea',
label: '确权说明',
name: 'description',
}
]
}
}
@@ -38,7 +43,7 @@ export function permissionAddDialog() {
body: {
debug: true,
...detailForm(),
// api: apiPost('${base}/data_resource/save'),
api: apiPost('${base}/confirmation/save'),
data: {
add: true,
},