ทะเบียนประวัติ: วินัย interface
This commit is contained in:
parent
eac1642da5
commit
9b6b8bef31
2 changed files with 6 additions and 6 deletions
|
|
@ -31,7 +31,7 @@ const {
|
||||||
|
|
||||||
dialogRemove,
|
dialogRemove,
|
||||||
} = mixin;
|
} = mixin;
|
||||||
const disciplineData = reactive<any>({
|
const disciplineData = reactive<RequestItemsObject>({
|
||||||
date: new Date(),
|
date: new Date(),
|
||||||
level: "",
|
level: "",
|
||||||
detail: "",
|
detail: "",
|
||||||
|
|
@ -299,7 +299,7 @@ function deleteData(idData: string) {
|
||||||
function openDialogEdit(props: RequestItemsObject) {
|
function openDialogEdit(props: RequestItemsObject) {
|
||||||
modal.value = true;
|
modal.value = true;
|
||||||
edit.value = true;
|
edit.value = true;
|
||||||
id.value = props.id;
|
id.value = props.id ? props.id : "";
|
||||||
disciplineData.date = props.date;
|
disciplineData.date = props.date;
|
||||||
disciplineData.detail = props.detail;
|
disciplineData.detail = props.detail;
|
||||||
disciplineData.level = props.level;
|
disciplineData.level = props.level;
|
||||||
|
|
|
||||||
|
|
@ -1,13 +1,13 @@
|
||||||
interface RequestItemsObject {
|
interface RequestItemsObject {
|
||||||
id: string;
|
profileId: string,
|
||||||
|
id?: string;
|
||||||
level: string;
|
level: string;
|
||||||
detail: string;
|
detail: string;
|
||||||
unStigma: string;
|
unStigma: string;
|
||||||
refCommandNo: string;
|
refCommandNo: string;
|
||||||
refCommandDate: Date | null;
|
refCommandDate: Date | null;
|
||||||
date: Date;
|
date: Date | null;
|
||||||
createdFullName: string;
|
|
||||||
createdAt: Date;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
interface FormFilter {
|
interface FormFilter {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue