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,
|
dialogConfirm,
|
||||||
convertDateToAPI,
|
convertDateToAPI,
|
||||||
dialogRemove,
|
dialogRemove,
|
||||||
|
dialogMessageNotify,
|
||||||
} = useCounterMixin();
|
} = useCounterMixin();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
@ -130,6 +131,15 @@ async function fetchCheckIdofficer() {
|
||||||
* และกำหนด isChangeData เป็น false
|
* และกำหนด isChangeData เป็น false
|
||||||
*/
|
*/
|
||||||
async function onSubmit() {
|
async function onSubmit() {
|
||||||
|
//ถ้าเป็น สกจ. ต้องเลือกประเภทคำสั่งด้วย
|
||||||
|
if (
|
||||||
|
isIdofficer.value &&
|
||||||
|
formData.isBangkok !== "BANGKOK" &&
|
||||||
|
formData.isBangkok !== "OFFICE"
|
||||||
|
) {
|
||||||
|
dialogMessageNotify($q, "กรุณาเลือกคำสั่ง");
|
||||||
|
return;
|
||||||
|
}
|
||||||
dialogConfirm($q, async () => {
|
dialogConfirm($q, async () => {
|
||||||
showLoader();
|
showLoader();
|
||||||
await http
|
await http
|
||||||
|
|
@ -156,7 +166,7 @@ async function onSubmit() {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/** ฟังกชันดึงข้อมูลรายชื่อเจ้าหน้าที่ดำเนินการ */
|
/** ฟังก์ชันดึงข้อมูลรายชื่อเจ้าหน้าที่ดำเนินการ */
|
||||||
async function fetchDataOperatorList() {
|
async function fetchDataOperatorList() {
|
||||||
try {
|
try {
|
||||||
const res = await http.get(
|
const res = await http.get(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue