ปรับฟอร์มบันทึกโครงการตาม tab
This commit is contained in:
parent
91b1b381d1
commit
c4c8f45d84
9 changed files with 882 additions and 697 deletions
|
|
@ -10,7 +10,7 @@ import { useQuasar } from "quasar";
|
|||
const mixin = useCounterMixin();
|
||||
const route = useRoute();
|
||||
const $q = useQuasar();
|
||||
const id = ref<string>(route.params.id ? route.params.id.toString() : "");
|
||||
const id = ref<string>(route.params.id.toString());
|
||||
const {
|
||||
success,
|
||||
messageError,
|
||||
|
|
@ -239,6 +239,21 @@ async function uploadFileDoc(uploadUrl: string, file: any) {
|
|||
});
|
||||
}
|
||||
|
||||
function sendRecordRegistry() {
|
||||
// ส่งไปบันทึกที่ทะเบียนประวัติ
|
||||
dialogConfirm(
|
||||
$q,
|
||||
async () => {
|
||||
showLoader();
|
||||
// post
|
||||
console.log("projectId===>", id.value);
|
||||
hideLoader();
|
||||
},
|
||||
"ยืนยันการส่งข้อมูลไปบันทึกยังทะเบียนประวัติ",
|
||||
"ต้องการยืนยันการส่งข้อมูลไปบันทึกยังทะเบียนประวัติหรือไม่"
|
||||
);
|
||||
}
|
||||
|
||||
onMounted(() => {
|
||||
// getData();
|
||||
});
|
||||
|
|
@ -271,6 +286,18 @@ onMounted(() => {
|
|||
>
|
||||
<q-tooltip>อัปโหลดไฟล์</q-tooltip>
|
||||
</q-btn>
|
||||
<q-btn
|
||||
v-if="row.length > 0"
|
||||
size="md"
|
||||
icon="mdi-clipboard-account-outline"
|
||||
round
|
||||
flat
|
||||
color="public"
|
||||
@click="sendRecordRegistry()"
|
||||
>
|
||||
<q-tooltip>ส่งไปบันทึกที่ทะเบียนประวัติ</q-tooltip>
|
||||
</q-btn>
|
||||
|
||||
<q-space />
|
||||
<q-input dense outlined v-model="keyword" label="ค้นหา" class="q-mr-sm">
|
||||
<template v-slot:append>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue