Commit 32e3860a authored by 张俊's avatar 张俊

Merge branch 'dev' of cloud.wodcloud.com:apaas/apaas-v3-ui into dev

parents aa6cad4f 34d478a5
...@@ -91,18 +91,19 @@ export default { ...@@ -91,18 +91,19 @@ export default {
detailAction(item) { detailAction(item) {
this.$router.push({ this.$router.push({
path: `/fwgl/${this.level}/${this.type}/cloud_detail/${item.id}`, path: `/fwgl/${this.level}/${this.type}/cloud_detail/${item.id}`,
query: {
apply_id: item.apply_id,
apply_type: item.apply_type,
use_uid: item.use_uid,
user_id: item.user_id,
},
}); });
}, },
approveAction(item) { approveAction(item) {
let action = (type) => { let action = (type) => {
this.$http this.$http
.put("/apaas/service/v3/resource/apply/approve", null, { .put("/apaas/service/v3/resource/apply/approve", null, {
params: { params: {},
apply_id: item.apply_id,
apply_type: item.apply_type,
cloud_id: item.id,
apply_state: type,
},
}) })
.then(({ data }) => { .then(({ data }) => {
if (data.success == 1) { if (data.success == 1) {
......
...@@ -1223,12 +1223,12 @@ export default { ...@@ -1223,12 +1223,12 @@ export default {
total: cloud.memory_total, total: cloud.memory_total,
unit: "(GB)", unit: "(GB)",
}, },
{ /* {
name: "数据盘使用量", name: "数据盘使用量",
value: cloud.disk_use, value: cloud.disk_use,
total: cloud.disk_total, total: cloud.disk_total,
unit: "(GB)", unit: "(GB)",
}, }, */
{ {
name: "容器组使用量", name: "容器组使用量",
value: cloud.containers_use, value: cloud.containers_use,
...@@ -1252,12 +1252,12 @@ export default { ...@@ -1252,12 +1252,12 @@ export default {
total: cloud.memory_total, total: cloud.memory_total,
unit: "(GB)", unit: "(GB)",
}, },
{ /* {
name: "数据盘使用量", name: "数据盘使用量",
value: cloud.disk_use, value: cloud.disk_use,
total: cloud.disk_total, total: cloud.disk_total,
unit: "(GB)", unit: "(GB)",
}, }, */
{ {
name: "容器组使用量", name: "容器组使用量",
value: cloud.containers_use, value: cloud.containers_use,
...@@ -1488,6 +1488,12 @@ export default { ...@@ -1488,6 +1488,12 @@ export default {
cloudDetail(item) { cloudDetail(item) {
this.$router.push({ this.$router.push({
path: `/fwgl/${this.level}/${this.type}/cloud_detail/${item.id}`, path: `/fwgl/${this.level}/${this.type}/cloud_detail/${item.id}`,
query: {
apply_id: item.apply_id,
apply_type: item.apply_type,
use_uid: item.use_uid,
user_id: item.user_id,
},
}); });
}, },
cloudAllot(item) { cloudAllot(item) {
...@@ -2037,7 +2043,7 @@ export default { ...@@ -2037,7 +2043,7 @@ export default {
<style scoped> <style scoped>
.service_management_list { .service_management_list {
height: 100%; height: 100%;
min-width: 1500px; min-width: 1200px;
} }
.cloud_title { .cloud_title {
margin-top: 15px; margin-top: 15px;
......
...@@ -119,12 +119,12 @@ export default { ...@@ -119,12 +119,12 @@ export default {
total: cloud.memory_total, total: cloud.memory_total,
unit: "(GB)", unit: "(GB)",
}, },
{ /* {
name: "数据盘使用量", name: "数据盘使用量",
value: cloud.disk_use, value: cloud.disk_use,
total: cloud.disk_total, total: cloud.disk_total,
unit: "(GB)", unit: "(GB)",
}, }, */
{ {
name: "容器组使用量", name: "容器组使用量",
value: cloud.containers_use, value: cloud.containers_use,
...@@ -323,6 +323,12 @@ export default { ...@@ -323,6 +323,12 @@ export default {
detailAction(item) { detailAction(item) {
this.$router.push({ this.$router.push({
path: `/fwgl/${this.level}/${this.type}/cloud_detail/${item.id}`, path: `/fwgl/${this.level}/${this.type}/cloud_detail/${item.id}`,
query: {
apply_id: item.apply_id,
apply_type: item.apply_type,
use_uid: item.use_uid,
user_id: item.user_id,
},
}); });
}, },
stateAction(item) { stateAction(item) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment