| | |
| | | </div> |
| | | </div> |
| | | <div class="center-box" id="nav" v-loading="tableLoading" v-if="!tableLists.find(m=>m.templateId==currentTable)||(tableLists.find(m=>m.templateId==currentTable).templateName!='温度循环检验原始记录'&&!tableLists.find(m=>m.templateId==currentTable).templateName.includes('热循环')&&!tableLists.find(m=>m.templateId==currentTable).templateName.includes('温升试验'))"> |
| | | <table border="1" class="tables" cellpadding="10" v-for="(item,index) in tableList" :key="index"> |
| | | <table border="1" class="tables" cellpadding="10" v-for="(item,index) in tableList" :key="index+currentTable"> |
| | | <tbody> |
| | | <tr v-for="(m,i) in item.arr" :key="i"> |
| | | <td :id='item.templateId+"-"+n.i+"-"+n.r+"-"+n.c' v-for="(n,j) in m" :key="j" |
| | |
| | | if (val0 != null && val1 != val0) { |
| | | this.tableLists.forEach((m, i) => { |
| | | if (m.templateId == val1) { |
| | | this.tableList = null; |
| | | this.tableList = [(this.tableLists[i])]; |
| | | // this.tableList = null; |
| | | // this.tableList = [(this.tableLists[i])]; |
| | | this.$delete(this.tableList, 0) |
| | | this.$set(this.tableList, 0, this.tableLists[i]) |
| | | this.handleTableData() |
| | | } |
| | | }) |
| | |
| | | comparisonList:this.comparisonList, |
| | | currentSample:this.currentSample, |
| | | PROJECT:this.PROJECT, |
| | | param:this.param |
| | | param:this.param, |
| | | currentTable:this.currentTable |
| | | })); |
| | | } catch (error) { |
| | | console.log(444,error); |
| | |
| | | this.worker.postMessage(JSON.stringify({ |
| | | type: 'saveData', |
| | | tableList:this.tableList, |
| | | param:this.param |
| | | param:this.param, |
| | | currentTable:this.currentTable |
| | | })); |
| | | } |
| | | }catch (error) { |