ออกคำสั่งเลื่อนเงินเดือน => list รายการออกคำสั่ง
This commit is contained in:
parent
f0650d59a2
commit
a40c2464b2
1 changed files with 3 additions and 12 deletions
|
|
@ -5,25 +5,18 @@ import { useQuasar, type QTableProps } from "quasar";
|
||||||
import http from "@/plugins/http";
|
import http from "@/plugins/http";
|
||||||
import config from "@/app.config";
|
import config from "@/app.config";
|
||||||
|
|
||||||
import type {
|
import type { DataOption1 } from "@/modules/10_order/interface/index/Main";
|
||||||
DataOption,
|
|
||||||
DataOption1,
|
|
||||||
} from "@/modules/10_order/interface/index/Main";
|
|
||||||
|
|
||||||
// import PopupHistory from "@/modules/10_order/components/PopupHistory.vue";
|
|
||||||
import TableOrder from "@/modules/11_discipline/components/9_Order/TableOrder.vue";
|
|
||||||
|
|
||||||
import { useOrderStore } from "@/modules/11_discipline/store/OrderStore";
|
import { useOrderStore } from "@/modules/11_discipline/store/OrderStore";
|
||||||
|
|
||||||
import { useCounterMixin } from "@/stores/mixin";
|
import { useCounterMixin } from "@/stores/mixin";
|
||||||
import { useOrderPlacementDataStore } from "@/modules/10_order/store";
|
|
||||||
|
|
||||||
const rows = ref<any>([]);
|
const rows = ref<any>([]);
|
||||||
const $q = useQuasar(); //ใช้ noti quasar
|
const $q = useQuasar(); //ใช้ noti quasar
|
||||||
const mixin = useCounterMixin();
|
const mixin = useCounterMixin();
|
||||||
const DataStore = useOrderPlacementDataStore();
|
|
||||||
const stroe = useOrderStore();
|
const stroe = useOrderStore();
|
||||||
const { showLoader, hideLoader, messageError } = mixin;
|
const { showLoader, hideLoader, messageError } = mixin;
|
||||||
|
|
||||||
/** pagination */
|
/** pagination */
|
||||||
const pagination = ref({
|
const pagination = ref({
|
||||||
descending: true,
|
descending: true,
|
||||||
|
|
@ -159,8 +152,6 @@ async function fetchOrderlist() {
|
||||||
);
|
);
|
||||||
|
|
||||||
stroe.fetchOrder(filterListOrder);
|
stroe.fetchOrder(filterListOrder);
|
||||||
|
|
||||||
rows.value = stroe.mainData;
|
|
||||||
})
|
})
|
||||||
.catch((e: any) => {
|
.catch((e: any) => {
|
||||||
messageError($q, e);
|
messageError($q, e);
|
||||||
|
|
@ -485,7 +476,7 @@ function redirectToPage(id: string, status: string) {
|
||||||
for="table"
|
for="table"
|
||||||
ref="table"
|
ref="table"
|
||||||
:columns="columns"
|
:columns="columns"
|
||||||
:rows="rows"
|
:rows="stroe.rows"
|
||||||
:filter="filterKeyword"
|
:filter="filterKeyword"
|
||||||
row-key="subject"
|
row-key="subject"
|
||||||
flat
|
flat
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue