| | |
| | | <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="请输入检测结果" @focus="handleFocus(scope.row)" @blur="handleInputConfirm(scope.row)" @input="vale"></el-input> |
| | | placeholder="请输入检测结果" @focus="handleFocus(scope.row)" @blur="handleInputConfirm(scope.row)" |
| | | @input="vale"></el-input> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="规则" width="70"> |
| | |
| | | return |
| | | } else { |
| | | this.curindex = row |
| | | this.$refs.bbb.open = true; |
| | | |
| | | this.$refs.bbb.title = "选择检测结果"; |
| | | this.$refs.bbb.proId = row.proId; |
| | | this.$refs.bbb.getList(); |
| | |
| | | |
| | | }, |
| | | handleChangesZt(params) { |
| | | this.curindex.proResult = params[0].ruleStr |
| | | this.curindex.proResult = params.map(item => item.ruleStr).join(','); |
| | | }, |
| | | tableRowClassName({ row }) { |
| | | if (row.exceptionDesc) { |
| | |
| | | console.log("输入内容:", value); |
| | | }, |
| | | handleInputConfirm(datas) { |
| | | if (datas.proResult){ |
| | | this.focusrow = datas; |
| | | this.proResult = datas; |
| | | var pattern3 = new RegExp("[0-9]+"); |
| | |
| | | } |
| | | }); |
| | | } |
| | | |
| | | this.rows.push(datas); |
| | | |
| | | } |
| | | |
| | | |
| | | }, |
| | | |
| | | handleguize(row) { |
| | |
| | | |
| | | let data = [ |
| | | { |
| | | proAdvice: item.proAdvice, |
| | | |
| | | tjNumber, |
| | | proId: this.proId, |
| | | remark: this.proParentList.remark, // 备注 |
| | |
| | | .a{ |
| | | position: relative; |
| | | } |
| | | |
| | | .el-table .cell { |
| | | -webkit-box-sizing: border-box; |
| | | box-sizing: border-box; |
| | |
| | | background-color: #66cc66; |
| | | border-color: #66cc66; |
| | | } |
| | | |
| | | .dialog-footers1 { |
| | | position: fixed; |
| | | bottom: 0; |
| | |
| | | display: flex; |
| | | justify-content: center; |
| | | align-items: center; |
| | | z-index: 1000; /* 确保按钮层级在其他内容上方 */ |
| | | z-index: 1000; |
| | | /* 确保按钮层级在其他内容上方 */ |
| | | width: 300px; |
| | | background-color: white; /* 可根据需要调整背景颜色 */ |
| | | background-color: white; |
| | | /* 可根据需要调整背景颜色 */ |
| | | } |
| | | |
| | | /* 确保按钮之间有合适的间距 */ |