diff --git a/com.actionsoft.apps.coe.pal/template/page/pal.pl.repository.designer.htm b/com.actionsoft.apps.coe.pal/template/page/pal.pl.repository.designer.htm index f27938ff..0f08a134 100755 --- a/com.actionsoft.apps.coe.pal/template/page/pal.pl.repository.designer.htm +++ b/com.actionsoft.apps.coe.pal/template/page/pal.pl.repository.designer.htm @@ -830,7 +830,6 @@ ifrm.style.visibility = 'visible'; } function switchWpsDisplay(flag){ - debugger; if(flag){//显示wps页面,隐藏其余页面 $("#wpsPage").css('display','block'); $("#wpsPage").height($('#designer_viewport').height()); @@ -846,9 +845,17 @@ $("#designer_layout").css('display','block'); } } + //切换视图页面 + function switchViews(){ + if ($("#wpsPage").is(":visible")) { + switchWpsDisplay(false); + } else { + switchWpsDisplay(true); + } + } function openWpsUrl(){ $.ajax({ - url: "./jd?sid=" + sid + "&cmd=com.actionsoft.apps.addons.wpsonline_get_previewUrl&fileId=" + ruuid, + url: "./jd?sid=" + sid + "&cmd=com.actionsoft.apps.addons.wpsonline_get_previewUrl&fileId=" + ruuid +"&fileName="+updatedPolicyFileList, type: 'GET', success: function(data) { if(data.code ===200){ @@ -1074,6 +1081,9 @@
+ diff --git a/com.actionsoft.apps.coe.pal/web/com.actionsoft.apps.coe.pal/lib/designer/extend/css/designer.extend.css b/com.actionsoft.apps.coe.pal/web/com.actionsoft.apps.coe.pal/lib/designer/extend/css/designer.extend.css index 2afd6214..1707f3cb 100755 --- a/com.actionsoft.apps.coe.pal/web/com.actionsoft.apps.coe.pal/lib/designer/extend/css/designer.extend.css +++ b/com.actionsoft.apps.coe.pal/web/com.actionsoft.apps.coe.pal/lib/designer/extend/css/designer.extend.css @@ -229,6 +229,13 @@ background-size: contain; } +.ico.switchViews{ + width: 20px; + background-position: 0px 0px; + background: url(../images/switchViews.png) no-repeat; + background-size: contain; +} + .ico.processManifest{ background-position: 0px 0px; background: url(../images/processlist.png) no-repeat;