Commit cf88d654 authored by Andrzej Obracaj's avatar Andrzej Obracaj
Browse files

bug

parent c949ca7b
......@@ -5,7 +5,7 @@
<div class="w-1/3 mr-2">
<b>Id</b>
<br />
<l-input placeholder="Id" :value="editObj.id" inputClass="text-2xs" :disabled="true"></l-input>
<l-input placeholder="Id" v-model="editObj.id" inputClass="text-2xs" :disabled="true"></l-input>
</div>
<div class="w-2/3">
<b>Sampling Point ID</b>
......@@ -24,7 +24,7 @@
<br />
<l-input
placeholder="begin_position"
:value="editObj.begin_position"
v-model="editObj.begin_position"
inputClass="text-2xs"
></l-input>
</div>
......@@ -38,7 +38,7 @@
<div class="w-1/3 mr-2">
<b>Value</b>
<br />
<l-input placeholder="value" :value="editObj.value" inputClass="text-2xs"></l-input>
<l-input placeholder="value" v-model="editObj.value" inputClass="text-2xs"></l-input>
</div>
<div class="w-2/3">
<b>Verification Flag</b>
......@@ -56,7 +56,7 @@
<br />
<l-input
placeholder="validation_flag"
:value="editObj.validation_flag"
v-model="editObj.validation_flag"
inputClass="text-2xs"
></l-input>
</div>
......@@ -70,7 +70,7 @@
<div class="w-1/3 mr-2">
<b>Concentration</b>
<br />
<l-input placeholder="concentration" :value="editObj.concentration" inputClass="text-2xs"></l-input>
<l-input placeholder="concentration" v-model="editObj.concentration" inputClass="text-2xs"></l-input>
</div>
<div class="w-2/3">
<b>Timestep</b>
......@@ -82,7 +82,7 @@
<div class="w-1/3 mr-2">
<b>From Time</b>
<br />
<l-input placeholder="from_time" :value="editObj.from_time" inputClass="text-2xs"></l-input>
<l-input placeholder="from_time" v-model="editObj.from_time" inputClass="text-2xs"></l-input>
</div>
<div class="w-2/3">
<b>To Time</b>
......
......@@ -34,7 +34,7 @@
<br />
<l-input
placeholder="YYYY-MM-DDTHH:mm:ss+hh:00 (optional)"
:value="editObj.end_position"
v-model="editObj.end_position"
inputClass="text-2xs"
></l-input>
</div>
......
......@@ -66,7 +66,7 @@
<br />
<l-input
placeholder="Enter 'Analytical Tech' (optional) (text)"
:value="editObj.analytical_tech"
v-model="editObj.analytical_tech"
inputClass="text-2xs"
></l-input>
</div>
......@@ -86,7 +86,7 @@
<br />
<l-input
placeholder="Enter 'Sampling Equipment' (optional) (text)"
:value="editObj.sampling_equipment"
v-model="editObj.sampling_equipment"
inputClass="text-2xs"
></l-input>
</div>
......@@ -144,7 +144,7 @@
<br />
<l-input
placeholder="Enter 'Detection Limit' (optional) (decimal number)"
:value="editObj.detection_limit"
v-model="editObj.detection_limit"
inputClass="text-2xs"
></l-input>
</div>
......@@ -173,7 +173,7 @@
<br />
<l-input
placeholder="Enter 'Uncertainty Estimate' (optional) (decimal number)"
:value="editObj.uncertainty_estimate"
v-model="editObj.uncertainty_estimate"
inputClass="text-2xs"
></l-input>
</div>
......@@ -193,7 +193,7 @@
<br />
<l-input
placeholder="Enter 'QA Report' (optional) (text)"
:value="editObj.qa_report"
v-model="editObj.qa_report"
inputClass="text-2xs"
></l-input>
</div>
......@@ -270,7 +270,7 @@
<br />
<l-input
placeholder="Enter 'Other Measurement Equipment' (optional) (text)"
:value="editObj.other_measurement_equipment"
v-model="editObj.other_measurement_equipment"
inputClass="text-2xs"
></l-input>
</div>
......
......@@ -18,8 +18,8 @@
<hot-column title="measurement_type" data="measurement_type_name" read-only="true"></hot-column>
<hot-column title="measurement_method" data="measurement_method_name" read-only="true"></hot-column>
<hot-column title="other_measurement_method" data="other_measurement_method" read-only="true"></hot-column>
<hot-column title="sampling_method" data="sampling_method" read-only="true"></hot-column>
<hot-column title="other_sampling_method" data="other_sampling_method" read-only="true"></hot-column>
<!-- <hot-column title="sampling_method" data="sampling_method" read-only="true"></hot-column>
<hot-column title="other_sampling_method" data="other_sampling_method" read-only="true"></hot-column> -->
<hot-column title="analytical_tech" data="analytical_tech" read-only="true"></hot-column>
<hot-column title="other_analytical_tech" data="other_analytical_tech" read-only="true"></hot-column>
<hot-column title="sampling_equipment" data="sampling_equipment" read-only="true"></hot-column>
......
......@@ -13,7 +13,7 @@
<br />
<l-input
placeholder="Enter unique Id"
:value="editObj.id"
v-model="editObj.id"
inputClass="text-2xs"
:disabled="true"
></l-input>
......
......@@ -184,7 +184,7 @@
<br />
<l-input
placeholder="Enter 'Height Facades' (optional) (whole number)"
v-model="editObj.height_facedes"
v-model="editObj.height_facades"
inputClass="text-2xs"
></l-input>
</div>
......
......@@ -31,7 +31,7 @@
<hot-column title="Heavy Duty Fraction" data="heavy_duty_fraction" read-only="true"></hot-column>
<hot-column title="Street Width" data="street_width" read-only="true"></hot-column>
<hot-column title="Height Facades" data="height_facades" read-only="true"></hot-column>
<hot-column title="Geom" data="geom" read-only="true"></hot-column>
<!-- <hot-column title="Geom" data="geom" read-only="true"></hot-column> -->
<hot-column title="Municipality" data="municipality" read-only="true"></hot-column>
<hot-column title="Eoi Code" data="eoi_code" read-only="true"></hot-column>
</hot-table>
......@@ -172,6 +172,7 @@ export default {
newRow[prop] = null;
});
newRow.id = "Id";
newRow.begin_position = new Date().toISOString().slice(0, 19);
this.selected = newRow;
this.isnew = true;
this.edit = true;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment