updated kpi

This commit is contained in:
Warunee Tamkoo 2024-05-16 16:15:57 +07:00
parent bb19640c98
commit 6c03e24518
8 changed files with 114 additions and 46 deletions

View file

@ -201,25 +201,25 @@ function changRound() {
function redirectViewDetail(id: string) {
store.tabMain = "1";
store.indicatorWeightTotal = 0;
store.indicatorWeight1Total = 0;
store.indicatorWeight2Total = 0;
store.indicatorPercentVal = 0;
store.indicatorScore = 0;
store.indicatorScoreVal = 0;
store.competencyScore = 0;
store.competencyScoreVal = 0;
store.devScore = 0;
store.devScoreVal = 0;
store.competencyDevScore = 0;
store.excusiveCompetencyScore = 0;
store.excusiveIndicator1PercentVal = 0;
store.excusiveIndicator1Weight = 0;
store.excusiveIndicator1ScoreVal = 0;
store.excusiveIndicator2Weight = 0;
store.excusiveIndicator2PercentVal = 0;
store.excusiveIndicator2ScoreVal = 0;
store.excusiveIndicatorScore = 0;
// store.indicatorWeightTotal = 0;
// store.indicatorWeight1Total = 0;
// store.indicatorWeight2Total = 0;
// store.indicatorPercentVal = 0;
// store.indicatorScore = 0;
// store.indicatorScoreVal = 0;
// store.competencyScore = 0;
// store.competencyScoreVal = 0;
// store.devScore = 0;
// store.devScoreVal = 0;
// store.competencyDevScore = 0;
// store.excusiveCompetencyScore = 0;
// store.excusiveIndicator1PercentVal = 0;
// store.excusiveIndicator1Weight = 0;
// store.excusiveIndicator1ScoreVal = 0;
// store.excusiveIndicator2Weight = 0;
// store.excusiveIndicator2PercentVal = 0;
// store.excusiveIndicator2ScoreVal = 0;
// store.excusiveIndicatorScore = 0;
router.push(`/KPI/${id}`);
}