แก้กรรมการในประเมิน

This commit is contained in:
Warunee Tamkoo 2023-12-21 10:42:25 +07:00
parent 0d3f60b11c
commit 289397c1d9
4 changed files with 18 additions and 40 deletions

View file

@ -5,6 +5,7 @@ import router from "@/router";
import { useCounterMixin } from "@/stores/mixin";
import { useQuasar } from "quasar";
import { useEvaluateDirectorDataStore } from "@/modules/12_evaluatePersonal/store/DirectorStore";
import http from "@/plugins/http";
import config from "@/app.config";

View file

@ -12,9 +12,6 @@ interface DataResponseList {
Phone:string
Email:string
Position:string
totalInvestigate?:number
totalDisciplinary?:number
}
interface MainList {
@ -32,9 +29,6 @@ interface MainList {
lastUpdateUserId:string
createdAt:string
lastUpdatedAt:string
totalInvestigate:string|number
totalDisciplinary:string|number
}
interface FormData {

View file

@ -17,8 +17,6 @@ export const useEvaluateDirectorDataStore = defineStore(
"position",
"email",
"phone",
"totalInvestigate",
"totalDisciplinary",
]);
// หัวตาราง
@ -68,24 +66,6 @@ export const useEvaluateDirectorDataStore = defineStore(
headerStyle: "font-size: 14px",
style: "font-size: 14px",
},
{
name: "totalInvestigate",
align: "left",
label: "จำนวนการสืบสวน",
sortable: true,
field: "totalInvestigate",
headerStyle: "font-size: 14px",
style: "font-size: 14px",
},
{
name: "totalDisciplinary",
align: "left",
label: "จำนวนการสอบสวน",
sortable: true,
field: "totalDisciplinary",
headerStyle: "font-size: 14px",
style: "font-size: 14px",
},
]);
// ข้อมูลในตาราง
@ -100,8 +80,6 @@ export const useEvaluateDirectorDataStore = defineStore(
phone:item.Phone,
email:item.Email,
position:item.Position,
totalInvestigate:item.totalInvestigate ? item.totalInvestigate :'-',
totalDisciplinary:item.totalDisciplinary ? item.totalDisciplinary :'-',
createdFullName:item.CreatedFullName,
lastUpdateFullName:item.LastUpdateFullName,