แก้ไขการแสดงผลรายการกรรมการของวินัย
This commit is contained in:
parent
568635fe65
commit
61d8e40fc2
4 changed files with 27 additions and 27 deletions
|
|
@ -281,14 +281,14 @@ watch(props.data, async () => {
|
|||
id: item.id ? item.id : "-",
|
||||
directorId: item.directorId ? item.directorId : "-",
|
||||
name: `${item.prefix}${item.firstName} ${item.lastName}`,
|
||||
prefix: item.prefix ? item.prefix : "-",
|
||||
firstName: item.firstName ? item.firstName : "-",
|
||||
lastName: item.lastName ? item.lastName : "-",
|
||||
position: item.position ? item.position : "-",
|
||||
email: item.email ? item.email : "-",
|
||||
phone: item.phone ? item.phone : "-",
|
||||
commandNo: item.commandNo ? item.commandNo : "-",
|
||||
duty: item.duty ? item.duty : "-",
|
||||
prefix: item.prefix,
|
||||
firstName: item.firstName,
|
||||
lastName: item.lastName,
|
||||
position: item.position == '' ? "-" : item.position,
|
||||
email: item.email == '' ? '-' : item.email,
|
||||
phone: item.phone == '' ? '-' : item.phone,
|
||||
commandNo: item.commandNo == '' ? '-' : item.commandNo,
|
||||
duty: item.duty == '' ? '-' : item.duty,
|
||||
check: "props",
|
||||
}));
|
||||
|
||||
|
|
|
|||
|
|
@ -374,14 +374,14 @@ async function fetchDatadetail() {
|
|||
idRaw: item.id ? item.id : "-",
|
||||
id: item.directorId ? item.directorId : "-",
|
||||
name: `${item.prefix}${item.firstName} ${item.lastName}`,
|
||||
prefix: item.prefix ? item.prefix : "-",
|
||||
firstName: item.firstName ? item.firstName : "-",
|
||||
lastName: item.lastName ? item.lastName : "-",
|
||||
position: item.position ? item.position : "-",
|
||||
email: item.email ? item.email : "-",
|
||||
phone: item.phone ? item.phone : "-",
|
||||
duty: item.duty ? item.duty : "-",
|
||||
commandNo: item.commandNo ? item.commandNo : "-",
|
||||
prefix: item.prefix,
|
||||
firstName: item.firstName,
|
||||
lastName: item.lastName,
|
||||
position: item.position == '' ? "-" : item.position,
|
||||
email: item.email == '' ? '-' : item.email,
|
||||
phone: item.phone == '' ? '-' : item.phone,
|
||||
commandNo: item.commandNo == '' ? '-' : item.commandNo,
|
||||
duty: item.duty == '' ? '-' : item.duty,
|
||||
check: "props",
|
||||
}));
|
||||
|
||||
|
|
@ -475,8 +475,8 @@ async function fetchDListDirector() {
|
|||
firstName: e.firstName,
|
||||
lastName: e.lastName,
|
||||
position: e.position,
|
||||
email: e.email,
|
||||
phone: e.phone,
|
||||
email: e.email == '' ? '-' : e.email,
|
||||
phone: e.phone == '' ? '-' : e.phone,
|
||||
total: e.total,
|
||||
duty: e.duty,
|
||||
}));
|
||||
|
|
|
|||
|
|
@ -295,8 +295,8 @@ export const useInvestigateDisStore = defineStore(
|
|||
firstName: e.firstName,
|
||||
lastName: e.lastName,
|
||||
position: e.position,
|
||||
email: e.email,
|
||||
phone: e.phone,
|
||||
email: e.email == '' ? '-' : e.email,
|
||||
phone: e.phone == '' ? '-' : e.phone,
|
||||
}));
|
||||
rows2.value = datalistDirector;
|
||||
selected.value = rows2.value;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue