PMCORE-2684
CR
This commit is contained in:
@@ -201,6 +201,7 @@ export default {
|
||||
this.getInputDocuments();
|
||||
this.getOutputDocuments();
|
||||
this.getCasesNotes();
|
||||
this.requestOpenSummary();
|
||||
},
|
||||
methods: {
|
||||
postComment(comment, send, files) {
|
||||
@@ -504,7 +505,24 @@ export default {
|
||||
ACTION: "todo",
|
||||
});
|
||||
this.$emit("onUpdatePage", "XCase");
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Verify if the case has the permission Summary Form
|
||||
* to add dynUid in dataCase
|
||||
*/
|
||||
requestOpenSummary() {
|
||||
Api.cases
|
||||
.openSummary(this.dataCase)
|
||||
.then((response) => {
|
||||
var data = response.data;
|
||||
if (data.dynUid !== "") {
|
||||
this.dataCase.DYN_UID = data.dynUid;
|
||||
}
|
||||
})
|
||||
.catch((e) => {
|
||||
console.error(e);
|
||||
});
|
||||
},
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user