Live2D

随笔分类 -  Java日常报错解决

摘要:首先拦截器放行: html: toolbar或者toolbardemo; JS: 头工具栏: 或者: 控制层:新新建统一标准接口 阅读全文
posted @ 2020-07-27 09:55 漫天繁星入眼帘 阅读(162) 评论(0) 推荐(0)
摘要:html: js: //创建字典复选框 //contain:容器JQ对象, //dictCode:字典编码 //excludeList:要排除不显示的字典数据编码列表 function addDictDataToCheckBox(contain,dictCode,excludeList,name){ 阅读全文
posted @ 2020-07-24 14:57 漫天繁星入眼帘 阅读(337) 评论(0) 推荐(0)
摘要:需要新建一个接口去查询到另一张表中所需要用到的数据 Sql写在乙表的dao.xml 接口方法、控制层都写在乙表当中: 甲表的HTML: 甲表的JS: 乙表: docDocumentSearchResult.getRecords()要与data.xxx保持一致~~~ 阅读全文
posted @ 2020-07-24 10:43 漫天繁星入眼帘 阅读(131) 评论(0) 推荐(0)
摘要:甲获取到乙的数据 插入到丙: Sql:写在甲表中: 甲表关联查询乙表 甲对乙的关联查询接口写在了甲中: <!-- search --> <select id="searchRps" parameterType="com.greathack.homlin.pojo.docDistribute.DocR 阅读全文
posted @ 2020-07-24 08:58 漫天繁星入眼帘 阅读(188) 评论(0) 推荐(0)
摘要:字典不需要控制字符区间 字典控制: 阅读全文
posted @ 2020-07-24 08:51 漫天繁星入眼帘 阅读(114) 评论(0) 推荐(0)
摘要:(但是toolbar有多条操作记录时 该方法会失败)如下图: 阅读全文
posted @ 2020-07-24 08:50 漫天繁星入眼帘 阅读(390) 评论(0) 推荐(0)
摘要:在controller层打断点 后台只捕获到docState 问题有可能发生在JS 添加 ,approvalState:formData.approvalState 阅读全文
posted @ 2020-07-24 08:49 漫天繁星入眼帘 阅读(171) 评论(0) 推荐(0)
摘要:添加: sort: true, width: 150 阅读全文
posted @ 2020-07-24 08:48 漫天繁星入眼帘 阅读(124) 评论(0) 推荐(0)
摘要:在项目webinfo下面创建lib文件 引入ueditor.1.2.2 jar(比较特殊 因为maven仓库里没有) 阅读全文
posted @ 2020-07-24 08:43 漫天繁星入眼帘 阅读(914) 评论(0) 推荐(0)
摘要:Umeditor.min.js 在最后面添加(save)方法: UM.registerUI('save', function( name ){ //该方法里的this指向编辑器实例 var me = this, //实例化一个UMEDITOR提供的按钮对象 $button = $.eduibutto 阅读全文
posted @ 2020-07-24 08:40 漫天繁星入眼帘 阅读(517) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2020-07-24 08:38 漫天繁星入眼帘 阅读(327) 评论(0) 推荐(0)
摘要:UM.getEditor("addPowersToDocument").setContent(""); setContent(UM.getEditor('addPowersToDocument').execCommand( "getlocaldata" )); (用于把内容替换为草稿) UM.get 阅读全文
posted @ 2020-07-24 08:37 漫天繁星入眼帘 阅读(923) 评论(0) 推荐(0)
摘要:/提交审批 if (obj.event 'addTijiaoshenpi') { var tjsp=document.getElementById('tjsp'); tjsp.childNodes[0].data ="提交发文管理"; tjsp.setAttribute('lay-event','t 阅读全文
posted @ 2020-07-23 18:47 漫天繁星入眼帘 阅读(388) 评论(0) 推荐(0)
摘要:前端:umeditor.config.js默认不需要修改 Image.js修改submit方法(用于解决请求跨域的问题): submit: function (callback) { var me = this, input = $( '<input style="filter: alpha(opa 阅读全文
posted @ 2020-07-23 17:46 漫天繁星入眼帘 阅读(839) 评论(0) 推荐(0)
摘要:html: <div class="layui-form-item"> <label class="layui-form-label cos-sm-1">是否录入志愿云</label> <div class="layui-input-inline cos-sm-3"> <select name="s 阅读全文
posted @ 2020-07-23 17:41 漫天繁星入眼帘 阅读(294) 评论(0) 推荐(0)
摘要:在umeditor.min.js中搜索“,obj.”,修改程“,”,也就是去掉obj.,就可以了 阅读全文
posted @ 2020-07-23 14:37 漫天繁星入眼帘 阅读(607) 评论(0) 推荐(0)
摘要:Js:规定数据列表的字段名称(dataname 和 countName)要与控制层search返回的结果集类型保持一致 页面查询的结果只看js传进的路径 是get(findbyexample)还是search(search(criteria))里面的方法 去dao.xml 找findbyexampl 阅读全文
posted @ 2020-07-23 14:25 漫天繁星入眼帘 阅读(166) 评论(0) 推荐(0)