编辑历史人员的临床试验经历报错
continuous-integration/drone/push Build is passing Details

uat_us
wangxiaoshuang 2024-11-11 10:42:44 +08:00
parent af27788e4c
commit 682d07cc6d
1 changed files with 9 additions and 2 deletions

View File

@ -649,9 +649,16 @@ export default {
computed: { computed: {
IndicationOptions() { IndicationOptions() {
if (!this.form.IndicationTypeId) return [] if (!this.form.IndicationTypeId) return []
let indicationGrouping = this.$d.IndicationType.filter( let indicationGroupingArr = this.$d.IndicationType.filter(
(item) => item.id === this.form.IndicationTypeId (item) => item.id === this.form.IndicationTypeId
)[0].raw.ChildGroup )
let indicationGrouping = null
if (
Array.isArray(indicationGroupingArr) &&
indicationGroupingArr.length > 0
) {
indicationGrouping = indicationGroupingArr[0].raw.ChildGroup
}
let arr = let arr =
this.$d.Indication.filter( this.$d.Indication.filter(
(item) => indicationGrouping === item.raw.ChildGroup (item) => indicationGrouping === item.raw.ChildGroup