摘要: 后台返回HttpResponseMessage 类型 前台ajax中dataType: "text" public HttpResponseMessage AddFoodSupply(HttpRequestMessage request, FoodSupplyViewModel foodModel) 阅读全文
posted @ 2019-09-27 17:36 艺洁 阅读(274) 评论(0) 推荐(0) 编辑
摘要: form.on('checkbox', function () { $("#xtree1").find("[type='checkbox']").prop("checked", false); $("#xtree1").find(this).prop("checked", true); form.r 阅读全文
posted @ 2019-09-27 17:31 艺洁 阅读(3568) 评论(0) 推荐(0) 编辑
摘要: <script type="text/html" id="recipelist"> <table> <tr> <td class="w185" style="background-color:#ebf6ff;font-size:14px;font-weight:bold;"> <span class 阅读全文
posted @ 2019-09-27 17:28 艺洁 阅读(1776) 评论(0) 推荐(0) 编辑
摘要: function GetConfirmItem() { var data = []; db.transaction(function(tx) { //查询所有整改项 tx.executeSql( 'select * from ry_confirm_item where confirm_id =? ' 阅读全文
posted @ 2019-09-27 17:25 艺洁 阅读(300) 评论(0) 推荐(0) 编辑
摘要: document.getElementById('save').addEventListener('tap', function(e) { if (!navigator.onLine) { mui.alert("请确认连接网络后再提交"); return; } plus.nativeUI.showW 阅读全文
posted @ 2019-09-27 17:25 艺洁 阅读(179) 评论(0) 推荐(0) 编辑
摘要: //新建数据库 // databasename:数据库名;// version:数据库版本号,可不填;// description:数据库描述;// size:给数据库分配的空间大小; var db = openDatabase('digital_inspection', '1.0.0', '离线数 阅读全文
posted @ 2019-09-27 17:23 艺洁 阅读(336) 评论(0) 推荐(0) 编辑
摘要: var sliderEl = document.getElementById("slider"); sliderEl.classList.add('mui-slider');//页面代码先不加mui-slider保证mui不自动初始化,然后再手动加上mui-slider。接着自己手动初始化 mui( 阅读全文
posted @ 2019-09-27 17:20 艺洁 阅读(384) 评论(0) 推荐(0) 编辑
摘要: var flag1 = false; var flag2 = false; var page1 = 1; var page2 = 1; $$.ready(function() { //循环初始化所有下拉刷新,上拉加载。 $$.each(document.querySelectorAll('.mui- 阅读全文
posted @ 2019-09-27 17:18 艺洁 阅读(435) 评论(0) 推荐(0) 编辑
摘要: 关闭浮窗后重新刷新签名区域 并清空 $sigp.jSignature("reset"); $sigp.empty(); 阅读全文
posted @ 2019-09-27 17:15 艺洁 阅读(208) 评论(0) 推荐(0) 编辑
摘要: 配置文件中<httpRuntime targetFramework="4.6.1" maxRequestLength="1024000 " /> 阅读全文
posted @ 2019-09-27 17:11 艺洁 阅读(227) 评论(0) 推荐(0) 编辑
摘要: public IHttpActionResult ImportFood() { HttpFileCollection files = HttpContext.Current.Request.Files; foreach (string key in files.AllKeys) { HttpPost 阅读全文
posted @ 2019-09-27 17:08 艺洁 阅读(440) 评论(0) 推荐(0) 编辑
摘要: [HttpGet] [Route("exportfoodapplydetail")] public HttpResponseMessage Export_Foodapplydetail(string id, string title) { var list = _fooddetailReposito 阅读全文
posted @ 2019-09-27 17:06 艺洁 阅读(679) 评论(0) 推荐(0) 编辑
摘要: public IHttpActionResult ConfirmUpload() { HttpFileCollection files = HttpContext.Current.Request.Files; if (files != null) { try { foreach (string ke 阅读全文
posted @ 2019-09-27 17:05 艺洁 阅读(689) 评论(0) 推荐(0) 编辑
摘要: propertiesPie() { if (this.Properties.length > 0) { _document.getElementById("properties").innerHTML = '<div id="propertiesPie" style="width:100%;heig 阅读全文
posted @ 2019-09-27 17:01 艺洁 阅读(3237) 评论(0) 推荐(0) 编辑
摘要: data() { return { PartyActivity: "", imgsrc: require("../../../../assets/images/nodata.png") }; } PartyActivityPie() { if (this.PartyActivity.length > 阅读全文
posted @ 2019-09-27 17:00 艺洁 阅读(547) 评论(0) 推荐(0) 编辑
摘要: 页面<el-cascader v-model="partyOrganId" :placeholder="partyOrganName" :props="prop" :show-all-levels="false" class="font_pla" ></el-cascader> data() { r 阅读全文
posted @ 2019-09-27 16:59 艺洁 阅读(25663) 评论(16) 推荐(0) 编辑
摘要: 解决layuiXtree设置单选后table中checkbox无法多选 原先写法:form.on('checkbox', function () { $("[type='checkbox']").prop("checked", ""); $(this).prop("checked", "checke 阅读全文
posted @ 2019-09-27 16:55 艺洁 阅读(1013) 评论(0) 推荐(0) 编辑