From d91c61afc7ad5eb77e43fba7a20a8c675a1cbcdc Mon Sep 17 00:00:00 2001 From: ll <1079863556@qq.com> Date: Tue, 15 Jul 2025 16:13:16 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E5=A5=B6=E5=93=81=E7=AE=A1=E7=90=86?= =?UTF-8?q?=E7=9A=84=E5=8A=9F=E8=83=BD=E6=94=BE=E5=9C=A8=E4=B8=80=E4=B8=AA?= =?UTF-8?q?=E6=96=87=E4=BB=B6=E5=A4=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../dryMatterCorrection/dryMatterCorrection.js | 0 .../parityCorrection/parityCorrection.js | 0 .../weightCorrection/weightCorrection.js | 0 .../dryMatterCorrection/index.vue | 8 +++++++- .../parityCorrection/index.vue | 0 .../weightCorrection/index.vue | 2 +- 6 files changed, 8 insertions(+), 2 deletions(-) rename src/api/{ => dairyProducts}/dryMatterCorrection/dryMatterCorrection.js (100%) rename src/api/{ => dairyProducts}/parityCorrection/parityCorrection.js (100%) rename src/api/{ => dairyProducts}/weightCorrection/weightCorrection.js (100%) rename src/views/{dryMatterCorrection => dairyProducts}/dryMatterCorrection/index.vue (98%) rename src/views/{parityCorrection => dairyProducts}/parityCorrection/index.vue (100%) rename src/views/{weightCorrection => dairyProducts}/weightCorrection/index.vue (98%) diff --git a/src/api/dryMatterCorrection/dryMatterCorrection.js b/src/api/dairyProducts/dryMatterCorrection/dryMatterCorrection.js similarity index 100% rename from src/api/dryMatterCorrection/dryMatterCorrection.js rename to src/api/dairyProducts/dryMatterCorrection/dryMatterCorrection.js diff --git a/src/api/parityCorrection/parityCorrection.js b/src/api/dairyProducts/parityCorrection/parityCorrection.js similarity index 100% rename from src/api/parityCorrection/parityCorrection.js rename to src/api/dairyProducts/parityCorrection/parityCorrection.js diff --git a/src/api/weightCorrection/weightCorrection.js b/src/api/dairyProducts/weightCorrection/weightCorrection.js similarity index 100% rename from src/api/weightCorrection/weightCorrection.js rename to src/api/dairyProducts/weightCorrection/weightCorrection.js diff --git a/src/views/dryMatterCorrection/dryMatterCorrection/index.vue b/src/views/dairyProducts/dryMatterCorrection/index.vue similarity index 98% rename from src/views/dryMatterCorrection/dryMatterCorrection/index.vue rename to src/views/dairyProducts/dryMatterCorrection/index.vue index b0eaa63..8d2e6f3 100644 --- a/src/views/dryMatterCorrection/dryMatterCorrection/index.vue +++ b/src/views/dairyProducts/dryMatterCorrection/index.vue @@ -151,7 +151,13 @@ diff --git a/src/views/biosafety/diagnosis/index.vue b/src/views/biosafety/diagnosis/index.vue new file mode 100644 index 0000000..20f557c --- /dev/null +++ b/src/views/biosafety/diagnosis/index.vue @@ -0,0 +1,372 @@ + + + diff --git a/src/views/biosafety/disinfect/index.vue b/src/views/biosafety/disinfect/index.vue new file mode 100644 index 0000000..ace824e --- /dev/null +++ b/src/views/biosafety/disinfect/index.vue @@ -0,0 +1,324 @@ + + + diff --git a/src/views/biosafety/health/index.vue b/src/views/biosafety/health/index.vue new file mode 100644 index 0000000..e9fc95a --- /dev/null +++ b/src/views/biosafety/health/index.vue @@ -0,0 +1,296 @@ + + + diff --git a/src/views/biosafety/immunity/index.vue b/src/views/biosafety/immunity/index.vue new file mode 100644 index 0000000..63112dc --- /dev/null +++ b/src/views/biosafety/immunity/index.vue @@ -0,0 +1,312 @@ + + + diff --git a/src/views/biosafety/quarantine/add.vue b/src/views/biosafety/quarantine/add.vue new file mode 100644 index 0000000..d3c24ae --- /dev/null +++ b/src/views/biosafety/quarantine/add.vue @@ -0,0 +1,151 @@ + + + + \ No newline at end of file diff --git a/src/views/biosafety/quarantine/index.vue b/src/views/biosafety/quarantine/index.vue index 2175019..48fdf8d 100644 --- a/src/views/biosafety/quarantine/index.vue +++ b/src/views/biosafety/quarantine/index.vue @@ -1,23 +1,13 @@ + - - + @@ -86,248 +39,77 @@ - + - - - - - - - - - - - - - - - - - - - - {{dict.label}} - - - - - + + + + - + \ No newline at end of file diff --git a/src/views/biosafety/treatment/index.vue b/src/views/biosafety/treatment/index.vue new file mode 100644 index 0000000..3bce7ee --- /dev/null +++ b/src/views/biosafety/treatment/index.vue @@ -0,0 +1,331 @@ + + + From 968c3cc76ebdd8a76be624ee2b82b7e9c9fa75a8 Mon Sep 17 00:00:00 2001 From: zyk Date: Tue, 15 Jul 2025 17:08:04 +0800 Subject: [PATCH 3/3] =?UTF-8?q?=E4=BA=A7=E7=BE=94=E6=96=AD=E5=A5=B6?= =?UTF-8?q?=E4=B8=A4=E4=B8=AA=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/Weaning/weaning_record.js | 52 ++ src/api/breed/lambing_records.js | 80 +++ src/api/variety/variety.js | 44 ++ src/views/Weaning/weaning_record/index.vue | 433 ++++++++++++++ src/views/breed/lambing_records/index.vue | 661 +++++++++++++++++++++ src/views/variety/variety/index.vue | 227 +++++++ 6 files changed, 1497 insertions(+) create mode 100644 src/api/Weaning/weaning_record.js create mode 100644 src/api/breed/lambing_records.js create mode 100644 src/api/variety/variety.js create mode 100644 src/views/Weaning/weaning_record/index.vue create mode 100644 src/views/breed/lambing_records/index.vue create mode 100644 src/views/variety/variety/index.vue diff --git a/src/api/Weaning/weaning_record.js b/src/api/Weaning/weaning_record.js new file mode 100644 index 0000000..2c2e3f9 --- /dev/null +++ b/src/api/Weaning/weaning_record.js @@ -0,0 +1,52 @@ +import request from '@/utils/request' + +// 查询断奶记录列表 +export function listWeaning_record(query) { + return request({ + url: '/Weaning/weaning_record/list', + method: 'get', + params: query + }) +} + +// 查询断奶记录详细 +export function getWeaning_record(id) { + return request({ + url: '/Weaning/weaning_record/' + id, + method: 'get' + }) +} + +// 新增断奶记录 +export function addWeaning_record(data) { + return request({ + url: '/Weaning/weaning_record', + method: 'post', + data: data + }) +} + +// 修改断奶记录 +export function updateWeaning_record(data) { + return request({ + url: '/Weaning/weaning_record', + method: 'put', + data: data + }) +} + +// 删除断奶记录 +export function delWeaning_record(id) { + return request({ + url: '/Weaning/weaning_record/' + id, + method: 'delete' + }) +} + +// 根据耳号查询羊只ID +export function getSheepIdByEarNumber(earNumber) { + return request({ + url: '/Weaning/weaning_record/sheepId/' + earNumber, + method: 'get' + }) +} \ No newline at end of file diff --git a/src/api/breed/lambing_records.js b/src/api/breed/lambing_records.js new file mode 100644 index 0000000..d28f266 --- /dev/null +++ b/src/api/breed/lambing_records.js @@ -0,0 +1,80 @@ +import request from '@/utils/request' + +// 查询产羔记录列表(包含关联信息) +export function listLambing_records(query) { + return request({ + url: '/breed/lambing_records/list', + method: 'get', + params: query + }) +} + +// 查询产羔记录详细 +export function getLambing_records(id) { + return request({ + url: '/breed/lambing_records/' + id, + method: 'get' + }) +} + +// 新增产羔记录(包含羔羊信息) +export function addLambing_records(data) { + return request({ + url: '/breed/lambing_records', + method: 'post', + data: data + }) +} + +// 修改产羔记录 +export function updateLambing_records(data) { + return request({ + url: '/breed/lambing_records', + method: 'put', + data: data + }) +} + +// 删除产羔记录 +export function delLambing_records(id) { + return request({ + url: '/breed/lambing_records/' + id, + method: 'delete' + }) +} + +// 查询产羔详情(从羊只信息表查询羔羊信息) +export function getLambDetail(lambingRecordId) { + return request({ + url: '/breed/lambing_records/lamb_detail/' + lambingRecordId, + method: 'get' + }) +} + +// 根据羊只ID查询羊只基础信息 +export function getSheepInfo(sheepId) { + return request({ + url: '/breed/sheep/info/' + sheepId, + method: 'get' + }) +} + +// 根据羊只ID查询配种记录 +export function getBreedingRecord(sheepId, parity) { + return request({ + url: '/breed/breeding_records/by_sheep/' + sheepId + '/' + parity, + method: 'get' + }) +} + +// 获取品种列表 +export function getVarietyList() { + return request({ + url: '/base/variety/list', + method: 'get', + params: { + pageNum: 1, + pageSize: 1000 // 获取所有品种 + } + }) +} \ No newline at end of file diff --git a/src/api/variety/variety.js b/src/api/variety/variety.js new file mode 100644 index 0000000..8c7ee14 --- /dev/null +++ b/src/api/variety/variety.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询羊只品种列表 +export function listVariety(query) { + return request({ + url: '/variety/variety/list', + method: 'get', + params: query + }) +} + +// 查询羊只品种详细 +export function getVariety(id) { + return request({ + url: '/variety/variety/' + id, + method: 'get' + }) +} + +// 新增羊只品种 +export function addVariety(data) { + return request({ + url: '/variety/variety', + method: 'post', + data: data + }) +} + +// 修改羊只品种 +export function updateVariety(data) { + return request({ + url: '/variety/variety', + method: 'put', + data: data + }) +} + +// 删除羊只品种 +export function delVariety(id) { + return request({ + url: '/variety/variety/' + id, + method: 'delete' + }) +} diff --git a/src/views/Weaning/weaning_record/index.vue b/src/views/Weaning/weaning_record/index.vue new file mode 100644 index 0000000..e65629f --- /dev/null +++ b/src/views/Weaning/weaning_record/index.vue @@ -0,0 +1,433 @@ + + + + + \ No newline at end of file diff --git a/src/views/breed/lambing_records/index.vue b/src/views/breed/lambing_records/index.vue new file mode 100644 index 0000000..02e84e0 --- /dev/null +++ b/src/views/breed/lambing_records/index.vue @@ -0,0 +1,661 @@ + + + + + \ No newline at end of file diff --git a/src/views/variety/variety/index.vue b/src/views/variety/variety/index.vue new file mode 100644 index 0000000..dc7e6a1 --- /dev/null +++ b/src/views/variety/variety/index.vue @@ -0,0 +1,227 @@ + + +