From 19b90ab854ce16cc660cd6f8785de553cfc974b3 Mon Sep 17 00:00:00 2001 From: dong <58670809@qq.com> Date: Mon, 28 Nov 2022 13:31:06 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/organization/trainingManage/index.vue | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/views/organization/trainingManage/index.vue b/src/views/organization/trainingManage/index.vue index 8749ff71b..9682d4b72 100644 --- a/src/views/organization/trainingManage/index.vue +++ b/src/views/organization/trainingManage/index.vue @@ -73,7 +73,10 @@ export default { }, { title: this.$t('trainingManage.labelJson'), - prop: 'labelJson' + prop: 'labelJson', + type: 'tagMore', + columnValue: (row) => { return this.getLabelJson(row); }, + tagType: (row) => { return ''; } }, { type: 'button', @@ -131,6 +134,10 @@ export default { }); } }, + getLabelJson(row) { + const label = JSON.parse(row.labelJson); + return label; + }, covertData(row) { const releaseReview = ConstConfig.ConstSelect.trainingType; const lastData = Object.assign({}, row);