列表展示课题组修改
continuous-integration/drone/push Build is passing Details

main
wangxiaoshuang 2025-09-09 15:51:59 +08:00
parent b296a5b728
commit cb4833ea0c
1 changed files with 4 additions and 4 deletions

View File

@ -65,8 +65,8 @@
show-overflow-tooltip min-width="100">
<template slot-scope="scope">
<span>{{
scope.row.HospitalGroupList && scope.row.HospitalGroupList.length > 0 ?
scope.row.HospitalGroupList.map(item => item.Name).join(', ') : ''}}</span>
scope.row.ViewHospitalGroupList && scope.row.ViewHospitalGroupList.length > 0 ?
scope.row.ViewHospitalGroupList.map(item => item.Name).join(', ') : ''}}</span>
</template>
</el-table-column>
<!--序列数量-->
@ -214,8 +214,8 @@ export default {
openGroup(row, status = 1) {
this.form.HospitalGroupIdList = []
this.group_model.title = this.$t('trials:inspection:dialogTitle:add')
if (row.HospitalGroupList && row.HospitalGroupList.length > 0) {
this.form.HospitalGroupIdList = row.HospitalGroupList.map(item => item.Id)
if (row.ViewHospitalGroupList && row.ViewHospitalGroupList.length > 0) {
this.form.HospitalGroupIdList = row.ViewHospitalGroupList.map(item => item.Id)
this.group_model.title = this.$t('trials:inspection:dialogTitle:edit')
}
this.currentData = row