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
3e5ca5ba
Commit
3e5ca5ba
authored
Sep 19, 2024
by
hubaoshan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
解决了一进页面没有默认进入最新数据,和一些显示bug
parent
2b368ba9
Changes
12
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
34 additions
and
44 deletions
+34
-44
ExtinguisherNewDataPage.vue
...ws/AIStation/ExtinguisherPage/ExtinguisherNewDataPage.vue
+2
-2
index.vue
src/views/AIStation/ExtinguisherPage/index.vue
+2
-0
MoveMonitorHistoryPage.vue
...iews/AIStation/MoveMonitorPage/MoveMonitorHistoryPage.vue
+5
-8
MoveMonitorNewDataPage.vue
...iews/AIStation/MoveMonitorPage/MoveMonitorNewDataPage.vue
+5
-8
index.vue
src/views/AIStation/MoveMonitorPage/index.vue
+2
-0
PipelineTempHistoryPage.vue
...ws/AIStation/PipelineTempPage/PipelineTempHistoryPage.vue
+2
-5
PipelineTempNewDataPage.vue
...ws/AIStation/PipelineTempPage/PipelineTempNewDataPage.vue
+2
-5
index.vue
src/views/AIStation/PipelineTempPage/index.vue
+2
-0
index.vue
src/views/AIStation/RecyclePumpPage/index.vue
+1
-0
TransTempHistoryPage.vue
src/views/AIStation/TransTempPage/TransTempHistoryPage.vue
+4
-7
TransTempNewDataPage.vue
src/views/AIStation/TransTempPage/TransTempNewDataPage.vue
+6
-9
index.vue
src/views/AIStation/TransTempPage/index.vue
+1
-0
No files found.
src/views/AIStation/ExtinguisherPage/ExtinguisherNewDataPage.vue
View file @
3e5ca5ba
...
...
@@ -182,8 +182,8 @@ defineExpose({
<el-form
ref=
"form"
:model=
"singleDetails"
size=
"small"
label-width=
"90px"
class=
"my-custom-form"
>
<el-row>
<el-col
:span=
"12"
>
<el-form-item
label=
"设备名称:"
prop=
"
relateDeviceId
"
>
<span>
{{ singleDetails.
relateDeviceId
|| '-' }}
</span>
<el-form-item
label=
"设备名称:"
prop=
"
srcName
"
>
<span>
{{ singleDetails.
srcName
|| '-' }}
</span>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
...
...
src/views/AIStation/ExtinguisherPage/index.vue
View file @
3e5ca5ba
...
...
@@ -257,6 +257,8 @@ watch(
()
=>
route
.
path
,
// 只监听路径变化
()
=>
{
if
(
route
.
path
===
'/AIStation/Extinguisher'
)
{
// selectedComponent.value = ExtinguisherNewDataPage
activeName
.
value
=
ExtinguisherNewDataPage
// 路由变化,执行相应操作
handleGetAIToken
();
const
checkAIToken
=
setInterval
(()
=>
{
...
...
src/views/AIStation/MoveMonitorPage/MoveMonitorHistoryPage.vue
View file @
3e5ca5ba
...
...
@@ -211,11 +211,8 @@ const handleSortChange = (column, prop, order) => {
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"所属换热站:"
prop=
"stationId"
>
<span
v-if=
"singleDetails.stationId=== '1'"
>
行政区供热站
</span>
<span
v-else-if=
"singleDetails.stationId=== '2'"
>
东部供热站
</span>
<span
v-else-if=
"singleDetails.stationId=== '3'"
>
小王庄供热站
</span>
<span
v-else
>
-
</span>
<el-form-item
label=
"所属换热站:"
prop=
"stationName"
>
<span>
{{ singleDetails.stationName || '-' }}
</span>
</el-form-item>
</el-col>
</el-row>
...
...
@@ -227,9 +224,9 @@ const handleSortChange = (column, prop, order) => {
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"状态:"
prop=
"taskState"
>
<span
v-if=
"singleDetails.taskState===
'0'
"
>
执行中
</span>
<span
v-else-if=
"singleDetails.taskState===
'1'
"
>
成功
</span>
<span
v-else-if=
"singleDetails.taskState===
'99'
"
>
失败
</span>
<span
v-if=
"singleDetails.taskState===
0
"
>
执行中
</span>
<span
v-else-if=
"singleDetails.taskState===
1
"
>
成功
</span>
<span
v-else-if=
"singleDetails.taskState===
99
"
>
失败
</span>
<span
v-else
>
-
</span>
</el-form-item>
</el-col>
...
...
src/views/AIStation/MoveMonitorPage/MoveMonitorNewDataPage.vue
View file @
3e5ca5ba
...
...
@@ -213,11 +213,8 @@ const handleSortChange = (column, prop, order) => {
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"所属换热站:"
prop=
"stationId"
>
<span
v-if=
"singleDetails.stationId=== '1'"
>
行政区供热站
</span>
<span
v-else-if=
"singleDetails.stationId=== '2'"
>
东部供热站
</span>
<span
v-else-if=
"singleDetails.stationId=== '3'"
>
小王庄供热站
</span>
<span
v-else
>
-
</span>
<el-form-item
label=
"所属换热站:"
prop=
"stationName"
>
<span>
{{ singleDetails.stationName || '-' }}
</span>
</el-form-item>
</el-col>
</el-row>
...
...
@@ -229,9 +226,9 @@ const handleSortChange = (column, prop, order) => {
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"状态:"
prop=
"taskState"
>
<span
v-if=
"singleDetails.taskState===
'0'
"
>
执行中
</span>
<span
v-else-if=
"singleDetails.taskState===
'1'
"
>
成功
</span>
<span
v-else-if=
"singleDetails.taskState===
'99'
"
>
失败
</span>
<span
v-if=
"singleDetails.taskState===
0
"
>
执行中
</span>
<span
v-else-if=
"singleDetails.taskState===
1
"
>
成功
</span>
<span
v-else-if=
"singleDetails.taskState===
99
"
>
失败
</span>
<span
v-else
>
-
</span>
</el-form-item>
</el-col>
...
...
src/views/AIStation/MoveMonitorPage/index.vue
View file @
3e5ca5ba
...
...
@@ -13,6 +13,7 @@ import {
}
from
"../../../api/AIStation/MoveMonitor.js"
;
import
{
useRoute
}
from
"vue-router"
;
import
{
handleGetAIToken
}
from
"../AItoken.js"
;
import
ExtinguisherNewDataPage
from
"../ExtinguisherPage/ExtinguisherNewDataPage.vue"
;
const
options
=
ref
([]);
...
...
@@ -257,6 +258,7 @@ watch(
()
=>
route
.
path
,
// 只监听路径变化
()
=>
{
if
(
route
.
path
===
'/AIStation/MoveMonitor'
)
{
activeName
.
value
=
MoveMonitorNewDataPage
// 路由变化,执行相应操作
handleGetAIToken
();
// 轮询检测 localStorage 是否更新
...
...
src/views/AIStation/PipelineTempPage/PipelineTempHistoryPage.vue
View file @
3e5ca5ba
...
...
@@ -163,11 +163,8 @@ const handleSortChange = (column, prop, order) => {
<el-form
ref=
"form"
:model=
"singleDetails"
size=
"small"
label-width=
"90px"
class=
"my-custom-form"
>
<el-row>
<el-col
:span=
"12"
>
<el-form-item
label=
"换热站:"
prop=
"stationId"
>
<span
v-if=
"singleDetails.stationId === '1'"
>
行政区供热站
</span>
<span
v-else-if=
"singleDetails.stationId === '2'"
>
东部供热站
</span>
<span
v-else-if=
"singleDetails.stationId === '3'"
>
小王庄供热站
</span>
<span
v-else
>
-
</span>
<el-form-item
label=
"换热站:"
prop=
"stationName"
>
<span>
{{ singleDetails.stationName || '-' }}
</span>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
...
...
src/views/AIStation/PipelineTempPage/PipelineTempNewDataPage.vue
View file @
3e5ca5ba
...
...
@@ -170,11 +170,8 @@ const handleSortChange = (column, prop, order) => {
<el-form
ref=
"form"
:model=
"singleDetails"
size=
"small"
label-width=
"90px"
class=
"my-custom-form"
>
<el-row>
<el-col
:span=
"12"
>
<el-form-item
label=
"换热站:"
prop=
"stationId"
>
<span
v-if=
"singleDetails.stationId === '1'"
>
行政区供热站
</span>
<span
v-else-if=
"singleDetails.stationId === '2'"
>
东部供热站
</span>
<span
v-else-if=
"singleDetails.stationId === '3'"
>
小王庄供热站
</span>
<span
v-else
>
-
</span>
<el-form-item
label=
"换热站:"
prop=
"stationName"
>
<span>
{{ singleDetails.stationName || '-' }}
</span>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
...
...
src/views/AIStation/PipelineTempPage/index.vue
View file @
3e5ca5ba
...
...
@@ -14,6 +14,7 @@ import {
}
from
"../../../api/AIStation/PipelineTemp.js"
;
import
{
useRoute
}
from
"vue-router"
;
import
{
handleGetAIToken
}
from
"../AItoken.js"
;
import
RecyclePumpNewDataPage
from
"../RecyclePumpPage/RecyclePumpNewDataPage.vue"
;
const
{
proxy
}
=
getCurrentInstance
();
...
...
@@ -282,6 +283,7 @@ watch(
()
=>
route
.
path
,
// 只监听路径变化
()
=>
{
if
(
route
.
path
===
'/AIStation/PipelineTemp'
)
{
activeName
.
value
=
PipelineTempNewDataPage
// 路由变化,执行相应操作
handleGetAIToken
();
// 轮询检测 localStorage 是否更新
...
...
src/views/AIStation/RecyclePumpPage/index.vue
View file @
3e5ca5ba
...
...
@@ -182,6 +182,7 @@ watch(
()
=>
route
.
path
,
// 只监听路径变化
()
=>
{
if
(
route
.
path
===
'/AIStation/RecyclePump'
)
{
activeName
.
value
=
RecyclePumpNewDataPage
// 路由变化,执行相应操作
handleGetAIToken
();
// 轮询检测 localStorage 是否更新
...
...
src/views/AIStation/TransTempPage/TransTempHistoryPage.vue
View file @
3e5ca5ba
...
...
@@ -176,17 +176,14 @@ const handleSortChange = (column, prop, order) => {
<el-row>
<el-col
:span=
"12"
>
<el-form-item
label=
"换热站:"
prop=
"stationId"
>
<span
v-if=
"singleDetails.stationId === '1'"
>
行政区供热站
</span>
<span
v-else-if=
"singleDetails.stationId === '2'"
>
东部供热站
</span>
<span
v-else-if=
"singleDetails.stationId === '3'"
>
小王庄供热站
</span>
<span
v-else
>
-
</span>
<el-form-item
label=
"换热站:"
prop=
"stationName"
>
<span>
{{ singleDetails.stationName || '-' }}
</span>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"设备名称:"
prop=
"
relateDeviceId
"
>
<span>
{{ singleDetails.
relateDeviceId
|| '-' }}
</span>
<el-form-item
label=
"设备名称:"
prop=
"
deviceName
"
>
<span>
{{ singleDetails.
deviceName
|| '-' }}
</span>
</el-form-item>
</el-col>
</el-row>
...
...
src/views/AIStation/TransTempPage/TransTempNewDataPage.vue
View file @
3e5ca5ba
...
...
@@ -182,17 +182,14 @@ const handleSortChange = (column, prop, order) => {
<el-row>
<el-col
:span=
"12"
>
<el-form-item
label=
"换热站:"
prop=
"stationId"
>
<span
v-if=
"singleDetails.stationId === '1'"
>
行政区供热站
</span>
<span
v-else-if=
"singleDetails.stationId === '2'"
>
东部供热站
</span>
<span
v-else-if=
"singleDetails.stationId === '3'"
>
小王庄供热站
</span>
<span
v-else
>
-
</span>
<el-form-item
label=
"换热站:"
prop=
"stationName"
>
<span>
{{ singleDetails.stationName || '-' }}
</span>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"设备名称:"
prop=
"
relateDeviceId
"
>
<span>
{{ singleDetails.
relateDeviceId
|| '-' }}
</span>
<el-form-item
label=
"设备名称:"
prop=
"
deviceName
"
>
<span>
{{ singleDetails.
deviceName
|| '-' }}
</span>
</el-form-item>
</el-col>
</el-row>
...
...
@@ -225,8 +222,8 @@ const handleSortChange = (column, prop, order) => {
<span
v-else-if=
"singleDetails.alarmStatus=== '1'"
>
异常
</span>
<span
v-else
>
-
</span>
</el-form-item>
<el-form-item
label=
"图片:"
prop=
"
pic
Url"
>
<el-image
:src=
"singleDetails.
picUrl ? singleDetails.pic
Url : analysisImage"
<el-form-item
label=
"图片:"
prop=
"
image
Url"
>
<el-image
:src=
"singleDetails.
imageUrl ? singleDetails.image
Url : analysisImage"
style=
"max-width: 80%; height: auto;"
/>
</el-form-item>
</el-form>
...
...
src/views/AIStation/TransTempPage/index.vue
View file @
3e5ca5ba
...
...
@@ -291,6 +291,7 @@ watch(
()
=>
route
.
path
,
// 只监听路径变化
()
=>
{
if
(
route
.
path
===
'/AIStation/TransTemp'
)
{
activeName
.
value
=
TransTempNewDataPage
;
// 路由变化,执行相应操作
handleGetAIToken
();
// 轮询检测 localStorage 是否更新
...
...
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