feat(AppBreedArchive): 优化档案查询页面

- 新增免疫记录、治疗记录、淘汰记录、死亡记录、设备检测、贷款信息、保险信息等模块
-优化列表展示方式,使用 tabs进行分类展示
-调整列表列宽和对齐
This commit is contained in:
aixianling
2025-01-08 10:14:51 +08:00
parent ced505b585
commit d1a8800a9b
3 changed files with 93 additions and 13 deletions

View File

@@ -3,16 +3,16 @@ import {mapState} from "vuex"
const columns = [
{label: "序号", type: "index"},
{label: "养殖户", prop: "userName"},
{label: "养殖场", format: (v, row) => `${[row.farmName, row.houseName, row.penName].join("-")}`},
{label: "养殖户", prop: "userName", width: 100},
{label: "养殖场", format: (v, row) => `${[row.farmName, row.houseName, row.penName].join("-")}`, minWidth: 200},
{label: "生物芯片耳标号", prop: "biochipEarNumber"},
{label: "电子耳标号", prop: "biochipEarNumber"},
{label: "原厂耳标号", prop: "biochipEarNumber"},
{label: "入栏日期", prop: "createTime", width: 160},
{label: "饲养时长(天)", prop: "days", width: 120},
{label: "最新体重(公斤)", prop: "weight", width: 120},
{label: "当前体温", prop: "temperatureStatus", dict: 'temperatureStatus'},
{label: "运动情况", prop: "sportsSituation", dict: "sportsSituation"},
{label: "饲养时长(天)", prop: "days", width: 100, align: 'right', headerAlign: 'center'},
{label: "最新体重(公斤)", prop: "weight", width: 120, align: 'right', headerAlign: 'center'},
// {label: "当前体温", prop: "temperatureStatus", dict: 'temperatureStatus'},
// {label: "运动情况", prop: "sportsSituation", dict: "sportsSituation"},
]
export default {
name: "baList",