From c78e45005478c2f8b0c8742c14d03cc9a1ad7b58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=98=8E?= <775174143@qq.com> Date: Thu, 27 Jun 2019 16:26:55 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/shixuns/_settings_edit.html.erb | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/app/views/shixuns/_settings_edit.html.erb b/app/views/shixuns/_settings_edit.html.erb index 21ffacfb..be896706 100644 --- a/app/views/shixuns/_settings_edit.html.erb +++ b/app/views/shixuns/_settings_edit.html.erb @@ -304,6 +304,7 @@
placeholder="请输入类别名称"/>
@@ -312,6 +313,7 @@
placeholder="请输入类别名称"/>
@@ -320,6 +322,7 @@
placeholder="请输入类别名称"/>
@@ -328,6 +331,7 @@
placeholder="请输入类别名称"/>
@@ -365,12 +369,13 @@

- > +
+ disabled= + placeholder="请输入类别名称"/>
@@ -378,6 +383,7 @@
placeholder="请输入类别名称"/>
@@ -386,6 +392,7 @@
placeholder="请输入类别名称"/>
@@ -394,6 +401,7 @@
placeholder="请输入类别名称"/>
@@ -529,9 +537,10 @@ } var data={ "listname":arrs, - "list":idarr + "list":idarr, + "admin":<%= User.current.admin? %> }; - debugger + var htmlidarr=bt('t:edit-setting-list',data); document.getElementById('result').innerHTML=htmlidarr; $("input[name='small_type']").val(idarr);