แก้ รายการรับโอน (ไม่เสร็จดี)
This commit is contained in:
parent
77ae7e5bed
commit
ce1622d4aa
3 changed files with 608 additions and 53 deletions
|
|
@ -18,6 +18,7 @@ import type {
|
|||
ResponseRow,
|
||||
} from "@/modules/05_placement/interface/response/Receive";
|
||||
|
||||
const dataRows = ref<any[]>([]);
|
||||
const $q = useQuasar();
|
||||
const router = useRouter();
|
||||
const rows2 = ref<ResponseRow[]>([]);
|
||||
|
|
@ -203,6 +204,9 @@ const fecthlistRecevice = async () => {
|
|||
organizationShortName: e.organizationShortName,
|
||||
positionNumber: e.positionNumber,
|
||||
positionPath: e.positionPath,
|
||||
positionLevelId: e.positionLevelId,
|
||||
positionTypeId: e.positionTypeId,
|
||||
positionId: e.positionId,
|
||||
birthday:
|
||||
e.dateOfBirth == null
|
||||
? "-"
|
||||
|
|
@ -254,10 +258,11 @@ const clickCloseUpload = () => {
|
|||
files.value = null;
|
||||
};
|
||||
// ปิดโมเดลโครงสร้าง
|
||||
const openModalTree = (id: string) => {
|
||||
const openModalTree = (id: string,data:any) => {
|
||||
personalId.value = id;
|
||||
personal.value = listRecevice.value.filter((e: ResponseData) => e.id === id);
|
||||
modalTree.value = true;
|
||||
dataRows.value = data
|
||||
};
|
||||
// เปิดโมเดลไฟล์
|
||||
const openUpload = (id: string) => {
|
||||
|
|
@ -479,7 +484,7 @@ onMounted(() => {
|
|||
<q-item
|
||||
clickable
|
||||
v-close-popup
|
||||
@click="openModalTree(props.row.personalId)"
|
||||
@click="openModalTree(props.row.personalId,props.row)"
|
||||
:disable="
|
||||
props.row.status == 'REPORT' ||
|
||||
props.row.status == 'DONE'
|
||||
|
|
@ -627,6 +632,8 @@ onMounted(() => {
|
|||
:close="closeModalTree"
|
||||
:personal="personal"
|
||||
:personalId="personalId"
|
||||
:dataRows="dataRows"
|
||||
|
||||
/>
|
||||
</template>
|
||||
<style scoped lang="scss"></style>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue