| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209 |
- ${zhiqim_manager_breadcrumb("信息审核")}
- ${zhiqim_manager_content()}
- <script>
- function regCheckBack(questionsId)
- {
- var dialog = new Z.Dialog();
- dialog.title = "入驻审核拒绝";
- dialog.url = "/regCheckBack.htm?questionsId=" + questionsId;
- dialog.width = 450;
- dialog.height = 350;
- dialog.execute();
- }
- function checkApproved(questionsId)
- {
- var dialog = new Z.Dialog();
- dialog.title = "入驻审核通过";
- dialog.url = "/checkApproved.htm?questionsId=" + questionsId;
- dialog.width = 280;
- dialog.height = 230;
- dialog.execute();
- }
- function doDownDesginFile(questionsId)
- {
- var downFileType = "DesginFile";
- var ajax = new Z.Ajax();
- ajax.setClassName("DesignerRegAction");
- ajax.setMethodName("downFile");
- ajax.addParam(questionsId);
- ajax.addParam(downFileType);
- ajax.setFailureAlert();
- ajax.setSuccess(function(attaIdList){
- var attaIds = attaIdList.replace("[","");
- attaIds = attaIds.replace("]","");
- var mainFrame = parent.parent.document.getElementById("mainFrame");
- var mainSrc = mainFrame.src;
- var prefix = Z.l.protocol + "//" + Z.l.host ;
- var element1 = document.createElement("a");
- element1.href = prefix+"/downQuestionsFile.htm?attaId=" + attaIds +"&downFileType="+downFileType;
- Z.L.href(prefix+"/downQuestionsFile.htm?attaId=" + attaIds+"&downFileType="+downFileType, zCallFrame);
- });
- ajax.execute();
- }
- function doDownEndFile(questionsId)
- {
- var downFileType = "EndFile";
- var ajax = new Z.Ajax();
- ajax.setClassName("DesignerRegAction");
- ajax.setMethodName("downFile");
- ajax.addParam(questionsId);
- ajax.addParam(downFileType);
- ajax.setFailureAlert();
- ajax.setSuccess(function(attaIdList){
- var attaIds = attaIdList.replace("[","");
- attaIds = attaIds.replace("]","");
- var mainFrame = parent.parent.document.getElementById("mainFrame");
- var mainSrc = mainFrame.src;
- var prefix = Z.l.protocol + "//" + Z.l.host ;
- var element1 = document.createElement("a");
- element1.href = prefix+"/downQuestionsFile.htm?attaId=" + attaIds +"&downFileType="+downFileType;
- Z.L.href(prefix+"/downQuestionsFile.htm?attaId=" + attaIds+"&downFileType="+downFileType, zCallFrame);
- });
- ajax.execute();
- }
- function queryDetail(){
- var designer = Z.FM.getChecked("designer");
-
- var dialog = new parent.Z.Dialog();
- dialog.title = "设计师详情";
- dialog.url = "/designerCourseDetail.htm?designer="+designer;
- dialog.width = 700;
- dialog.height = 520;
- dialog.execute();
- }
- //考试凭证查看
- function queryExamVoucher(questionsId)
- {
- var ajax = new Z.Ajax();
- ajax.setClassName("DesignerRegAction");
- ajax.setMethodName("queryExamVoucher");
- ajax.addParam(questionsId);
- ajax.setFailureAlert();
- ajax.setSuccess(function(url){
- var hostUrl = Z.l.protocol+'//'+Z.l.host;
- var dialog = new parent.Z.Dialog();
- dialog.shadow = true;
- dialog.title = "考试成绩截图";
- dialog.fixed = true;
- dialog.url = hostUrl+"/showLargeImg.htm?imgpath="+url;
- dialog.width = parent.Z.D.clientWidth()-1000;
- dialog.height = parent.Z.D.clientHeight()-400;
- dialog.execute();
- dialog.$background.remove();
- });
- ajax.setLoading("rackWait", '正在提交', {disabled:true});
- ajax.execute();
- }
- </script>
- <#-- 导航 -->
- <div data-role="z-tabnav" class="z-tabnav-main z-mg-b20 ${zmr_color_class}">
- <nav>
- <ul>
- <li onclick="Z.L.href('designerManage.htm');">设计师管理</li>
- <li onclick="Z.L.href('onlineLog.htm');">在线设计师</li>
- <li onclick="Z.L.href('workSearchLog.htm');">工作日志</li>
- <li onclick="Z.L.href('desOnlineTimeLog.htm');">接单时长</li>
- <li class="z-active">注册审核</li>
- <li onclick="Z.L.href('virtualAccount.htm');">资金账户</li>
- <li onclick="Z.L.href('accountsManage.htm');">结算管理</li>
- </ul>
- </nav>
- </div>
- <#-- 列表 -->
- <!--<div class="z-tabnav-main z-blue z-mg-b5">
- <nav>
- <ul>
- <li class="z-active" >注册审核</li>
- <li onclick="Z.L.href('designerProfile.htm');">简介审核</li>
- <li onclick="Z.L.href('designerWorks.htm');">作品审核</li>
- </ul>
- </nav>
- </div>-->
- <form name="designerManage" action="/designerReg.htm" method="post" id="designerReg">
- <table class="z-table z-bordered z-pd6 z-bg-white">
- <tr>
- <td> 设 计 师
- <input type="text" name="designer" class="z-input z-w180 ${zmr_color_class}" value="${designer}">
- </td>
- <td> 手 机 号
- <input type="text" name="mobile" class="z-input z-w180 ${zmr_color_class}" value="${mobile}">
- </td>
- <td>状态
- <select name="status" class="z-select z-w180" data-role="z-select-search" data-class="${zmr_color_class}">
- <option value="">请选择</option>
- <option value="0" <#if status == 0>selected</#if>>问卷考试中</option>
- <option value="10" <#if status == 10>selected</#if>>设计考试中</option>
- <option value="20" <#if status == 20>selected</#if>>等待审核</option>
- <option value="40" <#if status == 30>selected</#if>>审核拒绝</option>
- </select>
- </td>
- <td><button class="z-button z-w80 z-large z-mg-r15 ${zmr_color_class}">查询</button><button class="z-button z-large" type="button" onclick="Z.FM.clearForm(this.form);">清空</button></td>
- </tr>
- </table>
- </form>
- <#-- 操作功能 -->
- <div class="z-w100p z-mg-t10 z-mg-b3">
- <button type="button" class="z-button z-mg-t3 z-mg-r6 ${zmr_color_class}" onclick="queryDetail();"><i class="z-font z-query"></i>查看详情</button>
- </div>
- <table class="z-table z-bordered z-h40-tr z-pd6 z-bg-white z-text-center">
- <tr bgcolor="${zmr_thead_bgcolor}" class="z-h40">
- <td width="40">选择</td>
- <td width="80">设计师</td>
- <td width="80">手机号</td>
- <td width="40">状态</td>
- <td width="220">设计要求</td>
- <td width="40">问卷成绩</td>
- <td width="40">设计文件</td>
- <td width="40">印刷文件</td>
- <td width="80">设计完成时间</td>
- <td width="80">操作</td>
- </tr>
- ${zhiqim_manager_tr_no_record(pageResult, 39, "暂时没有考试信息")}
- <#for item : pageResult.list()>
- <tr ${zhiqim_manager_tr_onmouse()} ${zhiqim_manager_tr_click_radio()}>
- <td><input name="designer" type="radio" data-role="z-radio" data-class="${zmr_color_class}" value="${item.getDesigner()}"></td>
- <td>${item.getDesigner()}</td>
- <td>${item.getMobile()}</td>
- <td>
- <#if item.getStatus() == 0>
- 问卷考试中
- <#elseif item.getStatus() == 10>
- 设计考试中
- <#elseif item.getStatus() == 20>
- 等待审核
- <#else>
- 审核拒绝
- </#if>
- </td>
- <td>${item.getDesignRequirements()}</td>
- <td> <#if item.getStatus() == 20>
- <a onclick="queryExamVoucher('${item.getQuestionsId()}')"><p style="color:#2483EB">查看</p></a></#if>
- </td>
- <td> <#if item.getStatus() == 20>
- <a onclick="doDownDesginFile('${item.getQuestionsId()}');"><p style="color:#2483EB">下载</p></a></#if>
- </td>
- <td> <#if item.getStatus() == 20>
- <a onclick="doDownEndFile('${item.getQuestionsId()}');"><p style="color:#2483EB">下载</p></a></#if>
- </td>
- <td>${Sqls.toDateTimeString(item.getDesignEndTime())}</td>
- <td>
- <#if item.getStatus() == 20>
- <button type="button" class="z-button z-w80 z-blue" onclick="checkApproved('${item.getQuestionsId()}')">通过</button>
- <button type="button" class="z-button z-w80 z-red" onclick="regCheckBack('${item.getQuestionsId()}')">拒绝</button>
- <#else>
- ${item.getRemarks()}
- </#if>
- </td>
- </tr>
- </#for>
- </table>
- ${zhiqim_manager_paging(pageResult, "/designerReg.htm")}
- ${zhiqim_manager_content_end()}
|