fix(discipline): import path interface

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2026-05-12 12:03:03 +07:00
parent b1a7983b00
commit 94d80409c3
7 changed files with 16 additions and 24 deletions

View file

@ -2,6 +2,7 @@
import { ref } from "vue";
import { useRoute } from "vue-router";
import { useQuasar } from "quasar";
import type { QTableColumn } from "quasar";
import http from "@/plugins/http";
import config from "@/app.config";
@ -22,21 +23,12 @@ const checkRoutePermisson = ref<boolean>(
route.name == "disciplineInvestigatefactsDetail"
);
const props = defineProps({
rows: {
type: Array,
default: [],
},
columns: {
type: Array,
default: [],
},
visibleColumns: {
type: Array,
default: [],
},
fetchData: Function,
});
const props = defineProps<{
rows?: any[];
columns?: QTableColumn[];
visibleColumns?: string[];
fetchData?: () => void;
}>();
const remark = ref<string>("");
const selected = ref<any[]>([]);
@ -100,7 +92,7 @@ function onSubmit() {
<q-card-section class="q-pa-xs">
<q-table
:columns="props.columns"
:rows="rows"
:rows="props.rows ?? []"
row-key="personId"
flat
bordered