first commit
This commit is contained in:
@@ -0,0 +1,59 @@
|
||||
<script>
|
||||
function doApproved()
|
||||
{
|
||||
if(Z("#orgId").val() == "")
|
||||
{
|
||||
Z.alert("请选择分配组织");
|
||||
return;
|
||||
}
|
||||
var ajax = new Z.Ajax();
|
||||
ajax.setClassName("RegCheckApprovedAction");
|
||||
ajax.setMethodName("checkApproved");
|
||||
ajax.addParam("questionsId",Z("#questionsId").val());
|
||||
ajax.addParam("orgId",Z("#orgId").val());
|
||||
ajax.addParam("designerGroupId",Z("#designerGroupId").val());
|
||||
ajax.addParam("score",Z("#score").val());
|
||||
ajax.setFailureAlert();
|
||||
ajax.setSuccess(function(){
|
||||
Z.success("操作成功",function(){parent.location.reload();parent.Z.Dialog.close();});
|
||||
});
|
||||
ajax.setLoading("doApproved", '正在提交', {disabled:true});
|
||||
ajax.execute();
|
||||
}
|
||||
</script>
|
||||
<form name="checkApproved" action="javascript:void(0);">
|
||||
<input id="questionsId" type="hidden" value="${questionsId}">
|
||||
<table class="z-table z-bordered z-bg-white z-text-left z-pd-l10">
|
||||
<table class="z-table z-bordered z-pd6 z-bg-white">
|
||||
<tr class="z-h40" bgcolor="#ffffff">
|
||||
<td>分配组织:
|
||||
<select name="orgId" id="orgId" class="z-select z-w150" data-role="z-select" data-class=" ${zmr_color_class}" data-options="maxHeight:120" >
|
||||
<option value="">请选择</option>
|
||||
<#for item : orgList>
|
||||
<option value="${item.getOrgId()}">${item.getOrgName()}</option>
|
||||
</#for>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="address">
|
||||
<td>接单规则:
|
||||
<select name="designerGroupId" id="designerGroupId" class="z-select z-w150" data-role="z-select" data-class=" ${zmr_color_class}" data-options="maxHeight:120" >
|
||||
<#for item : designerGroupList>
|
||||
<option value="${item.getDesignerGroupId()}">${item.getDesignerGroupName()}</option>
|
||||
</#for>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="z-h40" >
|
||||
<td>初始积分:
|
||||
<input type="text" class="${zmr_color_class} z-input z-w150" id="score" name="score" data-options="type:Integer;paste:true;" maxlength="5">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
|
||||
<#-- 操作 -->
|
||||
<div class="z-absolute z-w100p z-h50 z-text-center z-bg-gray" style="bottom:0;left:0">
|
||||
<button id="doApproved" class="z-button z-w100 z-h30 z-mg-t15 z-mg-l5 zi-px14 ${zmr_color_class}" type="button" onclick="doApproved();">提交</button>
|
||||
<button class="z-button z-w100 z-h30 z-mg-t15 z-mg-l5 z-mg-l20 zi-px14" type="button" onclick="parent.Z.Dialog.close();">关闭</button>
|
||||
</div>
|
||||
Reference in New Issue
Block a user