This commit is contained in:
Duidev Software House
2025-11-03 07:19:12 +07:00
parent c0373c9436
commit 6dd49e447b
10 changed files with 9032 additions and 97 deletions
+61 -11
View File
@@ -1783,7 +1783,7 @@
<div class="form-group col-lg-12 table-responsive p-0">
<div class="row">
<div class="form-group col-lg-3">
<input type="text" id="bakteri" class="form-control ekspertiseteks" readonly>
<input type="text" id="bakteri" name="bakteri" class="form-control ekspertiseteks" readonly>
</div>
<div class="form-group col-lg-3">
<select class="form-control ekspertiseseletc" id="bakterisir" name="bakterisir">
@@ -1798,13 +1798,23 @@
<option value="XDR Carbapenem Resistant">XDR Carbapenem Resistant</option>
</select>
</div>
<div class="form-group col-lg-3">
<div class="form-group col-lg-3" id="id_bakterihitungkolselect">
<select class="form-control ekspertiseseletc" id="id_bakterihitungkol" name="id_bakterihitungkol">
<option value="">Pilih Salah Satu</option>
<option value="&ge; 10⁵ CFU/ml Urine (Bakteriuria bermakna)">&ge; 10 CFU/ml Urine (Bakteriuria bermakna)</option>
<option value="&ge; 10⁵ CFU/ml Urine (Candiduria bermakna)">&ge; 10 CFU/ml Urine (Candiduria bermakna)</option>
<option value="&ge; 10³ CFU/ml Urine (Bakteriuria bermakna)">&ge; 10³ CFU/ml Urine (Bakteriuria bermakna)</option>
<option value="8 x 10³ CFU/ml Urine (Bakteriuria bermakna)">8 x 10³ CFU/ml Urine (Bakteriuria bermakna)</option>
<option value="lainnya">lainnya</option>
</select>
</div>
<div class="form-group col-lg-3" id="id_bakterihitungkolteks">
<input type="text" id="id_bakterihitungkolteks" name="id_bakterihitungkolteks" class="form-control ekspertiseteks">
</div>
<div class="form-group col-lg-3">
<select class="form-control ekspertiseseletc" id="id_baktericetak" name="id_baktericetak">
<option value="YA">YA</option>
<option value="TIDAK">TIDAK</option>
</select>
</div>
<div class="form-group col-lg-3">
@@ -1816,6 +1826,7 @@
<table class="table table-striped table-valign-middle" id="tblvitek">
<thead>
<tr>
<th>No</th>
<th>
<button type="button" class="btn btn-primary btn-rounded" id="btnunprintall">
<i class="fa fa-ban"></i>
@@ -1889,13 +1900,13 @@
</select>
</div>
<div class="form-group col-lg-4" id="id_bakterihitungkol01teks">
<label for="id_bakterihitungkolteks01" class="col-form-label">Hitung Koloni I</label>
<input type="text" id="id_bakterihitungkolteks01" name="id_bakterihitungkolteks01" class="form-control ekspertiseteks">
</div>
</div>
<table class="table table-striped table-valign-middle" id="tblkumanmanual1">
<thead>
<tr>
<th>No</th>
<th>
<button type="button" class="btn btn-primary btn-rounded" id="btnunprintallkumanmanual1">
<i class="fa fa-ban"></i>
@@ -1969,13 +1980,13 @@
</select>
</div>
<div class="form-group col-lg-4" id="id_bakterihitungkol02teks">
<label for="id_bakterihitungkolteks02" class="col-form-label">Hitung Koloni II</label>
<input type="text" id="id_bakterihitungkolteks02" name="id_bakterihitungkolteks02" class="form-control ekspertiseteks">
</div>
</div>
<table class="table table-striped table-valign-middle" id="tblkumanmanual2">
<thead>
<tr>
<th>No</th>
<th>
<button type="button" class="btn btn-primary btn-rounded" id="btnunprintallkumanmanual2">
<i class="fa fa-ban"></i>
@@ -2293,6 +2304,15 @@
dataSrc: 'data'
},
columns: [
{
data: null,
name: 'nomor',
orderable: false,
searchable: false,
render: function (data, type, row, meta) {
return meta.row + meta.settings._iDisplayStart + 1;
}
},
{
data: null,
render: function (data, type, full) {
@@ -2369,6 +2389,15 @@
dataSrc: 'data'
},
columns: [
{
data: null,
name: 'nomor',
orderable: false,
searchable: false,
render: function (data, type, row, meta) {
return meta.row + meta.settings._iDisplayStart + 1;
}
},
{
data: null,
render: function (data, type, full) {
@@ -2445,6 +2474,15 @@
dataSrc: 'data'
},
columns: [
{
data: null,
name: 'nomor',
orderable: false,
searchable: false,
render: function (data, type, row, meta) {
return meta.row + meta.settings._iDisplayStart + 1;
}
},
{
data: null,
render: function (data, type, full) {
@@ -2506,6 +2544,13 @@
$('#divtemplate').hide();
$('.templatejawaban').hide();
$('.setelahdipilihtemplate').show();
$('#id_bakterihitungkolselect').show();
$('#id_bakterihitungkolteks').hide();
$('#id_bakterihitungkol01select').show();
$('#id_bakterihitungkol01teks').hide();
$('#id_bakterihitungkol02select').show();
$('#id_bakterihitungkol02teks').hide();
$('input[type="checkbox"]').prop('disabled', false);
if (dlp == 'CCI'){
$('#templatecci').show();
@@ -2515,10 +2560,6 @@
$('#pewarnaangiemsateks').hide();
$('#pewarnaankohselect').show();
$('#pewarnaankohteks').hide();
$('#id_bakterihitungkol01select').show();
$('#id_bakterihitungkol01teks').hide();
$('#id_bakterihitungkol02select').show();
$('#id_bakterihitungkol02teks').hide();
} else if (dlp == 'Pewarna Langsung'){
$('#lsg_pewarnaankohselect').show();
$('#lsg_pewarnaankohteks').hide();
@@ -2614,6 +2655,10 @@
$('#lsg_pewarnaangiesmaselect').hide();
$('#lsg_pewarnaangiesmateks').show();
}
if (rows.komponen === 'id_bakterihitungkolteks'){
$('#id_bakterihitungkolselect').hide();
$('#id_bakterihitungkolteks').show();
}
if (rows.komponen === 'id_bakterihitungkolteks01'){
$('#id_bakterihitungkol01select').hide();
$('#id_bakterihitungkol01teks').show();
@@ -2807,6 +2852,7 @@
$(".isiandasar").val('');
$(".ekspertiseteks").val('');
$(".ekspertiseseletc").val('');
$(".pilihankirby").val('');
$('input[type="checkbox"], input[type="radio"]').prop('checked', false).prop('disabled', false);
var goook = dataRecord.id;
@@ -3479,9 +3525,7 @@
hideAfter : 5000,
stack : 1
});
$('#divperiksa').hide();
$('#divreadonly').hide();
$('#divawal').show();
window.location.href = "{{ url('/mikro') }}";
return false;
},
error: function (xhr, status, error) {
@@ -3955,9 +3999,15 @@
} else if (komponen == 'id_pewarnaankoh' && isi == 'lainnya'){
$('#pewarnaankohselect').hide();
$('#pewarnaankohteks').show();
} else if (komponen == 'id_bakterihitungkol' && isi == 'lainnya'){
$('#id_bakterihitungkolselect').hide();
$('#id_bakterihitungkolteks').show();
} else if (komponen == 'id_bakterihitungkol01' && isi == 'lainnya'){
$('#id_bakterihitungkol01select').hide();
$('#id_bakterihitungkol01teks').show();
} else if (komponen == 'id_bakterihitungkol02' && isi == 'lainnya'){
$('#id_bakterihitungkol02select').hide();
$('#id_bakterihitungkol02teks').show();
} else if (komponen == 'lsg_pewarnaankoh' && isi == 'lainnya'){
$('#lsg_pewarnaankohselect').hide();
$('#lsg_pewarnaankohteks').show();