feat(job): 支持可视化生成 CRON 表达式

This commit is contained in:
KAI
2024-10-10 05:52:46 +00:00
committed by Charles7c
parent 4a79040a7f
commit adcb9fed2a
17 changed files with 1271 additions and 20 deletions

View File

@@ -11,18 +11,15 @@
<script lang="ts" setup>
import type { LabelValueState } from '@/types/global'
import type { GiCellTagType } from '@/components/GiCell/type'
defineOptions({ name: 'GiCellTag' })
const props = defineProps({
dict: {
type: Array<LabelValueState>,
required: true
},
value: {
type: [Number, String],
required: true
}
const props = withDefaults(defineProps<Partial<GiCellTagType>>(), {
dict: [{
label: '',
value: ''
}],
value: ''
})
const dictItem = computed((): LabelValueState => {

View File

@@ -0,0 +1,6 @@
import type { LabelValueState } from '@/types/global'
export interface GiCellTagType {
dict: LabelValueState[] | any[]
value: number | string
}