60f8a0fc by lihua

证件管理传dataSource

1 parent 5e696ab9
...@@ -469,7 +469,9 @@ const dialogBtnClick = (btn, info) => { ...@@ -469,7 +469,9 @@ const dialogBtnClick = (btn, info) => {
469 } 469 }
470 }) 470 })
471 } 471 }
472 info.registerGuid = registerSelectData.value?.find(r => r.damGuid == info.damGuid)?.registerGuid; 472 let registerInfo = registerSelectData.value?.find(r => r.damGuid == info.damGuid);
473 info.registerGuid = registerInfo?.registerGuid;
474 info.dataSource = registerInfo?.dataSource;
473 if (dialogInfo.value.type == 'add') { 475 if (dialogInfo.value.type == 'add') {
474 dialogInfo.value.footer.btns[1].loading = true; 476 dialogInfo.value.footer.btns[1].loading = true;
475 saveCertificate(info).then((res: any) => { 477 saveCertificate(info).then((res: any) => {
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!