diff --git a/src/views/Kpi/Score/index.vue b/src/views/Kpi/Score/index.vue index 936bdbf..747cede 100644 --- a/src/views/Kpi/Score/index.vue +++ b/src/views/Kpi/Score/index.vue @@ -125,15 +125,14 @@ onMounted(() => { 'YYYY-MM' ) - KpiApi.getKpiPeriodStatus({ period: searchForm.value.period }).then((data) => { - periodSaved.value = data.status - }) - getList() }) async function getList() { try { + KpiApi.getKpiPeriodStatus({ period: searchForm.value.period }).then((data) => { + periodSaved.value = data.status + }) // 获取当前要考核的人员 const arr = await KpiApi.getKpiEmployees(searchForm.value) employeeOptions.value = arr || []