| | |
| | | this.list = selection |
| | | this.form.desc = "" |
| | | this.list.forEach(element => { |
| | | this.form.desc += element.bingzhong + "," |
| | | if( element.bingzhong){ |
| | | this.form.desc += element.bingzhong + "," |
| | | }else{ |
| | | this.form.desc += element.ruleStr + "," |
| | | } |
| | | |
| | | }); |
| | | }, |
| | | handleOk() { |
| | |
| | | > |
| | | <template slot-scope="scope"> |
| | | <el-checkbox |
| | | v-model="scope.row.exceptionDesc" |
| | | v-model="scope.row.exceptionDesc" @change="changDesc(scope.row)" |
| | | ></el-checkbox> |
| | | </template> |
| | | </el-table-column> |
| | |
| | | autosize |
| | | v-model="scope.row.conclusion" |
| | | autocomplete="off" |
| | | placeholder="请输入检测结果" |
| | | placeholder="请输入结果结论" |
| | | disabled |
| | | ></el-input> |
| | | </template> |
| | |
| | | // }) |
| | | }, |
| | | |
| | | changDesc(item){ |
| | | console.log(item) |
| | | if(item.exceptionDesc == true){ |
| | | item.conclusion = "异常" |
| | | }else{ |
| | | item.conclusion = "正常" |
| | | } |
| | | }, |
| | | |
| | | myclass(row, column, rowIndex, columnIndex) { |
| | | if (row.row.isPositive == 1) { |
| | | return "setclass"; |