From 19a9486f48e6467578f40a81752c466557f84187 Mon Sep 17 00:00:00 2001 From: aixianling Date: Fri, 27 Dec 2024 12:12:02 +0800 Subject: [PATCH] =?UTF-8?q?feat(xumu):=20=E6=96=B0=E5=A2=9E=E5=85=8D?= =?UTF-8?q?=E7=96=AB=E7=99=BB=E8=AE=B0=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 添加免疫登记管理页面登记的新增、编辑和删除功能 - 集成耳标和相关组件 - 实现免疫号选择器组件 - 优化称重管理功能,修复相关问题 --- .../AppImmunityManage/AppImmunityManage.vue | 35 +++ project/xumu/AppImmunityManage/add.vue | 200 ++++++++++++++++++ project/xumu/AppImmunityManage/list.vue | 106 ++++++++++ project/xumu/AppWeightManage/add.vue | 3 +- project/xumu/AppWeightManage/list.vue | 2 +- project/xumu/components/AiEartagPicker.vue | 80 +++++++ ui/packages/basic/AiInput.vue | 26 +++ 7 files changed, 450 insertions(+), 2 deletions(-) create mode 100644 project/xumu/AppImmunityManage/AppImmunityManage.vue create mode 100644 project/xumu/AppImmunityManage/add.vue create mode 100644 project/xumu/AppImmunityManage/list.vue create mode 100644 project/xumu/components/AiEartagPicker.vue create mode 100644 ui/packages/basic/AiInput.vue diff --git a/project/xumu/AppImmunityManage/AppImmunityManage.vue b/project/xumu/AppImmunityManage/AppImmunityManage.vue new file mode 100644 index 00000000..862f4c95 --- /dev/null +++ b/project/xumu/AppImmunityManage/AppImmunityManage.vue @@ -0,0 +1,35 @@ + + + + + diff --git a/project/xumu/AppImmunityManage/add.vue b/project/xumu/AppImmunityManage/add.vue new file mode 100644 index 00000000..7a1f616f --- /dev/null +++ b/project/xumu/AppImmunityManage/add.vue @@ -0,0 +1,200 @@ + + + + + diff --git a/project/xumu/AppImmunityManage/list.vue b/project/xumu/AppImmunityManage/list.vue new file mode 100644 index 00000000..1bd74b87 --- /dev/null +++ b/project/xumu/AppImmunityManage/list.vue @@ -0,0 +1,106 @@ + + + + + diff --git a/project/xumu/AppWeightManage/add.vue b/project/xumu/AppWeightManage/add.vue index ef9b8d2a..cf73d3e9 100644 --- a/project/xumu/AppWeightManage/add.vue +++ b/project/xumu/AppWeightManage/add.vue @@ -61,7 +61,8 @@ export default { }, submit() { this.$refs.detail.validate().then(() => { - this.instance.post("/api/breed/weight/addOrEdit", this.detail).then(res => { + this.form.biochipEarNumber = this.detail.biochipEarNumber + this.instance.post("/api/breed/weight/addOrEdit", this.form).then(res => { if (res?.code == 0) { this.dialog = false this.getDetail() diff --git a/project/xumu/AppWeightManage/list.vue b/project/xumu/AppWeightManage/list.vue index b68b1ee9..4443cc4c 100644 --- a/project/xumu/AppWeightManage/list.vue +++ b/project/xumu/AppWeightManage/list.vue @@ -81,7 +81,7 @@ export default { -