摘要: <el-upload class="avatar-uploader" ref="uploadImg" action list-type="picture-card" :http-request="uploadImg" :before-upload="beforeUploadImg" :on-remo 阅读全文
posted @ 2019-09-29 15:30 艺洁 阅读(2744) 评论(0) 推荐(0) 编辑
摘要: 第一种 <script type="text/html" id="see-bar"> <a class="layui-btn layui-btn-primary layui-btn-xs " data-id="{{d.id}}" onclick="see(this)" lay-event="See" 阅读全文
posted @ 2019-09-29 15:20 艺洁 阅读(3713) 评论(0) 推荐(0) 编辑
摘要: layui.use('layer', function () { var layer = layui.layer; var img = new Image(); img.src = imgUrl; var content = '<div style="text-align:center;overfl 阅读全文
posted @ 2019-09-29 14:28 艺洁 阅读(468) 评论(0) 推荐(0) 编辑
摘要: #region 二维码生成 /// <summary> /// 批量生成二维码图片 /// </summary> [Route("createCodes"), HttpPost] public List<imageModel> Create_CodeImages(dynamic data) { st 阅读全文
posted @ 2019-09-29 10:44 艺洁 阅读(262) 评论(0) 推荐(0) 编辑
摘要: <input type="file" id="file1" name="file1" accept=".jpg,.png" style="display:none" onchange="showPicture(this);"> <img src="../images/y_add_photo.png" 阅读全文
posted @ 2019-09-29 10:39 艺洁 阅读(281) 评论(0) 推荐(0) 编辑
摘要: $("#entery_id").select2({ ajax: { url: "/api/enter/getenter", dataType: 'json', delay: 250, data: function (params) { return { dept_id:dept_id, code: 阅读全文
posted @ 2019-09-29 10:37 艺洁 阅读(429) 评论(0) 推荐(0) 编辑
摘要: 组件中定义事件 getServiceActive(index,text) { this.active_type = index; if(text=="全部") { text=null; } this.type_text=text; this.$emit("ListenChildEvent",{"ty 阅读全文
posted @ 2019-09-29 10:03 艺洁 阅读(143) 评论(0) 推荐(0) 编辑
摘要: 父页面定义打开、关闭蒙版的自定义事件 var flag = false; //创建遮罩蒙板 var mask = mui.createMask(function() { //设置点击蒙板不会自动消失 //但调用close方法关闭mask时,必须返回true return flag; }); //监听 阅读全文
posted @ 2019-09-29 09:55 艺洁 阅读(629) 评论(0) 推荐(0) 编辑
摘要: 父页面: var confirm_id = this.getAttribute("data-id"); var baseUrl = 'rectification_item.html'; var url = mui.os.plus ? baseUrl : baseUrl + '?confirm_id= 阅读全文
posted @ 2019-09-29 09:45 艺洁 阅读(797) 评论(0) 推荐(0) 编辑
摘要: 父页面:autoShow: false默认不自动加载页面 子页面准备好后显示窗口。 阅读全文
posted @ 2019-09-29 09:43 艺洁 阅读(601) 评论(0) 推荐(0) 编辑
摘要: 原符号 < <= > >= & ' " 替换符号 &lt; &lt;= &gt; &gt;= &amp; &apos; &quot; 阅读全文
posted @ 2019-09-29 09:33 艺洁 阅读(11729) 评论(0) 推荐(1) 编辑
摘要: mapper中写接口,必须加上 @Param("partyOrganId"),否则会出错。 List<EChartsDO> getMemberByAge(@Param("partyOrganId") List<Long> partyOrganId);xml映射中:<sql id="WhereClau 阅读全文
posted @ 2019-09-29 09:31 艺洁 阅读(2187) 评论(0) 推荐(0) 编辑