no message
This commit is contained in:
parent
348084e60e
commit
d0eff1d615
2 changed files with 16 additions and 7 deletions
|
|
@ -26,6 +26,7 @@ export default {
|
||||||
insigniaDashboard: (insigniaPeriodId: string) => `${insignia}/request/dashboard/${insigniaPeriodId}`,
|
insigniaDashboard: (insigniaPeriodId: string) => `${insignia}/request/dashboard/${insigniaPeriodId}`,
|
||||||
// record
|
// record
|
||||||
noteround: () => `${insignia}/request/note`,
|
noteround: () => `${insignia}/request/note`,
|
||||||
|
requestDocNote: (id:string) => `${insignia}/request/note/doc/${id}`,
|
||||||
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -2,18 +2,16 @@
|
||||||
import { ref, onMounted } from "vue";
|
import { ref, onMounted } from "vue";
|
||||||
import type { QTableProps } from "quasar";
|
import type { QTableProps } from "quasar";
|
||||||
|
|
||||||
|
import http from "@/plugins/http";
|
||||||
|
import config from "@/app.config";
|
||||||
|
|
||||||
const fileUpload = ref<any>(null);
|
const fileUpload = ref<any>(null);
|
||||||
const reason = ref<string>("");
|
const reason = ref<string>("");
|
||||||
const documentTitle = ref<string>("");
|
const documentTitle = ref<string>("");
|
||||||
|
|
||||||
const filterKeyword = ref<string>("");
|
const filterKeyword = ref<string>("");
|
||||||
const filterDoc = ref<any>(null);
|
const filterDoc = ref<any>(null);
|
||||||
const props = defineProps({
|
|
||||||
saveData: {
|
|
||||||
type: Function,
|
|
||||||
default: () => console.log("not function"),
|
|
||||||
},
|
|
||||||
});
|
|
||||||
const visibleColumnsReference = ref<String[]>([
|
const visibleColumnsReference = ref<String[]>([
|
||||||
"no",
|
"no",
|
||||||
"fileName",
|
"fileName",
|
||||||
|
|
@ -64,13 +62,23 @@ const rows2 = ref<any>([
|
||||||
file: "",
|
file: "",
|
||||||
},
|
},
|
||||||
]);
|
]);
|
||||||
|
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
roundId: {
|
roundId: {
|
||||||
type: String,
|
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);
|
console.log(props.roundId);
|
||||||
|
await getRequest()
|
||||||
});
|
});
|
||||||
const resetFilterRef = () => {
|
const resetFilterRef = () => {
|
||||||
filterKeyword.value = "";
|
filterKeyword.value = "";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue