นำเข้าหน้าจอ เพิ่ม แก้ไข ลบ แบบข้อตกลง

This commit is contained in:
Nakorn Rientrakrunchai
2021-02-02 15:59:55 +07:00
parent 95277cedea
commit 91c6ecd5a1
20 changed files with 2298 additions and 7 deletions

View File

@@ -0,0 +1,124 @@
@using Microsoft.Extensions.Configuration
@inject IConfiguration Configuration
@{
ViewData["Title"] = "eva_evaluation_operating_agreement";
}
<div class="modal fade" id="eva_evaluation_operating_agreementModel" style="z-index:1500" tabindex="-1" role="dialog" aria-labelledby="eva_evaluation_operating_agreementModelLabel" 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_evaluation_operating_agreementModelLabel">บันทึกข้อมูล eva_evaluation_operating_agreement</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
</div>
<div class="modal-body">
<div class="row">
<div class="col-md-12">
<input class="form-control" type="hidden" id="eva_evaluation_operating_agreement_id" />
<input class="form-control" type="hidden" id="eva_evaluation_operating_agreement_create_evaluation_detail_id" />
<div class='row'></div>
<div class='row'></div>
<div class='row'>
<div class="form-group col-md-4">
<label id="lab_eva_evaluation_operating_agreement_mission_no" for="eva_evaluation_operating_agreement_mission_no">ภารกิจที่</label>
<input class="form-control" type="number" id="eva_evaluation_operating_agreement_mission_no" iLabel="ภารกิจที่" iRequire="true" iGroup="eva_evaluation_operating_agreement" />
</div>
</div>
<div class='row'>
<div class="form-group col-md-12">
<label id="lab_eva_evaluation_operating_agreement_mission_detail" for="eva_evaluation_operating_agreement_mission_detail">รายละเอียดภารกิจ</label>
<textarea class="form-control" rows="4" cols="50" id="eva_evaluation_operating_agreement_mission_detail" iLabel="รายละเอียดภารกิจ" iRequire="true" iGroup="eva_evaluation_operating_agreement"></textarea>
</div>
</div>
<div class='row'>
<div class="form-group col-md-12">
<label id="lab_eva_evaluation_operating_agreement_target" for="eva_evaluation_operating_agreement_target">เป้าหมาย</label>
<textarea class="form-control" rows="4" cols="50" id="eva_evaluation_operating_agreement_target" iLabel="เป้าหมาย" iRequire="true" iGroup="eva_evaluation_operating_agreement"></textarea>
</div>
</div>
<div class='row'>
<div class="form-group col-md-12">
<label id="lab_eva_evaluation_operating_agreement_indicators" for="eva_evaluation_operating_agreement_indicators">ตัวชี้วัด</label>
<textarea class="form-control" rows="4" cols="50" id="eva_evaluation_operating_agreement_indicators" iLabel="ตัวชี้วัด" iRequire="true" iGroup="eva_evaluation_operating_agreement"></textarea>
</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_evaluation_operating_agreement_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">eva_evaluation_operating_agreement</li>
</ol>
</div>
</div>
<section class="wrapper">
<div class="title"><div class="line"></div>ค้นหา eva_evaluation_operating_agreement</div>
<div class="tools">
<div class="row">
<div class="form-group col-md-3">
<label id='lab_s_eva_evaluation_operating_agreement_create_evaluation_detail_id' for='s_eva_evaluation_operating_agreement_create_evaluation_detail_id'>อ้างอิงตาราง eva_create_evaluation_detail</label>
<input class="form-control" type="hidden" id="s_eva_evaluation_operating_agreement_create_evaluation_detail_id" />
</div>
<div class="col-md-6">
<button class="btn btn-info" onclick="javascript:eva_evaluation_operating_agreement_DoSearch();">ค้นหา</button>
<button class="btn btn-info" onclick="javascript:eva_evaluation_operating_agreement_GoCreate();"><i class="fa fa-plus" style="font-size: 14px;"></i> เพิ่มรายการ</button>
<button style="display:none;" class="btn btn-info" onclick="javascript:eva_evaluation_operating_agreement_GetSelect('id');">ดึงตัวเลือก</button>
</div>
</div>
</div>
<table id="eva_evaluation_operating_agreementTable" class="display table table-bordered table-striped">
<thead>
<tr>
<!--<th>เลือก</th>-->
<th>เครื่องมือ</th>
<th><label id='h_eva_evaluation_operating_agreement_id'>รหัสอ้างอิง</label></th>
<th><label id='h_eva_evaluation_operating_agreement_create_evaluation_detail_id'>อ้างอิงตาราง eva_create_evaluation_detail</label></th>
<th><label id='h_eva_evaluation_operating_agreement_mission_no'>ภารกิจที่</label></th>
<th><label id='h_eva_evaluation_operating_agreement_mission_detail'>รายละเอียดภารกิจ</label></th>
<th><label id='h_eva_evaluation_operating_agreement_target'>เป้าหมาย</label></th>
<th><label id='h_eva_evaluation_operating_agreement_indicators'>ตัวชี้วัด</label></th>
</tr>
</thead>
<tbody></tbody>
</table>
</section>
@section FooterPlaceHolder{
<script src="~/js/eva_evaluation_operating_agreement/eva_evaluation_operating_agreement.js"></script>
<script>
$(document).ready(function () {
eva_evaluation_operating_agreement_InitiateDataTable();
eva_evaluation_operating_agreement_InitialForm();
SetupValidationRemark("eva_evaluation_operating_agreement");
});
</script>
}