1
0

feat(web): 适配flowable

This commit is contained in:
2025-01-08 10:41:40 +08:00
parent 0aa9ec738a
commit 509410de9a
16 changed files with 412 additions and 384 deletions

View File

@@ -31,7 +31,7 @@ export function tabCheck() {
stringField('modifiedUsername', '最后操作人', 100),
operationField('操作', undefined, [
{
visibleOn: "${type === 'CONFIRMATION' && state === 'CHECKING'}",
visibleOn: "${type === 'CONFIRMATION' && state === 'RUNNING'}",
type: 'action',
label: '处理',
level: 'link',
@@ -43,7 +43,7 @@ export function tabCheck() {
label: '同意',
actionType: 'ajax',
close: true,
api: apiGet('${base}/check_order/operation/${checkOrderId}/APPLY'),
api: apiGet('${base}/check_order/approve/${instanceId}'),
reload: 'check_order_list',
},
{
@@ -51,7 +51,7 @@ export function tabCheck() {
label: '拒绝',
actionType: 'ajax',
close: true,
api: apiGet('${base}/check_order/operation/${checkOrderId}/REJECT'),
api: apiGet('${base}/check_order/reject/${instanceId}'),
reload: 'check_order_list',
},
],
@@ -65,7 +65,7 @@ export function tabCheck() {
...confirmationDetailDialog('parameters.confirmationId'),
},
{
visibleOn: "${type === 'AUTHENTICATION' && state === 'CHECKING'}",
visibleOn: "${type === 'AUTHENTICATION' && state === 'RUNNING'}",
type: 'action',
label: '处理',
level: 'link',
@@ -77,7 +77,7 @@ export function tabCheck() {
label: '同意',
actionType: 'ajax',
close: true,
api: apiGet('${base}/check_order/operation/${checkOrderId}/APPLY'),
api: apiGet('${base}/check_order/approve/${instanceId}'),
reload: 'check_order_list',
},
{
@@ -85,7 +85,7 @@ export function tabCheck() {
label: '拒绝',
actionType: 'ajax',
close: true,
api: apiGet('${base}/check_order/operation/${checkOrderId}/REJECT'),
api: apiGet('${base}/check_order/reject/${instanceId}'),
reload: 'check_order_list',
},
],
@@ -99,7 +99,7 @@ export function tabCheck() {
...authenticationDetailDialog('parameters.authenticationId'),
},
{
visibleOn: "${type === 'MARKET' && state === 'CHECKING'}",
visibleOn: "${type === 'WARE' && state === 'RUNNING'}",
type: 'action',
label: '处理',
level: 'link',
@@ -111,7 +111,7 @@ export function tabCheck() {
label: '同意',
actionType: 'ajax',
close: true,
api: apiGet('${base}/check_order/operation/${checkOrderId}/APPLY'),
api: apiGet('${base}/check_order/approve/${instanceId}'),
reload: 'check_order_list',
},
{
@@ -119,14 +119,14 @@ export function tabCheck() {
label: '拒绝',
actionType: 'ajax',
close: true,
api: apiGet('${base}/check_order/operation/${checkOrderId}/REJECT'),
api: apiGet('${base}/check_order/reject/${instanceId}'),
reload: 'check_order_list',
},
],
),
},
{
visibleOn: "${type === 'MARKET' && state !== NORMAL}",
visibleOn: "${type === 'WARE' && state !== NORMAL}",
type: 'action',
label: '查看',
level: 'link',