เพิ่ม ui เมนูรายการคำสั่งและ Template
This commit is contained in:
parent
6c72c90524
commit
3b9df73811
8 changed files with 45 additions and 0 deletions
5
src/modules/05_command/interface/index/Main.ts
Normal file
5
src/modules/05_command/interface/index/Main.ts
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
interface Pagination {
|
||||
rowsPerPage: number;
|
||||
}
|
||||
|
||||
export type { Pagination };
|
||||
7
src/modules/05_command/interface/request/Main.ts
Normal file
7
src/modules/05_command/interface/request/Main.ts
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
interface DataListsObject {
|
||||
id: number;
|
||||
count: number;
|
||||
name: string;
|
||||
}
|
||||
|
||||
export type { DataListsObject };
|
||||
1
src/modules/05_command/interface/response/Main.ts
Normal file
1
src/modules/05_command/interface/response/Main.ts
Normal file
|
|
@ -0,0 +1 @@
|
|||
export type {};
|
||||
12
src/modules/05_command/router.ts
Normal file
12
src/modules/05_command/router.ts
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
const ListsPage = () => import("@/modules/05_command/views/lists.vue");
|
||||
|
||||
export default [
|
||||
{
|
||||
path: "/command-template",
|
||||
name: "commandTemplate",
|
||||
component: ListsPage,
|
||||
meta: {
|
||||
Role: ["SUPER_ADMIN", "ADMIN"],
|
||||
},
|
||||
},
|
||||
];
|
||||
5
src/modules/05_command/stores/main.ts
Normal file
5
src/modules/05_command/stores/main.ts
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
import { defineStore } from "pinia";
|
||||
|
||||
export const useDataStore = defineStore("commandStore", () => {
|
||||
return {};
|
||||
});
|
||||
5
src/modules/05_command/views/lists.vue
Normal file
5
src/modules/05_command/views/lists.vue
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
<script setup lang="ts"></script>
|
||||
|
||||
<template>รายการคำสั่งและ Template</template>
|
||||
|
||||
<style lang="scss" scoped></style>
|
||||
Loading…
Add table
Add a link
Reference in a new issue