new command module
This commit is contained in:
parent
612cd87689
commit
a750c4924c
13 changed files with 91 additions and 4 deletions
5
src/modules/18_command/components/Step/1_Detail.vue
Normal file
5
src/modules/18_command/components/Step/1_Detail.vue
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
<script setup lang="ts"></script>
|
||||
|
||||
<template>
|
||||
<div>รายละเอียดคำสั่ง</div>
|
||||
</template>
|
||||
5
src/modules/18_command/components/Step/2_ListPersons.vue
Normal file
5
src/modules/18_command/components/Step/2_ListPersons.vue
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
<script setup lang="ts"></script>
|
||||
|
||||
<template>
|
||||
<div>รายชื่อผู้ถูกออกคำสั่ง</div>
|
||||
</template>
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
<script setup lang="ts"></script>
|
||||
|
||||
<template>
|
||||
<div>รายชื่อผู้ได้รับสำเนาคำสั่ง</div>
|
||||
</template>
|
||||
5
src/modules/18_command/components/Step/4_Attached.vue
Normal file
5
src/modules/18_command/components/Step/4_Attached.vue
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
<script setup lang="ts"></script>
|
||||
|
||||
<template>
|
||||
<div>คำสั่งและบัญชีแนบท้าย</div>
|
||||
</template>
|
||||
10
src/modules/18_command/interface/index/Main.ts
Normal file
10
src/modules/18_command/interface/index/Main.ts
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
interface Pagination {
|
||||
rowsPerPage: number;
|
||||
}
|
||||
|
||||
interface DataOption {
|
||||
id: string;
|
||||
name: string;
|
||||
}
|
||||
|
||||
export type { Pagination, DataOption };
|
||||
1
src/modules/18_command/interface/request/Main.ts
Normal file
1
src/modules/18_command/interface/request/Main.ts
Normal file
|
|
@ -0,0 +1 @@
|
|||
export type {};
|
||||
1
src/modules/18_command/interface/response/Main.ts
Normal file
1
src/modules/18_command/interface/response/Main.ts
Normal file
|
|
@ -0,0 +1 @@
|
|||
export type {};
|
||||
25
src/modules/18_command/router.ts
Normal file
25
src/modules/18_command/router.ts
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
const listPage = () => import("@/modules/18_command/views/lists.vue");
|
||||
const detailPage = () => import("@/modules/18_command/views/detail.vue");
|
||||
|
||||
export default [
|
||||
{
|
||||
path: "/command",
|
||||
name: "commandListPage",
|
||||
component: listPage,
|
||||
meta: {
|
||||
Auth: true,
|
||||
Key: "COMMAND",
|
||||
Role: "STAFF",
|
||||
},
|
||||
},
|
||||
{
|
||||
path: "/command/:id",
|
||||
name: "commandDetailPage",
|
||||
component: detailPage,
|
||||
meta: {
|
||||
Auth: true,
|
||||
Key: "COMMAND",
|
||||
Role: "STAFF",
|
||||
},
|
||||
},
|
||||
];
|
||||
5
src/modules/18_command/store/DetailStore.ts
Normal file
5
src/modules/18_command/store/DetailStore.ts
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
import { defineStore } from "pinia";
|
||||
|
||||
export const usePositionEmp = defineStore("commandDetailStore", () => {
|
||||
return {};
|
||||
});
|
||||
5
src/modules/18_command/store/ListStore.ts
Normal file
5
src/modules/18_command/store/ListStore.ts
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
import { defineStore } from "pinia";
|
||||
|
||||
export const usePositionEmp = defineStore("commandListStore", () => {
|
||||
return {};
|
||||
});
|
||||
11
src/modules/18_command/views/detail.vue
Normal file
11
src/modules/18_command/views/detail.vue
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
<script setup lang="ts">
|
||||
import { onMounted } from "vue";
|
||||
|
||||
onMounted(() => {
|
||||
console.log("mounted");
|
||||
});
|
||||
</script>
|
||||
|
||||
<template>detail</template>
|
||||
|
||||
<style scoped></style>
|
||||
11
src/modules/18_command/views/lists.vue
Normal file
11
src/modules/18_command/views/lists.vue
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
<script setup lang="ts">
|
||||
import { onMounted } from "vue";
|
||||
|
||||
onMounted(() => {
|
||||
console.log("mounted");
|
||||
});
|
||||
</script>
|
||||
|
||||
<template>tabs / lists</template>
|
||||
|
||||
<style scoped></style>
|
||||
Loading…
Add table
Add a link
Reference in a new issue