| | |
| | | } |
| | | |
| | | .inspection .el-input-group__append { |
| | | padding: 0 10px; |
| | | padding: 0 14px; |
| | | color: #3A7BFA; |
| | | background-color: #fff; |
| | | height: 100%; |
| | | display: flex; |
| | | align-items: center; |
| | | } |
| | | |
| | | .inspection .center-box .el-input__inner { |
| | |
| | | } |
| | | }, |
| | | getSystemValue(n) { |
| | | let code = null |
| | | try { |
| | | if (this.param[n.i].equipValue.v.v == null || this.param[n.i].equipValue.v.v == '') { |
| | | this.$message.error('请先选择采集的设备') |
| | | return |
| | | } |
| | | this.param[n.i].equipValue.forEach(a=>{ |
| | | if(a.r === n.r){ |
| | | if (a.v.v == null || a.v.v == '') { |
| | | this.$message.error('请先选择采集的设备') |
| | | return |
| | | }else{ |
| | | code = a.v.v |
| | | } |
| | | } |
| | | }) |
| | | } catch (e) { |
| | | console.log(e); |
| | | this.$message.error('找不到设备内容') |
| | | } |
| | | this.$message.error('采集失败【已开放手动方式】') |
| | | console.log(n, code); |
| | | fetch('http://localhost:82/微信图片_20240518100811.png').then(res=>res.blob()).then(blob=>{ |
| | | console.log(blob); |
| | | const url = URL.createObjectURL(blob) |
| | | console.log(url); |
| | | }) |
| | | /* this.$message.error('采集失败【已开放手动方式】') |
| | | for (var a in this.currentSample.insProduct) { |
| | | if (this.currentSample.insProduct[a].id == n.i) { |
| | | this.currentSample.insProduct[a].inspectionItemType = 0 |
| | | } |
| | | } |
| | | } */ |
| | | }, |
| | | getEquipOptions(e, id) { |
| | | if (e) { |
| | |
| | | if(lastChar=='-'){ |
| | | res.data[i] = res.data[i].slice(0, -1); |
| | | } |
| | | newData.push(h('p', {style: 'font-size: 12px;'}, (Number(i)+1)+'、'+res.data[i])) |
| | | newData.push(h('p', {style: 'font-size: 14px;color: red;'}, (Number(i)+1)+'、'+res.data[i])) |
| | | } |
| | | newData.push(h('p', { style: 'font-size: 16px;color:#000;margin-top:12px' },'以上项目不合格,确定提交?')) |
| | | this.$confirm('提示',{ |