47 Commits

Author SHA1 Message Date
xiaoliumang
1629dd8e7a Merge branch 'dev-liuyi' into dev 2024-09-11 09:33:37 +08:00
xiaoliumang
ec123b3c2c feat:修改SNP 2024-09-11 09:33:05 +08:00
wuzhihao
534510dcb7 Merge branch 'wzh0903' of https://gitea.aiotagro.com/liupengcheng/admin-jxn-testing into dev 2024-09-03 12:08:37 +08:00
wuzhihao
7ee6da63ca fix:新增pca页面 2024-09-03 12:08:13 +08:00
wuzhihao
997743090e Merge branch 'dev' of https://gitea.aiotagro.com/liupengcheng/admin-jxn-testing into dev 2024-09-03 10:30:31 +08:00
wuzhihao
6bea74e9e9 fix:s首页图标 2024-09-03 10:29:53 +08:00
lijinxuan123
88fd084a37 Merge branch 'dev' of https://gitea.aiotagro.com/liupengcheng/admin-jxn-testing into dev 2024-09-03 10:23:45 +08:00
lijinxuan123
e78b593f32 修改 2024-09-03 10:23:22 +08:00
xiaoliumang
b04f0da78d feat:演示数据调整(调整与原型一致) 2024-09-03 10:08:32 +08:00
lijinxuan123
83f6105cbe 报告单修改 2024-09-02 15:51:58 +08:00
xiaoliumang
a73e65a3f5 feat:修改SPN位点管理列表演示数据 2024-09-02 14:32:44 +08:00
liupengcheng
c17f3237da Merge branch 'dev' of https://gitea.aiotagro.com/liupengcheng/admin-jxn-testing into dev 2024-09-02 14:18:48 +08:00
liupengcheng
dcac93de18 品种资源标题修改 2024-09-02 14:18:13 +08:00
lijinxuan123
2553ea5410 Merge branch 'dev' of https://gitea.aiotagro.com/liupengcheng/admin-jxn-testing into dev 2024-09-02 14:15:20 +08:00
lijinxuan123
84091e3ce0 报告单修改 2024-09-02 14:15:16 +08:00
liupengcheng
c6ba7ed4b3 Merge branch 'dev' of https://gitea.aiotagro.com/liupengcheng/admin-jxn-testing into dev 2024-09-02 14:09:13 +08:00
liupengcheng
0ccdd283ca 菜单icon更换 2024-09-02 14:08:32 +08:00
lijinxuan123
7cbbff73aa 报告单修改 2024-09-02 10:49:43 +08:00
lijinxuan123
bac8a9ba02 报告单修改 2024-09-02 10:12:48 +08:00
lijinxuan123
40cfbc95a6 Merge branch 'dev' of https://gitea.aiotagro.com/liupengcheng/admin-jxn-testing into dev 2024-08-30 17:52:34 +08:00
lijinxuan123
f37c46a288 修改问题 2024-08-30 17:52:25 +08:00
wuzhihao
7d530d2da6 Merge branch 'wzh083' of https://gitea.aiotagro.com/liupengcheng/admin-jxn-testing into dev 2024-08-30 17:36:52 +08:00
wuzhihao
a8236b1621 fix:快速查询模块默认图片替换 2024-08-30 17:36:37 +08:00
wuzhihao
c1f1bc8576 Merge branch 'wzh083' of https://gitea.aiotagro.com/liupengcheng/admin-jxn-testing into dev 2024-08-30 17:20:40 +08:00
wuzhihao
3d5fa5f1a0 fix:快速查询模块默认图片替换 2024-08-30 17:20:24 +08:00
wuzhihao
8689abfee3 Merge branch 'dev' of https://gitea.aiotagro.com/liupengcheng/admin-jxn-testing into dev 2024-08-30 17:15:28 +08:00
wuzhihao
e0996f47c7 Merge branch 'wzh083' of https://gitea.aiotagro.com/liupengcheng/admin-jxn-testing into dev 2024-08-30 17:15:03 +08:00
wuzhihao
ef619885f3 fix:优化快速查询模块 2024-08-30 17:14:44 +08:00
wuzhihao
630435ecc8 fix:优化快速查询模块 2024-08-30 17:14:35 +08:00
liupengcheng
e3a325c053 遗传病风险表格数量修改 2024-08-30 17:11:14 +08:00
wuzhihao
7ea7b10d9b Merge branch 'dev' of https://gitea.aiotagro.com/liupengcheng/admin-jxn-testing into dev 2024-08-30 16:54:03 +08:00
wuzhihao
45ceaaa250 fix:优化快速查询模块 2024-08-30 16:53:29 +08:00
lijinxuan123
7ee5c0fe20 Merge branch 'dev' of https://gitea.aiotagro.com/liupengcheng/admin-jxn-testing into dev 2024-08-30 16:46:41 +08:00
lijinxuan123
a19656528e 修改页面 2024-08-30 16:46:30 +08:00
wuzhihao
74aaab7d5b fix:优化快速查询模块 2024-08-30 15:59:55 +08:00
wuzhihao
97a359c60f fix:优化快速查询模块 2024-08-30 15:59:48 +08:00
wuzhihao
bde1796ebc fix:优化快速查询模块 2024-08-30 15:40:31 +08:00
liupengcheng
b96357efbc Merge branch 'dev' of https://gitea.aiotagro.com/liupengcheng/admin-jxn-testing into dev 2024-08-30 15:39:49 +08:00
liupengcheng
95f0e15115 Merge branch 'dev-liuyi' of https://gitea.aiotagro.com/liupengcheng/admin-jxn-testing into dev 2024-08-30 15:37:02 +08:00
wuzhihao
6bb0947da9 fix:优化快速查询模块 2024-08-30 15:32:36 +08:00
wuzhihao
b274f7b3d5 Merge branch 'dev' of https://gitea.aiotagro.com/liupengcheng/admin-jxn-testing into dev 2024-08-30 15:32:26 +08:00
wuzhihao
ce45fac9a8 fix:快速查询模块优化 2024-08-30 15:30:50 +08:00
liupengcheng
dff4081e4a 报错修改 2024-08-30 15:28:19 +08:00
wuzhihao
c19fa2bce6 Merge branch 'wzh0830' of https://gitea.aiotagro.com/liupengcheng/admin-jxn-testing into dev 2024-08-30 15:24:03 +08:00
liupengcheng
acd30efd1c Merge branch 'dev-lpc' of https://gitea.aiotagro.com/liupengcheng/admin-jxn-testing into dev 2024-08-30 15:19:20 +08:00
liupengcheng
e5b65ee409 遗传病风险和品种资源 2024-08-30 15:13:57 +08:00
xiaoliumang
f49316f681 feat:修改ico和标题 2024-08-29 17:05:14 +08:00
36 changed files with 1981 additions and 502 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.2 KiB

After

Width:  |  Height:  |  Size: 4.2 KiB

View File

@@ -5,7 +5,7 @@
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
<link rel="icon" href="<%= BASE_URL %>title.ico">
<title>
<%= htmlWebpackPlugin.options.title %>
</title>

BIN
public/title.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

View File

@@ -1,8 +1,8 @@
@font-face {
font-family: "iconfont"; /* Project id 3368735 */
src: url('iconfont.woff2?t=1687687235044') format('woff2'),
url('iconfont.woff?t=1687687235044') format('woff'),
url('iconfont.ttf?t=1687687235044') format('truetype');
font-family: "iconfont"; /* Project id 4669413 */
src: url('iconfont.woff2?t=1725246332040') format('woff2'),
url('iconfont.woff?t=1725246332040') format('woff'),
url('iconfont.ttf?t=1725246332040') format('truetype');
}
.iconfont {
@@ -13,147 +13,43 @@
-moz-osx-font-smoothing: grayscale;
}
.ai-yangniuxueyuan:before {
content: "\e627";
}
.ai-xianshangwenzhen:before {
content: "\e61e";
}
.ai-jiaoliushequ:before {
content: "\e61c";
}
.ai-hangqing-wulianwang:before {
content: "\e618";
}
.ai-jiaqin:before {
content: "\e62f";
}
.ai-a-jiankangguanli:before {
content: "\e626";
}
.ai-a-wenzhenyiyuan:before {
content: "\e623";
}
.ai-a-yangniuxueyuan:before {
content: "\e624";
}
.ai-a-jiaoliushequ:before {
content: "\e625";
}
.ai-fenwubaoshou:before {
content: "\e61d";
}
.ai-luguanli:before {
.icon-icon_bingjia:before {
content: "\e61b";
}
.ai-baoxianguanli:before {
content: "\e61a";
}
.ai-shouye:before {
content: "\e619";
}
.ai-baoxiangongsi:before {
.icon-jiyinjianceke:before {
content: "\e610";
}
.ai-zhifu:before {
content: "\e611";
.icon-chaxuncaijia:before {
content: "\e635";
}
.ai-shangchuancailiao:before {
content: "\e612";
}
.ai-lipeishouli:before {
content: "\e613";
}
.ai-bangdingshebei:before {
content: "\e614";
}
.ai-heyanshebei:before {
content: "\e615";
}
.ai-tijiaobaodanshenqing:before {
content: "\e616";
}
.ai-baoxianbaoan:before {
content: "\e617";
}
.ai-dianzijianyi:before {
content: "\e60f";
}
.ai-jianyirenzheng:before {
content: "\e60e";
}
.ai-xipusuyuan:before {
content: "\e60d";
}
.ai-huanjingguanli:before {
content: "\e60c";
}
.ai-yangguanli:before {
content: "\e60b";
}
.ai-a-ai_huaban1fuben15:before {
content: "\e601";
}
.ai-a-ai_huaban1fuben14:before {
content: "\e602";
}
.ai-a-ai_huaban1fuben11:before {
content: "\e603";
}
.ai-a-ai_huaban1fuben10:before {
content: "\e604";
}
.ai-a-ai_huaban1fuben17:before {
content: "\e605";
}
.ai-a-ai_huaban1fuben16:before {
content: "\e606";
}
.ai-a-ai_huaban1fuben18:before {
content: "\e607";
}
.ai-a-ai_huaban1fuben12:before {
content: "\e608";
}
.ai-a-ai_huaban1fuben13:before {
content: "\e609";
}
.ai-a-ai_huaban1fuben19:before {
.icon-xitongguanli:before {
content: "\e60a";
}
.icon-gaojichaxun:before {
content: "\e632";
}
.icon-dangan:before {
content: "\e676";
}
.icon-nannvbili:before {
content: "\e73f";
}
.icon-pinzhong:before {
content: "\e645";
}
.icon-fenxi-05:before {
content: "\ec81";
}
.icon-shouye:before {
content: "\e61d";
}

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
src/assets/img/e.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 150 KiB

BIN
src/assets/img/gongzhu.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 429 KiB

BIN
src/assets/img/huoji.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 156 KiB

BIN
src/assets/img/ji.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 187 KiB

BIN
src/assets/img/lv.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 163 KiB

BIN
src/assets/img/muzhu.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 258 KiB

BIN
src/assets/img/niu.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 189 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 176 KiB

After

Width:  |  Height:  |  Size: 165 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 638 KiB

After

Width:  |  Height:  |  Size: 737 KiB

BIN
src/assets/img/ya.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 180 KiB

BIN
src/assets/img/yang.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 127 KiB

BIN
src/assets/img/zhu.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 151 KiB

View File

@@ -7,95 +7,6 @@ import local from '../utils/local'
Vue.use(VueRouter)
const routes = [
{
path: '/login',
component: Login,
meta: { title: '登录', activeMenu: '/login' }
},
{
path: '/',
component: Layout,
redirect: '/disease-resistance/disease-resistance',
meta: { title: '首页', activeMenu: '/disease-resistance/disease-resistance' }
},
{
// 遗传病风险
path: '/disease-resistance',
component: Layout,
children: [
{
path: '/disease-resistance/disease-resistance',
component: () =>
import('../views/disease-resistance/disease-resistance.vue'),
meta: { title: '遗传病风险', activeMenu: '/disease-resistance/disease-resistance' }
}
]
},
{
// 基因管理
path: '/geneMgmt',
component: Layout,
children: [
{
path: '/geneMgmt/SPN',
component: () =>
import('../views/geneMgmt/SPN.vue'),
meta: { title: 'SPN位点管理', activeMenu: '/geneMgmt/SPN' }
},
{
path: '/geneMgmt/SPNPanel',
component: () =>
import('../views/geneMgmt/SPNPanel.vue'),
meta: { title: 'SPN Panel位点管理', activeMenu: '/geneMgmt/SPNPanel' }
},
{
path: '/geneMgmt/sequence',
component: () =>
import('../views/geneMgmt/sequence.vue'),
meta: { title: '原始测序数据', activeMenu: '/geneMgmt/sequence' }
}
]
},
{
// 繁育管理
path: '/breedMgmt',
component: Layout,
children: [
{
path: '/breedMgmt/BLUP',
component: () =>
import('../views/breedMgmt/BLUP.vue'),
meta: { title: 'BLUP', activeMenu: '/breedMgmt/BLUP' }
},
{
path: '/breedMgmt/paternityTest',
component: () =>
import('../views/breedMgmt/paternityTest.vue'),
meta: { title: '亲子鉴定', activeMenu: '/breedMgmt/paternityTest' }
},
{
path: '/breedMgmt/lineage',
component: () =>
import('../views/breedMgmt/lineage.vue'),
meta: { title: '血统管理', activeMenu: '/breedMgmt/lineage' }
}
]
},
{
// 进化分析
path: '/phylogeneticAnalysis',
component: Layout,
children: [
{
path: '/phylogeneticAnalysis/evolutionaryTree',
component: () =>
import('../views/phylogeneticAnalysis/evolutionaryTree.vue'),
meta: { title: '进化树', activeMenu: '/phylogeneticAnalysis/evolutionaryTree' }
},
]
},
{
path: '/login',
component: Login,
@@ -104,8 +15,8 @@ const routes = [
{
path: '/',
component: Layout,
redirect: '/disease-resistance/disease-resistance',
meta: { title: '', activeMenu: '/disease-resistance/disease-resistance' }
redirect: '/login',
meta: { title: '', activeMenu: '/login' }
}, {
// 首页
path: '/index',
@@ -118,6 +29,93 @@ const routes = [
meta: { title: '首页', activeMenu: '/index/index' }
}
]
}, {
// 快速查询
path: '/quick-Search/quick-Search',
component: Layout,
children: [
{
path: '/quick-Search/quick-Search',
component: () =>
import('../views/quick-Search/quick-Search.vue'),
meta: { title: '快速查询', activeMenu: '/quick-Search/quick-Search' }
}
]
}, {
// 基因管理
path: '/geneMgmt',
component: Layout,
children: [
{
path: '/geneMgmt/SPN',
component: () =>
import('../views/geneMgmt/SPN.vue'),
meta: { title: 'SNP位点管理', activeMenu: '/geneMgmt/SPN' }
},
{
path: '/geneMgmt/SPNPanel',
component: () =>
import('../views/geneMgmt/SPNPanel.vue'),
meta: { title: 'SNP Panel位点管理', activeMenu: '/geneMgmt/SPNPanel' }
},
{
path: '/geneMgmt/sequence',
component: () =>
import('../views/geneMgmt/sequence.vue'),
meta: { title: '原始测序数据', activeMenu: '/geneMgmt/sequence' }
}
]
},
{
// 繁育管理
path: '/breedMgmt',
component: Layout,
children: [
{
path: '/breedMgmt/BLUP',
component: () =>
import('../views/breedMgmt/BLUP.vue'),
meta: { title: 'BLUP', activeMenu: '/breedMgmt/BLUP' }
},
{
path: '/breedMgmt/paternityTest',
component: () =>
import('../views/breedMgmt/paternityTest.vue'),
meta: { title: '亲子鉴定', activeMenu: '/breedMgmt/paternityTest' }
},
{
path: '/breedMgmt/lineage',
component: () =>
import('../views/breedMgmt/lineage.vue'),
meta: { title: '血统管理', activeMenu: '/breedMgmt/lineage' }
}
]
},
{
// 进化分析
path: '/phylogeneticAnalysis',
component: Layout,
children: [
{
path: '/phylogeneticAnalysis/evolutionaryTree',
component: () =>
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' }
},
]
},
{
// 遗传病风险
@@ -145,17 +143,24 @@ const routes = [
}
]
},
{
// 快速查询
path: '/quick-Search/quick-Search',
// 品种资源
path: '/variety-resources',
component: Layout,
children: [
{
path: '/quick-Search/quick-Search',
path: '/variety-resources/variety-resources',
component: () =>
import('../views/quick-Search/quick-Search.vue'),
meta: { title: '快速查询', activeMenu: '/quick-Search/quick-Search' }
}
import('../views/variety-resources/variety-resources.vue'),
meta: { title: '品种资源', activeMenu: '/variety-resources/variety-resources' }
},
{
path: '/variety-resources/pig-list',
component: () =>
import('../views/variety-resources/pig-list.vue'),
meta: { title: '品种猪', activeMenu: '/variety-resources/pig-list' }
},
]
}
]
@@ -165,7 +170,6 @@ const router = new VueRouter({
})
// 前置路由守卫
router.beforeEach((to, from, next) => {
// to到哪里取 from 从哪里来 next 放行
const token = local.get('token_sd')
if (to.meta.title) { // 修改总标题
document.title = '基芯农育种' + '-' + to.meta.title // routes数组中--meta是关键
@@ -176,7 +180,8 @@ router.beforeEach((to, from, next) => {
if (to.path === '/login') {
next()
}
next('/login')
}
})
}
// next('/login')
)
export default router

View File

@@ -103,10 +103,11 @@
class="demo-ruleForm"
style="padding-left: 20px; box-sizing: border-box"
>
<el-form-item label="名称" prop="pic">
<div style="height: 40px"></div>
<el-form-item label="名称" prop="pic1">
<el-input
type="text"
v-model="searchForm.pic"
v-model="searchForm.pic1"
placeholder="请输入名称"
/>
</el-form-item>
@@ -158,11 +159,24 @@
</span>
</el-dialog>
<el-dialog :visible.sync="dialogVisible" width="40%">
<div
style="
color: black;
font-weight: bold;
font-size: 20px;
padding-left: 2%;
border-bottom: 2px solid #f1f1f1;
padding-bottom: 18px;
margin-bottom: 20px;
"
>
平台认证
</div>
<el-form
:model="searchForm"
status-icon
ref="searchForm"
label-width="110px"
label-width="80px"
class="demo-ruleForm"
style="padding-left: 20px; box-sizing: border-box"
>
@@ -170,7 +184,7 @@
<el-input
type="text"
v-model="searchForm.pic"
placeholder="请输入平台名称"
placeholder="请输入平台名称(爱农智慧牧场)"
/>
</el-form-item>
<el-form-item
@@ -181,7 +195,7 @@
<el-input
type="text"
v-model="searchForm.title"
placeholder="请输入手机号"
placeholder="请输入手机号(爱农智慧牧场)"
/>
</el-form-item>
<el-form-item
@@ -192,7 +206,7 @@
<el-input
type="password"
v-model="searchForm.address"
placeholder="请输入密码"
placeholder="请输入密码(爱农智慧牧场)"
/>
</el-form-item>
<el-form-item
@@ -209,7 +223,7 @@
<el-input
type="text"
v-model="searchForm.address1"
placeholder="请输入获取编码"
placeholder="请输入获取数据唯一编码"
/>
</el-form-item>
</el-form>
@@ -233,7 +247,8 @@ export default {
dialogVisible: false,
searchForm: {
farm: '',
number: ''
number: '',
pic: '爱农智慧牧场'
},
evalue: '',
tableData: [
@@ -426,4 +441,7 @@ export default {
/deep/.el-form-item__content {
margin-bottom: 20px;
}
/deep/.el-dialog__body {
padding: 0px 10px 10px 10px;
}
</style>

View File

@@ -66,15 +66,15 @@
></el-table-column>
<el-table-column label="详情">
<template slot-scope="scope">
<el-button size="mini" type="text" class="detail-btn"
><a
target="_blank"
href="https://smart-1259258654.cos.ap-guangzhou.myqcloud.com/pdf/99715011920%E7%89%9B%E9%81%97%E4%BC%A0%E7%97%85%E5%9F%BA%E5%9B%A0%E6%A3%80%E6%B5%8B%E6%8A%A5%E5%91%8A.pdf"
>查看</a
></el-button
>
</template>
<!-- <template slot-scope="scope"> -->
<el-button size="mini" type="text" class="detail-btn"
><a
target="_blank"
href="https://smart-1259258654.cos.ap-guangzhou.myqcloud.com/pdf/82010000945ABLUP%E8%82%B2%E7%A7%8D%E6%8A%A5%E5%91%8A.pdf"
>预览</a
></el-button
>
<!-- </template> -->
</el-table-column>
</el-table>
<el-table
@@ -95,15 +95,14 @@
sortable
></el-table-column>
<el-table-column label="详情">
<template slot-scope="scope">
<el-button
size="mini"
type="text"
@click="download(scope.row.id)"
class="detail-btn"
>查看</el-button
<el-button size="mini" type="text" class="detail-btn">
<a
href="https://smart-1259258654.cos.ap-guangzhou.myqcloud.com/pdf/82010000923GBLUP%E8%82%B2%E7%A7%8D%E6%8A%A5%E5%91%8A.pdf"
target="_blank"
>
</template>
预览
</a>
</el-button>
</el-table-column>
</el-table>
<el-table
@@ -124,15 +123,13 @@
sortable
></el-table-column>
<el-table-column label="详情">
<template slot-scope="scope">
<el-button
size="mini"
type="text"
@click="download(scope.row.id)"
class="detail-btn"
>查看</el-button
>
</template>
<el-button size="mini" type="text" class="detail-btn">
<a
href="https://smart-1259258654.cos.ap-guangzhou.myqcloud.com/pdf/82010000995ssGBLUP%E8%82%B2%E7%A7%8D%E6%8A%A5%E5%91%8A.pdf"
target="_blank"
>预览</a
></el-button
>
</el-table-column>
</el-table>
<div class="page-box">
@@ -180,78 +177,130 @@ export default {
o: '255.85'
},
{
id: 2,
id: 1,
a: '若尔盖',
b: '82010000991',
c: '雌',
d: '90',
e: '130',
f: '155',
g: '192',
h: '19',
i: '567',
j: '9.9',
k: '41.2',
l: '4490',
m: '4.0',
d: '86',
e: '133',
f: '160',
g: '196',
h: '20',
i: '569',
j: '10.3',
k: '41.36',
l: '4560',
m: '4',
n: '3.2',
o: '252.85'
o: '252.16'
},
{
id: 3,
id: 2,
a: '若尔盖',
b: '82010000992',
c: '雌',
d: '91',
d: '95',
e: '130',
f: '155',
g: '192',
h: '19',
i: '567',
j: '9.9',
k: '41.2',
l: '4490',
m: '4.0',
n: '3.2',
o: '252.85'
g: '199',
h: '21',
i: '587',
j: '10.5',
k: '43.69',
l: '4578',
m: '4.2',
n: '3.3',
o: '259.69'
},
{
id: 6,
id: 3,
a: '若尔盖',
b: '82010000993',
c: '雌',
d: '98',
e: '140',
f: '175',
g: '199',
h: '20',
i: '597',
j: '12.9',
k: '47.2',
l: '4690',
m: '4.9',
n: '3.4',
o: '259.85'
d: '84',
e: '128',
f: '154',
g: '200',
h: '19',
i: '566',
j: '10.8',
k: '41.58',
l: '4589',
m: '4',
n: '3.5',
o: '250.76'
},
{
id: 4,
a: '若尔盖',
b: '82010000994',
c: '雌',
d: '96',
e: '140',
f: '185',
g: '199',
h: '20',
i: '597',
j: '12.9',
k: '47.2',
l: '4800',
m: '4.9',
d: '89',
e: '129',
f: '159',
g: '197',
h: '18',
i: '599',
j: '11',
k: '41.36',
l: '4578',
m: '4.3',
n: '3.4',
o: '254.85'
o: '264.34'
},
{
id: 5,
a: '若尔盖',
b: '82010000995',
c: '雌',
d: '96',
e: '126',
f: '156',
g: '192',
h: '20',
i: '578',
j: '9.9',
k: '40.86',
l: '4600',
m: '4',
n: '3.2',
o: '255.24'
},
{
id: 6,
a: '若尔盖',
b: '82010000996',
c: '雌',
d: '84',
e: '130',
f: '155',
g: '193',
h: '22',
i: '589',
j: '10.3',
k: '42.59',
l: '4523',
m: '4.2',
n: '3.4',
o: '260.27'
},
{
id: 7,
a: '若尔盖',
b: '82010000997',
c: '雌',
d: '87',
e: '129',
f: '160',
g: '195',
h: '24',
i: '598',
j: '10.5',
k: '44.25',
l: '4538',
m: '4',
n: '3.2',
o: '238.70'
}
],
tableDataGBLUP: [
@@ -261,23 +310,23 @@ export default {
c: '雌',
d: '6',
e: '血液',
f: '1'
f: '-10'
},
{
a: '若尔盖',
b: '82010000991',
c: '雌',
d: '8',
d: '6',
e: '血液',
f: '3'
f: '50'
},
{
a: '若尔盖',
b: '82010000992',
c: '雌',
d: '7',
d: '6',
e: '血液',
f: '5'
f: '-10'
},
{
a: '若尔盖',
@@ -285,7 +334,7 @@ export default {
c: '雌',
d: '6',
e: '血液',
f: '4'
f: '40'
},
{
a: '若尔盖',
@@ -293,41 +342,57 @@ export default {
c: '雌',
d: '6',
e: '血液',
f: '9'
f: '77'
},
{
a: '若尔盖',
b: '82010000995',
c: '雌',
d: '6',
e: '血液',
f: '-10'
},
{
a: '若尔盖',
b: '82010000996',
c: '雌',
d: '6',
e: '血液',
f: '20'
},
{
a: '若尔盖',
b: '82010000997',
c: '雌',
d: '6',
e: '血液',
f: '-10'
}
],
tableDatassGBLUP: [
{
a: '若尔盖',
b: '82010000991',
c: '雌',
d: '8',
e: '血液',
f: '3'
},
{
a: '若尔盖',
b: '82010000994',
c: '雌',
d: '6',
e: '血液',
f: '8'
},
{
a: '若尔盖',
b: '82010000992',
c: '雌',
d: '7',
e: '血液',
f: '5'
},
{
a: '若尔盖',
b: '82010000990',
c: '雌',
d: '6',
e: '血液',
f: '6'
f: '80'
},
{
a: '若尔盖',
b: '82010000991',
c: '雌',
d: '6',
e: '血液',
f: '0'
},
{
a: '若尔盖',
b: '82010000992',
c: '雌',
d: '6',
e: '血液',
f: '20'
},
{
a: '若尔盖',
@@ -335,14 +400,46 @@ export default {
c: '雌',
d: '6',
e: '血液',
f: '4'
f: '76'
},
{
a: '若尔盖',
b: '82010000994',
c: '雌',
d: '6',
e: '血液',
f: '-10'
},
{
a: '若尔盖',
b: '82010000995',
c: '雌',
d: '6',
e: '血液',
f: '30'
},
{
a: '若尔盖',
b: '82010000996',
c: '雌',
d: '6',
e: '血液',
f: '-1'
},
{
a: '若尔盖',
b: '82010000997',
c: '雌',
d: '6',
e: '血液',
f: '60'
}
],
form: {
page: 1,
pagesize: 20
},
total: 5
total: 8
}
},
methods: {
@@ -406,4 +503,12 @@ export default {
/deep/ .cell {
font-weight: normal;
}
/deep/ .el-radio-button__orig-radio:checked + .el-radio-button__inner {
background-color: #67c23a;
border-color: #67c23a;
}
/deep/ .el-radio-button__inner:hover {
color: #67c23a;
}
</style>

View File

@@ -38,18 +38,17 @@
<el-table-column prop="c" label="性别"></el-table-column>
<el-table-column prop="d" label="月龄"></el-table-column>
<el-table-column prop="e" label="样本"></el-table-column>
<el-table-column prop="d" label="疑是父母编号"></el-table-column>
<el-table-column prop="e" label="相似度"></el-table-column>
<el-table-column prop="f" label="疑是父母编号"></el-table-column>
<el-table-column prop="g" label="相似度" sortable></el-table-column>
<el-table-column label="亲缘关系结果">
<template slot-scope="scope">
<el-button
size="mini"
type="text"
@click="download(scope.row.id)"
class="detail-btn"
>查看</el-button
>
</template>
<el-button size="mini" type="text" class="detail-btn"
><a
href="https://smart-1259258654.cos.ap-guangzhou.myqcloud.com/pdf/82010000990%E5%88%86%E5%AD%90%E8%82%B2%E7%A7%8D%E4%BA%B2%E5%AD%90%E9%89%B4%E5%AE%9A.pdf"
target="_blank"
rel="noopener noreferrer"
>预览</a
></el-button
>
</el-table-column>
</el-table>
<div class="page-box">
@@ -80,59 +79,89 @@ export default {
{
id: 0,
a: '若尔盖',
b: '82010000991',
b: '82010000990',
c: '雌',
d: '8',
d: '6',
e: '血液',
f: '82020000981',
g: '99.99%'
f: '82020000991',
g: '99.89%'
},
{
id: 1,
a: '若尔盖',
b: '82010000991',
c: '雌',
d: '6',
e: '血液',
f: '82020000992',
g: '67%'
},
{
id: 2,
a: '若尔盖',
b: '82010000992',
c: '雌',
d: '6',
e: '血液',
f: '82020000986',
g: '69.99%'
f: '82020000993',
g: '96.32%'
},
{
id: 2,
id: 3,
a: '若尔盖',
b: '82010000993',
c: '雌',
d: '6',
e: '血液',
f: '82020000994',
g: '98.96%'
},
{
id: 4,
a: '若尔盖',
b: '82010000994',
c: '雌',
d: '6',
e: '血液',
f: '82020000985',
g: '79.99%'
f: '82020000995',
g: '67%'
},
{
id: 3,
id: 5,
a: '若尔盖',
b: '82010000995',
c: '雌',
d: '6',
e: '血液',
f: '82020000989',
g: '98.99%'
f: '82020000996',
g: '97.65%'
},
{
id: 3,
id: 6,
a: '若尔盖',
b: '82010000998',
b: '82010000996',
c: '雌',
d: '6',
e: '血液',
f: '82020000976',
g: '78.99%'
f: '82020000997',
g: '67%'
},
{
id: 7,
a: '若尔盖',
b: '82010000997',
c: '雌',
d: '6',
e: '血液',
f: '82020000998',
g: '96.23%'
}
],
form: {
page: 1,
pagesize: 20
},
total: 5
total: 8
}
},
methods: {
@@ -153,10 +182,10 @@ export default {
this.form.page = parseInt(val)
},
download(id) {
this.$message({
message: '下载成功',
type: 'success'
})
// this.$message({
// message: '下载成功',
// type: 'success'
// })
}
}
}

View File

@@ -62,7 +62,7 @@
<el-pagination
@size-change="handleSizeChange"
@current-change="handleCurrentChange"
:page-sizes="[20, 50, 100]"
:page-sizes="[10, 50, 100]"
layout="total, sizes, prev, pager, next, jumper"
:current-page="form.page"
:page-size="form.pagesize"
@@ -85,24 +85,73 @@ export default {
tableData: [
{
id: 1,
farm: '爱农养殖场',
farm: '若尔盖',
number: '82010000990',
age: '6',
result: '携带'
},
{
id: 2,
farm: '小新养殖场',
farm: '若尔盖',
number: '82010000991',
age: '6',
result: '未携带'
},
{
id: 3,
farm: '若尔盖',
number: '82010000992',
age: '6',
result: '携带'
},
{
id: 4,
farm: '若尔盖',
number: '82010000993',
age: '6',
result: '未携带'
},
{
id: 5,
farm: '若尔盖',
number: '82010000994',
age: '6',
result: '未携带'
},
{
id: 6,
farm: '若尔盖',
number: '82010000995',
age: '6',
result: '未携带'
},
{
id: 7,
farm: '若尔盖',
number: '82010000996',
age: '6',
result: '未携带'
},
{
id: 8,
farm: '若尔盖',
number: '82010000997',
age: '6',
result: '未携带'
},
{
id: 9,
farm: '若尔盖',
number: '82010000973',
age: '6',
result: '未携带'
}
],
form: {
page: 1,
pagesize: 20
},
total: 2
total: 9
}
},
methods: {
@@ -130,6 +179,12 @@ export default {
} else {
return 'textAlign: center'
}
},
// 查看
detailClick() {
window.open(
'https://smart-1259258654.cos.ap-guangzhou.myqcloud.com/pdf/99715011920%E7%89%9B%E9%81%97%E4%BC%A0%E7%97%85%E5%9F%BA%E5%9B%A0%E6%A3%80%E6%B5%8B%E6%8A%A5%E5%91%8A.pdf'
)
}
}
}

View File

@@ -9,7 +9,7 @@
label-width="auto"
size="mini"
>
<el-form-item label="标记编号">
<el-form-item label="标记编号" style="margin-bottom: 10px">
<el-input
v-model="searchForm.a"
placeholder="请输入标记编号"
@@ -154,8 +154,8 @@ export default {
c: 'ARS-UCD1.2',
d: '10',
e: '10011109',
f: 'T',
g: 'G',
f: 'G',
g: 'C',
h: '--'
},
{

View File

@@ -10,14 +10,11 @@
size="mini"
>
<el-form-item label="Panel">
<el-input
v-model="searchForm.farm"
placeholder="请输入Panel"
></el-input>
<el-input v-model="searchForm.a" placeholder="请输入Panel"></el-input>
</el-form-item>
<el-form-item label="检测平台">
<el-input
v-model="searchForm.farm"
v-model="searchForm.b"
placeholder="请输入检测平台"
></el-input>
</el-form-item>
@@ -40,15 +37,9 @@
<el-table-column prop="d" label="位点数目"></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="download(scope.row.id)"
class="detail-btn"
>详情</el-button
>
</template>
<el-button size="mini" type="text" class="detail-btn">
<router-link :to="{ path: '/geneMgmt/SPN' }">详情</router-link>
</el-button>
</el-table-column>
</el-table>
<div class="page-box">
@@ -72,24 +63,88 @@ export default {
data() {
return {
searchForm: {
farm: '',
number: ''
a: '',
b: ''
},
tableData: [
{
id: 1,
a: '',
a: 'test_1',
b: 'illumina',
c: '',
d: '',
e: ''
c: 'ARS-UCD1.2',
d: '1011',
e: '--'
},
{
id: 2,
a: 'test_2',
b: 'illumina',
c: 'ARS-UCD1.2',
d: '2365',
e: '--'
},
{
id: 3,
a: 'test_3',
b: 'illumina',
c: 'ARS-UCD1.2',
d: '2589',
e: '--'
},
{
id: 4,
a: 'test_4',
b: 'illumina',
c: 'ARS-UCD1.2',
d: '4568',
e: '--'
},
{
id: 5,
a: 'test_5',
b: 'illumina',
c: 'ARS-UCD1.2',
d: '2587',
e: '--'
},
{
id: 6,
a: 'test_6',
b: 'illumina',
c: 'ARS-UCD1.2',
d: '1452',
e: '--'
},
{
id: 7,
a: 'test_7',
b: 'illumina',
c: 'ARS-UCD1.2',
d: '7854',
e: '--'
},
{
id: 8,
a: 'test_8',
b: 'illumina',
c: 'ARS-UCD1.2',
d: '5894',
e: '--'
},
{
id: 9,
a: 'test_9',
b: 'illumina',
c: 'ARS-UCD1.2',
d: '3354',
e: '--'
}
],
form: {
page: 1,
pagesize: 20
},
total: 2
total: 9
}
},
methods: {

View File

@@ -35,15 +35,14 @@
<el-table-column prop="d" label="品种"></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="download(scope.row.id)"
class="detail-btn"
>下载</el-button
<el-button size="mini" type="text" class="detail-btn">
<a
href="https://smart-1259258654.cos.ap-guangzhou.myqcloud.com/pdf/CX_82010000990.txt"
target="_blank"
rel="noopener noreferrer"
>下载</a
>
</template>
</el-button>
</el-table-column>
</el-table>
<div class="page-box">
@@ -82,7 +81,7 @@ export default {
{
id: 1,
a: 'CX_82010000991',
b: '8.6MB',
b: '11.05MB',
c: '2024-03-06',
d: '西门塔尔',
e: '已上传'
@@ -90,7 +89,7 @@ export default {
{
id: 2,
a: 'CX_82010000992',
b: '21.23MB',
b: '12.36MB',
c: '2024-03-06',
d: '华西牛',
e: '已上传'
@@ -98,7 +97,7 @@ export default {
{
id: 3,
a: 'CX_82010000993',
b: '13.21MB',
b: '14.78MB',
c: '2024-03-06',
d: '西门塔尔',
e: '已上传'
@@ -106,17 +105,49 @@ export default {
{
id: 4,
a: 'CX_82010000994',
b: '15.3MB',
b: '14.36MB',
c: '2024-03-06',
d: '西藏高山牦牛',
e: '已上传'
},
{
id: 5,
a: 'CX_82010000995',
b: '18.64MB',
c: '2024-03-06',
d: '西门塔尔',
e: '已上传'
},
{
id: 6,
a: 'CX_82010000996',
b: '15.78MB',
c: '2024-03-06',
d: '西门塔尔',
e: '已上传'
},
{
id: 7,
a: 'CX_82010000997',
b: '13.85MB',
c: '2024-03-06',
d: '西门塔尔',
e: '已上传'
},
{
id: 8,
a: 'CX_82010000998',
b: '16.12MB',
c: '2024-03-06',
d: '西门塔尔',
e: '已上传'
}
],
form: {
page: 1,
pagesize: 20
},
total: 5
total: 9
}
},
methods: {

View File

@@ -7,7 +7,7 @@
<div class="echartsdiv">
<!-- 总资源展示两个图表 -->
<div id="Inventory" class="chartstyle"></div>
<div id="Inventory1" class="chartstyle"></div>
<div id="Inventory1" class="chartstylepc"></div>
</div>
</div>
<div class="layoutsdiv">
@@ -28,7 +28,7 @@
<div class="tabsdata">
<div class="tabs">
<div>平均育种值</div>
<div>132</div>
<div>258</div>
</div>
</div>
<div style="text-align: center">
@@ -46,7 +46,7 @@
<div style="display: flex">
<img
style="width: 100%"
src="https://smart-1251449951.cos.ap-guangzhou.myqcloud.com/iot_breed/farm/2024/08/303d04e7494f5e595cc624c05e03e57c4d.jpg"
src="https://smart-1251449951.cos.ap-guangzhou.myqcloud.com/iot_breed/farm/2024/08/3045dfe9ebb60507a75748a7c58393a0da.jpg"
alt=""
/>
<!-- <div
@@ -80,7 +80,7 @@
<!-- 遗传病风险警告图表 -->
<div id="Inventory3" class="chartstyle3"></div>
<div style="font-weight: 600; width: 100%">
群体遗传比风险概
群体遗传比风险概
</div>
</div>
<div class="flexdiv">
@@ -157,12 +157,11 @@ export default {
legend: {
left: 'center',
top: 'bottom',
data: ['西门塔尔牛', '九龙牦牛', '安格斯牛', '黄牛', '荷斯坦牛']
},
series: [
{
type: 'pie',
radius: [30, 110],
radius: [30, 70],
roseType: 'area',
data: [
{ value: 40, name: '西门塔尔牛' },
@@ -273,6 +272,10 @@ export default {
height: 400px;
text-align: center;
}
.chartstylepc {
height: 400px;
text-align: center;
}
.chartstyle2 {
height: 350px;
text-align: center;
@@ -322,7 +325,10 @@ export default {
width: 47% !important;
}
.chartstyle {
height: 300px !important;
height: 380px !important;
}
.chartstylepc {
height: 380px !important;
}
.chartstyle2 {
height: 310px !important;

View File

@@ -11,8 +11,8 @@
<el-image
class="el-img-box"
v-else
style="height: 72px; width: 80px"
src="https://smart-1251449951.cos.ap-guangzhou.myqcloud.com/youpin/20240724/xl34jq31yvdzd73b5im9.png"
style="height: 72px; width: 100%; background-color: white"
src="https://smart-1251449951.cos.ap-guangzhou.myqcloud.com/iot_breed/farm/2024/08/304274395c99e45476a1c783cc806e72b8.jpg"
fit="cover"
></el-image>
</div>
@@ -24,29 +24,30 @@
:unique-opened="true"
>
<el-menu-item index="/index/index">
<i class="el-icon-price-tag"></i>
<i class="icon iconfont icon-shouye"></i>
<span slot="title">首页</span>
</el-menu-item>
<el-menu-item index="/disease-resistance/disease-resistance">
<i class="el-icon-orange"></i>
<span slot="title">遗传病风险</span>
<el-menu-item index="/quick-Search/quick-Search">
<i class="icon iconfont icon-chaxuncaijia"></i>
<span slot="title">快速查询</span>
</el-menu-item>
<el-submenu index="66">
<template slot="title">
<i class="el-icon-printer"></i>
<i class="icon iconfont icon-jiyinjianceke"></i>
<span slot="title">基因管理</span>
</template>
<el-menu-item-group>
<el-menu-item index="/geneMgmt/SPN">SPN位点管理</el-menu-item>
<el-menu-item index="/geneMgmt/SPN">SNP位点管理</el-menu-item>
<el-menu-item index="/geneMgmt/SPNPanel"
>SPN Panel位点管理</el-menu-item
>SNP Panel位点管理</el-menu-item
>
<el-menu-item index="/geneMgmt/sequence">原始测序数据</el-menu-item>
</el-menu-item-group>
</el-submenu>
<el-submenu index="67">
<template slot="title">
<i class="el-icon-news"></i>
<i class="icon iconfont icon-nannvbili"></i>
<span slot="title">繁育管理</span>
</template>
<el-menu-item-group>
@@ -57,22 +58,32 @@
</el-submenu>
<el-submenu index="68">
<template slot="title">
<i class="el-icon-suitcase"></i>
<i class="icon iconfont icon-fenxi-05"></i>
<span slot="title">进化分析</span>
</template>
<el-menu-item-group>
<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="/archive-information/archive-information">
<i class="el-icon-document"></i>
<span slot="title">档案信息</span>
<el-menu-item index="/disease-resistance/disease-resistance">
<i class="icon iconfont icon-icon_bingjia"></i>
<span slot="title">遗传病风险</span>
</el-menu-item>
<el-menu-item index="/quick-Search/quick-Search">
<i class="el-icon-folder-checked"></i>
<span slot="title">快速查询</span>
<el-menu-item index="/variety-resources/variety-resources">
<i class="icon iconfont icon-pinzhong"></i>
<span slot="title">品种资源</span>
</el-menu-item>
<el-menu-item index="/archive-information/archive-information">
<i class="icon iconfont icon-dangan"></i>
<span slot="title">档案信息</span>
</el-menu-item>
</el-menu>
</div>
@@ -129,7 +140,7 @@ export default {
.logo {
max-width: 220px;
height: 80px;
height: 72px;
color: #fff;
font-size: 25px;
font-weight: bold;
@@ -164,7 +175,7 @@ export default {
.icon {
vertical-align: middle;
font-size: 23px;
font-size: 18px;
margin-right: 5px;
}

View 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>

View File

@@ -11,13 +11,13 @@
>
<el-form-item label="养殖场">
<el-input
v-model="searchForm.farm"
v-model="searchForm.a"
placeholder="请输入养殖场"
></el-input>
</el-form-item>
<el-form-item label="标记编号">
<el-input
v-model="searchForm.farm"
v-model="searchForm.b"
placeholder="请输入标记编号"
></el-input>
</el-form-item>
@@ -40,15 +40,14 @@
<el-table-column prop="d" label="创建时间"></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="download(scope.row.id)"
class="detail-btn"
>查看</el-button
<el-button size="mini" type="text" class="detail-btn">
<a
href="https://smart-1259258654.cos.ap-guangzhou.myqcloud.com/pdf/82010000990%E8%BF%9B%E5%8C%96%E6%A0%91%E5%88%86%E6%9E%90%E6%8A%A5%E5%91%8A.pdf"
target="_blank"
rel="noopener noreferrer"
>预览</a
>
</template>
</el-button>
</el-table-column>
</el-table>
<div class="page-box">
@@ -72,8 +71,8 @@ export default {
data() {
return {
searchForm: {
farm: '',
number: ''
a: '',
b: ''
},
tableData: [
{
@@ -81,55 +80,71 @@ export default {
a: '若尔盖',
b: '82010000990',
c: '45MB',
d: '2024.03.06',
d: '2024-03-06',
e: 'PhyML'
},
{
id: 2,
a: '若尔盖',
b: '82010000991',
c: '40MB',
d: '2024.03.06',
c: '46MB',
d: '2024-03-06',
e: 'PhyML'
},
{
id: 3,
a: '若尔盖',
b: '82010000992',
c: '42MB',
d: '2024.03.27',
c: '56MB',
d: '2024-03-06',
e: 'PhyML'
},
{
id: 4,
a: '若尔盖',
b: '82010000993',
c: '35MB',
d: '2024.08.02',
c: '34MB',
d: '2024-03-06',
e: 'PhyML'
},
{
id: 5,
a: '若尔盖',
b: '82010000994',
c: '40MB',
d: '2024.05.03',
c: '29MB',
d: '2024-03-06',
e: 'PhyML'
},
{
id: 6,
a: '若尔盖',
b: '82010000995',
c: '50MB',
d: '2024.04.23',
c: '45MB',
d: '2024-03-06',
e: 'PhyML'
},
{
id: 7,
a: '若尔盖',
b: '82010000996',
c: '38MB',
d: '2024.06.03',
c: '68MB',
d: '2024-03-06',
e: 'PhyML'
},
{
id: 8,
a: '若尔盖',
b: '82010000997',
c: '45MB',
d: '2024-03-06',
e: 'PhyML'
},
{
id: 9,
a: '若尔盖',
b: '82010000998',
c: '47MB',
d: '2024-03-06',
e: 'PhyML'
}
],
@@ -137,7 +152,7 @@ export default {
page: 1,
pagesize: 20
},
total: 2
total: 9
}
},
methods: {

View 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>

View File

@@ -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
@@ -95,26 +115,61 @@
>
<img
style="width: 80%"
src="https://smart-1251449951.cos.ap-guangzhou.myqcloud.com/iot_breed/farm/2024/08/307d7b147050a9475b2580aa1d1ae44476.jpg"
src="https://smart-1251449951.cos.ap-guangzhou.myqcloud.com/iot_breed/farm/2024/08/30934b551c5bab2f2727d4dfa9ccd85a69.jpg"
alt=""
/>
</div>
<el-dialog :visible.sync="dialogVisible" width="40%">
<div style="text-align: center">
<div class="btmstyle">1</div>
<div class="btmstyle">综合分子育种报告</div>
<div class="textstyle">
<div>标记编号:213</div>
<div>养殖场:234</div>
<div>品种信息:43223</div>
<div>标记编号:82010000990</div>
<div>养殖场:若尔盖</div>
<div>品种信息:牦牛</div>
</div>
<div class="textdiv">
<div style="font-weight: bold; padding: 30px 0px 6px 14px">
1. 繁育管理的育种值
</div>
<div class="pl">综合育种值225.85</div>
<div class="pl">性状名称: 外貌评分生长性状产奶性状</div>
<div class="pl">
分析说明:
该个体在生长性能上的优异表现更在经济性能上展现了其潜在的高价值基于此我们强烈推荐将此个体作为未来育种计划中的亲本首选以期望通过其遗传优势孕育出更多具备优良性状的后代
</div>
</div>
<div class="textdiv">
<div style="font-weight: bold; padding: 30px 0px 6px 14px">
2. 进化分析结果中的近交系数
</div>
<div class="pl">近交系数: 0</div>
<div class="pl">
分析说明:
经过精确的遗传评估该个体和82010001456的近交系数计算结果为零意味着它们在遗传上不存在亲缘关系因此这两个个体可以作为无亲缘关系的育种候选者进行交配以产生后代这样的配对有助于避免近交衰退同时促进遗传多样性的保持为育种项目带来潜在的遗传增益
</div>
</div>
<div
style="
text-align: left;
padding: 30px 0px 18px 14px;
font-weight: bold;
"
class="textdiv"
style="border-bottom: 2px solid #ebebeb; padding-bottom: 50px"
>
11
<div style="font-weight: bold; padding: 30px 0px 6px 14px">
3. 携带遗传基因风险警告
</div>
<div class="pl">风险等级:</div>
<div class="pl">
建议措施:
经过专业的基因检测分析确认该个体并未携带任何已知的遗传性疾病相关基因在进行繁育计划时可以放心地将该个体纳入考虑以实现遗传改良的目标
</div>
</div>
</div>
<div
class="textdiv"
style="border-bottom: 2px solid #ebebeb; padding-bottom: 20px"
>
<div style="font-weight: bold; padding: 30px 0px 6px 14px">总结</div>
<div class="pl">
繁育经过严格的遗传评估和基因检测该个体证实具备出色的生长性能和繁殖能力特别值得注意的是基因检测结果表明该个体并未携带任何已知的遗传性疾病相关基因因此我们可以放心地选择此个体作为繁育计划中的亲本以期在维持遗传多样性的同时促进后代群体生产性能的提升和遗传改良
选配该个体和82010001456的近交系数为0不存在亲缘关系可放心进行繁育
</div>
</div>
<span slot="footer" class="dialog-footer">
@@ -128,14 +183,14 @@
</el-dialog>
</div>
</template>
<script>
<script>
export default {
data() {
return {
loading: false,
showtable: false,
dialogVisible: true,
dialogVisible: false,
searchForm: {
a: '',
b: '',
@@ -214,8 +269,19 @@ export default {
detailClick() {
this.$router.push('/phylogeneticAnalysis/evolutionaryTree')
},
report() {
this.dialogVisible = true
detailClickgo() {
this.$router.push('/breedMgmt/BLUP')
},
detailClick1() {
this.$router.push('/disease-resistance/disease-resistance')
},
report(row) {
if (row.b == '82010000990') {
window.open(
'https://smart-1259258654.cos.ap-guangzhou.myqcloud.com/pdf/82010000990%E7%BB%BC%E5%90%88%E5%88%86%E5%AD%90%E8%82%B2%E7%A7%8D%E6%8A%A5%E5%91%8A.pdf',
'_blank'
)
}
},
// 搜索
searchClick() {
@@ -251,8 +317,8 @@ export default {
}
}
</script>
<style lang="less" scoped>
<style lang="less" scoped>
.container-box {
min-height: calc(100vh - 84px);
padding: 15px;
@@ -285,6 +351,9 @@ export default {
.btmstyle {
border-bottom: 2px solid #ebebeb;
padding-bottom: 26px;
font-size: 24px;
font-weight: bold;
color: black;
}
.textstyle {
display: flex;
@@ -292,7 +361,15 @@ export default {
border-bottom: 2px solid #ebebeb;
}
.textstyle div {
margin-right: 15%;
margin-right: 10%;
}
.textdiv div {
text-align: left;
}
.pl {
padding-left: 14px;
padding-bottom: 4px;
line-height: 18px;
}
// table
/deep/.el-table th.el-table__cell {

View File

@@ -0,0 +1,962 @@
<template>
<div class="container-box">
<div class="top-box">
<i
class="el-icon-arrow-left"
style="font-size: 24px"
@click="backClick"
></i>
<div class="top-title"></div>
</div>
<div class="list-box">
<el-table
:data="tableData"
style="width: 100%"
size="mini"
border
stripe
:header-cell-style="{ textAlign: 'center', color: '#606266' }"
:cell-style="{ textAlign: 'center' }"
>
<el-table-column prop="id" label="序号"></el-table-column>
<el-table-column prop="number" label="品种登记号"></el-table-column>
<el-table-column prop="cate" label="畜种名称"></el-table-column>
<el-table-column prop="varieties" label="品种名称"></el-table-column>
<el-table-column label="操作">
<template slot-scope="scope">
<el-button
size="mini"
type="primary"
@click="detailClick(scope.row)"
icon="el-icon-view"
class="detail-btn"
>查看详情</el-button
>
</template>
</el-table-column>
</el-table>
</div>
<el-dialog title="详情" :visible.sync="dialogVisible" width="60%">
<el-descriptions :column="2" border>
<el-descriptions-item
label="品种登记号"
label-class-name="my-label"
content-class-name="my-content"
>X-01-01-001-01</el-descriptions-item
>
<el-descriptions-item
label="畜种名称"
label-class-name="my-label"
content-class-name="my-content"
></el-descriptions-item
>
<el-descriptions-item
label="品种来源"
label-class-name="my-label"
content-class-name="my-content"
>
地方</el-descriptions-item
>
<el-descriptions-item
label="品种名称"
content-class-name="my-content"
label-class-name="my-label"
>
民猪</el-descriptions-item
>
<el-descriptions-item
label="品种英文名"
label-class-name="my-label"
content-class-name="my-content"
></el-descriptions-item>
<el-descriptions-item
label="品种别名"
label-class-name="my-label"
content-class-name="my-content"
>东北民猪</el-descriptions-item
>
<el-descriptions-item
label="类群名称"
label-class-name="my-label"
content-class-name="my-content"
>
</el-descriptions-item>
<el-descriptions-item
label="类群别名"
content-class-name="my-content"
label-class-name="my-label"
>
</el-descriptions-item>
<el-descriptions-item
label="图片(公)"
label-class-name="my-label"
content-class-name="my-content"
>
<el-image
style="width: 80px; height: 50px; overflow: hidden"
:src="boarImage"
fit="contain"
:preview-src-list="[boarImage]"
>
<div
slot="error"
class="image-slot"
style="
width: 50px;
height: 50px;
display: flex;
align-items: center;
justify-content: center;
background-color: #f0f0f0;
"
>
<i class="el-icon-picture-outline"></i>
</div>
</el-image>
</el-descriptions-item>
<el-descriptions-item
label="图片(母)"
content-class-name="my-content"
label-class-name="my-label"
>
<el-image
style="width: 80px; height: 50px; overflow: hidden"
:src="sowImage"
fit="contain"
:preview-src-list="[sowImage]"
>
<div
slot="error"
class="image-slot"
style="
width: 50px;
height: 50px;
display: flex;
align-items: center;
justify-content: center;
background-color: #f0f0f0;
"
>
<i class="el-icon-picture-outline"></i>
</div>
</el-image>
</el-descriptions-item>
<el-descriptions-item
label="影像(公)"
label-class-name="my-label"
content-class-name="my-content"
>
</el-descriptions-item>
<el-descriptions-item
label="影像(母)"
content-class-name="my-content"
label-class-name="my-label"
>
</el-descriptions-item>
<el-descriptions-item
label="图像(公)"
label-class-name="my-label"
content-class-name="my-content"
>
</el-descriptions-item>
<el-descriptions-item
label="图像(母)"
content-class-name="my-content"
label-class-name="my-label"
>
</el-descriptions-item>
<el-descriptions-item
label="照片(群体)"
label-class-name="my-label"
content-class-name="my-content"
>
</el-descriptions-item>
<el-descriptions-item
label="图像(群体)"
content-class-name="my-content"
label-class-name="my-label"
>
</el-descriptions-item>
<el-descriptions-item
label="影像(群体)"
label-class-name="my-label"
content-class-name="my-content"
>
</el-descriptions-item>
<el-descriptions-item
label="引进国家"
content-class-name="my-content"
label-class-name="my-label"
>
</el-descriptions-item>
<el-descriptions-item
label="信息来源"
label-class-name="my-label"
content-class-name="my-content"
>
国家品种志
</el-descriptions-item>
<el-descriptions-item
label="中心产区"
content-class-name="my-content"
label-class-name="my-label"
>
辽宁省岫岩建昌复县海城昌图朝阳吉林省九站桦甸永吉靖宇通化黑龙江省绥滨富锦集贤北安德都双城兰西河北省迁西遵化兴隆丰宁等
</el-descriptions-item>
<el-descriptions-item
label="主要分布区"
label-class-name="my-label"
content-class-name="my-content"
>
东北和华北部分地区
</el-descriptions-item>
<el-descriptions-item
label="最高海拔"
label-class-name="my-label"
content-class-name="my-content"
>
</el-descriptions-item>
<el-descriptions-item
label="最低海拔"
label-class-name="my-label"
content-class-name="my-content"
>
</el-descriptions-item>
<el-descriptions-item
label="气候类型"
label-class-name="my-label"
content-class-name="my-content"
>
温带大陆性季风半温润气候地型
</el-descriptions-item>
<el-descriptions-item
label="地型"
label-class-name="my-label"
content-class-name="my-content"
>以丘陵为主
</el-descriptions-item>
<el-descriptions-item
label="年均温度"
label-class-name="my-label"
content-class-name="my-content"
>
8
</el-descriptions-item>
<el-descriptions-item
label="年最高温度"
label-class-name="my-label"
content-class-name="my-content"
>25
</el-descriptions-item>
<el-descriptions-item
label="年最低温度"
label-class-name="my-label"
content-class-name="my-content"
>
-14
</el-descriptions-item>
<el-descriptions-item
label="相对湿度"
label-class-name="my-label"
content-class-name="my-content"
>
</el-descriptions-item>
<el-descriptions-item
label="年均降水量"
label-class-name="my-label"
content-class-name="my-content"
>
647
</el-descriptions-item>
<el-descriptions-item
label="无霜期"
label-class-name="my-label"
content-class-name="my-content"
>
</el-descriptions-item>
<el-descriptions-item
label="土壤类型"
label-class-name="my-label"
content-class-name="my-content"
>
</el-descriptions-item>
<!-- ----------- -->
<el-descriptions-item
label="作物种类"
label-class-name="my-label"
content-class-name="my-content"
>高粱玉米大豆谷子棉花芝麻向日葵甜菜等
</el-descriptions-item>
<el-descriptions-item
label="生态适应性"
label-class-name="my-label"
content-class-name="my-content"
>适应性强
</el-descriptions-item>
<el-descriptions-item
label="抗病能力"
label-class-name="my-label"
content-class-name="my-content"
>
</el-descriptions-item>
<el-descriptions-item
label="独特性状"
label-class-name="my-label"
content-class-name="my-content"
>抗寒能力强
</el-descriptions-item>
<el-descriptions-item
label="典型生态影像"
label-class-name="my-label"
content-class-name="my-content"
>
</el-descriptions-item>
<el-descriptions-item
label="填报人"
label-class-name="my-label"
content-class-name="my-content"
>
</el-descriptions-item>
<el-descriptions-item
label="填报单位"
label-class-name="my-label"
content-class-name="my-content"
>中国农业科学院畜牧研究所
</el-descriptions-item>
<el-descriptions-item
label="更新日期 "
label-class-name="my-label"
content-class-name="my-content"
>
</el-descriptions-item>
<el-descriptions-item
label="采集日期"
label-class-name="my-label"
content-class-name="my-content"
>01/01/1982
</el-descriptions-item>
<el-descriptions-item
label="群体总数"
label-class-name="my-label"
content-class-name="my-content"
>850
</el-descriptions-item>
<el-descriptions-item
label="公畜数量"
label-class-name="my-label"
content-class-name="my-content"
>
</el-descriptions-item>
<el-descriptions-item
label="配种公畜数量"
label-class-name="my-label"
content-class-name="my-content"
>
</el-descriptions-item>
<el-descriptions-item
label="母畜数量"
label-class-name="my-label"
content-class-name="my-content"
>
</el-descriptions-item>
<el-descriptions-item
label="繁殖母畜数量"
label-class-name="my-label"
content-class-name="my-content"
>2
</el-descriptions-item>
<el-descriptions-item
label="品种杂交比例"
label-class-name="my-label"
content-class-name="my-content"
>
</el-descriptions-item>
<el-descriptions-item
label="人工授精公畜"
label-class-name="my-label"
content-class-name="my-content"
>
</el-descriptions-item>
<el-descriptions-item
label="人工授精母畜"
label-class-name="my-label"
content-class-name="my-content"
>
</el-descriptions-item>
<el-descriptions-item
label="保护等级"
label-class-name="my-label"
content-class-name="my-content"
>
</el-descriptions-item>
<el-descriptions-item
label="保护方法"
label-class-name="my-label"
content-class-name="my-content"
>
</el-descriptions-item>
<el-descriptions-item
label="濒危状态"
label-class-name="my-label"
content-class-name="my-content"
>
</el-descriptions-item>
<el-descriptions-item
label="濒危依据及说明"
label-class-name="my-label"
content-class-name="my-content"
>
</el-descriptions-item>
<el-descriptions-item
label="体貌概述"
label-class-name="my-label"
content-class-name="my-content"
>
头中等大面直耳大下垂体躯扁平背腰窄狭臀部斜四肢粗壮全身被毛黑色毛密而长猪鬃较多冬季密生绒毛起防寒保温作用
</el-descriptions-item>
<el-descriptions-item
label="体型"
label-class-name="my-label"
content-class-name="my-content"
>体躯扁平背腰窄狭臀部倾斜四肢粗壮
</el-descriptions-item>
<el-descriptions-item
label="毛色"
label-class-name="my-label"
content-class-name="my-content"
>全身被毛黑色毛密而长
</el-descriptions-item>
<el-descriptions-item
label="肤色"
label-class-name="my-label"
content-class-name="my-content"
>
</el-descriptions-item>
<el-descriptions-item
label="头型"
label-class-name="my-label"
content-class-name="my-content"
>头中等大面直长
</el-descriptions-item>
<el-descriptions-item
label="角型"
label-class-name="my-label"
content-class-name="my-content"
>
</el-descriptions-item>
<el-descriptions-item
label="耳型"
label-class-name="my-label"
content-class-name="my-content"
>耳大下垂
</el-descriptions-item>
<el-descriptions-item
label="乳头个数"
label-class-name="my-label"
content-class-name="my-content"
>14
</el-descriptions-item>
<el-descriptions-item
label="体高(公)"
label-class-name="my-label"
content-class-name="my-content"
>86
</el-descriptions-item>
<el-descriptions-item
label="体斜长(公)"
label-class-name="my-label"
content-class-name="my-content"
>148
</el-descriptions-item>
<el-descriptions-item
label="胸围(公)"
label-class-name="my-label"
content-class-name="my-content"
>139
</el-descriptions-item>
<el-descriptions-item
label="体重(公)"
label-class-name="my-label"
content-class-name="my-content"
>195
</el-descriptions-item>
<el-descriptions-item
label="体高(母)"
label-class-name="my-label"
content-class-name="my-content"
>82
</el-descriptions-item>
<el-descriptions-item
label="体斜长(母)"
label-class-name="my-label"
content-class-name="my-content"
>141
</el-descriptions-item>
<el-descriptions-item
label="胸围(母)"
label-class-name="my-label"
content-class-name="my-content"
>132
</el-descriptions-item>
<el-descriptions-item
label="体重(母)"
label-class-name="my-label"
content-class-name="my-content"
>151
</el-descriptions-item>
<el-descriptions-item
label="独特特征"
label-class-name="my-label"
content-class-name="my-content"
>
</el-descriptions-item>
<el-descriptions-item
label="性成熟日龄(公)"
label-class-name="my-label"
content-class-name="my-content"
>90
</el-descriptions-item>
<el-descriptions-item
label="配种日龄(公)"
label-class-name="my-label"
content-class-name="my-content"
>270
</el-descriptions-item>
<el-descriptions-item
label="性成熟日龄(母)"
label-class-name="my-label"
content-class-name="my-content"
>120
</el-descriptions-item>
<el-descriptions-item
label="配种日龄(母)"
label-class-name="my-label"
content-class-name="my-content"
>240
</el-descriptions-item>
<el-descriptions-item
label="发情月份"
label-class-name="my-label"
content-class-name="my-content"
>全年多次发情
</el-descriptions-item>
<el-descriptions-item
label="发情周期"
label-class-name="my-label"
content-class-name="my-content"
>21
</el-descriptions-item>
<el-descriptions-item
label="怀孕期"
label-class-name="my-label"
content-class-name="my-content"
>114
</el-descriptions-item>
<el-descriptions-item
label="初产仔数"
label-class-name="my-label"
content-class-name="my-content"
>11
</el-descriptions-item>
<el-descriptions-item
label="经产仔数"
label-class-name="my-label"
content-class-name="my-content"
>12
</el-descriptions-item>
<el-descriptions-item
label="初生重(公)"
label-class-name="my-label"
content-class-name="my-content"
>
</el-descriptions-item>
<el-descriptions-item
label="初生重(母)"
label-class-name="my-label"
content-class-name="my-content"
>
</el-descriptions-item>
<el-descriptions-item
label="断奶日龄"
label-class-name="my-label"
content-class-name="my-content"
>60
</el-descriptions-item>
<el-descriptions-item
label="断奶重"
label-class-name="my-label"
content-class-name="my-content"
>
</el-descriptions-item>
<el-descriptions-item
label="断奶窝重"
label-class-name="my-label"
content-class-name="my-content"
>120
</el-descriptions-item>
<el-descriptions-item
label="断奶活仔数"
label-class-name="my-label"
content-class-name="my-content"
>9.7
</el-descriptions-item>
<el-descriptions-item
label="空怀天数"
label-class-name="my-label"
content-class-name="my-content"
>
</el-descriptions-item>
<el-descriptions-item
label="繁殖率"
label-class-name="my-label"
content-class-name="my-content"
>
</el-descriptions-item>
<el-descriptions-item
label="繁殖成活率"
label-class-name="my-label"
content-class-name="my-content"
>
</el-descriptions-item>
<el-descriptions-item
label="主要用途"
label-class-name="my-label"
content-class-name="my-content"
>肉脂兼用
</el-descriptions-item>
<el-descriptions-item
label="产奶量"
label-class-name="my-label"
content-class-name="my-content"
>
</el-descriptions-item>
<el-descriptions-item
label="乳脂率"
label-class-name="my-label"
content-class-name="my-content"
>
</el-descriptions-item>
<el-descriptions-item
label="料肉比"
label-class-name="my-label"
content-class-name="my-content"
>
</el-descriptions-item>
<el-descriptions-item
label="屠宰活重"
label-class-name="my-label"
content-class-name="my-content"
>90
</el-descriptions-item>
<el-descriptions-item
label="屠宰日龄"
label-class-name="my-label"
content-class-name="my-content"
>
</el-descriptions-item>
<el-descriptions-item
label="胴体重"
label-class-name="my-label"
content-class-name="my-content"
>
</el-descriptions-item>
<el-descriptions-item
label="屠宰率"
label-class-name="my-label"
content-class-name="my-content"
>72
</el-descriptions-item>
<el-descriptions-item
label="净肉率"
label-class-name="my-label"
content-class-name="my-content"
>
</el-descriptions-item>
<el-descriptions-item
label="瘦肉率"
label-class-name="my-label"
content-class-name="my-content"
>46
</el-descriptions-item>
<el-descriptions-item
label="肉色评分"
label-class-name="my-label"
content-class-name="my-content"
>3
</el-descriptions-item>
<el-descriptions-item
label="肉ph1"
label-class-name="my-label"
content-class-name="my-content"
>6.3
</el-descriptions-item>
<el-descriptions-item
label="肉ph2"
label-class-name="my-label"
content-class-name="my-content"
>
</el-descriptions-item>
<el-descriptions-item
label="肉系水力"
label-class-name="my-label"
content-class-name="my-content"
>76.3
</el-descriptions-item>
<el-descriptions-item
label="大理石纹评分"
label-class-name="my-label"
content-class-name="my-content"
>4
</el-descriptions-item>
<el-descriptions-item
label="肉嫩度"
label-class-name="my-label"
content-class-name="my-content"
>
</el-descriptions-item>
<el-descriptions-item
label="肉风味"
label-class-name="my-label"
content-class-name="my-content"
>
</el-descriptions-item>
<el-descriptions-item
label="毛绒类型"
label-class-name="my-label"
content-class-name="my-content"
>
</el-descriptions-item>
<el-descriptions-item
label="毛绒产量(公)"
label-class-name="my-label"
content-class-name="my-content"
>
</el-descriptions-item>
<el-descriptions-item
label="毛绒产量(母)"
label-class-name="my-label"
content-class-name="my-content"
>
</el-descriptions-item>
<el-descriptions-item
label="毛绒纤维细度"
label-class-name="my-label"
content-class-name="my-content"
>
</el-descriptions-item>
<el-descriptions-item
label="毛绒纤维长度"
label-class-name="my-label"
content-class-name="my-content"
>
</el-descriptions-item>
<el-descriptions-item
label="净毛绒率"
label-class-name="my-label"
content-class-name="my-content"
>
</el-descriptions-item>
<el-descriptions-item
label="挽力"
label-class-name="my-label"
content-class-name="my-content"
>
</el-descriptions-item>
<el-descriptions-item
label="速率"
label-class-name="my-label"
content-class-name="my-content"
>
</el-descriptions-item>
<el-descriptions-item
label="饲养类型"
label-class-name="my-label"
content-class-name="my-content"
>舍饲和放牧
</el-descriptions-item>
<el-descriptions-item
label="补饲状况"
label-class-name="my-label"
content-class-name="my-content"
>精料及农副产品
</el-descriptions-item>
<el-descriptions-item
label="管理容易否"
label-class-name="my-label"
content-class-name="my-content"
>易管理
</el-descriptions-item>
<el-descriptions-item
label="遗传检测"
label-class-name="my-label"
content-class-name="my-content"
>
</el-descriptions-item>
<el-descriptions-item
label="检测单位"
label-class-name="my-label"
content-class-name="my-content"
>
</el-descriptions-item>
<el-descriptions-item
label="检测人"
label-class-name="my-label"
content-class-name="my-content"
>
</el-descriptions-item>
<el-descriptions-item
label="基因组文库"
label-class-name="my-label"
content-class-name="my-content"
>
</el-descriptions-item>
<el-descriptions-item
label="文件存放单位"
label-class-name="my-label"
content-class-name="my-content"
>
</el-descriptions-item>
<el-descriptions-item
label="品种评价及开发利用"
label-class-name="my-label"
content-class-name="my-content"
>
民猪具有抗寒能力强体质强健产仔较多脂肪沉积能力强和肉质好的特点适于放牧和较粗放的管理与约克夏巴克夏苏白克米洛夫和长白猪杂交培育成哈白猪新金猪东北花猪和三江白猪这些新品种猪大都保留了民猪抗寒性强的特点繁殖力高和肉质好的特点但胴体脂肪率高皮较厚后腿肌肉不发达增重较慢今后应继续加强本品种选育提高胴体的瘦肉率
</el-descriptions-item>
</el-descriptions>
<span slot="footer" class="dialog-footer">
<el-button @click="dialogVisible = false" size="mini"> </el-button>
</span>
</el-dialog>
</div>
</template>
<script>
export default {
data() {
return {
tableData: [
{
id: '1',
number: 'X-01-01-001-01',
cate: '猪',
varieties: '民猪'
},
{
id: '2',
number: 'X-01-01-002-01',
cate: '猪',
varieties: '八眉猪'
},
{
id: '3',
number: 'X-01-01-003-01',
cate: '猪',
varieties: '黄淮海黑猪'
},
{
id: '4',
number: 'X-01-01-003-02',
cate: '猪',
varieties: '黄淮海黑猪'
},
{
id: '5',
number: 'X-01-01-003-03',
cate: '猪',
varieties: '黄淮海黑猪'
},
{
id: '6',
number: 'X-01-01-003-04',
cate: '猪',
varieties: '黄淮海黑猪'
},
{
id: '7',
number: 'X-01-01-003-05',
cate: '猪',
varieties: '黄淮海黑猪'
},
{
id: '8',
number: 'X-01-01-004-01',
cate: '猪',
varieties: '汉江黑猪'
},
{
id: '9',
number: 'X-01-01-005-01',
cate: '猪',
varieties: '沂蒙黑猪'
},
{
id: '10',
number: 'X-01-01-006-01',
cate: '猪',
varieties: '两广小花猪'
},
{
id: '11',
number: 'X-01-01-007-01',
cate: '猪',
varieties: '粤东黑猪'
}
],
dialogVisible: false,
boarImage: require('../../assets/img/gongzhu.png'),
sowImage: require('../../assets/img/muzhu.png')
}
},
methods: {
// 返回
backClick() {
window.history.go(-1)
},
detailClick() {
this.dialogVisible = true
}
}
}
</script>
<style lang="less" scoped>
.container-box {
min-height: calc(100vh - 84px);
padding: 15px;
box-sizing: border-box;
display: flex;
flex-direction: column;
background: #fff;
.top-box {
display: flex;
align-items: center;
margin-bottom: 20px;
.top-title {
background-color: #5aad00;
color: #fff;
padding: 10px 20px;
border-radius: 5px;
width: 80px;
text-align: center;
}
}
}
// 弹层--header
/deep/.el-dialog__header {
font-weight: bold;
box-shadow: 0 0.2px 1px rgba(0, 0, 0, 0.12), 0 0 4px rgba(0, 0, 0, 0.04);
}
/deep/ .my-label {
background: #f0f8ff;
width: 120px;
text-align: right !important;
// display: flex;
// align-items: center;
// align-items: center;
}
/deep/ .my-content {
width: 425px;
}
</style>

View File

@@ -0,0 +1,169 @@
<template>
<div class="container-box">
<div class="all-box">
<div class="top-box">
<div class="top-title1">家畜品种库</div>
</div>
<div class="content-box">
<div
class="item-box"
v-for="item in livestockList"
:key="item.id"
@click="livestockClick(item)"
>
<div class="img-box">
<img :src="item.url" alt="" style="width: 100%" />
</div>
<div class="title">{{ item.title }}</div>
</div>
</div>
</div>
<div class="all-box" style="margin-top: 60px">
<div class="top-box">
<div class="top-title1">家禽品种库</div>
</div>
<div class="content-box">
<div
class="item-box"
v-for="item in poultryList"
:key="item.id"
@click="poultryClick(item)"
>
<div class="img-box">
<img :src="item.url" alt="" style="width: 100%" />
</div>
<div class="title">{{ item.title }}</div>
</div>
</div>
</div>
</div>
</template>
<script>
export default {
data() {
return {
livestockList: [
{
id: 1,
url: require('../../assets/img/zhu.png'),
title: '猪'
},
{
id: 2,
url: require('../../assets/img/niu.png'),
title: '牛'
},
{
id: 3,
url: require('../../assets/img/yang.png'),
title: '羊'
},
{
id: 4,
url: require('../../assets/img/lv.png'),
title: '驴'
}
],
poultryList: [
{
id: 1,
url: require('../../assets/img/huoji.png'),
title: '火鸡'
},
{
id: 2,
url: require('../../assets/img/e.png'),
title: '鹅'
},
{
id: 3,
url: require('../../assets/img/ya.png'),
title: '鸭'
},
{
id: 4,
url: require('../../assets/img/ji.png'),
title: '鸡'
}
]
}
},
methods: {
livestockClick(item) {
console.log(item, 'item.name')
if (item.title == '猪') {
this.$router.push({
path: '/variety-resources/pig-list'
})
} else {
this.$alert('建设中,请耐心等待!', '提示', {
confirmButtonText: '确定',
callback: (action) => {}
})
}
},
poultryClick(item) {
this.$alert('建设中,请耐心等待!', '提示', {
confirmButtonText: '确定',
callback: (action) => {}
})
}
}
}
</script>
<style lang="less" scoped>
.container-box {
min-height: calc(100vh - 84px);
padding: 15px;
box-sizing: border-box;
display: flex;
flex-direction: column;
.all-box {
.top-box {
border-radius: 6px;
background: #fff;
padding: 10px;
margin-bottom: 10px;
.top-title1 {
background-color: #5aad00;
color: #fff;
padding: 10px 20px;
border-radius: 5px;
width: 80px;
}
}
.content-box {
border-radius: 6px;
display: flex;
align-items: center;
justify-content: space-between;
flex-wrap: wrap;
background: #fff;
padding: 10px;
.item-box {
flex: 1;
cursor: pointer;
margin-right: 20px;
.img-box {
padding: 5px 15px;
border: 1px solid #f2f2f2;
}
.title {
margin-top: 10px;
width: 100%;
font-size: 18px;
display: flex;
align-items: center;
justify-content: center;
}
}
.item-box:last-child {
margin-right: 0px;
}
}
}
}
</style>

View File

@@ -78,7 +78,7 @@ module.exports = {
chainWebpack: config => {
// if (IS_PRODUCTION) {
config.plugin('html').tap(args => {
args[0].title = '智慧畜牧平台'
args[0].title = '基芯农育种'
args[0].cdn = cdn
return args
})