| | |
| | | </el-form> |
| | | </div> |
| | | <div style="margin-bottom: 6px;margin-top: 6px"> |
| | | <el-button v-show="active==1" :disabled="sampleList.length === 3" size="small" type="primary" @click="handleSplitCountNum">拆分</el-button> |
| | | <el-button v-show="active==1" size="small" type="primary" @click="handleSplitCountNum">拆分</el-button> |
| | | <el-button v-show="active==1" :disabled="sampleList.length<=1" size="small" type="danger" @click="handleDeleteSplitCountNum">删除拆分</el-button> |
| | | </div> |
| | | </div> |
| | | |
| | |
| | | this.templates = res.data |
| | | }) |
| | | }, |
| | | //删除拆分行 |
| | | handleDeleteSplitCountNum(){ |
| | | this.count--; |
| | | this.sampleList.pop() |
| | | this.computationalPairing(this.sampleList.length) |
| | | }, |
| | | // 拆分 |
| | | handleSplitCountNum () { |
| | | this.sample.joinName = null |