![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
MVC
文章平均质量分 60
qq_40305341
这个作者很懒,什么都没留下…
展开
-
MVC里view调用Controller代码
<button type="button" onclick="btn_ADD()" style="width:90px;height:26px;">保存并新增</button>function btn_ADD() { if (!$('#form1').Validform()) { return false; } ...原创 2018-05-31 16:51:34 · 1595 阅读 · 0 评论 -
MVC百度地图轨迹重放代码
//GPS轨迹回放 function btn_GPSpalyBack(GPSID) { //昨天的时间 var day1 = new Date(); day1.setTime(day1.getTime()-24*60*60*1000); var s1 = day1.getFullYear() + "-" + (day1.getMo...原创 2018-06-01 14:51:25 · 212 阅读 · 0 评论 -
MVC-JS打印
<script src="../../Content/scripts/plugins/jqueryPrint/jquery.print.js"></script><script type="text/javascript"> function doPrint() { window.print(); } functio...原创 2018-06-01 14:28:30 · 332 阅读 · 0 评论 -
MVC-JS生成二维码
function btn_show(orCode, equipmentID) { //if (imgurl == '' || imgurl == 'null') { // dialogMsg('未生成二维码!', 0); // return; //} dialogOpen({ id: "Show...原创 2018-06-01 14:04:50 · 222 阅读 · 0 评论 -
MVC-JS下载文件
function btn_export(filePath, fileName) { $.ajax({ url: "/ProjBaseManage/CostBudgetInfo/downloadFile", data: { filePath: filePath, fileName: fileName }, type: "...原创 2018-06-01 14:01:25 · 314 阅读 · 0 评论 -
MVC-JS上传文件
<div class="file-loading"> <input id="uploadify" name="uploadify" type="file" multiple></div><script> $(function () { $("#uploadify").fil原创 2018-06-01 13:59:31 · 510 阅读 · 0 评论 -
MVC标签应用bootstraptags代码
<script src="../../Content/scripts/plugins/bootstraptags/bootstrap-tagsinput.min.js"></script><link rel="stylesheet" href="../../Content/styles/bootstrap-tagsinputNoneBorder.css">&原创 2018-05-31 17:22:46 · 168 阅读 · 0 评论 -
MVC中bootstrapTable父子表代码
$(function () { $('#btable').bootstrapTable({ columns: [{ field: 'clas', title: ' ', valign: "middle", align: "center" ...原创 2018-05-31 17:09:48 · 1138 阅读 · 0 评论 -
MVC下拉列表ComboBox的赋值与选项改变事件
$("#MaterialName").ComboBox({ url: "../../SystemManage/DataItemDetail/SelectMaterialName", id: "Name", text: "Name", description: "==请选择==", heig...原创 2018-05-31 17:02:50 · 3074 阅读 · 0 评论 -
MVC下拉框改变事件
$("#Type").ComboBox({ description: "==请选择==", }); $("#Type").bind("change", function () { var value = $(this).attr('data-value'); if (value == "3") { ...原创 2018-05-31 16:59:19 · 1431 阅读 · 0 评论 -
MVC-BOOTSTRPS-FullCalendar
<link href="~/Content/styles/common-ui.css" rel="stylesheet" /><link rel="stylesheet" type="text/css" href="../../Content/styles/fullcalendar.css"><style type="text/原创 2018-06-01 15:06:51 · 176 阅读 · 0 评论