编写前端请求代码

This commit is contained in:
2023-03-17 18:53:13 +08:00
parent 6f4dbdbd7e
commit 31d175d36a
10 changed files with 129 additions and 61 deletions

View File

@@ -4,8 +4,8 @@
* @LastEditors: Kane
* @FilePath: /task_schedule/src/components/ArchievementCompleteRateComponent.vue
* @Description: 业绩完成率组件
*
* Copyright (c) ${2022} by Kane, All Rights Reserved.
*
* Copyright (c) ${2022} by Kane, All Rights Reserved.
-->
<template>
<div class="complete-rate-wrapper">
@@ -29,7 +29,7 @@ export default {
percentage: {
type: String,
require: true,
default:()=>"0",
default: () => "0",
},
indicator: {
type: String,
@@ -41,7 +41,7 @@ export default {
const percentage = Number(props.percentage).valueOf();
const ui = reactive({
percentage: percentage,
percentage,
indicator: props.indicator,
});
@@ -79,6 +79,5 @@ export default {
font-size: 12px;
}
}
</style>
</style>