Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
W
web-monitor
Project
Project
Details
Activity
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
Administrator
web-monitor
Commits
4f6e02dd
Commit
4f6e02dd
authored
Feb 11, 2025
by
dupengyu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
告警值
parent
abc46f41
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
11 deletions
+15
-11
index.vue
src/views/alarm/cableTime/index.vue
+14
-10
vue.config.js
vue.config.js
+1
-1
No files found.
src/views/alarm/cableTime/index.vue
View file @
4f6e02dd
...
@@ -71,22 +71,16 @@
...
@@ -71,22 +71,16 @@
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
<el-table-column
prop=
"alarm
Level
"
prop=
"alarm
threshold
"
label=
"告警触发值"
label=
"告警触发值"
width=
"150"
width=
"150"
align=
"center"
align=
"center"
>
>
<
template
slot-scope=
"scope"
>
<
!-- <
template slot-scope="scope">
<div>
<div>
{{
{{ getAlarmLevelMenu(scope.row) }}
scope
.
row
.
alarmLevel
==
0
?
"1.5"
:
scope
.
row
.
alarmLevel
==
1
?
"1.8"
:
"2.0"
}}
</div>
</div>
</
template
>
</template>
-->
</el-table-column>
</el-table-column>
<el-table-column
<el-table-column
prop=
"lateUploadTime"
prop=
"lateUploadTime"
...
@@ -264,6 +258,16 @@ export default {
...
@@ -264,6 +258,16 @@ export default {
this
.
searchOption
=
this
.
$route
.
query
;
this
.
searchOption
=
this
.
$route
.
query
;
},
},
methods
:
{
methods
:
{
// getAlarmLevelMenu(e) {
// let num = "";
// if (e.alarmInfo && e.alarmInfo.length > 0) {
// num = e.alarmInfo.find((item) => item.level == e.alarmLevel).value;
// } else {
// num = e.alarmLevel == 0 ? "1.5" : e.alarmLevel == 1 ? "1.8" : "2.0";
// }
// return num;
// },
eliminate
(
row
)
{
eliminate
(
row
)
{
this
.
$confirm
(
"是否将该项警告消除?"
,
"提示"
,
{
this
.
$confirm
(
"是否将该项警告消除?"
,
"提示"
,
{
confirmButtonText
:
"确定"
,
confirmButtonText
:
"确定"
,
...
...
vue.config.js
View file @
4f6e02dd
...
@@ -10,7 +10,7 @@ const name = defaultSettings.title || '漏缆故障定位监测系统' // page t
...
@@ -10,7 +10,7 @@ const name = defaultSettings.title || '漏缆故障定位监测系统' // page t
const
port
=
process
.
env
.
port
||
process
.
env
.
npm_config_port
||
8890
// dev port
const
port
=
process
.
env
.
port
||
process
.
env
.
npm_config_port
||
8890
// dev port
// const href = 'http://101.126.159.207'
// const href = 'http://101.126.159.207'
const
href
=
'http://127.0.0.1'
const
href
=
'http://127.0.0.1'
// const href = 'http://192.168.0.1
20
'
// const href = 'http://192.168.0.1
15
'
const
rewriteDefaultConfig
=
{
const
rewriteDefaultConfig
=
{
changeOrigin
:
true
,
changeOrigin
:
true
,
...
...
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