| | |
| | | </span> |
| | | </template></el-table-column |
| | | > |
| | | <el-table-columne |
| | | <el-table-column |
| | | prop="materialName" |
| | | label="样品名称" |
| | | min-width="10%" |
| | |
| | | reportTable: [], |
| | | page: 1, |
| | | total: 0, |
| | | pageSize: 8, |
| | | pageSize: 10, |
| | | checkskipvisible: false, |
| | | form:{}, |
| | | formLabelWidth: '120px', |
| | |
| | | this.reportTable[this.tableRow.$index].status=1 |
| | | this.transmitData(this.tableRow.row.id,1) |
| | | this.checkskipvisible= false |
| | | this.$message({ |
| | | message: '通过成功', |
| | | type: 'success' |
| | | }); |
| | | this.getData(); |
| | | }, |
| | | //不通过 |
| | | nocheckskip(row) { |
| | |
| | | this.reportTable[this.tableRow.$index].status=0 |
| | | this.transmitData(this.tableRow.row.id,2) |
| | | this.checkskipvisible= false |
| | | this.$message({ |
| | | message: '待通过', |
| | | type: 'warning' |
| | | }); |
| | | this.getData(); |
| | | }, |
| | | //审核 |
| | | async transmitData(id, result) { |
| | | let param={"id":id,"result":result} |
| | | let data = await checkApi(param) |
| | | await this.getData(); |
| | | }, |
| | | // 查询列表 |
| | | async getData() { |
| | |
| | | status: this.checkStatus ? this.checkStatus : undefined, |
| | | }; |
| | | const { data } = await selectAllReportCheck(params); |
| | | console.log(data); |
| | | this.reportTable = data.row; |
| | | this.total = data.total; |
| | | }, |