| | |
| | | <template #default="{ row }"> |
| | | <el-button type="text" v-if="row.status == 1 && roleType == 3" |
| | | style="margin-right: 10px;" |
| | | @click="$router.push('/strain/validation/confirm-detail?id=' + row.id)">确认</el-button> |
| | | @click="$router.push('/strain/validation/confirm-detail-chief?id=' + row.id)">确认</el-button> |
| | | <el-button type="text" style="margin-right: 10px;" v-if="roleType == 4" |
| | | @click="handleDetail(row)">详情</el-button> |
| | | <el-button type="text" style="margin-right: 10px;" v-if="roleType != 4" |
| | |
| | | // Implement batch add logic |
| | | }, |
| | | handleEdit(row) { |
| | | if (Number(this.roleType) === 1) { |
| | | this.$router.push({ path: "/strain/validation/confirm-detail-chief", query: { id: row.id, mode: 'edit' } }); |
| | | return; |
| | | } |
| | | this.$router.push({ |
| | | path: "/strain/validation/edit-chief-cell", |
| | | query: { |