| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- ${Styles.htmlOverflowHidden()}
- <script>
- Z.onload(function()
- {
- Z(document.forms[0].operatorKey).focusEnd();
- });
- function doSelector()
- {
- var operatorCodes = Z.FM.getCheckeds("operatorCode");
- // parent.doSelectorCallback("${dept.getDeptId()}", operatorCodes);
- var parentInput = parent.document.getElementById('deptTeam');
- if (parentInput) {
- if(parentInput.value != ''){
- parentInput.value = parentInput.value+','+operatorCodes;
- }else{
- parentInput.value = operatorCodes;
- }
- }
- close();
- }
- </script>
- <#-- 查询 -->
- <div class="z-fixed z-t0 z-l0 z-w100p z-pd10 z-bg-gray">
- <form method="post">
- <input name="deptId" type="hidden" value="${dept.getDeptId()}">
- <input name="operatorKey" class="z-float-left z-input z-w300 zi-h35 zi-bd-r-none" placeholder="操作员编码或名称" value="${operatorKey}" maxlength="20">
- <button type="submit" class="z-float-left z-button z-w70 z-h35 zi-bd-rd0 ${zmr_color_class}"><i class="z-font z-query"></i></button>
- </form>
- </div>
- <#-- 列表 -->
- <div class="z-w100p z-pd10 z-overflow-auto" style="margin-top:55px;height:306px;">
- <table class="z-table z-bordered z-pd5 z-text-center">
- <tr class="z-h40 z-bg-gray">
- <td width="50"><input type="checkbox" data-role="z-checkbox" data-class="z-blue" onclick="Z.FM.doSelectCheckBox('operatorCode')"></td>
- <td width="90">操作员头像</td>
- <td width="110">操作员编码</td>
- <td width="*">操作员姓名</td>
- </tr>
- ${zhiqim_manager_tr_no_record(operatorList, 4, "没有可选择的操作员")}
- <#for item : operatorList>
- <tr class="z-pointer" ${zhiqim_manager_tr_onmouse()} ${zhiqim_manager_tr_click_checkbox()}>
- <td><input name="operatorCode" type="checkbox" data-role="z-checkbox" data-class="z-blue" value="${item.getOperatorCode()}"></td>
- <td><img src="${sessionUser.getAvatarUrl(item.getOperatorAvatar(), 50)}" class="z-w50 z-h50 z-bd-rd50p"></td>
- <td>${item.getOperatorCode()}</td>
- <td>${item.getOperatorName()}</td>
- </tr>
- </#for>
- </tale>
- </div>
- <#-- 操作 -->
- <div class="z-fixed z-b0 z-l0 z-w100p z-h60 z-pd10 z-bg-gray z-text-center">
- <button class="z-button z-large z-w150 ${zmr_color_class}" onclick="doSelector();">确定</button>
- <button class="z-button z-large z-w70 z-mg-l10" onclick="parent.Z.Dialog.close(location.hash);">取消</button>
- </div>
|