parent
ce4c6cd324
commit
80d26ba61e
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -0,0 +1,106 @@
|
|||||||
|
<template>
|
||||||
|
<v-container>
|
||||||
|
<v-layout row wrap>
|
||||||
|
<v-flex xs12 lg12 mb-3 class="WM-Relative">
|
||||||
|
<v-expansion-panel popout>
|
||||||
|
<v-expansion-panel-content v-for="(template,i) in templates" :key="i">
|
||||||
|
<template v-slot:header>
|
||||||
|
<v-flex lg4 pt-2 class="text-lg-right FA">
|
||||||
|
<span class="TitleNumber En">{{ parseInt(i+1) }}.</span>
|
||||||
|
{{ template.name_fa }}
|
||||||
|
</v-flex>
|
||||||
|
<v-flex lg4 pt-2 class="LTR EN">{{ template.name_en }}</v-flex>
|
||||||
|
<v-flex xl4 class="Buttons text-lg-center">
|
||||||
|
<v-tooltip top color="black">
|
||||||
|
<v-btn class="XS" small slot="activator" fab color="orange" dark>
|
||||||
|
<v-icon dark>fas fa-pencil-alt</v-icon>
|
||||||
|
</v-btn>
|
||||||
|
<span> ویرایش </span>
|
||||||
|
</v-tooltip>
|
||||||
|
<v-tooltip top color="black">
|
||||||
|
<v-btn class="XS" small slot="activator" fab color="red" dark>
|
||||||
|
<v-icon dark>fas fa-trash-alt</v-icon>
|
||||||
|
</v-btn>
|
||||||
|
<span> حذف آیتم </span>
|
||||||
|
</v-tooltip>
|
||||||
|
</v-flex>
|
||||||
|
</template>
|
||||||
|
<v-card>
|
||||||
|
<v-card-text style="padding:5px 30px">
|
||||||
|
<div class="WM-Tile" >
|
||||||
|
<v-layout row wrap class="Content">
|
||||||
|
<v-flex lg12 class="text-lg-right zIndex99" pt-3>{{ template.text }}</v-flex>
|
||||||
|
</v-layout>
|
||||||
|
</div>
|
||||||
|
</v-card-text>
|
||||||
|
</v-card>
|
||||||
|
</v-expansion-panel-content>
|
||||||
|
</v-expansion-panel>
|
||||||
|
|
||||||
|
<v-btn @click.native="$store.state.ConfigSMSTemplateAdd = true" slot="activator" fab color="cyan" bottom left dark style="position:absolute; left:5px; bottom:-20px;">
|
||||||
|
<v-icon dark>fas fa-plus</v-icon>
|
||||||
|
</v-btn>
|
||||||
|
</v-flex>
|
||||||
|
</v-layout>
|
||||||
|
<!-- --------------------------------------------------------------------
|
||||||
|
Modals :: BEGIN
|
||||||
|
-------------------------------------------------------------------- -->
|
||||||
|
<template>
|
||||||
|
<div class="text-xs-center">
|
||||||
|
<wm-sms-template-add></wm-sms-template-add>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
<!-- --------------------------------------------------------------------
|
||||||
|
Modals :: END
|
||||||
|
-------------------------------------------------------------------- -->
|
||||||
|
</v-container>
|
||||||
|
</template>
|
||||||
|
<script>
|
||||||
|
import Add from "@Common/components/Contact/SMS/Config/Template/Add.vue";
|
||||||
|
export default {
|
||||||
|
components: {
|
||||||
|
"wm-sms-template-add": Add
|
||||||
|
},
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
templates: [
|
||||||
|
{ name_fa: " تبریک تولد ", name_en: " Birthday ",
|
||||||
|
text: " [Name] عزیز، زاد روز تولدتان را گرامی میداریم. هدیه ما برای روز عزیز برای شما، 20 درصد تخفیف استفاده از خدمات خواهد بود. در کنارت هستیم. ",
|
||||||
|
},
|
||||||
|
{ name_fa: " تبریک سال نو ", name_en: " New Year ",
|
||||||
|
text: " [Name] عزیز، زاد روز تولدتان را گرامی میداریم. هدیه ما برای روز عزیز برای شما، 20 درصد تخفیف استفاده از خدمات خواهد بود. در کنارت هستیم. ",
|
||||||
|
},
|
||||||
|
{ name_fa: " رزرو وقت ", name_en: " Reservation ",
|
||||||
|
text: " [Name] عزیز، زاد روز تولدتان را گرامی میداریم. هدیه ما برای روز عزیز برای شما، 20 درصد تخفیف استفاده از خدمات خواهد بود. در کنارت هستیم. ",
|
||||||
|
}
|
||||||
|
]
|
||||||
|
};
|
||||||
|
}
|
||||||
|
};
|
||||||
|
</script>
|
||||||
|
<style lang="scss">
|
||||||
|
@import "@Global/scss/Tile.scss";
|
||||||
|
.WM-Tile {
|
||||||
|
padding: 0px;
|
||||||
|
}
|
||||||
|
.Content .Number {
|
||||||
|
width: auto;
|
||||||
|
right: 0px;
|
||||||
|
bottom: -6px;
|
||||||
|
}
|
||||||
|
.v-expansion-panel__container--active .v-expansion-panel__header .FA,
|
||||||
|
.v-expansion-panel__container--active .v-expansion-panel__header .EN {
|
||||||
|
font-size: 24px;
|
||||||
|
}
|
||||||
|
.TitleNumber {
|
||||||
|
line-height: 40px;
|
||||||
|
width: 40px;
|
||||||
|
font-size: 40px;
|
||||||
|
color: rgb(0, 0, 0);
|
||||||
|
}
|
||||||
|
.v-expansion-panel--inset .v-expansion-panel__container--active,
|
||||||
|
.v-expansion-panel--popout .v-expansion-panel__container--active {
|
||||||
|
border: 1px solid #000 !important;
|
||||||
|
box-shadow: none;
|
||||||
|
}
|
||||||
|
</style>
|
@ -1,7 +1,16 @@
|
|||||||
export default [
|
export default [
|
||||||
|
// {
|
||||||
|
// path: '/Login',
|
||||||
|
// name: 'Login',
|
||||||
|
// view: 'auth/Login'
|
||||||
|
// },
|
||||||
{
|
{
|
||||||
path: '/Login',
|
path: '/CRM/MyTasks',
|
||||||
name: 'Login',
|
name: 'MyTasks',
|
||||||
view: 'auth/Login'
|
view: 'Tasks'
|
||||||
}
|
}, {
|
||||||
|
path: '/CRM/MyRequests',
|
||||||
|
name: 'MyRequests',
|
||||||
|
view: 'Tasks'
|
||||||
|
},
|
||||||
];
|
];
|
||||||
|
@ -0,0 +1,102 @@
|
|||||||
|
<template>
|
||||||
|
<v-container fluid>
|
||||||
|
<div class="Tile Shadowed Padd-0 WM-Margin-B-10" >
|
||||||
|
<wm-breadcrumbs LinkClass="WM-Link-Cyan" :items="breadcrumbItems"></wm-breadcrumbs>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="Tile Shadowed">
|
||||||
|
<WM-PartTitle class="WM-Margin-T-20" TitleFa=" مشتریان من " TitleEn=" My Clients " Color="red"></WM-PartTitle>
|
||||||
|
<wm-client-filter></wm-client-filter>
|
||||||
|
<wm-client-items></wm-client-items>
|
||||||
|
<router-link to="AddClient">
|
||||||
|
<v-btn large fab color="cyan" fixed bottom left dark style="left:5%"><v-icon dark>fas fa-plus</v-icon></v-btn>
|
||||||
|
</router-link>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<!-- --------------------------------------------------------------------
|
||||||
|
Modals :: BEGIN
|
||||||
|
-------------------------------------------------------------------- -->
|
||||||
|
<template>
|
||||||
|
<div class="text-xs-center">
|
||||||
|
<wm-client-details></wm-client-details>
|
||||||
|
<wm-client-status></wm-client-status>
|
||||||
|
<wm-send-email></wm-send-email>
|
||||||
|
<wm-send-sms></wm-send-sms>
|
||||||
|
<wm-task-add></wm-task-add>
|
||||||
|
<wm-task-timeline></wm-task-timeline>
|
||||||
|
<wm-event-add></wm-event-add>
|
||||||
|
<wm-event-timeline></wm-event-timeline>
|
||||||
|
<wm-transaction-add></wm-transaction-add>
|
||||||
|
<wm-transaction-timeline></wm-transaction-timeline>
|
||||||
|
<wm-comments-timeline></wm-comments-timeline>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
<!-- --------------------------------------------------------------------
|
||||||
|
Modals :: END
|
||||||
|
-------------------------------------------------------------------- -->
|
||||||
|
</v-container>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<script>
|
||||||
|
import ClientItems from '@CRM/components/Clients/Items';
|
||||||
|
import ClientFilters from '@CRM/components/Clients/Filters';
|
||||||
|
import ClientDetails from "@CRM/components/Clients/Details.vue";
|
||||||
|
import ClientStatus from "@CRM/components/Clients/Status.vue";
|
||||||
|
|
||||||
|
import SendEmailModal from "@Common/components/Contact/Email/Send.vue";
|
||||||
|
import SendSMSModal from "@Common/components/Contact/SMS/Send.vue";
|
||||||
|
|
||||||
|
import TaskAdd from "@Common/components/Task/Add.vue";
|
||||||
|
import TaskTimeline from "@Common/components/Task/Timeline/Modal-Layout.vue";
|
||||||
|
import TaskTimelineItem from "@Common/components/Task/Timeline/Item.vue";
|
||||||
|
|
||||||
|
import EventAdd from "@Common/components/Event/Add.vue";
|
||||||
|
import EventTimeline from "@Common/components/Event/Timeline/Modal-Layout.vue";
|
||||||
|
import EventTimelineItem from "@Common/components/Event/Timeline/Item.vue";
|
||||||
|
|
||||||
|
import TransactionAdd from "@Common/components/Transaction/Add.vue";
|
||||||
|
import TransactionTimeline from "@Common/components/Transaction/Timeline/Modal-Layout.vue";
|
||||||
|
|
||||||
|
import CommentsTimeline from "@Common/components/Comment/Modal-Layout.vue";
|
||||||
|
|
||||||
|
|
||||||
|
export default {
|
||||||
|
components: {
|
||||||
|
'wm-client-items' : ClientItems,
|
||||||
|
'wm-client-filter' : ClientFilters,
|
||||||
|
'wm-client-details' : ClientDetails,
|
||||||
|
'wm-client-status' : ClientStatus,
|
||||||
|
'wm-send-email' : SendEmailModal,
|
||||||
|
'wm-send-sms' : SendSMSModal,
|
||||||
|
'wm-task-add' : TaskAdd,
|
||||||
|
'wm-task-timeline' : TaskTimeline,
|
||||||
|
'wm-event-add' : EventAdd,
|
||||||
|
'wm-event-timeline' : EventTimeline,
|
||||||
|
'wm-transaction-add' : TransactionAdd,
|
||||||
|
'wm-transaction-timeline' : TransactionTimeline,
|
||||||
|
'wm-comments-timeline' : CommentsTimeline,
|
||||||
|
},
|
||||||
|
data: function () {
|
||||||
|
return {
|
||||||
|
breadcrumbItems: [
|
||||||
|
{
|
||||||
|
text: '',
|
||||||
|
disabled: false,
|
||||||
|
href: 'Home',
|
||||||
|
icon: 'home'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
text: ' مشتریان من ',
|
||||||
|
disabled: true,
|
||||||
|
href: 'Clients'
|
||||||
|
},
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style scoped lang="scss">
|
||||||
|
</style>
|
@ -1,8 +1,8 @@
|
|||||||
import sharedPath from './path';
|
import sharedPath from './path';
|
||||||
|
|
||||||
|
|
||||||
let paths = [];
|
// let paths = [];
|
||||||
|
|
||||||
paths = paths.concat(sharedPath);
|
// paths = paths.concat(sharedPath);
|
||||||
|
|
||||||
export default paths;
|
export default sharedPath;
|
||||||
|
@ -1,12 +1,7 @@
|
|||||||
export default [
|
export default [
|
||||||
{
|
{
|
||||||
path: '/CRM/Login',
|
path: '/CRM/MyTasks',
|
||||||
name: 'testlogin',
|
name: 'MyTasks',
|
||||||
view: 'Modules/Module/views/Home'
|
view: 'Common/views/Tasks'
|
||||||
},
|
}
|
||||||
// {
|
|
||||||
// path: '/User/List',
|
|
||||||
// name: 'UserList',
|
|
||||||
// view: 'Authentication/views/Users'
|
|
||||||
// },
|
|
||||||
];
|
];
|
||||||
|
Loading…
Reference in new issue