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
e929b633
Commit
e929b633
authored
Sep 24, 2024
by
hubaoshan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
换然而站温度报警排序问题
parent
7721f82c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
33 additions
and
5 deletions
+33
-5
index.vue
src/views/AIStation/PipelineTempPage/index.vue
+7
-1
TransTempAlarmPage.vue
src/views/AIStation/TransTempPage/TransTempAlarmPage.vue
+19
-3
index.vue
src/views/AIStation/TransTempPage/index.vue
+7
-1
No files found.
src/views/AIStation/PipelineTempPage/index.vue
View file @
e929b633
...
@@ -385,11 +385,17 @@ watch(
...
@@ -385,11 +385,17 @@ watch(
/>
/>
</el-config-provider>
</el-config-provider>
</el-form-item>
</el-form-item>
<el-form-item>
<el-form-item
v-if=
"selectedBtn !== 3"
>
<el-button
type=
"primary"
@
click=
"search"
class=
"add-search-btn"
>
查询
</el-button>
<el-button
type=
"primary"
@
click=
"search"
class=
"add-search-btn"
>
查询
</el-button>
<el-button
type=
"primary"
@
click=
"resetSearch"
class=
"add-search-btn"
v-if=
"selectedBtn !== 3"
>
重置
</el-button>
<el-button
type=
"primary"
@
click=
"resetSearch"
class=
"add-search-btn"
v-if=
"selectedBtn !== 3"
>
重置
</el-button>
<el-button
type=
"primary"
@
click=
"handleExport()"
class=
"add-search-btn"
>
导出
</el-button>
<el-button
type=
"primary"
@
click=
"handleExport()"
class=
"add-search-btn"
>
导出
</el-button>
</el-form-item>
</el-form-item>
<div>
<el-form-item
v-if=
"selectedBtn === 3"
>
<el-button
type=
"primary"
@
click=
"search"
class=
"add-search-btn"
>
查询
</el-button>
<el-button
type=
"primary"
@
click=
"handleExport"
class=
"add-search-btn"
>
导出
</el-button>
</el-form-item>
</div>
</el-form>
</el-form>
</div>
</div>
<div>
<div>
...
...
src/views/AIStation/TransTempPage/TransTempAlarmPage.vue
View file @
e929b633
...
@@ -173,7 +173,19 @@ function handleStatus1() {
...
@@ -173,7 +173,19 @@ function handleStatus1() {
console
.
log
(
'?==========='
)
console
.
log
(
'?==========='
)
}
}
function
handleDetail
(
item
){
switch
(
item
)
{
case
0
:
statusData
.
value
=
TransTempAlarmData
.
value
.
filter
(
item
=>
item
.
handleStatus
===
0
);
break
;
case
1
:
statusData
.
value
=
TransTempAlarmData
.
value
.
filter
(
item
=>
item
.
handleStatus
===
1
);
break
;
default
:
// 可以处理其他情况或不做任何操作
break
;
}
}
</
script
>
</
script
>
<
template
>
<
template
>
...
@@ -184,7 +196,7 @@ function handleStatus1() {
...
@@ -184,7 +196,7 @@ function handleStatus1() {
:data=
"TransTempAlarmData"
:data=
"TransTempAlarmData"
border
border
style=
"width: 98%;margin-left: 15px"
style=
"width: 98%;margin-left: 15px"
height=
"calc(100vh -
28
0px)"
height=
"calc(100vh -
33
0px)"
:header-cell-class-name=
"tableHeaderClass"
:header-cell-class-name=
"tableHeaderClass"
:row-class-name=
"tableBodyClass"
:row-class-name=
"tableBodyClass"
@
sort-change=
"handleSortChange"
@
sort-change=
"handleSortChange"
...
@@ -228,7 +240,7 @@ function handleStatus1() {
...
@@ -228,7 +240,7 @@ function handleStatus1() {
</el-image>
</el-image>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"handleStatus"
align=
"center"
label=
"处理状态"
>
<el-table-column
prop=
"handleStatus"
align=
"center"
label=
"处理状态"
sortable
:sort-map=
"sortMapData"
>
<
template
#
header
>
<
template
#
header
>
<span>
处理状态
</span>
<span>
处理状态
</span>
<el-button
size=
"small"
@
click=
"handleStatus1"
>
操作
</el-button>
<el-button
size=
"small"
@
click=
"handleStatus1"
>
操作
</el-button>
...
@@ -262,6 +274,10 @@ function handleStatus1() {
...
@@ -262,6 +274,10 @@ function handleStatus1() {
width=
"1200px"
width=
"1200px"
:close-on-click-modal=
"false"
:close-on-click-modal=
"false"
append-to-body
>
append-to-body
>
<div
style=
"margin-bottom: 20px;padding-left: 20px"
>
<el-button
type=
"primary"
@
click=
"handleDetail(0)"
>
未处理
</el-button>
<el-button
type=
"primary"
@
click=
"handleDetail(1)"
>
已处理
</el-button>
</div>
<el-table
<el-table
:data=
"statusData"
:data=
"statusData"
border
border
...
...
src/views/AIStation/TransTempPage/index.vue
View file @
e929b633
...
@@ -394,11 +394,17 @@ watch(
...
@@ -394,11 +394,17 @@ watch(
/>
/>
</el-config-provider>
</el-config-provider>
</el-form-item>
</el-form-item>
<el-form-item>
<el-form-item
v-if=
"selectedBtn !== 3"
>
<el-button
type=
"primary"
@
click=
"search"
class=
"add-search-btn"
>
查询
</el-button>
<el-button
type=
"primary"
@
click=
"search"
class=
"add-search-btn"
>
查询
</el-button>
<el-button
type=
"primary"
@
click=
"resetSearch"
class=
"add-search-btn"
v-if=
"selectedBtn !== 3"
>
重置
</el-button>
<el-button
type=
"primary"
@
click=
"resetSearch"
class=
"add-search-btn"
v-if=
"selectedBtn !== 3"
>
重置
</el-button>
<el-button
type=
"primary"
@
click=
"handleExport"
class=
"add-search-btn"
>
导出
</el-button>
<el-button
type=
"primary"
@
click=
"handleExport"
class=
"add-search-btn"
>
导出
</el-button>
</el-form-item>
</el-form-item>
<div>
<el-form-item
v-if=
"selectedBtn === 3"
>
<el-button
type=
"primary"
@
click=
"search"
class=
"add-search-btn"
>
查询
</el-button>
<el-button
type=
"primary"
@
click=
"handleExport"
class=
"add-search-btn"
>
导出
</el-button>
</el-form-item>
</div>
</el-form>
</el-form>
</div>
</div>
<div>
<div>
...
...
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