# HG changeset patch # User Thomas Junk # Date 1549556133 -3600 # Node ID ba43b29e869415074f98b59a206c1aa5646b218b # Parent e22a354a23121bfd66745aa0c94390f080271346 agm: staging diff POC diff -r e22a354a2312 -r ba43b29e8694 client/src/assets/application.scss --- a/client/src/assets/application.scss Thu Feb 07 16:01:12 2019 +0100 +++ b/client/src/assets/application.scss Thu Feb 07 17:15:33 2019 +0100 @@ -132,3 +132,7 @@ .headline { font-weight: bold; } + +.pointer { + cursor: pointer; +} diff -r e22a354a2312 -r ba43b29e8694 client/src/components/staging/StagingDetail.vue --- a/client/src/components/staging/StagingDetail.vue Thu Feb 07 16:01:12 2019 +0100 +++ b/client/src/components/staging/StagingDetail.vue Thu Feb 07 17:15:33 2019 +0100 @@ -4,6 +4,7 @@
{{ data.summary.bottleneck }} - Approved Gauge Measurements ({{ + data.summary.length + }}) + {{ data.summary["source-organization"] }} (LOS: {{ data.summary.los }}) {{ data.summary.stretch }}
+
+
+ + +
+
@@ -104,23 +132,23 @@ bottleneck.properties.objnam }}
-
+
+
+
+ ISRS Code + Date of measurement +
+
+
+ {{ + result["fk-gauge-id"] + }} + {{ + formatSurveyDate(result["measure-date"]) + }} +
+
+
+
+
{{ entry }}
+
+ {{ result.versions[0][entry] }} +
+
+ {{ result.versions[1][entry] }} +
+
+
+
+
+
@@ -169,7 +234,8 @@ props: ["data"], data() { return { - showFull: false, + showAGMDetails: false, + showBottleneckDetails: false, show: false, loading: false, bottlenecks: [] @@ -281,6 +347,9 @@ isFairwayDimension(kind) { return kind === "FD"; }, + isApprovedGaugeMeasurement(kind) { + return kind === "AGM"; + }, isBottleneck(kind) { return kind === "BN"; }, @@ -377,4 +446,20 @@ .controls { width: 60px; } + +.agmcode { + width: 200px; +} + +.agmdate { + width: 100px; +} + +.agmdetailskeys { + width: 130px; +} + +.agmdetailsvalues { + width: 200px; +}