From 43f547172cc21c1b6ea1391559b3252f18c75e05 Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Tue, 10 Jul 2018 12:46:53 -0400 Subject: [PATCH] LP#1779158 Queued record page / marc html Signed-off-by: Bill Erickson --- .../staff/cat/vandelay/queue-record.component.html | 9 ++++++ .../staff/cat/vandelay/queue-record.component.ts | 32 ++++++++++++++++++++++ .../app/staff/cat/vandelay/queue.component.html | 8 +----- .../src/app/staff/cat/vandelay/queue.component.ts | 6 ++++ .../src/app/staff/cat/vandelay/routing.module.ts | 7 +++++ .../src/app/staff/cat/vandelay/vandelay.module.ts | 4 +-- 6 files changed, 57 insertions(+), 9 deletions(-) create mode 100644 Open-ILS/src/eg2/src/app/staff/cat/vandelay/queue-record.component.html create mode 100644 Open-ILS/src/eg2/src/app/staff/cat/vandelay/queue-record.component.ts diff --git a/Open-ILS/src/eg2/src/app/staff/cat/vandelay/queue-record.component.html b/Open-ILS/src/eg2/src/app/staff/cat/vandelay/queue-record.component.html new file mode 100644 index 0000000000..de55343908 --- /dev/null +++ b/Open-ILS/src/eg2/src/app/staff/cat/vandelay/queue-record.component.html @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/Open-ILS/src/eg2/src/app/staff/cat/vandelay/queue-record.component.ts b/Open-ILS/src/eg2/src/app/staff/cat/vandelay/queue-record.component.ts new file mode 100644 index 0000000000..abc12b8ce1 --- /dev/null +++ b/Open-ILS/src/eg2/src/app/staff/cat/vandelay/queue-record.component.ts @@ -0,0 +1,32 @@ +import {Component, OnInit, ViewChild} from '@angular/core'; +import {Router, ActivatedRoute, ParamMap} from '@angular/router'; + +@Component({ + /* + template: ` + + + ` + */ + templateUrl: 'queue-record.component.html' +}) +export class QueueRecordComponent { + + queueId: number; + queueType: string; + recordId: number; + recordTab: string; + + constructor( + private router: Router, + private route: ActivatedRoute) { + + this.route.paramMap.subscribe((params: ParamMap) => { + this.queueId = +params.get('id'); + this.recordId = +params.get('recordId'); + this.queueType = params.get('qtype'); + this.recordTab = params.get('recordType'); + }); + } +} + diff --git a/Open-ILS/src/eg2/src/app/staff/cat/vandelay/queue.component.html b/Open-ILS/src/eg2/src/app/staff/cat/vandelay/queue.component.html index 8ea700cffe..0393355408 100644 --- a/Open-ILS/src/eg2/src/app/staff/cat/vandelay/queue.component.html +++ b/Open-ILS/src/eg2/src/app/staff/cat/vandelay/queue.component.html @@ -89,11 +89,6 @@ - - - TODO - - TODO @@ -118,6 +113,7 @@ because there are a lot of them. --> -