Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dsk-operate-sys-cscec
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
fulixin
dsk-operate-sys-cscec
Commits
4d6a187f
Commit
4d6a187f
authored
Dec 19, 2023
by
danfuman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
1c343b46
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
123 additions
and
51 deletions
+123
-51
EnterpriseMonitoring.vue
dsk-operate-ui/src/views/monitoring/EnterpriseMonitoring.vue
+1
-1
MonitoringReport.vue
dsk-operate-ui/src/views/monitoring/MonitoringReport.vue
+39
-4
MonitoringReportDetails.vue
...erate-ui/src/views/monitoring/MonitoringReportDetails.vue
+83
-46
No files found.
dsk-operate-ui/src/views/monitoring/EnterpriseMonitoring.vue
View file @
4d6a187f
...
...
@@ -25,7 +25,7 @@
</div>
<div
class=
"content"
>
<div
class=
"table-search"
>
<div
class=
"total"
>
共
162
条
</div>
<div
class=
"total"
>
共
{{
tableDataTotal
}}
条
</div>
<div
class=
"right"
>
<span
class=
"add"
@
click=
"addEnterprise"
>
添加企业
</span>
<span
class=
"add1"
@
click=
"handleBatch"
>
批量监控
</span>
...
...
dsk-operate-ui/src/views/monitoring/MonitoringReport.vue
View file @
4d6a187f
...
...
@@ -9,14 +9,14 @@
</el-tabs>
</div>
<div
class=
"report-content"
>
<div
class=
"list"
v-for=
"item in dataList"
>
<div
class=
"list"
v-
if=
"tableDataTotal > 0 && !isSkeleton"
v-
for=
"item in dataList"
>
<div
class=
"list-title"
>
<div
class=
"flex-box query-box"
>
<div
class=
"flex-box query-params"
>
<span
class=
"common-title"
>
{{
item
.
period
}}
</span>
</div>
<div
class=
"flex-box query-ability"
>
共
<span
style=
"color:#0081FF;padding: 0 4px;"
>
13
</span>
家企业发生
<span
style=
"color:#F7965B;padding: 0 4px;"
>
651
</span>
条动态信息
共
<span
style=
"color:#0081FF;padding: 0 4px;"
>
{{
item
.
companyNum
}}
</span>
家企业发生
<span
style=
"color:#F7965B;padding: 0 4px;"
>
{{
item
.
dynamicNum
}}
</span>
条动态信息
</div>
</div>
</div>
...
...
@@ -45,16 +45,27 @@
</div>
</div>
</div>
<skeleton
v-if=
"isSkeleton"
style=
"padding: 16px"
></skeleton>
<div
class=
"empty"
v-if=
"tableDataTotal === 0 && !isSkeleton"
>
<img
class=
"img"
src=
"@/assets/images/project/empty.png"
>
<div
class=
"p1"
>
抱歉,没找到相关数据
</div>
<div
class=
"p2"
>
建议调整关键词或筛选条件,重新搜索
</div>
</div>
</div>
</div>
</
template
>
<
script
>
import
{
reportPage
}
from
'@/api/monitoring/monitoring'
import
skeleton
from
'../component/skeleton'
export
default
{
name
:
'MonitoringReport'
,
components
:
{
skeleton
},
data
()
{
return
{
isSkeleton
:
true
,
activeName
:
'1'
,
dataList
:[
{
...
...
@@ -68,7 +79,8 @@
condition
:{
reportType
:
1
}
}
},
tableDataTotal
:
0
,
}
},
created
()
{
...
...
@@ -78,7 +90,9 @@
async
querySubmit
()
{
reportPage
(
this
.
queryParams
).
then
(
res
=>
{
console
.
log
(
res
)
this
.
dataList
=
res
.
rows
this
.
isSkeleton
=
false
;
this
.
dataList
=
res
.
rows
;
this
.
tableDataTotal
=
res
.
total
})
},
handleClick
()
{
...
...
@@ -217,6 +231,27 @@
border-bottom
:
0
;
}
}
.empty
{
margin
:
0
auto
;
height
:
550px
;
text-align
:
center
;
border-top
:
1px
solid
#EFEFEF
;
.img
{
width
:
108px
;
height
:
108px
;
margin-bottom
:
24px
;
margin-top
:
150px
;
}
.p1
{
color
:
#333333
;
font-size
:
16px
;
}
.p2
{
color
:
#999999
;
font-size
:
14px
;
margin-top
:
8px
;
}
}
}
}
</
style
>
dsk-operate-ui/src/views/monitoring/MonitoringReportDetails.vue
View file @
4d6a187f
...
...
@@ -74,42 +74,53 @@
<div
class=
"content"
>
<div
class=
"total"
>
共
{{
tableDataTotal
}}
条
</div>
<div
class=
"table-item"
>
<el-table
class=
"fixed-table"
:data=
"tableData"
element-loading-text=
"Loading"
border
highlight-current-row
>
<el-table-column
label=
"序号"
width=
"60"
align=
"left"
fixed
>
<template
slot-scope=
"scope"
>
{{
queryParams
.
pageNum
*
queryParams
.
pageSize
-
queryParams
.
pageSize
+
scope
.
$index
+
1
}}
</
template
>
</el-table-column>
<el-table-column
label=
"监控对象"
prop=
"companyName"
align=
"left"
width=
"250"
></el-table-column>
<el-table-column
label=
"风险级别"
prop=
"riskLevel"
align=
"left"
width=
"120"
></el-table-column>
<el-table-column
label=
"监控类型"
prop=
"parentName"
align=
"left"
width=
"150"
></el-table-column>
<el-table-column
label=
"动态内容"
prop=
"details"
align=
"left"
>
<
template
slot-scope=
"scope"
>
<div
v-for=
"(item,index) in scope.row.Array"
:key=
"index"
>
<div>
<span
style=
"color: #999;"
>
{{
item
.
key
}}
:
</span>
<span>
{{
item
.
value
}}
</span>
</div>
</div>
</
template
>
</el-table-column>
<el-table-column
label=
"更新时间"
prop=
"createTime"
align=
"left"
width=
"150"
></el-table-column>
<el-table-column
label=
"操作"
align=
"center"
width=
"150"
class-name=
"small-padding fixed-width"
fixed=
"right"
<div
v-if=
"tableDataTotal > 0 && !isSkeleton"
>
<el-table
class=
"fixed-table"
:data=
"tableData"
element-loading-text=
"Loading"
border
highlight-current-row
>
<
template
slot-scope=
"scope"
>
<span
style=
"cursor: pointer;"
@
click=
"handleDetail"
>
查看详情
</span>
</
template
>
</el-table-column>
</el-table>
<el-table-column
label=
"序号"
width=
"60"
align=
"left"
fixed
>
<template
slot-scope=
"scope"
>
{{
queryParams
.
pageNum
*
queryParams
.
pageSize
-
queryParams
.
pageSize
+
scope
.
$index
+
1
}}
</
template
>
</el-table-column>
<el-table-column
label=
"监控对象"
prop=
"companyName"
align=
"left"
width=
"250"
></el-table-column>
<el-table-column
label=
"风险级别"
prop=
"riskLevel"
align=
"left"
width=
"120"
></el-table-column>
<el-table-column
label=
"监控类型"
prop=
"parentName"
align=
"left"
width=
"150"
></el-table-column>
<el-table-column
label=
"动态内容"
prop=
"details"
align=
"left"
>
<
template
slot-scope=
"scope"
>
<div
v-for=
"(item,index) in scope.row.Array"
:key=
"index"
>
<div>
<span
style=
"color: #999;"
>
{{
item
.
key
}}
:
</span>
<span>
{{
item
.
value
}}
</span>
</div>
</div>
</
template
>
</el-table-column>
<el-table-column
label=
"更新时间"
prop=
"createTime"
align=
"left"
width=
"150"
></el-table-column>
<el-table-column
label=
"操作"
align=
"center"
width=
"150"
class-name=
"small-padding fixed-width"
fixed=
"right"
>
<
template
slot-scope=
"scope"
>
<span
style=
"cursor: pointer;"
@
click=
"handleDetail"
>
查看详情
</span>
</
template
>
</el-table-column>
</el-table>
</div>
<skeleton
v-if=
"isSkeleton"
style=
"padding: 16px"
></skeleton>
<div
class=
"empty"
v-if=
"tableDataTotal === 0 && !isSkeleton"
>
<img
class=
"img"
src=
"@/assets/images/project/empty.png"
>
<div
class=
"p1"
>
抱歉,没找到相关数据
</div>
<div
class=
"p2"
>
建议调整关键词或筛选条件,重新搜索
</div>
</div>
</div>
<div
class=
"pagination-box"
v-if=
"tableDataTotal>queryParams.pageSize"
>
<el-pagination
background
:current-page=
"queryParams.pageNum"
:page-size=
"queryParams.pageSize"
:total=
"tableDataTotal"
layout=
"prev, pager, next, jumper"
@
current-change=
"handleCurrentChange"
@
size-change=
"handleSizeChange"
/>
</div>
</div>
<el-dialog
:visible
.
sync=
"dialogVisible"
custom-class=
'dialog-claim'
:title=
"title"
width=
"720px"
>
...
...
@@ -142,14 +153,16 @@
import
{
dynamicPage
,
rulesSelect
,
companyDetail
}
from
'@/api/monitoring/monitoring'
import
InfoTable
from
'../detail/party-a/component/infoTable'
;
import
{
changeTime
}
from
"@/assets/js/common.js"
import
skeleton
from
'../component/skeleton'
export
default
{
name
:
'MonitoringDynamics'
,
components
:
{
InfoTable
InfoTable
,
skeleton
},
data
()
{
return
{
changeTime
,
isSkeleton
:
true
,
radio
:
0
,
date
:
''
,
radioList
:[
...
...
@@ -194,16 +207,6 @@
],
checkFx
:
true
,
fxlxType
:[],
jkType
:[
{
value
:
'1'
,
label
:
'司法风险'
},
{
value
:
'2'
,
label
:
'工商变更'
},
],
selectList
:[],
selectList1
:[],
sffx
:[],
...
...
@@ -337,6 +340,7 @@
this
.
queryParams
.
condition
.
fxjbType
=
this
.
riskLevel
.
join
()
}
dynamicPage
(
this
.
queryParams
).
then
(
res
=>
{
this
.
isSkeleton
=
false
;
this
.
object
=
res
.
object
;
this
.
tableData
=
res
.
rows
;
this
.
tableDataTotal
=
res
.
total
;
...
...
@@ -377,6 +381,18 @@
handleDetail
(){
this
.
dialogVisible
=
true
;
},
// 重置页数
handleSizeChange
(
val
)
{
this
.
queryParams
.
pageNum
=
1
this
.
queryParams
.
pageSize
=
val
this
.
querySubmit
()
},
// 跳转指定页数
handleCurrentChange
(
val
)
{
this
.
queryParams
.
pageNum
=
val
this
.
querySubmit
()
window
.
scrollTo
(
0
,
0
);
},
// 时间格式化
formatDate
(
timeStr
)
{
let
date
=
new
Date
(
Number
(
timeStr
));
...
...
@@ -643,6 +659,27 @@
margin-right
:
4px
;
}
}
.empty
{
margin
:
0
auto
;
height
:
550px
;
text-align
:
center
;
border-top
:
1px
solid
#EFEFEF
;
.img
{
width
:
108px
;
height
:
108px
;
margin-bottom
:
24px
;
margin-top
:
150px
;
}
.p1
{
color
:
#333333
;
font-size
:
16px
;
}
.p2
{
color
:
#999999
;
font-size
:
14px
;
margin-top
:
8px
;
}
}
}
::v-deep
.dialog-claim
{
.el-dialog__header
{
...
...
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