摘要: /// <summary> /// 图像无损压缩 /// </summary> /// <param name="sFile">源文件</param> /// <param name="dFile">目标文件</param> /// <param name="dHeight">压缩后的高度</par 阅读全文
posted @ 2018-07-12 09:43 jiangcm 阅读(204) 评论(0) 推荐(0) 编辑
摘要: //需要引用html2canvas.js和jspdf.js SavePDF:function(e){ var that = this; $.post("/Biz/DailyExpenseApply/GetpictureToPDF?expenseApplyId=" + this.expenseAppl 阅读全文
posted @ 2018-03-27 15:37 jiangcm 阅读(703) 评论(0) 推荐(0) 编辑
摘要: //需要从nuget上下载iTextSharp.dll和itextsharp.xmlworker.dll //https://blog.csdn.net/ljl_xyf/article/details/3760425 public void iTextSharpCreatPDF(string ima 阅读全文
posted @ 2018-03-27 15:34 jiangcm 阅读(926) 评论(0) 推荐(0) 编辑
摘要: @{ string disabled = ""; if (Model.R_RECORD_STATUS == 1) { disabled = "disabled"; } @Html.Raw(disabled)//动态添加Html } 阅读全文
posted @ 2017-12-01 20:20 jiangcm 阅读(168) 评论(0) 推荐(0) 编辑
摘要: http://blog.csdn.net/baidu_34036884/article/details/68070550 阅读全文
posted @ 2017-12-01 20:19 jiangcm 阅读(11310) 评论(0) 推荐(0) 编辑
摘要: Bootstrap和KendoUI是两个功能不同的框架,Bootstrap是一个CSS/HTML框架,Kendo UI是一个强大的框架用于快速HTML5 UI开发。随着两者版本的更替,会出现以下功能重叠的部分比如Bootsrap中有javascript的组件,KendoUI有自己的CSS体系,但是两 阅读全文
posted @ 2017-11-07 10:33 jiangcm 阅读(369) 评论(0) 推荐(0) 编辑
摘要: BudgetProjectSearch: function () { $("#load").show(); var that = this; var postmodel = {}; postmodel.year = that.YearStr; postmodel.month = that.month 阅读全文
posted @ 2017-11-01 16:49 jiangcm 阅读(3080) 评论(0) 推荐(0) 编辑
摘要: //var query = from d in expenseApplyModel.ApplyBillList.AsEnumerable() // group d by d.ExpenseItemID into g // select new // { // ExpenseItemID = g.Ke 阅读全文
posted @ 2017-10-26 10:47 jiangcm 阅读(4263) 评论(0) 推荐(1) 编辑
摘要: <!DOCTYPE html><html><head> </head><body> <div id="companyManage-window-container"></div> <script type="text/kendo-ui-template" id="tpl-companyManage- 阅读全文
posted @ 2017-09-01 11:48 jiangcm 阅读(915) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html><head></head><body> <div id="example"> <div class="demo-section k-content"> <div data-bind="invisible: isPrimitive"> <input data- 阅读全文
posted @ 2017-08-31 09:44 jiangcm 阅读(881) 评论(0) 推荐(0) 编辑