diff --git a/src/router/index.js b/src/router/index.js index 5292180..471450e 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -5,7 +5,7 @@ import DebugFrameView from "../views/DebugFrameView.vue"; import SideBarView from "../views/SideBarView.vue"; import SearchByReferenceView from "../views/SearchByReferenceView.vue"; import InteractionsFlowView from "../views/InteractionsFlowView.vue"; -import CustomerAccountView from "../views/CustomerAccountView.vue"; +import CustomerAccountView from "../views/TelephonyContextView.vue"; const routes = [ { @@ -37,17 +37,19 @@ const routes = [ props: { default: (route) => ({ sessionIdentifier: route.query._sessionIdentifier, + username: route.query.username, }), }, }, { - path: "/customerAccount/:accountNumber", + path: "/telephonyContext", name: "customerAccount", components: { default: CustomerAccountView }, props: { default: (route) => ({ ...route.params, - ...route.query + ...route.query, + sessionIdentifier: route.query._sessionIdentifier }), }, }, diff --git a/src/views/CustomerAccountView.vue b/src/views/CustomerAccountView.vue deleted file mode 100644 index 3de2677..0000000 --- a/src/views/CustomerAccountView.vue +++ /dev/null @@ -1,78 +0,0 @@ - - - - Summary - - - - - - Telephony Data - - - - - - - - - - Da Vinci Transfer Summary - - Payments How much is my premium? - IVA: Your premium is 100 a month - Why did my premium go up? - There are many factors that can impact your premium, let me escalate you to an agent - Customer is passed over to General Inquiries queue - - - - - - - diff --git a/src/views/TelephonyContextView.vue b/src/views/TelephonyContextView.vue new file mode 100644 index 0000000..660dccd --- /dev/null +++ b/src/views/TelephonyContextView.vue @@ -0,0 +1,178 @@ + + + Summary + + + + + + Telephony Data + + + + + + + + + Da Vinci Transfer Summary + + + + + + Auto ID Card + + + + + + + + + + + + + + + + + + + + + + + + + +
Payments How much is my premium?
IVA: Your premium is 100 a month
Why did my premium go up?
There are many factors that can impact your premium, let me escalate you to an agent
Customer is passed over to General Inquiries queue