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