From 6e60afb4e62175edf5f7253ff0de03e79af70d6a Mon Sep 17 00:00:00 2001 From: zyy <1787816799@qq.com> Date: Mon, 2 Sep 2019 09:33:21 +0800 Subject: [PATCH] =?UTF-8?q?desc:=20=E6=B3=A8=E9=87=8A=E6=B0=B8=E4=B9=85?= =?UTF-8?q?=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/package/index.vue | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/src/views/package/index.vue b/src/views/package/index.vue index 95d04b966..c97f6139b 100644 --- a/src/views/package/index.vue +++ b/src/views/package/index.vue @@ -83,18 +83,18 @@ export default { } } }, - { - title: this.$t('permission.isForever'), - prop: 'forever', - type: 'tag', - columnValue: (row) => { return this.$ConstSelect.translate(row.forever, 'Whether'); }, - tagType: (row) => { - switch (row.forever) { - case true: return 'success'; - case false: return 'danger'; - } - } - }, + // { + // title: this.$t('permission.isForever'), + // prop: 'forever', + // type: 'tag', + // columnValue: (row) => { return this.$ConstSelect.translate(row.forever, 'Whether'); }, + // tagType: (row) => { + // switch (row.forever) { + // case true: return 'success'; + // case false: return 'danger'; + // } + // } + // }, { title: this.$t('permission.permissionTotal'), prop: 'amount' @@ -177,9 +177,11 @@ export default { list.forEach(elem => { this.queryForm.queryObject.type.config.data.push({ value: elem.code, label: elem.name }); }); + console.log(list); this.$convertList(list, this.PermissionTypeList, elem => { return true; }); + console.log(this.PermissionTypeList); }); }, formatterDate(row, porpInfo) {