导入月度
parent
1c0ad5224a
commit
dd541bf2a0
|
@ -62,6 +62,7 @@ public class MonthlySettleController extends BaseController {
|
|||
public String info(@RequestParam("id") int id, Map<String, Object> model) {
|
||||
MonthlySettle monthlySettle = monthlySettleService.findById(id);
|
||||
model.put("monthlySettle", monthlySettle);
|
||||
model.put("projectNameStr", monthlySettle.getProjectName());
|
||||
model.put("Utils", FreeMarkerUtil.fromStaticPackage("cn.palmte.work.utils.Utils"));
|
||||
return "/admin/monthly_settle_info";
|
||||
}
|
||||
|
@ -73,6 +74,7 @@ public class MonthlySettleController extends BaseController {
|
|||
monthlySettle = new MonthlySettle();
|
||||
}
|
||||
model.put("monthlySettle", monthlySettle);
|
||||
model.put("projectNameStr", projectName);
|
||||
model.put("Utils", FreeMarkerUtil.fromStaticPackage("cn.palmte.work.utils.Utils"));
|
||||
return "/admin/monthly_settle_info";
|
||||
}
|
||||
|
|
|
@ -112,6 +112,7 @@
|
|||
<div class="am-tabs-bd">
|
||||
<div class="am-tab-panel am-fade am-in am-active" id="tab1">
|
||||
<input name="id" id="id" type="hidden" value="${monthlySettle.id!}" />
|
||||
<input name="projectNameStr" id="projectNameStr" type="hidden" value="${projectNameStr!}" />
|
||||
<#-- <div class="am-u-sm-10">-->
|
||||
<#-- <div class="am-form am-form-inline">-->
|
||||
<#-- <div class="am-form-group am-form-icon">-->
|
||||
|
@ -377,7 +378,7 @@
|
|||
console.log($(this.elem).val());
|
||||
},
|
||||
done: function() {
|
||||
var projectName = $("#projectName").val();
|
||||
var projectName = $("#projectNameStr").val();
|
||||
var time = $(this.elem).val();
|
||||
console.log("time:" + time)
|
||||
$("#pmsForm").attr("action","${base}/monthlySettle/infoByTime?projectName=" + projectName + "&month=" + time + "&listFrom=list");
|
||||
|
|
Loading…
Reference in New Issue