Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
super-hive-web
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Container Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
SuperHive
front-end
super-hive-web
Commits
dce6bc84
Commit
dce6bc84
authored
Aug 11, 2020
by
wends
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update 新增数据模型时增加必填项提示
parent
05bd4021
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
AddOrUpdate.vue
src/views/data-management/model-management/AddOrUpdate.vue
+11
-0
No files found.
src/views/data-management/model-management/AddOrUpdate.vue
View file @
dce6bc84
...
@@ -9,14 +9,17 @@
...
@@ -9,14 +9,17 @@
ref=
"modelForm"
ref=
"modelForm"
:model=
"modelForm"
:model=
"modelForm"
label-width=
"90px"
label-width=
"90px"
:rules=
"rules"
>
>
<el-form-item
<el-form-item
label=
"模型名称:"
label=
"模型名称:"
prop=
"name"
>
>
<el-input
v-model=
"modelForm.name"
style=
"width: 400px"
/>
<el-input
v-model=
"modelForm.name"
style=
"width: 400px"
/>
</el-form-item>
</el-form-item>
<el-form-item
<el-form-item
label=
"描述:"
label=
"描述:"
prop=
"description"
>
>
<el-input
v-model=
"modelForm.description"
type=
"textarea"
:rows=
"4"
style=
"width: 400px"
/>
<el-input
v-model=
"modelForm.description"
type=
"textarea"
:rows=
"4"
style=
"width: 400px"
/>
</el-form-item>
</el-form-item>
...
@@ -190,6 +193,14 @@ export default {
...
@@ -190,6 +193,14 @@ export default {
hasInstance
:
false
,
hasInstance
:
false
,
instanceCount
:
null
,
instanceCount
:
null
,
propertyList
:
[]
propertyList
:
[]
},
rules
:
{
name
:
[
{
required
:
true
,
message
:
'
请输入模型名称
'
,
trigger
:
'
blur
'
}
],
description
:
[
{
required
:
true
,
message
:
'
请输入描述
'
,
trigger
:
'
blur
'
}
]
}
}
}
}
},
},
...
...
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