fix:新增pca页面
This commit is contained in:
@@ -103,6 +103,18 @@ const routes = [
|
||||
import('../views/phylogeneticAnalysis/evolutionaryTree.vue'),
|
||||
meta: { title: '进化树', activeMenu: '/phylogeneticAnalysis/evolutionaryTree' }
|
||||
},
|
||||
{
|
||||
path: '/phylogeneticAnalysis/pca',
|
||||
component: () =>
|
||||
import('../views/phylogeneticAnalysis/pca.vue'),
|
||||
meta: { title: 'PCA', activeMenu: '/phylogeneticAnalysis/pca' }
|
||||
},
|
||||
{
|
||||
path: '/phylogeneticAnalysis/admixture',
|
||||
component: () =>
|
||||
import('../views/phylogeneticAnalysis/admixture.vue'),
|
||||
meta: { title: 'ADMIXTURE', activeMenu: '/phylogeneticAnalysis/admixture' }
|
||||
},
|
||||
]
|
||||
},
|
||||
{
|
||||
|
||||
@@ -65,6 +65,12 @@
|
||||
<el-menu-item index="/phylogeneticAnalysis/evolutionaryTree"
|
||||
>进化树</el-menu-item
|
||||
>
|
||||
<el-menu-item index="/phylogeneticAnalysis/pca"
|
||||
>PCA</el-menu-item
|
||||
>
|
||||
<el-menu-item index="/phylogeneticAnalysis/admixture"
|
||||
>ADMIXTURE</el-menu-item
|
||||
>
|
||||
</el-menu-item-group>
|
||||
</el-submenu>
|
||||
<el-menu-item index="/disease-resistance/disease-resistance">
|
||||
|
||||
23
src/views/phylogeneticAnalysis/admixture.vue
Normal file
23
src/views/phylogeneticAnalysis/admixture.vue
Normal file
@@ -0,0 +1,23 @@
|
||||
<template>
|
||||
<div class="container-box">
|
||||
<div style="padding-top: 20%">建设中~</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
data() {
|
||||
return {}
|
||||
},
|
||||
methods: {}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="less" scoped>
|
||||
.container-box {
|
||||
height: 100%;
|
||||
background: white;
|
||||
text-align: center;
|
||||
}
|
||||
</style>
|
||||
|
||||
22
src/views/phylogeneticAnalysis/pca.vue
Normal file
22
src/views/phylogeneticAnalysis/pca.vue
Normal file
@@ -0,0 +1,22 @@
|
||||
<template>
|
||||
<div class="container-box">
|
||||
<div style="padding-top: 20%">建设中~</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
data() {
|
||||
return {}
|
||||
},
|
||||
methods: {}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="less" scoped>
|
||||
.container-box {
|
||||
height: 100%;
|
||||
background: white;
|
||||
text-align: center;
|
||||
}
|
||||
</style>
|
||||
@@ -44,7 +44,17 @@
|
||||
>
|
||||
<el-table-column prop="a" label="养殖场"></el-table-column>
|
||||
<el-table-column prop="b" label="标记编号"></el-table-column>
|
||||
<el-table-column prop="c" label="综合育种指数"></el-table-column>
|
||||
<el-table-column label="综合育种指数">
|
||||
<template slot-scope="scope">
|
||||
<el-button
|
||||
size="mini"
|
||||
type="text"
|
||||
@click="detailClickgo(scope.row)"
|
||||
class="detail-btn"
|
||||
>{{ scope.row.c }}</el-button
|
||||
>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="系谱分析">
|
||||
<template slot-scope="scope">
|
||||
<el-button
|
||||
@@ -56,7 +66,17 @@
|
||||
>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column prop="e" label="遗传病风险"></el-table-column>
|
||||
<el-table-column label="遗传病风险">
|
||||
<template slot-scope="scope">
|
||||
<el-button
|
||||
size="mini"
|
||||
type="text"
|
||||
@click="detailClick1(scope.row)"
|
||||
class="detail-btn"
|
||||
>{{ scope.row.e }}</el-button
|
||||
>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="详情">
|
||||
<template slot-scope="scope">
|
||||
<el-button
|
||||
@@ -249,6 +269,12 @@ export default {
|
||||
detailClick() {
|
||||
this.$router.push('/phylogeneticAnalysis/evolutionaryTree')
|
||||
},
|
||||
detailClickgo() {
|
||||
this.$router.push('/breedMgmt/BLUP')
|
||||
},
|
||||
detailClick1() {
|
||||
this.$router.push('/disease-resistance/disease-resistance')
|
||||
},
|
||||
report(row) {
|
||||
if (row.b == '82010000990') {
|
||||
window.open(
|
||||
|
||||
Reference in New Issue
Block a user