优化模型预览页面评论div的高度
This commit is contained in:
parent
07a09e3a88
commit
0ecbc0e3dc
@ -587,7 +587,6 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
$(document).ready(function(){
|
$(document).ready(function(){
|
||||||
debugger;
|
|
||||||
//$("#canvas_container").empty();
|
//$("#canvas_container").empty();
|
||||||
$('#content_zoom').append(Math.round(Designer.config.scale * 100) + "%")
|
$('#content_zoom').append(Math.round(Designer.config.scale * 100) + "%")
|
||||||
var winSize = {
|
var winSize = {
|
||||||
@ -646,7 +645,7 @@
|
|||||||
//$('#closeTab').hide();
|
//$('#closeTab').hide();
|
||||||
$('#tab').hide();
|
$('#tab').hide();
|
||||||
// $("#designer_layout").height(newHeight);
|
// $("#designer_layout").height(newHeight);
|
||||||
$("#designer_layout").height(794);
|
$("#designer_layout").height(954);
|
||||||
$('#openTab').hide();
|
$('#openTab').hide();
|
||||||
$('#closeTab').show();
|
$('#closeTab').show();
|
||||||
$('#tab').css('display', 'inline-block');
|
$('#tab').css('display', 'inline-block');
|
||||||
@ -654,7 +653,7 @@
|
|||||||
initProcessDesc();
|
initProcessDesc();
|
||||||
initPl();
|
initPl();
|
||||||
if(methodId=="data.form" || methodId=="control.policy"){
|
if(methodId=="data.form" || methodId=="control.policy"){
|
||||||
$("#designer_layout").height(834);
|
$("#designer_layout").height(994);
|
||||||
$(".suofang").hide();
|
$(".suofang").hide();
|
||||||
changeUrl();
|
changeUrl();
|
||||||
}else {
|
}else {
|
||||||
@ -694,7 +693,6 @@
|
|||||||
|
|
||||||
//将文件预览页面嵌入流程模型页面
|
//将文件预览页面嵌入流程模型页面
|
||||||
function changeUrl() {
|
function changeUrl() {
|
||||||
debugger;
|
|
||||||
$.ajax({
|
$.ajax({
|
||||||
type : "POST",
|
type : "POST",
|
||||||
url : "./jd?sid=" + sid
|
url : "./jd?sid=" + sid
|
||||||
@ -706,7 +704,6 @@
|
|||||||
if (msg.result == "ok") {
|
if (msg.result == "ok") {
|
||||||
//$.simpleAlert("close");
|
//$.simpleAlert("close");
|
||||||
if (msg['data']) {
|
if (msg['data']) {
|
||||||
debugger;
|
|
||||||
$("#canvas_container").empty();
|
$("#canvas_container").empty();
|
||||||
let url = msg['data']['url'];
|
let url = msg['data']['url'];
|
||||||
$("#canvas_container").append("<iframe id='ifr' src=" + url + "></iframe>");
|
$("#canvas_container").append("<iframe id='ifr' src=" + url + "></iframe>");
|
||||||
@ -909,7 +906,7 @@
|
|||||||
width: 96%!important;
|
width: 96%!important;
|
||||||
padding-top: 20px;
|
padding-top: 20px;
|
||||||
}
|
}
|
||||||
#pinglun{clear: both;overflow: hidden;height: 300px;}
|
#pinglun{clear: both;overflow-y: scroll;overflow-c: hidden;height: 460px;}
|
||||||
.suofang{height:40px;background-color:white;border-top:1px solid #efefef;vertical-align:middle;position: relative;border-bottom-left-radius: 10px;border-bottom-right-radius: 10px;}
|
.suofang{height:40px;background-color:white;border-top:1px solid #efefef;vertical-align:middle;position: relative;border-bottom-left-radius: 10px;border-bottom-right-radius: 10px;}
|
||||||
.processfiledown li{line-height: 20px;}
|
.processfiledown li{line-height: 20px;}
|
||||||
.awsui-table td{border:0!important;}
|
.awsui-table td{border:0!important;}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user