爬虫实现,修改class转样式,前端渲染
This commit is contained in:
@@ -64,7 +64,7 @@ export interface CrontabLog extends BaseDTO {
|
||||
methodName?: string;
|
||||
/** 方法参数 */
|
||||
methodParams?: string;
|
||||
/** 执行状态(0:失败 1:成功) */
|
||||
/** 执行状态(0:失败 1:成功 2运行中) */
|
||||
executeStatus?: number;
|
||||
/** 执行结果信息 */
|
||||
executeMessage?: string;
|
||||
@@ -162,11 +162,38 @@ export interface CrontabParam {
|
||||
name: string;
|
||||
/** 参数描述 */
|
||||
description: string;
|
||||
/** 参数类型 */
|
||||
type: string;
|
||||
/**
|
||||
* 前端渲染的组件类型
|
||||
* - Input: 文本输入框
|
||||
* - InputNumber: 数字输入框
|
||||
* - DatePicker: 日期选择器
|
||||
* - DateRangePicker: 日期范围选择器
|
||||
* - Switch: 布尔开关
|
||||
* - Select: 下拉选择器
|
||||
*/
|
||||
type: 'Input' | 'InputNumber' | 'DatePicker' | 'DateRangePicker' | 'Switch' | 'Select';
|
||||
/**
|
||||
* 参数值的数据类型(后端处理使用)
|
||||
* - String: 字符串
|
||||
* - Integer: 整数
|
||||
* - Boolean: 布尔值
|
||||
*/
|
||||
valueType: 'String' | 'Integer' | 'Boolean';
|
||||
/** 默认值 */
|
||||
value: any;
|
||||
/** 是否必填 */
|
||||
required: boolean;
|
||||
/** Select类型的选项列表 */
|
||||
options?: Array<{
|
||||
/** 选项显示文本 */
|
||||
label: string;
|
||||
/** 选项值 */
|
||||
value: string;
|
||||
}>;
|
||||
/** DateRangePicker的开始日期参数名(如:startDate, start) */
|
||||
startKey?: string;
|
||||
/** DateRangePicker的结束日期参数名(如:endDate, end) */
|
||||
endKey?: string;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user