updated format code & eslint rule

This commit is contained in:
Warunee Tamkoo 2024-09-02 14:01:01 +07:00
parent 67c6810def
commit 8a31554f38
102 changed files with 6271 additions and 6164 deletions

View file

@ -1,29 +1,24 @@
interface QuestionDescription {
question1Desc: string;
question2Desc: string;
question3Desc: string;
question4Desc: string;
question5Desc: string;
question6Desc: string;
question7Desc: string;
question8Desc: string;
question9Desc: string;
question10Desc: string;
[key: string]: string;
question1Desc: string;
question2Desc: string;
question3Desc: string;
question4Desc: string;
question5Desc: string;
question6Desc: string;
question7Desc: string;
question8Desc: string;
question9Desc: string;
question10Desc: string;
[key: string]: string;
}
interface OptionQuestions {
label: string;
value: number;
label: string;
value: number;
}
interface OptionQuestions2 {
label: string;
value: boolean;
label: string;
value: boolean;
}
export type {
QuestionDescription,
OptionQuestions,
OptionQuestions2
};
export type { QuestionDescription, OptionQuestions, OptionQuestions2 };

View file

@ -2,48 +2,48 @@
* Router
*/
const MainRetire = () => import("@/modules/03_retire/views/main.vue")
const MainRetire = () => import("@/modules/03_retire/views/main.vue");
const AddRetire = () => import("@/modules/03_retire/views/addRetire.vue")
const AddRetire = () => import("@/modules/03_retire/views/addRetire.vue");
const ResultQuestionair = () => import("@/modules/03_retire/views/result.vue")
const ResultQuestionair = () => import("@/modules/03_retire/views/result.vue");
export default [
{
path: "/retire",
name: "Retire",
component: MainRetire,
meta: {
Auth: true,
Key: [7],
},
},
{
path: "/retire/add",
name: "AddRetire",
component: AddRetire,
meta: {
Auth: true,
Key: [7],
},
},
{
path: "/retire/:id",
name: "detailRetire",
component: AddRetire,
meta: {
Auth: true,
Key: [7],
},
},
{
path: "/retire",
name: "Retire",
component: MainRetire,
meta: {
Auth: true,
Key: [7],
},
},
{
path: "/retire/add",
name: "AddRetire",
component: AddRetire,
meta: {
Auth: true,
Key: [7],
},
},
{
path: "/retire/:id",
name: "detailRetire",
component: AddRetire,
meta: {
Auth: true,
Key: [7],
},
},
{
path: "/retire/result/:id",
name: "resultRetire",
component: ResultQuestionair,
meta: {
Auth: true,
Key: [7],
},
},
]
{
path: "/retire/result/:id",
name: "resultRetire",
component: ResultQuestionair,
meta: {
Auth: true,
Key: [7],
},
},
];