combotree 选中之后没值

提问 未结 1 6031
Wilson 5年前
悬赏:20飞吻
      <div class="topjui-row">
<div class="topjui-col-sm12">
<label class="topjui-form-label">上级部门</label>
<div class="topjui-input-block">
<input type="hidden" name="dept_parent_name">
<input type="text" name="dept_parent_code"
data-toggle="topjui-combotree"
data-options="textField:'text',
url:'/Action/CompDeptAction.ashx?do=getdata&dept_parent_code=*',
expandUrl:'/Action/CompDeptAction.ashx?do=getdata&dept_parent_code={dept_code}',
param:'dept_parent_name:text' ">
</div>
</div>
</div>
--------------------------------
数据返回
[{"state":"closed","text":"资讯部","dept_code":"IT","dept_name":"资讯部","dept_parent_code":"*","dept_tel":null,"dept_fax":null,"objid":"AAASugAAFAAAAMvAAA","objversion":"20160229130738"},{"state":"closed","text":"所有部门","dept_code":"QQCTU","dept_name":"所有部门","dept_parent_code":"*","dept_tel":null,"dept_fax":null,"objid":"AAASugAAFAAAAMvAAC","objversion":"20160510142103"},{"state":"closed","text":"技术部","dept_code":"TEC","dept_name":"技术部","dept_parent_code":"*","dept_tel":"032-38253371","dept_fax":"032-38253372","objid":"AAASugAAFAAAAMvAAD","objversion":"20150904102629"},{"state":"closed","text":"机务","dept_code":"JW","dept_name":"机务","dept_parent_code":"*","dept_tel":null,"dept_fax":null,"objid":"AAASugAAFAAAAMvAAE","objversion":"20151009235140"},{"state":"closed","text":"机务","dept_code":"JW","dept_name":"机务","dept_parent_code":"*","dept_tel":null,"dept_fax":null,"objid":"AAASugAAFAAAAMvAAF","objversion":"20151012081421"},{"state":"closed","text":"机务部","dept_code":"JW","dept_name":"机务部","dept_parent_code":"*","dept_tel":null,"dept_fax":null,"objid":"AAASugAAFAAAAMvAAG","objversion":"20150914234428"},{"state":"closed","text":"操作部","dept_code":"OPR","dept_name":"操作部","dept_parent_code":"*","dept_tel":"032-38253371","dept_fax":"032-38253372","objid":"AAASugAAFAAAAMvAAI","objversion":"20150904102629"},{"state":"closed","text":"所有部门名称","dept_code":"*","dept_name":"所有部门名称","dept_parent_code":"*","dept_tel":null,"dept_fax":null,"objid":"AAASugAAFAAAAMvAAK","objversion":"20150924004402"},{"state":"closed","text":"资讯部","dept_code":"IT","dept_name":"资讯部","dept_parent_code":"*","dept_tel":null,"dept_fax":null,"objid":"AAASugAAFAAAAMvAAL","objversion":"20150904102724"},{"state":"closed","text":"所有部门","dept_code":"CRIM","dept_name":"所有部门","dept_parent_code":"*","dept_tel":null,"dept_fax":null,"objid":"AAASugAAFAAAAMvAAN","objversion":"20160121141149"}]



combotree 选中之后没值

回帖
回帖须知