feat(web): 增加审核详情查看
This commit is contained in:
@@ -7,7 +7,7 @@ import {
|
|||||||
mappingField,
|
mappingField,
|
||||||
operationField,
|
operationField,
|
||||||
stringField,
|
stringField,
|
||||||
timeField
|
timeField,
|
||||||
} from "../../components/constants.js";
|
} from "../../components/constants.js";
|
||||||
import {permissionDetailDialog} from "../../components/permission/dialog-permission.js";
|
import {permissionDetailDialog} from "../../components/permission/dialog-permission.js";
|
||||||
|
|
||||||
@@ -19,6 +19,7 @@ export function tabCheck() {
|
|||||||
reload: true,
|
reload: true,
|
||||||
body: [
|
body: [
|
||||||
{
|
{
|
||||||
|
name: 'check_order_list',
|
||||||
type: 'crud',
|
type: 'crud',
|
||||||
api: apiGet('${base}/check_order/list'),
|
api: apiGet('${base}/check_order/list'),
|
||||||
...crudCommonOptions(),
|
...crudCommonOptions(),
|
||||||
@@ -46,20 +47,31 @@ export function tabCheck() {
|
|||||||
type: 'action',
|
type: 'action',
|
||||||
label: '同意',
|
label: '同意',
|
||||||
actionType: 'ajax',
|
actionType: 'ajax',
|
||||||
api: apiGet('${base}/check_order/operation/${checkOrderId}/APPLY')
|
close: true,
|
||||||
|
api: apiGet('${base}/check_order/operation/${checkOrderId}/APPLY'),
|
||||||
|
reload: 'check_order_list',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
type: 'action',
|
type: 'action',
|
||||||
label: '拒绝',
|
label: '拒绝',
|
||||||
actionType: 'ajax',
|
actionType: 'ajax',
|
||||||
api: apiGet('${base}/check_order/operation/${checkOrderId}/REJECT')
|
close: true,
|
||||||
}
|
api: apiGet('${base}/check_order/operation/${checkOrderId}/REJECT'),
|
||||||
]
|
reload: 'check_order_list',
|
||||||
|
},
|
||||||
|
],
|
||||||
),
|
),
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
visibleOn: '${over}',
|
||||||
|
type: 'action',
|
||||||
|
label: '查看',
|
||||||
|
level: 'link',
|
||||||
|
...permissionDetailDialog('parameters.confirmationId'),
|
||||||
|
},
|
||||||
]),
|
]),
|
||||||
]
|
],
|
||||||
}
|
},
|
||||||
]
|
],
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -36,6 +36,7 @@ import org.springframework.data.jpa.domain.support.AuditingEntityListener;
|
|||||||
@Table(name = Constants.TABLE_PREFIX + "check_order")
|
@Table(name = Constants.TABLE_PREFIX + "check_order")
|
||||||
@NamedEntityGraph(name = "check_order.list", attributeNodes = {
|
@NamedEntityGraph(name = "check_order.list", attributeNodes = {
|
||||||
@NamedAttributeNode(value = "createdUser"),
|
@NamedAttributeNode(value = "createdUser"),
|
||||||
|
@NamedAttributeNode(value = "modifiedUser"),
|
||||||
})
|
})
|
||||||
@NamedEntityGraph(name = "check_order.detail", attributeNodes = {
|
@NamedEntityGraph(name = "check_order.detail", attributeNodes = {
|
||||||
@NamedAttributeNode(value = "createdUser"),
|
@NamedAttributeNode(value = "createdUser"),
|
||||||
|
|||||||
Reference in New Issue
Block a user