Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
web-project
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
海康威视
web-project
Commits
b6ce2dba
Commit
b6ce2dba
authored
Aug 13, 2024
by
xuke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交-报警参数
parent
8e9e3661
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
AlarmStatusPage.vue
src/views/AlarmPage/AlarmStatusPage.vue
+7
-1
No files found.
src/views/AlarmPage/AlarmStatusPage.vue
View file @
b6ce2dba
...
...
@@ -187,7 +187,10 @@
<table
cellpadding=
"0"
cellspacing=
"0"
>
<tr>
<td
style=
"text-align: left"
>
<el-input
style=
"width: 80%"
type=
"textarea"
rows=
"6"
v-model=
"addParams.alarmPlan"
></el-input>
<el-form-item
prop=
"alarmPlan"
>
<el-input
style=
"width: 80%"
type=
"textarea"
rows=
"6"
v-model=
"addParams.alarmPlan"
></el-input>
</el-form-item>
</td>
</tr>
</table>
...
...
@@ -588,6 +591,9 @@ const rules = reactive({
],
downMost
:
[
{
pattern
:
/^
(\d{1,5})(\.[
0-9
]{1,4})?
$/
,
"message"
:
"下下限值是 1-10位实数"
,
trigger
:
"blur"
}
],
alarmPlan
:
[
{
pattern
:
/^.
{1,50}
$/
,
"message"
:
"报警预案是 1-50位字符"
,
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