fix(discipline): import path interface
This commit is contained in:
parent
b1a7983b00
commit
94d80409c3
7 changed files with 16 additions and 24 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue