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')"/>