updated format code & eslint rule
This commit is contained in:
parent
67c6810def
commit
8a31554f38
102 changed files with 6271 additions and 6164 deletions
|
|
@ -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 };
|
||||
|
|
|
|||
|
|
@ -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],
|
||||
},
|
||||
},
|
||||
];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue