diff --git a/src/i18n/locale/en.yml b/src/i18n/locale/en.yml index f0b52b9da..30788658e 100644 --- a/src/i18n/locale/en.yml +++ b/src/i18n/locale/en.yml @@ -450,6 +450,7 @@ ticket: futureTickets: Future tickets purchaseRequest: Purchase request weeklyTickets: Weekly tickets + tracking: Tracking list: nickname: Nickname state: State diff --git a/src/i18n/locale/es.yml b/src/i18n/locale/es.yml index a31e508d8..8168cb361 100644 --- a/src/i18n/locale/es.yml +++ b/src/i18n/locale/es.yml @@ -449,6 +449,7 @@ ticket: futureTickets: Tickets a futuro purchaseRequest: Petición de compra weeklyTickets: Tickets programados + tracking: Estados list: nickname: Alias state: Estado diff --git a/src/pages/Ticket/Card/TicketCreateTracking.vue b/src/pages/Ticket/Card/TicketCreateTracking.vue new file mode 100644 index 000000000..399663571 --- /dev/null +++ b/src/pages/Ticket/Card/TicketCreateTracking.vue @@ -0,0 +1,86 @@ + + + + + es: + Create tracking: Crear estado + diff --git a/src/pages/Ticket/Card/TicketTracking.vue b/src/pages/Ticket/Card/TicketTracking.vue new file mode 100644 index 000000000..2ddb278fa --- /dev/null +++ b/src/pages/Ticket/Card/TicketTracking.vue @@ -0,0 +1,121 @@ + + + diff --git a/src/pages/Ticket/locale/en.yml b/src/pages/Ticket/locale/en.yml index 4add5882f..e01232270 100644 --- a/src/pages/Ticket/locale/en.yml +++ b/src/pages/Ticket/locale/en.yml @@ -149,3 +149,8 @@ weeklyTickets: salesperson: Salesperson search: Search weekly tickets searchInfo: Search weekly tickets by id or client id +tracking: + state: State + worker: Worker + created: Created + addState: Add state diff --git a/src/pages/Ticket/locale/es.yml b/src/pages/Ticket/locale/es.yml index b35215bbb..15905eda7 100644 --- a/src/pages/Ticket/locale/es.yml +++ b/src/pages/Ticket/locale/es.yml @@ -1,3 +1,8 @@ +tracking: + state: Estado + worker: Trabajador + created: Fecha creación + addState: Añadir estado card: search: Buscar tickets searchInfo: Buscar tickets por identificador o alias diff --git a/src/router/modules/ticket.js b/src/router/modules/ticket.js index dfe1f2ab0..b377074a9 100644 --- a/src/router/modules/ticket.js +++ b/src/router/modules/ticket.js @@ -19,6 +19,7 @@ export default { 'TicketSale', 'TicketLog', 'TicketPurchaseRequest', + 'TicketTracking', 'TicketVolume', 'TicketNotes', ], @@ -31,8 +32,8 @@ export default { redirect: { name: 'TicketList' }, children: [ { - name: 'TicketList', path: 'list', + name: 'TicketList', meta: { title: 'list', icon: 'view_list', @@ -40,8 +41,8 @@ export default { component: () => import('src/pages/Ticket/TicketList.vue'), }, { - name: 'TicketCreate', path: 'create', + name: 'TicketCreate', meta: { title: 'createTicket', icon: 'vn:ticketAdd', @@ -50,8 +51,8 @@ export default { component: () => import('src/pages/Ticket/TicketCreate.vue'), }, { - name: 'TicketWeekly', path: 'weekly', + name: 'TicketWeekly', meta: { title: 'weeklyTickets', icon: 'access_time', @@ -59,8 +60,8 @@ export default { component: () => import('src/pages/Ticket/TicketWeekly.vue'), }, { - name: 'TicketFuture', path: 'future', + name: 'TicketFuture', meta: { title: 'futureTickets', icon: 'keyboard_double_arrow_right', @@ -68,8 +69,8 @@ export default { component: () => import('src/pages/Ticket/TicketFuture.vue'), }, { - name: 'TicketAdvance', path: 'advance', + name: 'TicketAdvance', meta: { title: 'ticketAdvance', icon: 'keyboard_double_arrow_left', @@ -85,8 +86,8 @@ export default { redirect: { name: 'TicketSummary' }, children: [ { - name: 'TicketSummary', path: 'summary', + name: 'TicketSummary', meta: { title: 'summary', icon: 'launch', @@ -94,8 +95,8 @@ export default { component: () => import('src/pages/Ticket/Card/TicketSummary.vue'), }, { - name: 'TicketBasicData', path: 'basic-data', + name: 'TicketBasicData', meta: { title: 'basicData', icon: 'vn:settings', @@ -104,8 +105,8 @@ export default { import('src/pages/Ticket/Card/BasicData/TicketBasicDataView.vue'), }, { - name: 'TicketSale', path: 'sale', + name: 'TicketSale', meta: { title: 'sale', icon: 'vn:lines', @@ -122,6 +123,15 @@ export default { component: () => import('src/pages/Ticket/Card/TicketPurchaseRequest.vue'), }, + { + path: 'tracking', + name: 'TicketTracking', + meta: { + title: 'tracking', + icon: 'vn:eye', + }, + component: () => import('src/pages/Ticket/Card/TicketTracking.vue'), + }, { path: 'log', name: 'TicketLog',