回复代码

This commit is contained in:
zhal 2022-07-08 13:37:28 +08:00
parent 83226d20bc
commit 435905235f
3 changed files with 6 additions and 7 deletions

View File

@ -563,9 +563,6 @@
<script type="text/javascript" src="../apps/com.actionsoft.apps.coe.pal/lib/designer/extend/js/commentFunction.js"></script>
<!--表情选择-->
<link href="../apps/com.actionsoft.apps.coe.pal/css/jquery.sinaEmotion.css" rel="stylesheet">
<script src="../apps/com.actionsoft.apps.coe.pal/lib/designer/extend/js/jquery.sinaEmotion.js"></script>
@ -669,10 +666,13 @@
$(".message-detial-reply").append("<div class='reply-title'>"+"写下你的看法"+"</div><div class='reply-box'></div><div class='reply-list'></div>");
var addreplystr="";
addreplystr+="<div class='reply-panel'><textarea class='txt emotion replycontent' id='replycontent' maxlength='5000'></textarea>";
addreplystr+="<span title='"+"选择表情"+"' style='background:url(../apps/com.actionsoft.apps.cms/img/system/face_emotion.png);background-size:22px 22px;display: inline-block;width: 22px;height: 22px;margin-left: 5px;' id='showemotion'></span><input type='button' class='button blue reply-add-btn' onclick=addReply('"+ruuid+"'); value='"+"提交"+"'/>";
//addreplystr+="<span title='"+"选择表情"+"' style='background:url(../apps/com.actionsoft.apps.cms/img/system/face_emotion.png);background-size:22px 22px;display: inline-block;width: 22px;height: 22px;margin-left: 5px;' id='showemotion'></span><input type='button' class='button blue reply-add-btn' onclick=addReply('"+ruuid+"'); value='"+"提交"+"'/>";
addreplystr+="<input type='button' class='button blue reply-add-btn' onclick=addReply('"+ruuid+"'); value='"+"提交"+"'/>";
addreplystr+="</div>";
$(".reply-box").append(addreplystr);
$('#showemotion').SinaEmotion($('.emotion'));
//$('#showemotion').SinaEmotion($('.emotion'));
loadReplyData(ruuid,1,0);
}

View File

@ -620,7 +620,7 @@ function showMessageReplyList(replyList,messageid){
var msgid=replyinfo['msgId'];
var replycontent=replyinfo['replyContent'];
replycontent=replaceHtml(replycontent);
replycontent=AnalyticEmotion(replycontent);
//replycontent=AnalyticEmotion(replycontent);
replycontent=replycontent.replace("\r\n", "<br/>");
var replyContentForValue=replaceHtml(replyinfo['replyContent']);
var replytime=replyinfo['replyTime'];

View File

@ -1445,7 +1445,6 @@ function isObjectRelationshipModel(linker, isAlert) {
// 文件属性的处理
function initProcessDesc() {
debugger;
var length = Object.keys(processDesc).length;
var t = '';
for(var i = 1; i <= length; i++) {