ทะเบียนประวัติ: วินัย 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,
|
||||
} = mixin;
|
||||
const disciplineData = reactive<any>({
|
||||
const disciplineData = reactive<RequestItemsObject>({
|
||||
date: new Date(),
|
||||
level: "",
|
||||
detail: "",
|
||||
|
|
@ -299,7 +299,7 @@ function deleteData(idData: string) {
|
|||
function openDialogEdit(props: RequestItemsObject) {
|
||||
modal.value = true;
|
||||
edit.value = true;
|
||||
id.value = props.id;
|
||||
id.value = props.id ? props.id : "";
|
||||
disciplineData.date = props.date;
|
||||
disciplineData.detail = props.detail;
|
||||
disciplineData.level = props.level;
|
||||
|
|
|
|||
|
|
@ -1,13 +1,13 @@
|
|||
interface RequestItemsObject {
|
||||
id: string;
|
||||
profileId: string,
|
||||
id?: string;
|
||||
level: string;
|
||||
detail: string;
|
||||
unStigma: string;
|
||||
refCommandNo: string;
|
||||
refCommandDate: Date | null;
|
||||
date: Date;
|
||||
createdFullName: string;
|
||||
createdAt: Date;
|
||||
date: Date | null;
|
||||
|
||||
}
|
||||
|
||||
interface FormFilter {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue