| | |
| | | <el-tabs type="border-card" v-model="activeName" style="height: 100%;" @tab-click="componentData0.entity.totalSampleId=''"> |
| | | <el-tab-pane label="填写" name="填写" style="height: 100%;" :key="1"> |
| | | <el-button size="small" type="primary" @click="handleAdd0" style="margin-left: 20px;" v-if="addPower">新增</el-button> |
| | | <div class="table" style="height: calc(100% - 200px)" v-if="activeName=='填写'"> |
| | | <div class="table" style="height: calc(100% - 200px)" F> |
| | | <ValueTable ref="ValueTable0" :url="$api.processSample.pageProcessSample" |
| | | :componentData="componentData0" :key="upIndex0" :delUrl="$api.processSample.delProcessSample" /> |
| | | </div> |
| | |
| | | </div> |
| | | </div> |
| | | <div class="table"> |
| | | <ValueTable ref="ValueTable" :url="$api.processSample.pageProcessTotalSample" |
| | | <ValueTable ref="ValueTable" v-if="activeName=='历史记录'" :url="$api.processSample.pageProcessTotalSample" |
| | | :componentData="componentData" :key="upIndex"/> |
| | | </div> |
| | | </el-tab-pane> |
| | |
| | | }).catch(err=>{}); |
| | | }, |
| | | refreshTable() { |
| | | this.$refs['ValueTable'].selectList() |
| | | this.$refs['ValueTable']&&this.$refs['ValueTable'].selectList() |
| | | }, |
| | | refresh() { |
| | | this.componentData.entity = this.HaveJson(this.entityCopy) |
| | |
| | | // this.commonFun(row) |
| | | this.activeName = '填写' |
| | | this.componentData0.entity.totalSampleId = row.id |
| | | this.$refs['ValueTable0'].selectList() |
| | | this.$nextTick(()=>{ |
| | | this.$refs['ValueTable0'].selectList() |
| | | }) |
| | | }, |
| | | commonFun(row,callbanck){ |
| | | this.currentInfo = row |