publication workflow
This commit is contained in:
parent
32129363ef
commit
39623ff5a6
11 changed files with 153 additions and 139 deletions
|
@ -10,6 +10,7 @@ function initialState() {
|
|||
project_id: "",
|
||||
|
||||
creating_corporation: "GBA Repository",
|
||||
language: "en",
|
||||
embargo_date: "",
|
||||
belongs_to_bibliography: 0,
|
||||
|
||||
|
|
|
@ -169,7 +169,7 @@ const app = new Vue({
|
|||
Additional POST Data
|
||||
*/
|
||||
formData.append('type', this.dataset.type);
|
||||
formData.append('server_state', this.dataset.state);
|
||||
// formData.append('server_state', this.dataset.state);
|
||||
formData.append('rights', Number(this.dataset.rights));
|
||||
formData.append('creating_corporation', this.dataset.creating_corporation);
|
||||
formData.append('project_id', this.dataset.project_id);
|
||||
|
@ -207,6 +207,13 @@ const app = new Vue({
|
|||
formData.append('references[' + i + '][relation]', reference.relation);
|
||||
}
|
||||
|
||||
for (var i = 0; i < this.dataset.titles.length; i++) {
|
||||
let title = this.dataset.titles[i];
|
||||
formData.append('titles[' + i + '][value]', title.value);
|
||||
formData.append('titles[' + i + '][language]', title.language);
|
||||
formData.append('titles[' + i + '][type]', title.type);
|
||||
}
|
||||
|
||||
/*
|
||||
Make the request to the POST /multiple-files URL
|
||||
*/
|
||||
|
|
Loading…
Add table
editor.link_modal.header
Reference in a new issue