change base url and translate login page and add field
This commit is contained in:
+10
-16
@@ -15,19 +15,16 @@
|
||||
<img src="@/assets/images/logo.svg" width="120px" height="120px" class="mx-auto">
|
||||
<div class="vx-card__title mb-4">
|
||||
<h4 class="mb-4">
|
||||
{{$t('Login')}}
|
||||
ورود
|
||||
</h4>
|
||||
<p>{{$t('Welcome Login')}}</p>
|
||||
<p>به آسکو خوش آمدید.</p>
|
||||
</div>
|
||||
<div>
|
||||
<vs-input
|
||||
v-validate="'required|min:3'"
|
||||
data-vv-validate-on="blur"
|
||||
name="mobile"
|
||||
icon-no-border
|
||||
icon="icon icon-user"
|
||||
icon-pack="feather"
|
||||
:label-placeholder="$t('Mail or Mobile')"
|
||||
label-placeholder="شماره تلفن همراه یا ایمیل"
|
||||
v-model="email"
|
||||
@keydown.enter="loginJWT"
|
||||
class="w-full"/>
|
||||
@@ -38,10 +35,7 @@
|
||||
v-validate="'required'"
|
||||
type="password"
|
||||
name="password"
|
||||
icon-no-border
|
||||
icon="icon icon-lock"
|
||||
icon-pack="feather"
|
||||
:label-placeholder="$t('Password')"
|
||||
label-placeholder="رمز عبور"
|
||||
v-model="password"
|
||||
@keydown.enter="loginJWT"
|
||||
class="w-full mt-8" />
|
||||
@@ -54,16 +48,16 @@
|
||||
</div>
|
||||
<div class="flex flex-wrap justify-between mb-3 ">
|
||||
<vs-button class="mx-auto" :disabled="!validateForm" @click="loginJWT" >
|
||||
{{$t('Login')}}
|
||||
ورود
|
||||
</vs-button>
|
||||
</div>
|
||||
<div>
|
||||
<!-- <router-link to="/auth/register">
|
||||
{{$t('Are you register')}}
|
||||
</router-link>-->
|
||||
<a-button type="link" @click="registerUser">
|
||||
<router-link to="/register/form">
|
||||
آیا هنوز ثبت نام نکرده اید؟
|
||||
</a-button>
|
||||
</router-link>
|
||||
<!-- <a-button type="link" @click="registerUser">
|
||||
آیا هنوز ثبت نام نکرده اید؟
|
||||
</a-button>-->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -102,7 +102,7 @@
|
||||
|
||||
</div>
|
||||
|
||||
<div class="grid lg:grid-cols-2 md:grid-cols-2 sm:grid-cols-1">
|
||||
<div class="grid lg:grid-cols-4 md:grid-cols-4 sm:grid-cols-1 gap-4">
|
||||
<a-form-item label="جنسیت">
|
||||
<a-radio-group style="direction: ltr" v-decorator="['gender',{ initialValue: '1' }]" button-style="solid">
|
||||
<a-radio-button value="2">
|
||||
@@ -123,6 +123,14 @@
|
||||
</a-radio-button>
|
||||
</a-radio-group>
|
||||
</a-form-item>
|
||||
<a-form-item label="شماره حساب بانک پاسارگاد">
|
||||
<a-input autocomplete="off" v-decorator="['pasargad_bank_number',{initialValue: null}]" />
|
||||
</a-form-item>
|
||||
|
||||
<a-form-item label="حقوق درخواستی">
|
||||
<a-input autocomplete="off" v-decorator="['requested_salary',{initialValue: null}]" />
|
||||
</a-form-item>
|
||||
|
||||
</div>
|
||||
|
||||
<a-card :bordered="true" >
|
||||
@@ -136,14 +144,25 @@
|
||||
|
||||
<a-form-item label="سریال شناسنامه">
|
||||
<a-input-group compact style="direction: ltr">
|
||||
<a-select style="width: 15%" v-decorator="['iden_no_left',{initialValue: null}]">
|
||||
<a-select style="width: 23%" v-decorator="['iden_no_left',{initialValue: null}]">
|
||||
<a-select-option style="width: 100% !important;" v-for="item in alphabet" :value="item">
|
||||
{{ item }}
|
||||
</a-select-option>
|
||||
</a-select>
|
||||
<a-input v-decorator="['iden_no_right',{initialValue: null}]" autocomplete="off" style="width: 85%;direction: rtl" />
|
||||
<a-input v-decorator="['iden_no_right',{initialValue: null}]" autocomplete="off" style="width: 70%;direction: rtl" />
|
||||
</a-input-group>
|
||||
</a-form-item>
|
||||
<!-- <a-input-group compact>
|
||||
<a-select default-value="Option1">
|
||||
<a-select-option value="Option1">
|
||||
Option1
|
||||
</a-select-option>
|
||||
<a-select-option value="Option2">
|
||||
Option2
|
||||
</a-select-option>
|
||||
</a-select>
|
||||
<a-input style="width: 50%" default-value="input content" />
|
||||
</a-input-group>-->
|
||||
|
||||
|
||||
<a-form-item label="محل صدور">
|
||||
@@ -830,4 +849,4 @@
|
||||
.ant-modal-title{
|
||||
margin-right: 1rem;
|
||||
}
|
||||
</style>
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user