From fdb2dc4577570d29105366fffdc38d7b715900a8 Mon Sep 17 00:00:00 2001 From: waruneeauy Date: Mon, 10 Jun 2024 12:04:57 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B8=9B=E0=B8=A3=E0=B8=B1=E0=B8=9A=E0=B8=A5?= =?UTF-8?q?=E0=B8=B2=E0=B8=AD=E0=B8=AD=E0=B8=81=E0=B8=A3=E0=B8=B2=E0=B8=A2?= =?UTF-8?q?=E0=B8=81=E0=B8=B2=E0=B8=A3=E0=B8=95=E0=B8=A3=E0=B8=A7=E0=B8=88?= =?UTF-8?q?=E0=B8=AA=E0=B8=AD=E0=B8=9A=E0=B9=80=E0=B8=87=E0=B8=B7=E0=B9=88?= =?UTF-8?q?=E0=B8=AD=E0=B8=99=E0=B9=84=E0=B8=82=E0=B8=95=E0=B9=88=E0=B8=B2?= =?UTF-8?q?=E0=B8=87=20=E0=B9=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/resign/ResignByid.vue | 36 +++++++++++++++---- 1 file changed, 30 insertions(+), 6 deletions(-) diff --git a/src/modules/06_retirement/components/resign/ResignByid.vue b/src/modules/06_retirement/components/resign/ResignByid.vue index 07a196511..1b549c6be 100644 --- a/src/modules/06_retirement/components/resign/ResignByid.vue +++ b/src/modules/06_retirement/components/resign/ResignByid.vue @@ -130,6 +130,8 @@ const openModal = () => (modal.value = true); const file = ref(null); const fileList = ref([]); const isNoDebt = ref(false); +const isNoBurden = ref(false); +const isDiscipline = ref(false); const checkboxGroup = ref([]); const checkboxOp = ref([ { label: "ไม่เป็นหนี้สหกรณ์", value: "debt" }, @@ -201,6 +203,8 @@ const fetchData = async (id: string) => { status.value = data.status ?? ""; remarkHorizontal.value = data.remarkHorizontal ?? "-"; isNoDebt.value = data.isNoDebt; + isNoBurden.value = data.isNoBurden; + isDiscipline.value = data.isDiscipline; }) .catch((e) => { messageError($q, e); @@ -309,6 +313,8 @@ const onSubmitConditions = () => { http .put(config.API.resignConditions(id.value), { isNoDebt: isNoDebt.value, + isNoBurden: isNoBurden.value, + isDiscipline: isDiscipline.value, }) .then(() => { fetchData(id.value); @@ -777,12 +783,30 @@ function removeFile(fileName: string) {
- +
+ +
+
+ +
+
+ +