|
|
@ -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 || [] |
|
|
|