wangxiaoshuang 2024-04-01 13:57:43 +08:00
commit a00a4957fd
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: {