generated from template/apps-template
119 lines
2.7 KiB
TypeScript
119 lines
2.7 KiB
TypeScript
import { CreateColumnData } from "@kevisual/noco"
|
|
export const columns: CreateColumnData[] = [
|
|
{
|
|
title: 'Id2',
|
|
// uidt: "ID",
|
|
uidt: "ID",
|
|
pk: true,
|
|
pv: true,
|
|
},
|
|
{
|
|
|
|
title: '标题',
|
|
uidt: 'SingleLineText',
|
|
description: '简单的标题',
|
|
},
|
|
{
|
|
title: '标签',
|
|
uidt: 'MultiSelect',
|
|
description: '标签分类,对每一条数据的标签定义,快速分类和筛选',
|
|
},
|
|
{
|
|
title: '总结',
|
|
uidt: 'LongText',
|
|
description: '概览性总结',
|
|
},
|
|
{
|
|
title: '描述',
|
|
uidt: 'LongText',
|
|
description: '长文本描述',
|
|
},
|
|
{
|
|
title: '数据',
|
|
uidt: 'JSON',
|
|
description: '扩列数据,存储更多的自定义信息',
|
|
},
|
|
{
|
|
title: '链接',
|
|
uidt: 'URL',
|
|
description: '快速跳转链接,默认为空,比如我这里是一个人生日程的链接,在外部打开',
|
|
},
|
|
{
|
|
title: '类型',
|
|
uidt: 'SingleSelect',
|
|
description: '任务类型:备忘和其他,如果是备忘,只做记录,如果是其他的,属于任务管理,到达对应的时间,进行任务提醒,归档是自己不再查询。',
|
|
cdf: '备忘',
|
|
colOptions: {
|
|
// 每日,每周,每月,每年,一次性,备忘,归档,智能
|
|
options: [
|
|
{
|
|
title: '每日',
|
|
},
|
|
{
|
|
title: '每周',
|
|
},
|
|
{
|
|
title: '每月',
|
|
},
|
|
{
|
|
title: '每年',
|
|
},
|
|
{
|
|
title: '每年农历',
|
|
},
|
|
{
|
|
title: '备忘',
|
|
},
|
|
{
|
|
title: '归档',
|
|
},
|
|
{
|
|
title: '智能',
|
|
},
|
|
]
|
|
},
|
|
},
|
|
{
|
|
title: '启动时间',
|
|
description: '任务启动的时间点, 下次启动的时间点。到达当天,显示当天的任务,然后如果执行了,如果是循环周期任务,更新下次启动时间。',
|
|
uidt: 'DateTime',
|
|
},
|
|
{
|
|
title: '任务',
|
|
uidt: 'MultiSelect',
|
|
description: '任务状态,如果是任务,需要判断运行还是非运行中',
|
|
cdf: '非任务',
|
|
colOptions: {
|
|
// 非任务, 运行中,已停止,个人计划,已完成
|
|
options: [
|
|
{
|
|
title: '非任务',
|
|
},
|
|
{
|
|
title: '运行中',
|
|
},
|
|
{
|
|
title: '已停止',
|
|
},
|
|
{
|
|
title: '个人计划',
|
|
},
|
|
{
|
|
title: '已完成',
|
|
},
|
|
{
|
|
title: 'AI自动化'
|
|
}
|
|
]
|
|
},
|
|
},
|
|
{
|
|
title: '任务结果',
|
|
description: '任务结果描述, 执行后回馈',
|
|
uidt: 'LongText'
|
|
},
|
|
{
|
|
title: '提示词',
|
|
uidt: 'LongText',
|
|
description: '和AI交互时候简单的实时提示词',
|
|
}] |