2 <div v-if="!initialized">{{ $__("Loading") }}</div>
3 <div v-else-if="title" id="eholdings_title_show">
5 {{ $__("Title #%s").format(title.title_id) }}
8 <fieldset class="rows">
10 <li v-if="title.title_id">
11 <label>{{ $__("Title identifier") }}:</label>
17 <label>{{ $__("Publication title") }}:</label>
19 {{ title.publication_title }}
21 v-if="title.biblio_id"
22 :href="`/cgi-bin/koha/catalogue/detail.pl?biblionumber=${title.biblio_id}`"
24 {{ $__("Local bibliographic record") }}
28 <li v-if="title.print_identifier">
29 <label>{{ $__("Print-format identifier") }}:</label>
31 {{ title.print_identifier }}
34 <li v-if="title.online_identifier">
35 <label>{{ $__("Online-format identifier") }}:</label>
37 {{ title.online_identifier }}
40 <li v-if="title.date_first_issue_online">
44 "Date of first serial issue available online"
49 {{ title.date_first_issue_online }}
52 <li v-if="title.num_first_vol_online">
55 $__("Number of first volume available online")
59 {{ title.num_first_vol_online }}
62 <li v-if="title.num_first_issue_online">
65 $__("Number of first issue available online")
69 {{ title.num_first_issue_online }}
72 <li v-if="title.date_last_issue_online">
75 $__("Date of last issue available online")
79 {{ title.date_last_issue_online }}
82 <li v-if="title.num_last_vol_online">
85 $__("Number of last volume available online")
89 {{ title.num_last_vol_online }}
92 <li v-if="title.num_last_issue_online">
95 $__("Number of last issue available online")
99 {{ title.num_last_issue_online }}
102 <li v-if="title.title_url">
103 <label>{{ $__("Title-level URL") }}:</label>
105 {{ title.title_url }}
108 <li v-if="title.first_author">
109 <label>{{ $__("First author") }}:</label>
111 {{ title.first_author }}
114 <li v-if="title.embargo_info">
115 <label>{{ $__("Embargo information") }}:</label>
117 {{ title.embargo_info }}
120 <li v-if="title.coverage_depth">
121 <label>{{ $__("Coverage depth") }}:</label>
123 {{ title.coverage_depth }}
126 <li v-if="title.notes">
127 <label>{{ $__("Notes") }}:</label>
132 <li v-if="title.publisher_name">
133 <label>{{ $__("Publisher name") }}:</label>
135 {{ title.publisher_name }}
138 <li v-if="title.publication_type">
139 <label>{{ $__("Publication type") }}:</label>
143 "av_title_publication_types",
144 title.publication_type
149 <li v-if="title.date_monograph_published_print">
153 "Date the monograph is first published in print"
158 {{ title.date_monograph_published_print }}
161 <li v-if="title.date_monograph_published_online">
165 "Date the monograph is first published online"
170 {{ title.date_monograph_published_online }}
173 <li v-if="title.monograph_volume">
175 >{{ $__("Number of volume for monograph") }}:</label
178 {{ title.monograph_volume }}
181 <li v-if="title.monograph_edition">
182 <label>{{ $__("Edition of the monograph") }}:</label>
184 {{ title.monograph_edition }}
187 <li v-if="title.first_editor">
188 <label>{{ $__("First editor") }}:</label>
190 {{ title.first_editor }}
193 <li v-if="title.parent_publication_title_id">
197 "Title identifier of the parent publication"
202 {{ title.parent_publication_title_id }}
205 <li v-if="title.preceeding_publication_title_id">
209 "Title identifier of any preceding publication title"
214 {{ title.preceeding_publication_title_id }}
217 <li v-if="title.access_type">
218 <label>{{ $__("Access type") }}:</label>
220 {{ title.access_type }}
224 <label>Packages ({{ title.resources.length }})</label>
225 <div v-if="title.resources.length">
226 <EHoldingsTitlePackagesList
227 :resources="title.resources"
233 <fieldset class="action">
235 to="/cgi-bin/koha/erm/eholdings/ebsco/titles"
238 >{{ $__("Close") }}</router-link
246 import { inject } from "vue"
247 import EHoldingsTitlePackagesList from "./EHoldingsEBSCOTitlePackagesList.vue"
248 import { fetchEBSCOTitle } from "../../fetch"
251 const AVStore = inject("AVStore")
252 const { get_lib_from_av } = AVStore
262 publication_title: "",
264 print_identifier: "",
265 online_identifier: "",
266 date_first_issue_online: "",
267 num_first_vol_online: "",
268 num_first_issue_online: "",
269 date_last_issue_online: "",
270 num_last_vol_online: "",
271 num_last_issue_online: "",
278 publication_type: "",
279 date_monograph_published_print: "",
280 date_monograph_published_online: "",
281 monograph_volume: "",
282 monograph_edition: "",
284 parent_publication_title_id: "",
285 preceeding_publication_title_id: "",
292 beforeRouteEnter(to, from, next) {
294 vm.getTitle(to.params.title_id)
297 beforeRouteUpdate(to, from) {
298 this.title = this.getTitle(to.params.title_id)
301 async getTitle(title_id) {
302 const title = await fetchEBSCOTitle(title_id)
304 this.initialized = true
308 EHoldingsTitlePackagesList,
310 name: "EHoldingsEBSCOTitlesShow",
314 fieldset.rows label {