|  |  |  | 
|---|
|  |  |  | required: true, | 
|---|
|  |  |  | default: () => [], | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | // 5问卷模版、3随访模版、6宣教 | 
|---|
|  |  |  | // 5问卷模板、3随访模板、6宣教 | 
|---|
|  |  |  | type: { | 
|---|
|  |  |  | type: Number, | 
|---|
|  |  |  | default: () => { | 
|---|
|  |  |  | 
|---|
|  |  |  | getillnesslist(this.patientqueryParams).then((res) => { | 
|---|
|  |  |  | this.donorchargeList = res.rows; | 
|---|
|  |  |  | this.patienttotal = res.total; | 
|---|
|  |  |  | console.log(this.$refs.multipleTable, "22"); | 
|---|
|  |  |  | this.Restorecheck(); | 
|---|
|  |  |  | }); | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | 
|---|
|  |  |  | if (this.multipleSelection.length <= selection.length) { | 
|---|
|  |  |  | this.multipleSelection = selection; | 
|---|
|  |  |  | } else { | 
|---|
|  |  |  | console.log(selection, "selection"); | 
|---|
|  |  |  | console.log(this.multipleSelection, "this.multipleSelection"); | 
|---|
|  |  |  | this.multipleSelection.forEach((item) => { | 
|---|
|  |  |  | if (selection.includes(item)) { | 
|---|
|  |  |  | } else { | 
|---|
|  |  |  | 
|---|
|  |  |  | }); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | // 赋值给整体选中数组 | 
|---|
|  |  |  | console.log(this.overallCase); | 
|---|
|  |  |  | this.multipleSelection.forEach((item) => { | 
|---|
|  |  |  | console.log( | 
|---|
|  |  |  | this.overallCase.every((obj) => obj.icdname != item.icdname) | 
|---|
|  |  |  | ); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | if (this.overallCase.every((obj) => obj.icdname != item.icdname)) { | 
|---|
|  |  |  | this.overallCase.push(item); | 
|---|