|
|
|
|
<template>
|
|
|
|
|
<v-dialog v-model="$store.state.AddRole" width="70%" transition="slide-x-transition">
|
|
|
|
|
<v-card class="RTL">
|
|
|
|
|
<v-card-title class=" grey lighten-3" primary-title>
|
|
|
|
|
<WM-PartTitle class="WM-Margin-T-20" TitleFa=" ایجاد نقش جدید " TitleEn=" Define a new Role " color="cyan"></WM-PartTitle>
|
|
|
|
|
</v-card-title>
|
|
|
|
|
|
|
|
|
|
<v-card-text>
|
|
|
|
|
<v-layout row wrap class="WM-Section" style="border-right-color: #32c5d2;">
|
|
|
|
|
<v-flex class="lg3 RTL text-lg-right">
|
|
|
|
|
<div class="Step En" style="color:#32c5d2;"> 01 </div>
|
|
|
|
|
<div class="Title">
|
|
|
|
|
<div class="FA"> کاربران </div>
|
|
|
|
|
<div class="EN"> Users </div>
|
|
|
|
|
</div>
|
|
|
|
|
<!-- <v-tooltip top color="black">
|
|
|
|
|
<v-btn small slot="activator" fab color="cyan" dark style="float:left; margin-left:10px;"><v-icon dark>fas fa-plus</v-icon></v-btn>
|
|
|
|
|
<span> افزودن نقش جدید </span>
|
|
|
|
|
</v-tooltip> -->
|
|
|
|
|
<!-- <v-switch style="float:left; margin-left:10px;" color="cyan" v-model="UserSwitch"></v-switch> -->
|
|
|
|
|
</v-flex>
|
|
|
|
|
<v-flex class="lg9">
|
|
|
|
|
<v-layout row wrap class="WM-Margin-0">
|
|
|
|
|
<v-flex class="lg6 WM-Flex RoleFlex">
|
|
|
|
|
<v-card-text>
|
|
|
|
|
<v-text-field label=" نام نقش به فارسی " color="cyan" prepend-icon="fas fa-tag" ></v-text-field>
|
|
|
|
|
</v-card-text>
|
|
|
|
|
</v-flex>
|
|
|
|
|
<v-flex class="lg6 WM-Flex RoleFlex">
|
|
|
|
|
<v-card-text>
|
|
|
|
|
<v-text-field label=" Role Name - English " class="LTR" color="cyan" prepend-icon="fas fa-tag" ></v-text-field>
|
|
|
|
|
</v-card-text>
|
|
|
|
|
</v-flex>
|
|
|
|
|
</v-layout>
|
|
|
|
|
<v-layout row wrap class="WM-Margin-0">
|
|
|
|
|
<v-flex class="lg4 WM-Flex RoleFlex">
|
|
|
|
|
<v-switch color="cyan" v-model="UserAdd" label=" افزودن کاربر "></v-switch>
|
|
|
|
|
</v-flex>
|
|
|
|
|
<v-flex class="lg4 WM-Flex RoleFlex">
|
|
|
|
|
<v-switch color="cyan" v-model="UserEdit" label=" ویرایش کاربر "></v-switch>
|
|
|
|
|
</v-flex>
|
|
|
|
|
<v-flex class="lg4 WM-Flex RoleFlex">
|
|
|
|
|
<v-switch color="cyan" v-model="UserRemove" label=" حذف کاربر "></v-switch>
|
|
|
|
|
</v-flex>
|
|
|
|
|
<v-flex class="lg4 WM-Flex RoleFlex">
|
|
|
|
|
<v-switch color="cyan" v-model="EditRoles" label=" ویرایش دسترسی ها "></v-switch>
|
|
|
|
|
</v-flex>
|
|
|
|
|
<v-flex class="lg4 WM-Flex RoleFlex">
|
|
|
|
|
<v-switch color="cyan" v-model="Contact" label=" ارسال پیام کوتاه یا ایمیل "></v-switch>
|
|
|
|
|
</v-flex>
|
|
|
|
|
<v-flex class="lg4 WM-Flex RoleFlex">
|
|
|
|
|
<v-switch color="cyan" v-model="DoTask" label=" قابلیت انجام وظیفه "></v-switch>
|
|
|
|
|
</v-flex>
|
|
|
|
|
<v-flex class="lg4 WM-Flex RoleFlex">
|
|
|
|
|
<v-switch color="cyan" v-model="DefineTask" label=" قابلیت انجام وظیفه "></v-switch>
|
|
|
|
|
</v-flex>
|
|
|
|
|
</v-layout>
|
|
|
|
|
</v-flex>
|
|
|
|
|
</v-layout>
|
|
|
|
|
</v-card-text>
|
|
|
|
|
<v-divider></v-divider>
|
|
|
|
|
|
|
|
|
|
<v-card-actions>
|
|
|
|
|
<v-spacer></v-spacer>
|
|
|
|
|
<v-btn color="cyan" depressed dark @click="$store.state.AddRole = false">
|
|
|
|
|
<v-icon dark right>fas fa-plus</v-icon> افزودن نقش
|
|
|
|
|
</v-btn>
|
|
|
|
|
</v-card-actions>
|
|
|
|
|
</v-card>
|
|
|
|
|
</v-dialog>
|
|
|
|
|
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
|
|
|
|
|
export default {
|
|
|
|
|
props: {
|
|
|
|
|
},
|
|
|
|
|
data () {
|
|
|
|
|
return {
|
|
|
|
|
status: [
|
|
|
|
|
{ name: ' بسته شده ', id: 1 },
|
|
|
|
|
{ name: ' ویزیت اولیه ', id: 2 },
|
|
|
|
|
{ name: ' انصراف داده ', id: 3 },
|
|
|
|
|
],
|
|
|
|
|
UserSwitch: true,
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
</script>
|