mirror of
https://git.meshkee.com/cssd/cssd-back.git
synced 2026-10-13 12:11:05 +03:30
new C'hnages
This commit is contained in:
@@ -111,18 +111,6 @@
|
|||||||
</material-card>
|
</material-card>
|
||||||
<material-card>
|
<material-card>
|
||||||
<v-layout row wrap align-center justify-center v-if="$hasRole('Admin|Supervisor')">
|
<v-layout row wrap align-center justify-center v-if="$hasRole('Admin|Supervisor')">
|
||||||
<v-flex class xs12 md2 sm2 v-if="data.verified == 'NotVerified'" @click="verify(data.id)">
|
|
||||||
<v-btn class="WM-CyanBlueGradient-BG" style="padding:10px 60px">
|
|
||||||
<v-icon class="white--text mr-2 caption">fas fa-check</v-icon>
|
|
||||||
<span class="white--text">Verify</span>
|
|
||||||
</v-btn>
|
|
||||||
</v-flex>
|
|
||||||
<v-flex class xs12 md2 sm2 v-else>
|
|
||||||
<v-btn class="WM-NoShadow WM-Outline-Btn WM-Border WM-Border-Gray" @click="verify(data.id)">
|
|
||||||
<v-icon class="black--text mr-2 caption">fas fa-check</v-icon>
|
|
||||||
<span class="black--text">UnVerify</span>
|
|
||||||
</v-btn>
|
|
||||||
</v-flex>
|
|
||||||
<v-flex class xs12 md2 sm2>
|
<v-flex class xs12 md2 sm2>
|
||||||
<v-btn class="WM-NoShadow WM-Outline-Btn WM-Border WM-Border-Gray" @click="print">
|
<v-btn class="WM-NoShadow WM-Outline-Btn WM-Border WM-Border-Gray" @click="print">
|
||||||
<v-icon class="black--text mr-2 caption">fas fa-print</v-icon>
|
<v-icon class="black--text mr-2 caption">fas fa-print</v-icon>
|
||||||
@@ -153,11 +141,6 @@ export default {
|
|||||||
}
|
}
|
||||||
}),
|
}),
|
||||||
methods: {
|
methods: {
|
||||||
async verify(id) {
|
|
||||||
const result = await ApiService.post(urls.verifyTestResult(id));
|
|
||||||
if (result && result.status == 200) {
|
|
||||||
}
|
|
||||||
},
|
|
||||||
print() {
|
print() {
|
||||||
const prtHtml = document.getElementById("printMe").innerHTML;
|
const prtHtml = document.getElementById("printMe").innerHTML;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user