Merge branch 'develop' into dev
All checks were successful
Build & Deploy on Dev / build (push) Successful in 3m16s
All checks were successful
Build & Deploy on Dev / build (push) Successful in 3m16s
This commit is contained in:
commit
b233b424d3
1 changed files with 11 additions and 1 deletions
|
|
@ -25,6 +25,7 @@ const {
|
|||
dialogConfirm,
|
||||
convertDateToAPI,
|
||||
dialogRemove,
|
||||
dialogMessageNotify,
|
||||
} = useCounterMixin();
|
||||
|
||||
/**
|
||||
|
|
@ -130,6 +131,15 @@ async function fetchCheckIdofficer() {
|
|||
* และกำหนด isChangeData เป็น false
|
||||
*/
|
||||
async function onSubmit() {
|
||||
//ถ้าเป็น สกจ. ต้องเลือกประเภทคำสั่งด้วย
|
||||
if (
|
||||
isIdofficer.value &&
|
||||
formData.isBangkok !== "BANGKOK" &&
|
||||
formData.isBangkok !== "OFFICE"
|
||||
) {
|
||||
dialogMessageNotify($q, "กรุณาเลือกคำสั่ง");
|
||||
return;
|
||||
}
|
||||
dialogConfirm($q, async () => {
|
||||
showLoader();
|
||||
await http
|
||||
|
|
@ -156,7 +166,7 @@ async function onSubmit() {
|
|||
});
|
||||
}
|
||||
|
||||
/** ฟังกชันดึงข้อมูลรายชื่อเจ้าหน้าที่ดำเนินการ */
|
||||
/** ฟังก์ชันดึงข้อมูลรายชื่อเจ้าหน้าที่ดำเนินการ */
|
||||
async function fetchDataOperatorList() {
|
||||
try {
|
||||
const res = await http.get(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue