First Initial
This commit is contained in:
115
Views/eva_level_scoreView/eva_level_score.cshtml
Normal file
115
Views/eva_level_scoreView/eva_level_score.cshtml
Normal file
@@ -0,0 +1,115 @@
|
||||
@using Microsoft.Extensions.Configuration
|
||||
@inject IConfiguration Configuration
|
||||
@{
|
||||
ViewData["Title"] = "eva_level_score";
|
||||
}
|
||||
|
||||
<div class="modal fade" id="eva_level_scoreModel" style="z-index:1500" tabindex="-1" role="dialog" aria-labelledby="eva_level_scoreModelLabel" aria-hidden="true">
|
||||
<div class="modal-dialog modal-lg" role="document">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h5 class="modal-title" id="eva_level_scoreModelLabel">บันทึกข้อมูล กำหนดระดับผลการประเมิน</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">
|
||||
<input class="form-control" type="hidden" id="eva_level_score_id" />
|
||||
|
||||
<div class='row'></div>
|
||||
<div class='row'>
|
||||
<div class="form-group col-md-6">
|
||||
<label id="lab_eva_level_score_code" for="eva_level_score_code">รหัสระดับผลงาน</label>
|
||||
<input class="form-control" type="text" id="eva_level_score_code" iLabel="รหัสระดับผลงาน" iRequire="true" iGroup="eva_level_score" />
|
||||
</div>
|
||||
|
||||
<div class="form-group col-md-6">
|
||||
<label id="lab_eva_level_score_detail" for="eva_level_score_detail">ระดับผลการประเมิน</label>
|
||||
<input class="form-control" type="text" id="eva_level_score_detail" iLabel="ระดับผลการประเมิน" iRequire="true" iGroup="eva_level_score" />
|
||||
</div>
|
||||
</div>
|
||||
<div class='row'>
|
||||
<div class="form-group col-md-6">
|
||||
<label id="lab_eva_level_score_max_score" for="eva_level_score_max_score">ช่วงคะแนนสูงสุด</label>
|
||||
<input class="form-control" type="number" id="eva_level_score_max_score" iLabel="ช่วงคะแนนสูงสุด" iRequire="true" iGroup="eva_level_score" />
|
||||
</div>
|
||||
|
||||
<div class="form-group col-md-6">
|
||||
<label id="lab_eva_level_score_min_score" for="eva_level_score_min_score">ช่วงคะแนนต่ำสุด</label>
|
||||
<input class="form-control" type="number" id="eva_level_score_min_score" iLabel="ช่วงคะแนนต่ำสุด" iRequire="true" iGroup="eva_level_score" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-secondary" data-dismiss="modal">ยกเลิก</button>
|
||||
<button type="button" class="btn btn-primary" onclick="javascript:eva_level_score_PutUpdate()">บันทึก</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<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="@Configuration["SiteInformation:mainsite"]">หน้าแรก</a></li>
|
||||
<li class="breadcrumb-item "><a href="@Configuration["SiteInformation:mainsite"]@Configuration["SiteInformation:appsite"]">@Configuration["SiteInformation:modulename"]</a></li>
|
||||
<li class="breadcrumb-item active">กำหนดระดับผลการประเมิน</li>
|
||||
</ol>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<section class="wrapper">
|
||||
<div class="title"><div class="line"></div>กำหนดระดับผลการประเมิน</div>
|
||||
<div class="tools">
|
||||
<div class="row">
|
||||
|
||||
<div class="form-group col-md-3">
|
||||
<label id='lab_s_eva_level_score_code' for='s_eva_level_score_code'>รหัสระดับผลงาน</label>
|
||||
<input class="form-control" type="text" id="s_eva_level_score_code" iLabel="รหัสระดับผลงาน" iRequire="true" iGroup="s_eva_level_score" title='รหัสระดับผลงาน' placeholder='รหัสระดับผลงาน' />
|
||||
</div>
|
||||
|
||||
<div class="col-md-6">
|
||||
<button class="btn btn-info" onclick="javascript:eva_level_score_DoSearch();">ค้นหา</button>
|
||||
<button class="btn btn-info" onclick="javascript:eva_level_score_GoCreate();"><i class="fa fa-plus" style="font-size: 14px;"></i> เพิ่มรายการ</button>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<table id="eva_level_scoreTable" class="display table table-bordered table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>เครื่องมือ</th>
|
||||
<th><label id='h_eva_level_score_code'>รหัสระดับผลงาน</label></th>
|
||||
<th><label id='h_eva_level_score_detail'>ระดับผลการประเมิน</label></th>
|
||||
<th><label id='h_eva_level_score_max_score'>ช่วงคะแนนสูงสุด</label></th>
|
||||
<th><label id='h_eva_level_score_min_score'>ช่วงคะแนนต่ำสุด</label></th>
|
||||
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody></tbody>
|
||||
</table>
|
||||
</section>
|
||||
|
||||
@section FooterPlaceHolder{
|
||||
<script src="~/js/eva_level_score/eva_level_score.js"></script>
|
||||
<script>
|
||||
$(document).ready(function () {
|
||||
eva_level_score_InitiateDataTable();
|
||||
eva_level_score_InitialForm();
|
||||
SetupValidationRemark("eva_level_score");
|
||||
});
|
||||
</script>
|
||||
}
|
||||
|
||||
181
Views/eva_level_scoreView/eva_level_score_d.cshtml
Normal file
181
Views/eva_level_scoreView/eva_level_score_d.cshtml
Normal file
@@ -0,0 +1,181 @@
|
||||
@using Microsoft.Extensions.Configuration
|
||||
@inject IConfiguration Configuration
|
||||
@{
|
||||
ViewData["Title"] = "eva_level_score";
|
||||
Layout = "_LayoutDirect";
|
||||
}
|
||||
|
||||
<div class="modal fade" id="eva_promoted_percentageModel" style="z-index:1500" tabindex="-1" role="dialog" aria-labelledby="eva_promoted_percentageModelLabel" aria-hidden="true">
|
||||
<div class="modal-dialog modal-lg" role="document">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h5 class="modal-title" id="eva_promoted_percentageModelLabel">กำหนดร้อยละที่ได้เลื่อน</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">
|
||||
<input class="form-control" type="hidden" id="eva_promoted_percentage_id" />
|
||||
<input class="form-control" type="hidden" id="eva_promoted_percentage_level_score_id" />
|
||||
|
||||
<div class='row'>
|
||||
<div class="form-group col-md-6">
|
||||
<label id="lab_eva_promoted_percentage_code" for="eva_promoted_percentage_code">รหัสร้อยละที่ได้เลื่อน</label>
|
||||
<input class="form-control" type="text" id="eva_promoted_percentage_code" iLabel="รหัสร้อยละที่ได้เลื่อน" iRequire="true" iGroup="eva_promoted_percentage" />
|
||||
</div>
|
||||
</div>
|
||||
<div class='row'>
|
||||
<div class="form-group col-md-6">
|
||||
<label id="lab_eva_promoted_percentage_detail" for="eva_promoted_percentage_detail">ระดับผลการประเมิน</label>
|
||||
<input class="form-control" type="text" id="eva_promoted_percentage_detail" iLabel="ระดับผลการประเมิน" iRequire="true" iGroup="eva_promoted_percentage" />
|
||||
</div>
|
||||
|
||||
<div class="form-group col-md-6">
|
||||
<label id="lab_eva_promoted_percentage_promoted_percentage" for="eva_promoted_percentage_promoted_percentage">ร้อยละที่ได้เลื่อน</label>
|
||||
<input class="form-control" type="number" id="eva_promoted_percentage_promoted_percentage" iLabel="ร้อยละที่ได้เลื่อน" iRequire="true" iGroup="eva_promoted_percentage" />
|
||||
</div>
|
||||
</div>
|
||||
<div class='row'>
|
||||
<div class="form-group col-md-6">
|
||||
<label id="lab_eva_promoted_percentage_max_score" for="eva_promoted_percentage_max_score">ช่วงคะแนนสูงสุด</label>
|
||||
<input class="form-control" type="number" id="eva_promoted_percentage_max_score" iLabel="ช่วงคะแนนสูงสุด" iRequire="true" iGroup="eva_promoted_percentage" />
|
||||
</div>
|
||||
|
||||
<div class="form-group col-md-6">
|
||||
<label id="lab_eva_promoted_percentage_min_score" for="eva_promoted_percentage_min_score">ช่วงคะแนนต่ำสุด</label>
|
||||
<input class="form-control" type="number" id="eva_promoted_percentage_min_score" iLabel="ช่วงคะแนนต่ำสุด" iRequire="true" iGroup="eva_promoted_percentage" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-secondary" data-dismiss="modal">ยกเลิก</button>
|
||||
<button type="button" class="btn btn-primary" onclick="javascript:eva_promoted_percentage_PutUpdate()">บันทึก</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<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="@Configuration["SiteInformation:mainsite"]">หน้าแรก</a></li>
|
||||
<li class="breadcrumb-item "><a href="@Configuration["SiteInformation:mainsite"]@Configuration["SiteInformation:appsite"]">@Configuration["SiteInformation:modulename"]</a></li>
|
||||
<li class="breadcrumb-item active">กำหนดระดับผลการประเมิน</li>
|
||||
</ol>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<section class="wrapper">
|
||||
<div class="title col-md-12"><div class="line"></div>กำหนดระดับผลการประเมิน</div>
|
||||
|
||||
<section class="card no-border">
|
||||
<header class="card-header">
|
||||
กรุณากรอกข้อมูลลงในแบบฟอร์ม
|
||||
</header>
|
||||
<div class="card-body" style="">
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<input class="form-control" type="hidden" id="eva_level_score_id" />
|
||||
|
||||
<div class='row'></div>
|
||||
<div class='row'>
|
||||
<div class="form-group col-md-6">
|
||||
<label id="lab_eva_level_score_code" for="eva_level_score_code">รหัสระดับผลงาน</label>
|
||||
<input class="form-control" type="text" id="eva_level_score_code" iLabel="รหัสระดับผลงาน" iRequire="true" iGroup="eva_level_score" />
|
||||
</div>
|
||||
|
||||
<div class="form-group col-md-6">
|
||||
<label id="lab_eva_level_score_detail" for="eva_level_score_detail">ระดับผลการประเมิน</label>
|
||||
<input class="form-control" type="text" id="eva_level_score_detail" iLabel="ระดับผลการประเมิน" iRequire="true" iGroup="eva_level_score" />
|
||||
</div>
|
||||
</div>
|
||||
<div class='row'>
|
||||
<div class="form-group col-md-6">
|
||||
<label id="lab_eva_level_score_max_score" for="eva_level_score_max_score">ช่วงคะแนนสูงสุด</label>
|
||||
<input class="form-control" type="number" id="eva_level_score_max_score" iLabel="ช่วงคะแนนสูงสุด" iRequire="true" iGroup="eva_level_score" />
|
||||
</div>
|
||||
|
||||
<div class="form-group col-md-6">
|
||||
<label id="lab_eva_level_score_min_score" for="eva_level_score_min_score">ช่วงคะแนนต่ำสุด</label>
|
||||
<input class="form-control" type="number" id="eva_level_score_min_score" iLabel="ช่วงคะแนนต่ำสุด" iRequire="true" iGroup="eva_level_score" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<div class="row">
|
||||
<div class="form-group col-md-12">
|
||||
<button type="button" class="btn btn-outline" onclick="javascript:window_close()" style="background-color: #fff;">ยกเลิก</button>
|
||||
<button type="button" class="btn btn-submit" onclick="javascript:eva_level_score_PutUpdate()">บันทึก</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</section>
|
||||
|
||||
<br />
|
||||
|
||||
<section class="wrapper">
|
||||
<div class="title"><div class="line"></div>กำหนดร้อยละที่ได้เลื่อน</div>
|
||||
<div class="tools">
|
||||
<div class="row">
|
||||
<input class="form-control" type="hidden" id="s_eva_promoted_percentage_level_score_id" />
|
||||
|
||||
<div class="col-md-3">
|
||||
<button class="btn btn-info" onclick="javascript:eva_promoted_percentage_GoCreate();"><i class="fa fa-plus" style="font-size: 14px;"></i> เพิ่มรายการ</button>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<table id="eva_promoted_percentageTable" class="display table table-bordered table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>เครื่องมือ</th>
|
||||
<th><label id='h_eva_promoted_percentage_code'>รหัสร้อยละที่ได้เลื่อน</label></th>
|
||||
<th><label id='h_eva_promoted_percentage_detail'>ระดับผลการประเมิน</label></th>
|
||||
<th><label id='h_eva_promoted_percentage_promoted_percentage'>ร้อยละที่ได้เลื่อน</label></th>
|
||||
<th><label id='h_eva_promoted_percentage_max_score'>ช่วงคะแนนสูงสุด</label></th>
|
||||
<th><label id='h_eva_promoted_percentage_min_score'>ช่วงคะแนนต่ำสุด</label></th>
|
||||
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody></tbody>
|
||||
</table>
|
||||
</section>
|
||||
|
||||
@section FooterPlaceHolder{
|
||||
<script src="~/js/eva_level_score/eva_level_score_d.js"></script>
|
||||
<script src="~/js/eva_promoted_percentage/eva_promoted_percentage.js"></script>
|
||||
<script>
|
||||
$(document).ready(function () {
|
||||
var id = getUrlParameter("id");
|
||||
if (id) {
|
||||
eva_level_score_SetEditForm(id);
|
||||
eva_promoted_percentage_InitiateDataTable(id);
|
||||
eva_promoted_percentage_InitialForm();
|
||||
|
||||
} else {
|
||||
eva_level_score_SetCreateForm();
|
||||
}
|
||||
SetupValidationRemark("eva_level_score");
|
||||
SetupValidationRemark("eva_promoted_percentage");
|
||||
});
|
||||
</script>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user