Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Y
yindong-tongbai-automation
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
lichunliang
yindong-tongbai-automation
Commits
daba6cf8
Commit
daba6cf8
authored
Aug 11, 2025
by
lei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:空压机表头问题
parent
14730474
Changes
5
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
455 additions
and
187 deletions
+455
-187
index.vue
src/views/Screen/index.vue
+1
-3
tsj.vue
src/views/Screen/items/tsj.vue
+196
-118
index.vue
src/views/kongSys/kongHis/index.vue
+126
-31
index.vue
src/views/kongSys/kongReal/index.vue
+130
-33
index.vue
src/views/personPos/perReal/index.vue
+2
-2
No files found.
src/views/Screen/index.vue
View file @
daba6cf8
...
@@ -128,11 +128,9 @@ export default {
...
@@ -128,11 +128,9 @@ export default {
this
.
$router
.
push
(
`/screen/
${
val
}
`
);
this
.
$router
.
push
(
`/screen/
${
val
}
`
);
},
},
goToSys
()
{
goToSys
()
{
var
link
=
this
.
$router
.
resolve
({
this
.
$router
.
push
({
path
:
"
/
"
,
path
:
"
/
"
,
});
});
window
.
open
(
link
.
href
);
return
;
},
},
openVideo
()
{
openVideo
()
{
// window.open(this.videoData);
// window.open(this.videoData);
...
...
src/views/Screen/items/tsj.vue
View file @
daba6cf8
This diff is collapsed.
Click to expand it.
src/views/kongSys/kongHis/index.vue
View file @
daba6cf8
<
template
>
<
template
>
<div
class=
"app-container"
>
<div
class=
"app-container"
>
<el-form
:model=
"queryParams"
ref=
"queryForm"
size=
"small"
:inline=
"true"
label-width=
"68px"
>
<el-form
:model=
"queryParams"
ref=
"queryForm"
size=
"small"
:inline=
"true"
label-width=
"68px"
>
<el-form-item
label=
""
prop=
"deviceName"
>
<el-form-item
label=
""
prop=
"deviceName"
>
<el-select
v-model=
"queryParams.deviceName"
placeholder=
"空压机名称"
clearable
>
<el-select
<el-option
v-for=
"dict in deviceName"
:key=
"dict.id"
:label=
"dict.deviceName"
:value=
"dict.id"
/>
v-model=
"queryParams.deviceName"
placeholder=
"空压机名称"
clearable
>
<el-option
v-for=
"dict in deviceName"
:key=
"dict.id"
:label=
"dict.deviceName"
:value=
"dict.id"
/>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
<el-form-item
label=
""
>
<el-form-item
label=
""
>
...
@@ -18,43 +33,117 @@
...
@@ -18,43 +33,117 @@
></el-date-picker>
></el-date-picker>
</el-form-item>
</el-form-item>
<el-form-item>
<el-form-item>
<el-button
type=
"primary"
icon=
"el-icon-search"
size=
"mini"
@
click=
"handleQuery"
>
搜索
</el-button>
<el-button
<el-button
icon=
"el-icon-refresh"
size=
"mini"
@
click=
"resetQuery"
>
重置
</el-button>
type=
"primary"
icon=
"el-icon-search"
size=
"mini"
@
click=
"handleQuery"
>
搜索
</el-button
>
<el-button
icon=
"el-icon-refresh"
size=
"mini"
@
click=
"resetQuery"
>
重置
</el-button
>
<!--
<el-button
icon=
"el-icon-download"
size=
"mini"
type=
"primary"
plain
@
click=
"exportData"
>
导出
</el-button>
-->
<!--
<el-button
icon=
"el-icon-download"
size=
"mini"
type=
"primary"
plain
@
click=
"exportData"
>
导出
</el-button>
-->
</el-form-item>
</el-form-item>
</el-form>
</el-form>
<el-table
v-loading=
"loading"
:data=
"infoList"
>
<el-table
v-loading=
"loading"
:data=
"infoList"
>
<el-table-column
label=
"空压机名称"
align=
"center"
prop=
"deviceName"
width=
"120"
/>
<el-table-column
<el-table-column
label=
"空压机编号"
align=
"center"
prop=
"deviceId"
width=
"120"
/>
label=
"空压机名称"
<el-table-column
label=
"监测时间"
align=
"center"
prop=
"time"
width=
"160"
/>
align=
"center"
<el-table-column
label=
"管道压力(Kpa)"
align=
"center"
prop=
"pipelinePressure"
width=
"140"
/>
prop=
"deviceName"
<el-table-column
label=
"瞬时流量(m³)"
align=
"center"
prop=
"flowRate"
width=
"140"
/>
width=
"120"
<el-table-column
label=
"瞬时流速(m³/s)"
align=
"center"
prop=
"velocity"
width=
"140"
/>
/>
<el-table-column
label=
"气体温度(℃)"
align=
"center"
prop=
"gasTemperature"
width=
"120"
/>
<el-table-column
<el-table-column
label=
"管道压力(假)(Kpa)"
align=
"center"
prop=
"pipelinePressureFalse"
/>
label=
"空压机编号"
<el-table-column
label=
"瞬时流量(假)(m³)"
align=
"center"
prop=
"flowRateFalse"
/>
align=
"center"
<el-table-column
label=
"瞬时流速(假)(m³/s)"
align=
"center"
prop=
"velocityFalse"
/>
prop=
"deviceId"
<el-table-column
label=
"气体温度(假)(℃)"
align=
"center"
prop=
"gasTemperatureFalse"
/>
width=
"120"
<el-table-column
label=
"状态"
align=
"center"
prop=
"fanRunStatus"
width=
"140"
>
/>
<el-table-column
label=
"监测时间"
align=
"center"
prop=
"time"
width=
"160"
/>
<el-table-column
label=
"管道压力(Kpa)"
align=
"center"
prop=
"pipelinePressure"
width=
"140"
/>
<el-table-column
label=
"瞬时流量(m³)"
align=
"center"
prop=
"flowRate"
width=
"140"
/>
<el-table-column
label=
"瞬时流速(m³/s)"
align=
"center"
prop=
"velocity"
width=
"140"
/>
<el-table-column
label=
"气体温度(℃)"
align=
"center"
prop=
"gasTemperature"
width=
"120"
/>
<el-table-column
label=
"管道压力(Kpa)"
align=
"center"
prop=
"pipelinePressureFalse"
/>
<el-table-column
label=
"瞬时流量(m³)"
align=
"center"
prop=
"flowRateFalse"
/>
<el-table-column
label=
"瞬时流速(m³/s)"
align=
"center"
prop=
"velocityFalse"
/>
<el-table-column
label=
"气体温度(℃)"
align=
"center"
prop=
"gasTemperatureFalse"
/>
<el-table-column
label=
"状态"
align=
"center"
prop=
"fanRunStatus"
width=
"140"
>
<template
slot-scope=
"
{ row }">
<template
slot-scope=
"
{ row }">
<el-tag
v-if=
"row.fanRunStatus == 1"
type=
"success"
size=
"mini"
>
启动
</el-tag>
<el-tag
v-if=
"row.fanRunStatus == 1"
type=
"success"
size=
"mini"
<el-tag
v-else-if=
"row.fanRunStatus == 2"
type=
"danger"
size=
"mini"
>
停止
</el-tag>
>
启动
</el-tag
>
<el-tag
v-else-if=
"row.fanRunStatus == 2"
type=
"danger"
size=
"mini"
>
停止
</el-tag
>
<el-tag
v-else-if=
"fanRunStatus == 3"
size=
"mini"
>
复位
</el-tag>
<el-tag
v-else-if=
"fanRunStatus == 3"
size=
"mini"
>
复位
</el-tag>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
<pagination
v-show=
"total > 0"
:total=
"total"
:page.sync=
"queryParams.pageNum"
:limit.sync=
"queryParams.pageSize"
@
pagination=
"getList"
/>
<pagination
v-show=
"total > 0"
:total=
"total"
:page.sync=
"queryParams.pageNum"
:limit.sync=
"queryParams.pageSize"
@
pagination=
"getList"
/>
</div>
</div>
</template>
</template>
<
script
>
<
script
>
import
{
listKongHis
}
from
'
@/api/tyler/kong
'
;
import
{
listKongHis
}
from
"
@/api/tyler/kong
"
;
import
{
kongDeviceName
}
from
'
@/api/tyler/common
'
;
import
{
kongDeviceName
}
from
"
@/api/tyler/common
"
;
export
default
{
export
default
{
name
:
'
Info
'
,
name
:
"
Info
"
,
data
()
{
data
()
{
return
{
return
{
// 根路径
// 根路径
...
@@ -77,7 +166,7 @@ export default {
...
@@ -77,7 +166,7 @@ export default {
};
};
},
},
created
()
{
created
()
{
kongDeviceName
().
then
(
res
=>
{
kongDeviceName
().
then
(
(
res
)
=>
{
this
.
deviceName
=
res
.
rows
;
this
.
deviceName
=
res
.
rows
;
});
});
this
.
getList
();
this
.
getList
();
...
@@ -85,16 +174,22 @@ export default {
...
@@ -85,16 +174,22 @@ export default {
methods
:
{
methods
:
{
/** 导出按钮操作 */
/** 导出按钮操作 */
exportData
()
{
exportData
()
{
this
.
download
(
'
/business/pump/history/export
'
,
{},
`空压机运行历史数据_
${
new
Date
().
getTime
()}
.xlsx`
);
this
.
download
(
"
/business/pump/history/export
"
,
{},
`空压机运行历史数据_
${
new
Date
().
getTime
()}
.xlsx`
);
},
},
/** 查询空压机基本信息列表 */
/** 查询空压机基本信息列表 */
getList
()
{
getList
()
{
this
.
loading
=
true
;
this
.
loading
=
true
;
listKongHis
(
this
.
addDateRange
(
this
.
queryParams
,
this
.
dateRange
)).
then
(
response
=>
{
listKongHis
(
this
.
addDateRange
(
this
.
queryParams
,
this
.
dateRange
)).
then
(
(
response
)
=>
{
this
.
infoList
=
response
.
rows
;
this
.
infoList
=
response
.
rows
;
this
.
total
=
response
.
total
;
this
.
total
=
response
.
total
;
this
.
loading
=
false
;
this
.
loading
=
false
;
});
}
);
},
},
/** 搜索按钮操作 */
/** 搜索按钮操作 */
handleQuery
()
{
handleQuery
()
{
...
@@ -104,7 +199,7 @@ export default {
...
@@ -104,7 +199,7 @@ export default {
/** 重置按钮操作 */
/** 重置按钮操作 */
resetQuery
()
{
resetQuery
()
{
this
.
dateRange
=
[];
this
.
dateRange
=
[];
this
.
resetForm
(
'
queryForm
'
);
this
.
resetForm
(
"
queryForm
"
);
this
.
handleQuery
();
this
.
handleQuery
();
},
},
},
},
...
...
src/views/kongSys/kongReal/index.vue
View file @
daba6cf8
<
template
>
<
template
>
<div
class=
"app-container"
>
<div
class=
"app-container"
>
<el-form
:model=
"queryParams"
ref=
"queryForm"
size=
"small"
:inline=
"true"
v-show=
"showSearch"
label-width=
"68px"
>
<el-form
:model=
"queryParams"
ref=
"queryForm"
size=
"small"
:inline=
"true"
v-show=
"showSearch"
label-width=
"68px"
>
<el-form-item
label=
""
prop=
"deviceId"
>
<el-form-item
label=
""
prop=
"deviceId"
>
<el-select
v-model=
"queryParams.deviceId"
placeholder=
"空压机名称"
clearable
>
<el-select
<el-option
v-for=
"dict in deviceName"
:key=
"dict.id"
:label=
"dict.deviceName"
:value=
"dict.id"
/>
v-model=
"queryParams.deviceId"
placeholder=
"空压机名称"
clearable
>
<el-option
v-for=
"dict in deviceName"
:key=
"dict.id"
:label=
"dict.deviceName"
:value=
"dict.id"
/>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
<el-form-item
label=
""
>
<el-form-item
label=
""
>
...
@@ -18,42 +34,117 @@
...
@@ -18,42 +34,117 @@
></el-date-picker>
></el-date-picker>
</el-form-item>
</el-form-item>
<el-form-item>
<el-form-item>
<el-button
type=
"primary"
icon=
"el-icon-search"
size=
"mini"
@
click=
"handleQuery"
>
搜索
</el-button>
<el-button
<el-button
icon=
"el-icon-refresh"
size=
"mini"
@
click=
"resetQuery"
>
重置
</el-button>
type=
"primary"
icon=
"el-icon-search"
size=
"mini"
@
click=
"handleQuery"
>
搜索
</el-button
>
<el-button
icon=
"el-icon-refresh"
size=
"mini"
@
click=
"resetQuery"
>
重置
</el-button
>
</el-form-item>
</el-form-item>
</el-form>
</el-form>
<el-table
v-loading=
"loading"
:data=
"infoList"
>
<el-table
v-loading=
"loading"
:data=
"infoList"
>
<el-table-column
label=
"空压机名称"
align=
"center"
prop=
"deviceName"
width=
"120"
/>
<el-table-column
<el-table-column
label=
"空压机编号"
align=
"center"
prop=
"deviceId"
width=
"120"
/>
label=
"空压机名称"
<el-table-column
label=
"监测时间"
align=
"center"
prop=
"time"
width=
"160"
/>
align=
"center"
<el-table-column
label=
"管道压力(Kpa)"
align=
"center"
prop=
"pipelinePressure"
width=
"140"
/>
prop=
"deviceName"
<el-table-column
label=
"瞬时流量(m³)"
align=
"center"
prop=
"flowRate"
width=
"140"
/>
width=
"120"
<el-table-column
label=
"瞬时流速(m³/s)"
align=
"center"
prop=
"velocity"
width=
"140"
/>
/>
<el-table-column
label=
"气体温度(℃)"
align=
"center"
prop=
"gasTemperature"
width=
"120"
/>
<el-table-column
<el-table-column
label=
"管道压力(假)(Kpa)"
align=
"center"
prop=
"pipelinePressureFalse"
/>
label=
"空压机编号"
<el-table-column
label=
"瞬时流量(假)(m³)"
align=
"center"
prop=
"flowRateFalse"
width=
"140"
/>
align=
"center"
<el-table-column
label=
"瞬时流速(假)(m³/s)"
align=
"center"
prop=
"velocityFalse"
/>
prop=
"deviceId"
<el-table-column
label=
"气体温度(假)(℃)"
align=
"center"
prop=
"gasTemperatureFalse"
/>
width=
"120"
<el-table-column
label=
"状态"
align=
"center"
prop=
"fanRunStatus"
width=
"140"
>
/>
<el-table-column
label=
"监测时间"
align=
"center"
prop=
"time"
width=
"160"
/>
<el-table-column
label=
"管道压力(Kpa)"
align=
"center"
prop=
"pipelinePressure"
width=
"140"
/>
<el-table-column
label=
"瞬时流量(m³)"
align=
"center"
prop=
"flowRate"
width=
"140"
/>
<el-table-column
label=
"瞬时流速(m³/s)"
align=
"center"
prop=
"velocity"
width=
"140"
/>
<el-table-column
label=
"气体温度(℃)"
align=
"center"
prop=
"gasTemperature"
width=
"120"
/>
<el-table-column
label=
"管道压力(Kpa)"
align=
"center"
prop=
"pipelinePressureFalse"
/>
<el-table-column
label=
"瞬时流量(m³)"
align=
"center"
prop=
"flowRateFalse"
width=
"140"
/>
<el-table-column
label=
"瞬时流速(m³/s)"
align=
"center"
prop=
"velocityFalse"
/>
<el-table-column
label=
"气体温度(℃)"
align=
"center"
prop=
"gasTemperatureFalse"
/>
<el-table-column
label=
"状态"
align=
"center"
prop=
"fanRunStatus"
width=
"140"
>
<template
slot-scope=
"
{ row }">
<template
slot-scope=
"
{ row }">
<el-tag
v-if=
"row.fanRunStatus == 1"
type=
"success"
size=
"mini"
>
启动
</el-tag>
<el-tag
v-if=
"row.fanRunStatus == 1"
type=
"success"
size=
"mini"
<el-tag
v-else-if=
"row.fanRunStatus == 2"
type=
"danger"
size=
"mini"
>
停止
</el-tag>
>
启动
</el-tag
>
<el-tag
v-else-if=
"row.fanRunStatus == 2"
type=
"danger"
size=
"mini"
>
停止
</el-tag
>
<el-tag
v-else-if=
"fanRunStatus == 3"
size=
"mini"
>
复位
</el-tag>
<el-tag
v-else-if=
"fanRunStatus == 3"
size=
"mini"
>
复位
</el-tag>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
<pagination
v-show=
"total > 0"
:total=
"total"
:page.sync=
"queryParams.pageNum"
:limit.sync=
"queryParams.pageSize"
@
pagination=
"getList"
/>
<pagination
v-show=
"total > 0"
:total=
"total"
:page.sync=
"queryParams.pageNum"
:limit.sync=
"queryParams.pageSize"
@
pagination=
"getList"
/>
</div>
</div>
</template>
</template>
<
script
>
<
script
>
import
{
listrealKong
}
from
'
@/api/tyler/kongReal
'
;
import
{
listrealKong
}
from
"
@/api/tyler/kongReal
"
;
import
{
kongDeviceName
}
from
'
@/api/tyler/common
'
;
import
{
kongDeviceName
}
from
"
@/api/tyler/common
"
;
export
default
{
export
default
{
name
:
'
Info
'
,
name
:
"
Info
"
,
data
()
{
data
()
{
return
{
return
{
// 根路径
// 根路径
...
@@ -76,16 +167,20 @@ export default {
...
@@ -76,16 +167,20 @@ export default {
form
:
{},
form
:
{},
// 表单校验
// 表单校验
rules
:
{
rules
:
{
id
:
[{
required
:
true
,
message
:
'
id不能为空
'
,
trigger
:
'
blur
'
}],
id
:
[{
required
:
true
,
message
:
"
id不能为空
"
,
trigger
:
"
blur
"
}],
deviceName
:
[{
required
:
true
,
message
:
'
空压机名称不能为空
'
,
trigger
:
'
blur
'
}],
deviceName
:
[
deviceId
:
[{
required
:
true
,
message
:
'
空压机编号不能为空
'
,
trigger
:
'
blur
'
}],
{
required
:
true
,
message
:
"
空压机名称不能为空
"
,
trigger
:
"
blur
"
},
],
deviceId
:
[
{
required
:
true
,
message
:
"
空压机编号不能为空
"
,
trigger
:
"
blur
"
},
],
},
},
deviceName
:
[],
deviceName
:
[],
dateRange
:
[],
dateRange
:
[],
};
};
},
},
created
()
{
created
()
{
kongDeviceName
().
then
(
res
=>
{
kongDeviceName
().
then
(
(
res
)
=>
{
this
.
deviceName
=
res
.
rows
;
this
.
deviceName
=
res
.
rows
;
});
});
this
.
getList
();
this
.
getList
();
...
@@ -94,11 +189,13 @@ export default {
...
@@ -94,11 +189,13 @@ export default {
/** 查询空压机基本信息列表 */
/** 查询空压机基本信息列表 */
getList
()
{
getList
()
{
this
.
loading
=
true
;
this
.
loading
=
true
;
listrealKong
(
this
.
addDateRange
(
this
.
queryParams
,
this
.
dateRange
)).
then
(
response
=>
{
listrealKong
(
this
.
addDateRange
(
this
.
queryParams
,
this
.
dateRange
)).
then
(
(
response
)
=>
{
this
.
infoList
=
response
.
rows
;
this
.
infoList
=
response
.
rows
;
this
.
total
=
response
.
total
;
this
.
total
=
response
.
total
;
this
.
loading
=
false
;
this
.
loading
=
false
;
});
}
);
},
},
/** 搜索按钮操作 */
/** 搜索按钮操作 */
handleQuery
()
{
handleQuery
()
{
...
@@ -108,7 +205,7 @@ export default {
...
@@ -108,7 +205,7 @@ export default {
/** 重置按钮操作 */
/** 重置按钮操作 */
resetQuery
()
{
resetQuery
()
{
this
.
dateRange
=
[];
this
.
dateRange
=
[];
this
.
resetForm
(
'
queryForm
'
);
this
.
resetForm
(
"
queryForm
"
);
this
.
handleQuery
();
this
.
handleQuery
();
},
},
},
},
...
...
src/views/personPos/perReal/index.vue
View file @
daba6cf8
...
@@ -92,8 +92,8 @@
...
@@ -92,8 +92,8 @@
<
el
-
table
-
column
label
=
"
卡号
"
align
=
"
center
"
prop
=
"
cardNumber
"
/>
<
el
-
table
-
column
label
=
"
卡号
"
align
=
"
center
"
prop
=
"
cardNumber
"
/>
<
el
-
table
-
column
label
=
"
部门
"
align
=
"
center
"
prop
=
"
departName
"
/>
<
el
-
table
-
column
label
=
"
部门
"
align
=
"
center
"
prop
=
"
departName
"
/>
<
el
-
table
-
column
label
=
"
分站名称
"
align
=
"
center
"
prop
=
"
locationName
"
/>
<
el
-
table
-
column
label
=
"
分站名称
"
align
=
"
center
"
prop
=
"
locationName
"
/>
<
el
-
table
-
column
label
=
"
到达位置
"
align
=
"
center
"
prop
=
"
localtion
"
/>
<
!--
<
el
-
table
-
column
label
=
"
到达位置
"
align
=
"
center
"
prop
=
"
localtion
"
/>
<
el
-
table
-
column
label
=
"
来向
"
align
=
"
center
"
prop
=
""
/>
<
el
-
table
-
column
label
=
"
来向
"
align
=
"
center
"
prop
=
""
/>
-->
<
el
-
table
-
column
label
=
"
时间
"
align
=
"
center
"
prop
=
"
lastTime
"
>
<
el
-
table
-
column
label
=
"
时间
"
align
=
"
center
"
prop
=
"
lastTime
"
>
<
template
slot
-
scope
=
"
scope
"
>
<
template
slot
-
scope
=
"
scope
"
>
<
span
>
{{
parseTime
(
scope
.
row
.
lastTime
)
}}
<
/span
>
<
span
>
{{
parseTime
(
scope
.
row
.
lastTime
)
}}
<
/span
>
...
...
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