Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
apaas-ui
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gzga-jzapi
apaas-ui
Commits
85c35d50
Commit
85c35d50
authored
Jul 07, 2020
by
徐一鸣
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
服务管理-云资源列表(普通用户和组织管理员)接口调试完毕
parent
c84dd1a3
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
231 additions
and
121 deletions
+231
-121
src/components/allot-info-confirm.vue
src/components/allot-info-confirm.vue
+66
-40
src/components/organization-list/organization-card.vue
src/components/organization-list/organization-card.vue
+12
-4
src/components/organization-list/organization-list.vue
src/components/organization-list/organization-list.vue
+5
-0
src/pages/workbench/fwgl/fwglList.vue
src/pages/workbench/fwgl/fwglList.vue
+148
-77
No files found.
src/components/allot-info-confirm.vue
View file @
85c35d50
...
@@ -11,29 +11,23 @@
...
@@ -11,29 +11,23 @@
<p
class=
"info_text text_grey"
>
申请组织:
</p>
<p
class=
"info_text text_grey"
>
申请组织:
</p>
<p
<p
class=
"info_text"
class=
"info_text"
v-text=
"(detail && detail['
a_申请组织']) || '
'"
v-text=
"(detail && detail['
department_name']) || '-
'"
></p>
></p>
</div>
</div>
<div
class=
"info_list"
style=
"width: 50%;"
>
<div
class=
"info_list"
style=
"width: 50%;"
>
<p
class=
"info_text text_grey"
>
申请用户:
</p>
<p
class=
"info_text text_grey"
>
申请用户:
</p>
<p
<p
class=
"info_text"
class=
"info_text"
v-text=
"(detail && detail['
a_申请用户']) || '
'"
v-text=
"(detail && detail['
user_name']) || '-
'"
></p>
></p>
</div>
</div>
<div
class=
"info_list"
style=
"width: 50%;"
>
<div
class=
"info_list"
style=
"width: 50%;"
>
<p
class=
"info_text text_grey"
>
联系电话:
</p>
<p
class=
"info_text text_grey"
>
联系电话:
</p>
<p
<p
class=
"info_text"
v-text=
"(detail && detail['phone']) || '-'"
></p>
class=
"info_text"
v-text=
"(detail && detail['a_联系电话']) || ''"
></p>
</div>
</div>
<div
class=
"info_list"
style=
"width: 100%;"
>
<div
class=
"info_list"
style=
"width: 100%;"
>
<p
class=
"info_text text_grey"
>
上传申请文件:
</p>
<p
class=
"info_text text_grey"
>
上传申请文件:
</p>
<p
<p
class=
"info_text"
v-text=
"(detail && detail['file']) || '-'"
></p>
class=
"info_text"
v-text=
"(detail && detail['a_上传申请文件']) || ''"
></p>
</div>
</div>
<div
class=
"info_list"
style=
"width: 100%;"
>
<div
class=
"info_list"
style=
"width: 100%;"
>
<!--
<p
class=
"detail_title info_text text_grey"
>
原规格:
</p>
-->
<!--
<p
class=
"detail_title info_text text_grey"
>
原规格:
</p>
-->
...
@@ -42,35 +36,37 @@
...
@@ -42,35 +36,37 @@
<p
class=
"info_text"
>
基本信息:
</p>
<p
class=
"info_text"
>
基本信息:
</p>
<p
class=
"info_text info_cell"
>
<p
class=
"info_text info_cell"
>
<span
class=
"text_grey"
>
工作区域名称:
</span>
<span
class=
"text_grey"
>
工作区域名称:
</span>
<span
<span
v-text=
"(detail && detail['namespace']) || '-'"
></span>
v-text=
"(detail && detail['a_工作区域名称']) || ''"
></span>
</p>
</p>
<p
class=
"info_text info_cell"
>
<p
class=
"info_text info_cell"
>
<span
class=
"text_grey"
>
中文名称:
</span>
<span
class=
"text_grey"
>
中文名称:
</span>
<span
v-text=
"(detail && detail['
a_中文名称']) || '
'"
></span>
<span
v-text=
"(detail && detail['
workplace']) || '-
'"
></span>
</p>
</p>
<p
class=
"info_text info_cell"
>
<p
class=
"info_text info_cell"
>
<span
class=
"text_grey"
>
描述信息:
</span>
<span
class=
"text_grey"
>
描述信息:
</span>
<span
v-text=
"(detail && detail['a_描述信息']) || ''"
></span>
<span
v-text=
"(detail && detail['workplacedesc']) || '-'"
></span>
</p>
</p>
</div>
</div>
<div
class=
"detail_list"
>
<div
class=
"detail_list"
>
<p
class=
"info_text"
>
工作区域申请规格:
</p>
<p
class=
"info_text"
>
工作区域申请规格:
</p>
<p
class=
"info_text info_cell"
>
<p
class=
"info_text info_cell"
>
<span
class=
"text_grey"
>
CPU:
</span>
<span
class=
"text_grey"
>
CPU:
</span>
<span
v-text=
"(detail && detail['
a_CPU']) || '
'"
></span>
<span
v-text=
"(detail && detail['
cpu']) || '-
'"
></span>
</p>
</p>
<p
class=
"info_text info_cell"
>
<p
class=
"info_text info_cell"
>
<span
class=
"text_grey"
>
内存:
</span>
<span
class=
"text_grey"
>
内存:
</span>
<span
v-text=
"(detail && detail['
a_内存']) || '
'"
></span>
<span
v-text=
"(detail && detail['
memory']) || '-
'"
></span>
</p>
</p>
</div>
</div>
<div
class=
"detail_list"
>
<div
class=
"detail_list"
>
<p
class=
"info_text"
>
申请时长:
</p>
<p
class=
"info_text"
>
申请时长:
</p>
<p
class=
"info_text info_cell"
>
<p
class=
"info_text info_cell"
>
<span
class=
"text_grey"
>
申请时长:
</span>
<span
class=
"text_grey"
>
申请时长:
</span>
<span
v-text=
"(detail && detail['a_申请时长']) || ''"
></span>
<span
v-text=
"(detail && detail['duration_time']) || '-'"
></span>
</p>
</p>
</div>
</div>
</div>
</div>
...
@@ -82,7 +78,12 @@
...
@@ -82,7 +78,12 @@
<el-button
type=
"defalut"
size=
"mini"
@
click=
"hideDialog"
>
<el-button
type=
"defalut"
size=
"mini"
@
click=
"hideDialog"
>
取消
取消
</el-button>
</el-button>
<el-button
type=
"primary"
size=
"mini"
@
click=
"confrimAction"
>
<el-button
type=
"primary"
size=
"mini"
:loading=
"submitLoading"
@
click=
"confrimAction"
>
确认提交
确认提交
</el-button>
</el-button>
</
template
>
</
template
>
...
@@ -96,6 +97,7 @@ export default {
...
@@ -96,6 +97,7 @@ export default {
components
:
{
apassDialog
},
components
:
{
apassDialog
},
data
:
()
=>
({
data
:
()
=>
({
detail
:
null
,
detail
:
null
,
submitLoading
:
false
,
}),
}),
methods
:
{
methods
:
{
showDialog
()
{
showDialog
()
{
...
@@ -104,18 +106,22 @@ export default {
...
@@ -104,18 +106,22 @@ export default {
hideDialog
()
{
hideDialog
()
{
this
.
$refs
.
confrim
.
hide
();
this
.
$refs
.
confrim
.
hide
();
},
},
getDetail
(
applyid
)
{
getDetail
(
apply
_
id
)
{
this
.
$http
this
.
$http
.
get
(
"
/apaas/service/v3/resource/
user/apply/approveddetail
"
,
{
.
get
(
"
/apaas/service/v3/resource/
apply/distributionDisplay
"
,
{
params
:
{
params
:
{
type
:
0
,
apply_id
:
apply_id
,
applyid
:
applyid
,
},
},
})
})
.
then
(({
data
})
=>
{
.
then
(({
data
})
=>
{
if
(
data
.
success
)
{
if
(
data
.
success
)
{
console
.
log
(
data
.
data
);
let
datas
=
data
.
data
;
// this.detail = data.data;
this
.
detail
=
{
...
datas
,
cpu
:
`最高
${
datas
.
max_cpu
}
核,默认
${
datas
.
min_cpu
}
核`
,
memory
:
`最高
${
datas
.
max_memory
}
GB,默认
${
datas
.
min_memory
}
GB`
,
};
}
else
{
}
else
{
this
.
$message
({
this
.
$message
({
message
:
"
获取详情失败
"
,
message
:
"
获取详情失败
"
,
...
@@ -130,24 +136,44 @@ export default {
...
@@ -130,24 +136,44 @@ export default {
});
});
});
});
this
.
detail
=
{
a_
申请组织
:
"
贵州省交通运输厅
"
,
a_
申请用户
:
"
贵州省交通运输厅
"
,
a_
联系电话
:
"
13523232333
"
,
a_
上传申请文件
:
"
云资源申请修改意见V2.0审批审批函.pdf
"
,
a_
工作区域名称
:
"
aPaaS-V3.0
"
,
a_
中文名称
:
"
aPaaS平台V3.0
"
,
a_
描述信息
:
"
用于部署运行aPaaS平台V3.0用于部署运行aPaaS平台V3.0用于部署运行aPaaS平台V3.0
"
,
a_CPU
:
"
最高2核,默认1核
"
,
a_
内存
:
"
最高2GB,默认1GB
"
,
a_
申请时长
:
"
6个月
"
,
};
this
.
showDialog
();
this
.
showDialog
();
},
},
confrimAction
()
{
confrimAction
()
{
console
.
log
(
"
confrim
"
);
this
.
submitLoading
=
true
;
this
.
$http
.
put
(
"
/apaas/service/v3/resource/apply/distribution
"
,
null
,
{
params
:
{
id
:
this
.
detail
.
id
,
user_id
:
this
.
detail
.
user_id
,
},
})
.
then
(({
data
})
=>
{
this
.
submitLoading
=
false
;
if
(
data
.
success
)
{
this
.
$message
({
message
:
"
分配成功
"
,
type
:
"
success
"
,
});
this
.
$emit
(
"
allot-success
"
);
this
.
hideDialog
();
}
else
{
this
.
$message
({
message
:
"
分配失败
"
,
type
:
"
warning
"
,
});
}
})
.
catch
((
error
)
=>
{
this
.
submitLoading
=
false
;
this
.
$message
({
message
:
"
分配失败
"
,
type
:
"
warning
"
,
});
});
},
},
},
},
};
};
...
...
src/components/organization-list/organization-card.vue
View file @
85c35d50
<
template
>
<
template
>
<div
class=
"organization_card"
>
<div
class=
"organization_card"
>
<a
class=
"remove_btn"
@
click.prevent=
"deleteAction"
>
<a
class=
"remove_btn"
@
click.prevent=
"deleteAction"
v-if=
"!hideDelete"
>
<i
class=
"el-icon-close"
></i>
<i
class=
"el-icon-close"
></i>
</a>
</a>
<div
class=
"organization_card-icon"
>
<div
class=
"organization_card-icon"
>
<el-avatar
shape=
"square"
:size=
"56"
fit=
"cover"
:src=
"data.picture_path"
/>
<el-avatar
shape=
"square"
:size=
"56"
fit=
"cover"
:src=
"data.picture_path"
/>
</div>
</div>
<div
class=
"organization_card-info"
>
<div
class=
"organization_card-info"
>
<p
<p
...
@@ -52,9 +57,12 @@ export default {
...
@@ -52,9 +57,12 @@ export default {
type
:
String
,
type
:
String
,
default
:
0
,
default
:
0
,
},
},
hideDelete
:
{
type
:
Boolean
,
default
:
false
,
},
},
},
created
(){
created
()
{},
},
methods
:
{
methods
:
{
deleteAction
()
{
deleteAction
()
{
this
.
$emit
(
"
delete-action
"
,
this
.
data
);
this
.
$emit
(
"
delete-action
"
,
this
.
data
);
...
...
src/components/organization-list/organization-list.vue
View file @
85c35d50
...
@@ -5,6 +5,7 @@
...
@@ -5,6 +5,7 @@
:key=
"'organization_card_' + index"
:key=
"'organization_card_' + index"
:data=
"item"
:data=
"item"
@
delete-action=
"deleteAction"
@
delete-action=
"deleteAction"
:hide-delete=
"hideDelete"
:details-url=
"detailsUrl"
:details-url=
"detailsUrl"
:style=
"
{ width: 'calc(100% / ' + rowNum + ' - 36px)' }"
:style=
"
{ width: 'calc(100% / ' + rowNum + ' - 36px)' }"
>
</organization-card>
>
</organization-card>
...
@@ -27,6 +28,10 @@ export default {
...
@@ -27,6 +28,10 @@ export default {
type
:
String
,
type
:
String
,
default
:
0
,
default
:
0
,
},
},
hideDelete
:
{
type
:
Boolean
,
default
:
false
,
},
},
},
data
:
()
=>
({
data
:
()
=>
({
rowNum
:
5
,
rowNum
:
5
,
...
...
src/pages/workbench/fwgl/fwglList.vue
View file @
85c35d50
...
@@ -18,10 +18,10 @@
...
@@ -18,10 +18,10 @@
<template
slot=
"top"
>
<template
slot=
"top"
>
<div
class=
"cloud_info"
v-if=
"cloud_zuzhi"
>
<div
class=
"cloud_info"
v-if=
"cloud_zuzhi"
>
<div
class=
"
zuzhi
_title"
>
<div
class=
"
cloud
_title"
>
<span>
{{
cloud_zuzhi
.
org
_name
}}
</span>
<span>
{{
userInfo
&&
userInfo
.
department
_name
}}
</span>
<span>
<span>
{{
"
在用工作区域:
"
+
(
cloud_zuzhi
.
used_area
||
0
)
+
"
个
"
}}
{{
"
在用工作区域:
"
+
cloud_zuzhi
.
count_zy
+
"
个
"
}}
</span>
</span>
</div>
</div>
<div
class=
"dashboard_contaner"
>
<div
class=
"dashboard_contaner"
>
...
@@ -45,11 +45,49 @@
...
@@ -45,11 +45,49 @@
</div>
</div>
</div>
</div>
</div>
</div>
<div
class=
"cloud_info"
v-if=
"cloud_admin"
>
<div
class=
"cloud_title"
>
<span>
云资源概览
</span>
</div>
<div
class=
"dashboard_contaner"
>
<div
class=
"dashborad_list"
v-for=
"(item, index) in cloud_admin.dashboard_list"
:key=
"index"
>
<chart
:options=
"getDashboardOptions(item)"
class=
"dashboard_chart"
/>
<p
class=
"dashboard_info"
>
<span>
物理总量
</span>
<span
v-text=
"item.total + item.unit"
></span>
</p>
<p
class=
"dashboard_info"
>
<span>
剩余量
</span>
<span
v-text=
"item.value + item.unit"
></span>
</p>
</div>
</div>
</div>
</
template
>
<
template
slot=
"header-left"
>
<div
class=
"cloud_title"
v-if=
"cloud_admin"
>
<span>
组织概览
</span>
</div>
</
template
>
</
template
>
<div
slot=
"list"
v-if=
"level == 2 && type == 2"
>
<!-- 超管的云资源管理展示的是组织列表 -->
<p
style=
"text-align: center;margin-top: 20px;"
>
组织列表
</p>
<
template
slot=
"list"
v-if=
"level == 2 && type == 2"
>
</div>
<organization-list
slot=
"list"
:data=
"listData"
details-url=
"/authority/organization/detail/"
:hide-delete=
"true"
></organization-list>
</
template
>
</apass-list>
</apass-list>
<apass-dialog
<apass-dialog
...
@@ -59,7 +97,10 @@
...
@@ -59,7 +97,10 @@
:submit=
"dialogInfo.submit"
:submit=
"dialogInfo.submit"
></apass-dialog>
></apass-dialog>
<allot-info-confirm
ref=
"allotConfirm"
></allot-info-confirm>
<allot-info-confirm
ref=
"allotConfirm"
@
allot-success=
"allotSuccess"
></allot-info-confirm>
</div>
</div>
</template>
</template>
...
@@ -71,6 +112,7 @@ import apassList from "@/components/apass-list";
...
@@ -71,6 +112,7 @@ import apassList from "@/components/apass-list";
import
apassDialog
from
"
@/components/apass-dialog
"
;
import
apassDialog
from
"
@/components/apass-dialog
"
;
import
allotInfoConfirm
from
"
@/components/allot-info-confirm
"
;
import
allotInfoConfirm
from
"
@/components/allot-info-confirm
"
;
import
Dashboard
from
"
@/components/e-charts/dashboard
"
;
import
Dashboard
from
"
@/components/e-charts/dashboard
"
;
import
organizationList
from
"
@/components/organization-list/organization-list
"
;
export
default
{
export
default
{
components
:
{
components
:
{
...
@@ -78,6 +120,7 @@ export default {
...
@@ -78,6 +120,7 @@ export default {
apassDialog
,
apassDialog
,
allotInfoConfirm
,
allotInfoConfirm
,
Dashboard
,
Dashboard
,
organizationList
,
},
},
data
:
()
=>
({
data
:
()
=>
({
level
:
0
,
// 用户等级
level
:
0
,
// 用户等级
...
@@ -103,6 +146,7 @@ export default {
...
@@ -103,6 +146,7 @@ export default {
computed
:
{
computed
:
{
...
mapState
({
...
mapState
({
fwglNav
:
"
fwglNav
"
,
fwglNav
:
"
fwglNav
"
,
userInfo
:
"
userInfo
"
,
}),
}),
pathName
()
{
pathName
()
{
return
this
.
fwglNav
[
this
.
level
][
this
.
type
];
return
this
.
fwglNav
[
this
.
level
][
this
.
type
];
...
@@ -1091,35 +1135,6 @@ export default {
...
@@ -1091,35 +1135,6 @@ export default {
// 超级管理员 --- 云资源管理
// 超级管理员 --- 云资源管理
else
if
(
level
==
2
&&
type
==
2
)
{
else
if
(
level
==
2
&&
type
==
2
)
{
this
.
listUrl
=
"
/apaas/service/v3/resource/user/apply/list
"
;
this
.
listUrl
=
"
/apaas/service/v3/resource/user/apply/list
"
;
/* this.cloud_admin = {
dashboard_list: [
{
name: "cpu使用量",
value: 6,
total: 10,
unit: "(核)",
},
{
name: "内存使用量",
value: 13,
total: 20,
unit: "(GB)",
},
{
name: "数据盘使用量",
value: 240,
total: 560,
unit: "(GB)",
},
{
name: "容器组使用量",
value: 10,
total: 18,
unit: "(个)",
},
],
histogram: {},
}; */
}
}
// Error
// Error
...
@@ -1145,7 +1160,7 @@ export default {
...
@@ -1145,7 +1160,7 @@ export default {
limit
:
filter
.
size
,
limit
:
filter
.
size
,
depart
:
""
,
depart
:
""
,
state1
:
filter
.
state1
,
state1
:
filter
.
state1
,
State2
:
filter
.
S
tate2
,
state2
:
filter
.
s
tate2
,
};
};
}
else
{
}
else
{
params
=
{
params
=
{
...
@@ -1177,39 +1192,70 @@ export default {
...
@@ -1177,39 +1192,70 @@ export default {
// console.log(data);
// console.log(data);
if
(
this
.
type
==
2
)
{
if
(
this
.
type
==
2
)
{
this
.
listTotal
=
data
.
total
;
const
cloud
=
data
.
data
.
cloud_resource_count
;
this
.
listData
=
data
.
data
.
cloud_apply_list
;
this
.
cloud_zuzhi
=
{
if
(
this
.
level
==
1
)
{
org_name
:
"
北京比格大数据
"
,
this
.
listTotal
=
data
.
total
;
used_area
:
2
,
this
.
listData
=
data
.
data
.
cloud_apply_list
;
dashboard_list
:
[
this
.
cloud_zuzhi
=
{
{
count_zy
:
cloud
.
count_zy
,
name
:
"
cpu使用量
"
,
dashboard_list
:
[
value
:
6
,
{
total
:
10
,
name
:
"
cpu使用量
"
,
unit
:
"
(核)
"
,
value
:
cloud
.
cpu_use
,
},
total
:
cloud
.
cpu_total
,
{
unit
:
"
(核)
"
,
name
:
"
内存使用量
"
,
},
value
:
13
,
{
total
:
20
,
name
:
"
内存使用量
"
,
unit
:
"
(GB)
"
,
value
:
cloud
.
memory_use
,
},
total
:
cloud
.
memory_total
,
{
unit
:
"
(GB)
"
,
name
:
"
数据盘使用量
"
,
},
value
:
500
,
{
total
:
560
,
name
:
"
数据盘使用量
"
,
unit
:
"
(GB)
"
,
value
:
cloud
.
disk_use
,
},
total
:
cloud
.
disk_total
,
{
unit
:
"
(GB)
"
,
name
:
"
容器组使用量
"
,
},
value
:
10
,
{
total
:
18
,
name
:
"
容器组使用量
"
,
unit
:
"
(个)
"
,
value
:
cloud
.
containers_use
,
},
total
:
cloud
.
containers_total
,
],
unit
:
"
(个)
"
,
};
},
],
};
}
else
if
(
this
.
level
==
2
)
{
this
.
cloud_admin
=
{
dashboard_list
:
[
{
name
:
"
cpu使用量
"
,
value
:
cloud
.
cpu_use
,
total
:
cloud
.
cpu_total
,
unit
:
"
(核)
"
,
},
{
name
:
"
内存使用量
"
,
value
:
cloud
.
memory_use
,
total
:
cloud
.
memory_total
,
unit
:
"
(GB)
"
,
},
{
name
:
"
数据盘使用量
"
,
value
:
cloud
.
disk_use
,
total
:
cloud
.
disk_total
,
unit
:
"
(GB)
"
,
},
{
name
:
"
容器组使用量
"
,
value
:
cloud
.
containers_use
,
total
:
cloud
.
containers_total
,
unit
:
"
(个)
"
,
},
],
};
}
}
else
{
}
else
{
this
.
listTotal
=
data
.
data
.
total
;
this
.
listTotal
=
data
.
data
.
total
;
this
.
listData
=
data
.
data
.
data
;
this
.
listData
=
data
.
data
.
data
;
...
@@ -1218,6 +1264,27 @@ export default {
...
@@ -1218,6 +1264,27 @@ export default {
.
catch
((
error
)
=>
{
.
catch
((
error
)
=>
{
console
.
log
(
error
);
console
.
log
(
error
);
});
});
// 超管的云资源管理展示的是组织列表
if
(
this
.
level
==
2
&&
this
.
type
==
2
)
{
this
.
$http
.
get
(
"
/apaas/backmgt/department/list
"
,
{
params
:
{
search
:
filter
.
keyword
,
page
:
filter
.
page
,
limit
:
filter
.
size
,
},
})
.
then
(({
data
})
=>
{
// console.log(data);
this
.
listTotal
=
data
.
total
;
this
.
listData
=
data
.
data
;
})
.
catch
((
error
)
=>
{
console
.
log
(
error
);
});
}
},
},
showDialog
()
{
showDialog
()
{
this
.
$refs
.
dialog
.
show
();
this
.
$refs
.
dialog
.
show
();
...
@@ -1414,7 +1481,7 @@ export default {
...
@@ -1414,7 +1481,7 @@ export default {
this
.
$refs
.
allotConfirm
.
getDetail
(
item
.
apply_id
);
this
.
$refs
.
allotConfirm
.
getDetail
(
item
.
apply_id
);
},
},
getDashboardOptions
(
item
)
{
getDashboardOptions
(
item
)
{
let
percent
=
Math
.
round
((
item
.
value
/
item
.
total
)
*
100
);
let
percent
=
Math
.
round
((
item
.
value
/
item
.
total
)
*
100
)
||
0
;
let
colors
=
[
"
#515fe7
"
,
"
#e7ecfd
"
];
let
colors
=
[
"
#515fe7
"
,
"
#e7ecfd
"
];
if
(
percent
>=
80
)
{
if
(
percent
>=
80
)
{
...
@@ -1569,6 +1636,9 @@ export default {
...
@@ -1569,6 +1636,9 @@ export default {
],
],
};
};
},
},
allotSuccess
()
{
this
.
init
(
this
.
tempFliter
);
},
},
},
created
()
{
created
()
{
this
.
level
=
parseInt
(
this
.
$route
.
params
.
level
);
this
.
level
=
parseInt
(
this
.
$route
.
params
.
level
);
...
@@ -1599,35 +1669,36 @@ export default {
...
@@ -1599,35 +1669,36 @@ export default {
.service_management_list
{
.service_management_list
{
height
:
100%
;
height
:
100%
;
}
}
.
zuzhi
_title
{
.
cloud
_title
{
margin-top
:
15px
;
margin-top
:
15px
;
}
}
.
zuzhi
_title
>
span
,
.
cloud
_title
>
span
,
.
zuzhi
_title
>
span
::before
{
.
cloud
_title
>
span
::before
{
display
:
inline-block
;
display
:
inline-block
;
vertical-align
:
middle
;
vertical-align
:
middle
;
}
}
.
zuzhi
_title
>
span
:nth-child
(
1
)
::before
{
.
cloud
_title
>
span
:nth-child
(
1
)
::before
{
content
:
""
;
content
:
""
;
width
:
4px
;
width
:
4px
;
height
:
16px
;
height
:
16px
;
border-radius
:
2px
;
border-radius
:
2px
;
background-color
:
#515fe7
;
background-color
:
#515fe7
;
margin-right
:
10px
;
margin-right
:
10px
;
margin-bottom
:
2px
;
}
}
.
zuzhi
_title
>
span
:nth-child
(
1
)
{
.
cloud
_title
>
span
:nth-child
(
1
)
{
font-size
:
16px
;
font-size
:
16px
;
color
:
#242c43
;
color
:
#242c43
;
line-height
:
30px
;
line-height
:
30px
;
}
}
.
zuzhi
_title
>
span
:nth-child
(
2
)
::before
{
.
cloud
_title
>
span
:nth-child
(
2
)
::before
{
content
:
""
;
content
:
""
;
width
:
2px
;
width
:
2px
;
height
:
12px
;
height
:
12px
;
background-color
:
#b4c0f5
;
background-color
:
#b4c0f5
;
margin
:
0
10px
;
margin
:
0
10px
;
}
}
.
zuzhi
_title
>
span
:nth-child
(
2
)
{
.
cloud
_title
>
span
:nth-child
(
2
)
{
font-size
:
14px
;
font-size
:
14px
;
line-height
:
1
;
line-height
:
1
;
color
:
#58617a
;
color
:
#58617a
;
...
...
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