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