@byu-oit/vue-decision-processing-components 8.32.3 → 8.33.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +9 -0
- package/SupportDialog.vue +6 -3
- package/package.json +1 -1
- package/vuexModules/application/index.js +9 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
## [8.33.0](https://github.com/byu-oit/vue-decision-processing-components/compare/v8.32.3...v8.33.0) (2023-03-20)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* Add decision properties from application ([ddee5d6](https://github.com/byu-oit/vue-decision-processing-components/commit/ddee5d6470610c6a1f5a7b706c8ee906d67022bc))
|
|
11
|
+
|
|
12
|
+
### [8.32.4](https://github.com/byu-oit/vue-decision-processing-components/compare/v8.32.3...v8.32.4) (2023-03-03)
|
|
13
|
+
|
|
5
14
|
### [8.32.3](https://github.com/byu-oit/vue-decision-processing-components/compare/v8.32.2...v8.32.3) (2022-12-21)
|
|
6
15
|
|
|
7
16
|
|
package/SupportDialog.vue
CHANGED
|
@@ -76,8 +76,8 @@ export default {
|
|
|
76
76
|
institution: state => state.ui.institution
|
|
77
77
|
}),
|
|
78
78
|
...mapGetters(['loading']),
|
|
79
|
-
|
|
80
|
-
return this.env === 'development' ? 'api-sandbox.byu.edu' : 'api.byu.edu'
|
|
79
|
+
baseUrl () {
|
|
80
|
+
return this.env === 'development' ? 'https://api-sandbox.byu.edu' : 'https://api.byu.edu'
|
|
81
81
|
},
|
|
82
82
|
institutionSvc () {
|
|
83
83
|
switch (this.institution) {
|
|
@@ -89,6 +89,8 @@ export default {
|
|
|
89
89
|
return 'byuh'
|
|
90
90
|
case ('BYUI'):
|
|
91
91
|
return 'byui'
|
|
92
|
+
case ('BYUDCE'):
|
|
93
|
+
return 'byudce'
|
|
92
94
|
default:
|
|
93
95
|
return ''
|
|
94
96
|
}
|
|
@@ -117,8 +119,9 @@ export default {
|
|
|
117
119
|
short_description: this.shortDescription,
|
|
118
120
|
description: [this.description.trim(), '\n', callerId, location.href].join('\n')
|
|
119
121
|
}
|
|
122
|
+
const service = this.institutionSvc === 'byudce' ? 'byudce/clearance' : `${this.institutionSvc}/admission`
|
|
120
123
|
const options = {
|
|
121
|
-
url:
|
|
124
|
+
url: `${this.baseUrl}/domain/applications/${service}/v1/proxy/incident`,
|
|
122
125
|
method: 'POST',
|
|
123
126
|
headers: {
|
|
124
127
|
'Content-Type': 'application/json',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@byu-oit/vue-decision-processing-components",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.33.0",
|
|
4
4
|
"description": "Vue components shared between decision processing systems for the CES schools.",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"@fortawesome/fontawesome-free": "^5.15.4",
|
|
@@ -23,6 +23,9 @@ export const state = {
|
|
|
23
23
|
applicationStatus: '',
|
|
24
24
|
city: '',
|
|
25
25
|
emailAddress: '',
|
|
26
|
+
decision: '',
|
|
27
|
+
decisionQualifier: '',
|
|
28
|
+
decisionDateTime: '',
|
|
26
29
|
netId: '',
|
|
27
30
|
personId: '',
|
|
28
31
|
phoneNumber: '',
|
|
@@ -60,6 +63,9 @@ export const mutations = {
|
|
|
60
63
|
state.applicationStatus = application.applicationStatus
|
|
61
64
|
state.city = application.city
|
|
62
65
|
state.emailAddress = application.emailAddress
|
|
66
|
+
state.decision = application.decision
|
|
67
|
+
state.decisionQualifier = application.decisionQualifier
|
|
68
|
+
state.decisionDateTime = application.decisionDateTime
|
|
63
69
|
state.netId = application.netId
|
|
64
70
|
state.personId = application.personId
|
|
65
71
|
state.phoneNumber = application.phoneNumber
|
|
@@ -81,6 +87,9 @@ export const mutations = {
|
|
|
81
87
|
state.applicationStatus = ''
|
|
82
88
|
state.city = ''
|
|
83
89
|
state.emailAddress = ''
|
|
90
|
+
state.decision = ''
|
|
91
|
+
state.decisionQualifier = ''
|
|
92
|
+
state.decisionDateTime = ''
|
|
84
93
|
state.netId = ''
|
|
85
94
|
state.personId = ''
|
|
86
95
|
state.phoneNumber = ''
|