new correction on access

This commit is contained in:
Fateme
2020-07-23 19:49:14 +04:30
parent 8a8d00567f
commit 73d0169ca3
14 changed files with 92 additions and 37 deletions
+3 -2
View File
@@ -146,7 +146,8 @@ export default {
watch: {
'$route' (val) {
this.title = val.name
// this.title = val.name
this.title = val.name.replace(/([A-Z])/g, ' $1').trim()
}
},
@@ -192,4 +193,4 @@ export default {
.Pointer {
cursor: pointer;
}
</style>
</style>
@@ -20,7 +20,12 @@
<v-flex xs3 md3 sm3>
<div class>
<span class="subtitle-1">Result :</span>
<v-icon class="green--text ml-2 caption">fas fa-check</v-icon>
<span v-if="data.result == 'Reject'" class="NotVerified">
<v-icon class="caption fa fa-times NotVerified"></v-icon>
</span>
<span v-if="data.result == 'Accept'" class="">
<v-icon class="caption fa fa-check Verified"></v-icon>
</span>
<span
class="title font-weight-bold ml-1"
style="letter-spacing:0 !important"
@@ -30,7 +35,17 @@
<v-flex xs3 md3 sm3>
<div class>
<span class="subtitle-1">verify :</span>
<v-icon class="pink--text ml-2 caption">fas fa-times</v-icon>
<!-- <v-icon class="pink--text ml-2 caption">fas fa-times</v-icon> -->
<!-- <span
class="title font-weight-bold ml-1"
style="letter-spacing:0 !important"
>{{ data.verified }}</span> -->
<span v-if="data.verified == 'NotVerified'" class="NotVerified">
<v-icon class="caption fa fa-times NotVerified"></v-icon>
</span>
<span v-if="data.verified == 'Verified'" class="">
<v-icon class="caption fa fa-check Verified"></v-icon>
</span>
<span
class="title font-weight-bold ml-1"
style="letter-spacing:0 !important"
@@ -148,7 +163,7 @@
</v-flex>
<v-layout row wrap class="ml-4">
<!-- <LightBox :media="data.images.map(img => ({thumb: img.path, src: img.path}))" style="width: 20%"></LightBox> -->
<v-flex xs6 md2 sm2 v-for="(file, key) in data.files" :key="key">
<v-flex xs6 md2 sm2 v-for="(file, key) in data.files" :key="key">
<template v-if="file.file_type == 'document'">
<a target="_blank" :href="'/'+file.path"><v-icon class="mr-2 caption">fas fa-check</v-icon>{{ file.file_name }}</a>
</template>
@@ -175,7 +190,7 @@
<span class="white--text">Verify</span>
</v-btn>
</v-flex>
<v-flex class="WM-Align-R" xs6 md3 sm3 v-else>
<v-flex class="WM-Align-R" xs6 md3 sm3 v-else-if="$hasRole('Admin')">
<v-btn
class="WM-NoShadow WM-Outline-Btn WM-Border WM-Border-Gray"
@click="verify(data.id)"