This commit is contained in:
2024-04-23 10:08:30 +08:00
parent bafbcd541b
commit d7d84aef45
7 changed files with 70 additions and 10 deletions

View File

@ -348,7 +348,13 @@ export default {
// //
cleardepartment() { cleardepartment() {
this.queryParams.wardId = null this.queryParams.wardId = null
this.getAgencyListinfo('CAMPUS', this.queryParams.campusAgencyId) if (this.queryParams.departmentId) {
this.getAgencyListinfo('DEPARTMENT', this.queryParams.departmentId)
} else if (this.queryParams.campusAgencyId) {
this.getAgencyListinfo('CAMPUS', this.queryParams.campusAgencyId)
} else if (this.queryParams.hospitalAgencyId) {
this.getAgencyListinfo('HOSPITAL', this.queryParams.hospitalAgencyId)
}
}, },
} }
}; };

View File

@ -381,7 +381,13 @@ export default {
// //
cleardepartment() { cleardepartment() {
this.queryParams.wardId = null this.queryParams.wardId = null
this.getAgencyListinfo('CAMPUS', this.queryParams.campusAgencyId) if (this.queryParams.departmentId) {
this.getAgencyListinfo('DEPARTMENT', this.queryParams.departmentId)
} else if (this.queryParams.campusAgencyId) {
this.getAgencyListinfo('CAMPUS', this.queryParams.campusAgencyId)
} else if (this.queryParams.hospitalAgencyId) {
this.getAgencyListinfo('HOSPITAL', this.queryParams.hospitalAgencyId)
}
}, },
} }
}; };

View File

@ -844,10 +844,22 @@ export default {
cleardepartment(type) { cleardepartment(type) {
if (type) { if (type) {
this.form.wardId = null this.form.wardId = null
this.getAgencyListinfo('CAMPUS', this.form.campusAgencyId, type) if (this.form.departmentId) {
this.getAgencyListinfo('DEPARTMENT', this.form.departmentId, type)
} else if (this.form.campusAgencyId) {
this.getAgencyListinfo('CAMPUS', this.form.campusAgencyId, type)
} else if (this.form.hospitalAgencyId) {
this.getAgencyListinfo('HOSPITAL', this.form.hospitalAgencyId, type)
}
} else { } else {
this.queryParams.wardId = null this.queryParams.wardId = null
this.getAgencyListinfo('CAMPUS', this.queryParams.campusAgencyId) if (this.queryParams.departmentId) {
this.getAgencyListinfo('DEPARTMENT', this.queryParams.departmentId)
} else if (this.queryParams.campusAgencyId) {
this.getAgencyListinfo('CAMPUS', this.queryParams.campusAgencyId)
} else if (this.queryParams.hospitalAgencyId) {
this.getAgencyListinfo('HOSPITAL', this.queryParams.hospitalAgencyId)
}
} }
}, },
/** 下载模板操作 */ /** 下载模板操作 */

View File

@ -633,7 +633,13 @@ export default {
// //
cleardepartment() { cleardepartment() {
this.queryParams.wardId = null this.queryParams.wardId = null
this.getAgencyListinfo('CAMPUS', this.queryParams.campusAgencyId) if (this.queryParams.departmentId) {
this.getAgencyListinfo('DEPARTMENT', this.queryParams.departmentId)
} else if (this.queryParams.campusAgencyId) {
this.getAgencyListinfo('CAMPUS', this.queryParams.campusAgencyId)
} else if (this.queryParams.hospitalAgencyId) {
this.getAgencyListinfo('HOSPITAL', this.queryParams.hospitalAgencyId)
}
}, },
// //
handleContinue(row) { handleContinue(row) {

View File

@ -864,10 +864,22 @@ export default {
cleardepartment(type) { cleardepartment(type) {
if (type) { if (type) {
this.form.wardId = null this.form.wardId = null
this.getAgencyListinfo('CAMPUS', this.form.campusAgencyId, type) if (this.form.departmentId) {
this.getAgencyListinfo('DEPARTMENT', this.form.departmentId, type)
} else if (this.form.campusAgencyId) {
this.getAgencyListinfo('CAMPUS', this.form.campusAgencyId, type)
} else if (this.form.hospitalAgencyId) {
this.getAgencyListinfo('HOSPITAL', this.form.hospitalAgencyId, type)
}
} else { } else {
this.queryParams.wardId = null this.queryParams.wardId = null
this.getAgencyListinfo('CAMPUS', this.queryParams.campusAgencyId) if (this.queryParams.departmentId) {
this.getAgencyListinfo('DEPARTMENT', this.queryParams.departmentId)
} else if (this.queryParams.campusAgencyId) {
this.getAgencyListinfo('CAMPUS', this.queryParams.campusAgencyId)
} else if (this.queryParams.hospitalAgencyId) {
this.getAgencyListinfo('HOSPITAL', this.queryParams.hospitalAgencyId)
}
} }
}, },
/** 下载模板操作 */ /** 下载模板操作 */

View File

@ -1001,10 +1001,22 @@ export default {
cleardepartment(type) { cleardepartment(type) {
if (type) { if (type) {
this.form.wardId = null this.form.wardId = null
this.getAgencyListinfo('CAMPUS', this.form.campusAgencyId, type) if (this.form.departmentId) {
this.getAgencyListinfo('DEPARTMENT', this.form.departmentId, type)
} else if (this.form.campusAgencyId) {
this.getAgencyListinfo('CAMPUS', this.form.campusAgencyId, type)
} else if (this.form.hospitalAgencyId) {
this.getAgencyListinfo('HOSPITAL', this.form.hospitalAgencyId, type)
}
} else { } else {
this.queryParams.wardId = null this.queryParams.wardId = null
this.getAgencyListinfo('CAMPUS', this.queryParams.campusAgencyId) if (this.queryParams.departmentId) {
this.getAgencyListinfo('DEPARTMENT', this.queryParams.departmentId)
} else if (this.queryParams.campusAgencyId) {
this.getAgencyListinfo('CAMPUS', this.queryParams.campusAgencyId)
} else if (this.queryParams.hospitalAgencyId) {
this.getAgencyListinfo('HOSPITAL', this.queryParams.hospitalAgencyId)
}
} }
}, },
/** 下载模板操作 */ /** 下载模板操作 */

View File

@ -387,7 +387,13 @@ export default {
// //
cleardepartment() { cleardepartment() {
this.queryParams.wardId = null this.queryParams.wardId = null
this.getAgencyListinfo('CAMPUS', this.queryParams.campusAgencyId) if (this.queryParams.departmentId) {
this.getAgencyListinfo('DEPARTMENT', this.queryParams.departmentId)
} else if (this.queryParams.campusAgencyId) {
this.getAgencyListinfo('CAMPUS', this.queryParams.campusAgencyId)
} else if (this.queryParams.hospitalAgencyId) {
this.getAgencyListinfo('HOSPITAL', this.queryParams.hospitalAgencyId)
}
}, },
//list //list
selectAgencyinfo() { selectAgencyinfo() {