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 { ref, watch } from "vue";
|
||||||
import { useCounterMixin } from "@/stores/mixin";
|
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";
|
import DialogHeader from "@/components/DialogHeader.vue";
|
||||||
|
|
||||||
|
|
@ -22,8 +23,8 @@ const props = defineProps({
|
||||||
});
|
});
|
||||||
|
|
||||||
const filter = ref<string>("");
|
const filter = ref<string>("");
|
||||||
const rows = ref<any[]>([]);
|
const rows = ref<DataHistory[]>([]);
|
||||||
const dataMain = ref<any[]>([]);
|
const dataMain = ref<DataHistory[]>([]);
|
||||||
const visibleColumns = ref<string[]>([]);
|
const visibleColumns = ref<string[]>([]);
|
||||||
const pagination = ref({
|
const pagination = ref({
|
||||||
sortBy: "lastUpdatedAt",
|
sortBy: "lastUpdatedAt",
|
||||||
|
|
|
||||||
|
|
@ -97,19 +97,19 @@ interface InsigniasType {
|
||||||
}
|
}
|
||||||
|
|
||||||
interface InsigniasTypeSub {
|
interface InsigniasTypeSub {
|
||||||
id:string;
|
id: string;
|
||||||
createdAt:Date;
|
createdAt: Date;
|
||||||
createdUserId:string;
|
createdUserId: string;
|
||||||
lastUpdatedAt:Date;
|
lastUpdatedAt: Date;
|
||||||
lastUpdateUserId:string;
|
lastUpdateUserId: string;
|
||||||
createdFullName:string;
|
createdFullName: string;
|
||||||
lastUpdateFullName:string;
|
lastUpdateFullName: string;
|
||||||
name:string;
|
name: string;
|
||||||
shortName:string;
|
shortName: string;
|
||||||
level:string;
|
level: string;
|
||||||
isActive:string;
|
isActive: string;
|
||||||
note:string;
|
note: string;
|
||||||
insigniaTypeId:string;
|
insigniaTypeId: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
interface ResFileData {
|
interface ResFileData {
|
||||||
|
|
@ -118,6 +118,10 @@ interface ResFileData {
|
||||||
path: string;
|
path: string;
|
||||||
pathname: string;
|
pathname: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
interface DataHistory {
|
||||||
|
[key: string]: string | number | Date | boolean;
|
||||||
|
}
|
||||||
export type {
|
export type {
|
||||||
Pagination,
|
Pagination,
|
||||||
DataOption,
|
DataOption,
|
||||||
|
|
@ -132,8 +136,8 @@ export type {
|
||||||
DataOptionEducation,
|
DataOptionEducation,
|
||||||
DataOptionEducationLevel,
|
DataOptionEducationLevel,
|
||||||
Request,
|
Request,
|
||||||
|
|
||||||
InsigniasType,
|
InsigniasType,
|
||||||
InsigniasTypeSub,
|
InsigniasTypeSub,
|
||||||
ResFileData
|
ResFileData,
|
||||||
|
DataHistory,
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue