Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
founder_vue
Overview
Overview
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
常超
founder_vue
Commits
59412c4f
Commit
59412c4f
authored
Jan 19, 2021
by
zhao_shaonan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
运控评估报告页添加loading
parent
0e3401d1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
4 deletions
+21
-4
src/assets/styles/ykbg.scss
+1
-0
src/views/rzcx/ykpgbg.vue
+20
-4
No files found.
src/assets/styles/ykbg.scss
View file @
59412c4f
...
...
@@ -59,3 +59,4 @@
font-size
:
20px
;
}
}
/
deep
/
.el-loading-spinner
{
margin-top
:
-40px
;}
src/views/rzcx/ykpgbg.vue
View file @
59412c4f
...
...
@@ -36,12 +36,12 @@
<div
class=
"flex"
>
<div
class=
"fwyxzcl wrap wrap271"
ref=
"fwyxzclWrap"
>
<p
class=
"wrap_title"
ref=
"fwyxzclTitle"
>
服务运行正确率
</p>
<div
id=
"fwyxzcl"
style=
"width:100%;height:calc(100% - 75px)"
></div>
<div
id=
"fwyxzcl"
style=
"width:100%;height:calc(100% - 75px)"
v-loading=
"fwyxzqltableLoading"
element-loading-text=
"拼命加载中"
></div>
<p
class=
"unit"
>
运行总次数:
<span
v-show=
"yxzcsTotal!=null"
style=
"color:#333333"
>
{{
yxzcsTotal
}}
</span><span
class=
"el-icon-loading"
v-show=
"yxzcsTotal===null"
></span></p>
</div>
<div
class=
"gxtdqqk wrap wrap271"
>
<p
class=
"wrap_title"
>
各系统调取情况
</p>
<div
id=
"gxtdqqk"
style=
"width:100%;height:calc(100% - 42px)"
>
<div
id=
"gxtdqqk"
style=
"width:100%;height:calc(100% - 42px)"
v-loading=
"gxtdqqktableLoading"
element-loading-text=
"拼命加载中"
>
<ul>
<li
v-for=
"(item,index) in gxtdqqk"
:key=
"index"
class=
"list_item"
:style=
"
{width:`${listWidth}`}">
<p
class=
"xtTitle"
>
{{
item
.
name
}}
</p>
...
...
@@ -54,13 +54,13 @@
</div>
<div
class=
"gsdduqk wrap"
>
<p
class=
"wrap_title"
>
各时段调取情况
</p>
<div
id=
"gsdduqk"
style=
"width:100%;height:calc(100% - 42px)"
></div>
<div
id=
"gsdduqk"
style=
"width:100%;height:calc(100% - 42px)"
v-loading=
"gsddqqktableLoading"
element-loading-text=
"拼命加载中"
></div>
</div>
</div>
<!--右-->
<div
class=
"right_con wrap wrapBig"
>
<p
class=
"wrap_title"
>
服务运行时间统计
</p>
<div
id=
"fwyxsjtj"
style=
"width:100%;height:calc(100% - 135px)"
></div>
<div
id=
"fwyxsjtj"
style=
"width:100%;height:calc(100% - 135px)"
v-loading=
"fwyxsjtjtableLoading"
element-loading-text=
"拼命加载中"
></div>
<div
class=
"unit"
style=
"text-indent: 36px;line-height: 26px;margin-top: 36px;"
>
运行总时常:
<p
v-show=
"fwyxsjtjTotal!=null"
style=
"color:#333333"
>
{{
fwyxsjtjTotal
}}
</p><p
class=
"el-icon-loading"
v-show=
"fwyxsjtjTotal===null"
></p></div>
</div>
...
...
@@ -92,6 +92,10 @@
formData
:
ykpgbgFormData
,
yxzcsTotal
:
null
,
//运行总次数
fwyxsjtjTotal
:
null
,
//服务运行时间统计
fwyxzqltableLoading
:
true
,
gxtdqqktableLoading
:
true
,
gsddqqktableLoading
:
true
,
fwyxsjtjtableLoading
:
true
,
gxtdqqk
:[
{
name
:
'指纹系统'
,
value
:
'1000'
},
{
name
:
'大数据中心'
,
value
:
''
},
...
...
@@ -307,6 +311,7 @@
}
]
});
this
.
fwyxzqltableLoading
=
false
;
},
fwyxsjtj
(
x
,
y
){
//服务运行时间统计
...
...
@@ -343,6 +348,7 @@
}
]
});
this
.
gsddqqktableLoading
=
false
;
},
gsdduqk
(
x
,
y
){
//各时段调取情况
...
...
@@ -377,10 +383,12 @@
}],
color
:
'#FFAC3B'
});
this
.
fwyxsjtjtableLoading
=
false
;
},
doquery1
(){
let
self
=
this
;
self
.
fwyxzqltableLoading
=
true
;
self
.
doQueryRequest
(
JSON
.
stringify
(
self
.
formData
),
self
.
FwyxzqlUrl
).
then
(
response
=>
{
if
(
response
.
success
===
true
)
{
let
xData
=
[
'正常次数'
+
':'
+
response
.
data
[
'success_count'
],
'异常次数'
+
':'
+
response
.
data
[
'error_count'
]];
...
...
@@ -399,11 +407,13 @@
type
:
"error"
,
message
:
response
.
message
});
self
.
fwyxzqltableLoading
=
false
;
}
});
},
doquery2
(){
let
self
=
this
;
self
.
gxtdqqktableLoading
=
true
;
self
.
doQueryRequest
(
JSON
.
stringify
(
self
.
formData
),
self
.
GxtdqqkUrl
).
then
(
response
=>
{
if
(
response
.
success
===
true
)
{
if
(
response
.
data
.
list
.
length
!=
0
){
...
...
@@ -421,16 +431,19 @@
item
.
value
=
0
;
})
}
self
.
gxtdqqktableLoading
=
false
;
}
else
{
self
.
$message
({
type
:
"error"
,
message
:
response
.
message
});
self
.
gxtdqqktableLoading
=
false
;
}
});
},
doquery3
(){
let
self
=
this
;
self
.
fwyxsjtjtableLoading
=
true
;
self
.
doQueryRequest
(
JSON
.
stringify
(
self
.
formData
),
self
.
GsddqqkUrl
).
then
(
response
=>
{
if
(
response
.
success
===
true
)
{
self
.
gsdduqk
(
response
.
data
.
x
,
response
.
data
.
y
);
...
...
@@ -439,11 +452,13 @@
type
:
"error"
,
message
:
response
.
message
});
self
.
fwyxsjtjtableLoading
=
false
;
}
});
},
doquery4
(){
let
self
=
this
;
self
.
gsddqqktableLoading
=
true
;
self
.
doQueryRequest
(
JSON
.
stringify
(
self
.
formData
),
self
.
FwyxsjtjUrl
).
then
(
response
=>
{
if
(
response
.
success
===
true
)
{
let
xData
=
[
'正常'
+
":"
+
response
.
data
[
'succesTime'
],
'异常'
+
":"
+
response
.
data
[
'errorTime'
]];
...
...
@@ -462,6 +477,7 @@
type
:
"error"
,
message
:
response
.
message
});
self
.
gsddqqktableLoading
=
false
;
}
});
}
...
...
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