123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
- <SCRIPT type="text/javascript"
- src="<%=request.getContextPath()%>/js/common/swfobject.js"></SCRIPT>
- <script type="text/javascript">var projectPath ="<%=request.getContextPath()%>";</script>
- <script type="text/javascript">
- var webAppHost=projectPath;
- var positionInnerCode;
- function setCustomHeight(){
- setHeight=parseInt(document.getElementById('mainDataLeftDivId').style.height)-2;
- setWidth=parseInt(document.getElementById('mainDataLeftDivId').style.width)-5;
- document.getElementById('flashcontent').style.height=setHeight;
- document.getElementById('flashcontent').style.width=setWidth;
- swfobject.embedSWF(webAppHost+"/system/person/flash/FlexTree.swf", "flashcontent", setWidth,setHeight, "9.0.114", null, flashvars, params, attributes);
- fireResize(setHeight,setWidth);
- }
- function fireResize(setHeight,setWidth){
- gridr.setSize(parseInt(document.getElementById('mainDataRightDivId').style.width),setHeight);
- }
- function displayPersonData(nodeData,nodeType,nodeName){
- if(nodeType=='1'){
- positionInnerCode=nodeData;
- dsr.reload({params:{position:positionInnerCode}});
- }
- }
- <!--
- var flashvars = {
- f_id: "111",
- f_host:webAppHost,
- f_host_img:"34444",
- f_queryPerson:"1",
- f_displayclose:"0"
- };
- var params = {
- menu: "false",
- //wmode: "window",
- wmode: "Opaque",
- allowFullScreen: "true",
- scale: "noscale"
- };
- var attributes = {
- id: "flashcontent",
- name: "flashcontent"
- };
-
- //-->
- </script>
- <div id="toolbarTopDiv" class="buttons">
- <a href="#" onclick="addNewRow();"><span class="icon-add"></span><span
- class="buttons-font">增加</span> </a>
- <a href="#" onclick="saveIcomPersonNature()"><span class="icon-save"></span><span
- class="buttons-font">保存</span> </a>
- <a href="#" onclick="deleteIcomPersonNature()"><span class="icon-delete"></span><span
- class="buttons-font">删除</span> </a>
- <span class="buttons-collapse"><a href="#"></a>
- </span>
- </div>
- <div id="flashcontent" style="position:absolute;top:0px;left:0px; border:1px solid red; width:100px;height:930px;">
- </div>
|