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

This commit is contained in:
Nakorn Rientrakrunchai
2021-03-09 18:46:05 +07:00
parent fcc5146085
commit 2952c1fc2a
40 changed files with 2188 additions and 1176 deletions

View File

@@ -20,27 +20,34 @@
<div class="col-md-12">
<input class="form-control" type="hidden" id="eva_limit_frame_employee_id" />
<input class="form-control" type="hidden" id="eva_limit_frame_employee_frame_group_guid" />
<div class='row'></div>
<div class='row'>
<div class="form-group col-md-4">
<label id="lab_eva_limit_frame_employee_frame_group_guid" for="eva_limit_frame_employee_frame_group_guid">กลุ่มการประเมิน</label>
<select class="form-control" id="eva_limit_frame_employee_frame_group_guid" iLabel="กลุ่มการประเมิน" iRequire="false" iGroup="eva_limit_frame_employee"></select>
</div>
<div class="form-group col-md-4">
<label id="lab_eva_limit_frame_employee_order_of_data" for="eva_limit_frame_employee_order_of_data">ลำดับ</label>
<input class="form-control" type="number" id="eva_limit_frame_employee_order_of_data" iLabel="ลำดับ" iRequire="false" iGroup="eva_limit_frame_employee" />
</div>
</div>
<div class='row'>
<div class="form-group col-md-6">
<div class="form-group col-md-4">
<label id="lab_eva_limit_frame_employee_employee_id" for="eva_limit_frame_employee_employee_id">พนักงาน</label>
<select disabled class="form-control" id="eva_limit_frame_employee_employee_id" iLabel="พนักงาน" iRequire="false" iGroup="eva_limit_frame_employee"></select>
<select class="form-control" id="eva_limit_frame_employee_employee_id" iLabel="พนักงาน" iRequire="false" iGroup="eva_limit_frame_employee"></select>
</div>
<div class="form-group col-md-6">
<label id="lab_eva_limit_frame_employee_org_id" for="eva_limit_frame_employee_org_id">หน่วยงาน</label>
<select disabled class="form-control" id="eva_limit_frame_employee_org_id" iLabel="หน่วยงาน" iRequire="false" iGroup="eva_limit_frame_employee"></select>
<div class="form-group col-md-4">
<label id="lab_eva_limit_frame_employee_org_id" for="eva_limit_frame_employee_org_id">หน่วยงาน ต้นสังกัด</label>
<select class="form-control" id="eva_limit_frame_employee_org_id" iLabel="หน่วยงาน ต้นสังกัด" iRequire="false" iGroup="eva_limit_frame_employee"></select>
</div>
<div class="form-group col-md-4">
<label id="lab_eva_limit_frame_employee_help_org_id" for="eva_limit_frame_employee_help_org_id">ช่วยปฏิบัติงานที่</label>
<select class="form-control" id="eva_limit_frame_employee_help_org_id" iLabel="ช่วยปฏิบัติงานที่" iRequire="false" iGroup="eva_limit_frame_employee"></select>
</div>
</div>
<div class='row'>
<div class="form-group col-md-4">
@@ -54,21 +61,23 @@
</div>
</div>
<div class='row'>
<div class="form-group col-md-3">
<div class="form-group col-md-4">
<label id="lab_eva_limit_frame_employee_salary" for="eva_limit_frame_employee_salary">เงินเดือน</label>
<input class="form-control" type="number" id="eva_limit_frame_employee_salary" iLabel="เงินเดือน" iRequire="false" iGroup="eva_limit_frame_employee" />
</div>
<div class="form-group col-md-3">
<div class="form-group col-md-4">
<label id="lab_eva_limit_frame_employee_position_allowance" for="eva_limit_frame_employee_position_allowance">เงินประจำตำแหน่ง</label>
<input class="form-control" type="number" id="eva_limit_frame_employee_position_allowance" iLabel="เงินประจำตำแหน่ง" iRequire="false" iGroup="eva_limit_frame_employee" />
</div>
<div class="form-group col-md-3">
<div class="form-group col-md-4">
<label id="lab_eva_limit_frame_employee_monthly_remuneration" for="eva_limit_frame_employee_monthly_remuneration">ค่าตอบแทนรายเดือน</label>
<input class="form-control" type="number" id="eva_limit_frame_employee_monthly_remuneration" iLabel="ค่าตอบแทนรายเดือน" iRequire="false" iGroup="eva_limit_frame_employee" />
</div>
<div class="form-group col-md-3">
</div>
<div class='row'>
<div class="form-group col-md-4">
<label id="lab_eva_limit_frame_employee_cost_of_living" for="eva_limit_frame_employee_cost_of_living">ค่าครองชีพ</label>
<input class="form-control" type="number" id="eva_limit_frame_employee_cost_of_living" iLabel="ค่าครองชีพ" iRequire="false" iGroup="eva_limit_frame_employee" />
</div>
@@ -172,14 +181,14 @@
<th>เครื่องมือ</th>
<th><label id='h_eva_limit_frame_employee_order_of_data'>ลำดับ</label></th>
<th><label id='h_eva_limit_frame_employee_employee_id'>พนักงาน</label></th>
<th><label id='h_eva_limit_frame_employee_org_id'>หน่วยงาน</label></th>
<th><label id='h_eva_limit_frame_employee_org_id'>หน่วยงาน ต้นสังกัด</label></th>
<th><label id='h_eva_limit_frame_employee_position_text'>ตำแหน่ง</label></th>
<th><label id='h_eva_limit_frame_employee_level_text'>ระดับ</label></th>
<th><label id='h_eva_limit_frame_employee_salary'>เงินเดือน</label></th>
<th><label id='h_eva_limit_frame_employee_position_allowance'>เงินประจำตำแหน่ง</label></th>
<th><label id='h_eva_limit_frame_employee_monthly_remuneration'>ค่าตอบแทนรายเดือน</label></th>
<th><label id='h_eva_limit_frame_employee_cost_of_living'>ค่าครองชีพ</label></th>
<th><label id='h_eva_limit_frame_employee_help_org_id'>ช่วยปฏิบัติงานที่</label></th>
</tr>
</thead>

View File

@@ -1,67 +0,0 @@
@{
Layout = "~/Views/Shared/_Layout.cshtml";
ViewData["Title"] = "eva_limit_frame_group";
}
<section class="wrapper">
<div class="title col-md-12"><div class="line"></div>จัดการ eva_limit_frame_group</div>
<div class="tools">
<div class="row">
<div class="col-md-12">
<button type="button" class="btn btn-submit" onclick="javascript:eva_limit_frame_group_Add()">
<i class="fa fa-plus"></i> เพิ่มรายการ
</button>
</div>
</div>
</div>
<table id="eva_limit_frame_groupTable" class="display table table-bordered table-striped">
<thead>
<tr>
<th>ลำดับ</th>
<th><label id='h_eva_limit_frame_group_group_guid'>กลุ่มการประเมิน</label></th>
<th><label id='h_eva_limit_frame_group_limit_frame_295'>กรอบวงเงินที่กันไว้</label></th>
<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>กิจกรรม</th>
</tr>
</thead>
<tbody class="thin-border-bottom" id="eva_limit_frame_groupBody"></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_group_Save(getUrlParameter('id'))">บันทึก</button>
</div>
</div>
</div>
</section>
@section FooterPlaceHolder{
<script src="~/js/eva_limit_frame_group/eva_limit_frame_group_inline.js"></script>
<script>
$(document).ready(function () {
//var id = getUrlParameter("id");
//if (id) {
// eva_limit_frame_group_InitialForm(id);
//}
eva_limit_frame_group_InitialForm('');
});
$(document).on("change", ".input_score", function () {
eva_limit_frame_group_Summary();
});
</script>
}

View File

@@ -1,60 +0,0 @@
@using Microsoft.Extensions.Configuration
@inject IConfiguration Configuration
@{
ViewData["Title"] = "eva_limit_frame_group";
}
<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_group</li>
</ol>
</div>
</div>
<section class="wrapper">
<div class="title"><div class="line"></div>รายงาน eva_limit_frame_group</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_group_frame_plan_guid' for='s_eva_limit_frame_group_frame_plan_guid'>frame_plan_guid</label>
<input class="form-control" type="hidden" id="s_eva_limit_frame_group_frame_plan_guid" />
</div>
<div class="form-group col-md-3">
<label id='lab_s_eva_limit_frame_group_group_guid' for='s_eva_limit_frame_group_group_guid'>กลุ่มการประเมิน</label>
<select class="form-control" id="s_eva_limit_frame_group_group_guid" iLabel="กลุ่มการประเมิน" iRequire="true" iGroup="s_eva_limit_frame_group" title='กลุ่มการประเมิน' placeholder='กลุ่มการประเมิน'></select>
</div>
</div>
</div>
<div class="col-md-12">
<button class="btn btn-info" onclick="javascript:eva_limit_frame_group_DoSearch('pdf');">แสดงรายงาน</button>
<button class="btn btn-info" onclick="javascript:eva_limit_frame_group_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_group/eva_limit_frame_group_report.js"></script>
<script>
$(document).ready(function () {
eva_limit_frame_group_InitialForm();
SetupValidationRemark("s_eva_limit_frame_group");
});
</script>
}

View File

@@ -1,62 +0,0 @@
<input class="inpt-control" type="hidden" id="eva_limit_frame_group_id" />
<input class="inpt-control" type="hidden" id="eva_limit_frame_group_frame_plan_guid" />
<div class='row'></div>
<div class='row'></div>
<div class='row'>
<div class="col-md-4">
<div class="inpt-form-group">
<label id="lab_eva_limit_frame_group_group_guid" for="eva_limit_frame_group_group_guid">กลุ่มการประเมิน</label>
<div class="inpt-group">
<select class="inpt-control" id="eva_limit_frame_group_group_guid" iLabel="กลุ่มการประเมิน" iRequire="true" iGroup="eva_limit_frame_group" ></select>
</div>
</div>
</div>
<div class="col-md-4">
<div class="inpt-form-group">
<label id="lab_eva_limit_frame_group_limit_frame_295" for="eva_limit_frame_group_limit_frame_295">กรอบวงเงินที่กันไว้</label>
<div class="inpt-group">
<input class="inpt-control" type="number" id="eva_limit_frame_group_limit_frame_295" iLabel="กรอบวงเงินที่กันไว้" iRequire="true" iGroup="eva_limit_frame_group" />
</div>
</div>
</div>
</div>
<div class='row'>
<div class="col-md-4">
<div class="inpt-form-group">
<label id="lab_eva_limit_frame_group_total_salary" for="eva_limit_frame_group_total_salary">อัตราเงินเดือนรวม</label>
<div class="inpt-group">
<input class="inpt-control" type="number" id="eva_limit_frame_group_total_salary" iLabel="อัตราเงินเดือนรวม" iRequire="true" iGroup="eva_limit_frame_group" />
</div>
</div>
</div>
<div class="col-md-4">
<div class="inpt-form-group">
<label id="lab_eva_limit_frame_group_total_salary_limit" for="eva_limit_frame_group_total_salary_limit">วงเงินในการเลื่อนเงินเดือน</label>
<div class="inpt-group">
<input class="inpt-control" type="number" id="eva_limit_frame_group_total_salary_limit" iLabel="วงเงินในการเลื่อนเงินเดือน" iRequire="true" iGroup="eva_limit_frame_group" />
</div>
</div>
</div>
<div class="col-md-4">
<div class="inpt-form-group">
<label id="lab_eva_limit_frame_group_total_salary_limit_rounded" for="eva_limit_frame_group_total_salary_limit_rounded">วงเงินในการเลื่อนเงินเดือน ที่ใช้จริง</label>
<div class="inpt-group">
<input class="inpt-control" type="number" id="eva_limit_frame_group_total_salary_limit_rounded" iLabel="วงเงินในการเลื่อนเงินเดือน ที่ใช้จริง" iRequire="true" iGroup="eva_limit_frame_group" />
</div>
</div>
</div>
</div>
<div class='row'>
<div class="col-md-12">
<div class="inpt-form-group">
<label id="lab_eva_limit_frame_group_remark" for="eva_limit_frame_group_remark">หมายเหตุ</label>
<div class="inpt-group">
<textarea class="inpt-control" rows="4" cols="50" id="eva_limit_frame_group_remark" iLabel="หมายเหตุ" iRequire="true" iGroup="eva_limit_frame_group" ></textarea>
</div>
</div>
</div>
</div>