แก้ data probation
This commit is contained in:
parent
c776d4e7f1
commit
7c63c3c32c
22 changed files with 167 additions and 118 deletions
|
|
@ -151,7 +151,7 @@ async function getAssignList() {
|
|||
await http
|
||||
.get(config.API.probationGetAssignList(personalId.value))
|
||||
.then(async (res) => {
|
||||
const data = await res.data.data;
|
||||
const data = await res.data.result;
|
||||
rows.value = await data.map((item: FormProbationDetail) => ({
|
||||
id: item.id,
|
||||
round_no: item.round_no,
|
||||
|
|
@ -176,7 +176,7 @@ async function getpersonalList() {
|
|||
await http
|
||||
.get(config.API.personal(personalId.value))
|
||||
.then(async (res) => {
|
||||
const data = await res.data.data;
|
||||
const data = await res.data.result;
|
||||
name.value = data.name;
|
||||
position_line.value = data.position_line;
|
||||
position_level.value = data.position_level;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue