diff --git a/public/loader.css b/public/loader.css
index d3f280d..464902c 100644
--- a/public/loader.css
+++ b/public/loader.css
@@ -26,7 +26,7 @@
width: 100%;
height: 100%;
border: 3px solid transparent;
- border-left: 3px solid #1DA57A;
+ border-left: 3px solid #28ace0;
border-radius: 50%;
-webkit-box-sizing: border-box;
box-sizing: border-box;
@@ -43,7 +43,7 @@
width: 100%;
height: 100%;
border: 3px solid transparent;
- border-left: 3px solid #1DA57A;
+ border-left: 3px solid #28ace0;
-webkit-animation: rotateOpacity 1s ease infinite .2s;
animation: rotateOpacity 1s ease infinite .2s;
border-radius: 50%;
diff --git a/src/App.vue b/src/App.vue
index 88e5b96..07b3e37 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -1,3 +1,7 @@
+
+
+
+
-
+
{{ title }}
diff --git a/src/layouts/components/vertical-nav-menu/navMenuItems.js b/src/layouts/components/vertical-nav-menu/navMenuItems.js
index cc1411f..9378c4a 100644
--- a/src/layouts/components/vertical-nav-menu/navMenuItems.js
+++ b/src/layouts/components/vertical-nav-menu/navMenuItems.js
@@ -27,6 +27,9 @@ export default [
icon: "AlignJustifyIcon",
i18n: "اطلاعات پرسنلی",
},
+ {
+ url: "/auth/register",
+ },
]
diff --git a/src/router.js b/src/router.js
index b230b03..130a620 100644
--- a/src/router.js
+++ b/src/router.js
@@ -24,14 +24,14 @@ const router = new Router({
rule: 'editor'
}
},
- // {
- // path: '/auth/register',
- // name: 'auth-register',
- // component: () => import('@/views/auth/Register.vue'),
- // meta: {
- // rule: 'editor'
- // }
- // },
+ {
+ path: '/auth/register',
+ name: 'auth-register',
+ component: () => import('./views/register/Register.vue'),
+ meta: {
+ rule: 'editor'
+ }
+ },
// {
// path: '/auth/forgot-password',
// name: 'auth-forget',
diff --git a/src/views/Callback.vue b/src/views/Callback.vue
index dae25a2..1f6a2d1 100644
--- a/src/views/Callback.vue
+++ b/src/views/Callback.vue
@@ -2,7 +2,7 @@
-

+
diff --git a/src/views/auth/Login.vue b/src/views/auth/Login.vue
index c64a9ed..78c060a 100644
--- a/src/views/auth/Login.vue
+++ b/src/views/auth/Login.vue
@@ -1,15 +1,4 @@
-
-
-
-
@@ -17,16 +6,18 @@
+
+
- ورود
+ {{$t('Login')}}
-
- به آسکو خوش آمدید.
-
+
{{$t('Welcome Login')}}
-
شماره موبایل الزامی است.
+
{{ errors.first('mobile') }}
-
رمزعبور الزامی است.
+
{{ errors.first('password') }}
-
- رمز عبور خود را فراموش کردم
-
+
- ورود
+ {{$t('Login')}}
-
- آیا شما ثبت نام نکرده اید ؟
-
+
+
+ آیا هنوز ثبت نام نکرده اید؟
+
@@ -133,13 +127,6 @@
}
this.$vs.loading.close()
this.$message.error(msg);
- /*this.$vs.notify({
- title: 'خطا در ورود',
- text: msg,
- iconPack: 'feather',
- icon: 'icon-alert-circle',
- color: 'danger',
- })*/
})
},
registerUser() {
@@ -165,4 +152,3 @@
}
-
diff --git a/src/views/config/Config.vue b/src/views/config/Config.vue
index 20e932b..a9834d9 100644
--- a/src/views/config/Config.vue
+++ b/src/views/config/Config.vue
@@ -1,8 +1,9 @@
+
-
+
@@ -16,14 +17,13 @@
-
+
{{item.title}}
@@ -39,16 +39,16 @@
+ v-decorator="['title',{rules: [{ required: true, message: 'وارد کردن شغل الزامی است' }],},]"/>
{{item.title}}
@@ -76,7 +76,7 @@
- {{item}}
+ {{item}}
@@ -101,9 +101,9 @@
ویرایش
-
+
@@ -127,12 +127,12 @@
okText="ثبت تغییرات "
@ok="saveEditJob"
cancelText="بستن"
- title="ویرایش شفل" >
+ title="ویرایش شغل" >
+ v-decorator="['title',{rules: [{ required: true, message: 'وارد کردن شغل الزامی است' }]}]"/>
@@ -140,11 +140,11 @@
class="mt-3"
mode="multiple"
style="width: 100%;direction: rtl !important;"
- size="large"
+ autocomplete="off"
placeholder="انتخاب شهر"
- v-decorator="['cities',{rules: [{ required: false, message: 'وارد کردن شهر های همکاری الزامی است' }],},]"
+ v-decorator="['cities',{rules: [{ required: true, message: 'وارد کردن شهر های همکاری الزامی است' }]}]"
>
-
+
{{item.title}}
@@ -166,6 +166,7 @@
import XTable from "@/components/x-table/XTable";
import axios from "@/axios";
+
export default {
data() {
return {
@@ -218,18 +219,15 @@
e.preventDefault();
this.fromJobEdit.validateFields((err, values) => {
if (!err) {
- values.id=this.currentJobID;
- axios.post('/jobs',values)
- .then((res)=>{
- //console.log(res.data);
- this.$message.success('اطلاعات با موفقیت ثبت شد');
- this.getJobs();
- this.showAddJob=false;
- }).catch((error)=>{
+ try{
+ values.id=this.currentJobID;
+ axios.post('/jobs',values)
+ this.$message.success('اطلاعات با موفقیت ثبت شد');
+ this.getJobs();
+ this.showJobEditModal = false;
+ }catch (e) {
this.$message.error('خطا در دریافت اطلاعات');
- });
- // console.log('Received values of form: ', values);
- //this.$store.commit('update', values);
+ }
}
});
},
@@ -330,6 +328,7 @@
}
+
+
diff --git a/src/views/personel/personelTbl.js b/src/views/personel/personelTbl.js
index 8cbc867..e8b10c8 100644
--- a/src/views/personel/personelTbl.js
+++ b/src/views/personel/personelTbl.js
@@ -5,9 +5,8 @@ tbl.add(new Xtc('name', 'نام و نام خانوادگی').filterText());
tbl.add(new Xtc('fname', 'کد پرسنلی').filterText())
tbl.add(new Xtc('id', 'شماره بیمه').filterText())
tbl.add(new Xtc('ncode', 'کد ملی').filterText())
-tbl.add(new Xtc('created_at', 'ثبت نام').filterDate().noSort())
-tbl.add(new Xtc('updated_at', 'به روز رسانی').filterText().noSort())
+tbl.add(new Xtc('caj', 'ثبت نام').filterDate().noSort())
+tbl.add(new Xtc('uaj', 'به روز رسانی').filterText().noSort())
tbl.add(new Xtc('operator', 'عملیات').filterSwitch().renderSlot('operator').noSort())
-/*tbl.addOpt()*/
export default tbl;
diff --git a/src/views/proposal/Proposal.vue b/src/views/proposal/Proposal.vue
index 6b9a48a..6928e0b 100644
--- a/src/views/proposal/Proposal.vue
+++ b/src/views/proposal/Proposal.vue
@@ -6,7 +6,8 @@
-
+
e.preventDefault()">
@@ -14,7 +15,7 @@
- مشاهده مصاحبه
+ مشاهده مصاحبه
@@ -22,7 +23,7 @@
- ثبت مصاحبه
+ ثبت مصاحبه
@@ -33,13 +34,63 @@
-
+
+
+
+
+
+
+ مصاحبه ای ثبت نشده است.
+
+
+
+
+
+
+
+ {{ item.interview_at }}
+
+
+ {{ item.interviewer }}
+
+
+ {{ item.type }}
+
+
+
+
+
+
+
+
{{title_interview[index]}}
+
+
+ نمره: {{element.score}}
+
+
+ قبول
+
+
+
+
+
{{ element.desc }}
+
بدون توضیحات
+
+
+
+
+
+
+
+
+
بستن
-
@@ -73,10 +124,9 @@
+
-
موضوع بررسی
-
@@ -277,7 +327,6 @@
-
@@ -291,8 +340,8 @@
نام و نام خانوادگی : {{ personalInformation.name }}
کد ملی : {{ personalInformation.ncode }}
موبایل : {{ personalInformation.mobile }}
- تاریخ ثبت نام : {{ personalInformation.created_at }}
- تاریخ به روز رسانی : {{ personalInformation.updated_at }}
+ تاریخ ثبت نام : {{ personalInformation.caj }}
+ تاریخ به روز رسانی : {{ personalInformation.uaj }}
شغل متقاضی : {{ personalInformation.job_title }}
نام پدر : {{ personalInformation.father_name }}
تاریخ تولد : {{ personalInformation.birth_date }}
@@ -355,7 +404,7 @@
+
+
\ No newline at end of file
diff --git a/themeConfig.js b/themeConfig.js
index 63e01ca..0f037e9 100644
--- a/themeConfig.js
+++ b/themeConfig.js
@@ -9,7 +9,7 @@
// MAIN COLORS - VUESAX THEME COLORS
export const colors = {
- primary : '#1DA57A',
+ primary : '#41b883',
// primary : '#7367F0',
success : '#28C76F',
danger : '#EA5455',