Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
ai-yunshou-vue
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
AI云守
ai-yunshou-vue
Commits
884b6aa1
Commit
884b6aa1
authored
Sep 10, 2024
by
胡占生
🇨🇳
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 日志管理 修复查询问题
parent
cff090da
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
2 deletions
+13
-2
src/views/logControl/index.vue
src/views/logControl/index.vue
+13
-2
No files found.
src/views/logControl/index.vue
View file @
884b6aa1
...
...
@@ -13,7 +13,7 @@
</el-form-item>
<el-form-item
label=
"摄像头"
prop=
"deptName"
>
<el-select
v-model=
"queryParams.deptName"
placeholder=
"请选择摄像头"
clearable
style=
"width: 200px"
>
<el-option
v-for=
"dict in
sys_job_status"
:key=
"dict.value"
:label=
"dict.label"
:value=
"dict.value
"
/>
<el-option
v-for=
"dict in
deviceList"
:key=
"dict.deviceNo"
:label=
"dict.deviceName"
:value=
"dict.deviceNo
"
/>
</el-select>
</el-form-item>
<el-form-item>
...
...
@@ -252,6 +252,7 @@ import { list as OpList } from "@/api/monitor/operlog";
import
{
list
as
LoList
}
from
"
@/api/monitor/logininfor
"
;
import
{
get
}
from
"
@vueuse/core
"
;
import
{
listAlg
}
from
"
@/api/algorithmList/index.js
"
;
import
{
listDevice
}
from
"
@/api/yunshou/device
"
;
const
router
=
useRouter
();
const
{
proxy
}
=
getCurrentInstance
();
const
{
sys_job_group
,
sys_job_status
,
sys_oper_type
,
sys_common_status
}
=
proxy
.
useDict
(
...
...
@@ -264,6 +265,7 @@ const nowText = ref("日志管理");
const
activeName
=
ref
(
"
摄像头日志
"
);
const
AlgLogList
=
ref
([]);
const
algList
=
ref
([]);
const
deviceList
=
ref
([]);
const
CameraLogList
=
ref
([]);
const
OperateLogList
=
ref
([]);
const
logininforList
=
ref
([]);
...
...
@@ -305,7 +307,7 @@ const { queryParams, form, rules } = toRefs(data);
function
handleClick
(
val
)
{
activeName
.
value
=
val
.
props
.
name
dateRange
.
value
=
[];
queryParams
.
value
=
{}
queryParams
.
value
=
{
pageNum
:
1
,
pageSize
:
10
}
getAllList
()
}
...
...
@@ -324,6 +326,14 @@ function getAlgList() {
}
);
}
/** 查询摄像头列表 */
function
getDeviceList
()
{
listDevice
({
pageNum
:
1
,
pageSize
:
100
}).
then
(
(
response
)
=>
{
deviceList
.
value
=
response
.
rows
;
}
);
}
/** 查询算法日志列表 */
function
getAlgLogList
()
{
loading
.
value
=
true
;
...
...
@@ -528,6 +538,7 @@ function handleExport() {
`job_
${
new
Date
().
getTime
()}
.xlsx`
);
}
getDeviceList
()
getAlgList
()
getAllList
();
</
script
>
...
...
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