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
58a0cdb9
Commit
58a0cdb9
authored
Jan 09, 2024
by
danfuman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
7cb9ba54
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
49 additions
and
23 deletions
+49
-23
index.scss
dsk-operate-ui/src/assets/styles/index.scss
+1
-1
Tables.vue
dsk-operate-ui/src/views/detail/party-a/component/Tables.vue
+2
-2
EnterpriseMonitoring.vue
dsk-operate-ui/src/views/monitoring/EnterpriseMonitoring.vue
+30
-5
MonitorSettings.vue
dsk-operate-ui/src/views/monitoring/MonitorSettings.vue
+11
-7
MonitoringDynamics.vue
dsk-operate-ui/src/views/monitoring/MonitoringDynamics.vue
+3
-5
MonitoringReport.vue
dsk-operate-ui/src/views/monitoring/MonitoringReport.vue
+2
-3
No files found.
dsk-operate-ui/src/assets/styles/index.scss
View file @
58a0cdb9
...
@@ -330,7 +330,7 @@ li {
...
@@ -330,7 +330,7 @@ li {
padding-right
:
12px
;
padding-right
:
12px
;
padding-left
:
12px
;
padding-left
:
12px
;
line-height
:
21px
;
line-height
:
21px
;
font-size
:
1
2
px
;
font-size
:
1
4
px
;
font-weight
:
400
;
font-weight
:
400
;
}
}
thead
{
thead
{
...
...
dsk-operate-ui/src/views/detail/party-a/component/Tables.vue
View file @
58a0cdb9
...
@@ -130,7 +130,7 @@ export default {
...
@@ -130,7 +130,7 @@ export default {
async
maxHeightInit
()
{
async
maxHeightInit
()
{
try
{
try
{
await
this
.
$nextTick
();
await
this
.
$nextTick
();
/**
/**
* @type {HTMLDivElement}
* @type {HTMLDivElement}
*/
*/
const
container
=
this
.
$el
.
querySelector
(
".table-item"
);
const
container
=
this
.
$el
.
querySelector
(
".table-item"
);
...
@@ -224,7 +224,7 @@ export default {
...
@@ -224,7 +224,7 @@ export default {
}
}
.el-table
{
.el-table
{
.cell
{
.cell
{
font-size
:
1
2
px
;
font-size
:
1
4
px
;
}
}
.el-table__header-wrapper
{
.el-table__header-wrapper
{
min-height
:
40px
;
min-height
:
40px
;
...
...
dsk-operate-ui/src/views/monitoring/EnterpriseMonitoring.vue
View file @
58a0cdb9
...
@@ -24,7 +24,7 @@
...
@@ -24,7 +24,7 @@
</div>
</div>
</div>
</div>
<div
class=
"content"
>
<div
class=
"content"
>
<div
class=
"table-search"
>
<div
class=
"table-search"
v-if=
"tableDataTotal > 0 && !isSkeleton"
>
<div
class=
"total"
>
共
{{
tableDataTotal
}}
条
</div>
<div
class=
"total"
>
共
{{
tableDataTotal
}}
条
</div>
<div
class=
"right"
>
<div
class=
"right"
>
<span
class=
"add"
@
click=
"addEnterprise"
>
添加企业
</span>
<span
class=
"add"
@
click=
"addEnterprise"
>
添加企业
</span>
...
@@ -68,8 +68,12 @@
...
@@ -68,8 +68,12 @@
<skeleton
v-if=
"isSkeleton"
style=
"padding: 16px"
></skeleton>
<skeleton
v-if=
"isSkeleton"
style=
"padding: 16px"
></skeleton>
<div
class=
"empty"
v-if=
"tableDataTotal === 0 && !isSkeleton"
>
<div
class=
"empty"
v-if=
"tableDataTotal === 0 && !isSkeleton"
>
<img
class=
"img"
src=
"@/assets/images/project/empty.png"
>
<img
class=
"img"
src=
"@/assets/images/project/empty.png"
>
<div
class=
"p1"
>
抱歉,没找到相关数据
</div>
<div
class=
"p1"
>
您还未添加监控企业
</div>
<div
class=
"p2"
>
建议调整关键词或筛选条件,重新搜索
</div>
<!--<div class="p2">建议调整关键词或筛选条件,重新搜索</div>-->
<div
class=
"empty-btn"
>
<span
class=
"add"
@
click=
"addEnterprise"
>
添加企业
</span>
<span
class=
"add1"
@
click=
"handleBatch"
>
批量监控
</span>
</div>
</div>
</div>
</div>
</div>
<div
class=
"pagination-box"
v-if=
"tableDataTotal>queryParams.pageSize"
>
<div
class=
"pagination-box"
v-if=
"tableDataTotal>queryParams.pageSize"
>
...
@@ -218,7 +222,6 @@
...
@@ -218,7 +222,6 @@
methods
:
{
methods
:
{
async
querySubmit
()
{
async
querySubmit
()
{
companyPage
(
this
.
queryParams
).
then
(
res
=>
{
companyPage
(
this
.
queryParams
).
then
(
res
=>
{
console
.
log
(
res
)
this
.
isSkeleton
=
false
;
this
.
isSkeleton
=
false
;
this
.
tableData
=
res
.
rows
this
.
tableData
=
res
.
rows
this
.
tableDataTotal
=
res
.
total
this
.
tableDataTotal
=
res
.
total
...
@@ -501,7 +504,6 @@
...
@@ -501,7 +504,6 @@
margin
:
0
auto
;
margin
:
0
auto
;
height
:
550px
;
height
:
550px
;
text-align
:
center
;
text-align
:
center
;
border-top
:
1px
solid
#EFEFEF
;
.img
{
.img
{
width
:
108px
;
width
:
108px
;
height
:
108px
;
height
:
108px
;
...
@@ -517,6 +519,29 @@
...
@@ -517,6 +519,29 @@
font-size
:
14px
;
font-size
:
14px
;
margin-top
:
8px
;
margin-top
:
8px
;
}
}
.empty-btn
{
margin-top
:
24px
;
span
{
width
:
88px
;
height
:
32px
;
border-radius
:
4px
4px
4px
4px
;
line-height
:
32px
;
text-align
:
center
;
display
:
inline-block
;
font-size
:
14px
;
cursor
:
pointer
;
}
.add
{
color
:
#0081FF
;
border
:
1px
solid
#0081FF
;
margin-right
:
16px
;
}
.add1
{
color
:
#FFFFFF
;
background
:
#0081FF
;
border
:
1px
solid
#0081FF
;
}
}
}
}
}
}
::v-deep
.dialogAdd
{
::v-deep
.dialogAdd
{
...
...
dsk-operate-ui/src/views/monitoring/MonitorSettings.vue
View file @
58a0cdb9
<
template
>
<
template
>
<!--监控维度设置-->
<!--监控维度设置-->
<div
class=
"app-container MonitorSettings"
>
<div
class=
"app-container MonitorSettings"
>
<div
class=
"content"
>
<div
class=
"content"
style=
"height: 100%;"
>
<div
class=
"m-title"
>
监控维度设置
</div>
<div
class=
"m-title"
>
监控维度设置
</div>
<div
class=
"m-main"
>
<div
class=
"m-main"
>
<div
class=
"main-item"
>
<div
class=
"main-item"
>
...
@@ -127,7 +127,7 @@
...
@@ -127,7 +127,7 @@
rulesDetail
({}).
then
(
res
=>
{
rulesDetail
({}).
then
(
res
=>
{
console
.
log
(
res
)
console
.
log
(
res
)
if
(
res
.
data
){
if
(
res
.
data
){
let
dimension
=
res
.
data
.
dimension
.
split
(
','
);
this
.
queryParams
=
{
this
.
queryParams
=
{
pushFrequency
:
res
.
data
.
pushFrequency
.
toString
(),
pushFrequency
:
res
.
data
.
pushFrequency
.
toString
(),
receiveMode
:
res
.
data
.
receiveMode
.
toString
(),
receiveMode
:
res
.
data
.
receiveMode
.
toString
(),
...
@@ -135,11 +135,15 @@
...
@@ -135,11 +135,15 @@
}
}
this
.
startTime
=
res
.
data
.
timePeriodStart
this
.
startTime
=
res
.
data
.
timePeriodStart
this
.
endTime
=
res
.
data
.
timePeriodEnd
this
.
endTime
=
res
.
data
.
timePeriodEnd
for
(
let
item
in
dimension
){
if
(
res
.
data
.
dimension
){
if
(
this
.
arr
.
indexOf
(
dimension
[
item
])
==
-
1
)
{
let
dimension
=
res
.
data
.
dimension
.
split
(
','
);
this
.
gsfx
.
push
(
dimension
[
item
])
for
(
let
item
in
dimension
){
}
else
{
if
(
this
.
arr
.
indexOf
(
dimension
[
item
])
==
-
1
)
{
this
.
sffx
.
push
(
dimension
[
item
])
console
.
log
(
dimension
[
item
])
this
.
gsfx
.
push
(
dimension
[
item
])
}
else
{
this
.
sffx
.
push
(
dimension
[
item
])
}
}
}
}
}
}
}
...
...
dsk-operate-ui/src/views/monitoring/MonitoringDynamics.vue
View file @
58a0cdb9
...
@@ -65,7 +65,7 @@
...
@@ -65,7 +65,7 @@
</div>
</div>
<div
class=
"content"
>
<div
class=
"content"
>
<div
class=
"total"
>
共
{{
tableDataTotal
}}
条
</div>
<div
class=
"total"
v-if=
"tableDataTotal > 0 && !isSkeleton"
>
共
{{
tableDataTotal
}}
条
</div>
<div
class=
"table-item"
>
<div
class=
"table-item"
>
<div
v-if=
"tableDataTotal > 0 && !isSkeleton"
>
<div
v-if=
"tableDataTotal > 0 && !isSkeleton"
>
<el-table
<el-table
...
@@ -106,8 +106,8 @@
...
@@ -106,8 +106,8 @@
<skeleton
v-if=
"isSkeleton"
style=
"padding: 16px"
></skeleton>
<skeleton
v-if=
"isSkeleton"
style=
"padding: 16px"
></skeleton>
<div
class=
"empty"
v-if=
"tableDataTotal === 0 && !isSkeleton"
>
<div
class=
"empty"
v-if=
"tableDataTotal === 0 && !isSkeleton"
>
<img
class=
"img"
src=
"@/assets/images/project/empty.png"
>
<img
class=
"img"
src=
"@/assets/images/project/empty.png"
>
<div
class=
"p1"
>
抱歉,没找到相关数据
</div>
<div
class=
"p1"
>
暂未发现企业风险动态信息
</div>
<
div
class=
"p2"
>
建议调整关键词或筛选条件,重新搜索
</div
>
<
!--<div class="p2">建议调整关键词或筛选条件,重新搜索</div>--
>
</div>
</div>
</div>
</div>
<div
class=
"pagination-box"
v-if=
"tableDataTotal>queryParams.pageSize"
>
<div
class=
"pagination-box"
v-if=
"tableDataTotal>queryParams.pageSize"
>
...
@@ -374,7 +374,6 @@
...
@@ -374,7 +374,6 @@
el
.
Array
.
push
({
key
:
i
,
value
:
j
})
el
.
Array
.
push
({
key
:
i
,
value
:
j
})
}
}
})
})
console
.
log
(
this
.
tableData
)
})
})
},
},
getDetail
(
name
,
id
)
{
getDetail
(
name
,
id
)
{
...
@@ -802,7 +801,6 @@
...
@@ -802,7 +801,6 @@
margin
:
0
auto
;
margin
:
0
auto
;
height
:
550px
;
height
:
550px
;
text-align
:
center
;
text-align
:
center
;
border-top
:
1px
solid
#EFEFEF
;
.img
{
.img
{
width
:
108px
;
width
:
108px
;
height
:
108px
;
height
:
108px
;
...
...
dsk-operate-ui/src/views/monitoring/MonitoringReport.vue
View file @
58a0cdb9
...
@@ -48,8 +48,8 @@
...
@@ -48,8 +48,8 @@
<skeleton
v-if=
"isSkeleton"
style=
"padding: 16px"
></skeleton>
<skeleton
v-if=
"isSkeleton"
style=
"padding: 16px"
></skeleton>
<div
class=
"empty"
v-if=
"tableDataTotal === 0 && !isSkeleton"
>
<div
class=
"empty"
v-if=
"tableDataTotal === 0 && !isSkeleton"
>
<img
class=
"img"
src=
"@/assets/images/project/empty.png"
>
<img
class=
"img"
src=
"@/assets/images/project/empty.png"
>
<div
class=
"p1"
>
抱歉,没找到相关数据
</div>
<div
class=
"p1"
>
当前暂无监控报告
</div>
<
div
class=
"p2"
>
建议调整关键词或筛选条件,重新搜索
</div
>
<
!--
<div
class=
"p2"
>
建议调整关键词或筛选条件,重新搜索
</div>
--
>
</div>
</div>
<div
class=
"pagination-box"
v-if=
"tableDataTotal>queryParams.pageSize"
style=
"background: #ffffff;margin-top: 16px;padding-right: 16px;"
>
<div
class=
"pagination-box"
v-if=
"tableDataTotal>queryParams.pageSize"
style=
"background: #ffffff;margin-top: 16px;padding-right: 16px;"
>
<el-pagination
background
:current-page=
"queryParams.pageNum"
:page-size=
"queryParams.pageSize"
:total=
"tableDataTotal"
layout=
"prev, pager, next, jumper"
@
current-change=
"handleCurrentChange"
@
size-change=
"handleSizeChange"
/>
<el-pagination
background
:current-page=
"queryParams.pageNum"
:page-size=
"queryParams.pageSize"
:total=
"tableDataTotal"
layout=
"prev, pager, next, jumper"
@
current-change=
"handleCurrentChange"
@
size-change=
"handleSizeChange"
/>
...
@@ -251,7 +251,6 @@
...
@@ -251,7 +251,6 @@
margin
:
0
auto
;
margin
:
0
auto
;
height
:
550px
;
height
:
550px
;
text-align
:
center
;
text-align
:
center
;
border-top
:
1px
solid
#EFEFEF
;
background
:
#ffffff
;
background
:
#ffffff
;
.img
{
.img
{
width
:
108px
;
width
:
108px
;
...
...
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