删除数据盘:
@@ -686,18 +504,11 @@
是否续期:
- {{ diaForm.appDuration && diaForm.appDuration != 0 ? "是": "否" }}
+ {{ diaForm.appDuration && diaForm.appDuration != 0 ? "是": "否" }}
-
+
续期时长:
- {{ diaForm.appDuration }}{{ diaForm.durType == 1 ? "个月" : "年" }}
+ {{ diaForm.appDuration }}{{ diaForm.durType == 1 ? "个月" : "年" }}
@@ -760,16 +571,10 @@ export default {
{ required: true, message: "请输入联系电话", trigger: "blur" }
]
},
- durationOptions: [
- { value: "1", label: "月" },
- { value: "2", label: "年" }
- ],
+ durationOptions: [{ value: "1", label: "月" }, { value: "2", label: "年" }],
workSpace: "",
workSpaceOptions: [],
- optionsCPU: [
- { value: "8", label: "8" },
- { value: "16", label: "16" }
- ],
+ optionsCPU: [{ value: "8", label: "8" }, { value: "16", label: "16" }],
optionsRAM: [
{ value: "8", label: "8" },
{ value: "16", label: "16" },
@@ -990,10 +795,11 @@ export default {
});
},
delItem(val) {
- console.log(val);
this.delDataDiskList.push(val.app);
- let this.dataDiskList.find((v) => v.app === val.app);
- if ()
+ let delItem = this.dataDiskList.findIndex(v => v.app === val.app);
+ if (delItem) {
+ console.log(delItem);
+ }
}
}
};
@@ -1234,6 +1040,9 @@ export default {
border-radius: 0;
color: #242c43;
}
+.cloud_form .input_right_top {
+ top: 41px;
+}
.cloud_form .el-select {
width: 100%;
}