refactor: refs #6452 remove WorkerPBX component and its routing #1084
|
@ -1,28 +0,0 @@
|
||||||
src/pages/Worker/Card/WorkerPBX.vue
|
|
||||||
|
|
||||||
<script setup>
|
|
||||||
import FormModel from 'src/components/FormModel.vue';
|
|
||||||
import VnInput from 'src/components/common/VnInput.vue';
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<template>
|
|
||||||
<FormModel
|
|
||||||
model="WorkerPbx"
|
|
||||||
:url="`Workers/${$route.params.id}/sip`"
|
|
||||||
url-update="Sips"
|
|
||||||
:mapper="
|
|
||||||
({ userFk, extension }) => ({
|
|
||||||
userFk,
|
|
||||||
extension,
|
|
||||||
})
|
|
||||||
"
|
|
||||||
auto-load
|
|
||||||
>
|
|
||||||
<template #form="{ data }">
|
|
||||||
<VnInput
|
|
||||||
:label="$t('worker.summary.sipExtension')"
|
|
||||||
v-model="data.extension"
|
|
||||||
/>
|
|
||||||
</template>
|
|
||||||
</FormModel>
|
|
||||||
</template>
|
|
|
@ -11,7 +11,6 @@ const workerCard = {
|
||||||
'WorkerNotes',
|
'WorkerNotes',
|
||||||
'WorkerPda',
|
'WorkerPda',
|
||||||
'WorkerNotificationsManager',
|
'WorkerNotificationsManager',
|
||||||
'WorkerPBX',
|
|
||||||
'WorkerLog',
|
'WorkerLog',
|
||||||
'WorkerCalendar',
|
'WorkerCalendar',
|
||||||
'WorkerDms',
|
'WorkerDms',
|
||||||
|
@ -103,15 +102,6 @@ const workerCard = {
|
||||||
component: () =>
|
component: () =>
|
||||||
import('src/pages/Worker/Card/WorkerNotificationsManager.vue'),
|
import('src/pages/Worker/Card/WorkerNotificationsManager.vue'),
|
||||||
},
|
},
|
||||||
{
|
|
||||||
path: 'pbx',
|
|
||||||
name: 'WorkerPBX',
|
|
||||||
meta: {
|
|
||||||
title: 'pbx',
|
|
||||||
icon: 'vn:pbx',
|
|
||||||
},
|
|
||||||
component: () => import('src/pages/Worker/Card/WorkerPBX.vue'),
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
name: 'WorkerDms',
|
name: 'WorkerDms',
|
||||||
path: 'dms',
|
path: 'dms',
|
||||||
|
|
Loading…
Reference in New Issue