mirror of
https://git.meshkee.com/cssd/cssd-back.git
synced 2026-10-14 00:21:11 +03:30
testresult
This commit is contained in:
@@ -46,8 +46,8 @@
|
|||||||
<v-flex xs12 sm4 md4>
|
<v-flex xs12 sm4 md4>
|
||||||
<v-text-field
|
<v-text-field
|
||||||
name="autoclave"
|
name="autoclave"
|
||||||
v-model="form.device_id"
|
v-model="formData.device_id"
|
||||||
:label="form.testType.device_label"
|
:label="device_label"
|
||||||
color="black"
|
color="black"
|
||||||
class="pa-2"
|
class="pa-2"
|
||||||
></v-text-field>
|
></v-text-field>
|
||||||
@@ -249,6 +249,7 @@ export default {
|
|||||||
data: () => ({
|
data: () => ({
|
||||||
testTypeNames: [],
|
testTypeNames: [],
|
||||||
searchInput: "",
|
searchInput: "",
|
||||||
|
device_label: "WasherID OR AutoclaveID",
|
||||||
form: [],
|
form: [],
|
||||||
filter: {
|
filter: {
|
||||||
test_result_id: "",
|
test_result_id: "",
|
||||||
@@ -282,6 +283,7 @@ export default {
|
|||||||
const result = await ApiService.post(urls.getInputs, this.filter);
|
const result = await ApiService.post(urls.getInputs, this.filter);
|
||||||
if (result && result.status == 200) {
|
if (result && result.status == 200) {
|
||||||
this.form = result.data.data.inputs;
|
this.form = result.data.data.inputs;
|
||||||
|
this.device_label = result.data.data.testType.device_label;
|
||||||
this.formData.test_type_id = result.data.data.testType.id;
|
this.formData.test_type_id = result.data.data.testType.id;
|
||||||
for (const key in result.data.data.inputs) {
|
for (const key in result.data.data.inputs) {
|
||||||
if (result.data.data.inputs.hasOwnProperty(key)) {
|
if (result.data.data.inputs.hasOwnProperty(key)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user