mirror of
https://gitee.com/dapppp/ruoyi-plus-vben5.git
synced 2026-04-09 14:43:15 +08:00
refactor: fallow flow update
This commit is contained in:
@@ -21,7 +21,7 @@ const params = {
|
|||||||
Authorization: `Bearer ${accessStore.accessToken}`,
|
Authorization: `Bearer ${accessStore.accessToken}`,
|
||||||
id: definitionId,
|
id: definitionId,
|
||||||
clientid: clientId,
|
clientid: clientId,
|
||||||
disabled,
|
onlyDesignShow: disabled,
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -5,6 +5,17 @@ import { OptionsTag } from '#/components/table';
|
|||||||
|
|
||||||
import { publishStatusOptions } from './constant';
|
import { publishStatusOptions } from './constant';
|
||||||
|
|
||||||
|
export const designerModeOptions = [
|
||||||
|
{
|
||||||
|
label: '经典模式',
|
||||||
|
value: 'CLASSICS',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
label: '仿钉钉模式',
|
||||||
|
value: 'MIMIC',
|
||||||
|
},
|
||||||
|
];
|
||||||
|
|
||||||
export const querySchema: FormSchemaGetter = () => [
|
export const querySchema: FormSchemaGetter = () => [
|
||||||
{
|
{
|
||||||
component: 'Input',
|
component: 'Input',
|
||||||
@@ -30,6 +41,11 @@ export const columns: VxeGridProps['columns'] = [
|
|||||||
title: '流程code',
|
title: '流程code',
|
||||||
minWidth: 150,
|
minWidth: 150,
|
||||||
},
|
},
|
||||||
|
// {
|
||||||
|
// field: 'modelValue',
|
||||||
|
// title: '设计器模式',
|
||||||
|
// minWidth: 150,
|
||||||
|
// },
|
||||||
{
|
{
|
||||||
field: 'version',
|
field: 'version',
|
||||||
title: '版本号',
|
title: '版本号',
|
||||||
@@ -94,6 +110,17 @@ export const modalSchema: FormSchemaGetter = () => [
|
|||||||
label: '流程名称',
|
label: '流程名称',
|
||||||
rules: 'required',
|
rules: 'required',
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
component: 'RadioGroup',
|
||||||
|
fieldName: 'modelValue',
|
||||||
|
label: '设计器模式',
|
||||||
|
componentProps: {
|
||||||
|
options: designerModeOptions,
|
||||||
|
optionType: 'button',
|
||||||
|
buttonStyle: 'solid',
|
||||||
|
},
|
||||||
|
rules: 'selectRequired',
|
||||||
|
},
|
||||||
{
|
{
|
||||||
component: 'Input',
|
component: 'Input',
|
||||||
fieldName: 'formPath',
|
fieldName: 'formPath',
|
||||||
|
|||||||
Reference in New Issue
Block a user