ปรับ ประเมินบุคคล
This commit is contained in:
parent
420b6e9639
commit
d775776608
4 changed files with 141 additions and 14 deletions
|
|
@ -28,6 +28,7 @@ const {
|
|||
columnSalaries,
|
||||
columnTraining,
|
||||
columnProjectsProposed,
|
||||
columnAssessments,
|
||||
} = store;
|
||||
|
||||
const props = defineProps({
|
||||
|
|
@ -125,16 +126,17 @@ async function fetchDetail() {
|
|||
}));
|
||||
});
|
||||
|
||||
http.get(config.API.dataUserHonor).then((res) => {
|
||||
formDetail.honor = res.data.result.map((e: any) => ({
|
||||
receivedDate: e.createdAt,
|
||||
authority: e.issuer,
|
||||
detail: e.detail,
|
||||
orderNumber: e.refCommandNo,
|
||||
doce: e.refCommandDate,
|
||||
}));
|
||||
http.get(config.API.dataUserAssessments).then((res) => {
|
||||
// formDetail.honor = res.data.result
|
||||
// res.data.result.map((e: any) => ({
|
||||
// receivedDate: e.createdAt,
|
||||
// authority: e.issuer,
|
||||
// detail: e.detail,
|
||||
// orderNumber: e.refCommandNo,
|
||||
// doce: e.refCommandDate,
|
||||
formDetail.assessments = res.data.result;
|
||||
});
|
||||
// formDetail.assessments = data.assessments;
|
||||
// }));
|
||||
emit("update:formDeital", formDetail);
|
||||
})
|
||||
.catch((err) => {
|
||||
|
|
@ -578,8 +580,8 @@ onMounted(async () => {
|
|||
<div class="col-12"><q-separator /></div>
|
||||
<div class="col-10">
|
||||
<TableData
|
||||
:columns="columnProjectsProposed"
|
||||
:row="formDetail.honor"
|
||||
:columns="columnAssessments"
|
||||
:row="formDetail.assessments"
|
||||
/>
|
||||
</div>
|
||||
</q-card>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue