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
f2b12dc2
Commit
f2b12dc2
authored
Sep 05, 2024
by
张伯涛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
年度参数,热指标和度日数标定值,范围限制改成大于等于0
parent
51bfe549
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
AnnualParamPage.vue
src/views/SchedulingPage/AnnualParamPage.vue
+6
-6
No files found.
src/views/SchedulingPage/AnnualParamPage.vue
View file @
f2b12dc2
...
...
@@ -235,9 +235,9 @@ function onReviseSubmit() {
})
return
}
if
(
Number
(
reviseForm
.
value
.
standard
)
>
100
||
Number
(
reviseForm
.
value
.
standard
)
<
0
){
if
(
Number
(
reviseForm
.
value
.
standard
)
<
0
){
ElMessage
({
message
:
'热指标不能
大于100或
小于0'
,
message
:
'热指标不能小于0'
,
type
:
'error'
,
})
return
...
...
@@ -314,9 +314,9 @@ function onAddSubmit() { // 提交新增
addSaveBtnLoading
.
value
=
false
return
}
if
(
Number
(
addForm
.
value
.
standard
)
>
100
||
Number
(
addForm
.
value
.
standard
)
<
0
){
if
(
Number
(
addForm
.
value
.
standard
)
<
0
){
ElMessage
({
message
:
'热指标不能
大于100或
小于0'
,
message
:
'热指标不能小于0'
,
type
:
'error'
,
})
addSaveBtnLoading
.
value
=
false
...
...
@@ -519,7 +519,7 @@ function getSupply() {
<el-col
:span=
"8"
col-label
>
度日数标定值:
</el-col>
<el-col
:span=
"16"
col-value
>
<el-form-item
prop=
"degreeStandard"
style=
"margin: 0;padding: 0"
>
<el-input
maxlength=
"10"
v-model=
"reviseForm.degreeStandard"
placeholder=
""
<el-input
v-float-number
maxlength=
"10"
v-model=
"reviseForm.degreeStandard"
placeholder=
""
style=
"width: 290px"
/>
</el-form-item>
</el-col>
...
...
@@ -605,7 +605,7 @@ function getSupply() {
<el-col
:span=
"8"
col-label
>
度日数标定值:
</el-col>
<el-col
:span=
"16"
col-value
>
<el-form-item
prop=
"degreeStandard"
style=
"margin: 0;padding: 0"
>
<el-input
maxlength=
"10"
v-model=
"addForm.degreeStandard"
placeholder=
""
<el-input
v-float-number
maxlength=
"10"
v-model=
"addForm.degreeStandard"
placeholder=
""
style=
"width: 290px"
/>
</el-form-item>
</el-col>
...
...
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