Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
W
web-monitor
Project
Project
Details
Activity
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
Administrator
web-monitor
Commits
8eaf119a
Commit
8eaf119a
authored
Mar 04, 2022
by
neogcg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
3/4
parent
0305343c
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
102 additions
and
15 deletions
+102
-15
fsuTable.vue
src/views/setting/statistics/comp/fsuTable.vue
+19
-0
leakyTable.vue
src/views/setting/statistics/comp/leakyTable.vue
+19
-0
monitorTable.vue
src/views/setting/statistics/comp/monitorTable.vue
+19
-0
railWayTable.vue
src/views/setting/statistics/comp/railWayTable.vue
+26
-15
stationTable.vue
src/views/setting/statistics/comp/stationTable.vue
+19
-0
No files found.
src/views/setting/statistics/comp/fsuTable.vue
View file @
8eaf119a
...
...
@@ -226,6 +226,7 @@ export default {
multipleSelection
:
[],
ids
:
[],
block
:
0
,
istrue
:
0
};
},
computed
:
{
...
...
@@ -268,6 +269,7 @@ export default {
this
.
getTableData
();
},
searchQuery
()
{
this
.
istrue
=
1
this
.
getTableData
();
},
...
...
@@ -316,8 +318,25 @@ export default {
let
list
=
res
.
records
||
[];
this
.
tableData
=
list
;
this
.
total
=
res
.
total
;
if
(
this
.
istrue
==
1
)
{
if
(
this
.
tableData
.
length
)
{
successAlert
(
"查询成功"
);
}
else
{
warningAlert
(
"查询结果为空"
);
}
this
.
istrue
=
0
;
}
});
},
},
created
()
{
var
that
=
this
;
document
.
onkeydown
=
function
(
e
)
{
var
key
=
window
.
event
.
keyCode
;
if
(
key
==
13
||
key
==
100
)
{
that
.
searchQuery
();
}
};
},
mounted
()
{
this
.
getTableData
();
...
...
src/views/setting/statistics/comp/leakyTable.vue
View file @
8eaf119a
...
...
@@ -259,6 +259,7 @@ export default {
multipleSelection
:
[],
ids
:
[],
block
:
0
,
istrue
:
0
};
},
computed
:
{
...
...
@@ -315,6 +316,7 @@ export default {
this
.
getTableData
();
},
searchQuery
()
{
this
.
istrue
=
1
this
.
getTableData
();
},
...
...
@@ -366,6 +368,14 @@ export default {
let
list
=
res
.
records
||
[];
this
.
tableData
=
list
;
this
.
total
=
res
.
total
;
if
(
this
.
istrue
==
1
)
{
if
(
this
.
tableData
.
length
)
{
successAlert
(
"查询成功"
);
}
else
{
warningAlert
(
"查询结果为空"
);
}
this
.
istrue
=
0
;
}
});
},
getLeakyCablel
()
{
...
...
@@ -374,6 +384,15 @@ export default {
this
.
equipTypeList
=
list
;
});
},
},
created
()
{
var
that
=
this
;
document
.
onkeydown
=
function
(
e
)
{
var
key
=
window
.
event
.
keyCode
;
if
(
key
==
13
||
key
==
100
)
{
that
.
searchQuery
();
}
};
},
mounted
()
{
this
.
getTableData
();
...
...
src/views/setting/statistics/comp/monitorTable.vue
View file @
8eaf119a
...
...
@@ -222,6 +222,7 @@ export default {
multipleSelection
:
[],
ids
:
[],
block
:
0
,
istrue
:
0
};
},
computed
:
{
...
...
@@ -271,6 +272,7 @@ export default {
this
.
getTableData
();
},
searchQuery
()
{
this
.
istrue
=
1
this
.
getTableData
();
},
reset
()
{
...
...
@@ -319,8 +321,25 @@ export default {
let
list
=
res
.
records
||
[];
this
.
tableData
=
list
;
this
.
total
=
res
.
total
;
if
(
this
.
istrue
==
1
)
{
if
(
this
.
tableData
.
length
)
{
successAlert
(
"查询成功"
);
}
else
{
warningAlert
(
"查询结果为空"
);
}
this
.
istrue
=
0
;
}
});
},
},
created
()
{
var
that
=
this
;
document
.
onkeydown
=
function
(
e
)
{
var
key
=
window
.
event
.
keyCode
;
if
(
key
==
13
||
key
==
100
)
{
that
.
searchQuery
();
}
};
},
mounted
()
{
this
.
getTableData
();
...
...
src/views/setting/statistics/comp/railWayTable.vue
View file @
8eaf119a
...
...
@@ -24,7 +24,6 @@
>
<el-form-item
label=
"铁路名称:"
>
<el-input
placeholder=
"请输入铁路名称"
style=
"width: 180px"
v-model=
"railData.name"
...
...
@@ -35,7 +34,6 @@
<el-form-item
label=
"铁路起点站名:"
>
<el-input
placeholder=
"请输入起点站名"
v-model=
"railData.startPointName"
style=
"width: 180px"
...
...
@@ -46,7 +44,6 @@
<el-form-item
label=
"铁路终点站名:"
>
<el-input
placeholder=
"请输入终点站名"
v-model=
"railData.endPointName"
style=
"width: 180px"
...
...
@@ -119,7 +116,6 @@
</div>
</template>
<
script
>
import
{
railWaylist
,
railWaydetail
,
...
...
@@ -130,7 +126,7 @@ import { mapGetters, mapActions } from "vuex";
import
{
successAlert
,
warningAlert
}
from
"@/utils/alert"
;
export
default
{
props
:
[],
components
:
{
},
components
:
{},
data
()
{
return
{
railData
:
{
...
...
@@ -141,7 +137,7 @@ export default {
size
:
10
,
},
visible
:
false
,
tableData
:
[],
params
:
{
pageNum
:
1
,
...
...
@@ -151,6 +147,7 @@ export default {
multipleSelection
:
[],
ids
:
[],
block
:
0
,
istrue
:
0
,
};
},
computed
:
{},
...
...
@@ -177,22 +174,21 @@ export default {
});
},
refresh
()
{
this
.
reset
()
this
.
reset
();
this
.
getTableData
();
},
searchQuery
()
{
this
.
getTableData
()
this
.
istrue
=
1
;
this
.
getTableData
();
},
reset
()
{
this
.
railData
=
{
this
.
railData
=
{
endPointName
:
""
,
name
:
""
,
startPointName
:
""
,
current
:
1
,
size
:
10
,
}
}
;
},
exportData
()
{},
...
...
@@ -212,9 +208,7 @@ export default {
});
let
id
=
row
.
id
;
railWaydetail
({
id
}).
then
((
res
)
=>
{
});
railWaydetail
({
id
}).
then
((
res
)
=>
{});
},
handlePageChange
(
pageData
)
{
this
.
railData
.
size
=
pageData
.
size
;
...
...
@@ -230,9 +224,26 @@ export default {
let
list
=
res
.
records
||
[];
this
.
tableData
=
list
;
this
.
total
=
res
.
total
;
if
(
this
.
istrue
==
1
)
{
if
(
this
.
tableData
.
length
)
{
successAlert
(
"查询成功"
);
}
else
{
warningAlert
(
"查询结果为空"
);
}
this
.
istrue
=
0
;
}
});
},
},
created
()
{
var
that
=
this
;
document
.
onkeydown
=
function
(
e
)
{
var
key
=
window
.
event
.
keyCode
;
if
(
key
==
13
||
key
==
100
)
{
that
.
searchQuery
();
}
};
},
mounted
()
{
this
.
getTableData
();
},
...
...
src/views/setting/statistics/comp/stationTable.vue
View file @
8eaf119a
...
...
@@ -180,6 +180,7 @@ export default {
multipleSelection
:
[],
ids
:
[],
block
:
0
,
istrue
:
0
};
},
computed
:
{
...
...
@@ -215,6 +216,7 @@ export default {
this
.
getTableData
();
},
searchQuery
()
{
this
.
istrue
=
1
this
.
getTableData
();
},
...
...
@@ -264,8 +266,25 @@ export default {
let
list
=
res
.
records
||
[];
this
.
tableData
=
list
;
this
.
total
=
res
.
total
;
if
(
this
.
istrue
==
1
)
{
if
(
this
.
tableData
.
length
)
{
successAlert
(
"查询成功"
);
}
else
{
warningAlert
(
"查询结果为空"
);
}
this
.
istrue
=
0
;
}
});
},
},
created
()
{
var
that
=
this
;
document
.
onkeydown
=
function
(
e
)
{
var
key
=
window
.
event
.
keyCode
;
if
(
key
==
13
||
key
==
100
)
{
that
.
searchQuery
();
}
};
},
mounted
()
{
this
.
getTableData
();
...
...
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