From 8a478fa108fad1f96d204c73a53def1108e1b1da Mon Sep 17 00:00:00 2001 From: liuye Date: Wed, 4 Jan 2023 14:43:21 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=AF=E5=88=86=E6=98=8E=E7=BB=86=E5=AF=BC?= =?UTF-8?q?=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- project/qianxinan/AppIntegralRule/AppIntegralRule.vue | 6 +++++- project/qianxinan/AppPointsDetails/components/Detail.vue | 2 +- project/qianxinan/AppPointsDetails/components/List.vue | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/project/qianxinan/AppIntegralRule/AppIntegralRule.vue b/project/qianxinan/AppIntegralRule/AppIntegralRule.vue index b897e689..26e5b989 100644 --- a/project/qianxinan/AppIntegralRule/AppIntegralRule.vue +++ b/project/qianxinan/AppIntegralRule/AppIntegralRule.vue @@ -94,7 +94,11 @@ export default { {prop: "category", label: "事件", dict: "srCategory", align: "center", width: 200}, {prop: "remark", label: "规则"}, {prop: "cycle", label: "周期范围", dict: "srCycle", align: "center", width: 100}, - {prop: "status", label: "状态", align: "center", width: 100, dict: "srStatus",}, + {prop: "status", label: "状态", align: "center", width: 100, dict: "srStatus", + render: (h, {row}) => { + return h('span', {style: {color: this.dict.getColor('srStatus', row.status)}}, this.dict.getLabel('srStatus', row.status)) + } + }, {slot: "options", label: "操作", align: "center", width: 100}, ], tableData: [], diff --git a/project/qianxinan/AppPointsDetails/components/Detail.vue b/project/qianxinan/AppPointsDetails/components/Detail.vue index d150c550..5c296579 100644 --- a/project/qianxinan/AppPointsDetails/components/Detail.vue +++ b/project/qianxinan/AppPointsDetails/components/Detail.vue @@ -40,7 +40,7 @@ :selectList="dict.getDict('srScoreType')"/>