From e9ade10c12cce875fd56467498bbac36cf52928c Mon Sep 17 00:00:00 2001 From: wyt <414651037@qq.com> Date: Fri, 18 Jul 2025 13:01:25 +0800 Subject: [PATCH 1/5] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=BE=8A=E5=8F=AA?= =?UTF-8?q?=E6=A1=A3=E6=A1=88=E5=92=8C=E7=BE=8A=E5=8F=AA=E5=88=86=E7=BB=84?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/fileManagement/sheep_grouping.js | 10 +++ src/views/fileManagement/sheep_file/index.vue | 16 ++++ .../fileManagement/sheep_grouping/index.vue | 81 ++++++++++++++++--- 3 files changed, 94 insertions(+), 13 deletions(-) diff --git a/src/api/fileManagement/sheep_grouping.js b/src/api/fileManagement/sheep_grouping.js index 2af0cba..2e74e58 100644 --- a/src/api/fileManagement/sheep_grouping.js +++ b/src/api/fileManagement/sheep_grouping.js @@ -9,6 +9,16 @@ export function listSheep_grouping(query) { }) } + +// 查询羊只分组关联列表(联表) +export function listSheep_grouping_join(query) { + return request({ + url: '/sheep_grouping/sheep_grouping/listJoin', + method: 'get', + params: query + }) +} + // 查询羊只分组关联详细 export function getSheep_grouping(id) { return request({ diff --git a/src/views/fileManagement/sheep_file/index.vue b/src/views/fileManagement/sheep_file/index.vue index bfbb700..a2af697 100644 --- a/src/views/fileManagement/sheep_file/index.vue +++ b/src/views/fileManagement/sheep_file/index.vue @@ -318,6 +318,9 @@ 羊只状态 + + + 配种类型 + + + 是否性控 + + + 入群来源 + + + + + + - - - - - + + + + + - {{ getGroupName(scope.row.groupId) }} + {{ getGroupName(scope.row.group_id) }} - + + + + + + + + + + + + + + + + + + + 修改 @@ -128,6 +154,8 @@ diff --git a/src/views/drymilk/drymilk/index.vue b/src/views/drymilk/drymilk/index.vue new file mode 100644 index 0000000..004f40b --- /dev/null +++ b/src/views/drymilk/drymilk/index.vue @@ -0,0 +1,330 @@ + + + + + + + + + + + + + + + + + + + + + + + + + 搜索 + 重置 + + + + + + 新增 + + + 修改 + + + 删除 + + + 导出 + + + + + + + + + + + + {{ parseTime(scope.row.datetime, '{y}-{m}-{d}') }} + + + + + {{ scope.row.status === 1 ? '是' : '否' }} + + + + + + + {{ parseTime(scope.row.createTime, '{y}-{m}-{d}') }} + + + + + + 修改 + 删除 + + + + + + + + + + + + + + + + + + + 是 + 否 + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/views/mating_plan/mating_plan/generate/index.vue b/src/views/mating_plan/mating_plan/generate/index.vue new file mode 100644 index 0000000..a81af82 --- /dev/null +++ b/src/views/mating_plan/mating_plan/generate/index.vue @@ -0,0 +1,428 @@ + + + + + + + + + + + + + + + 搜索 + 重置 + + + + + + 生成配种计划 + + + 删除 + + + + + + + + + + {{ scope.row.planDate }} + + + + + + + + 待审批 + 已审批 + 已拒绝 + 未知状态 + + + + + + 查看 + 审批 + 删除 + + + + + + + 暂无数据 + 数据数组长度: {{ breedPlanGenerateList.length }} + 总数: {{ total }} + 加载状态: {{ loading }} + + + + + + + + + + + 筛选符合条件的母羊 + + + 已选择: {{ selectedEwe.length }} 只 + + + + + + + + + + + + + + + + + + 筛选符合条件的公羊 + + + 已选择: {{ selectedRam.length }} 只 + + + + + + + + + + + + + + + + + + + + + + + {{ planInfo.planName }} + {{ planInfo.planDate }} + + 待审批 + 已审批 + 已拒绝 + 未知状态 + + {{ planInfo.totalEweCount }} + {{ planInfo.totalRamCount }} + {{ planInfo.breedRatio }} + {{ planInfo.createBy }} + {{ planInfo.createTime }} + {{ planInfo.approver }} + + + 配种计划详情 + + + + + + + + + 自然交配 + 人工授精 + 胚胎移植 + 未知类型 + + + + + + + + \ No newline at end of file diff --git a/src/views/mating_plan/mating_plan/index.vue b/src/views/mating_plan/mating_plan/index.vue new file mode 100644 index 0000000..ab78192 --- /dev/null +++ b/src/views/mating_plan/mating_plan/index.vue @@ -0,0 +1,244 @@ + + + + + + + + + + + 搜索 + 重置 + + + + + + 新增 + + + 修改 + + + 删除 + + + 导出 + + + + + + + + + + + + + 修改 + 删除 + + + + + + + + + + + + + + + + + + + + + + + + From 586252bbcbe8fc130f57938c54b3ed6c92b762a6 Mon Sep 17 00:00:00 2001 From: piaobo <1913856125@qq.com> Date: Fri, 18 Jul 2025 18:13:18 +0800 Subject: [PATCH 3/5] =?UTF-8?q?=E6=A3=80=E7=96=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../manage_sheep/{add_sheep => }/add_sheep.js | 0 .../{trans_group => }/trans_group.js | 0 .../{transition_info => }/transition_info.js | 0 .../produce/other/{castrate => }/castrate.js | 0 .../produce/other/{fixHoof => }/fixHoof.js | 0 src/views/biosafety/quarantine/index.vue | 534 +++++++++++++----- .../produce/manage_sheep/add_sheep/index.vue | 6 +- .../manage_sheep/trans_group/index.vue | 5 +- .../manage_sheep/transition_info/index.vue | 4 +- src/views/produce/other/castrate/index.vue | 6 +- src/views/produce/other/fixHoof/index.vue | 6 +- src/views/variety/variety/index.vue | 1 + 12 files changed, 423 insertions(+), 139 deletions(-) rename src/api/produce/manage_sheep/{add_sheep => }/add_sheep.js (100%) rename src/api/produce/manage_sheep/{trans_group => }/trans_group.js (100%) rename src/api/produce/manage_sheep/{transition_info => }/transition_info.js (100%) rename src/api/produce/other/{castrate => }/castrate.js (100%) rename src/api/produce/other/{fixHoof => }/fixHoof.js (100%) diff --git a/src/api/produce/manage_sheep/add_sheep/add_sheep.js b/src/api/produce/manage_sheep/add_sheep.js similarity index 100% rename from src/api/produce/manage_sheep/add_sheep/add_sheep.js rename to src/api/produce/manage_sheep/add_sheep.js diff --git a/src/api/produce/manage_sheep/trans_group/trans_group.js b/src/api/produce/manage_sheep/trans_group.js similarity index 100% rename from src/api/produce/manage_sheep/trans_group/trans_group.js rename to src/api/produce/manage_sheep/trans_group.js diff --git a/src/api/produce/manage_sheep/transition_info/transition_info.js b/src/api/produce/manage_sheep/transition_info.js similarity index 100% rename from src/api/produce/manage_sheep/transition_info/transition_info.js rename to src/api/produce/manage_sheep/transition_info.js diff --git a/src/api/produce/other/castrate/castrate.js b/src/api/produce/other/castrate.js similarity index 100% rename from src/api/produce/other/castrate/castrate.js rename to src/api/produce/other/castrate.js diff --git a/src/api/produce/other/fixHoof/fixHoof.js b/src/api/produce/other/fixHoof.js similarity index 100% rename from src/api/produce/other/fixHoof/fixHoof.js rename to src/api/produce/other/fixHoof.js diff --git a/src/views/biosafety/quarantine/index.vue b/src/views/biosafety/quarantine/index.vue index 5d603c5..9de243f 100644 --- a/src/views/biosafety/quarantine/index.vue +++ b/src/views/biosafety/quarantine/index.vue @@ -72,36 +72,135 @@ - + - - - - - - - - - - - - - + + + + + + + + + + 该羊只耳号不存在 + + + 该羊只耳号已存在 + + + + {{ id }} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - {{ dict.label }} - + + + + + + + + + + + + + + + + @@ -109,29 +208,110 @@ \ No newline at end of file diff --git a/src/views/produce/manage_sheep/add_sheep/index.vue b/src/views/produce/manage_sheep/add_sheep/index.vue index dddd5f8..03b1f96 100644 --- a/src/views/produce/manage_sheep/add_sheep/index.vue +++ b/src/views/produce/manage_sheep/add_sheep/index.vue @@ -135,7 +135,7 @@
暂无数据
数据数组长度: {{ breedPlanGenerateList.length }}
总数: {{ total }}
加载状态: {{ loading }}