|
|
@@ -1,5 +1,15 @@
|
|
|
<template>
|
|
|
<breadcrumbs style="margin-top: 29px; margin-bottom: 19px;" />
|
|
|
+ <template v-if="mounted">
|
|
|
+ <q-card class="barcode-section">
|
|
|
+ <q-card-section>
|
|
|
+ شناسه ورود به جلسه
|
|
|
+ </q-card-section>
|
|
|
+ <q-separator />
|
|
|
+ <form-builder-bar-code lable=""
|
|
|
+ :value="this.national_code" />
|
|
|
+ </q-card>
|
|
|
+ </template>
|
|
|
<entity-index v-if="mounted"
|
|
|
ref="entityIndex"
|
|
|
v-model:value="inputs"
|
|
|
@@ -68,12 +78,14 @@ import { mixinAuth, mixinWidget } from 'src/mixin/Mixins.js'
|
|
|
import EntityIndexGridItem from 'src/components/EntityIndexGridItem.vue'
|
|
|
import Breadcrumbs from 'src/components/Widgets/Breadcrumbs/Breadcrumbs.vue'
|
|
|
import { TranscriptSheet } from 'src/models/TranscriptSheet'
|
|
|
+import FormBuilderBarCode from 'src/components/FormBuilderCustumComponents/FormBuilderBarCode.vue'
|
|
|
|
|
|
const BtnControlComp = shallowRef(BtnControl)
|
|
|
|
|
|
export default {
|
|
|
name: 'UserPanel.Profile.AllClassrooms',
|
|
|
components: {
|
|
|
+ FormBuilderBarCode,
|
|
|
EntityIndex,
|
|
|
Breadcrumbs,
|
|
|
EntityIndexGridItem
|
|
|
@@ -82,6 +94,7 @@ export default {
|
|
|
data () {
|
|
|
return {
|
|
|
mounted: false,
|
|
|
+ national_code: null,
|
|
|
inputs: [
|
|
|
{
|
|
|
type: 'select',
|
|
|
@@ -261,6 +274,7 @@ export default {
|
|
|
},
|
|
|
setOwner () {
|
|
|
const user = this.$store.getters['Auth/user']
|
|
|
+ this.national_code = user.national_code
|
|
|
FormBuilderAssist.setAttributeByName(this.inputs, 'owner', 'value', user.id)
|
|
|
},
|
|
|
setActionBtn () {
|
|
|
@@ -358,6 +372,9 @@ export default {
|
|
|
</script>
|
|
|
|
|
|
<style scoped lang="scss">
|
|
|
+.barcode-section{
|
|
|
+ margin-bottom: 8px;
|
|
|
+}
|
|
|
.CLEAN_PASSED {
|
|
|
//font-size: 1.1em;
|
|
|
color: green;
|