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

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() {
$(".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="";
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='"+"提交"+"'/>";
@ -773,7 +773,11 @@
<style>
body{height:100%!important;}
.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 {
float: left;
width:70%;

View File

@ -699,7 +699,7 @@
//渲染评论内容
function initPl() {
$(".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="";
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='"+"提交"+"'/>";
@ -831,7 +831,11 @@
<style>
body{height:100%!important;}
.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 {
background-color: #fff;
background-clip: border-box;

View File

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

View File

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

View File

@ -44,6 +44,11 @@ html{
}
.diagram_title.readonly{
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{
background-color: transparent;