update
This commit is contained in:
@@ -3469,8 +3469,30 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
{ data: 'antibiotic' },
|
{ data: 'antibiotic' },
|
||||||
{ data: 'value' },
|
{
|
||||||
{ data: 'interpretation' },
|
data: 'value',
|
||||||
|
render: function (data, type, full) {
|
||||||
|
return `<input type="text" class="form-control form-control-sm"
|
||||||
|
value="${data ?? ''}"
|
||||||
|
onblur="updateValueManTwo(${full.id}, this.value)">`;
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
data: 'interpretation',
|
||||||
|
render: function (data, type, full) {
|
||||||
|
|
||||||
|
let options = ['','S','I','R'];
|
||||||
|
let html = `<select class="form-control form-control-sm"
|
||||||
|
onchange="updateInterpretation(${full.id}, this.value)">`;
|
||||||
|
|
||||||
|
options.forEach(op => {
|
||||||
|
html += `<option value="${op}" ${op === data ? 'selected' : ''}>${op === '' ? 'null' : op}</option>`;
|
||||||
|
});
|
||||||
|
|
||||||
|
html += `</select>`;
|
||||||
|
return html;
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
data: null,
|
data: null,
|
||||||
render: function (data, type, full) {
|
render: function (data, type, full) {
|
||||||
|
|||||||
@@ -3525,8 +3525,30 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
{ data: 'antibiotic' },
|
{ data: 'antibiotic' },
|
||||||
{ data: 'value' },
|
{
|
||||||
{ data: 'interpretation' },
|
data: 'value',
|
||||||
|
render: function (data, type, full) {
|
||||||
|
return `<input type="text" class="form-control form-control-sm"
|
||||||
|
value="${data ?? ''}"
|
||||||
|
onblur="updateValueManTwo(${full.id}, this.value)">`;
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
data: 'interpretation',
|
||||||
|
render: function (data, type, full) {
|
||||||
|
|
||||||
|
let options = ['','S','I','R'];
|
||||||
|
let html = `<select class="form-control form-control-sm"
|
||||||
|
onchange="updateInterpretation(${full.id}, this.value)">`;
|
||||||
|
|
||||||
|
options.forEach(op => {
|
||||||
|
html += `<option value="${op}" ${op === data ? 'selected' : ''}>${op === '' ? 'null' : op}</option>`;
|
||||||
|
});
|
||||||
|
|
||||||
|
html += `</select>`;
|
||||||
|
return html;
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
data: null,
|
data: null,
|
||||||
render: function (data, type, full) {
|
render: function (data, type, full) {
|
||||||
@@ -3539,12 +3561,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
|
||||||
data: null,
|
|
||||||
render: function (data, type, full) {
|
|
||||||
return `<a class="btn btn-sm btn-info" href="#" title="Click to Edit MIC" onClick="btnEditMic(${full.id}, event)"><i class="fa fa-pencil"></i></a>`;
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
data: null,
|
data: null,
|
||||||
render: function (data, type, full) {
|
render: function (data, type, full) {
|
||||||
|
|||||||
@@ -3525,8 +3525,30 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
{ data: 'antibiotic' },
|
{ data: 'antibiotic' },
|
||||||
{ data: 'value' },
|
{
|
||||||
{ data: 'interpretation' },
|
data: 'value',
|
||||||
|
render: function (data, type, full) {
|
||||||
|
return `<input type="text" class="form-control form-control-sm"
|
||||||
|
value="${data ?? ''}"
|
||||||
|
onblur="updateValueManTwo(${full.id}, this.value)">`;
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
data: 'interpretation',
|
||||||
|
render: function (data, type, full) {
|
||||||
|
|
||||||
|
let options = ['','S','I','R'];
|
||||||
|
let html = `<select class="form-control form-control-sm"
|
||||||
|
onchange="updateInterpretation(${full.id}, this.value)">`;
|
||||||
|
|
||||||
|
options.forEach(op => {
|
||||||
|
html += `<option value="${op}" ${op === data ? 'selected' : ''}>${op === '' ? 'null' : op}</option>`;
|
||||||
|
});
|
||||||
|
|
||||||
|
html += `</select>`;
|
||||||
|
return html;
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
data: null,
|
data: null,
|
||||||
render: function (data, type, full) {
|
render: function (data, type, full) {
|
||||||
@@ -3539,12 +3561,6 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
|
||||||
data: null,
|
|
||||||
render: function (data, type, full) {
|
|
||||||
return `<a class="btn btn-sm btn-info" href="#" title="Click to Edit MIC" onClick="btnEditMic(${full.id}, event)"><i class="fa fa-pencil"></i></a>`;
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
data: null,
|
data: null,
|
||||||
render: function (data, type, full) {
|
render: function (data, type, full) {
|
||||||
|
|||||||
Reference in New Issue
Block a user