apiรายละเอียดการประเมินของ
This commit is contained in:
parent
ec4dd527c4
commit
693e8008a5
6 changed files with 179 additions and 63 deletions
|
|
@ -63,14 +63,14 @@ export const useEvalutuonStore = defineStore("EvalutuonStore", () => {
|
|||
function fetchData(data: any[]) {
|
||||
console.log(data);
|
||||
const dataList: any[] = data.map((data: any) => ({
|
||||
id: data.Id,
|
||||
citizanId: data.CitizenId,
|
||||
fullName: data.FullName,
|
||||
position: data.Position,
|
||||
level: convertType(data.Type),
|
||||
positionNumber: data.PosNo,
|
||||
agency: data.Oc,
|
||||
status: convertStatus(data.Step),
|
||||
id: data.id,
|
||||
citizanId: data.citizenId,
|
||||
fullName: data.fullName,
|
||||
position: data.position,
|
||||
level: convertType(data.type),
|
||||
positionNumber: data.posNo,
|
||||
agency: data.oc,
|
||||
status: convertStatus(data.step),
|
||||
}));
|
||||
rows.value = dataList;
|
||||
console.log(dataList);
|
||||
|
|
|
|||
|
|
@ -20,6 +20,9 @@ export const useEvaluateDetailStore = defineStore("evaluateDetailStore", () => {
|
|||
|
||||
const tabPanels = ref<string>("1");
|
||||
|
||||
const log = ref<any>(0)
|
||||
const pdfSrcStore = ref<any>()
|
||||
const numOfPagesStore = ref<any>()
|
||||
const columnsLicense = ref<QTableProps["columns"]>([
|
||||
{
|
||||
name: "",
|
||||
|
|
@ -301,5 +304,8 @@ export const useEvaluateDetailStore = defineStore("evaluateDetailStore", () => {
|
|||
columnPeriodhistory,
|
||||
columnTrainingHistory,
|
||||
columnProjectsProposed,
|
||||
pdfSrcStore,
|
||||
numOfPagesStore,
|
||||
log
|
||||
};
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue