updated format code
This commit is contained in:
parent
b75d69ea08
commit
b14bad2249
241 changed files with 14012 additions and 13811 deletions
|
|
@ -10,4 +10,4 @@ interface Answers {
|
|||
desc: string;
|
||||
}
|
||||
|
||||
export type {Questions};
|
||||
export type { Questions };
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
interface Pagination {
|
||||
rowsPerPage: number;
|
||||
}
|
||||
export type {Pagination};
|
||||
rowsPerPage: number;
|
||||
}
|
||||
export type { Pagination };
|
||||
|
|
|
|||
|
|
@ -1,14 +1,10 @@
|
|||
interface OptionQuestions {
|
||||
label: string;
|
||||
value: number;
|
||||
label: string;
|
||||
value: number;
|
||||
}
|
||||
interface OptionQuestions2 {
|
||||
label: string;
|
||||
value: boolean;
|
||||
label: string;
|
||||
value: boolean;
|
||||
}
|
||||
|
||||
|
||||
export type {
|
||||
OptionQuestions,
|
||||
OptionQuestions2
|
||||
};
|
||||
export type { OptionQuestions, OptionQuestions2 };
|
||||
|
|
|
|||
|
|
@ -115,5 +115,5 @@ export type {
|
|||
ResDetailDeceased,
|
||||
FormActive,
|
||||
OrgTree,
|
||||
TreeMain
|
||||
TreeMain,
|
||||
};
|
||||
|
|
|
|||
|
|
@ -2,16 +2,19 @@ import { defineStore } from "pinia";
|
|||
import { reactive } from "vue";
|
||||
import type { Questions } from "@/modules/06_retirement/interface/index/ExitInterviewQuestion";
|
||||
|
||||
export const useExitInterviewQuestionDataStore = defineStore("exitInterviewQuestion", () => {
|
||||
const question = reactive<Questions[]>([
|
||||
{
|
||||
no: 1,
|
||||
desc: 'เหตุใดท่านจึงตัดสินใจร่วมงานกับกรุงเทพมหานคร (เลือกได้มากกว่า 1 ข้อ)',
|
||||
score: 5,
|
||||
}
|
||||
])
|
||||
export const useExitInterviewQuestionDataStore = defineStore(
|
||||
"exitInterviewQuestion",
|
||||
() => {
|
||||
const question = reactive<Questions[]>([
|
||||
{
|
||||
no: 1,
|
||||
desc: "เหตุใดท่านจึงตัดสินใจร่วมงานกับกรุงเทพมหานคร (เลือกได้มากกว่า 1 ข้อ)",
|
||||
score: 5,
|
||||
},
|
||||
]);
|
||||
|
||||
return {
|
||||
question,
|
||||
};
|
||||
});
|
||||
return {
|
||||
question,
|
||||
};
|
||||
}
|
||||
);
|
||||
|
|
|
|||
|
|
@ -1,17 +1,19 @@
|
|||
import { defineStore } from "pinia";
|
||||
import { ref } from 'vue'
|
||||
import { ref } from "vue";
|
||||
export const useDataStoreRetirement = defineStore("retirementDatastore", () => {
|
||||
const taboption = ref<any>([{ name: "officer", id: "officer", label: 'ขรก.กทม.สามัญ' },
|
||||
{ name: "employee", id: "employee", label: "ลูกจ้างประจำ" }])
|
||||
const taboption = ref<any>([
|
||||
{ name: "officer", id: "officer", label: "ขรก.กทม.สามัญ" },
|
||||
{ name: "employee", id: "employee", label: "ลูกจ้างประจำ" },
|
||||
]);
|
||||
const tab = ref<any>("officer");
|
||||
const type = ref<string>("officer");
|
||||
const clickTab = (role: string) => {
|
||||
type.value = role
|
||||
}
|
||||
type.value = role;
|
||||
};
|
||||
return {
|
||||
tab,
|
||||
type,
|
||||
clickTab,
|
||||
taboption
|
||||
taboption,
|
||||
};
|
||||
});
|
||||
|
|
|
|||
|
|
@ -377,7 +377,8 @@ const typeReportChangeName = (val: string) => {
|
|||
<q-btn
|
||||
v-if="
|
||||
checkPermission($route)?.attrIsGet &&
|
||||
checkPermission($route)?.attrIsUpdate && !props.row.document
|
||||
checkPermission($route)?.attrIsUpdate &&
|
||||
!props.row.document
|
||||
"
|
||||
flat
|
||||
round
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue