refactor(xumu): 优化列表组件的列定义

- 移除了 AppDeathManage 列表中不必要的 prop 属性
- 为 AppOutAudit 列表添加了序号列
- 统一了两个列表中养殖场列的格式
This commit is contained in:
aixianling
2025-01-08 14:37:45 +08:00
parent 2abdab1b20
commit 7393bcbc6e
2 changed files with 2 additions and 1 deletions

View File

@@ -3,7 +3,7 @@ import {mapState} from "vuex"
const columns = [
{label: "序号", type: "index"},
{label: "养殖场", prop: "userName", format: (v, row) => `${[row.farmName, row.houseName, row.penName].join("-")}`},
{label: "养殖场",format: (v, row) => `${[row.farmName, row.houseName, row.penName].join("-")}`},
{label: "生物芯片耳标号", prop: "biochipEarNumber"},
{label: "类别", prop: "category", dict: "category", width: 120},
{label: "品种", prop: "variety", dict: "variety", width: 120},

View File

@@ -2,6 +2,7 @@
import {mapState} from "vuex"
const columns = [
{label: "序号", type: "index"},
{label: "养殖场", prop: "userName", format: (v, row) => `${[row.farmName, row.houseName, row.penName].join("-")}`},
{label: "生物芯片耳标号", prop: "biochipEarNumber"},
{label: "类别", prop: "category", dict: "category", width: 120},