|
楼主 |
发表于 2017-3-23 14:49:58
|
显示全部楼层
删掉多余的radioGroup 组件,还是报错
其实不设置 itemset 是不会报错的
Unable to process binding "foreach: function (){return {data:$model.PData.datas,afterRender:$model.comp($element)['_doUpdate'].bind($model.comp($element))} }"
Message: Cannot read property 'datas' of undefined
<?xml version="1.0" encoding="utf-8"?>
<div xmlns="http://www.w3.org/1999/xhtml" component="$UI/system/components/justep/window/window" design="device:m;" xid="window" class="window">
<div component="$UI/system/components/justep/model/model" xid="model" style="height:auto;top:208px;left:769px;">
<div component="$UI/system/components/justep/data/baasData" autoLoad="true" xid="wjData" queryAction="queryVote" saveAction="saveVote" url="/justep/wj_action" tableName="vote" idColumn="id"><column label="序号" name="id" type="String" xid="default1"></column>
<column label="地址" name="ip" type="String" xid="default2"></column>
<column label="11" name="11" type="String" xid="default3"></column>
<column label="12" name="12" type="String" xid="default4"></column>
<column label="13" name="13" type="String" xid="default5"></column>
<column label="14" name="14" type="String" xid="default6"></column>
<column label="15" name="15" type="String" xid="default7"></column>
<column label="16" name="16" type="String" xid="default8"></column>
<column label="17" name="17" type="String" xid="default9"></column>
<column label="18" name="18" type="String" xid="default10"></column>
<column label="19" name="19" type="String" xid="default11"></column></div>
<div component="$UI/system/components/justep/data/data" autoLoad="true" xid="PData" idColumn="id"><column label="部门" name="dep" type="String" xid="xid1"></column>
<column label="编号" name="id" type="String" xid="xid2"></column>
<data xid="default12">[{"dep":"市场开发处","id":"1"},{"dep":"国际业务处","id":"2"}]</data></div></div>
<div component="$UI/system/components/justep/panel/panel"
class="x-panel x-full" xid="panel1">
<div class="x-panel-top" xid="top1">
<div component="$UI/system/components/justep/titleBar/titleBar" title="管理部门服务满意度调查问卷"
class="x-titlebar">
<div class="x-titlebar-left">
</div>
<div class="x-titlebar-title">管理部门服务满意度调查问卷</div>
<div class="x-titlebar-right reverse">
</div>
</div>
</div>
<div class="x-panel-content" xid="content1" _xid="C775D4C8B4F0000172D116001490E1C0" style="bottom: 0px;height:70%;width:1800px;"><div component="$UI/system/components/justep/list/list" class="x-list" xid="list2" data="wjData">
<ul class="x-list-template" xid="listTemplateUl1">
<li xid="li2"><div component="$UI/system/components/justep/row/row" class="x-row" xid="row1">
<div class="x-col" xid="col1"></div>
</div>
<div component="$UI/system/components/justep/row/row" class="x-row" xid="row2">
<div class="x-col" xid="col2">尊敬的各位领导及同事:<br/>
您们好!感谢大家一直以来对公司管理工作的关心、支持、理解!为了改善与提高公司管理服务质量,让员工能充分享有对公司管理工作评价、反馈建议的权利,公司特制定了此表,将按季度征询生产、经营相关部门对管理部门的综合评价,请您在百忙之中抽出宝贵时间填写此表!</div></div><div component="$UI/system/components/justep/row/row" class="x-row" xid="row3">
<div class="x-col" xid="col3"></div></div><div component="$UI/system/components/justep/row/row" class="x-row" xid="row4" style="background-color:#C0C0C0;">
<div class="x-col" xid="col7"><label xid="label4"><![CDATA[填报人信息]]></label></div></div><div component="$UI/system/components/justep/row/row" class="x-row" xid="row5" style="background-color:#C0C0C0;">
<div class="x-col" xid="col8"><label xid="label7"><![CDATA[归属部门]]></label></div>
<div class="x-col" xid="col13"><label xid="label8"><![CDATA[工作类型]]></label></div>
<div class="x-col" xid="col14"><label xid="label9"><![CDATA[工作年限(自入院起)]]></label></div>
<div class="x-col" xid="col15"><label xid="label10"><![CDATA[是否担任部门行政副职、二级项目经理及以上职务]]></label></div>
<div class="x-col" xid="col16"><label xid="label11"><![CDATA[填报时间]]></label></div></div><div component="$UI/system/components/justep/row/row" class="x-row" xid="row6">
<div class="x-col" xid="col9"><span component="$UI/system/components/justep/select/radioGroup" class="x-radio-group x-radio-group-vertical" xid="radioGroup2" bind-itemset="$model.PData" bind-itemsetValue='ref("dep")' bind-itemsetLabel='ref("dep")' bind-ref='ref("11")'></span></div>
<div class="x-col" xid="col10"></div>
<div class="x-col" xid="col11"></div>
<div class="x-col" xid="col12"></div>
<div class="x-col" xid="col17"></div></div><div component="$UI/system/components/justep/row/row" class="x-row" xid="row40">
<div class="x-col" xid="col4"></div>
<div class="x-col" xid="col5"></div>
<div class="x-col" xid="col6"></div></div>
</li></ul> </div></div>
</div>
</div> |
|