You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
willaengine/resources/js/User/components/Config/Department/Add.vue

58 lines
2.0 KiB

5 years ago
<template>
<v-dialog v-model="$store.state.ConfigUserDepartmentAdd" width="30%" transition="slide-x-transition">
<v-card class="RTL">
<v-card-title class=" grey lighten-3" primary-title>
5 years ago
<WM-PartTitle class="WM-Margin-T-20" TitleFa=" افزودن دپارتمان " TitleEn=" Add a Deaprtment " color="orange"></WM-PartTitle>
5 years ago
</v-card-title>
<v-card-text>
<div class="row">
<v-flex lg12>
<v-card-text>
<v-autocomplete prepend-icon="fas fa-align-right" :items="departments" color="orange" item-text="name_fa" label=" دپارتمان مادر "></v-autocomplete>
<v-text-field label=" نام فارسی بخش یا دپارتمان " color="orange" prepend-icon="fas fa-tag" ></v-text-field>
<v-text-field label=" Deparment or Section Name " color="orange" prepend-icon="fas fa-tag" ></v-text-field>
</v-card-text>
</v-flex>
</div>
</v-card-text>
<v-divider></v-divider>
<v-card-actions>
<v-spacer></v-spacer>
<v-btn color="orange" depressed dark @click="$store.state.ConfigUserDepartmentAdd = false">
<v-icon dark right>fas fa-check</v-icon> تایید اطاعلاعات
</v-btn>
</v-card-actions>
</v-card>
</v-dialog>
</template>
<script>
export default {
props: {
},
data () {
return {
departments: [
{
name_fa: " فنی ",
name_en: " Technical ",
},
{
name_fa: " فروش ",
name_en: " Sale ",
},
{
name_fa: " مدیریت ",
name_en: " Management ",
}
]
}
}
};
</script>