header name 1400-12-19
This commit is contained in:
@@ -2,13 +2,16 @@
|
||||
<div class="the-navbar__user-meta flex items-center">
|
||||
<ADropdown :trigger="['click']" style="z-index: 250000">
|
||||
<div class="flex items-center">
|
||||
<div class="flex justify-start">
|
||||
<p class="font-semibold mb-0">
|
||||
{{ username }}
|
||||
</p>
|
||||
<div class="ml-2 text-primary">
|
||||
<p class="font-semibold mb-0">
|
||||
{{ username.name }}
|
||||
</p>
|
||||
<p>
|
||||
{{username.user_type_str}}
|
||||
</p>
|
||||
</div>
|
||||
<div class="con-img ml-3">
|
||||
<feather-icon icon="UserIcon" class="cursor-pointer" svg-classes="text-primary"/>
|
||||
<feather-icon icon="UserIcon" class="cursor-pointer" svg-classes="text-primary" size="42px"/>
|
||||
</div>
|
||||
</div>
|
||||
<ACard slot="overlay">
|
||||
@@ -42,11 +45,8 @@
|
||||
const s = JSON.parse(j || '{}');
|
||||
return s;
|
||||
},
|
||||
// username() {
|
||||
// return this.activeUserInfo.name;
|
||||
// },
|
||||
username(){
|
||||
const data = localStorage.getItem('user')
|
||||
return JSON.parse(localStorage.getItem('userInfo'))
|
||||
// console.log(data,'dayaaaaaaa');
|
||||
}
|
||||
},
|
||||
|
||||
@@ -132,8 +132,8 @@
|
||||
</a-form-item>
|
||||
</div>
|
||||
<a-form-item label="نام مصاحبه کننده">
|
||||
<input class="ant-input" autocomplete="off"
|
||||
v-decorator="['interviewer',{rules: [{ required: true, message: 'نام مصاحبه کننده را وارد نمایید' }]}]"/>
|
||||
<input class="ant-input" autocomplete="off" :disabled="true"
|
||||
v-decorator="['interviewer',{initialValue: admin,rules: [{ required: true, message: 'نام مصاحبه کننده را وارد نمایید' }]}]"/>
|
||||
</a-form-item>
|
||||
</div>
|
||||
</a-card>
|
||||
@@ -929,6 +929,11 @@ export default {
|
||||
fromMosahebe2: this.$form.createForm(this, {name: 'coordinated'}),
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
admin(){
|
||||
return JSON.parse(localStorage.userInfo).name
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
editInterview(e) {
|
||||
e.preventDefault();
|
||||
|
||||
Reference in New Issue
Block a user