编辑历史人员的临床试验经历报错
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
af27788e4c
commit
682d07cc6d
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue