diff --git a/index.html b/index.html index 2c19e6cbb33a4a3d10c792fcc9a7c0cefc27658d..af2a17a7e168c43d19834694c118165f870ee34e 100644 --- a/index.html +++ b/index.html @@ -4,7 +4,7 @@ Beagle aPaaS Platform v3.0 - + diff --git a/src/components/shop-cloud/shop-cloud.vue b/src/components/shop-cloud/shop-cloud.vue index 0f3ef5049a778470e298e39989e99dcd595b3a3e..8fa0e6a6a83b54fb17b35dce46a19b3de279c4af 100644 --- a/src/components/shop-cloud/shop-cloud.vue +++ b/src/components/shop-cloud/shop-cloud.vue @@ -1062,11 +1062,13 @@ export default { let priceObj = this.cpu_memory.find((item) => { return item.cpu == 8 && item.memory == 16; }); + this.eci_single_money = Number(priceObj.price); sumCM += Number(priceObj.price); } else if (this.formNew.memory == "32") { let priceObj = this.cpu_memory.find((item) => { return item.cpu == 8 && item.memory == 32; }); + this.eci_single_money = Number(priceObj.price); sumCM += Number(priceObj.price); } } else if (this.formNew.cpu == "16") { @@ -1074,11 +1076,13 @@ export default { let priceObj = this.cpu_memory.find((item) => { return item.cpu == 16 && item.memory == 32; }); + this.eci_single_money = Number(priceObj.price); sumCM += Number(priceObj.price); } else if (this.formNew.memory == "64") { let priceObj = this.cpu_memory.find((item) => { return item.cpu == 16 && item.memory == 64; }); + this.eci_single_money = Number(priceObj.price); sumCM += Number(priceObj.price); } } @@ -1090,6 +1094,7 @@ export default { this.formNew.appDuration >= 1 ) { if (this.hard_disk && this.hard_disk.length != 0) { + this.disk_single_money = Number(this.hard_disk[0].price); sumDisk += Number(this.formNew.dataDisk) * Number(this.formNew.perDataDisk) * @@ -1126,11 +1131,13 @@ export default { let priceObj = this.cpu_memory.find((item) => { return item.cpu == 8 && item.memory == 16; }); + this.eci_single_money = Number(priceObj.price); sumCM += Number(priceObj.price); } else if (this.formOld.memory == "32") { let priceObj = this.cpu_memory.find((item) => { return item.cpu == 8 && item.memory == 32; }); + this.eci_single_money = Number(priceObj.price); sumCM += Number(priceObj.price); } } else if (this.formOld.cpu == "16") { @@ -1138,11 +1145,13 @@ export default { let priceObj = this.cpu_memory.find((item) => { return item.cpu == 16 && item.memory == 32; }); + this.eci_single_money = Number(priceObj.price); sumCM += Number(priceObj.price); } else if (this.formOld.memory == "64") { let priceObj = this.cpu_memory.find((item) => { return item.cpu == 16 && item.memory == 64; }); + this.eci_single_money = Number(priceObj.price); sumCM += Number(priceObj.price); } } @@ -1154,6 +1163,7 @@ export default { this.formOld.appDuration >= 1 ) { if (this.hard_disk && this.hard_disk.length != 0) { + this.disk_single_money = Number(this.hard_disk[0].price); sumDisk += Number(this.formOld.dataDisk) * Number(this.formOld.perDataDisk) * diff --git a/src/pages/data-analysis/my-service.vue b/src/pages/data-analysis/my-service.vue index 0c4afee2900dd677f7c0aa1625582748b376d7bf..da4307e274c4e5b905ce397e9ec5419b13f167a4 100644 --- a/src/pages/data-analysis/my-service.vue +++ b/src/pages/data-analysis/my-service.vue @@ -2,14 +2,10 @@
- {{ - $t("lang.data_analysis") - }} + {{ $t("lang.data_analysis") }} - {{ - $t("lang.service_data_analysis") - }} + {{ $t("lang.service_data_analysis") }} @@ -17,14 +13,26 @@ - +
- +
服务总数
{{ overview.serviceTotal }}
- +
@@ -41,14 +49,14 @@ class="block-radius-content" :data="mult_data_state" :show_center_data="false" - :bar_width="10 " + :bar_width="10" >
@@ -60,7 +68,11 @@ @changeButton="changeServiceTypeBtn" class="block" > - + @@ -84,7 +96,11 @@ - +