修复新增reviewer时获取文件信息报错问题

uat_us
caiyiling 2024-04-01 13:17:20 +08:00
parent aa04344503
commit 773aa65116
4 changed files with 4 additions and 0 deletions

View File

@ -45,6 +45,7 @@ export default {
}, },
methods: { methods: {
initFileList() { initFileList() {
if(!this.doctorId) return
getAttachmentByType(this.doctorId, this.type) getAttachmentByType(this.doctorId, this.type)
.then(res => { .then(res => {
if (res.IsSuccess) { if (res.IsSuccess) {

View File

@ -39,6 +39,7 @@ export default {
} }
}, },
mounted() { mounted() {
if(!this.doctorId) return
this.initFileList() this.initFileList()
}, },
methods: { methods: {

View File

@ -97,6 +97,7 @@ export default {
}) })
}, },
initFileList() { initFileList() {
if(!this.doctorId) return
getAttachmentByType(this.doctorId, 'GCP') getAttachmentByType(this.doctorId, 'GCP')
.then(res => { .then(res => {
if (res.IsSuccess) { if (res.IsSuccess) {

View File

@ -163,6 +163,7 @@ export default {
} }
}, },
created() { created() {
if(!this.doctorId) return
this.getResumeList() this.getResumeList()
}, },
methods: { methods: {