From 3228978400f486a7dcb2e5fd670eb68455ab2700 Mon Sep 17 00:00:00 2001 From: luxiaotao1123 <t1341870251@163.com> Date: 星期二, 26 一月 2021 14:45:41 +0800 Subject: [PATCH] # --- src/main/webapp/views/tag/tag.html | 9 +++------ 1 files changed, 3 insertions(+), 6 deletions(-) diff --git a/src/main/webapp/views/tag/tag.html b/src/main/webapp/views/tag/tag.html index b524dbb..fe0e03d 100644 --- a/src/main/webapp/views/tag/tag.html +++ b/src/main/webapp/views/tag/tag.html @@ -150,19 +150,18 @@ '<button lay-event="del" class="layui-btn layui-btn-sm layui-btn-danger icon-btn"><i class="layui-icon"></i>鍒犻櫎</button>', '</p>'].join(''), tree: { - iconIndex: 1, // 鎶樺彔鍥炬爣鏄剧ず鍦ㄧ鍑犲垪 + iconIndex: 2, // 鎶樺彔鍥炬爣鏄剧ず鍦ㄧ鍑犲垪 isPidData: true, // 鏄惁鏄痠d銆乸id褰㈠紡鏁版嵁 idName: 'id', // id瀛楁鍚嶇О pidName: 'parentId' // pid瀛楁鍚嶇О }, cols: [[ {type: 'checkbox'} + ,{type: 'numbers'} ,{field: 'name', align: 'left',title: '鍚嶇О', minWidth: 150} ,{field: 'uuid', align: 'center',title: '缂栧彿'} // ,{field: 'parentId', align: 'center',title: '鐖剁骇'} ,{field: 'parentName', align: 'center',title: '鐖剁骇鍚嶇О'} - // ,{field: 'path', align: 'center',title: '鍏宠仈璺緞'} - // ,{field: 'pathName', align: 'center',title: '鍏宠仈璺緞鍚�'} ,{field: 'type$', align: 'center',title: '绫诲瀷'} ,{field: 'leading', align: 'center',title: '璐熻矗浜�'} ,{field: 'img', align: 'center',title: '鍥剧墖'} @@ -210,13 +209,11 @@ /* 鏄剧ず琛ㄥ崟寮圭獥 */ function showEditModel(mData) { - layer.open({ + admin.open({ type: 1, area: '600px', - offset: '100px', title: (mData ? '淇敼' : '娣诲姞') + '鏉冮檺', content: $('#editDialog').html(), - skin: 'layui-cool-class', success: function (layero, dIndex) { // 鍥炴樉琛ㄥ崟鏁版嵁 form.val('detail', mData); -- Gitblit v1.9.1