Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
bigDataSystem
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张伯涛
bigDataSystem
Commits
fa784245
Commit
fa784245
authored
Nov 26, 2024
by
LiXuyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
任务流设计-任务配置-改
parent
c26f9af0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
+8
-3
design.data.ts
src/views/taskScheduling/taskFlowDesign/design.data.ts
+3
-1
taskModel.vue
src/views/taskScheduling/taskFlowDesign/taskModel.vue
+5
-2
No files found.
src/views/taskScheduling/taskFlowDesign/design.data.ts
View file @
fa784245
...
...
@@ -119,6 +119,7 @@ export const infoFormSchema: FormSchema[] = [
{
label
:
'调度周期'
,
field
:
'cycle'
,
required
:
true
,
labelWidth
:
150
,
show
:
({
model
})
=>
{
return
model
.
dispatch
;
...
...
@@ -145,10 +146,11 @@ export const infoFormSchema: FormSchema[] = [
{
label
:
'调度时间'
,
labelWidth
:
150
,
required
:
true
,
field
:
'time'
,
slot
:
'time'
,
show
:
({
model
})
=>
{
return
model
.
dispatch
;
return
model
.
dispatch
&&
model
.
cycle
;
},
colProps
:
{
lg
:
24
,
md
:
24
},
},
...
...
src/views/taskScheduling/taskFlowDesign/taskModel.vue
View file @
fa784245
...
...
@@ -397,7 +397,7 @@
}
}
//初始化表单
const
[
infoForm
,
{
resetFields
:
infoReset
,
validate
}]
=
useForm
({
const
[
infoForm
,
{
resetFields
:
infoReset
,
validate
,
getFieldsValue
:
getInfoValue
}]
=
useForm
({
labelWidth
:
100
,
baseColProps
:
{
lg
:
12
,
md
:
24
},
schemas
:
infoFormSchema
,
...
...
@@ -688,7 +688,10 @@
/**确定按钮*/
async
function
handleSubmit
()
{
await
validate
();
const
model
=
getInfoValue
();
if
(
model
.
dispatch
)
{
await
validate
();
}
closeModal
();
}
</
script
>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment