Merge branch 'develop' into warunee-dev
This commit is contained in:
commit
dcf609780c
1 changed files with 12 additions and 22 deletions
|
|
@ -255,9 +255,11 @@ const changtypeOc = () => {
|
||||||
};
|
};
|
||||||
// เพิ่มราชชื่อ
|
// เพิ่มราชชื่อ
|
||||||
const clickmodalAdd = () => {
|
const clickmodalAdd = () => {
|
||||||
|
let ocId = DataStore.typeOc ? DataStore.typeOc : DataStore.agency;
|
||||||
showLoader();
|
showLoader();
|
||||||
fecthInsignia();
|
fecthInsignia();
|
||||||
fecthlistperson(DataStore.typeOc);
|
fecthlistperson(ocId);
|
||||||
|
|
||||||
insigniaType.value = "";
|
insigniaType.value = "";
|
||||||
};
|
};
|
||||||
// เรียกรายชื่อข้าราชการตามหน่วยงานที่จะเพิ่ม
|
// เรียกรายชื่อข้าราชการตามหน่วยงานที่จะเพิ่ม
|
||||||
|
|
@ -421,15 +423,12 @@ const closemodelPopupReject = () => {
|
||||||
};
|
};
|
||||||
// ยืนยัน การไม่ยืนขอ
|
// ยืนยัน การไม่ยืนขอ
|
||||||
const savaReasonReject = (reason: string) => {
|
const savaReasonReject = (reason: string) => {
|
||||||
dialogConfirm(
|
dialogConfirm($q, async () => {
|
||||||
$q,
|
await listreject(rowid.value, reason);
|
||||||
async () => {
|
if (props.fecthStat) {
|
||||||
await listreject(rowid.value, reason);
|
await props.fecthStat(DataStore.roundId);
|
||||||
if (props.fecthStat) {
|
}
|
||||||
await props.fecthStat(DataStore.roundId);
|
});
|
||||||
}
|
|
||||||
},
|
|
||||||
);
|
|
||||||
};
|
};
|
||||||
// ยืนยัน การไม่ยืนขอ API
|
// ยืนยัน การไม่ยืนขอ API
|
||||||
const listreject = async (profileId: string, reason: string) => {
|
const listreject = async (profileId: string, reason: string) => {
|
||||||
|
|
@ -788,10 +787,7 @@ const closeModalEdit = () => {
|
||||||
>
|
>
|
||||||
<q-menu transition-show="jump-down" transition-hide="jump-up">
|
<q-menu transition-show="jump-down" transition-hide="jump-up">
|
||||||
<q-list dense style="min-width: 250px">
|
<q-list dense style="min-width: 250px">
|
||||||
<q-item
|
<q-item clickable @click.stop="clickmodalEdit(props.row)">
|
||||||
clickable
|
|
||||||
@click.stop="clickmodalEdit(props.row)"
|
|
||||||
>
|
|
||||||
<q-item-section
|
<q-item-section
|
||||||
style="min-width: 0px"
|
style="min-width: 0px"
|
||||||
avatar
|
avatar
|
||||||
|
|
@ -804,10 +800,7 @@ const closeModalEdit = () => {
|
||||||
>แก้ไขเครื่องราชฯ ที่ยื่นขอ</q-item-section
|
>แก้ไขเครื่องราชฯ ที่ยื่นขอ</q-item-section
|
||||||
>
|
>
|
||||||
</q-item>
|
</q-item>
|
||||||
<q-item
|
<q-item clickable @click.stop="clickReject(props.row.id)">
|
||||||
clickable
|
|
||||||
@click.stop="clickReject(props.row.id)"
|
|
||||||
>
|
|
||||||
<q-item-section
|
<q-item-section
|
||||||
style="min-width: 0px"
|
style="min-width: 0px"
|
||||||
avatar
|
avatar
|
||||||
|
|
@ -822,10 +815,7 @@ const closeModalEdit = () => {
|
||||||
</q-item-section>
|
</q-item-section>
|
||||||
<q-item-section>ไม่ยื่นขอ</q-item-section>
|
<q-item-section>ไม่ยื่นขอ</q-item-section>
|
||||||
</q-item>
|
</q-item>
|
||||||
<q-item
|
<q-item clickable @click.stop="clickDelete(props.row.id)">
|
||||||
clickable
|
|
||||||
@click.stop="clickDelete(props.row.id)"
|
|
||||||
>
|
|
||||||
<q-item-section
|
<q-item-section
|
||||||
style="min-width: 0px"
|
style="min-width: 0px"
|
||||||
avatar
|
avatar
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue