Update traditional QC report: bold uppercase testname, change to 2SD range, red/blue chart colors
This commit is contained in:
parent
743f31d6a0
commit
4df29e877a
@ -88,7 +88,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="info-label">Test</td>
|
||||
<td class="value" x-text="testName"></td>
|
||||
<td class="value font-bold uppercase" x-text="testName"></td>
|
||||
<td class="info-label">Unit / Method</td>
|
||||
<td class="value" x-text="testUnit + ' / ' + testMethod"></td>
|
||||
</tr>
|
||||
@ -101,9 +101,9 @@
|
||||
<th class="pc-subheader">Control</th>
|
||||
<th class="pc-subheader">Exp Date</th>
|
||||
<th class="pc-subheader">Lot No</th>
|
||||
<th class="pc-subheader">- 3S</th>
|
||||
<th class="pc-subheader">- 2S</th>
|
||||
<th class="pc-subheader">TARGET</th>
|
||||
<th class="pc-subheader">+ 3S</th>
|
||||
<th class="pc-subheader">+ 2S</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@ -695,7 +695,7 @@
|
||||
month: '',
|
||||
chart: null,
|
||||
lastRequestId: 0,
|
||||
controlColors: ['#c85a9e', '#d2691e', '#228b22', '#4169e1', '#ff6347', '#9370db'],
|
||||
controlColors: ['#ff0000', '#0000ff', '#228b22', '#4169e1', '#ff6347', '#9370db'],
|
||||
|
||||
init() {
|
||||
const now = new Date();
|
||||
@ -1003,12 +1003,12 @@
|
||||
|
||||
getMinus3SD(control) {
|
||||
if (!control.mean || !control.sd) return '-';
|
||||
return parseFloat(control.mean) - 3 * parseFloat(control.sd);
|
||||
return parseFloat(control.mean) - 2 * parseFloat(control.sd);
|
||||
},
|
||||
|
||||
getPlus3SD(control) {
|
||||
if (!control.mean || !control.sd) return '-';
|
||||
return parseFloat(control.mean) + 3 * parseFloat(control.sd);
|
||||
return parseFloat(control.mean) + 2 * parseFloat(control.sd);
|
||||
},
|
||||
|
||||
getControlColor(index) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user