diff --git a/public/favicon.ico b/public/favicon.ico
index 0ccdd32..be7684d 100644
Binary files a/public/favicon.ico and b/public/favicon.ico differ
diff --git a/public/index.html b/public/index.html
index ceb3973..ce329d3 100644
--- a/public/index.html
+++ b/public/index.html
@@ -5,7 +5,7 @@
-
+
<%= htmlWebpackPlugin.options.title %>
diff --git a/public/title.ico b/public/title.ico
new file mode 100644
index 0000000..be7684d
Binary files /dev/null and b/public/title.ico differ
diff --git a/src/assets/img/e.png b/src/assets/img/e.png
new file mode 100644
index 0000000..5fa37b9
Binary files /dev/null and b/src/assets/img/e.png differ
diff --git a/src/assets/img/gongzhu.png b/src/assets/img/gongzhu.png
new file mode 100644
index 0000000..5de7986
Binary files /dev/null and b/src/assets/img/gongzhu.png differ
diff --git a/src/assets/img/huoji.png b/src/assets/img/huoji.png
new file mode 100644
index 0000000..87b7f1a
Binary files /dev/null and b/src/assets/img/huoji.png differ
diff --git a/src/assets/img/ji.png b/src/assets/img/ji.png
new file mode 100644
index 0000000..4c31de6
Binary files /dev/null and b/src/assets/img/ji.png differ
diff --git a/src/assets/img/lv.png b/src/assets/img/lv.png
new file mode 100644
index 0000000..d70f411
Binary files /dev/null and b/src/assets/img/lv.png differ
diff --git a/src/assets/img/muzhu.png b/src/assets/img/muzhu.png
new file mode 100644
index 0000000..15b9306
Binary files /dev/null and b/src/assets/img/muzhu.png differ
diff --git a/src/assets/img/niu.png b/src/assets/img/niu.png
new file mode 100644
index 0000000..bff21c1
Binary files /dev/null and b/src/assets/img/niu.png differ
diff --git a/src/assets/img/ya.png b/src/assets/img/ya.png
new file mode 100644
index 0000000..2c7385d
Binary files /dev/null and b/src/assets/img/ya.png differ
diff --git a/src/assets/img/yang.png b/src/assets/img/yang.png
new file mode 100644
index 0000000..b3fe8c5
Binary files /dev/null and b/src/assets/img/yang.png differ
diff --git a/src/assets/img/zhu.png b/src/assets/img/zhu.png
new file mode 100644
index 0000000..2b1602c
Binary files /dev/null and b/src/assets/img/zhu.png differ
diff --git a/src/router/index.js b/src/router/index.js
index d5e64af..a0194af 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -7,114 +7,166 @@ 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: '/login',
+ component: Login,
+ meta: { title: '登录', activeMenu: '/login' }
+ },
+ {
+ // 首页
+ path: '/index',
+ component: Layout,
+ children: [
+ {
+ path: '/index/index',
+ component: () =>
+ import('../views/index/index.vue'),
+ meta: { title: '首页', activeMenu: '/index/index' }
+ }
+ ]
+ },
+ {
+ // 遗传病风险
+ 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: '/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',
+ component: Layout,
+ children: [
+ {
+ path: '/phylogeneticAnalysis/evolutionaryTree',
+ component: () =>
+ import('../views/phylogeneticAnalysis/evolutionaryTree.vue'),
+ meta: { title: '进化树', activeMenu: '/phylogeneticAnalysis/evolutionaryTree' }
+ },
+ ]
+ },
+ {
+ // 档案信息
+ path: '/archive-information',
+ component: Layout,
+ children: [
+ {
+ path: '/archive-information/archive-information',
+ component: () =>
+ import('../views/archive-information/archive-information.vue'),
+ meta: { title: '档案信息', activeMenu: '/archive-information/archive-information' }
+ }
+ ]
+ },
+ {
+ // 快速查询
+ 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: '/variety-resources',
+ component: Layout,
+ children: [
+ {
+ path: '/variety-resources/variety-resources',
+ component: () =>
+ 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' }
+ },
+ ]
+ }
]
const router = new VueRouter({
- routes
+ routes
})
// 前置路由守卫
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是关键
- }
- if (token) { // ok
- next()
- } else { // no
- if (to.path === '/login') {
- next()
+ const token = local.get('token_sd')
+ if (to.meta.title) { // 修改总标题
+ document.title = '基芯农育种' + '-' + to.meta.title // routes数组中--meta是关键
}
- next('/login')
- }
-})
+ if (token) { // ok
+ next()
+ } else { // no
+ if (to.path === '/login') {
+ next()
+ }
+ }
+}
+ // next('/login')
+)
export default router
diff --git a/src/views/archive-information/archive-information.vue b/src/views/archive-information/archive-information.vue
new file mode 100644
index 0000000..d9592e3
--- /dev/null
+++ b/src/views/archive-information/archive-information.vue
@@ -0,0 +1,429 @@
+
+
+
+
+
+
档案信息
+
+
+
+
+ 上传
+ 修改删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 点击上传
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/breedMgmt/BLUP.vue b/src/views/breedMgmt/BLUP.vue
index 94f52e2..4c2ac26 100644
--- a/src/views/breedMgmt/BLUP.vue
+++ b/src/views/breedMgmt/BLUP.vue
@@ -66,15 +66,15 @@
>
-
- 查看
-
+
+ 查看
+
+
+
若尔盖养殖场
+
+
+
+
综合育种植
+
+
+
+
+
+
+

+
+
+
+
+
+
系谱分析
+
+

+
+
+
+
+
遗传病风险警告
+
+
+
+
+
+

+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/layout/left-menu.vue b/src/views/layout/left-menu.vue
index d747963..d6a77fc 100644
--- a/src/views/layout/left-menu.vue
+++ b/src/views/layout/left-menu.vue
@@ -11,8 +11,8 @@
@@ -23,6 +23,10 @@
:default-active="activeIndex"
:unique-opened="true"
>
+
+
+ 首页
+
遗传病风险
@@ -62,6 +66,18 @@
>
+
+
+ 档案信息
+
+
+
+ 快速查询
+
+
+
+ 品种资源
+
@@ -72,7 +88,7 @@ export default {
return {
activeIndex: '/',
isCollapse: false,
- system_name: '肉牛溯源系统',
+ system_name: '基芯农育种',
logo: '',
index: 0,
menuList: [], // 菜单权限列表
@@ -117,7 +133,7 @@ export default {
.logo {
max-width: 220px;
- height: 80px;
+ height: 72px;
color: #fff;
font-size: 25px;
font-weight: bold;
diff --git a/src/views/login/login.vue b/src/views/login/login.vue
index aae075a..f283e7c 100644
--- a/src/views/login/login.vue
+++ b/src/views/login/login.vue
@@ -3,7 +3,7 @@
@@ -11,7 +11,7 @@
-
肉牛溯源系统
+ 基芯农分子育种检测平台
@@ -232,14 +245,14 @@
>
确 定
确 定
@@ -274,7 +287,7 @@
"
>
@@ -313,7 +326,7 @@
>取 消
确 定 {
- this.$router.push('/disease-resistance/disease-resistance')
+ this.$router.push('/index/index')
}, 1500)
}
},
diff --git a/src/views/quick-Search/quick-Search.vue b/src/views/quick-Search/quick-Search.vue
new file mode 100644
index 0000000..4a7730e
--- /dev/null
+++ b/src/views/quick-Search/quick-Search.vue
@@ -0,0 +1,304 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+
+
+
+
+
+
+
+
+
+ 详情
+
+
+
+
+
+ 报告
+
+
+
+
+
+
+
+
+
+

+
+
+
+
1
+
+
标记编号:213
+
养殖场:234
+
品种信息:43223
+
+
+ 11
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/variety-resources/pig-list.vue b/src/views/variety-resources/pig-list.vue
new file mode 100644
index 0000000..5c41bff
--- /dev/null
+++ b/src/views/variety-resources/pig-list.vue
@@ -0,0 +1,961 @@
+
+
+
+
+
+
+
+
+
+
+
+ 查看详情
+
+
+
+
+
+
+ X-01-01-001-01
+ 猪
+
+ 地方
+
+ 民猪
+
+ 东北民猪
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 国家品种志
+
+
+ 辽宁省岫岩、建昌、复县、海城、昌图、朝阳;吉林省九站、桦甸、永吉、靖宇、通化;黑龙江省绥滨、富锦、集贤、北安、德都、双城、兰西;河北省迁西、遵化、兴隆、丰宁等。
+
+
+ 东北和华北部分地区
+
+
+
+
+
+
+ 温带大陆性季风半温润气候地型
+
+ 以丘陵为主
+
+
+ 8
+
+ 25
+
+
+ -14
+
+
+
+
+ 647
+
+
+
+
+
+
+ 高粱、玉米、大豆、谷子、棉花、芝麻、向日葵、甜菜等
+
+ 适应性强
+
+
+
+ 抗寒能力强
+
+
+
+
+
+ 中国农业科学院畜牧研究所
+
+
+
+ 01/01/1982
+
+ 850
+
+
+
+
+
+
+
+ 2
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 头中等大,面直,耳大下垂,体躯扁平,背腰窄狭,臀部斜。四肢粗壮。全身被毛黑色,毛密而长,猪鬃较多,冬季密生绒毛,起防寒保温作用。
+
+ 体躯扁平,背腰窄狭,臀部倾斜。四肢粗壮。
+
+ 全身被毛黑色,毛密而长。
+
+
+
+ 头中等大,面直长
+
+
+
+ 耳大下垂
+
+ 14
+
+ 86
+
+ 148
+
+ 139
+
+ 195
+
+ 82
+
+ 141
+
+ 132
+
+ 151
+
+
+
+ 90
+
+ 270
+
+ 120
+
+ 240
+
+ 全年多次发情
+
+ 21
+
+ 114
+
+ 11
+
+ 12
+
+
+
+
+
+ 60
+
+
+
+ 120
+
+ 9.7
+
+
+
+
+
+
+
+ 肉脂兼用
+
+
+
+
+
+
+
+ 90
+
+
+
+
+
+ 72
+
+
+
+ 45
+
+ 3
+
+ 6.3
+
+
+
+ 76.3
+
+ 4
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 舍饲和放牧
+
+ 精料及农副产品
+
+ 易管理
+
+
+
+
+
+
+
+
+
+
+
+
+ 民猪具有抗寒能力强,体质强健,产仔较多,脂肪沉积能力强和肉质好的特点,适于放牧和较粗放的管理,与约克夏、巴克夏、苏白、克米洛夫和长白猪杂交,培育成哈白猪、新金猪、东北花猪和三江白猪。这些新品种猪大都保留了民猪抗寒性强的特点,繁殖力高和肉质好的特点,但胴体脂肪率高,皮较厚,后腿肌肉不发达,增重较慢,今后应继续加强本品种选育,提高胴体的瘦肉率。
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/variety-resources/variety-resources.vue b/src/views/variety-resources/variety-resources.vue
new file mode 100644
index 0000000..2b14ad6
--- /dev/null
+++ b/src/views/variety-resources/variety-resources.vue
@@ -0,0 +1,169 @@
+
+
+
+
+
+
+
+
![]()
+
+
{{ item.title }}
+
+
+
+
+
+
+
+
+
![]()
+
+
{{ item.title }}
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/vue.config.js b/vue.config.js
index 6b6e57c..6d1ad0f 100644
--- a/vue.config.js
+++ b/vue.config.js
@@ -48,7 +48,7 @@ const cdn = {
// 'https://code.jquery.com/jquery-3.6.0.min.js'
],
- css: ["https://unpkg.zhimg.com/element-ui@2.15.6/lib/theme-chalk/index.css"],
+ css: ["https://unpkg.com/element-ui/lib/theme-chalk/index.css"],
}
module.exports = {
assetsDir: 'assets',