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
87b1abf5
Commit
87b1abf5
authored
Sep 14, 2024
by
hubaoshan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
getData() 父调子方法Bug
parent
cdbc9194
Changes
13
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
65 additions
and
9 deletions
+65
-9
ExtinguisherAlarmPage.vue
...iews/AIStation/ExtinguisherPage/ExtinguisherAlarmPage.vue
+3
-0
ExtinguisherHistoryPage.vue
...ws/AIStation/ExtinguisherPage/ExtinguisherHistoryPage.vue
+3
-0
index.vue
src/views/AIStation/ExtinguisherPage/index.vue
+13
-4
MoveMonitorAlarmPage.vue
src/views/AIStation/MoveMonitorPage/MoveMonitorAlarmPage.vue
+3
-0
MoveMonitorHistoryPage.vue
...iews/AIStation/MoveMonitorPage/MoveMonitorHistoryPage.vue
+3
-0
index.vue
src/views/AIStation/MoveMonitorPage/index.vue
+9
-1
PipelineTempAlarmPage.vue
...iews/AIStation/PipelineTempPage/PipelineTempAlarmPage.vue
+3
-0
PipelineTempHistoryPage.vue
...ws/AIStation/PipelineTempPage/PipelineTempHistoryPage.vue
+3
-0
index.vue
src/views/AIStation/PipelineTempPage/index.vue
+9
-2
index.vue
src/views/AIStation/RecyclePumpPage/index.vue
+1
-1
TransTempAlarmPage.vue
src/views/AIStation/TransTempPage/TransTempAlarmPage.vue
+3
-0
TransTempHistoryPage.vue
src/views/AIStation/TransTempPage/TransTempHistoryPage.vue
+3
-0
index.vue
src/views/AIStation/TransTempPage/index.vue
+9
-1
No files found.
src/views/AIStation/ExtinguisherPage/ExtinguisherAlarmPage.vue
View file @
87b1abf5
...
...
@@ -80,6 +80,9 @@ function getDataNew(item) {
Page
.
rows
=
res
.
pageSize
})
}
defineExpose
({
getData
});
</
script
>
<
template
>
...
...
src/views/AIStation/ExtinguisherPage/ExtinguisherHistoryPage.vue
View file @
87b1abf5
...
...
@@ -92,6 +92,9 @@ function getDataNew(item) {
historyPage
.
rows
=
res
.
pageSize
})
}
defineExpose
({
getData
});
</
script
>
<
template
>
...
...
src/views/AIStation/ExtinguisherPage/index.vue
View file @
87b1abf5
...
...
@@ -31,7 +31,8 @@ const getData = () => {
if
(
childComponentRef
.
value
&&
childComponentRef
.
value
.
getData
)
{
console
.
log
(
'能不能成功啊'
)
childComponentRef
.
value
.
getData
();
// 调用子组件的 getData 方法
}
}
else
{
console
.
log
(
'啊,不行啊'
)}
};
const
{
proxy
}
=
getCurrentInstance
();
// 列表
...
...
@@ -97,6 +98,13 @@ const search = () => {
beginTime
:
queryParams
.
beginTime
,
endTime
:
queryParams
.
endTime
,
})
if
(
item
.
alarmStatus
===
undefined
||
item
.
alarmType
===
undefined
||
item
.
beginTime
==
null
||
item
.
endTime
==
null
||
item
.
stationId
===
undefined
){
item
.
alarmStatus
=
''
item
.
endTime
=
''
item
.
stationId
=
''
item
.
beginTime
=
''
item
.
alarmType
=
''
}
if
(
selectedBtn
.
value
===
1
)
{
childParams
.
value
=
item
}
else
if
(
selectedBtn
.
value
===
2
)
{
...
...
@@ -111,7 +119,6 @@ function getNumber() {
getAlarmNumData
().
then
(
res
=>
{
console
.
log
(
'123123123123-----------'
,
res
.
data
)
alarmNum
.
value
=
res
.
data
iop
.
value
=
res
.
data
})
}
...
...
@@ -167,12 +174,14 @@ const handleExport = () => {
// 重置
const
resetSearch
=
()
=>
{
console
.
log
(
"怎么不执行重置啊?"
)
queryParams
.
alarmStatus
=
''
queryParams
.
beginTime
=
''
queryParams
.
endTime
=
''
queryParams
.
alarmType
=
''
queryParams
.
stationId
=
''
searchData
.
value
=
{}
searchData
.
value
=
[]
getData
()
}
const
loading
=
ref
(
true
);
...
...
@@ -308,7 +317,7 @@ watch(
</el-form-item>
<el-form-item>
<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-form-item>
</el-form>
...
...
src/views/AIStation/MoveMonitorPage/MoveMonitorAlarmPage.vue
View file @
87b1abf5
...
...
@@ -163,6 +163,9 @@ function getSupplys() {
}
getSupplys
()
defineExpose
({
getData
});
</
script
>
<
template
>
...
...
src/views/AIStation/MoveMonitorPage/MoveMonitorHistoryPage.vue
View file @
87b1abf5
...
...
@@ -159,6 +159,9 @@ function getSupplys() {
}
getSupplys
()
defineExpose
({
getData
});
</
script
>
<
template
>
...
...
src/views/AIStation/MoveMonitorPage/index.vue
View file @
87b1abf5
...
...
@@ -93,6 +93,13 @@ const search = () => {
beginTime
:
queryParams
.
beginTime
,
endTime
:
queryParams
.
endTime
,
}
if
(
item
.
alarmStatus
===
undefined
||
item
.
alarmType
===
undefined
||
item
.
beginTime
==
null
||
item
.
endTime
==
null
||
item
.
stationId
===
undefined
){
item
.
alarmStatus
=
''
item
.
endTime
=
''
item
.
stationId
=
''
item
.
beginTime
=
''
item
.
alarmType
=
''
}
if
(
selectedBtn
.
value
===
1
)
{
childParams
.
value
=
item
}
else
if
(
selectedBtn
.
value
===
2
)
{
...
...
@@ -170,7 +177,8 @@ const resetSearch = () => {
queryParams
.
endTime
=
''
queryParams
.
alarmType
=
''
queryParams
.
stationId
=
''
searchData
.
value
=
{}
searchData
.
value
=
[]
getData
()
}
const
loading
=
ref
(
true
);
...
...
src/views/AIStation/PipelineTempPage/PipelineTempAlarmPage.vue
View file @
87b1abf5
...
...
@@ -134,6 +134,9 @@ function getSupplys(){
}
}
getSupplys
()
defineExpose
({
getData
});
</
script
>
<
template
>
...
...
src/views/AIStation/PipelineTempPage/PipelineTempHistoryPage.vue
View file @
87b1abf5
...
...
@@ -157,6 +157,9 @@ function getSupplys() {
}
getSupplys
()
defineExpose
({
getData
});
</
script
>
<
template
>
...
...
src/views/AIStation/PipelineTempPage/index.vue
View file @
87b1abf5
...
...
@@ -117,7 +117,13 @@ const search = () => {
beginTime
:
queryParams
.
beginTime
,
endTime
:
queryParams
.
endTime
,
}
if
(
item
.
alarmStatus
===
undefined
||
item
.
alarmType
===
undefined
||
item
.
beginTime
==
null
||
item
.
endTime
==
null
||
item
.
stationId
===
undefined
){
item
.
alarmStatus
=
''
item
.
endTime
=
''
item
.
stationId
=
''
item
.
beginTime
=
''
item
.
alarmType
=
''
}
if
(
selectedBtn
.
value
===
1
)
{
childParams
.
value
=
item
}
else
if
(
selectedBtn
.
value
===
2
)
{
...
...
@@ -195,7 +201,8 @@ const resetSearch = () => {
queryParams
.
endTime
=
''
queryParams
.
alarmType
=
''
queryParams
.
stationId
=
''
searchData
.
value
=
{}
searchData
.
value
=
[]
getData
()
}
const
options
=
ref
([]);
const
enterpriseId
=
ref
();
...
...
src/views/AIStation/RecyclePumpPage/index.vue
View file @
87b1abf5
...
...
@@ -184,7 +184,7 @@ const resetSearch = () => {
queryParams
.
endTime
=
''
queryParams
.
alarmType
=
''
queryParams
.
stationId
=
''
searchData
.
value
=
{}
searchData
.
value
=
[]
};
const
options
=
ref
([]);
const
enterpriseId
=
ref
();
...
...
src/views/AIStation/TransTempPage/TransTempAlarmPage.vue
View file @
87b1abf5
...
...
@@ -156,6 +156,9 @@ function getSupplys() {
}
getSupplys
()
defineExpose
({
getData
});
</
script
>
<
template
>
...
...
src/views/AIStation/TransTempPage/TransTempHistoryPage.vue
View file @
87b1abf5
...
...
@@ -159,6 +159,9 @@ function getSupplys() {
}
getSupplys
()
defineExpose
({
getData
});
</
script
>
<
template
>
...
...
src/views/AIStation/TransTempPage/index.vue
View file @
87b1abf5
...
...
@@ -125,6 +125,13 @@ const search = () => {
beginTime
:
queryParams
.
beginTime
,
endTime
:
queryParams
.
endTime
,
}
if
(
item
.
alarmStatus
===
undefined
||
item
.
alarmType
===
undefined
||
item
.
beginTime
==
null
||
item
.
endTime
==
null
||
item
.
stationId
===
undefined
){
item
.
alarmStatus
=
''
item
.
endTime
=
''
item
.
stationId
=
''
item
.
beginTime
=
''
item
.
alarmType
=
''
}
if
(
selectedBtn
.
value
===
1
)
{
childParams
.
value
=
item
}
else
if
(
selectedBtn
.
value
===
2
)
{
...
...
@@ -202,7 +209,8 @@ const resetSearch = () => {
queryParams
.
endTime
=
''
queryParams
.
alarmType
=
''
queryParams
.
stationId
=
''
searchData
.
value
=
{}
searchData
.
value
=
[]
getData
()
};
const
options
=
ref
([]);
const
enterpriseId
=
ref
();
...
...
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