fix interface
This commit is contained in:
parent
fe385cfb0c
commit
4e59108e27
2 changed files with 23 additions and 18 deletions
|
|
@ -2,7 +2,8 @@
|
|||
import { ref, watch } from "vue";
|
||||
import { useCounterMixin } from "@/stores/mixin";
|
||||
|
||||
import type { QTableColumn, QTableProps } from "quasar";
|
||||
import type { QTableColumn } from "quasar";
|
||||
import type { DataHistory } from "@/modules/04_registryPerson/interface/index/Main";
|
||||
|
||||
import DialogHeader from "@/components/DialogHeader.vue";
|
||||
|
||||
|
|
@ -22,8 +23,8 @@ const props = defineProps({
|
|||
});
|
||||
|
||||
const filter = ref<string>("");
|
||||
const rows = ref<any[]>([]);
|
||||
const dataMain = ref<any[]>([]);
|
||||
const rows = ref<DataHistory[]>([]);
|
||||
const dataMain = ref<DataHistory[]>([]);
|
||||
const visibleColumns = ref<string[]>([]);
|
||||
const pagination = ref({
|
||||
sortBy: "lastUpdatedAt",
|
||||
|
|
|
|||
|
|
@ -97,19 +97,19 @@ interface InsigniasType {
|
|||
}
|
||||
|
||||
interface InsigniasTypeSub {
|
||||
id:string;
|
||||
createdAt:Date;
|
||||
createdUserId:string;
|
||||
lastUpdatedAt:Date;
|
||||
lastUpdateUserId:string;
|
||||
createdFullName:string;
|
||||
lastUpdateFullName:string;
|
||||
name:string;
|
||||
shortName:string;
|
||||
level:string;
|
||||
isActive:string;
|
||||
note:string;
|
||||
insigniaTypeId:string;
|
||||
id: string;
|
||||
createdAt: Date;
|
||||
createdUserId: string;
|
||||
lastUpdatedAt: Date;
|
||||
lastUpdateUserId: string;
|
||||
createdFullName: string;
|
||||
lastUpdateFullName: string;
|
||||
name: string;
|
||||
shortName: string;
|
||||
level: string;
|
||||
isActive: string;
|
||||
note: string;
|
||||
insigniaTypeId: string;
|
||||
}
|
||||
|
||||
interface ResFileData {
|
||||
|
|
@ -118,6 +118,10 @@ interface ResFileData {
|
|||
path: string;
|
||||
pathname: string;
|
||||
}
|
||||
|
||||
interface DataHistory {
|
||||
[key: string]: string | number | Date | boolean;
|
||||
}
|
||||
export type {
|
||||
Pagination,
|
||||
DataOption,
|
||||
|
|
@ -132,8 +136,8 @@ export type {
|
|||
DataOptionEducation,
|
||||
DataOptionEducationLevel,
|
||||
Request,
|
||||
|
||||
InsigniasType,
|
||||
InsigniasTypeSub,
|
||||
ResFileData
|
||||
ResFileData,
|
||||
DataHistory,
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue