From f6051ff84f0b43ba2c8e3ec50154191760436dd8 Mon Sep 17 00:00:00 2001 From: weizhiqiang <598748873@qq.com> Date: Sat, 30 Apr 2022 15:51:53 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E9=A1=B9=E7=9B=AE=E7=AE=A1?= =?UTF-8?q?=E7=90=86--=E6=88=90=E6=9E=9C=E4=B8=8E=E6=80=BB=E7=BB=93?= =?UTF-8?q?=E5=8A=9F=E8=83=BD=E6=8A=A5=E9=94=99=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../js/proproject/properfectinformation.js | 20 ++----------------- .../tpl/proproject/properfectinformation.html | 2 +- 2 files changed, 3 insertions(+), 19 deletions(-) diff --git a/pro/src/main/resources/template/js/proproject/properfectinformation.js b/pro/src/main/resources/template/js/proproject/properfectinformation.js index dd1e1cc82..b777669c0 100644 --- a/pro/src/main/resources/template/js/proproject/properfectinformation.js +++ b/pro/src/main/resources/template/js/proproject/properfectinformation.js @@ -11,10 +11,8 @@ layui.config({ var index = parent.layer.getFrameIndex(window.name); var $ = layui.$, laydate = layui.laydate; - var ue; - var resultsEnclosureInfoList = new Array();//项目成果和总结的附件 - + showGrid({ id: "showForm", url: flowableBasePath + "proproject015", @@ -54,21 +52,7 @@ layui.config({ // 项目成果和总结的附件回显 skyeyeEnclosure.initTypeISData({'enclosureUpload': json.bean.resultsEnclosureInfoList}); - ue = UE.getEditor('resultsContent',{ - //初始化高度 - initialFrameHeight: 400, - maximumWords: 100000 - }); - UE.Editor.prototype._bkGetActionUrl = UE.Editor.prototype.getActionUrl; - UE.Editor.prototype.getActionUrl = function(action){ - if (action == 'uploadimage' || action == 'uploadfile' || action == 'uploadvideo' || action == 'uploadimage'){//上传单个图片,上传附件,上传视频,多图上传 - return reqBasePath + '/upload/editUploadController/uploadContentPic'; - } else if(action == 'listimage'){ - return reqBasePath + '/upload/editUploadController/downloadContentPic'; - }else{ - return this._bkGetActionUrl.call(this, action); - } - }; + ue = ueEditorUtil.initEditor('resultsContent'); ue.addListener("ready", function () { if(!isNull(json.bean.resultsContent)) ue.setContent(json.bean.resultsContent); diff --git a/pro/src/main/resources/template/tpl/proproject/properfectinformation.html b/pro/src/main/resources/template/tpl/proproject/properfectinformation.html index 29296cc59..f9f970481 100644 --- a/pro/src/main/resources/template/tpl/proproject/properfectinformation.html +++ b/pro/src/main/resources/template/tpl/proproject/properfectinformation.html @@ -213,10 +213,10 @@ + - -- GitLab