起步软件技术论坛
搜索
 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 3193|回复: 7

[结贴] borderLayout必须有center节点

[复制链接]

48

主题

172

帖子

331

积分

中级会员

Rank: 3Rank: 3

积分
331
发表于 2017-3-16 14:21:55 | 显示全部楼层 |阅读模式
版本: 小版本号:
数据库: 服务器操作系统: 应用服务器:
客户端操作系统: 浏览器:
<?xml version="1.0" encoding="utf-8"?>

<xui:window xmlns:xui="http://www.justep.com/xui" xmlns="http://www.justep.com/xui"
  xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:xforms="http://www.justep.com/xforms"
  xmlns:xhtml="http://www.w3.org/1999/xhtml" component="/UI/system/components/window.xbl.xml#window" id="window">  
  <xforms:model id="model" style="width:143px;height:auto;top:248px;left:222px;">
    <data component="/UI/system/components/data.xbl.xml#data" data-type="json"
      columns="fSZDW,fGCJC,fJSDW,fSZSF,fDYFW,fGCZJ1,fGCZJ2,fZBRQ1,fZBRQ2,dt,total,zt,fGCMC"
      src="" auto-load="false" id="dParm" store-type="simple" auto-new="true" confirm-delete="false"
      confirm-refresh="false">
      <rule id="dataRule1" column="fGCZJ1" type="xsd:float"/>  
      <rule id="dataRule2" column="fGCZJ2" type="xsd:float"/>  
      <rule id="dataRule3" column="fZBRQ1" type="xsd:date"/>  
      <rule id="dataRule4" column="fZBRQ2" type="xsd:date"/>
    </data>  
    <data auto-load="false" component="/UI/system/components/data.xbl.xml#bizData"
      concept="BC_MT_Project" data-type="json" direct-delete="true" id="dataMain"
      limit="20" offset="0" update-mode="whereVersion" confirm-delete="false" order-by="fLCSX asc,fSBZT asc,fBZRQ desc"
      confirm-refresh="false"
      filter-relations="fGCMC,fJSDW,fSZDY,fDYFW,fYYDW,fGCJC,fGCLXBM,fTBHNPXMJL,fGCDD,fJGLX,fCS,fZBJ,fJZMJ,fQZDS,fDX,fSFLY,fXMGK,fLXBZ,fCJDW,fSGXMB,fJLDW,fSJDW,fZJDW,fZBRQ,fZBFS,fXMJL,fKGXKZH,fGHXKZH,fGCZJ,fHTKGRQ,fHTJGRQ,fZRLGC,fCBFW,fGMFL,fCBMS,fSZDW,fFJ1,fSFJTZDXM,fSBZT,fZLMB,fCYMB,fJTBH,fXMZXFL,fGMFLL,fGMXZ,fJGLXX,fYTFL,fGCLX,fSZSF,fBZRQ,fBGRQ,fBGCS,fSFJTMYZB,fBZ2,fSGZT,fZZJD,fWCXMBJ,fSFWB,fSJKGRQ,fFJ,fSHDW,fSHR,fSHSJ,fQZDSC,fQZDXC,fYG,fZDWCHTE,fLXDH,fDataType,fSGBW">
      <reader action="/BCEG/MAT/logic/action/queryBC_MT_ProjectAction" id="default3"/>  
      <writer action="/BCEG/MAT/logic/action/saveBC_MT_ProjectAction" id="default4"/>  
      <creator action="/BCEG/MAT/logic/action/createBC_MT_ProjectAction" id="default5"/>  
      <calculate-relation relation="ch" type="xsd:string"/>  
      <calculate-relation relation="fCheck" type="xsd:integer"/>  
      <calculate-relation relation="update" id="calculate-relation1"/>  
      <calculate-relation relation="calculate0" id="calculate-relation2"/>
    </data>  
    <xforms:action id="action2" ev:event="xbl-loaded">
      <xforms:script id="xformsScript2"><![CDATA[mainActivityFianDiv.modelXBLLoaded(event)]]></xforms:script>
    </xforms:action>  
    <data component="/UI/system/components/data.xbl.xml#bizData" update-mode="whereVersion"
      data-type="json" auto-load="false" id="bizData1" concept="BC_MT_Project" store-type="simple">
      <creator id="default9" action="/BCEG/MAT/logic/action/createBC_MT_ProjectAction"/>  
      <reader id="default10" action="/BCEG/MAT/logic/action/queryBC_MT_ProjectAction"/>  
      <writer id="default11" action="/BCEG/MAT/logic/action/saveBC_MT_ProjectAction"/>
    </data>  
    <data component="/UI/system/components/data.xbl.xml#data" data-type="json"
      columns="id" src="" auto-load="false" id="data1" store-type="simple" auto-new="true"/>  
    <data component="/UI/system/components/data.xbl.xml#bizData" update-mode="whereVersion"
      data-type="json" auto-load="false" id="task" concept="SA_Task" limit="1" store-type="simple"
      order-by="sCreateTime desc">
      <reader id="default12" action="/system/logic/action/queryTaskAction"/>
    </data>
  </xforms:model>  
  <xui:view auto-load="true" id="rootView">
    <xui:view auto-load="true" id="vParm" class="xui-container">
      <layout id="layout1" style="height:100%;" type="flow">
        <xhtml:div component="/UI/system/components/excelLayout.xbl.xml#excelLayout"
          id="excelLayout1" src="selectInput.xls" style="width:100%; height: 100%;">
          <xhtml:input type="button" value="修改" id="input3" class="button_ellipse_edit"
           />
        </xhtml:div>  
        <!--        <xui:place control="orgFilter1" id="controlPlace1"/>-->
      </layout>  
      <!--      <xforms:input class="xui-autofill" id="fSZDW" ref="data('dParm')/fSZDW"/>  -->  
      <!--      <xhtml:div default-value="本人" component="/UI/system/components/orgFilter.xbl.xml#orgFilter"-->  
      <!--        id="fSZDW" show-org-types="ogn" class="xui-autofill" filter-data="dataMain"/>-->  
      <xhtml:div component="/UI/system/components/orgSelect.xbl.xml#orgSelect" id="fSZDW"
        class="xui-autofill">
        <xforms:model id="model1">
          <xui:data component="/UI/system/components/data.xbl.xml#bizData" id="dOrg">
            <filter name="filter8" id="filter2"><![CDATA[sOrgKindID='ogn']]></filter>
          </xui:data>
        </xforms:model>  
        <xhtml:div class="xui-autofill" component="/UI/system/components/select.xbl.xml#treeSelect"
          id="treeSelect1" data-ref="dOrg" multi-select="false" ref="data('dParm')/fSZDW"
          label-ref="data('dParm')/fSZDW">
          <xforms:itemset id="default6"/>  
          <xforms:value id="default24" ref="sName"/>  
          <xforms:label id="default25" ref="sName"/>
        </xhtml:div>
      </xhtml:div>  
      <xforms:input class="xui-autofill" id="fZBRQ1" ref="data('dParm')/fZBRQ1"/>  
      <xforms:input class="xui-autofill" id="fZBRQ2" ref="data('dParm')/fZBRQ2"/>  
      <xhtml:input type="button" value="查询" id="queryTrigger" class="button_ellipse_look"
       />  
      <xhtml:input type="button" value="清空" id="cleanTrigger" class="button_ellipse_return"
       />  
      <xhtml:input type="text" value="" id="input6" class="xui-input"/>  
      <xhtml:input type="text" value="" id="input7" class="xui-input"/>  
      <xhtml:input type="text" value="" id="input8" class="xui-input"/>  
      <xhtml:input type="text" value="" id="input9" class="xui-input"/>  
      <xhtml:input type="text" value="" id="input10" class="xui-input"/>  
      <xhtml:input type="text" value="" id="input11" class="xui-input"/>  
      <xhtml:div component="/UI/system/components/select.xbl.xml#gridSelect" row-height="25"
        dropdown-class="xui-grid-hide-VLine" label-separator="," value-separator=","
        ext-separator="," id="gridSelect1" class="xui-autofill" ref="data('dParm')/zt"
        label-ref="data('dParm')/zt">
        <xforms:label ref="0" id="default1"/>  
        <xforms:value ref="0" id="default7"/>  
        <xforms:itemset id="default8">
          <itemset-data xmlns="" id="default19">  
            <rows id="default20">
              <row id="default21">
                <cell id="default22">未上报</cell>
              </row>  
              <row id="default23">
                <cell id="default26">已上报</cell>
              </row>  
              <row id="default27">
                <cell id="default28">通过</cell>
              </row>  
              <row id="default29">
                <cell id="default30">不通过</cell>
              </row>
            </rows>
          </itemset-data>  
          <xforms:column ref="0" id="default32"/>
        </xforms:itemset>
      </xhtml:div>  
      <xhtml:input type="text" value="" id="input18"/>
    </xui:view>  
    <xhtml:div component="/UI/system/components/bizDataFilterMenu.xbl.xml#bizDataFilterMenu"
      data="dataMain" id="bizDataFilterMenu1"/>  
    <xhtml:div component="/UI/system/components/grid.xbl.xml#grid" header-row-height="25"
      row-height="25" show-header-menu="hide-column,save-layout,group-column,adjust-column"
      id="grdMain" data="dataMain">
      <xui:column id="gridColumn9" ref="fCheck" label="#master_checkbox" type="ch"
        width="36px" align="center"/>  
      <xui:column id="gridColumn10" ref="ch" label="序号" type="ro" width="45px" show-index="true"
        align="center"/>  
      <xui:column id="gridColumn6" ref="calculate0" label="流程状态" type="html" width="80px"
        align="center"/>  
      <xui:column id="gridColumn2" ref="fSZDW" label="所属单位" type="ro" width="100px"
        align="left" sort-datatype="str"/>  
      <xui:column id="gridColumn4" ref="fGCMC" label="工程名称" type="ro" width="216px"/>  
      <xui:column id="gridColumn3" ref="fJTBH" label="工程立项编码" type="ro" width="157px"
        align="left" sort-datatype="str"/>  
      <xui:column id="gridColumn8" ref="fJSDW" label="建设单位" type="ro" width="225px"
        align="left" sort-datatype="str"/>  
      <xui:column id="gridColumn12" ref="fSZSF" label="所属省份" type="ro" width="100px"
        align="left" sort-datatype="str"/>  
      <xui:column id="gridColumn5" ref="fDYFW" label="所属城市" type="ro" width="100px"
        align="left" sort-datatype="str"/>  
      <xui:column id="gridColumn14" ref="fZBRQ" label="中标日期" type="ro" width="100px"
        align="center" sort-datatype="str"/>  
      <xui:column id="gridColumn15" ref="fHTKGRQ" label="合同开工日期" type="ro" width="100px"
        align="center" sort-datatype="str"/>  
      <xui:column id="gridColumn16" ref="fZRLGC" label="合同工期(天)" type="ro" width="80px"
        align="right" sort-datatype="str"/>  
      <xui:column id="gridColumn17" ref="fGCZJ" label="合同额(万元)" type="ro" width="100px"
        align="right" sort-datatype="str" format="0,000.00"/>  
      <xui:column id="gridColumn19" ref="fTBR" label="填报人" type="ro" width="80px"
        align="left" sort-datatype="str"/>  
      <xui:column id="gridColumn20" ref="fBZRQ" label="编制日期" type="ro" width="100px"
        align="center" sort-datatype="str"/>  
      <xui:column id="gridColumn18" ref="fSBZT" label="状态" type="ro" width="61px"
        align="left" sort-datatype="str"/>  
      <!--      <xui:column id="gridColumn21" ref="update" label="历史记录" type="html" width="80px"-->  
      <!--        onRender="mainActivity.grdMain_updateRender" align="center"/> -->
    </xhtml:div>  
    <xhtml:div component="/UI/system/components/buttonBar.xbl.xml#buttonBar" expandable="false"
      expanded="false" id="ngtbMain" separator="true" separator-size="2">
      <xhtml:input type="button" value="编辑" id="input2" class="button_ellipse_edit"
        style="width:54px;"/>  
      <xhtml:input type="button" value="审批记录" id="input1" class="button_ellipse_view"
        style="width:80px;"/>  
      <xhtml:input type="button" value="流程图" id="input4" class="button_ellipse_view"
        style="width:70px;"/>  
      <xforms:trigger component="/UI/system/components/trigger.xbl.xml#trigger" style="background-color:#eeeeee;width:90px;"
        id="trigger2" operation-owner="bizDataFilterMenu1" operation="show" appearance="image-minimal"
        class="button_ellipse_look">
        <xforms:label id="default2"><![CDATA[高级查询]]></xforms:label>
      </xforms:trigger>
    </xhtml:div>  
    <xhtml:div component="/UI/system/components/windowDialog.xbl.xml#windowDialog"
      title="项目立项信息" width="820px" height="490px" modal="false" id="windowDialog2"
      url="/UI/BCEG/MAT/process/MatProjectPro/mainActivityDetail.w" reload-on-open="true"
      resizable="true" minmaxable="true"
      closable="true" status="maximize" show-title="true"/>  
    <xhtml:div component="/UI/system/components/windowDialog.xbl.xml#windowDialog"
      title="变更历史记录" width="820px" height="490px" modal="false" id="windowDialog3"
      url="/UI/BCEG/MAT/process/MatProjectPro/HisActivity.w" resizable="true" minmaxable="true"
      closable="true" show-title="true" status="maximize"/>  
    <xhtml:div component="/UI/system/components/messageDialog.xbl.xml#messageDialog"
      id="messageDialog1" img="question" type="2"/>  
    <xui:layout style="overflow:auto;height:100%;width:100%">


      <!-- **********功能树*************-->  
      <xhtml:div component="/UI/system/components/splitter.xbl.xml#splitter" fix-size="20%"
        mode="horz" id="HSplitter1" class="xui-splitter" style="height:100%;width:100%;"
        has-drag-bar="true" has-arrow-button="true">
        <xhtml:div region="left" id="div1">
          <xhtml:div component="/UI/system/components/borderLayout.xbl.xml#borderLayout"
            id="borderLayout5" style="width:100%; height: 100%;;;;">
            <top size="32px" id="borderLayout-top3">
              <xhtml:div component="/UI/system/components/menu.xbl.xml#menu" appearance="context"
                open-mode="win" menu-id="newItemsMenu" style="display: none;" class="xui-container"
                id="div5">
                <xui:menuitem id="qb" label="展开全部" img="/UI/portal/x5/css/image/icon/expandall.gif"
                  dis-img="/UI/portal/x5/css/image/icon/expandall.gif" disabled="false"/>  
                <xui:menuitem id="two" label="展开到2级" img="/UI/portal/x5/css/image/icon/expandall.gif"
                  dis-img="/UI/portal/x5/css/image/icon/expandall.gif" disabled="false"/>  
                <xui:menuitem id="three" label="展开到3级" img="/UI/portal/x5/css/image/icon/expandall.gif"
                  dis-img="/UI/portal/x5/css/image/icon/expandall.gif" disabled="false"/>  
                <xui:menuitem id="four" label="展开到4级" img="/UI/portal/x5/css/image/icon/expandall.gif"
                  dis-img="/UI/portal/x5/css/image/icon/expandall.gif" disabled="false"/>  
                <xforms:action ev:event="DOMActivate" id="action11">
                  <xforms:script id="xformsScript11">mainActivity.newItemsMenuClick(event)</xforms:script>
                </xforms:action>
              </xhtml:div>  
              <xhtml:table id="table1" style="width:100%;height:31px;" class="table_div_control">
                <xhtml:tr id="tr1">
                  <xhtml:td id="td1" style="text-align:left;height:26px;font-weight:bold;"><![CDATA[]]> </xhtml:td>  
                  <xhtml:td id="td2">
                    <xhtml:input type="button" id="input1" style="height:19px;width:23px;"
                      class="button_ellipse_preview"/>  
                    <xhtml:input type="button" id="input2" style="width:23px;height:19px;"
                      class="button_ellipse_setup"/>
                  </xhtml:td>
                </xhtml:tr>
              </xhtml:table>
            </top>  
            <center id="borderLayout-center5">
              <xui:place control="orgTree1" id="controlPlace3" style="height:100%;width:100%;"/>
            </center>
          </xhtml:div>
        </xhtml:div>  
        <xhtml:div region="right" id="div2">
          <xhtml:div component="/UI/system/components/borderLayout.xbl.xml#borderLayout"
            id="borderLayout3" style="width:100%; height: 100%;;">

            <!-- ********* -->  
            <xhtml:div component="/UI/system/components/splitter.xbl.xml#splitter"
              fix-size="75%" mode="vert" id="VSplitter1" class="xui-splitter" has-drag-bar="true"
              has-arrow-button="true" status="normal" style="height:100%;width:100%;"
              fix-type="bottom" resizable="false">
              <xhtml:div region="top" id="div1" style="background-color:#F5F5F5">
                <xhtml:table id="table2" class="table_div_control" style="width:100%;height:30px;">
                  <xhtml:tr id="tr3">
                    <xhtml:td id="td5" class="td_title"><![CDATA[]]></xhtml:td>
                  </xhtml:tr>
                </xhtml:table>  
                <xhtml:table id="table3" style="width:100%;height:70%;">
                  <xhtml:tr id="tr5">
                    <xhtml:td id="td9" height="100%" style="width:100%;">
                      <place control="vParm" id="controlPlace11" style="height:100%;width:80%;"/>
                    </xhtml:td>
                  </xhtml:tr>
                </xhtml:table>
              </xhtml:div>  
              <xhtml:div region="bottom" id="div2">
                <xhtml:div component="/UI/system/components/borderLayout.xbl.xml#borderLayout"
                  id="borderLayout2" style="width:100%; height: 100%;">

                  <top size="40px" id="borderLayout-top1">
                    <place control="ngtbMain" id="controlPlace21"/>
                  </top>  
                  <center id="borderLayout-center2">
                    <place control="grdMain" id="controlPlace22" style="width:100%;height:100%"/>  
                    <place control="bizDataFilterMenu1" id="controlPlace23" style="top:57px;left:538px;"/>  
                    <place control="windowDialog2" id="controlPlace25" style="position:absolute;top:251px;left:179px;"/>  
                    <place control="windowDialog3" id="controlPlace28" style="position:absolute;top:353px;left:386px;"/>  
                    <place control="messageDialog1" id="controlPlace27" style="position:absolute;top:220px;left:420px;"/>
                  </center>  
                  <bottom id="borderLayout-bottom1" size="40px">
                    <xhtml:table id="table1" align="center">
                      <xhtml:tr id="tr1">
                        <xhtml:td id="td1">
                          <place control="pagination1" id="controlPlace24"/>
                        </xhtml:td>  
                        <xhtml:td id="td2"><![CDATA[当前]]></xhtml:td>  
                        <xhtml:td id="td6" align="center">
                          <xui:place control="input12" id="controlPlace1" style="width:30px;"/>
                        </xhtml:td>  
                        <xhtml:td id="td7"><![CDATA[条]]></xhtml:td>  
                        <xhtml:td id="td8"><![CDATA[总共]]></xhtml:td>  
                        <xhtml:td id="td10" align="center">
                          <xui:place control="input13" id="controlPlace2" style="width:55px;"/>
                        </xhtml:td>  
                        <xhtml:td id="td11"><![CDATA[条]]></xhtml:td>
                      </xhtml:tr>
                    </xhtml:table>
                  </bottom>
                </xhtml:div>
              </xhtml:div>
            </xhtml:div>
            <!-- ******* -->
          </xhtml:div>
        </xhtml:div>
      </xhtml:div>  
      <!-- **********功能树*************-->  
      <xui:place control="dlgChart" id="controlPlace4"/>  
      <xui:place control="process" id="controlPlace5" style="width:24px;"/>
    </xui:layout>  
    <xhtml:div align="centered" component="/UI/system/components/pagination.xbl.xml#pagination"
      data="dataMain" first-label="首页" id="pagination1" items="first last pre next"
      last-label="尾页" next-label="下页" page-count="15" pre-label="上页"/>  
    <xforms:input id="input12" ref="data('dParm')/dt" readonly="true"/>  
    <xforms:input id="input13" ref="data('dParm')/total" readonly="true"/>  
    <xhtml:div component="/UI/system/components/windowDialog.xbl.xml#windowDialog"
      title="流程轨迹" width="396px" height="264px" modal="true" id="dlgChart" url="/UI/SA/task/taskCenter/dialogs/processChart.w"
      resizable="true" status="maximize" left="0" top="0" dialogUpdate="true"/>  
    <xhtml:div component="/UI/system/components/process.xbl.xml#process" id="process"
      auto-close="false" auto-start="false" auto-save="false" auto-filter="false"/>
  </xui:view>  
  <xui:resource id="resource">
    <xhtml:link rel="stylesheet" type="text/css" id="htmlLink2" href="/UI/portal/x5/css/main.css"/>  
    <xhtml:script id="htmlScript1" src="mainActivityFianDiv.js"/>  
    <xhtml:script id="htmlScript2" src="/UI/BCEG/common/js/common.js"/>  
    <xhtml:script id="htmlScript3" src="/UI/BCEG/common/js/grid(5.2.7).split.Patch.js"/>
  </xui:resource>
</xui:window>


48

主题

172

帖子

331

积分

中级会员

Rank: 3Rank: 3

积分
331
 楼主| 发表于 2017-3-16 14:22:50 | 显示全部楼层
本帖最后由 15030479317 于 2017-3-16 15:12 编辑

添加功能树后报错: borderLayout必须有center节点
我是在VSplitter1控件外套了一层HSplitter1控件,HSplitter1控件中含有相对应的top\center节点,为什么还会报哪个错???
回复 支持 反对

使用道具 举报

91

主题

13万

帖子

3万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
35942
发表于 2017-3-16 15:13:59 | 显示全部楼层
VSplitter外层的borderLayout没有中间区域
boderLayout.png
远程的联系方法QQ1392416607,添加好友时,需在备注里注明其论坛名字及ID,公司等信息
发远程时同时也发一下帖子地址,方便了解要解决的问题  WeX5教程  WeX5下载



如按照该方法解决,请及时跟帖,便于版主结贴
回复 支持 反对

使用道具 举报

48

主题

172

帖子

331

积分

中级会员

Rank: 3Rank: 3

积分
331
 楼主| 发表于 2017-3-16 15:31:08 | 显示全部楼层
jishuang 发表于 2017-3-16 15:13
VSplitter外层的borderLayout没有中间区域

请问该怎么解决???以新手对待我就行
回复 支持 反对

使用道具 举报

91

主题

13万

帖子

3万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
35942
发表于 2017-3-16 16:26:00 | 显示全部楼层
切换的源码中把这个boderLayout删除了然后重新添加,再把VSplitter托到center中
远程的联系方法QQ1392416607,添加好友时,需在备注里注明其论坛名字及ID,公司等信息
发远程时同时也发一下帖子地址,方便了解要解决的问题  WeX5教程  WeX5下载



如按照该方法解决,请及时跟帖,便于版主结贴
回复 支持 反对

使用道具 举报

48

主题

172

帖子

331

积分

中级会员

Rank: 3Rank: 3

积分
331
 楼主| 发表于 2017-3-16 16:40:09 | 显示全部楼层
这个解决了,不过好像还有点错误.回去速度快一点就好了谢谢啦
回复 支持 反对

使用道具 举报

48

主题

172

帖子

331

积分

中级会员

Rank: 3Rank: 3

积分
331
 楼主| 发表于 2017-3-16 17:16:54 | 显示全部楼层
jishuang 发表于 2017-3-16 16:26
切换的源码中把这个boderLayout删除了然后重新添加,再把VSplitter托到center中

<xui:layout style="overflow:auto;height:100%;width:100%">
      <!-- **********功能树*************-->  
      <xhtml:div component="/UI/system/components/splitter.xbl.xml#splitter" fix-size="20%"
        mode="horz" id="HSplitter1" class="xui-splitter" style="height:100%;width:100%;"
        has-drag-bar="true" has-arrow-button="true">
        <xhtml:div region="left" id="div11">
          <xhtml:div component="/UI/system/components/borderLayout.xbl.xml#borderLayout"
            id="borderLayout5" style="width:100%; height: 100%;;;;">
            <top size="32px" id="borderLayout-top3">
              <xhtml:div component="/UI/system/components/menu.xbl.xml#menu" appearance="context"
                open-mode="win" menu-id="newItemsMenu" style="display: none;" class="xui-container"
                id="div5">
                <xui:menuitem id="qb" label="展开全部" img="/UI/portal/x5/css/image/icon/expandall.gif"
                  dis-img="/UI/portal/x5/css/image/icon/expandall.gif" disabled="false"/>  
                <xui:menuitem id="two" label="展开到2级" img="/UI/portal/x5/css/image/icon/expandall.gif"
                  dis-img="/UI/portal/x5/css/image/icon/expandall.gif" disabled="false"/>  
                <xui:menuitem id="three" label="展开到3级" img="/UI/portal/x5/css/image/icon/expandall.gif"
                  dis-img="/UI/portal/x5/css/image/icon/expandall.gif" disabled="false"/>  
                <xui:menuitem id="four" label="展开到4级" img="/UI/portal/x5/css/image/icon/expandall.gif"
                  dis-img="/UI/portal/x5/css/image/icon/expandall.gif" disabled="false"/>  
                <xforms:action ev:event="DOMActivate" id="action11">
                  <xforms:script id="xformsScript11">mainActivityFianDiv.newItemsMenuClick(event)</xforms:script>
                </xforms:action>
              </xhtml:div>  
              <xhtml:table id="table11" style="width:100%;height:31px;" class="table_div_control">
                <xhtml:tr id="tr11">
                  <xhtml:td id="td111" style="text-align:left;height:26px;font-weight:bold;"><![CDATA[]]> </xhtml:td>  
                  <xhtml:td id="td21">
                    <xhtml:input type="button" id="input111" style="height:19px;width:23px;"
                      onclick="mainActivityFianDiv.input111Click(event)" class="button_ellipse_preview"/>  
                    <xhtml:input type="button" id="input112" style="width:23px;height:19px;"
                      onclick="mainActivityFianDiv.input112Click(event)" class="button_ellipse_setup"/>
                  </xhtml:td>
                </xhtml:tr>
              </xhtml:table>
            </top>  
            <center id="borderLayout-center5">
              <xui:place control="orgTree1" id="controlPlace3" style="height:100%;width:100%;"/>
            </center>
          </xhtml:div>
        </xhtml:div>  
        <xhtml:div region="right" id="div22">
          <xhtml:div component="/UI/system/components/borderLayout.xbl.xml#borderLayout"
            id="borderLayout2" style="width:100%; height: 100%;;">
            <center id="borderLayout-center22">
              <!-- ########### -->  
              <xhtml:div component="/UI/system/components/splitter.xbl.xml#splitter"
                fix-size="75%" mode="vert" id="VSplitter1" class="xui-splitter" has-drag-bar="true"
                has-arrow-button="true" status="normal" style="height:100%;width:100%;"
                fix-type="bottom" resizable="false">
                <xhtml:div region="top" id="div1" style="background-color:#F5F5F5">
                  <xhtml:table id="table2" class="table_div_control" style="width:100%;height:30px;">
                    <xhtml:tr id="tr3">
                      <xhtml:td id="td5" class="td_title"><![CDATA[]]></xhtml:td>
                    </xhtml:tr>
                  </xhtml:table>  
                  <xhtml:table id="table3" style="width:100%;height:70%;">
                    <xhtml:tr id="tr5">
                      <xhtml:td id="td9" height="100%" style="width:100%;">
                        <place control="vParm" id="controlPlace11" style="height:100%;width:80%;"/>
                      </xhtml:td>
                    </xhtml:tr>
                  </xhtml:table>
                </xhtml:div>  
                <xhtml:div region="bottom" id="div2">
                  <xhtml:div component="/UI/system/components/borderLayout.xbl.xml#borderLayout"
                    id="borderLayout2" style="width:100%; height: 100%;">
                    <top size="40px" id="borderLayout-top1">
                      <place control="ngtbMain" id="controlPlace21"/>
                    </top>  
                    <center id="borderLayout-center2">
                      <place control="grdMain" id="controlPlace22" style="width:100%;height:100%"/>  
                      <place control="bizDataFilterMenu1" id="controlPlace23"
                        style="top:57px;left:538px;"/>  
                      <place control="windowDialog2" id="controlPlace25" style="position:absolute;top:251px;left:179px;"/>  
                      <place control="windowDialog3" id="controlPlace28" style="position:absolute;top:353px;left:386px;"/>  
                      <place control="messageDialog1" id="controlPlace27" style="position:absolute;top:220px;left:420px;"/>
                    </center>  
                    <bottom id="borderLayout-bottom1" size="40px">
                      <xhtml:table id="table1" align="center">
                        <xhtml:tr id="tr1">
                          <xhtml:td id="td1">
                            <place control="pagination1" id="controlPlace24"/>
                          </xhtml:td>  
                          <xhtml:td id="td2"><![CDATA[当前]]></xhtml:td>  
                          <xhtml:td id="td6" align="center">
                            <xui:place control="input12" id="controlPlace1" style="width:30px;"/>
                          </xhtml:td>  
                          <xhtml:td id="td7"><![CDATA[条]]></xhtml:td>  
                          <xhtml:td id="td8"><![CDATA[总共]]></xhtml:td>  
                          <xhtml:td id="td10" align="center">
                            <xui:place control="input13" id="controlPlace2" style="width:55px;"/>
                          </xhtml:td>  
                          <xhtml:td id="td11"><![CDATA[条]]></xhtml:td>
                        </xhtml:tr>
                      </xhtml:table>
                    </bottom>
                  </xhtml:div>
                </xhtml:div>
              </xhtml:div>  
              <!-- ########### -->
            </center>
          </xhtml:div>
        </xhtml:div>
      </xhtml:div>  
      <!-- **********功能树*************-->  
      <xui:place control="dlgChart" id="controlPlace4"/>  
      <xui:place control="process" id="controlPlace5" style="width:24px;"/>
    </xui:layout>  
    <!-- ***下orgTree1**** -->  
    <xhtml:div component="/UI/system/components/orgTree.xbl.xml#orgTree" id="orgTree1"
      show-org-types="ogn" include-disable-org="false" use-virtual-root="false">
      <xforms:model id="model2">
        <xui:data component="/UI/system/components/data.xbl.xml#bizData" id="bizData2"
          auto-load="false" onIndexChanged="mainActivityFianDiv.tree1RowClick"/>
      </xforms:model>  
      <xhtml:div style="width:100%;height:100%;" appearance="tree" component="/UI/system/components/grid.xbl.xml#grid"
        id="tree1" data="bizData2">
        <xui:column ref="sName" type="tree" id="gridColumn1" readonly="true"/>
      </xhtml:div>
    </xhtml:div>  
    <!-- ***下orgTree1**** -->  
    <xhtml:div align="centered" component="/UI/system/components/pagination.xbl.xml#pagination"
      data="dataMain" first-label="首页" id="pagination1" items="first last pre next"
      last-label="尾页" next-label="下页" page-count="15" pre-label="上页"/>  
    <xforms:input id="input12" ref="data('dParm')/dt" readonly="true"/>  
    <xforms:input id="input13" ref="data('dParm')/total" readonly="true"/>  
    <xhtml:div component="/UI/system/components/windowDialog.xbl.xml#windowDialog"
      title="流程轨迹" width="396px" height="264px" modal="true" id="dlgChart" url="/UI/SA/task/taskCenter/dialogs/processChart.w"
      resizable="true" status="maximize" left="0" top="0" dialogUpdate="true"/>  
    <xhtml:div component="/UI/system/components/process.xbl.xml#process" id="process"
      auto-close="false" auto-start="false" auto-save="false" auto-filter="false"/>
  </xui:view>  
  <xui:resource id="resource">
    <xhtml:link rel="stylesheet" type="text/css" id="htmlLink2" href="/UI/portal/x5/css/main.css"/>  
    <xhtml:script id="htmlScript1" src="mainActivityFianDiv.js"/>  
    <xhtml:script id="htmlScript2" src="/UI/BCEG/common/js/common.js"/>  
    <xhtml:script id="htmlScript3" src="/UI/BCEG/common/js/grid(5.2.7).split.Patch.js"/>
  </xui:resource>
</xui:window>

为啥左边树形结构显示不出来??

回复 支持 反对

使用道具 举报

91

主题

13万

帖子

3万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
35942
发表于 2017-3-16 17:19:05 | 显示全部楼层
看控制台是否有报错
远程的联系方法QQ1392416607,添加好友时,需在备注里注明其论坛名字及ID,公司等信息
发远程时同时也发一下帖子地址,方便了解要解决的问题  WeX5教程  WeX5下载



如按照该方法解决,请及时跟帖,便于版主结贴
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|X3技术论坛|Justep Inc.    

GMT+8, 2024-5-19 09:02 , Processed in 0.068498 second(s), 27 queries .

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表