微不足道的一些优化。

This commit is contained in:
thinkgem
2018-07-15 16:05:36 +08:00
parent 638c57b9c0
commit ddcf75b856
19 changed files with 57 additions and 56 deletions

View File

@@ -11,8 +11,8 @@
</page_setting>
<category_index>0</category_index>
<zoom>1.0</zoom>
<x>2660</x>
<y>94</y>
<x>54</x>
<y>1963</y>
<default_color>
<r>128</r>
<g>128</g>
@@ -12354,6 +12354,10 @@
<type></type>
<description></description>
<columns>
<column>
<id>abd5fc5f0bb213daae3de2abc362c5aea5276f4d</id>
<desc>false</desc>
</column>
</columns>
</inidex>
</indexes>
@@ -13783,6 +13787,10 @@
<type></type>
<description></description>
<columns>
<column>
<id>bc518c6e08246711da4ef4bbfd902690ebf6797d</id>
<desc>false</desc>
</column>
</columns>
</inidex>
</indexes>

View File

@@ -788,8 +788,8 @@ CREATE TABLE [js_sys_user_role]
/* Create Indexes */
CREATE INDEX [idx_gen_table_ptn] ON [js_gen_table] ();
CREATE INDEX [idx_gen_table_column_tn] ON [js_gen_table_column] ();
CREATE INDEX [idx_gen_table_ptn] ON [js_gen_table] ([parent_table_name]);
CREATE INDEX [idx_gen_table_column_tn] ON [js_gen_table_column] ([table_name]);
CREATE INDEX [idx_sys_area_pc] ON [js_sys_area] ([parent_code]);
CREATE INDEX [idx_sys_area_ts] ON [js_sys_area] ([tree_sort]);
CREATE INDEX [idx_sys_area_status] ON [js_sys_area] ([status]);

View File

@@ -790,8 +790,8 @@ CREATE TABLE js_sys_user_role
/* Create Indexes */
CREATE INDEX idx_gen_table_ptn ON js_gen_table ();
CREATE INDEX idx_gen_table_column_tn ON js_gen_table_column ();
CREATE INDEX idx_gen_table_ptn ON js_gen_table (parent_table_name ASC);
CREATE INDEX idx_gen_table_column_tn ON js_gen_table_column (table_name ASC);
CREATE INDEX idx_sys_area_pc ON js_sys_area (parent_code ASC);
CREATE INDEX idx_sys_area_ts ON js_sys_area (tree_sort ASC);
CREATE INDEX idx_sys_area_status ON js_sys_area (status ASC);

View File

@@ -788,8 +788,8 @@ CREATE TABLE js_sys_user_role
/* Create Indexes */
CREATE INDEX idx_gen_table_ptn ON js_gen_table ();
CREATE INDEX idx_gen_table_column_tn ON js_gen_table_column ();
CREATE INDEX idx_gen_table_ptn ON js_gen_table (parent_table_name);
CREATE INDEX idx_gen_table_column_tn ON js_gen_table_column (table_name);
CREATE INDEX idx_sys_area_pc ON js_sys_area (parent_code);
CREATE INDEX idx_sys_area_ts ON js_sys_area (tree_sort);
CREATE INDEX idx_sys_area_status ON js_sys_area (status);

View File

@@ -788,8 +788,8 @@ CREATE TABLE js_sys_user_role
/* Create Indexes */
CREATE INDEX idx_gen_table_ptn ON js_gen_table ();
CREATE INDEX idx_gen_table_column_tn ON js_gen_table_column ();
CREATE INDEX idx_gen_table_ptn ON js_gen_table (parent_table_name);
CREATE INDEX idx_gen_table_column_tn ON js_gen_table_column (table_name);
CREATE INDEX idx_sys_area_pc ON js_sys_area (parent_code);
CREATE INDEX idx_sys_area_ts ON js_sys_area (tree_sort);
CREATE INDEX idx_sys_area_status ON js_sys_area (status);

View File

@@ -2,4 +2,5 @@
4.0.1
4.0.2
4.0.3
4.0.4
4.0.4
4.0.5

View File

@@ -49,8 +49,8 @@ else {
class="fa fa-reply-all"></i> ${text('sys.error.returnButton')}</button>
</div>
<div class="copyright">
<% var productName = @Global.getConfig('productName'), productVersion = @Global.getConfig('productVersion'); %>
&copy; ${@DateUtils.getYear()} ${productName} - Powered By <a href="http://jeesite.com">JeeSite</a>.
&copy; ${@DateUtils.getYear()} ${@Global.getConfig('productName')} - Powered By <a
href="http://jeesite.com">JeeSite ${@Global.getProperty('jeesiteVersion')}</a>
</div>
</div>
<% } %>

View File

@@ -38,8 +38,8 @@ else {
class="fa fa-reply-all"></i> ${text('sys.error.returnButton')}</button>
</div>
<div class="copyright">
<% var productName = @Global.getConfig('productName'), productVersion = @Global.getConfig('productVersion'); %>
&copy; ${@DateUtils.getYear()} ${productName} - Powered By <a href="http://jeesite.com">JeeSite</a>.
&copy; ${@DateUtils.getYear()} ${@Global.getConfig('productName')} - Powered By <a
href="http://jeesite.com">JeeSite ${@Global.getProperty('jeesiteVersion')}</a>
</div>
</div>
<% } %>

View File

@@ -37,8 +37,8 @@ else {
class="fa fa-reply-all"></i> ${text('sys.error.returnButton')}</button>
</div>
<div class="copyright">
<% var productName = @Global.getConfig('productName'), productVersion = @Global.getConfig('productVersion'); %>
&copy; ${@DateUtils.getYear()} ${productName} - Powered By <a href="http://jeesite.com">JeeSite</a>.
&copy; ${@DateUtils.getYear()} ${@Global.getConfig('productName')} - Powered By <a
href="http://jeesite.com">JeeSite ${@Global.getProperty('jeesiteVersion')}</a>
</div>
</div>
<% } %>

View File

@@ -43,8 +43,8 @@ else {
class="fa fa-reply-all"></i> ${text('sys.error.returnButton')}</button>
</div>
<div class="copyright">
<% var productName = @Global.getConfig('productName'), productVersion = @Global.getConfig('productVersion'); %>
&copy; ${@DateUtils.getYear()} ${productName} - Powered By <a href="http://jeesite.com">JeeSite</a>.
&copy; ${@DateUtils.getYear()} ${@Global.getConfig('productName')} - Powered By <a
href="http://jeesite.com">JeeSite ${@Global.getProperty('jeesiteVersion')}</a>
</div>
</div>
<% if (@ObjectUtils.toBoolean(@Global.getConfig('error.page.printErrorInfo', 'true'))){ %>

View File

@@ -1,18 +1,10 @@
<%/* Copyright (c) 2013-Now http://jeesite.com All rights reserved. */
var productName = @Global.getConfig('productName') + ' ' + @Global.getConfig('productVersion');
var pageTitle = (isNotBlank(title!) ? title! + ' - ' : '') + productName;
var globalFields = @Global.getConst('Global.Fields');
%>
<meta charset="utf-8">
<meta content="webkit" name="renderer"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate"/>
<meta http-equiv="Pragma" content="no-cache"/><meta http-equiv="Expires" content="0"/>
<meta content="width=device-width, initial-scale=1, user-scalable=1" name="viewport"/>
<meta content="${productName} - Powered By JeeSite V4.0" name="description"/>
<meta content="ThinkGem, http://jeesite.com" name="author"/>
<meta content="Powered By JeeSite V4.0" name="keywords"/>
<title>${pageTitle}</title>
<%/* Copyright (c) 2013-Now http://jeesite.com All rights reserved. */%>
<meta charset="utf-8"><meta content="webkit" name="renderer"/><meta http-equiv="X-UA-Compatible"
content="IE=edge"><meta name="keywords" content="PoweredByJeeSiteV4.0"/><meta http-equiv="Cache-Control"
content="no-cache, no-store, must-revalidate"/><meta name="description" content="PoweredByJeeSiteV4.0"/><meta
content="no-cache" http-equiv="Pragma"/><meta http-equiv="Expires" content="0"/><meta
content="width=device-width, initial-scale=1, user-scalable=1" name="viewport"/>
<title>${(isNotBlank(title!) ? title! + ' - ' : '') + @Global.getConfig('productName')}</title>
<script src="${ctxPath}/global.min.js?ctx=${ctx}"></script>
<script src="${ctxStatic}/jquery/jquery-1.12.4.min.js"></script>
<script src="${ctxStatic}/jquery/jquery-migrate-1.4.1.min.js"></script>

View File

@@ -3,10 +3,10 @@
<link rel="stylesheet" href="${ctxStatic}/icheck/1.0/square/blue.css?${_version}">
<link rel="stylesheet" href="${ctxStatic}/jquery-toastr/2.0/toastr.min.css?${_version}">
<link rel="stylesheet" href="${ctxStatic}/modules/sys/sysLogin.css?${_version}">
<% var productName = @Global.getConfig('productName'), productVersion = @Global.getConfig('productVersion'); %>
<div class="login-box" style="margin-top:4%">
<div class="login-logo" title="${productName}">
<a href="${ctxPath}/account/forgetPwd"><b>${productName}</b> <small>${productVersion}</small></a>
<div class="login-logo">
<a href="${ctxPath}/account/forgetPwd"><b>${@Global.getConfig('productName')}</b>
<small>${@Global.getConfig('productVersion')}</small></a>
</div>
<div class="login-box-body">
<form id="forgetForm" action="${ctxPath}/account/forgetPwd" method="post">
@@ -159,7 +159,8 @@
</form>
</div>
<div class="login-copyright">
&copy; ${@DateUtils.getYear()} ${productName} - Powered By <a href="http://jeesite.com">JeeSite</a>.
&copy; ${@DateUtils.getYear()} ${@Global.getConfig('productName')} - Powered By <a
href="http://jeesite.com">JeeSite ${@Global.getProperty('jeesiteVersion')}</a>
</div>
</div>
<% } %>

View File

@@ -251,9 +251,8 @@
<!-- /.row -->
</div>
<footer class="main-footer m0">
<% var productName = @Global.getConfig('productName'), productVersion = @Global.getConfig('productVersion'); %>
<div class="pull-right hidden-xs">当前版本: ${productVersion}</div>
&copy; ${@DateUtils.getYear()} ${productName} - Powered By <a href="http://jeesite.com">JeeSite</a>.
<div class="pull-right hidden-xs">当前版本: ${@Global.getConfig('productVersion')}</div>
&copy; ${@DateUtils.getYear()} ${@Global.getConfig('productName')} - Powered By <a href="http://jeesite.com">JeeSite</a>
</footer>
<% } %>
<script>

View File

@@ -1,7 +1,6 @@
<% var productName = @Global.getConfig('productName'); %>
<nav class="navbar navbar-static-top">
<div class="logo" data-toggle="push-menu" title="${productName}">
<b>${productName}</b>
<div class="logo" data-toggle="push-menu">
<b>${@Global.getConfig('productName')}</b>
<small>&nbsp; &nbsp;<i class="fa fa-bars"></i></small>
</div>
<%/*<!--%><a href="javascript:" class="sidebar-toggle" data-toggle="push-menu" role="button">

View File

@@ -3,10 +3,10 @@
<link rel="stylesheet" href="${ctxStatic}/icheck/1.0/square/blue.css?${_version}">
<link rel="stylesheet" href="${ctxStatic}/jquery-toastr/2.0/toastr.min.css?${_version}">
<link rel="stylesheet" href="${ctxStatic}/modules/sys/sysLogin.css?${_version}">
<% var productName = @Global.getConfig('productName'), productVersion = @Global.getConfig('productVersion'); %>
<div class="login-box">
<div class="login-logo" title="${productName}">
<a href="${ctx}/login"><b>${productName}</b> <small>${productVersion}</small></a>
<div class="login-logo">
<a href="${ctx}/login"><b>${@Global.getConfig('productName')}</b>
<small>${@Global.getConfig('productVersion')}</small></a>
</div>
<div class="login-box-body">
<#form:form id="loginForm" model="${user!}" action="${ctx}/login" method="post">
@@ -79,7 +79,8 @@
</div>
</div>
<div class="login-copyright">
&copy; ${@DateUtils.getYear()} ${productName} - Powered By <a href="http://jeesite.com">JeeSite</a>.
&copy; ${@DateUtils.getYear()} ${@Global.getConfig('productName')} - Powered By <a
href="http://jeesite.com">JeeSite ${@Global.getProperty('jeesiteVersion')}</a>
</div>
</div>
<% } %>