no message

This commit is contained in:
setthawutttty 2023-08-24 09:11:44 +07:00
parent 348084e60e
commit d0eff1d615
2 changed files with 16 additions and 7 deletions

View file

@ -2,18 +2,16 @@
import { ref, onMounted } from "vue";
import type { QTableProps } from "quasar";
import http from "@/plugins/http";
import config from "@/app.config";
const fileUpload = ref<any>(null);
const reason = ref<string>("");
const documentTitle = ref<string>("");
const filterKeyword = ref<string>("");
const filterDoc = ref<any>(null);
const props = defineProps({
saveData: {
type: Function,
default: () => console.log("not function"),
},
});
const visibleColumnsReference = ref<String[]>([
"no",
"fileName",
@ -64,13 +62,23 @@ const rows2 = ref<any>([
file: "",
},
]);
const props = defineProps({
roundId: {
type: String,
},
});
onMounted(() => {
const getRequest = async () => {
await http
.get(config.API.requestDocNote(props.roundId as string))
.then((res:any) =>{
console.log(res)
})
}
onMounted(async() => {
console.log(props.roundId);
await getRequest()
});
const resetFilterRef = () => {
filterKeyword.value = "";