This commit is contained in:
qsh
2024-12-26 17:11:17 +08:00
parent 34a1fc56d3
commit 7bb3a74095

View File

@@ -125,15 +125,14 @@ onMounted(() => {
'YYYY-MM' 'YYYY-MM'
) )
KpiApi.getKpiPeriodStatus({ period: searchForm.value.period }).then((data) => {
periodSaved.value = data.status
})
getList() getList()
}) })
async function getList() { async function getList() {
try { try {
KpiApi.getKpiPeriodStatus({ period: searchForm.value.period }).then((data) => {
periodSaved.value = data.status
})
// 获取当前要考核的人员 // 获取当前要考核的人员
const arr = await KpiApi.getKpiEmployees(searchForm.value) const arr = await KpiApi.getKpiEmployees(searchForm.value)
employeeOptions.value = arr || [] employeeOptions.value = arr || []