| | |
| | | <el-table-column prop="project.proName" label="检测项目" width="150"> |
| | | </el-table-column> |
| | | <el-table-column prop="proResult" label="检测结果" width="150"> |
| | | <!-- <template slot-scope="scope"> |
| | | <el-input type="textarea" autosize size="mini" v-model="scope.row.proResult" autocomplete="off" |
| | | placeholder="请输入检测结果" @keyup.enter.native=" |
| | | keyInputConfirm($event,scope.$index,'proResult') |
| | | " @focus="handleFocus(scope.row)" @blur="handleInputConfirm(scope.row)" |
| | | @input="vale"></el-input> --> |
| | | |
| | | <template slot-scope="{ row, $index }"> |
| | | <el-input type="textarea" autosize size="mini" v-model="row.proResult" :ref="`input-${$index}`" |
| | | @keyup.enter.native="keyInputConfirm($event, $index)" @focus="handleFocus(row)" |
| | |
| | | } |
| | | }, |
| | | handleChangesZt(params) { |
| | | console.log(params) |
| | | this.curindex.proResult = params.map((item) => item.ruleStr).join(","); |
| | | console.log(this.curindex.proResult) |
| | | this.handleInputConfirm(this.curindex, params); |
| | | }, |
| | | tableRowClassName({ row }) { |