แก้ kpi
This commit is contained in:
parent
374e43032a
commit
f4d11d6686
2 changed files with 7 additions and 8 deletions
|
|
@ -8,7 +8,7 @@ import http from "@/plugins/http";
|
||||||
import { useCounterMixin } from "@/stores/mixin";
|
import { useCounterMixin } from "@/stores/mixin";
|
||||||
import { useKpiDataStore } from "@/modules/14_KPI/store";
|
import { useKpiDataStore } from "@/modules/14_KPI/store";
|
||||||
|
|
||||||
import type { ListCriteria } from "@/modules/14_KPI/interface/request/Index";
|
import type { ListCriteria } from "@/modules/14_KPI/interface/request/index";
|
||||||
|
|
||||||
import DialogListCriteria from "@/modules/14_KPI/components/Tab/Dialog/DialogListCriteria.vue";
|
import DialogListCriteria from "@/modules/14_KPI/components/Tab/Dialog/DialogListCriteria.vue";
|
||||||
import Work from "@/modules/14_KPI/components/Tab/Topic/01_Indicator.vue";
|
import Work from "@/modules/14_KPI/components/Tab/Topic/01_Indicator.vue";
|
||||||
|
|
@ -233,7 +233,7 @@ onMounted(async () => {
|
||||||
<!-- องค์ประกอบที่ 1 -->
|
<!-- องค์ประกอบที่ 1 -->
|
||||||
<div
|
<div
|
||||||
v-if="
|
v-if="
|
||||||
store.dataEvaluation.posTypeName == 'อำนวยการ' &&
|
store.dataEvaluation.posTypeName == 'อำนวยการ' ||
|
||||||
store.dataEvaluation.posTypeName == 'บริหาร'
|
store.dataEvaluation.posTypeName == 'บริหาร'
|
||||||
"
|
"
|
||||||
>
|
>
|
||||||
|
|
|
||||||
|
|
@ -514,13 +514,12 @@ onUnmounted(() => {
|
||||||
!checkRoutePermisson
|
!checkRoutePermisson
|
||||||
"
|
"
|
||||||
:disabled="
|
:disabled="
|
||||||
(store.dataEvaluation.posTypeName != 'อำนวยการ' &&
|
((store.dataEvaluation.posTypeName != 'อำนวยการ' ||
|
||||||
store.dataEvaluation.posTypeName != 'บริหาร' &&
|
store.dataEvaluation.posTypeName != 'บริหาร') &&
|
||||||
store.indicatorWeightTotal != 100) ||
|
store.indicatorWeightTotal != 100) ||
|
||||||
(store.dataEvaluation.posTypeName == 'อำนวยการ' &&
|
((store.dataEvaluation.posTypeName == 'อำนวยการ' ||
|
||||||
store.dataEvaluation.posTypeName == 'บริหาร' &&
|
store.dataEvaluation.posTypeName == 'บริหาร') &&
|
||||||
(store.indicatorWeight1Total != 100 ||
|
store.indicatorWeightTotal != 100)
|
||||||
store.indicatorWeight2Total != 20))
|
|
||||||
"
|
"
|
||||||
unelevated
|
unelevated
|
||||||
round
|
round
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue