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
9dd157c6
Commit
9dd157c6
authored
Sep 24, 2024
by
hubaoshan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
所有页面(除了换热站温度报警信息和管道温度报警信息)的灰边问题,以及换热站温度的报警信息的处理状态加了一个(只看未处理报警信息)的按钮
parent
0a975ffd
Changes
22
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
22 changed files
with
546 additions
and
338 deletions
+546
-338
ExtinguisherAlarmPage.vue
...iews/AIStation/ExtinguisherPage/ExtinguisherAlarmPage.vue
+10
-6
ExtinguisherHistoryPage.vue
...ws/AIStation/ExtinguisherPage/ExtinguisherHistoryPage.vue
+12
-7
ExtinguisherNewDataPage.vue
...ws/AIStation/ExtinguisherPage/ExtinguisherNewDataPage.vue
+13
-6
index.vue
src/views/AIStation/ExtinguisherPage/index.vue
+4
-4
MoveMonitorAlarmPage.vue
src/views/AIStation/MoveMonitorPage/MoveMonitorAlarmPage.vue
+11
-11
MoveMonitorHistoryPage.vue
...iews/AIStation/MoveMonitorPage/MoveMonitorHistoryPage.vue
+12
-9
MoveMonitorNewDataPage.vue
...iews/AIStation/MoveMonitorPage/MoveMonitorNewDataPage.vue
+13
-9
index.vue
src/views/AIStation/MoveMonitorPage/index.vue
+4
-4
PipelineTempAlarmPage.vue
...iews/AIStation/PipelineTempPage/PipelineTempAlarmPage.vue
+10
-6
PipelineTempHistoryPage.vue
...ws/AIStation/PipelineTempPage/PipelineTempHistoryPage.vue
+11
-7
PipelineTempNewDataPage.vue
...ws/AIStation/PipelineTempPage/PipelineTempNewDataPage.vue
+10
-6
index.vue
src/views/AIStation/PipelineTempPage/index.vue
+4
-4
RecyclePumpAlarmPage.vue
src/views/AIStation/RecyclePumpPage/RecyclePumpAlarmPage.vue
+10
-8
RecyclePumpHistoryPage.vue
...iews/AIStation/RecyclePumpPage/RecyclePumpHistoryPage.vue
+14
-6
RecyclePumpNewDataPage.vue
...iews/AIStation/RecyclePumpPage/RecyclePumpNewDataPage.vue
+12
-9
index.vue
src/views/AIStation/RecyclePumpPage/index.vue
+28
-46
TransTempAlarmPage.vue
src/views/AIStation/TransTempPage/TransTempAlarmPage.vue
+106
-18
TransTempHistoryPage.vue
src/views/AIStation/TransTempPage/TransTempHistoryPage.vue
+11
-6
TransTempNewDataPage.vue
src/views/AIStation/TransTempPage/TransTempNewDataPage.vue
+10
-6
index.vue
src/views/AIStation/TransTempPage/index.vue
+4
-4
VoiceCommandLocationPage.vue
src/views/AIStation/VoiceCommandLocationPage.vue
+215
-126
VoiceCommandPage.vue
src/views/AIStation/VoiceCommandPage.vue
+22
-30
No files found.
src/views/AIStation/ExtinguisherPage/ExtinguisherAlarmPage.vue
View file @
9dd157c6
<
script
setup
>
import
{
ref
,
defineProps
,
reactive
,
watch
}
from
"vue"
;
import
{
getAlarmListData
}
from
"../../../api/AIStation/Extinguisher.js"
;
import
zhCn
from
'element-plus/dist/locale/zh-cn.mjs'
let
AlarmData
=
ref
([])
...
...
@@ -165,7 +165,7 @@ const handleSortChange = (data) => {
:data=
"AlarmData"
border
style=
"width: 100%"
height=
"calc(
90vh - 17
0px)"
height=
"calc(
100vh - 28
0px)"
:header-cell-class-name=
"tableHeaderClass"
:row-class-name=
"tableBodyClass"
@
sort-change=
"handleSortChange"
...
...
@@ -201,11 +201,15 @@ const handleSortChange = (data) => {
</el-table-column>
</el-table>
</div>
</div>
<el-footer
style=
"height: 50px;"
>
<el-config-provider
:locale=
"zhCn"
>
<el-pagination
v-model:current-page=
"Page.page"
v-model:page-size=
"Page.rows"
:page-sizes=
"[20, 30, 50, 100, 200, 300, 400]"
:small=
"small"
:disabled=
"disabled"
:background=
"background"
layout=
"total, sizes, prev, pager, next, jumper"
:total=
"Page.total"
@
size-change=
"handleSizeChange"
@
current-change=
"handleCurrentChange"
class=
"pagination"
/>
</div>
</el-config-provider>
</el-footer>
</div>
</template>
...
...
src/views/AIStation/ExtinguisherPage/ExtinguisherHistoryPage.vue
View file @
9dd157c6
...
...
@@ -2,7 +2,7 @@
import
{
reactive
,
ref
,
watch
}
from
"vue"
;
import
analysisImage
from
'/imgs/default.png'
import
{
getListHistoryData
}
from
"../../../api/AIStation/Extinguisher.js"
;
import
zhCn
from
'element-plus/dist/locale/zh-cn.mjs'
let
HistoryData
=
ref
([])
const
historyPage
=
reactive
({
total
:
0
,
rows
:
20
,
page
:
1
});
...
...
@@ -177,7 +177,7 @@ const handleSortChange = (data) => {
:data=
"HistoryData"
border
style=
"width: 98%;margin-left: 15px"
height=
"calc(
90vh - 17
0px)"
height=
"calc(
100vh - 28
0px)"
:header-cell-class-name=
"tableHeaderClass"
:row-class-name=
"tableBodyClass"
@
sort-change=
"handleSortChange"
...
...
@@ -223,11 +223,16 @@ const handleSortChange = (data) => {
</el-table-column>
</el-table>
</div>
<el-footer
style=
"height: 50px;"
>
<el-config-provider
:locale=
"zhCn"
>
<el-pagination
v-model:current-page=
"historyPage.page"
v-model:page-size=
"historyPage.rows"
:page-sizes=
"[20, 30, 50, 100, 200, 300, 400]"
:small=
"small"
:disabled=
"disabled"
:background=
"background"
layout=
"total, sizes, prev, pager, next, jumper"
:total=
"historyPage.total"
@
size-change=
"handleSizeChange"
@
current-change=
"handleCurrentChange"
class=
"pagination"
/>
</el-config-provider>
</el-footer>
<div
class=
"dialog-Extinguisher"
>
<el-dialog
title=
"查看详情"
v-model=
"detailOpen"
...
...
src/views/AIStation/ExtinguisherPage/ExtinguisherNewDataPage.vue
View file @
9dd157c6
<
script
setup
>
import
{
onMounted
,
reactive
,
ref
,
toRefs
,
watch
}
from
"vue"
;
import
{
reactive
,
ref
,
watch
}
from
"vue"
;
import
analysisImage
from
'/imgs/default.png'
import
{
getListNewData
}
from
"../../../api/AIStation/Extinguisher.js"
;
import
{
useRoute
}
from
"vue-router"
;
import
{
handleGetAIToken
}
from
"../AItoken.js"
;
import
zhCn
from
'element-plus/dist/locale/zh-cn.mjs'
const
ExtinguisherNewData
=
ref
([])
...
...
@@ -172,6 +171,7 @@ const handleSortChange = (data) => {
Page
.
total
=
res
.
total
})
};
defineExpose
({
getData
});
...
...
@@ -185,7 +185,7 @@ defineExpose({
:data=
"ExtinguisherNewData"
border
style=
"width: 98%;margin-left: 15px"
height=
"calc(
90vh - 17
0px)"
height=
"calc(
100vh - 28
0px)"
:header-cell-class-name=
"tableHeaderClass"
:row-class-name=
"tableBodyClass"
@
sort-change=
"handleSortChange"
...
...
@@ -230,11 +230,16 @@ defineExpose({
</
template
>
</el-table-column>
</el-table>
</div>
<el-footer
style=
"height: 50px;"
>
<el-config-provider
:locale=
"zhCn"
>
<el-pagination
v-model:current-page=
"Page.page"
v-model:page-size=
"Page.rows"
:page-sizes=
"[20, 30, 50, 100, 200, 300, 400]"
:small=
"small"
:disabled=
"disabled"
:background=
"background"
layout=
"total, sizes, prev, pager, next, jumper"
:total=
"Page.total"
@
size-change=
"handleSizeChange"
@
current-change=
"handleCurrentChange"
class=
"pagination"
/>
</div>
</el-config-provider>
</el-footer>
<div
class=
"dialog-Extinguisher"
>
<el-dialog
title=
"查看详情"
v-model=
"detailOpen"
...
...
@@ -323,7 +328,9 @@ defineExpose({
.table-operate-column
{
font-size
:
12px
;
}
.table-operate-column
.el-button
{
font-size
:
12px
;
}
.pagination
{
padding
:
0
;
margin-left
:
20px
;
...
...
src/views/AIStation/ExtinguisherPage/index.vue
View file @
9dd157c6
...
...
@@ -318,7 +318,7 @@ watch(
<el-form-item
label=
"换热站:"
>
<!--
<el-cascader
:options=
"options"
v-model=
"stationId"
:props=
"props"
collapse-tags
clearable
:show-all-levels=
"false"
--
>
<!-- placeholder="请选择" style="min-width: 210px;" />-->
<el-select
v-model=
"queryParams.stationId"
placeholder=
"请选择"
style=
"min-width: 2
1
0px"
filterable
clearable
>
<el-select
v-model=
"queryParams.stationId"
placeholder=
"请选择"
style=
"min-width: 2
0
0px"
filterable
clearable
>
<el-option
v-for=
"item in options"
:key=
"item.value"
...
...
@@ -328,7 +328,7 @@ watch(
</el-select>
</el-form-item>
<el-form-item
label=
"告警状态:"
prop=
"alarmStatus"
v-show=
"selectedBtn === 1"
>
<el-select
placeholder=
"请选择"
clearable
style=
"width:
18
0px"
v-model=
"queryParams.alarmStatus"
>
<el-select
placeholder=
"请选择"
clearable
style=
"width:
20
0px"
v-model=
"queryParams.alarmStatus"
>
<el-option
v-for=
"item in alarmStatusList"
:key=
"item.value"
:value=
"item.value"
:label=
"item.label"
/>
</el-select>
</el-form-item>
...
...
@@ -338,7 +338,7 @@ watch(
type=
"datetime"
value-format=
"YYYY-MM-DD HH:mm:ss"
placeholder=
"选择开始时间"
style=
"width:
18
0px"
style=
"width:
20
0px"
v-model=
"queryParams.beginTime"
/>
</el-config-provider>
...
...
@@ -349,7 +349,7 @@ watch(
type=
"datetime"
value-format=
"YYYY-MM-DD HH:mm:ss"
placeholder=
"选择结束时间"
style=
"width:
18
0px"
style=
"width:
20
0px"
v-model=
"queryParams.endTime"
/>
</el-config-provider>
...
...
src/views/AIStation/MoveMonitorPage/MoveMonitorAlarmPage.vue
View file @
9dd157c6
<
script
setup
>
import
{
ref
,
defineProps
,
defineEmits
,
computed
,
isRef
,
onMounted
,
watchEffect
,
reactive
,
watch
}
from
"vue"
;
import
{
getAlarmListData
}
from
"../../../api/AIStation/Extinguisher.js"
;
import
{
ref
,
defineProps
,
reactive
,
watch
}
from
"vue"
;
import
{
getMoveListAlarmNewData
}
from
"../../../api/AIStation/MoveMonitor.js"
;
import
{
getTransListAlarmData
}
from
"../../../api/AIStation/TransTemp.js"
;
import
store
from
"../../../store/index.js"
;
import
{
handleGetAIToken
}
from
"../AItoken.js"
;
import
{
useRoute
}
from
"vue-router"
;
import
zhCn
from
'element-plus/dist/locale/zh-cn.mjs'
let
AlarmData
=
ref
([])
...
...
@@ -172,7 +168,7 @@ const handleSortChange = (data) => {
:data=
"AlarmData"
border
style=
"width: 98%;margin-left: 15px"
height=
"calc(
90vh - 17
0px)"
height=
"calc(
100vh - 28
0px)"
:header-cell-class-name=
"tableHeaderClass"
:row-class-name=
"tableBodyClass"
@
sort-change=
"handleSortChange"
...
...
@@ -212,11 +208,15 @@ const handleSortChange = (data) => {
</el-table-column>
</el-table>
</div>
</div>
<el-footer
style=
"height: 50px;"
>
<el-config-provider
:locale=
"zhCn"
>
<el-pagination
v-model:current-page=
"Page.page"
v-model:page-size=
"Page.rows"
:page-sizes=
"[20, 30, 50, 100, 200, 300, 400]"
:small=
"small"
:disabled=
"disabled"
:background=
"background"
layout=
"total, sizes, prev, pager, next, jumper"
:total=
"Page.total"
@
size-change=
"handleSizeChange"
@
current-change=
"handleCurrentChange"
class=
"pagination"
/>
</div>
</el-config-provider>
</el-footer>
</div>
</template>
...
...
src/views/AIStation/MoveMonitorPage/MoveMonitorHistoryPage.vue
View file @
9dd157c6
<
script
setup
>
import
{
reactive
,
ref
,
watch
}
from
"vue"
;
import
analysisImage
from
'/imgs/default.png'
import
{
getListHistoryData
}
from
"../../../api/AIStation/Extinguisher.js"
;
import
{
getMoveListAlarmNewData
,
getMoveListHistoryData
}
from
"../../../api/AIStation/MoveMonitor.js"
;
import
store
from
"../../../store/index.js"
;
import
{
getMoveListHistoryData
}
from
"../../../api/AIStation/MoveMonitor.js"
;
import
zhCn
from
'element-plus/dist/locale/zh-cn.mjs'
const
HistoryData
=
ref
([])
const
enterpriseId
=
ref
();
...
...
@@ -179,7 +178,7 @@ const handleSortChange = (data) => {
:data=
"HistoryData"
border
style=
"width: 98%;margin-left: 15px"
height=
"calc(
90vh - 17
0px)"
height=
"calc(
100vh - 28
0px)"
:header-cell-class-name=
"tableHeaderClass"
:row-class-name=
"tableBodyClass"
@
sort-change=
"handleSortChange"
...
...
@@ -237,11 +236,15 @@ const handleSortChange = (data) => {
</el-table-column>
</el-table>
</div>
<el-footer
style=
"height: 50px;"
>
<el-config-provider
:locale=
"zhCn"
>
<el-pagination
v-model:current-page=
"historyPage.page"
v-model:page-size=
"historyPage.rows"
:page-sizes=
"[20, 30, 50, 100, 200, 300, 400]"
:small=
"small"
:disabled=
"disabled"
:background=
"background"
layout=
"total, sizes, prev, pager, next, jumper"
:total=
"historyPage.total"
@
size-change=
"handleSizeChange"
@
current-change=
"handleCurrentChange"
class=
"pagination"
/>
</el-config-provider>
</el-footer>
<div
class=
"dialog-Extinguisher"
>
<el-dialog
title=
"查看详情"
v-model=
"detailOpen"
...
...
src/views/AIStation/MoveMonitorPage/MoveMonitorNewDataPage.vue
View file @
9dd157c6
<
script
setup
>
import
{
onMounted
,
reactive
,
ref
,
watch
}
from
"vue"
;
import
{
reactive
,
ref
,
watch
}
from
"vue"
;
import
analysisImage
from
'/imgs/default.png'
import
{
getListNewData
}
from
"../../../api/AIStation/Extinguisher.js"
;
import
{
getMoveList
HistoryData
,
getMoveList
NewData
}
from
"../../../api/AIStation/MoveMonitor.js"
;
import
store
from
"../../../store/index.js"
;
import
zhCn
from
'element-plus/dist/locale/zh-cn.mjs'
import
{
getMoveListNewData
}
from
"../../../api/AIStation/MoveMonitor.js"
;
const
MoveMonitorNewData
=
ref
([])
const
enterpriseId
=
ref
();
...
...
@@ -182,7 +182,7 @@ const handleSortChange = (data) => {
:data=
"MoveMonitorNewData"
border
style=
"width: 98%;margin-left: 15px"
height=
"calc(
90vh - 17
0px)"
height=
"calc(
100vh - 28
0px)"
:header-cell-class-name=
"tableHeaderClass"
:row-class-name=
"tableBodyClass"
@
sort-change=
"handleSortChange"
...
...
@@ -239,11 +239,15 @@ const handleSortChange = (data) => {
</
template
>
</el-table-column>
</el-table>
</div>
<el-footer
style=
"height: 50px;"
>
<el-config-provider
:locale=
"zhCn"
>
<el-pagination
v-model:current-page=
"Page.page"
v-model:page-size=
"Page.rows"
:page-sizes=
"[20, 30, 50, 100, 200, 300, 400]"
:small=
"small"
:disabled=
"disabled"
:background=
"background"
layout=
"total, sizes, prev, pager, next, jumper"
:total=
"Page.total"
@
size-change=
"handleSizeChange"
@
current-change=
"handleCurrentChange"
class=
"pagination"
/>
</div>
</el-config-provider>
</el-footer>
<div
class=
"dialog-Extinguisher"
>
<el-dialog
title=
"查看详情"
v-model=
"detailOpen"
...
...
src/views/AIStation/MoveMonitorPage/index.vue
View file @
9dd157c6
...
...
@@ -319,7 +319,7 @@ watch(
<el-form-item
label=
"换热站:"
>
<!--
<el-cascader
:options=
"options"
v-model=
"stationId"
:props=
"props"
collapse-tags
clearable
:show-all-levels=
"false"
--
>
<!-- placeholder="请选择" style="min-width: 210px;" />-->
<el-select
v-model=
"queryParams.stationId"
placeholder=
"请选择"
style=
"min-width: 2
1
0px"
filterable
clearable
>
<el-select
v-model=
"queryParams.stationId"
placeholder=
"请选择"
style=
"min-width: 2
0
0px"
filterable
clearable
>
<el-option
v-for=
"item in options"
:key=
"item.value"
...
...
@@ -329,7 +329,7 @@ watch(
</el-select>
</el-form-item>
<el-form-item
label=
"告警状态:"
prop=
"alarmStatus"
v-show=
"selectedBtn === 1"
>
<el-select
placeholder=
""
clearable
style=
"width:
18
0px"
v-model=
"queryParams.alarmStatus"
>
<el-select
placeholder=
""
clearable
style=
"width:
20
0px"
v-model=
"queryParams.alarmStatus"
>
<el-option
v-for=
"item in alarmStatusList"
:key=
"item.value"
:value=
"item.value"
:label=
"item.label"
/>
</el-select>
</el-form-item>
...
...
@@ -339,7 +339,7 @@ watch(
type=
"datetime"
value-format=
"YYYY-MM-DD HH:mm:ss"
placeholder=
"选择开始时间"
style=
"width:
18
0px"
style=
"width:
20
0px"
v-model=
"queryParams.beginTime"
/>
</el-config-provider>
...
...
@@ -350,7 +350,7 @@ watch(
type=
"datetime"
value-format=
"YYYY-MM-DD HH:mm:ss"
placeholder=
"选择结束时间"
style=
"width:
18
0px"
style=
"width:
20
0px"
v-model=
"queryParams.endTime"
/>
</el-config-provider>
...
...
src/views/AIStation/PipelineTempPage/PipelineTempAlarmPage.vue
View file @
9dd157c6
<
script
setup
>
import
{
ref
,
defineProps
,
reactive
,
watch
}
from
"vue"
;
import
{
getPipListAlarmData
}
from
"../../../api/AIStation/PipelineTemp.js"
;
import
store
from
"../../../store/index.js"
;
import
zhCn
from
'element-plus/dist/locale/zh-cn.mjs'
let
AlarmData
=
ref
([])
...
...
@@ -162,7 +162,7 @@ const handleSortChange = (data) => {
:data=
"AlarmData"
border
style=
"width: 98%;margin-left: 15px"
height=
"calc(
90vh - 17
0px)"
height=
"calc(
100vh - 33
0px)"
:header-cell-class-name=
"tableHeaderClass"
:row-class-name=
"tableBodyClass"
@
sort-change=
"handleSortChange"
...
...
@@ -203,11 +203,15 @@ const handleSortChange = (data) => {
</el-table-column>
</el-table>
</div>
</div>
<el-footer
style=
"height: 50px;"
>
<el-config-provider
:locale=
"zhCn"
>
<el-pagination
v-model:current-page=
"Page.page"
v-model:page-size=
"Page.rows"
:page-sizes=
"[20, 30, 50, 100, 200, 300, 400]"
:small=
"small"
:disabled=
"disabled"
:background=
"background"
layout=
"total, sizes, prev, pager, next, jumper"
:total=
"Page.total"
@
size-change=
"handleSizeChange"
@
current-change=
"handleCurrentChange"
class=
"pagination"
/>
</div>
</el-config-provider>
</el-footer>
</div>
</template>
...
...
src/views/AIStation/PipelineTempPage/PipelineTempHistoryPage.vue
View file @
9dd157c6
<
script
setup
>
import
{
reactive
,
ref
,
watch
}
from
"vue"
;
import
{
getPipListHistoryData
}
from
"../../../api/AIStation/PipelineTemp.js"
;
import
store
from
"../../../store/index.js"
;
import
zhCn
from
'element-plus/dist/locale/zh-cn.mjs'
let
HistoryData
=
ref
([])
const
params
=
ref
({})
...
...
@@ -172,7 +172,7 @@ const handleSortChange = (data) => {
:data=
"HistoryData"
border
style=
"width: 98%;margin-left: 15px"
height=
"calc(
90vh - 17
0px)"
height=
"calc(
100vh - 28
0px)"
:header-cell-class-name=
"tableHeaderClass"
:row-class-name=
"tableBodyClass"
@
sort-change=
"handleSortChange"
...
...
@@ -205,11 +205,15 @@ const handleSortChange = (data) => {
</el-table-column>
</el-table>
</div>
<el-footer
style=
"height: 50px;"
>
<el-config-provider
:locale=
"zhCn"
>
<el-pagination
v-model:current-page=
"historyPage.page"
v-model:page-size=
"historyPage.rows"
:page-sizes=
"[20, 30, 50, 100, 200, 300, 400]"
:small=
"small"
:disabled=
"disabled"
:background=
"background"
layout=
"total, sizes, prev, pager, next, jumper"
:total=
"historyPage.total"
@
size-change=
"handleSizeChange"
@
current-change=
"handleCurrentChange"
class=
"pagination"
/>
</el-config-provider>
</el-footer>
<div
class=
"dialog-Extinguisher"
>
<el-dialog
title=
"查看详情"
v-model=
"detailOpen"
...
...
src/views/AIStation/PipelineTempPage/PipelineTempNewDataPage.vue
View file @
9dd157c6
<
script
setup
>
import
{
reactive
,
ref
,
watch
}
from
"vue"
;
import
{
getPipListNewData
}
from
"../../../api/AIStation/PipelineTemp.js"
;
import
store
from
"../../../store/index.js"
;
import
zhCn
from
'element-plus/dist/locale/zh-cn.mjs'
const
PipelineTempNewData
=
ref
([])
const
params
=
ref
({})
...
...
@@ -181,7 +181,7 @@ const handleSortChange = (data) => {
:data=
"PipelineTempNewData"
border
style=
"width: 98%;margin-left: 15px"
height=
"calc(
90vh - 17
0px)"
height=
"calc(
100vh - 28
0px)"
:header-cell-class-name=
"tableHeaderClass"
:row-class-name=
"tableBodyClass"
@
sort-change=
"handleSortChange"
...
...
@@ -213,11 +213,15 @@ const handleSortChange = (data) => {
</
template
>
</el-table-column>
</el-table>
</div>
<el-footer
style=
"height: 50px;"
>
<el-config-provider
:locale=
"zhCn"
>
<el-pagination
v-model:current-page=
"Page.page"
v-model:page-size=
"Page.rows"
:page-sizes=
"[20, 30, 50, 100, 200, 300, 400]"
:small=
"small"
:disabled=
"disabled"
:background=
"background"
layout=
"total, sizes, prev, pager, next, jumper"
:total=
"Page.total"
@
size-change=
"handleSizeChange"
@
current-change=
"handleCurrentChange"
class=
"pagination"
/>
</div>
</el-config-provider>
</el-footer>
<div
class=
"dialog-Extinguisher"
>
<el-dialog
title=
"查看详情"
v-model=
"detailOpen"
...
...
src/views/AIStation/PipelineTempPage/index.vue
View file @
9dd157c6
...
...
@@ -344,7 +344,7 @@ watch(
<el-form-item
label=
"换热站:"
>
<!--
<el-cascader
:options=
"options"
v-model=
"stationId"
:props=
"props"
collapse-tags
clearable
:show-all-levels=
"false"
--
>
<!-- placeholder="请选择" style="min-width: 210px;" />-->
<el-select
v-model=
"queryParams.stationId"
placeholder=
"请选择"
style=
"min-width: 2
1
0px"
filterable
clearable
>
<el-select
v-model=
"queryParams.stationId"
placeholder=
"请选择"
style=
"min-width: 2
0
0px"
filterable
clearable
>
<el-option
v-for=
"item in options"
:key=
"item.value"
...
...
@@ -354,7 +354,7 @@ watch(
</el-select>
</el-form-item>
<el-form-item
label=
"告警状态:"
prop=
"alarmStatus"
v-show=
"selectedBtn === 1"
>
<el-select
placeholder=
""
clearable
style=
"width:
18
0px"
v-model=
"queryParams.alarmStatus"
>
<el-select
placeholder=
""
clearable
style=
"width:
20
0px"
v-model=
"queryParams.alarmStatus"
>
<el-option
v-for=
"item in alarmStatusList"
:key=
"item.value"
:value=
"item.value"
:label=
"item.label"
/>
</el-select>
</el-form-item>
...
...
@@ -369,7 +369,7 @@ watch(
type=
"datetime"
value-format=
"YYYY-MM-DD HH:mm:ss"
placeholder=
"选择开始时间"
style=
"width:
18
0px"
style=
"width:
20
0px"
v-model=
"queryParams.beginTime"
/>
</el-config-provider>
...
...
@@ -380,7 +380,7 @@ watch(
type=
"datetime"
value-format=
"YYYY-MM-DD HH:mm:ss"
placeholder=
"选择结束时间"
style=
"width:
18
0px"
style=
"width:
20
0px"
v-model=
"queryParams.endTime"
/>
</el-config-provider>
...
...
src/views/AIStation/RecyclePumpPage/RecyclePumpAlarmPage.vue
View file @
9dd157c6
<
script
setup
>
import
{
ref
,
reactive
,
defineProps
,
watch
}
from
"vue"
;
import
{
getPipListAlarmData
}
from
"../../../api/AIStation/PipelineTemp.js"
;
import
{
getRecycleListAlarmData
}
from
"../../../api/AIStation/RecyclePump.js"
;
import
{
getMoveListAlarmNewData
}
from
"../../../api/AIStation/MoveMonitor.js"
;
import
store
from
"../../../store/index.js"
;
import
zhCn
from
'element-plus/dist/locale/zh-cn.mjs'
const
TransTempAlarmData
=
ref
([])
const
params
=
ref
({})
...
...
@@ -166,7 +164,7 @@ const handleSortChange = (data) => {
:data=
"TransTempAlarmData"
border
style=
"width: 98%;margin-left: 15px"
height=
"calc(
90vh - 17
0px)"
height=
"calc(
100vh - 28
0px)"
:header-cell-class-name=
"tableHeaderClass"
:row-class-name=
"tableBodyClass"
@
sort-change=
"handleSortChange"
...
...
@@ -206,11 +204,15 @@ const handleSortChange = (data) => {
</el-table-column>
</el-table>
</div>
</div>
<el-footer
style=
"height: 50px;"
>
<el-config-provider
:locale=
"zhCn"
>
<el-pagination
v-model:current-page=
"Page.page"
v-model:page-size=
"Page.rows"
:page-sizes=
"[20, 30, 50, 100, 200, 300, 400]"
:small=
"small"
:disabled=
"disabled"
:background=
"background"
layout=
"total, sizes, prev, pager, next, jumper"
:total=
"Page.total"
@
size-change=
"handleSizeChange"
@
current-change=
"handleCurrentChange"
class=
"pagination"
/>
</div>
</el-config-provider>
</el-footer>
</div>
</template>
...
...
src/views/AIStation/RecyclePumpPage/RecyclePumpHistoryPage.vue
View file @
9dd157c6
<
script
setup
>
import
{
reactive
,
ref
,
onMounted
,
watch
}
from
"vue"
;
import
{
reactive
,
ref
,
watch
}
from
"vue"
;
import
{
getAudio
,
getRecycleListHistoryData
}
from
"../../../api/AIStation/RecyclePump.js"
;
import
WaveSurfer
from
'wavesurfer.js'
;
import
TimelinePlugin
from
'wavesurfer.js/dist/plugin/wavesurfer.timeline'
;
import
RegionsPlugin
from
'wavesurfer.js/dist/plugin/wavesurfer.regions'
;
import
zhCn
from
'element-plus/dist/locale/zh-cn.mjs'
const
RecyclePumpData
=
ref
([]);
const
params
=
ref
({})
const
options
=
ref
([])
...
...
@@ -405,7 +408,7 @@ defineExpose({
:data=
"RecyclePumpData"
border
style=
"width: 45%;margin-left: 15px"
height=
"calc(
90vh - 17
0px)"
height=
"calc(
100vh - 28
0px)"
:header-cell-class-name=
"tableHeaderClass"
:row-class-name=
"tableBodyClass"
@
row-click=
"selectRow"
...
...
@@ -427,11 +430,16 @@ defineExpose({
</
template
>
</el-table-column>
</el-table>
</div>
<el-footer
style=
"height: 50px;"
>
<el-config-provider
:locale=
"zhCn"
>
<el-pagination
v-model:current-page=
"Page.page"
v-model:page-size=
"Page.rows"
:page-sizes=
"[20, 30, 50, 100, 200, 300, 400]"
:small=
"small"
:disabled=
"disabled"
:background=
"background"
layout=
"total, sizes, prev, pager, next, jumper"
:total=
"Page.total"
@
size-change=
"handleSizeChange"
@
current-change=
"handleCurrentChange"
class=
"pagination"
/>
</div>
</el-config-provider>
</el-footer>
<div
class=
"placeholder"
/>
<div
class=
"details-container"
>
<el-row
:gutter=
"24"
>
...
...
src/views/AIStation/RecyclePumpPage/RecyclePumpNewDataPage.vue
View file @
9dd157c6
<
script
setup
>
import
{
reactive
,
ref
,
onMounted
,
watch
}
from
"vue"
;
import
{
getPipListNewData
}
from
"../../../api/AIStation/PipelineTemp.js"
;
import
{
getAudio
,
getRecycleListHistoryData
,
getRecycleListNewData
}
from
"../../../api/AIStation/RecyclePump.js"
;
import
store
from
"../../../store/index.js"
;
import
{
reactive
,
ref
,
watch
}
from
"vue"
;
import
{
getAudio
,
getRecycleListNewData
}
from
"../../../api/AIStation/RecyclePump.js"
;
import
zhCn
from
'element-plus/dist/locale/zh-cn.mjs'
import
WaveSurfer
from
"wavesurfer.js"
;
import
RegionsPlugin
from
"wavesurfer.js/dist/plugin/wavesurfer.regions.js"
;
import
TimelinePlugin
from
"wavesurfer.js/dist/plugin/wavesurfer.timeline.js"
;
...
...
@@ -412,7 +411,7 @@ defineExpose({
:data=
"RecyclePumpData"
border
style=
"width: 45%;margin-left: 15px"
height=
"calc(
90vh - 17
0px)"
height=
"calc(
100vh - 28
0px)"
:header-cell-class-name=
"tableHeaderClass"
:row-class-name=
"tableBodyClass"
@
row-click=
"selectRow"
...
...
@@ -434,11 +433,15 @@ defineExpose({
</
template
>
</el-table-column>
</el-table>
</div>
<el-footer
style=
"height: 50px;"
>
<el-config-provider
:locale=
"zhCn"
>
<el-pagination
v-model:current-page=
"Page.page"
v-model:page-size=
"Page.rows"
:page-sizes=
"[20, 30, 50, 100, 200, 300, 400]"
:small=
"small"
:disabled=
"disabled"
:background=
"background"
layout=
"total, sizes, prev, pager, next, jumper"
:total=
"Page.total"
@
size-change=
"handleSizeChange"
@
current-change=
"handleCurrentChange"
class=
"pagination"
/>
</div>
</el-config-provider>
</el-footer>
<div
class=
"placeholder"
/>
<div
class=
"details-container"
>
<el-row
:gutter=
"24"
>
...
...
src/views/AIStation/RecyclePumpPage/index.vue
View file @
9dd157c6
...
...
@@ -187,15 +187,15 @@ const resetSearch = () => {
queryParams
.
endTime
=
''
queryParams
.
stationId
=
''
searchData
.
value
=
[]
childParams
.
value
=
{
// page: Page.page,
// size: Page.rows,
// stationId: '',
// alarmStatus: '',
// alarmType: '',
// beginTime: '',
// endTime: '',
}
//
childParams.value = {
//
// page: Page.page,
//
// size: Page.rows,
//
// stationId: '',
//
// alarmStatus: '',
//
// alarmType: '',
//
// beginTime: '',
//
// endTime: '',
//
}
getData
()
};
const
childComponentRef
=
ref
(
null
);
...
...
@@ -261,47 +261,29 @@ function getEnterprise() {
}
}
function
getSupplys
()
{
function
getSupplys
(){
loading
.
value
=
true
;
// tableData.length = 0;
options
.
length
=
0
;
const
result
=
store
.
getters
.
getEnterprise
();
if
(
result
)
{
console
.
log
(
'result:'
,
result
)
result
.
forEach
(
element
=>
{
console
.
log
(
'result:'
,
result
)
result
.
forEach
(
element
=>
{
let
allItems
=
[]
if
(
element
.
enterpriseId
===
enterpriseId
.
value
)
{
if
(
element
.
enterpriseId
===
"9BCA54BC-8F27-4849-8D7D-50C5099E1949"
.
toLowerCase
())
{
element
.
serviceCenterList
.
forEach
(
center
=>
{
//遍历一级目录下的
if
(
element
.
enterpriseId
===
enterpriseId
.
value
)
{
if
(
element
.
enterpriseId
===
"9BCA54BC-8F27-4849-8D7D-50C5099E1949"
.
toLowerCase
())
{
element
.
serviceCenterList
.
forEach
(
center
=>
{
//遍历一级目录下的
center
.
supplyList
.
forEach
(
supply
=>
{
//拿到一级目录下的然后遍历它二级目录下的
console
.
log
(
'supply:'
,
supply
)
supply
.
stationList
.
forEach
(
station
=>
{
//拿到
let
unitIdList
=
[]
supply
.
transferList
.
forEach
(
unit
=>
{
//unit的stationId等于station的stationId的话,就把这个unit的unitId添加到unitIdList中
if
(
unit
.
stationId
===
station
.
stationId
)
{
unitIdList
.
push
(
unit
.
unitId
)
}
})
//将unitIdList集合按逗号分隔成字符串
let
unitId
=
unitIdList
.
join
(
','
)
allItems
.
push
({
stationId
:
station
.
stationId
,
stationName
:
station
.
stationName
,
supplyId
:
station
.
supplyId
,
unitId
:
unitId
allItems
.
push
({
stationId
:
unit
.
stationId
,
stationName
:
unit
.
unitName
,
supplyId
:
unit
.
supplyId
,
unitId
:
unit
.
unitId
})
})
});
});
})
}
else
{
element
.
supplyList
.
forEach
(
element
=>
{
element
.
stationList
.
forEach
(
station
=>
{
allItems
.
push
({
stationId
:
station
.
stationId
,
stationName
:
station
.
stationName
,
supplyId
:
station
.
supplyId
})
console
.
log
(
'allItems:'
,
allItems
)
}
else
{
element
.
supplyList
.
forEach
(
supply
=>
{
supply
.
transferList
.
forEach
(
unit
=>
{
allItems
.
push
({
stationId
:
unit
.
stationId
,
stationName
:
unit
.
unitName
,
supplyId
:
unit
.
supplyId
,
unitId
:
unit
.
unitId
})
})
})
}
...
...
@@ -320,7 +302,7 @@ getSupplys();
<el-form-item
label=
"换热站:"
>
<!--
<el-cascader
:options=
"options"
v-model=
"stationId"
:props=
"props"
collapse-tags
clearable
:show-all-levels=
"false"
--
>
<!-- placeholder="请选择" style="min-width: 210px;" />-->
<el-select
v-model=
"queryParams.stationId"
placeholder=
"请选择"
style=
"min-width: 2
1
0px"
filterable
clearable
>
<el-select
v-model=
"queryParams.stationId"
placeholder=
"请选择"
style=
"min-width: 2
0
0px"
filterable
clearable
>
<el-option
v-for=
"item in options"
:key=
"item.value"
...
...
@@ -330,7 +312,7 @@ getSupplys();
</el-select>
</el-form-item>
<el-form-item
label=
"告警状态:"
prop=
"alarmStatus"
v-show=
"selectedBtn === 1"
>
<el-select
placeholder=
""
clearable
style=
"width:
18
0px"
v-model=
"queryParams.alarmStatus"
>
<el-select
placeholder=
""
clearable
style=
"width:
20
0px"
v-model=
"queryParams.alarmStatus"
>
<el-option
v-for=
"item in alarmStatusList"
:key=
"item.value"
:value=
"item.value"
:label=
"item.label"
/>
</el-select>
</el-form-item>
...
...
@@ -340,7 +322,7 @@ getSupplys();
type=
"datetime"
value-format=
"YYYY-MM-DD HH:mm:ss"
placeholder=
"选择开始时间"
style=
"width:
18
0px"
style=
"width:
20
0px"
v-model=
"queryParams.beginTime"
/>
</el-config-provider>
...
...
@@ -351,7 +333,7 @@ getSupplys();
type=
"datetime"
value-format=
"YYYY-MM-DD HH:mm:ss"
placeholder=
"选择结束时间"
style=
"width:
18
0px"
style=
"width:
20
0px"
v-model=
"queryParams.endTime"
/>
</el-config-provider>
...
...
src/views/AIStation/TransTempPage/TransTempAlarmPage.vue
View file @
9dd157c6
<
script
setup
>
import
{
ref
,
defineProps
,
defineEmits
,
computed
,
isRef
,
onMounted
,
watchEffect
,
reactive
,
watch
}
from
"vue"
;
import
{
defineProps
,
reactive
,
ref
,
watch
}
from
"vue"
;
import
analysisImage
from
'/imgs/default.png'
import
{
getTransListAlarmData
}
from
"../../../api/AIStation/TransTemp.js"
;
import
store
from
"../../../store/index.js"
;
import
zhCn
from
'element-plus/dist/locale/zh-cn.mjs'
const
TransTempAlarmData
=
ref
([])
...
...
@@ -84,16 +84,16 @@ function getDataByParams() {
alarmType
:
props
.
queryParams
.
alarmType
,
sortList
:
sortList
,
}
if
(
item
.
stationId
===
undefined
){
if
(
item
.
stationId
===
undefined
)
{
item
.
stationId
=
''
}
if
(
item
.
beginTime
==
null
){
if
(
item
.
beginTime
==
null
)
{
item
.
beginTime
=
''
}
if
(
item
.
endTime
==
null
){
if
(
item
.
endTime
==
null
)
{
item
.
endTime
=
''
}
if
(
item
.
alarmType
===
undefined
)
{
if
(
item
.
alarmType
===
undefined
)
{
item
.
alarmType
=
''
}
getTransListAlarmData
(
item
).
then
(
res
=>
{
...
...
@@ -110,6 +110,7 @@ function getDataNew(item) {
Page
.
rows
=
res
.
pageSize
})
}
defineExpose
({
getData
});
...
...
@@ -122,14 +123,14 @@ const handleSortChange = (data) => {
sortList
=
[]
// 添加新的排序属性
const
sortMap
=
sortMapData
;
if
(
sortMap
.
size
>
0
){
if
(
sortMap
.
size
>
0
)
{
sortMap
.
clear
()
}
//将被点击的排序字段信息data,注册到sortMap中,key为参数名,value为{prop,order}
if
(
data
.
order
===
null
){
if
(
data
.
order
===
null
)
{
sortMap
.
delete
(
data
.
prop
);
}
else
{
sortMap
.
set
(
data
.
prop
,
{
prop
:
data
.
prop
,
order
:
data
.
order
});
sortMap
.
set
(
data
.
prop
,
{
prop
:
data
.
prop
,
order
:
data
.
order
});
sortNewData
.
value
=
sortMap
}
//将sortMap的value放到sortList中
...
...
@@ -146,16 +147,16 @@ const handleSortChange = (data) => {
alarmType
:
props
.
queryParams
.
alarmType
,
sortList
:
sortList
,
}
if
(
item
.
stationId
===
undefined
){
if
(
item
.
stationId
===
undefined
)
{
item
.
stationId
=
''
}
if
(
item
.
beginTime
==
null
){
if
(
item
.
beginTime
==
null
)
{
item
.
beginTime
=
''
}
if
(
item
.
endTime
==
null
){
if
(
item
.
endTime
==
null
)
{
item
.
endTime
=
''
}
console
.
log
(
'item--------------'
,
item
)
console
.
log
(
'item--------------'
,
item
)
//查询数据
getTransListAlarmData
(
item
).
then
(
res
=>
{
TransTempAlarmData
.
value
=
res
.
rows
...
...
@@ -163,6 +164,16 @@ const handleSortChange = (data) => {
Page
.
total
=
res
.
total
})
};
const
detailOpen
=
ref
(
false
)
const
statusData
=
ref
([])
function
handleStatus1
()
{
statusData
.
value
=
TransTempAlarmData
.
value
.
filter
(
item
=>
item
.
handleStatus
===
0
)
detailOpen
.
value
=
true
console
.
log
(
'?==========='
)
}
</
script
>
<
template
>
...
...
@@ -173,7 +184,7 @@ const handleSortChange = (data) => {
:data=
"TransTempAlarmData"
border
style=
"width: 98%;margin-left: 15px"
height=
"calc(
90vh - 17
0px)"
height=
"calc(
100vh - 28
0px)"
:header-cell-class-name=
"tableHeaderClass"
:row-class-name=
"tableBodyClass"
@
sort-change=
"handleSortChange"
...
...
@@ -218,6 +229,10 @@ const handleSortChange = (data) => {
</
template
>
</el-table-column>
<el-table-column
prop=
"handleStatus"
align=
"center"
label=
"处理状态"
>
<
template
#
header
>
<span>
处理状态
</span>
<el-button
size=
"small"
@
click=
"handleStatus1"
>
操作
</el-button>
</
template
>
<
template
#
default=
"scope"
>
<span
v-if=
"scope.row.handleStatus=== 0"
style=
"color: red"
>
未处理
</span>
<span
v-else-if=
"scope.row.handleStatus=== 1"
>
已处理
</span>
...
...
@@ -233,11 +248,84 @@ const handleSortChange = (data) => {
</el-table-column>
</el-table>
</div>
</div>
<el-footer
style=
"height: 50px;"
>
<el-config-provider
:locale=
"zhCn"
>
<el-pagination
v-model:current-page=
"Page.page"
v-model:page-size=
"Page.rows"
:page-sizes=
"[20, 30, 50, 100, 200, 300, 400]"
:small=
"small"
:disabled=
"disabled"
:background=
"background"
layout=
"total, sizes, prev, pager, next, jumper"
:total=
"Page.total"
@
size-change=
"handleSizeChange"
@
current-change=
"handleCurrentChange"
class=
"pagination"
/>
</el-config-provider>
</el-footer>
<el-dialog
title=
"查看未处理状态"
v-model=
"detailOpen"
width=
"1200px"
:close-on-click-modal=
"false"
append-to-body
>
<el-table
:data=
"statusData"
border
style=
"width: 98%;margin-left: 15px"
height=
"calc(100vh - 330px)"
:header-cell-class-name=
"tableHeaderClass"
:row-class-name=
"tableBodyClass"
@
sort-change=
"handleSortChange"
>
<el-table-column
type=
"index"
label=
"序号"
align=
"center"
width=
"100"
/>
<el-table-column
prop=
"stationName"
label=
"换热站"
align=
"center"
>
<
template
#
default=
"scope"
>
<span>
{{
scope
.
row
.
stationName
||
'-'
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"srcName"
label=
"设备名称"
align=
"center"
/>
<el-table-column
prop=
"eventTime"
label=
"报警时间"
align=
"center"
width=
"180px"
/>
<el-table-column
prop=
"alarmLevel"
align=
"center"
label=
"报警等级"
>
<
template
#
default=
"scope"
>
<span
v-if=
"scope.row.alarmLevel=== 0"
>
预警
</span>
<span
v-else-if=
"scope.row.alarmLevel=== 1"
>
报警
</span>
<span
v-else
>
-
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"alarmType"
align=
"center"
label=
"报警类型"
>
<
template
#
default=
"scope"
>
<span
v-if=
"scope.row.alarmType=== 0"
>
最高温度
</span>
<span
v-else-if=
"scope.row.alarmType=== 1"
>
最低温度
</span>
<span
v-else-if=
"scope.row.alarmType=== 2"
>
平均温度
</span>
<span
v-else-if=
"scope.row.alarmType=== 3"
>
温差
</span>
<span
v-else-if=
"scope.row.alarmType=== 4"
>
温度突升
</span>
<span
v-else-if=
"scope.row.alarmType=== 5"
>
温度突降
</span>
<span
v-else
>
-
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"curTemperatureDiff"
align=
"center"
label=
"当前温差"
/>
<el-table-column
prop=
"imageUrl"
align=
"center"
label=
"热成像图片"
>
<
template
#
default=
"scope"
>
<el-image
style=
"width:100%;height:100%;"
:src=
"getImageSrc(scope.row)"
>
<div
slot=
"error"
class=
"image-slot"
>
<i
class=
"el-icon-picture-outline"
/>
</div>
</el-image>
</
template
>
</el-table-column>
<el-table-column
prop=
"handleStatus"
align=
"center"
label=
"处理状态"
>
<
template
#
default=
"scope"
>
<span
v-if=
"scope.row.handleStatus=== 0"
style=
"color: red"
>
未处理
</span>
<span
v-else-if=
"scope.row.handleStatus=== 1"
>
已处理
</span>
<span
v-else
>
-
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"操作"
align=
"center"
fixed=
"right"
>
<
template
#
default=
"scope"
>
<div
class=
"table-operate-column"
>
<el-button
link
@
click=
"handleCamera"
type=
"primary"
>
打开摄像头
</el-button>
</div>
</
template
>
</el-table-column>
</el-table>
</el-dialog>
</div>
</template>
...
...
src/views/AIStation/TransTempPage/TransTempHistoryPage.vue
View file @
9dd157c6
...
...
@@ -2,7 +2,7 @@
import
{
reactive
,
ref
,
watch
}
from
"vue"
;
import
analysisImage
from
'/imgs/default.png'
import
{
getTransListHistoryData
}
from
"../../../api/AIStation/TransTemp.js"
;
import
store
from
"../../../store/index.js"
;
import
zhCn
from
'element-plus/dist/locale/zh-cn.mjs'
const
TransTempHistoryData
=
ref
([])
const
params
=
ref
({})
...
...
@@ -175,7 +175,7 @@ const handleSortChange = (data) => {
:data=
"TransTempHistoryData"
border
style=
"width: 98%;margin-left: 15px"
height=
"calc(
90vh - 17
0px)"
height=
"calc(
100vh - 28
0px)"
:header-cell-class-name=
"tableHeaderClass"
:row-class-name=
"tableBodyClass"
@
sort-change=
"handleSortChange"
...
...
@@ -218,11 +218,16 @@ const handleSortChange = (data) => {
</
template
>
</el-table-column>
</el-table>
</div>
<el-footer
style=
"height: 50px;"
>
<el-config-provider
:locale=
"zhCn"
>
<el-pagination
v-model:current-page=
"Page.page"
v-model:page-size=
"Page.rows"
:page-sizes=
"[20, 30, 50, 100, 200, 300, 400]"
:small=
"small"
:disabled=
"disabled"
:background=
"background"
layout=
"total, sizes, prev, pager, next, jumper"
:total=
"Page.total"
@
size-change=
"handleSizeChange"
@
current-change=
"handleCurrentChange"
class=
"pagination"
/>
</div>
</el-config-provider>
</el-footer>
<div
class=
"dialog-TransTempPage"
>
<el-dialog
title=
"查看详情"
v-model=
"detailOpen"
...
...
src/views/AIStation/TransTempPage/TransTempNewDataPage.vue
View file @
9dd157c6
...
...
@@ -2,7 +2,7 @@
import
{
reactive
,
ref
,
watch
}
from
"vue"
;
import
analysisImage
from
'/imgs/default.png'
import
{
getTransListNewData
}
from
"../../../api/AIStation/TransTemp.js"
;
import
store
from
"../../../store/index.js"
;
import
zhCn
from
'element-plus/dist/locale/zh-cn.mjs'
const
TransTempNewData
=
ref
([])
const
params
=
ref
({})
...
...
@@ -182,7 +182,7 @@ const handleSortChange = (data) => {
:data=
"TransTempNewData"
border
style=
"width: 98%;margin-left: 15px"
height=
"calc(
90vh - 17
0px)"
height=
"calc(
100vh - 28
0px)"
:header-cell-class-name=
"tableHeaderClass"
:row-class-name=
"tableBodyClass"
@
sort-change=
"handleSortChange"
...
...
@@ -225,11 +225,15 @@ const handleSortChange = (data) => {
</
template
>
</el-table-column>
</el-table>
</div>
<el-footer
style=
"height: 50px;"
>
<el-config-provider
:locale=
"zhCn"
>
<el-pagination
v-model:current-page=
"Page.page"
v-model:page-size=
"Page.rows"
:page-sizes=
"[20, 30, 50, 100, 200, 300, 400]"
:small=
"small"
:disabled=
"disabled"
:background=
"background"
layout=
"total, sizes, prev, pager, next, jumper"
:total=
"Page.total"
@
size-change=
"handleSizeChange"
@
current-change=
"handleCurrentChange"
class=
"pagination"
/>
</div>
</el-config-provider>
</el-footer>
<div
class=
"dialog-TransTempPage"
>
<el-dialog
title=
"查看详情"
v-model=
"detailOpen"
...
...
src/views/AIStation/TransTempPage/index.vue
View file @
9dd157c6
...
...
@@ -353,7 +353,7 @@ watch(
<el-form-item
label=
"换热站:"
>
<!--
<el-cascader
:options=
"options"
v-model=
"stationId"
:props=
"props"
collapse-tags
clearable
:show-all-levels=
"false"
--
>
<!-- placeholder="请选择" style="min-width: 210px;" />-->
<el-select
v-model=
"queryParams.stationId"
placeholder=
"请选择"
style=
"min-width: 2
1
0px"
filterable
clearable
>
<el-select
v-model=
"queryParams.stationId"
placeholder=
"请选择"
style=
"min-width: 2
0
0px"
filterable
clearable
>
<el-option
v-for=
"item in options"
:key=
"item.value"
...
...
@@ -363,7 +363,7 @@ watch(
</el-select>
</el-form-item>
<el-form-item
label=
"告警状态:"
prop=
"alarmStatus"
v-show=
"selectedBtn === 1"
>
<el-select
placeholder=
""
clearable
style=
"width:
18
0px"
v-model=
"queryParams.alarmStatus"
>
<el-select
placeholder=
""
clearable
style=
"width:
20
0px"
v-model=
"queryParams.alarmStatus"
>
<el-option
v-for=
"item in alarmStatusList"
:key=
"item.value"
:value=
"item.value"
:label=
"item.label"
/>
</el-select>
</el-form-item>
...
...
@@ -378,7 +378,7 @@ watch(
type=
"datetime"
value-format=
"YYYY-MM-DD HH:mm:ss"
placeholder=
"选择开始时间"
style=
"width:
18
0px"
style=
"width:
20
0px"
v-model=
"queryParams.beginTime"
/>
</el-config-provider>
...
...
@@ -389,7 +389,7 @@ watch(
type=
"datetime"
value-format=
"YYYY-MM-DD HH:mm:ss"
placeholder=
"选择结束时间"
style=
"width:
18
0px"
style=
"width:
20
0px"
v-model=
"queryParams.endTime"
/>
</el-config-provider>
...
...
src/views/AIStation/VoiceCommandLocationPage.vue
View file @
9dd157c6
This diff is collapsed.
Click to expand it.
src/views/AIStation/VoiceCommandPage.vue
View file @
9dd157c6
...
...
@@ -4,15 +4,11 @@ import zhCn from "element-plus/dist/locale/zh-cn.mjs"
import
store
from
"../../store/index.js"
;
import
{
getVoiceCommandsData
,
deleteVoiceCommands
,
addVoiceCommands
,
updateVoiceCommands
,
exportVoiceCommands
,
}
from
"../../api/AIStation/VoiceCommand"
;
import
{
useRoute
}
from
"vue-router"
;
import
{
handleGetAIToken
}
from
"./AItoken"
;
const
options
=
ref
([]);
const
enterpriseId
=
ref
();
const
props
=
{
multiple
:
true
,
emitPath
:
false
}
...
...
@@ -152,25 +148,16 @@ function getSupplys(){
if
(
element
.
enterpriseId
===
"9BCA54BC-8F27-4849-8D7D-50C5099E1949"
.
toLowerCase
()){
element
.
serviceCenterList
.
forEach
(
center
=>
{
//遍历一级目录下的
center
.
supplyList
.
forEach
(
supply
=>
{
//拿到一级目录下的然后遍历它二级目录下的
console
.
log
(
'supply:'
,
supply
)
supply
.
stationList
.
forEach
(
station
=>
{
//拿到
let
unitIdList
=
[]
supply
.
transferList
.
forEach
(
unit
=>
{
//unit的stationId等于station的stationId的话,就把这个unit的unitId添加到unitIdList中
if
(
unit
.
stationId
===
station
.
stationId
){
unitIdList
.
push
(
unit
.
unitId
)
}
allItems
.
push
({
stationId
:
unit
.
stationId
,
stationName
:
unit
.
unitName
,
supplyId
:
unit
.
supplyId
,
unitId
:
unit
.
unitId
})
})
//将unitIdList集合按逗号分隔成字符串
let
unitId
=
unitIdList
.
join
(
','
)
allItems
.
push
({
stationId
:
station
.
stationId
,
stationName
:
station
.
stationName
,
supplyId
:
station
.
supplyId
,
unitId
:
unitId
})
});
});
}
)
console
.
log
(
'allItems:'
,
allItems
)
}
else
{
element
.
supplyList
.
forEach
(
element
=>
{
element
.
stationList
.
forEach
(
station
=>
{
allItems
.
push
({
stationId
:
station
.
stationId
,
stationName
:
station
.
stationName
,
supplyId
:
station
.
supply
Id
})
element
.
supplyList
.
forEach
(
supply
=>
{
supply
.
transferList
.
forEach
(
unit
=>
{
allItems
.
push
({
stationId
:
unit
.
stationId
,
stationName
:
unit
.
unitName
,
supplyId
:
unit
.
supplyId
,
unitId
:
unit
.
unit
Id
})
})
})
}
...
...
@@ -308,10 +295,10 @@ const handleSortChange = (data) => {
</el-select>
</el-form-item>
<el-form-item
label=
"IP地址:"
prop=
"ipAddress"
>
<el-input
placeholder=
""
style=
"width:
18
0px"
v-model=
"queryParams.ipAddress"
/>
<el-input
placeholder=
""
style=
"width:
20
0px"
v-model=
"queryParams.ipAddress"
/>
</el-form-item>
<el-form-item
label=
"MAC地址:"
prop=
"macAddress"
>
<el-input
placeholder=
""
style=
"width:
18
0px"
v-model=
"queryParams.macAddress"
/>
<el-input
placeholder=
""
style=
"width:
20
0px"
v-model=
"queryParams.macAddress"
/>
</el-form-item>
<el-form-item
label=
"开始时间:"
prop=
"beginTime"
>
<el-config-provider
:locale=
"zhCn"
>
...
...
@@ -319,7 +306,7 @@ const handleSortChange = (data) => {
type=
"datetime"
value-format=
"YYYY-MM-DD HH:mm:ss"
placeholder=
"选择开始时间"
style=
"width:
18
0px"
style=
"width:
20
0px"
v-model=
"queryParams.beginTime"
/>
</el-config-provider>
...
...
@@ -330,7 +317,7 @@ const handleSortChange = (data) => {
type=
"datetime"
value-format=
"YYYY-MM-DD HH:mm:ss"
placeholder=
"选择结束时间"
style=
"width:
18
0px"
style=
"width:
20
0px"
v-model=
"queryParams.endTime"
/>
</el-config-provider>
...
...
@@ -347,7 +334,7 @@ const handleSortChange = (data) => {
:data=
"VoiceCommandData"
border
style=
"width: 98%;margin-left: 15px"
height=
"calc(
94.7vh - 17
0px)"
height=
"calc(
100vh - 28
0px)"
:header-cell-class-name=
"tableHeaderClass"
:row-class-name=
"tableBodyClass"
@
sort-change=
"handleSortChange"
...
...
@@ -379,11 +366,16 @@ const handleSortChange = (data) => {
</
template
>
</el-table-column>
</el-table>
</div>
<el-footer
style=
"height: 50px;"
>
<el-config-provider
:locale=
"zhCn"
>
<el-pagination
v-model:current-page=
"Page.page"
v-model:page-size=
"Page.rows"
:page-sizes=
"[20, 30, 50, 100, 200, 300, 400]"
:small=
"small"
:disabled=
"disabled"
:background=
"background"
layout=
"total, sizes, prev, pager, next, jumper"
:total=
"Page.total"
@
size-change=
"handleSizeChange"
@
current-change=
"handleCurrentChange"
class=
"pagination"
/>
</div>
</el-config-provider>
</el-footer>
<div
class=
"dialog-Extinguisher"
>
<el-dialog
title=
"查看详情"
v-model=
"detailOpen"
...
...
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