fixing isLock
This commit is contained in:
parent
7812d6d3e8
commit
78f0fb75c2
1 changed files with 6 additions and 7 deletions
|
|
@ -40,7 +40,7 @@ const { messageError, dialogConfirm, showLoader, hideLoader, success } = mixin;
|
|||
* ตัวแปร
|
||||
*/
|
||||
const loadview = ref<boolean>(false); //แสดง View
|
||||
const hideBottom = ref<boolean>(false);
|
||||
// const hideBottom = ref<boolean>(false);
|
||||
const round = ref<string>(""); //รอยการเสนอขอ
|
||||
const roundName = ref<string>(""); //ชื่อรอบการเสนอ
|
||||
const optionRound = ref<OptionRound[]>([]);
|
||||
|
|
@ -246,11 +246,11 @@ async function fecthInsigniaByOc(
|
|||
await DataStore.fetchData(res.data.result.items); // ส่งรายชื่อข้าราชการสามัญฯ
|
||||
await DataStore.fetchDataInsignia(res.data.result); // ส่งข้อมูลรอบบการแสดง
|
||||
// แสดงปุมล็อกข้อมูล
|
||||
if (res.data.result.items !== null) {
|
||||
if (res.data.result.items.length !== 0) {
|
||||
hideBottom.value = true;
|
||||
} else hideBottom.value = false;
|
||||
}
|
||||
// if (res.data.result.items !== null) {
|
||||
// if (res.data.result.items.length !== 0) {
|
||||
// hideBottom.value = true;
|
||||
// } else hideBottom.value = false;
|
||||
// }
|
||||
})
|
||||
.catch((err) => {
|
||||
messageError($q, err);
|
||||
|
|
@ -493,7 +493,6 @@ onUnmounted(() => {
|
|||
v-if="
|
||||
DataStore.isOfficer &&
|
||||
DataStore.isLock !== true &&
|
||||
hideBottom &&
|
||||
checkPermission($route)?.attrIsUpdate
|
||||
"
|
||||
dense
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue