| | |
| | | <script> |
| | | import file from '@/utils/file'; |
| | | import { mapGetters } from "@/utils/store-compat"; |
| | | import draftSave from '@/mixins/draftSave' |
| | | export default { |
| | | components: {}, |
| | | mixins: [draftSave], |
| | | props: { |
| | | clickNodeVal: { |
| | | type: Object, |
| | |
| | | // 校准项目维护 |
| | | calibrationMaintenance() { |
| | | this.dialogVisible0 = true |
| | | this.draftRestore('checkMaintenanceDia', 'form0', this.clickNodeVal.value, 'dialogVisible0') |
| | | this.getXmsg(); |
| | | }, |
| | | addCalibrate() { |
| | |
| | | }).then(res => { |
| | | if (res.code == 200) { |
| | | this.$message.success('保存成功') |
| | | this.draftClear('checkMaintenanceDia') |
| | | this.$refs['form0'].resetFields() |
| | | this.getXmsg() // 刷新设备校准参数表格 |
| | | } |
| | |
| | | }).then(res => { |
| | | if (res.code == 200) { |
| | | this.$message.success('添加成功') |
| | | this.draftClear('checkAddRecordDia') |
| | | this.dialogVisible1 = false |
| | | this.getTableList(this.clickNodeVal.value) |
| | | } |
| | |
| | | }) |
| | | }, |
| | | resetcalibrationRecord() { |
| | | this.draftStop('checkAddRecordDia') |
| | | this.$refs.calibrationRecord.resetFields() |
| | | }, |
| | | // 附件上传 |
| | |
| | | add(type) { |
| | | this.operationType = type |
| | | this.dialogVisible1 = true |
| | | this.draftRestore('checkAddRecordDia', 'calibrationRecord', this.clickNodeVal.value, 'dialogVisible1') |
| | | this.getXmsg() |
| | | }, |
| | | // 查看详情 |
| | |
| | | |
| | | .el-table { |
| | | font-size: 14px; |
| | | color: #333; |
| | | color: var(--lims-text); |
| | | } |
| | | |
| | | .el-table thead { |