From 6699cdfa0ebf67724e018264b53d8c6e07e92e58 Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Wed, 22 Sep 2021 10:01:57 +0800
Subject: [PATCH] 20210922

---
 src/main/resources/templates/febs/views/modules/product/categoryList.html |   25 ++++++-------------------
 1 files changed, 6 insertions(+), 19 deletions(-)

diff --git a/src/main/resources/templates/febs/views/modules/product/categoryList.html b/src/main/resources/templates/febs/views/modules/product/categoryList.html
index 05175e0..b64c26a 100644
--- a/src/main/resources/templates/febs/views/modules/product/categoryList.html
+++ b/src/main/resources/templates/febs/views/modules/product/categoryList.html
@@ -77,8 +77,8 @@
                 });
             }
 
-            if (layEvent === 'edit') {
-                febs.modal.open('身份认证', 'modules/member/memberDetail/' + data.id, {
+            if (layEvent === 'see') {
+                febs.modal.open('编辑', 'modules/product/categoryUpdate/' + data.id, {
                     btn: ['提交', '取消'],
                     yes: function (index, layero) {
                         $('#user-update').find('#submit').trigger('click');
@@ -86,11 +86,6 @@
                     btn2: function () {
                         layer.closeAll();
                     }
-                });
-            }
-            if (layEvent === 'see') {
-                febs.modal.open( '个人信息', 'modules/mallMember/detail/' + data.id, {
-                    maxmin: true,
                 });
             }
         });
@@ -141,18 +136,10 @@
                 cols: [[
                     {field: 'name', title: '名称', minWidth: 150,align:'left'},
                     {field: 'parentName', title: '父级名称', minWidth: 150,align:'left'},
-                    // {title: '操作',
-                    //     templet: function (d) {
-                    //         if (d.accountStatus === 1) {
-                    //             return '<button class="layui-btn layui-btn-normal layui-btn-xs" lay-event="see" shiro:hasPermission="user:update">详情</button>'
-                    //                 +'<button class="layui-btn layui-btn-normal layui-btn-xs" lay-event="close" shiro:hasPermission="user:update">禁用</button>'
-                    //
-                    //         }else{
-                    //             return '<button class="layui-btn layui-btn-normal layui-btn-xs" lay-event="see" shiro:hasPermission="user:update">详情</button>'
-                    //                 +'<button class="layui-btn layui-btn-normal layui-btn-xs" lay-event="open" shiro:hasPermission="user:update">启用</button>'
-                    //
-                    //         }
-                    //     },minWidth: 300,align:'center'}
+                    {title: '操作',
+                        templet: function (d) {
+                            return '<button class="layui-btn layui-btn-normal layui-btn-xs" lay-event="see" shiro:hasPermission="user:update">编辑</button>'
+                        },minWidth: 300,align:'center'}
                 ]]
             });
         }

--
Gitblit v1.9.1