解决发布/阅览标题无法复制/调整评论文字内容

This commit is contained in:
zhal 2022-10-10 18:19:46 +08:00
parent b48c65c7c2
commit 3778713e25
5 changed files with 54 additions and 35 deletions

View File

@ -666,7 +666,7 @@
//渲染评论内容 //渲染评论内容
function initPl() { function initPl() {
$(".message-detial-reply").empty(); $(".message-detial-reply").empty();
$(".message-detial-reply").append("<div class='reply-title'>"+"写下你的看法"+"</div><div class='reply-box'></div><div class='reply-list'></div>"); $(".message-detial-reply").append("<div class='reply-title'>"+"请您发表宝贵意见"+"</div><div class='reply-box'></div><div class='reply-list'></div>");
var addreplystr=""; var addreplystr="";
addreplystr+="<div class='reply-panel'><textarea class='txt emotion replycontent' id='replycontent' maxlength='5000'></textarea>"; 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='"+"提交"+"'/>";
@ -773,7 +773,11 @@
<style> <style>
body{height:100%!important;} body{height:100%!important;}
.newadd_body{ margin: 0;color: #333333; text-align: left;background-color: #f1f5f7;} .newadd_body{ margin: 0;color: #333333; text-align: left;background-color: #f1f5f7;}
.newadd_title{font-size: 18px;font-weight: bold; margin-bottom:20px;display: block } .newadd_title{font-size: 18px;font-weight: bold; margin-bottom:20px;display: block;-webkit-user-select: text;
-khtml-user-select: text;
-moz-user-select: text;
-ms-user-select: text;
user-select: text; }
.newadd_card { .newadd_card {
float: left; float: left;
width:70%; width:70%;

View File

@ -699,7 +699,7 @@
//渲染评论内容 //渲染评论内容
function initPl() { function initPl() {
$(".message-detial-reply").empty(); $(".message-detial-reply").empty();
$(".message-detial-reply").append("<div class='reply-title'>"+"写下你的看法"+"</div><div class='reply-box'></div><div class='reply-list'></div>"); $(".message-detial-reply").append("<div class='reply-title'>"+"请您发表宝贵意见"+"</div><div class='reply-box'></div><div class='reply-list'></div>");
var addreplystr=""; var addreplystr="";
addreplystr+="<div class='reply-panel'><textarea class='txt emotion replycontent' id='replycontent' maxlength='5000'></textarea>"; 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='"+"提交"+"'/>";
@ -831,7 +831,11 @@
<style> <style>
body{height:100%!important;} body{height:100%!important;}
.newadd_body{ margin: 0;color: #333333; text-align: left;background-color: #f1f5f7; font-size: 3.6rem;} .newadd_body{ margin: 0;color: #333333; text-align: left;background-color: #f1f5f7; font-size: 3.6rem;}
.newadd_title{font-size: 4.8rem;font-weight: bold; margin-bottom:2rem;display: block } .newadd_title{font-size: 4.8rem;font-weight: bold; margin-bottom:2rem;display: block;-webkit-user-select: text;
-khtml-user-select: text;
-moz-user-select: text;
-ms-user-select: text;
user-select: text; }
.newadd_card { .newadd_card {
background-color: #fff; background-color: #fff;
background-clip: border-box; background-clip: border-box;

View File

@ -1622,21 +1622,21 @@ function ProcessManual(obj) {
}else if (methodId=="process.epc"){ }else if (methodId=="process.epc"){
manualName="流程文件 :"; manualName="流程文件 :";
}else if (methodId=="process.bpmn2"){ }else if (methodId=="process.bpmn2"){
manualName="BPMN手册 :"; manualName="BPMN文件 :";
}else if (methodId=="process.flowchart"){ }else if (methodId=="process.flowchart"){
manualName="泳道手册 :"; manualName="泳道文件 :";
}else if (methodId=="process.evc"){ }else if (methodId=="process.evc"){
manualName="架构手册 :"; manualName="架构文件 :";
}else if (methodId=="org.normal"){ }else if (methodId=="org.normal"){
manualName="组织手册 :"; manualName="组织文件 :";
}else if (methodId=="itsystem.normal"){ }else if (methodId=="itsystem.normal"){
manualName="IT系统手册 :"; manualName="IT系统文件 :";
}else if (methodId=="control.policy"){ }else if (methodId=="control.policy"){
manualName="制度文件 :"; manualName="制度文件 :";
}else if (methodId=="control.risk"){ }else if (methodId=="control.risk"){
manualName="风险控制手册 :"; manualName="风险控制文件 :";
}else if(methodId=="control.kpi"){ }else if(methodId=="control.kpi"){
manualName="流程绩效手册 :"; manualName="流程绩效文件 :";
} }
$('#processFileDock').empty(); $('#processFileDock').empty();
var t = ''; var t = '';

View File

@ -1641,28 +1641,28 @@ function changeArributeByShape(name) {
function ProcessManual(obj) { function ProcessManual(obj) {
var manualName; var manualName;
if(methodId=="data.form"){ if(methodId=="data.form"){
manualName="表单手册 :"; manualName="表单/模板封面 :";
}else if (methodId=="process.epc"){ }else if (methodId=="process.epc"){
manualName="EPC手册 :"; manualName="流程文件 :";
}else if (methodId=="process.bpmn2"){ }else if (methodId=="process.bpmn2"){
manualName="BPMN手册 :"; manualName="BPMN文件 :";
}else if (methodId=="process.flowchart"){ }else if (methodId=="process.flowchart"){
manualName="泳道手册 :"; manualName="泳道文件 :";
}else if (methodId=="process.evc"){ }else if (methodId=="process.evc"){
manualName="架构手册 :"; manualName="架构文件 :";
}else if (methodId=="org.normal"){ }else if (methodId=="org.normal"){
manualName="组织手册 :"; manualName="组织文件 :";
}else if (methodId=="itsystem.normal"){ }else if (methodId=="itsystem.normal"){
manualName="IT系统手册 :"; manualName="IT系统文件 :";
}else if (methodId=="control.policy"){ }else if (methodId=="control.policy"){
manualName="制度手册 :"; manualName="制度文件 :";
}else if (methodId=="control.risk"){ }else if (methodId=="control.risk"){
manualName="风险控制手册 :"; manualName="风险控制文件 :";
}else if(methodId=="control.kpi"){ }else if(methodId=="control.kpi"){
manualName="流程绩效手册 :"; manualName="流程绩效文件 :";
} }
$('#processFileDock').empty(); $('#processFileDock').empty();
var t = ''; var t = '';
/*t += '<table class="awsui-table">'; /*t += '<table class="awsui-table">';
@ -1826,8 +1826,14 @@ function initUpfileData(obj) {
var processShape = upfileData[ele.id]; var processShape = upfileData[ele.id];
if(processShape != null && processShape.length > 0) { if(processShape != null && processShape.length > 0) {
t += '<div>'; var fileTile="";
t +='<strong>'+'节点附件:'+'</strong>'+ele.text; if(ele.category=="data_form"){
fileTile="表单/模板:";
}else{
fileTile="节点附件:";
}
t += '<div>';
t +='<strong>'+fileTile+'</strong>'+ele.text;
for(var i = 0; i < processShape.length; i++) { for(var i = 0; i < processShape.length; i++) {
t += '<table name="' + ele.id + '" class="awsui-table">'; t += '<table name="' + ele.id + '" class="awsui-table">';
t +='<tbody>'; t +='<tbody>';

View File

@ -44,6 +44,11 @@ html{
} }
.diagram_title.readonly{ .diagram_title.readonly{
cursor: default; cursor: default;
-webkit-user-select: text;
-khtml-user-select: text;
-moz-user-select: text;
-ms-user-select: text;
user-select: text;
} }
.diagram_title.readonly:hover{ .diagram_title.readonly:hover{
background-color: transparent; background-color: transparent;