Authored by LUOXC

add alert

... ... @@ -187,7 +187,7 @@ public class BuyerOrderController {
.fluentPut("id", feedback.getId())
.fluentPut("content", feedback.getContent())
.fluentPut("operatorUid", feedback.getOperatorUid())
.fluentPut("operatorName", feedback.getOperatorName())
.fluentPut("operatorName", String.format("%s(%s)",feedback.getOperatorName(),feedback.getUid()))
.fluentPut("createTime", DateUtil.getDateFormatFromInt(feedback.getCreateTime(), "yyyy-MM-dd HH:mm:ss")))
.collect(toList()))
.build();
... ...
... ... @@ -135,7 +135,7 @@
<table border="0" style="width:99%;">
<tr style="height: 60px">
<td width="100%">
<input class="easyui-textbox" id="feedbackContent" name="feedbackContent" data-options="validType:'length[1,50]'" style="width: 100%;height: 100%;"/>
<input class="easyui-textbox" id="feedbackContent" name="feedbackContent" data-options="prompt:'请输入回访内容...',validType:'length[1,50]'" style="width: 100%;height: 100%;" />
</td>
</tr>
</table>
... ... @@ -203,8 +203,9 @@ $(function() {
title : "提示",
msg : "提交回访记录成功!"
});
$('#feedbackRecordSubmitForm').form('clear');
}else {
window.self.$.messager.alert("失败", "失败!", "error");
window.self.$.messager.alert("失败", data.message, "error");
}
});
}
... ...