แก้ไขฟอร์มการสืบสวนข้อเท็จจริง
This commit is contained in:
parent
5ad7140335
commit
6f80fb2347
6 changed files with 474 additions and 381 deletions
|
|
@ -17,23 +17,24 @@ const data = reactive<FormData>({
|
|||
complaintdetail: "",
|
||||
detail: "",
|
||||
fault: "",
|
||||
results: "",
|
||||
other: "",
|
||||
evidenceFiles: null,
|
||||
fileComplaint: null,
|
||||
clickTime: false,
|
||||
date: null,
|
||||
dateEnd: null,
|
||||
dateEnd: new Date(),
|
||||
investigation: "",
|
||||
daysExtend: "",
|
||||
daysExtend: null,
|
||||
statusResult: "",
|
||||
causeText: "",
|
||||
});
|
||||
|
||||
const fetchData = async () => {
|
||||
// ดึงค่าจาก api
|
||||
data.complaint = "เรื่องที่ 1";
|
||||
data.complaintdetail = "รายละเอียด";
|
||||
data.detail = "รายละเอียด";
|
||||
data.fault = "001";
|
||||
data.results = "test";
|
||||
data.other = "";
|
||||
data.evidenceFiles = null;
|
||||
data.fileComplaint = null;
|
||||
|
|
@ -41,7 +42,9 @@ const fetchData = async () => {
|
|||
data.date = new Date("2023-11-07T14:58:00");
|
||||
data.dateEnd = new Date("2023-11-08T14:58:00");
|
||||
data.investigation = "002";
|
||||
data.daysExtend = "";
|
||||
data.daysExtend = null;
|
||||
data.statusResult = "ไม่ระบุ";
|
||||
data.causeText = "";
|
||||
};
|
||||
|
||||
// แก้ไขข้อมูล
|
||||
|
|
@ -51,6 +54,7 @@ const onSubmit = async (id: string) => {
|
|||
router.push(`/discipline/investigatefacts`);
|
||||
};
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div class="col-xs-12 col-sm-12 col-md-11">
|
||||
<div class="toptitle col-12 row items-center">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue