ต้นแบบ สำหรับลงในตำแหน่ง/เงินเดือน
This commit is contained in:
parent
3399f14823
commit
82a8fc155a
3 changed files with 11 additions and 5 deletions
|
|
@ -13,6 +13,6 @@ export default {
|
|||
commandSysId: string,
|
||||
search: string
|
||||
) =>
|
||||
`${commandSalary}/admin?page=${page}&pageSize=${pageSize}&isActive=${isActive}&commandSysId=${commandSysId}&search=${search}`,
|
||||
`${commandSalary}/admin?page=${page}&pageSize=${pageSize}&isActive=${isActive}&commandSysId=${commandSysId}&searchKeyword=${search}`,
|
||||
commandSalaryById: (id: string) => `${commandSalary}/${id}`,
|
||||
};
|
||||
|
|
|
|||
|
|
@ -174,6 +174,8 @@ function onSubmit() {
|
|||
function selectInbox(data: CommandSysType) {
|
||||
activeOrderId.value = data.id;
|
||||
pagination.value.page = 1;
|
||||
filter.value = "";
|
||||
|
||||
fetchSalaryList();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -97,7 +97,7 @@ async function getDataNotification(index: number, type: string) {
|
|||
minute: "2-digit",
|
||||
};
|
||||
await http
|
||||
.get(config.API.msgNotificate + `?page=${index}&pageSize=${10}`)
|
||||
.get(config.API.msgNotificate + `?page=${index}&pageSize=${15}`)
|
||||
.then((res) => {
|
||||
const response = res.data.result.data;
|
||||
totalInbox.value = res.data.result.total;
|
||||
|
|
@ -286,9 +286,9 @@ function onLoad(index: any, done: Function) {
|
|||
(notiList.value.length === 0 && totalInbox.value === 0)
|
||||
) {
|
||||
page.value++;
|
||||
setTimeout(() => {
|
||||
setTimeout(async () => {
|
||||
await getDataNotification(page.value, "NOMAL");
|
||||
done();
|
||||
getDataNotification(page.value, "NOMAL");
|
||||
}, 1500);
|
||||
}
|
||||
}
|
||||
|
|
@ -443,7 +443,11 @@ onUnmounted(() => {
|
|||
v-if="totalNoti !== 0"
|
||||
>{{ totalNoti }}</q-badge
|
||||
>
|
||||
<q-menu v-model="notiTrigger" :offset="[0, 8]" style="width: 480px">
|
||||
<q-menu
|
||||
v-model="notiTrigger"
|
||||
:offset="[0, 8]"
|
||||
style="width: 480px; height: 60vh"
|
||||
>
|
||||
<div class="q-px-md q-py-sm row col-12 items-center">
|
||||
<div class="text-subtitle1 text-weight-medium">การแจ้งเตือน</div>
|
||||
<q-space />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue