refactor(xumu): 优化列表组件的列定义
- 移除了 AppDeathManage 列表中不必要的 prop 属性 - 为 AppOutAudit 列表添加了序号列 - 统一了两个列表中养殖场列的格式
This commit is contained in:
@@ -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},
|
||||
|
||||
@@ -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},
|
||||
|
||||
Reference in New Issue
Block a user