Merge branch 'master' of http://114.132.189.42:9002/r/center-lims-before into master
| | |
| | | } |
| | | } |
| | | if (b.v.ps != undefined && b.v.ps.value === '结论') { |
| | | this.param[b.i].insResult = b |
| | | conclusionList.forEach((n, i) => { |
| | | if (n.r == b.r && n.c == b.c) { |
| | | b.v.f = |
| | | `(${this.comparisonList.find(j=>j.value==(finalList[i].c)).label}${finalList[i].r+1})` |
| | | } |
| | | }) |
| | | if(b.i!==undefined){ |
| | | this.param[b.i].insResult = b |
| | | conclusionList.forEach((n, i) => { |
| | | if (n.r == b.r && n.c == b.c) { |
| | | b.v.f = |
| | | `(${this.comparisonList.find(j=>j.value==(finalList[i].c)).label}${finalList[i].r+1})` |
| | | } |
| | | }) |
| | | } |
| | | } |
| | | set.add(b.r) |
| | | if (b.v.f) { |
| | |
| | | //row = 点击对应行值一行值 |
| | | //复制给formData |
| | | this.formData = this.HaveJson(row); |
| | | if(typeof(row.insProductIds)==='number'){ |
| | | row.insProductIds = row.insProductIds+'' |
| | | } |
| | | this.formData.insProductIds = row.insProductIds ? row.insProductIds.split(',') : []; |
| | | }, |
| | | beforeUpload(file) { |
| | |
| | | } |
| | | }, |
| | | submitForm() { |
| | | this.upLoad = true; |
| | | delete this.formData.createTime |
| | | delete this.formData.updateTime |
| | | delete this.formData.createUser |
| | | delete this.formData.updateUser |
| | | this.formData.insProductIds = this.formData.insProductIds.join() |
| | | this.upLoad = true; |
| | | this.$axios.post(this.$api.deviceScope.upDeviceParameter, this.formData, { |
| | | headers: { |
| | | 'Content-Type': 'application/json' |
| | |
| | | }, |
| | | submitForm2() { |
| | | this.upLoad2 = true; |
| | | this.formData.insProductIds = this.formData.insProductIds.join() |
| | | this.formData2.insProductIds = this.formData2.insProductIds.join() |
| | | this.$axios.post(this.$api.deviceScope.addDeviceParameter, this.formData2, { |
| | | headers: { |
| | | 'Content-Type': 'application/json' |
| | |
| | | font: '复核', |
| | | type: 'text', |
| | | method: 'handleReview', |
| | | disabFun: (row, index) => { |
| | | /* disabFun: (row, index) => { |
| | | return row.userId == null || row.insState != 3 |
| | | } |
| | | } */ |
| | | }, { |
| | | id: '', |
| | | font: '认领', |
| | |
| | | i: "font icon-erjidaohang", |
| | | u: "b1-sample", |
| | | p: "selectWarehouse" |
| | | }, { |
| | | v: "不合格管理", |
| | | i: "font icon-erjidaohang", |
| | | u: "", |
| | | p: "" |
| | | }] |
| | | }, |
| | | { |