refacter พ้นจากราชการ
This commit is contained in:
parent
0e5dc057b8
commit
9d0f0eaabf
12 changed files with 34 additions and 63 deletions
|
|
@ -160,20 +160,6 @@ onMounted(async () => {
|
|||
await getData();
|
||||
});
|
||||
|
||||
const getList = async () => {
|
||||
showLoader();
|
||||
await http
|
||||
.get(config.API.detailByidDeceased(profileId.value))
|
||||
.then((res) => {
|
||||
const data = res.data.result;
|
||||
})
|
||||
.catch((e) => {
|
||||
messageError($q, e);
|
||||
})
|
||||
.finally(async () => {
|
||||
hideLoader();
|
||||
});
|
||||
};
|
||||
const listModal = async (id: string) => {
|
||||
showLoader();
|
||||
await http
|
||||
|
|
|
|||
|
|
@ -326,7 +326,6 @@ const addedOrderTypeValues: string[] = [];
|
|||
const OrderTypeFilter = async () => {
|
||||
for (let data of OriginalData.value) {
|
||||
const OrderTypeValue = data.OrderType;
|
||||
console.log(OrderTypeValue);
|
||||
if (!addedOrderTypeValues.includes(OrderTypeValue)) {
|
||||
OrderTypeOption.push({
|
||||
id: OrderTypeOption.length,
|
||||
|
|
@ -342,7 +341,6 @@ const addedOrderStatusValues: string[] = [];
|
|||
const OrderStatusFilter = async () => {
|
||||
for (let data of OriginalData.value) {
|
||||
const OrderStatusValue = data.OrderStatus;
|
||||
console.log(OrderStatusValue);
|
||||
|
||||
if (
|
||||
OrderStatusValue === null ||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue