From 7403762b6dcc273ec4b5edf4890ddd04787d984a Mon Sep 17 00:00:00 2001 From: "DESKTOP-M4V1LH5\\Jin" Date: Tue, 26 Mar 2019 20:53:19 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E7=BB=84=E4=BB=B6=EF=BC=8C?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=90=8E=E5=8F=B0=E7=AE=A1=E7=90=86=E5=91=98?= =?UTF-8?q?=E7=AD=9B=E9=80=89bug=E5=92=8C=E4=B8=8A=E4=BC=A0=E5=9B=BE?= =?UTF-8?q?=E7=89=87=E8=B6=85=E8=BF=871600=E5=AE=BD=E5=BA=A6=E8=87=AA?= =?UTF-8?q?=E5=8A=A8=E7=BC=A9=E5=B0=8F=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- COMCMS.Common/COMCMS.Common.csproj | 2 +- COMCMS.Core/COMCMS.Core.csproj | 2 +- .../Areas/AdminCP/Views/Member/Admins.cshtml | 2 +- COMCMS.Web/COMCMS.Web.csproj | 10 ++++---- COMCMS.Web/wwwroot/js/uploader.js | 5 +++- XCoder/{ => Entity}/Build.tt | 4 +-- XCoder/{ => Entity}/Model.xml | 0 XCoder/XCoder(代码生成器).csproj | 25 +++++++++++-------- XCoder/packages.config | 4 +-- 9 files changed, 31 insertions(+), 23 deletions(-) rename XCoder/{ => Entity}/Build.tt (79%) rename XCoder/{ => Entity}/Model.xml (100%) diff --git a/COMCMS.Common/COMCMS.Common.csproj b/COMCMS.Common/COMCMS.Common.csproj index eaa37ae..f191c4c 100644 --- a/COMCMS.Common/COMCMS.Common.csproj +++ b/COMCMS.Common/COMCMS.Common.csproj @@ -6,7 +6,7 @@ - + diff --git a/COMCMS.Core/COMCMS.Core.csproj b/COMCMS.Core/COMCMS.Core.csproj index 9cdab0f..ebcb1b6 100644 --- a/COMCMS.Core/COMCMS.Core.csproj +++ b/COMCMS.Core/COMCMS.Core.csproj @@ -5,7 +5,7 @@ - + diff --git a/COMCMS.Web/Areas/AdminCP/Views/Member/Admins.cshtml b/COMCMS.Web/Areas/AdminCP/Views/Member/Admins.cshtml index 0b1b86c..564feb4 100644 --- a/COMCMS.Web/Areas/AdminCP/Views/Member/Admins.cshtml +++ b/COMCMS.Web/Areas/AdminCP/Views/Member/Admins.cshtml @@ -135,7 +135,7 @@ limit: params.limit, //页面大小 page: (params.offset / params.limit) + 1, //页码 roleid: $("#roleid").val(), - departmentname: $("#keyword").val() + keyword: $("#keyword").val() }; return temp; }; diff --git a/COMCMS.Web/COMCMS.Web.csproj b/COMCMS.Web/COMCMS.Web.csproj index 83c387f..e5989f5 100644 --- a/COMCMS.Web/COMCMS.Web.csproj +++ b/COMCMS.Web/COMCMS.Web.csproj @@ -7,15 +7,15 @@ - + - + - - + + - + diff --git a/COMCMS.Web/wwwroot/js/uploader.js b/COMCMS.Web/wwwroot/js/uploader.js index 740029f..2261e05 100644 --- a/COMCMS.Web/wwwroot/js/uploader.js +++ b/COMCMS.Web/wwwroot/js/uploader.js @@ -43,7 +43,10 @@ $(function () { //'DelFilePath': '' //定义参数 }, fileVal: 'Filedata', //上传域的名称 - fileSingleSizeLimit: p.filesize * 1024 //文件大小 + fileSingleSizeLimit: p.filesize * 1024, //文件大小 + compress: false, + noCompressIfLarger: false, + compressSize: 0 }); //当validate不通过时,会以派送错误事件的形式通知 diff --git a/XCoder/Build.tt b/XCoder/Entity/Build.tt similarity index 79% rename from XCoder/Build.tt rename to XCoder/Entity/Build.tt index 2e4e760..c5cba09 100644 --- a/XCoder/Build.tt +++ b/XCoder/Entity/Build.tt @@ -1,6 +1,6 @@ <#@ template language="C#" hostSpecific="true" debug="true" #> -<#@ assembly name="$(SolutionDir)\DLL\NewLife.Core.dll" #> -<#@ assembly name="$(SolutionDir)\DLL\XCode.dll" #> +<#@ assembly name="$(ProjectDir)\$(OutputPath)\NewLife.Core.dll" #> +<#@ assembly name="$(ProjectDir)\$(OutputPath)\XCode.dll" #> <#@ import namespace="System.Diagnostics" #> <#@ import namespace="System.IO" #> <#@ import namespace="XCode.Code" #> diff --git a/XCoder/Model.xml b/XCoder/Entity/Model.xml similarity index 100% rename from XCoder/Model.xml rename to XCoder/Entity/Model.xml diff --git a/XCoder/XCoder(代码生成器).csproj b/XCoder/XCoder(代码生成器).csproj index 7577311..da2b1c2 100644 --- a/XCoder/XCoder(代码生成器).csproj +++ b/XCoder/XCoder(代码生成器).csproj @@ -30,39 +30,44 @@ 4 - - ..\packages\NewLife.Core.8.0.6965.42074\lib\net45\NewLife.Core.dll + + ..\packages\NewLife.Core.8.1.2019.324\lib\net45\NewLife.Core.dll + + + + + - - ..\packages\NewLife.XCode.9.10.6965.42078\lib\net45\XCode.dll + + ..\packages\NewLife.XCode.9.11.2019.324\lib\net45\XCode.dll - - TextTemplatingFileGenerator - Build.log - Designer - + + TextTemplatingFileGenerator + Build.log + + - + True True Build.tt diff --git a/XCoder/packages.config b/XCoder/packages.config index 79c3d26..f56c6dd 100644 --- a/XCoder/packages.config +++ b/XCoder/packages.config @@ -1,5 +1,5 @@  - - + + \ No newline at end of file