From 69e416081014eaf28986119760dc235b067ef94d Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期一, 26 四月 2021 15:01:10 +0800
Subject: [PATCH] #
---
src/main/webapp/static/js/allo/allo.js | 15 +++++++--------
1 files changed, 7 insertions(+), 8 deletions(-)
diff --git a/src/main/webapp/static/js/allo/allo.js b/src/main/webapp/static/js/allo/allo.js
index 38e8ba1..2689606 100644
--- a/src/main/webapp/static/js/allo/allo.js
+++ b/src/main/webapp/static/js/allo/allo.js
@@ -1,4 +1,5 @@
var pageCurr;
+
layui.use(['table','laydate', 'form'], function(){
var table = layui.table;
var $ = layui.jquery;
@@ -12,7 +13,7 @@
headers: {token: localStorage.getItem('token')},
url: baseUrl+'/node/list/auth',
page: true,
- where: {type: 2},
+ where: {type: 3},
limit: 16,
limits: [16, 30, 50, 100, 200, 500],
even: true,
@@ -22,9 +23,9 @@
{type: 'checkbox'}
// ,{field: 'id', align: 'center',title: 'ID'}
,{field: 'uuid', align: 'center',title: '缂栧彿'}
- ,{field: 'name', align: 'center',title: '浠撳簱鍚嶇О'}
+ ,{field: 'name', align: 'center',title: '璐т綅鍚嶇О'}
// ,{field: 'parentId', align: 'center',title: '鐖剁骇'}
- // ,{field: 'parentName', align: 'center',title: '鐖剁骇鍚嶇О'}
+ ,{field: 'parentName', align: 'center',title: '鎵�灞炲簱鍖�'}
// ,{field: 'type$', align: 'center',title: '绫诲瀷'}
// ,{field: 'path', align: 'center',title: '鍏宠仈璺緞'}
// ,{field: 'namePath', align: 'center',title: '鍏宠仈璺緞鍚�'}
@@ -105,8 +106,7 @@
layer.open({
type: 2,
title: '鏂板',
- maxmin: true,
- area: [top.detailWidth, top.detailHeight],
+ area: ['30%', top.detailHeight],
content: 'allo_detail.html',
success: function(layero, index){
layer.getChildFrame('#data-detail-submit-edit', index).hide();
@@ -191,8 +191,7 @@
layer.open({
type: 2,
title: '淇敼',
- maxmin: true,
- area: [top.detailWidth, top.detailHeight],
+ area: ['30%', top.detailHeight],
content: 'allo_detail.html',
success: function(layero, index){
layer.getChildFrame('#data-detail-submit-save', index).hide();
@@ -236,7 +235,7 @@
type: 3,
path: $('#path').val(),
namePath: $('#namePath').val(),
- level: 3,
+ level: $('#level').val(),
leading: $('#leading').val(),
sort: $('#sort').val(),
barcode: $('#barcode').val(),
--
Gitblit v1.9.1