แก้ไข op 10 ข้อ
This commit is contained in:
@@ -6,6 +6,29 @@
|
||||
}
|
||||
|
||||
|
||||
<div class="modal fade" id="report_xModel" style="z-index:1500" tabindex="-1" role="dialog" aria-labelledby="report_xModelLabel" aria-hidden="true">
|
||||
<div class="modal-dialog modal-lg" role="document">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h5 class="modal-title" id="report_xModelLabel">พิมพ์แบบประเมิน</h5>
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
||||
<span aria-hidden="true">×</span>
|
||||
</button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<iframe id="report_result" style="display:none; height:500px; width:100%;"></iframe>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-secondary" data-dismiss="modal">ปิด</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="modal fade" id="eva_evaluation_behaviorModel" style="z-index:1500" role="dialog" aria-labelledby="eva_evaluation_behaviorModelLabel" aria-hidden="true">
|
||||
<div class="modal-dialog modal-lg" role="document">
|
||||
<div class="modal-content">
|
||||
@@ -278,8 +301,9 @@
|
||||
|
||||
<input class="form-control" type="hidden" id="s_eva_evaluation_achievement_create_evaluation_detail_id" />
|
||||
|
||||
<div class="col-md-3">
|
||||
<div class="col-md-12">
|
||||
<button class="btn btn-info status_self" onclick="javascript:eva_evaluation_achievement_GoCreate();"><i class="fa fa-plus" style="font-size: 14px;"></i> เพิ่มรายการ</button>
|
||||
<button class="btn btn-info status_self" onclick="javascript:eva_evaluation_achievement_reset_achievement();"><i class="fa fa-plus" style="font-size: 14px;"></i> ดึงรายการจากแบบข้อตกลง</button>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@@ -303,7 +327,7 @@
|
||||
<tfoot>
|
||||
<tr>
|
||||
<th> </th>
|
||||
<th> </th>
|
||||
<th><center><label>รวมน้ำหนัก</label></center></th>
|
||||
<th><p id="sum_a"></p></th>
|
||||
<th style="display:none;"> </th>
|
||||
<th style="display:none;"> </th>
|
||||
@@ -378,10 +402,14 @@
|
||||
|
||||
<div class="row">
|
||||
<div class="form-group col-md-12">
|
||||
|
||||
<button type="button" class="btn btn-submit status_self" onclick="javascript:eva_create_evaluation_detail_status_PutUpdate('next0')">ส่งแบบประเมิน</button>
|
||||
<button type="button" class="btn btn-submit status_self" onclick="javascript:alert('บันทึกเรียบร้อย')">บันทึก</button>
|
||||
<button type="button" class="btn btn-danger" onclick="javascript:window_close()"><i class="fa fa-repeat"></i> กลับ</button>
|
||||
<button type="button" class="btn btn-submit status_self" onclick="javascript:alert('บันทึกเรียบร้อย')">บันทึก</button>
|
||||
|
||||
<button class="btn btn-secondary" onclick="javascript:print_report();">พิมพ์แบบประเมิน</button>
|
||||
|
||||
<button type="button" class="btn btn-primary status_self" onclick="javascript:eva_create_evaluation_detail_status_PutUpdate('next0')">ส่งแบบประเมิน</button>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -393,6 +421,7 @@
|
||||
<script src="~/js/eva_evaluation_behavior/eva_evaluation_behavior.js?version=@MyHelper.GetDummyText()"></script>
|
||||
<script src="~/js/eva_create_evaluation_detail_status/eva_create_evaluation_detail_status_d.js?version=@MyHelper.GetDummyText()"></script>
|
||||
<script src="~/js/eva_idp_plan_owner/eva_idp_plan_owner.js?version=@MyHelper.GetDummyText()"></script>
|
||||
<script src="~/js/rep_eva_x/rep_eva_x_report.js?version=@MyHelper.GetDummyText()"></script>
|
||||
<script>
|
||||
|
||||
var status_self = "";
|
||||
@@ -423,10 +452,10 @@
|
||||
});
|
||||
|
||||
function CheckPermission() {
|
||||
if (status_self === "Y") {
|
||||
$(".status_self").hide();
|
||||
$("#status").text("คุณส่งแบบประเมินไปแล้ว");
|
||||
}
|
||||
//if (status_self === "Y") {
|
||||
// $(".status_self").hide();
|
||||
// $("#status").text("คุณส่งแบบประเมินไปแล้ว");
|
||||
//}
|
||||
}
|
||||
|
||||
function OnWeightChanged(c) {
|
||||
@@ -446,6 +475,14 @@
|
||||
}
|
||||
}
|
||||
|
||||
function print_report() {
|
||||
var eva_create_evaluation_detail_selectitem = [];
|
||||
eva_create_evaluation_detail_selectitem.push(getUrlParameter("id"));
|
||||
|
||||
rep_eva_x_DoSearch("pdf", eva_create_evaluation_detail_selectitem, 1); // 1 คือให้ต่อท้าย แบบข้อตกลง ออกมาด้วย
|
||||
|
||||
}
|
||||
|
||||
</script>
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user