| | |
| | | <el-table v-loading="loading" :data="workOrderList" @selection-change="handleSelectionChange"> |
| | | <el-table-column type="selection" width="55" align="center" /> |
| | | <el-table-column label="工单号" align="center" prop="workOrderNo"/> |
| | | <el-table-column label="国标码" align="center" prop="serialNumber"/> |
| | | <el-table-column label="故障点位" align="center" prop="source"> |
| | | <template slot-scope="scope"> |
| | | <el-popover |
| | |
| | | }, |
| | | // 多选框选中数据 |
| | | handleSelectionChange(selection) { |
| | | this.multipleSelection = selection.map(item => item.id) |
| | | this.multipleSelection = selection.map(item => item.workOrderNo) |
| | | }, |
| | | /** 新增按钮操作 */ |
| | | handleAdd() { |
| | |
| | | } else { |
| | | addWorkOrder(this.form).then(response => { |
| | | this.$modal.msgSuccess("新增成功"); |
| | | this.pointList = []; |
| | | this.open = false; |
| | | this.page(); |
| | | }); |