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
7f38b093
Commit
7f38b093
authored
Sep 13, 2024
by
liwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改了AI无人站的列表stationName的问题
parent
80c534bf
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
48 additions
and
48 deletions
+48
-48
PipelineTempAlarmPage.vue
...iews/AIStation/PipelineTempPage/PipelineTempAlarmPage.vue
+8
-8
PipelineTempHistoryPage.vue
...ws/AIStation/PipelineTempPage/PipelineTempHistoryPage.vue
+8
-8
PipelineTempNewDataPage.vue
...ws/AIStation/PipelineTempPage/PipelineTempNewDataPage.vue
+8
-8
TransTempAlarmPage.vue
src/views/AIStation/TransTempPage/TransTempAlarmPage.vue
+8
-8
TransTempHistoryPage.vue
src/views/AIStation/TransTempPage/TransTempHistoryPage.vue
+8
-8
TransTempNewDataPage.vue
src/views/AIStation/TransTempPage/TransTempNewDataPage.vue
+8
-8
No files found.
src/views/AIStation/PipelineTempPage/PipelineTempAlarmPage.vue
View file @
7f38b093
...
...
@@ -80,12 +80,12 @@ function getDataByParams(){
Page
.
rows
=
res
.
pageSize
})
}
function
getName
(
name
){
if
(
AlarmData
&&
AlarmData
.
value
.
length
>
0
&&
name
!==
undefined
&&
options
&&
options
.
value
.
length
>
0
)
{
const
option
=
options
.
value
.
find
(
item
=>
item
.
stationId
===
name
);
return
option
.
stationName
}
}
//
function getName(name){
//
if(AlarmData && AlarmData.value.length > 0 && name !== undefined && options && options.value.length>0) {
//
const option = options.value.find(item => item.stationId === name);
//
return option.stationName
//
}
//
}
getEnterprise
();
function
getEnterprise
(){
const
result
=
store
.
getters
.
getEnterprise
();
...
...
@@ -149,9 +149,9 @@ getSupplys()
:row-class-name=
"tableBodyClass"
>
<el-table-column
type=
"index"
label=
"序号"
align=
"center"
width=
"100"
/>
<el-table-column
prop=
"station
Id
"
align=
"center"
label=
"换热站"
sortable
>
<el-table-column
prop=
"station
Name
"
align=
"center"
label=
"换热站"
sortable
>
<template
#
default=
"scope"
>
<span>
{{
getName
(
scope
.
row
.
stationId
)
||
'-'
}}
</span>
<span>
{{
scope
.
row
.
stationName
||
'-'
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"srcParentIndex"
align=
"center"
label=
"设施名称"
sortable
/>
...
...
src/views/AIStation/PipelineTempPage/PipelineTempHistoryPage.vue
View file @
7f38b093
...
...
@@ -91,12 +91,12 @@ function getDataByParams() {
})
}
function
getName
(
name
)
{
if
(
HistoryData
&&
HistoryData
.
value
.
length
>
0
&&
name
!==
undefined
&&
options
&&
options
.
value
.
length
>
0
)
{
const
option
=
options
.
value
.
find
(
item
=>
item
.
stationId
===
name
);
return
option
.
stationName
}
}
//
function getName(name) {
//
if (HistoryData && HistoryData.value.length > 0 && name !== undefined && options && options.value.length > 0) {
//
const option = options.value.find(item => item.stationId === name);
//
return option.stationName
//
}
//
}
getEnterprise
();
...
...
@@ -172,9 +172,9 @@ getSupplys()
:row-class-name=
"tableBodyClass"
>
<el-table-column
type=
"index"
label=
"序号"
align=
"center"
width=
"100"
/>
<el-table-column
prop=
"station
Id
"
align=
"center"
label=
"换热站名称"
sortable
>
<el-table-column
prop=
"station
Name
"
align=
"center"
label=
"换热站名称"
sortable
>
<template
#
default=
"scope"
>
<span>
{{
getName
(
scope
.
row
.
stationId
)
||
'-'
}}
</span>
<span>
{{
scope
.
row
.
stationName
||
'-'
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"deviceIndexCode"
align=
"center"
label=
"光纤设备"
sortable
/>
...
...
src/views/AIStation/PipelineTempPage/PipelineTempNewDataPage.vue
View file @
7f38b093
...
...
@@ -83,12 +83,12 @@ function getDataByParams() {
})
}
function
getName
(
name
)
{
if
(
data
&&
data
.
value
.
length
>
0
&&
name
!==
undefined
&&
options
&&
options
.
value
.
length
>
0
)
{
const
option
=
options
.
value
.
find
(
item
=>
item
.
stationId
===
name
);
return
option
.
stationName
}
}
//
function getName(name) {
//
if (data && data.value.length > 0 && name !== undefined && options && options.value.length > 0) {
//
const option = options.value.find(item => item.stationId === name);
//
return option.stationName
//
}
//
}
const
enterpriseId
=
ref
();
const
loading
=
ref
(
true
);
...
...
@@ -175,9 +175,9 @@ getSupplys()
:row-class-name=
"tableBodyClass"
>
<el-table-column
type=
"index"
label=
"序号"
align=
"center"
width=
"100"
/>
<el-table-column
prop=
"station
Id
"
align=
"center"
label=
"换热站名称"
sortable
>
<el-table-column
prop=
"station
Name
"
align=
"center"
label=
"换热站名称"
sortable
>
<template
#
default=
"scope"
>
<span>
{{
getName
(
scope
.
row
.
stationId
)
||
'-'
}}
</span>
<span>
{{
scope
.
row
.
stationName
||
'-'
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"deviceIndexCode"
align=
"center"
label=
"光纤设备"
sortable
/>
...
...
src/views/AIStation/TransTempPage/TransTempAlarmPage.vue
View file @
7f38b093
...
...
@@ -82,12 +82,12 @@ function getDataByParams() {
})
}
function
getName
(
name
)
{
if
(
TransTempAlarmData
&&
TransTempAlarmData
.
value
.
length
>
0
&&
name
!==
undefined
&&
options
&&
options
.
value
.
length
>
0
)
{
const
option
=
options
.
value
.
find
(
item
=>
item
.
stationId
===
name
);
return
option
.
stationName
}
}
//
function getName(name) {
//
if (TransTempAlarmData && TransTempAlarmData.value.length > 0 && name !== undefined && options && options.value.length > 0) {
//
const option = options.value.find(item => item.stationId === name);
//
return option.stationName
//
}
//
}
function
getDataNew
(
item
)
{
getTransListAlarmData
(
item
).
then
(
res
=>
{
...
...
@@ -171,9 +171,9 @@ getSupplys()
:row-class-name=
"tableBodyClass"
>
<el-table-column
type=
"index"
label=
"序号"
align=
"center"
width=
"100"
/>
<el-table-column
prop=
"station
Id
"
label=
"换热站"
align=
"center"
sortable
>
<el-table-column
prop=
"station
Name
"
label=
"换热站"
align=
"center"
sortable
>
<template
#
default=
"scope"
>
<span>
{{
getName
(
scope
.
row
.
stationId
)
||
'-'
}}
</span>
<span>
{{
scope
.
row
.
stationName
||
'-'
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"relateDeviceId"
label=
"设备名称"
align=
"center"
sortable
/>
...
...
src/views/AIStation/TransTempPage/TransTempHistoryPage.vue
View file @
7f38b093
...
...
@@ -85,12 +85,12 @@ function getDataByParams() {
})
}
function
getName
(
name
)
{
if
(
TransTempHistoryData
&&
TransTempHistoryData
.
value
.
length
>
0
&&
name
!==
undefined
&&
options
&&
options
.
value
.
length
>
0
)
{
const
option
=
options
.
value
.
find
(
item
=>
item
.
stationId
===
name
);
return
option
.
stationName
}
}
//
function getName(name) {
//
if (TransTempHistoryData && TransTempHistoryData.value.length > 0 && name !== undefined && options && options.value.length > 0) {
//
const option = options.value.find(item => item.stationId === name);
//
return option.stationName
//
}
//
}
function
getDataNew
(
item
)
{
getTransListHistoryData
(
item
).
then
(
res
=>
{
...
...
@@ -174,9 +174,9 @@ getSupplys()
:row-class-name=
"tableBodyClass"
>
<el-table-column
type=
"index"
label=
"序号"
align=
"center"
width=
"100"
/>
<el-table-column
prop=
"station
Id
"
align=
"center"
label=
"换热站名称"
sortable
>
<el-table-column
prop=
"station
Name
"
align=
"center"
label=
"换热站名称"
sortable
>
<template
#
default=
"scope"
>
<span>
{{
getName
(
scope
.
row
.
stationId
)
||
'-'
}}
</span>
<span>
{{
scope
.
row
.
stationName
||
'-'
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"deviceName"
align=
"center"
label=
"设备名称"
sortable
/>
...
...
src/views/AIStation/TransTempPage/TransTempNewDataPage.vue
View file @
7f38b093
...
...
@@ -86,12 +86,12 @@ function getDataByParams() {
})
}
function
getName
(
name
)
{
if
(
TransTempNewData
&&
TransTempNewData
.
value
.
length
>
0
&&
name
!==
undefined
&&
options
&&
options
.
value
.
length
>
0
)
{
const
option
=
options
.
value
.
find
(
item
=>
item
.
stationId
===
name
);
return
option
.
stationName
}
}
//
function getName(name) {
//
if (TransTempNewData && TransTempNewData.value.length > 0 && name !== undefined && options && options.value.length > 0) {
//
const option = options.value.find(item => item.stationId === name);
//
return option.stationName
//
}
//
}
function
getDataNew
(
item
)
{
getTransListNewData
(
item
).
then
(
res
=>
{
...
...
@@ -175,9 +175,9 @@ getSupplys()
:row-class-name=
"tableBodyClass"
>
<el-table-column
type=
"index"
label=
"序号"
align=
"center"
width=
"100"
/>
<el-table-column
prop=
"station
Id
"
align=
"center"
label=
"换热站名称"
sortable
>
<el-table-column
prop=
"station
Name
"
align=
"center"
label=
"换热站名称"
sortable
>
<template
#
default=
"scope"
>
<span>
{{
getName
(
scope
.
row
.
stationId
)
||
'-'
}}
</span>
<span>
{{
scope
.
row
.
stationName
||
'-'
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"deviceName"
align=
"center"
label=
"设备名称"
sortable
/>
...
...
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