Files
qhmes/jeecgboot-vue3/src/views/super/airag/aiprompts/AiragExtData.data.ts
2026-04-03 09:56:14 +08:00

62 lines
1.2 KiB
Vue
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
import { BasicColumn } from '/@/components/Table';
import { FormSchema } from '/@/components/Table';
//列表数据
export const columns: BasicColumn[] = [
{
title: '名称',
align: 'center',
dataIndex: 'name',
},
{
title: '描述信息',
align: 'center',
dataIndex: 'descr',
},
];
//查询数据
export const searchFormSchema: FormSchema[] = [
{
label: '名称',
field: 'name',
component: 'Input',
colProps: {
span: 6,
},
},
];
//表单数据
export const formSchema: FormSchema[] = [
{
label: '业务类型标识',
field: 'bizType',
component: 'Input',
defaultValue: 'evaluator',
show: false,
},
{
label: '名称',
field: 'name',
component: 'Input',
},
{
label: '描述信息',
field: 'descr',
component: 'InputTextArea',
},
{
label: '',
field: 'id',
component: 'Input',
show: false,
},
];
/**
* 流程表单调用这个方法获取formSchema
* @param param
*/
export function getBpmFormSchema(_formData): FormSchema[] {
// 默认和原始表单保持一致 如果流程中配置了权限数据这里需要单独处理formSchema
return formSchema;
}