แก้วินัย

This commit is contained in:
setthawutttty 2024-01-19 13:06:32 +07:00
parent 015d2d9857
commit 3c2a010ab4
24 changed files with 286 additions and 93 deletions

View file

@ -17,7 +17,6 @@ const router = useRouter();
* @param data ดขอม
*/
async function onSubmit(data: any) {
console.log("add", data);
const formData = new FormData();
formData.append("profileId", data.profileId);
formData.append("citizenId", data.citizenId);

View file

@ -88,7 +88,6 @@ function getData() {
http
.get(config.API.appealByID(id.value))
.then((res) => {
console.log(res);
const dataList = res.data.result;
data.id = dataList.id;
data.title = dataList.title;

View file

@ -171,8 +171,6 @@ function validateForm() {
);
}
} else {
console.log("ไม่ผ่าน ");
// console.log(hasError);
}
}
@ -219,7 +217,6 @@ function uploadFile() {
http
.put(config.API.appealUpLoadFile(formData.id), Data)
.then((res) => {
console.log(res);
success($q, "อัปโหลดไฟล์สำเร็จ");
props.getData();
})