更新时间:
@@ -89,6 +89,7 @@ export default {
height: 166px;
border-radius: 12px;
overflow: hidden;
+ border: 4px #f4f7fc solid;
}
.com_cell_img {
width: 100%;
@@ -100,12 +101,13 @@ export default {
}
.com_cell_msg_title {
color: #0d1847;
- font-size: 22px;
+ font-size: 18px;
+ line-height: 30px;
font-weight: 700;
margin-bottom: 6px;
}
.com_cell_item {
- font-size: 16px;
+ font-size: 14px;
line-height: 26px;
margin-top: 1px;
color: #8890a7;
@@ -124,12 +126,12 @@ export default {
white-space: nowrap;
}
.com_cell_right {
- width: 250px;
+ width: 300px;
padding: 25px 0 0 50px;
}
.com_cell_right_text {
- font-size: 14px;
- margin-top: 15px;
+ font-size: 16px;
+ margin-top: 25px;
}
.com_cell_right_time_tit {
color: #8890a7;
@@ -140,10 +142,10 @@ export default {
.com_cell_right_btn {
background-color: #0f2683;
color: #f8f9fd;
- width: 160px;
+ width: 220px;
height: 40px;
border-radius: 20px;
- margin-top: 35px;
+ margin-top: 25px;
}
.tags {
display: inline-block;
@@ -181,10 +183,10 @@ export default {
.com_cell_right .el-rate__text {
display: inline-block;
margin-left: 10px;
- font-size: 22px;
+ font-size: 32px;
font-weight: 700;
}
.com_cell_right .el-rate__icon {
- font-size: 20px;
+ font-size: 28px;
}
\ No newline at end of file
diff --git a/src/components/service-list/service_list.vue b/src/components/service-list/service_list.vue
index d949403a70b7225b06eb04877a14184d825f03e3..01f774c2faa55603f41f8a1772679d283ea12bc0 100644
--- a/src/components/service-list/service_list.vue
+++ b/src/components/service-list/service_list.vue
@@ -223,7 +223,11 @@ export default {
time_app: null,
times: null
}),
- mounted() {},
+ mounted() {
+ window.onresize = () => {
+ this.judgeHeight();
+ };
+ },
watch: {
urlFilter: {
handler(val) {
@@ -335,7 +339,7 @@ export default {
this.time_app = setInterval(() => {
if (this.refresh_app_1 && this.refresh_app_2 && this.refresh_app_3) {
this.judgeHeight();
- clearInterval(this.time_app)
+ clearInterval(this.time_app);
}
}, 50);
} else {
@@ -377,7 +381,7 @@ export default {
}
}
}
- this.$set((this.filterLists = list));
+ this.filterLists = [...list];
},
clickOpen(index) {
let list = this.openList;
diff --git a/src/components/shop-cloud/shop-cloud.vue b/src/components/shop-cloud/shop-cloud.vue
index eab3719f63626a83959e498262fccda7276f0103..f1d0f41574ed81c6c7ce2588b607251ddfd3b183 100644
--- a/src/components/shop-cloud/shop-cloud.vue
+++ b/src/components/shop-cloud/shop-cloud.vue
@@ -104,30 +104,42 @@
个
+
+
+ 数据盘(可选):
+
+
+
+
+
- 数据盘(可选):
块
- 每块数据盘容量:
GB
+
单个容器组规格
@@ -330,24 +342,37 @@
>
+
+
+ 增加数据盘:
+
+
+
+
+
- 增加数据盘:
块
- 每块数据盘容量:
GB
@@ -562,12 +587,16 @@
容器组:
{{ diaForm.containerGroup }}个
-
@@ -753,7 +782,8 @@ export default {
appDuration: undefined,
durType: 1,
apply_file: "",
- apply_file_name: ""
+ apply_file_name: "",
+ store_type: "nfs-client"
},
ruleNew: {
namespace: [
@@ -803,6 +833,10 @@ export default {
{ value: "16", label: "16" },
{ value: "32", label: "32" }
],
+ options_store_type: [
+ { value: "nfs-client", label: "nfs-client" },
+ { value: "rook-ceph-block", label: "rook-ceph-block" }
+ ],
formShow: false,
specArr: [
{ title: "CPU", val: "4", src: "ic_CPU" },
@@ -834,23 +868,10 @@ export default {
appDuration: undefined,
durType: 1,
apply_file: "",
- apply_file_name: ""
- },
- paramsOld: {
- cpu: "",
- memory: "",
- containerGroup: undefined,
- dataDisk: undefined,
- perDataDisk: undefined,
- perCPUs: undefined,
- perCPU: undefined,
- perRAMs: undefined,
- perRAM: undefined,
- appDuration: undefined,
- durType: 1,
- apply_file: "",
- apply_file_name: ""
+ apply_file_name: "",
+ store_type: "nfs-client"
},
+ paramsOld: {},
ruleOld: {
namespace: [
{ required: true, message: "请输入工作区域名称", trigger: "blur" }
@@ -944,7 +965,8 @@ export default {
this.formOld.perCPU = paramsOld.one_cpu_min;
this.formOld.perRAMs = paramsOld.one_memory_max;
this.formOld.perRAM = paramsOld.one_memory_min;
- this.dataDiskList = paramsOld.disk_list;
+ this.formOld.store_type = paramsOld.store_type;
+ this.dataDiskList = paramsOld.disk_list || [];
this.formShow = true;
} else {
this.formShow = false;
@@ -999,7 +1021,14 @@ export default {
one_cpu_max: this.formNew.perCPUs,
one_memory_min: this.formNew.perRAM,
one_memory_max: this.formNew.perRAMs
- }
+ },
+ disks: [
+ {
+ disk_num: this.formNew.dataDisk,
+ disk_cap: this.formNew.perDataDisk,
+ store_type: this.formNew.store_type
+ }
+ ]
};
this.$api.serviceShop.applicationCloud(query).then(response => {
console.log(response);
@@ -1016,13 +1045,18 @@ export default {
apply_connect_mobile: this.form.phone,
memory: Number(this.formOld.memory),
containers: this.formOld.containerGroup,
- disk_num: this.formOld.dataDisk,
- disk_cap: this.formOld.perDataDisk,
one_cpu_min: this.formOld.perCPU,
one_cpu_max: this.formOld.perCPUs,
one_memory_min: this.formOld.perRAM,
one_memory_max: this.formOld.perRAMs
- }
+ },
+ disks: [
+ {
+ disk_num: this.formOld.dataDisk,
+ disk_cap: this.formOld.perDataDisk,
+ store_type: this.formOld.store_type
+ }
+ ]
};
this.$api.serviceShop.updateCloud(query).then(response => {
console.log(response);
diff --git a/src/components/table/table-filter.vue b/src/components/table/table-filter.vue
index 6c16cbdb1b234816aea13ddc0518f60fc5c5b279..bad476560d93d34b79e585cf304cb974b8670cd0 100644
--- a/src/components/table/table-filter.vue
+++ b/src/components/table/table-filter.vue
@@ -95,7 +95,7 @@ export default {
20 - // 距左侧标题的边距
110; // 折叠按钮的宽度
- this.filterLength = Math.floor(width / 110);
+ this.filterLength = Math.floor(width / 150);
// console.log("每行最多可容纳" + this.filterLength + "个filter");
});
}
@@ -188,7 +188,7 @@ export default {
.ces_filter_data > li > a {
display: block;
height: 30px;
- width: 90px;
+ width: 130px;
box-sizing: border-box;
border-radius: 12px;
text-align: center;
diff --git a/src/components/table/table-um.vue b/src/components/table/table-um.vue
index b336740635bad7f602dab93502610fa00a9ca314..d544ffa05f2a0367c7078fea5e645a9e6581ac41 100644
--- a/src/components/table/table-um.vue
+++ b/src/components/table/table-um.vue
@@ -86,7 +86,7 @@
-
+
已分配
-
+
+ {{btn.label}}
+
+
+
{
+ if(e.tag==val.row.tag){
+ // if(btn == 3){
+ // return true
+ // }else{
+ // return false
+ // }
+ return true
+ }else{
+ return true
+ }
+ });
+ },
//本地删除
deleteLocal(val) {
this.selectedTabsPage.splice(val.$index, 1);
diff --git a/src/pages/user/order/order_detail.vue b/src/pages/user/order/order_detail.vue
index 66bc7ffe1b4f9b79215465c944b81e7bf28a8186..fdfd177ec4e0bbd7a7b2af00cb9134a658f0634c 100644
--- a/src/pages/user/order/order_detail.vue
+++ b/src/pages/user/order/order_detail.vue
@@ -10,22 +10,22 @@
申请状态
待审核
审核中
审核通过
审核未通过
-
订单已取消
+
订单已取消
订单编号
@@ -118,10 +118,10 @@
-
+
- {{ orderDetail.name }}
+ {{ orderDetail.namespace }}(云资源申请)
@@ -195,7 +195,9 @@