ปรับปรุงให้แนบไฟล์ ผลสัมฤทธิ์ของงาน ได้หลายไฟล์
This commit is contained in:
@@ -118,15 +118,7 @@
|
||||
</div>
|
||||
|
||||
<div class="form-group col-md-4">
|
||||
<label id="lab_eva_evaluation_achievement_thefile" for="eva_evaluation_achievement_thefile">แนบไฟล์</label>
|
||||
<p>
|
||||
<a id="eva_evaluation_achievement_thefile_linkurl" href="#" target="_blank" class="btn btn-info">ดูหรือดาวโหลดไฟล์ของคุณ</a>
|
||||
<a id="eva_evaluation_achievement_thefile_remove" href="javascript:removeFile('eva_evaluation_achievement_thefile');" class="btn btn-danger">ลบไฟล์</a>
|
||||
</p>
|
||||
|
||||
นำเข้าไฟล์ใหม่
|
||||
<input type="file" id="eva_evaluation_achievement_thefile_file" />
|
||||
<input type="hidden" id="eva_evaluation_achievement_thefile_hidURL" iLabel="แนบไฟล์" iRequire="false" iGroup="eva_evaluation_achievement" />
|
||||
<button type="button" class="btn btn-primary" onclick="javascript:open_manage_file()">แนบเอกสาร</button>
|
||||
</div>
|
||||
</div>
|
||||
<div style="display:none;" class='row'>
|
||||
@@ -428,7 +420,6 @@
|
||||
@section FooterPlaceHolder{
|
||||
<script src="~/js/eva_create_evaluation_detail_agreement/eva_create_evaluation_detail_agreement_d.js?version=@MyHelper.GetDummyText()"></script>
|
||||
<script src="~/js/eva_evaluation_achievement/eva_evaluation_achievement.js?version=@MyHelper.GetDummyText()"></script>
|
||||
<script src="~/js/eva_evaluation_behavior/eva_evaluation_behavior.js?version=@MyHelper.GetDummyText()"></script>
|
||||
<script src="~/js/eva_evaluation_behavior/eva_evaluation_behavior_inline.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>
|
||||
@@ -462,11 +453,11 @@
|
||||
});
|
||||
|
||||
function CheckPermission() {
|
||||
if (status_self === "Y") {
|
||||
$(".status_self").hide();
|
||||
$(".status_self_text").attr("disabled", true);
|
||||
$("#status").text("คุณส่งแบบประเมินไปแล้ว");
|
||||
}
|
||||
//if (status_self === "Y") {
|
||||
// $(".status_self").hide();
|
||||
// $(".status_self_text").attr("disabled", true);
|
||||
// $("#status").text("คุณส่งแบบประเมินไปแล้ว");
|
||||
//}
|
||||
}
|
||||
|
||||
function OnWeightChanged(c) {
|
||||
@@ -494,7 +485,6 @@
|
||||
w1 += parseFloat(eva_evaluation_behavior.weight);
|
||||
});
|
||||
$("#sum_weight_eva_evaluation_behavior").text(w1);
|
||||
//console.log(w1);
|
||||
}
|
||||
|
||||
function print_report() {
|
||||
@@ -505,6 +495,14 @@
|
||||
|
||||
}
|
||||
|
||||
function open_manage_file() {
|
||||
window_open(appsite +"/eva_evaluation_achievement_attachView/eva_evaluation_achievement_attach?id="+$("#eva_evaluation_achievement_id").val());
|
||||
}
|
||||
|
||||
function open_manage_file_id(id) {
|
||||
window_open(appsite + "/eva_evaluation_achievement_attachView/eva_evaluation_achievement_attach?id=" + id);
|
||||
}
|
||||
|
||||
</script>
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user