feat(web): 优化统一的Controller和Service接口
This commit is contained in:
@@ -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,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user