แก้ map เเต่ id
This commit is contained in:
parent
beff4ce002
commit
facf7f071b
1 changed files with 1 additions and 2 deletions
|
|
@ -807,7 +807,6 @@ function putData(id: string) {
|
||||||
* @param id personal id
|
* @param id personal id
|
||||||
*/
|
*/
|
||||||
async function saveData(id: string) {
|
async function saveData(id: string) {
|
||||||
const data = putData(id);
|
|
||||||
dialogConfirm($q, async () => await DataSave(id));
|
dialogConfirm($q, async () => await DataSave(id));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -858,7 +857,7 @@ async function getAssign() {
|
||||||
|
|
||||||
chairman.value = data.chairman;
|
chairman.value = data.chairman;
|
||||||
commander.value = data.commander;
|
commander.value = data.commander;
|
||||||
knowledge.value = data.knowledges.map((id: any) => id.id);
|
knowledge.value = data.knowledges
|
||||||
knowledgeCount.value = data.knowledges.length;
|
knowledgeCount.value = data.knowledges.length;
|
||||||
other_desc.value = data.assign.other_desc;
|
other_desc.value = data.assign.other_desc;
|
||||||
other4_desc.value = data.assign.other4_desc;
|
other4_desc.value = data.assign.other4_desc;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue