first commit
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
${request.getValidateScript()}
|
||||
<script>
|
||||
function doOrderQuestionsModify(){
|
||||
var questionsId = ${result.getQuestionsId()};
|
||||
var designRequirements = document.getElementById("designRequirements").value;
|
||||
var ajax = new Z.Ajax();
|
||||
ajax.setClassName("ConfigQuestionsAction");
|
||||
ajax.setMethodName("orderQuestionsModify");
|
||||
ajax.addParam("questionsId", questionsId);
|
||||
ajax.addParam("designRequirements", designRequirements);
|
||||
ajax.setFailureAlert();
|
||||
ajax.setSuccess(function()
|
||||
{
|
||||
Z.success("修改成功", function(){parent.location.reload();parent.Z.Dialog.close();});
|
||||
});
|
||||
ajax.execute();
|
||||
}
|
||||
</script>
|
||||
<style>
|
||||
.container{ min-height:150px;}
|
||||
</style>
|
||||
<form name="theForm" method="post" action="javascript:void(0);" onSubmit="doOrderQuestionsModify(this);">
|
||||
<table class="z-table z-text-left z-pd6 z-bg-white" >
|
||||
<tr>
|
||||
<td>设计要求:</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<input id="designRequirements" type="text" name="designRequirements" class="z-input z-w600" value="${result.getDesignRequirements()}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<#-- 操作 -->
|
||||
<div class="z-w100p z-text-center z-bg-gray z-pd10" style="position:fixed;bottom:0;left:0">
|
||||
<button class="z-button z-large z-w120 ${zmr_color_class}" onclick="doOrderQuestionsModify();">提交</button>
|
||||
<button type="button" class="z-button z-large z-w100 z-mg-l10" onclick="parent.Z.Dialog.close(location.hash);">关闭</button>
|
||||
</div>
|
||||
</form>
|
||||
Reference in New Issue
Block a user