- 注册时间
- 2017-7-6
- 最后登录
- 1970-1-1
- 阅读权限
- 10
- 积分
- 169
- 精华
- 0
- 帖子
- 0
|
- <div id="appgrid" class="mini-datagrid" style="width:100%;height:95%"
- url="<%=request.getContextPath() %>/com.primeton.dpms.quality.qualitytask.qualityTaskComponent.loadRuleProblembiz.biz.ext" idField="id" allowResize="false"
- sizeList="[15,20,50,100]" multiSelect="true" onrowdblclick="getManager" pageSize="15" allowAlternating="true" allowResizeColumn="true" allowCellEdit="true" allowCellSelect="true" allowCellValid="true">
- <div property="columns">
- <div type="indexcolumn" headerAlign="center">序号</div>
- <div field="rulesName" headerAlign="center" allowSort="false">数据质量规则名称</div>
- <div field="systemname" headerAlign="center" allowSort="false">检核系统</div>
- <div field="manager" headerAlign="center" >负责人
- </div>
- <div field="startTime" dateFormat="yyyy-MM-dd HH:mm" headerAlign="center" allowSort="false">检核日期</div>
- <div field="createuser" headerAlign="center" allowSort="false">规则创建人</div>
- <div field="endTime" dateFormat="yyyy-MM-dd HH:mm" headerAlign="center" allowSort="false">数据日期</div>
- <div field="totalCount" headerAlign="center" allowSort="false">检核数据总数</div>
- <div field="priblemCount" headerAlign="center" allowSort="false">问题数</div>
- <div field="rateProblem" headerAlign="center" allowSort="false">问题率</div>
- </div>
- </div>
复制代码 上面是我的datagrid,下面是我的js
- nui.open({
- url:"<%=request.getContextPath() %>/qualitytask/getUser.jsp",
- title:"选择负责人",
- width:650,
- height:500,
- showModal:true,
- onload: function () {
- var iframe = this.getIFrameEl();
- var data = {row:row};
- iframe.contentWindow.SetData(data);
- },
- ondestroy:function(action){
- // grid.reload();
- if(action=="ok"){
- var iframe = this.getIFrameEl();
- var data = iframe.contentWindow.GetData();
- row.manager=data.userId;
- grid.setSelected (row);
- }
- }
- });
复制代码 我修改了manager这个值,但是页面上却没有改变
|
|