| | |
| | | style="width: 100%" |
| | | @selection-change="handleSelectionChange" |
| | | > |
| | | <el-table-column type="selection" width="55"> </el-table-column> |
| | | <el-table-column class="checkall" type="selection" width="55"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="icdid" |
| | | label="疾病编号" |
| | |
| | | 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); |
| | |
| | | } |
| | | } |
| | | } |
| | | ::v-deep.el-table .el-table__header th:first-child .el-checkbox { |
| | | display: none; |
| | | } |
| | | .el-tag + .el-tag { |
| | | margin-left: 10px; |
| | | margin-bottom: 10px; |