From 9888ab73ef02572ffa6d84713064925034f3aae8 Mon Sep 17 00:00:00 2001 From: "HDM58\\hdm58" Date: Wed, 9 Aug 2023 00:55:30 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=87=E7=AB=A0=E5=88=97=E8=A1=A8=E6=96=B0?= =?UTF-8?q?=E5=A2=9E=E5=B1=95=E7=A4=BA=E9=98=85=E8=AF=BB=E6=9D=83=E9=99=90?= =?UTF-8?q?=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/article/view/index/list.html | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/app/article/view/index/list.html b/app/article/view/index/list.html index 3479e55..2af5193 100644 --- a/app/article/view/index/list.html +++ b/app/article/view/index/list.html @@ -87,11 +87,23 @@ align: 'center', width: 66 }, { - field: 'is_home', - title: '是否共享', - toolbar: '#is_share', + field: 'is_share', + title: '阅读权限范围', align: 'center', - width: 80 + width: 100, + templet: function(d){ + let html='私有'; + if(d.is_share==1){ + html='所有人'; + } + else if(d.is_share==2){ + html='部门'; + } + else if(d.is_share==3){ + html='部分人员'; + } + return html; + } }, { field: 'right', title: '操作',