Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
so-manage-ui
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
smart-operation
so-manage-ui
Commits
0ceda97b
Commit
0ceda97b
authored
Jul 27, 2023
by
张耀
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:
优化
parent
341695fa
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
3 additions
and
1 deletion
+3
-1
src/page/main/forewarning/indicator-config/modules/add-form.vue
...ge/main/forewarning/indicator-config/modules/add-form.vue
+1
-0
src/page/main/forewarning/rule-set/modules/add-form.vue
src/page/main/forewarning/rule-set/modules/add-form.vue
+1
-0
src/page/main/forewarning/rule-set/modules/custom.vue
src/page/main/forewarning/rule-set/modules/custom.vue
+1
-0
src/page/main/forewarning/rule-set/modules/gateway.vue
src/page/main/forewarning/rule-set/modules/gateway.vue
+0
-1
No files found.
src/page/main/forewarning/indicator-config/modules/add-form.vue
View file @
0ceda97b
...
@@ -148,6 +148,7 @@ const Submit = async () => {
...
@@ -148,6 +148,7 @@ const Submit = async () => {
...
table_form_ref
.
value
?.
form
,
...
table_form_ref
.
value
?.
form
,
};
};
}
}
ElMessage
.
error
(
"
有必填项没有填写
"
);
return
;
return
;
};
};
// 监听是否是编辑,是则插入原数据
// 监听是否是编辑,是则插入原数据
...
...
src/page/main/forewarning/rule-set/modules/add-form.vue
View file @
0ceda97b
...
@@ -186,6 +186,7 @@ const Submit = async () => {
...
@@ -186,6 +186,7 @@ const Submit = async () => {
manual_distribution_form
:
manual_distribution_form
.
value
?.
form
||
{},
manual_distribution_form
:
manual_distribution_form
.
value
?.
form
||
{},
};
};
}
}
ElMessage
.
error
(
"
有必填项没有填写
"
);
return
;
return
;
};
};
watch
(
watch
(
...
...
src/page/main/forewarning/rule-set/modules/custom.vue
View file @
0ceda97b
...
@@ -320,6 +320,7 @@ const changeWarningThresholdTo = (index) => {
...
@@ -320,6 +320,7 @@ const changeWarningThresholdTo = (index) => {
}
}
});
});
}
catch
(
e
)
{
}
catch
(
e
)
{
ElMessage
.
error
(
`该范围已被设置`
);
state
.
form
.
ruleRows
[
index
].
to
=
""
;
state
.
form
.
ruleRows
[
index
].
to
=
""
;
}
}
};
};
...
...
src/page/main/forewarning/rule-set/modules/gateway.vue
View file @
0ceda97b
...
@@ -260,7 +260,6 @@ const inputNum = (index, key) => {
...
@@ -260,7 +260,6 @@ const inputNum = (index, key) => {
.
replace
(
/
(\d)\-
/g
,
"
$1
"
);
//过滤处于非开头的负号
.
replace
(
/
(\d)\-
/g
,
"
$1
"
);
//过滤处于非开头的负号
};
};
const
changeWarningThresholdTo
=
(
index
)
=>
{
const
changeWarningThresholdTo
=
(
index
)
=>
{
console
.
log
(
1
);
let
{
down
,
up
}
=
limit
.
value
;
let
{
down
,
up
}
=
limit
.
value
;
let
{
from
,
to
}
=
state
.
form
.
ruleRows
[
index
];
let
{
from
,
to
}
=
state
.
form
.
ruleRows
[
index
];
if
(
to
!==
""
&&
from
!==
""
&&
from
>
+
to
)
{
if
(
to
!==
""
&&
from
!==
""
&&
from
>
+
to
)
{
...
...
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