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
9a4f3652
Commit
9a4f3652
authored
Jul 13, 2020
by
张俊
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of cloud.wodcloud.com:apaas/apaas-v3-ui into dev
parents
225b17c6
22cafe81
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
150 additions
and
174 deletions
+150
-174
src/components/infoList.vue
src/components/infoList.vue
+1
-1
src/pages/user/order/order_detail.vue
src/pages/user/order/order_detail.vue
+10
-4
src/pages/workbench/fwgl/cloud-detail.vue
src/pages/workbench/fwgl/cloud-detail.vue
+107
-140
src/pages/workbench/fwgl/fwglList.vue
src/pages/workbench/fwgl/fwglList.vue
+29
-26
src/pages/workbench/yygl/yyglList.vue
src/pages/workbench/yygl/yyglList.vue
+2
-2
src/request/api/user.js
src/request/api/user.js
+1
-1
No files found.
src/components/infoList.vue
View file @
9a4f3652
...
...
@@ -12,7 +12,7 @@
</span>
<span
v-else
v-html=
"item.info"
style=
"white-space:pre-wrap;"
></span>
<span
v-if=
"item.type && item.type == 'down'"
v-if=
"item.type && item.type == 'down'
&& item.url != ''
"
class=
"filebtn"
@
click=
"download(item.url)"
>
下载文件
</span>
...
...
src/pages/user/order/order_detail.vue
View file @
9a4f3652
...
...
@@ -80,7 +80,7 @@
@
click=
"nextApply"
>
再次申请
</el-button>
<el-button
v-if=
"
orderDetail.approval_first_level == 1 && orderDetail.approval_second_level == 0 && orderDetail.pay_status != -1
"
v-if=
"
(orderDetail.approval_first_level == 0 && orderDetail.pay_status != -1) || (orderDetail.approval_first_level == 1 && orderDetail.approval_second_level == 0 && orderDetail.pay_status != -1)
"
class=
"again"
@
click=
"cancelDetail"
>
取消申请
</el-button>
...
...
@@ -121,7 +121,7 @@
<img
:src=
"require('@/assets/imgs/img_yunziyuan.png')"
class=
"detail_service_msg_img"
/>
<div
class=
"detail_service_msg_right"
>
<div
class=
"detail_service_name_cloud"
>
<span>
{{
orderDetail
.
namespace
}}
(
云资源申请
)
</span>
<span>
{{
orderDetail
.
namespace
}}
(
{{
orderDetail
.
workplace
}}
)
</span>
</div>
</div>
</el-col>
...
...
@@ -382,7 +382,10 @@ export default {
.
then
(
response
=>
{
if
(
response
.
data
.
success
==
1
)
{
this
.
orderDetail
=
response
.
data
.
data
;
this
.
data
=
JSON
.
parse
(
this
.
orderDetail
.
res_fields
);
if
(
this
.
orderDetail
.
res_fields
!=
""
)
{
this
.
data
=
JSON
.
parse
(
this
.
orderDetail
.
res_fields
);
}
console
.
log
(
this
.
data
);
this
.
getOrderUser
();
this
.
getOrderApproval
();
}
else
{
...
...
@@ -407,7 +410,10 @@ export default {
},
getOrderApproval
()
{
this
.
$api
.
user
.
getOrderApproval
({
apply_id
:
this
.
orderDetail
.
apply_id
})
.
getOrderApproval
({
apply_id
:
this
.
orderDetail
.
apply_id
,
kind
:
this
.
orderDetail
.
order_type
})
.
then
(
response
=>
{
if
(
response
.
data
.
success
==
1
)
{
let
data
=
response
.
data
.
data
;
...
...
src/pages/workbench/fwgl/cloud-detail.vue
View file @
9a4f3652
This diff is collapsed.
Click to expand it.
src/pages/workbench/fwgl/fwglList.vue
View file @
9a4f3652
...
...
@@ -1205,39 +1205,42 @@ export default {
if
(
this
.
type
==
2
)
{
const
cloud
=
data
.
data
.
cloud_resource_count
;
if
(
this
.
level
==
1
)
{
if
(
this
.
level
!=
2
)
{
this
.
listTotal
=
data
.
total
;
this
.
listData
=
data
.
data
.
cloud_apply_list
;
this
.
cloud_zuzhi
=
{
count_zy
:
cloud
.
count_zy
,
dashboard_list
:
[
{
name
:
"
CPU使用量
"
,
value
:
cloud
.
cpu_use
,
total
:
cloud
.
cpu_total
,
unit
:
"
(核)
"
,
},
{
name
:
"
内存使用量
"
,
value
:
cloud
.
memory_use
,
total
:
cloud
.
memory_total
,
unit
:
"
(GB)
"
,
},
/* {
if
(
this
.
level
==
1
)
{
this
.
cloud_zuzhi
=
{
count_zy
:
cloud
.
count_zy
,
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
if
(
this
.
level
==
2
)
{
{
name
:
"
容器组使用量
"
,
value
:
cloud
.
containers_use
,
total
:
cloud
.
containers_total
,
unit
:
"
(个)
"
,
},
],
};
}
}
else
{
this
.
cloud_admin
=
{
dashboard_list
:
[
{
...
...
src/pages/workbench/yygl/yyglList.vue
View file @
9a4f3652
...
...
@@ -450,7 +450,7 @@ export default {
align
:
"
center
"
,
},
{
label
:
"
部署
区域
"
,
label
:
"
工作
区域
"
,
prop
:
"
namespace
"
,
align
:
"
center
"
,
},
...
...
@@ -757,7 +757,7 @@ export default {
align
:
"
center
"
,
},
{
label
:
"
部署
区域
"
,
label
:
"
工作
区域
"
,
prop
:
"
namespace
"
,
align
:
"
center
"
,
},
...
...
src/request/api/user.js
View file @
9a4f3652
...
...
@@ -32,7 +32,7 @@ const user = {
return
axios
.
get
(
`/apaas/serviceapp/v3/order/applyInfo?order_id=
${
params
.
order_id
}
`
);
},
getOrderApproval
(
params
)
{
return
axios
.
get
(
`/apaas/serviceapp/v3/order/approval?apply_id=
${
params
.
apply_id
}
`
);
return
axios
.
get
(
`/apaas/serviceapp/v3/order/approval?apply_id=
${
params
.
apply_id
}
&kind=
${
params
.
kind
}
`
);
},
cancelOrder
(
params
)
{
return
axios
.
get
(
`/order/cancel?order_id=
${
params
.
order_id
}
`
);
...
...
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