diff --git a/src/components/DsBox/src/dsTag1.tsx b/src/components/DsBox/src/dsTag1.tsx index 2739088..f8ccd60 100644 --- a/src/components/DsBox/src/dsTag1.tsx +++ b/src/components/DsBox/src/dsTag1.tsx @@ -1,3 +1,11 @@ +/* + * @Author: donghao donghao@supervision.ltd + * @Date: 2024-02-26 10:32:17 + * @LastEditors: donghao donghao@supervision.ltd + * @LastEditTime: 2024-02-29 09:57:04 + * @FilePath: \General-AI-Platform-Web-Client\src\components\DsBox\src\dsTag1.tsx + * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE + */ /** * @交互说明 * @@ -80,7 +88,7 @@ export default defineComponent({ style={{ backgroundColor: props.info.color }} >
- {props.info.proportion}% + {props.info.proportion.toFixed(1)}% {props.info.name}
diff --git a/src/pages/dataScreen/views/computePowerAllocation/components/computePowerType.vue b/src/pages/dataScreen/views/computePowerAllocation/components/computePowerType.vue index b7459fe..5426b75 100644 --- a/src/pages/dataScreen/views/computePowerAllocation/components/computePowerType.vue +++ b/src/pages/dataScreen/views/computePowerAllocation/components/computePowerType.vue @@ -89,7 +89,7 @@ const currentInfo = computed(() => props.info);{{ currentInfo.name }}:
-{{ currentInfo.proportion }}%
+{{ currentInfo.proportion.toFixed(1) }}%
预计处理效率: {{ currentInfo.pretreatmentEfficiency }}帧/秒
diff --git a/src/pages/dataScreen/views/computePowerAllocation/computePowerAllocation.scss b/src/pages/dataScreen/views/computePowerAllocation/computePowerAllocation.scss index 2b10536..17898c7 100644 --- a/src/pages/dataScreen/views/computePowerAllocation/computePowerAllocation.scss +++ b/src/pages/dataScreen/views/computePowerAllocation/computePowerAllocation.scss @@ -105,9 +105,11 @@ // } .device_icons { + margin-top: 20px; + // background-color: red; + width: 848px; .device-icon-box { - width: 587px; - height: 592px; + height: 608px; } .bg_device_inner { width: 88px; diff --git a/src/pages/dataScreen/views/computePowerAllocation/computePowerAllocationIndex.vue b/src/pages/dataScreen/views/computePowerAllocation/computePowerAllocationIndex.vue index 8e1d66c..ed04995 100644 --- a/src/pages/dataScreen/views/computePowerAllocation/computePowerAllocationIndex.vue +++ b/src/pages/dataScreen/views/computePowerAllocation/computePowerAllocationIndex.vue @@ -2,7 +2,7 @@ * @Author: donghao donghao@supervision.ltd * @Date: 2024-01-19 09:22:30 * @LastEditors: donghao donghao@supervision.ltd - * @LastEditTime: 2024-02-28 17:27:57 + * @LastEditTime: 2024-02-29 10:02:55 * @FilePath: \General-AI-Platform-Web-Client\src\views\computePowerAllocation\index.vue * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE --> @@ -147,7 +147,9 @@ const poolsData: ComputePowerPoolItem[] = [ class="cp_bg_logo_icon" :class="`cp_bg_logo_icon_${v.type}`" /> - {{ v.label }} + {{ + v.label + }}