| | |
| | | </el-col> |
| | | </el-row> |
| | | <div> |
| | | <el-button v-if="operationType === 'add'" size="small" type="primary" @click="addTableRow">添加</el-button> |
| | | <el-button v-if="operationType !== 'check'" size="small" type="primary" @click="addTableRow">添加</el-button> |
| | | </div> |
| | | <div style="text-align: center">测试数据记录</div> |
| | | <div style="margin: 10px 0"> |
| | |
| | | } else { |
| | | updateDeviceInspectionRecord(this.form).then(res => { |
| | | if (res.code == 200) { |
| | | this.$message.success('新增成功') |
| | | this.$message.success('修改成功') |
| | | this.resetForm() |
| | | } |
| | | this.submitFormLoading = false |
| | |
| | | inspectionRecordId: this.form.inspectionRecordId, |
| | | status: status, |
| | | } |
| | | this.submitFormLoading = true |
| | | reviewDeviceInspectionRecord(params).then(res => { |
| | | if (res.code == 200) { |
| | | this.$message.success('审核成功') |