Compare commits
2 Commits
c9ddc3b652
...
66eac77c96
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
66eac77c96 | ||
|
|
d8ba048c6d |
@@ -45,8 +45,8 @@ const menuGroups = [
|
|||||||
{
|
{
|
||||||
title: '数据治理',
|
title: '数据治理',
|
||||||
items: [
|
items: [
|
||||||
{ key: 'data-process', label: '数据处理', icon: 'fa-filter', to: '/data-process' },
|
|
||||||
{ key: 'dataset', label: '数据集管理', icon: 'fa-file-text', to: '/dataset' },
|
{ key: 'dataset', label: '数据集管理', icon: 'fa-file-text', to: '/dataset' },
|
||||||
|
{ key: 'data-process', label: '数据处理', icon: 'fa-filter', to: '/data-process' },
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -48,7 +48,7 @@ const WIZARD_STEPS = [
|
|||||||
const currentStep = ref(0)
|
const currentStep = ref(0)
|
||||||
const currentStepId = computed<StepId>(() => WIZARD_STEPS[currentStep.value]?.id ?? 'create')
|
const currentStepId = computed<StepId>(() => WIZARD_STEPS[currentStep.value]?.id ?? 'create')
|
||||||
const task = reactive({ name: '', description: '' })
|
const task = reactive({ name: '', description: '' })
|
||||||
const processType = ref<ProcessType>('unstructured')
|
const processType = ref<ProcessType>('structured')
|
||||||
const structuredOptions = ref<StructuredProcessOptions>(createDefaultStructuredOptions())
|
const structuredOptions = ref<StructuredProcessOptions>(createDefaultStructuredOptions())
|
||||||
const unstructuredOptions = ref<UnstructuredProcessOptions>(createDefaultUnstructuredOptions())
|
const unstructuredOptions = ref<UnstructuredProcessOptions>(createDefaultUnstructuredOptions())
|
||||||
const uploadedFiles = ref<UploadedDataFile[]>([])
|
const uploadedFiles = ref<UploadedDataFile[]>([])
|
||||||
|
|||||||
@@ -94,9 +94,9 @@ export function useDataProcessDraft(bindings: DraftBindings) {
|
|||||||
bindings.goToStep('create')
|
bindings.goToStep('create')
|
||||||
bindings.task.name = snapshot.task?.name || ''
|
bindings.task.name = snapshot.task?.name || ''
|
||||||
bindings.task.description = snapshot.task?.description || ''
|
bindings.task.description = snapshot.task?.description || ''
|
||||||
bindings.processType.value = snapshot.processType === 'structured' || snapshot.processType === 'external'
|
bindings.processType.value = snapshot.processType === 'unstructured' || snapshot.processType === 'external'
|
||||||
? snapshot.processType
|
? snapshot.processType
|
||||||
: 'unstructured'
|
: 'structured'
|
||||||
|
|
||||||
if (snapshot.structuredOptions) {
|
if (snapshot.structuredOptions) {
|
||||||
bindings.structuredOptions.value = {
|
bindings.structuredOptions.value = {
|
||||||
|
|||||||
Reference in New Issue
Block a user