ปรับปรุงให้รองรับ การไปช่วยปฏิบัติงาน

This commit is contained in:
Nakorn Rientrakrunchai
2021-03-11 08:03:52 +07:00
parent b5e24a048d
commit 1540543f1f
17 changed files with 1066 additions and 446 deletions

View File

@@ -1,70 +0,0 @@
@{
Layout = "~/Views/Shared/_Layout.cshtml";
ViewData["Title"] = "eva_limit_frame_plan";
}
<section class="wrapper">
<div class="title col-md-12"><div class="line"></div>จัดการ eva_limit_frame_plan</div>
<div class="tools">
<div class="row">
<div class="col-md-12">
<button type="button" class="btn btn-submit" onclick="javascript:eva_limit_frame_plan_Add()">
<i class="fa fa-plus"></i> เพิ่มรายการ
</button>
</div>
</div>
</div>
<table id="eva_limit_frame_planTable" class="display table table-bordered table-striped">
<thead>
<tr>
<th>ลำดับ</th>
<th><label id='h_eva_limit_frame_plan_plan_guid'>แผนการประเมิน</label></th>
<th><label id='h_eva_limit_frame_plan_executed_date'>วันที่ตั้งกรอบวงเงิน</label></th>
<th><label id='h_eva_limit_frame_plan_limit_frame_005'>กรอบวงเงินที่กันไว้</label></th>
<th><label id='h_eva_limit_frame_plan_supervisor1_result'>ผลการตรวจ</label></th>
<th><label id='h_eva_limit_frame_plan_supervisor1_remark'>ความเห็นผู้ประเมิน</label></th>
<th><label id='h_eva_limit_frame_plan_supervisor1_date'>วันที่ประเมิน</label></th>
<th><label id='h_eva_limit_frame_plan_salary_adjustment_date'>เลื่อนเงินเดือนวันที่</label></th>
<th><label id='h_eva_limit_frame_plan_limit_frame_005_total'>กันวงเงินไว้</label></th>
<th><label id='h_eva_limit_frame_plan_limit_frame_005_total_rounded'>กันวงเงินใช้จริง</label></th>
<th>กิจกรรม</th>
</tr>
</thead>
<tbody class="thin-border-bottom" id="eva_limit_frame_planBody"></tbody>
</table>
<div class="tools">
<div class="row">
<div class="col-md-12">
<button type="button" class="btn btn-outline" data-dismiss="modal">ยกเลิก</button>
<button type="button" class="btn btn-submit" onclick="javascript:eva_limit_frame_plan_Save(getUrlParameter('id'))">บันทึก</button>
</div>
</div>
</div>
</section>
@section FooterPlaceHolder{
<script src="~/js/eva_limit_frame_plan/eva_limit_frame_plan_inline.js"></script>
<script>
$(document).ready(function () {
//var id = getUrlParameter("id");
//if (id) {
// eva_limit_frame_plan_InitialForm(id);
//}
eva_limit_frame_plan_InitialForm('');
});
$(document).on("change", ".input_score", function () {
eva_limit_frame_plan_Summary();
});
</script>
}

View File

@@ -1,55 +0,0 @@
@using Microsoft.Extensions.Configuration
@inject IConfiguration Configuration
@{
ViewData["Title"] = "eva_limit_frame_plan";
}
<div class="row page-title">
<div class="col-md-5">
<div class="page-title">
@Configuration["SiteInformation:modulename"]
</div>
</div>
<div class="col-md-7">
<ol class="breadcrumb" style="">
<li class="breadcrumb-item "><a href="javascript:window_open_from_root('@Configuration["SiteInformation:mainsite"]');">หน้าแรก</a></li>
<li class="breadcrumb-item "><a href="javascript:window_open_from_root('@Configuration["SiteInformation:modulesite"]');">@Configuration["SiteInformation:modulename"]</a></li>
<li class="breadcrumb-item active">รายงาน eva_limit_frame_plan</li>
</ol>
</div>
</div>
<section class="wrapper">
<div class="title"><div class="line"></div>รายงาน eva_limit_frame_plan</div>
<div class="tools">
<div class="row">
<div class="col-md-12">
<div class="row">
<div class="form-group col-md-3">
<label id='lab_s_eva_limit_frame_plan_executed_date' for='s_eva_limit_frame_plan_executed_date'>วันที่ตั้งกรอบวงเงิน</label>
<input class="form-control" type="text" id="s_eva_limit_frame_plan_executed_date" data-provide="datepicker" data-date-language="th-th" iLabel="วันที่ตั้งกรอบวงเงิน" iRequire="true" iGroup="s_eva_limit_frame_plan" title='วันที่ตั้งกรอบวงเงิน' placeholder='วันที่ตั้งกรอบวงเงิน' />
</div>
</div>
</div>
<div class="col-md-12">
<button class="btn btn-info" onclick="javascript:eva_limit_frame_plan_DoSearch('pdf');">แสดงรายงาน</button>
<button class="btn btn-info" onclick="javascript:eva_limit_frame_plan_DoSearch('xlsx');">ดาวน์โหลดเป็น Excel</button>
</div>
</div>
</div>
</section>
<br/>
<iframe id="report_result" style="display:none; height:500px; width:100%;"></iframe>
@section FooterPlaceHolder{
<script src="~/js/eva_limit_frame_plan/eva_limit_frame_plan_report.js"></script>
<script>
$(document).ready(function () {
eva_limit_frame_plan_InitialForm();
SetupValidationRemark("s_eva_limit_frame_plan");
});
</script>
}

View File

@@ -1,92 +0,0 @@
<input class="inpt-control" type="hidden" id="eva_limit_frame_plan_id" />
<input class="inpt-control" type="hidden" id="eva_limit_frame_plan_status_self" />
<input class="inpt-control" type="hidden" id="eva_limit_frame_plan_status_chief" />
<input class="inpt-control" type="hidden" id="eva_limit_frame_plan_supervisor1" />
<div class='row'></div>
<div class='row'>
<div class="col-md-8">
<div class="inpt-form-group">
<label id="lab_eva_limit_frame_plan_plan_guid" for="eva_limit_frame_plan_plan_guid">แผนการประเมิน</label>
<div class="inpt-group">
<select class="inpt-control" id="eva_limit_frame_plan_plan_guid" iLabel="แผนการประเมิน" iRequire="true" iGroup="eva_limit_frame_plan" ></select>
</div>
</div>
</div>
</div>
<div class='row'>
<div class="col-md-4">
<div class="inpt-form-group">
<label id="lab_eva_limit_frame_plan_executed_date" for="eva_limit_frame_plan_executed_date">วันที่ตั้งกรอบวงเงิน</label>
<div class="inpt-group">
<input class="inpt-control" type="text" id="eva_limit_frame_plan_executed_date" data-provide="datepicker" data-date-language="th-th" iLabel="วันที่ตั้งกรอบวงเงิน" iRequire="true" iGroup="eva_limit_frame_plan" />
</div>
</div>
</div>
<div class="col-md-4">
<div class="inpt-form-group">
<label id="lab_eva_limit_frame_plan_limit_frame_005" for="eva_limit_frame_plan_limit_frame_005">กรอบวงเงินที่กันไว้</label>
<div class="inpt-group">
<input class="inpt-control" type="number" id="eva_limit_frame_plan_limit_frame_005" iLabel="กรอบวงเงินที่กันไว้" iRequire="true" iGroup="eva_limit_frame_plan" />
</div>
</div>
</div>
</div>
<div class='row'>
<div class="col-md-4">
<div class="inpt-form-group">
<label id="lab_eva_limit_frame_plan_supervisor1_result" for="eva_limit_frame_plan_supervisor1_result">ผลการตรวจ</label>
<div class="inpt-group">
<select class="inpt-control" id="eva_limit_frame_plan_supervisor1_result" iLabel="ผลการตรวจ" iRequire="true" iGroup="eva_limit_frame_plan" ></select>
</div>
</div>
</div>
<div class="col-md-4">
<div class="inpt-form-group">
<label id="lab_eva_limit_frame_plan_supervisor1_date" for="eva_limit_frame_plan_supervisor1_date">วันที่ประเมิน</label>
<div class="inpt-group">
<input class="inpt-control" type="text" id="eva_limit_frame_plan_supervisor1_date" data-provide="datepicker" data-date-language="th-th" iLabel="วันที่ประเมิน" iRequire="true" iGroup="eva_limit_frame_plan" />
</div>
</div>
</div>
</div>
<div class='row'>
<div class="col-md-12">
<div class="inpt-form-group">
<label id="lab_eva_limit_frame_plan_supervisor1_remark" for="eva_limit_frame_plan_supervisor1_remark">ความเห็นผู้ประเมิน</label>
<div class="inpt-group">
<textarea class="inpt-control" rows="4" cols="50" id="eva_limit_frame_plan_supervisor1_remark" iLabel="ความเห็นผู้ประเมิน" iRequire="true" iGroup="eva_limit_frame_plan" ></textarea>
</div>
</div>
</div>
</div>
<div class='row'>
<div class="col-md-4">
<div class="inpt-form-group">
<label id="lab_eva_limit_frame_plan_salary_adjustment_date" for="eva_limit_frame_plan_salary_adjustment_date">เลื่อนเงินเดือนวันที่</label>
<div class="inpt-group">
<input class="inpt-control" type="text" id="eva_limit_frame_plan_salary_adjustment_date" data-provide="datepicker" data-date-language="th-th" iLabel="เลื่อนเงินเดือนวันที่" iRequire="true" iGroup="eva_limit_frame_plan" />
</div>
</div>
</div>
<div class="col-md-4">
<div class="inpt-form-group">
<label id="lab_eva_limit_frame_plan_limit_frame_005_total" for="eva_limit_frame_plan_limit_frame_005_total">กันวงเงินไว้</label>
<div class="inpt-group">
<input class="inpt-control" type="number" id="eva_limit_frame_plan_limit_frame_005_total" iLabel="กันวงเงินไว้" iRequire="true" iGroup="eva_limit_frame_plan" />
</div>
</div>
</div>
<div class="col-md-4">
<div class="inpt-form-group">
<label id="lab_eva_limit_frame_plan_limit_frame_005_total_rounded" for="eva_limit_frame_plan_limit_frame_005_total_rounded">กันวงเงินใช้จริง</label>
<div class="inpt-group">
<input class="inpt-control" type="number" id="eva_limit_frame_plan_limit_frame_005_total_rounded" iLabel="กันวงเงินใช้จริง" iRequire="true" iGroup="eva_limit_frame_plan" />
</div>
</div>
</div>
</div>

View File

@@ -126,7 +126,7 @@
<th><label id='h_eva_limit_frame_group_total_salary'>อัตราเงินเดือนรวม</label></th>
<th><label id='h_eva_limit_frame_group_total_salary_limit'>วงเงินในการเลื่อนเงินเดือน</label></th>
<th><label id='h_eva_limit_frame_group_total_salary_limit_rounded'>วงเงินในการเลื่อนเงินเดือน ที่ใช้จริง</label></th>
<th><label id='h_eva_limit_frame_group_remark'>หมายเหตุ</label></th>
<th width="40%"><label id='h_eva_limit_frame_group_remark'>หมายเหตุ</label></th>
</tr>
</thead>
<tbody></tbody>