fix code build error

This commit is contained in:
Warunee Tamkoo 2023-09-24 09:14:17 +07:00
parent 52f89c16f1
commit 040a191573
7 changed files with 65 additions and 164 deletions

View file

@ -1,5 +1,5 @@
<script setup lang="ts">
import { onMounted, reactive, ref, useAttrs, computed } from "vue";
import { onMounted, reactive, ref } from "vue";
import type { QTableProps } from "quasar";
import type { FormOrderPlacementMainData } from "@/modules/10_order/interface/request/Main";
import type {
@ -244,10 +244,10 @@ const filterKeyword = ref<string>("");
const filterRef = ref<HTMLInputElement | null>(null);
const resetFilter = () => {
filterKeyword.value = "";
filterRef.value.focus();
// filterRef.value.focus();
};
const attrs = ref<string | null>(useAttrs());
const attrs = ref<string | null>();
//
const searchFilterTable = async () => {
if (OrderType.value == "ทั้งหมด") {

View file

@ -2,7 +2,7 @@
import { ref } from "vue";
import http from "@/plugins/http";
import config from "@/app.config";
import type { QForm } from "quasar";
import type { QForm, QTableProps } from "quasar";
import { useCounterMixin } from "@/stores/mixin";
import { useQuasar } from "quasar";
import { useRouter } from "vue-router";
@ -10,7 +10,7 @@ import type {
history,
ColumnData,
DataOptionInsigniaType,
} from "../interface/index/Main.ts";
} from "@/modules/10_order/interface/index/Main";
const myForm = ref<QForm>();
const mixin = useCounterMixin();
@ -30,7 +30,7 @@ const reportType = ref<string>("");
const reportYear = ref<number | null>();
const reportNo = ref<string>("");
const columns = ref<ColumnData[]>([
const columns = ref<QTableProps["columns"]>([
{
name: "no",
label: "ลำดับ",
@ -227,7 +227,6 @@ const paginationLabel = (start: number, end: number, total: number) => {
"
:label="`${'ปีงบประมาณ'}`"
:rules="[(val:string) => !!val || `${'กรุณาเลือก ปี'}`]"
clearable
>
</q-input>
</template>

View file

@ -12,9 +12,10 @@ import type {
ResponseOrganiz,
ResponseCopyOrder,
DataCopyOrder,
} from "@/modules/05_placement/interface/response/Order";
} from "@/modules/10_order/interface/response/Order";
import type { RequestCopyOrder } from "@/modules/05_placement/interface/request/Order";
import { useRoute } from "vue-router";
import type { DataOption } from "@/modules/10_order/interface/index/Main";
const props = defineProps({
next: {