ali 3 éve
szülő
commit
37cd3a04a1

+ 1 - 1
src/components/Widgets/Other/ShowClassroomInfo/ShowClassroomInfo.vue

@@ -67,7 +67,7 @@
                    @click="openRulesDialog">
               آیین نامه دوره
             </q-btn>
-            <q-btn v-if="defaultOptions.profileMode"
+            <q-btn v-if="defaultOptions.profileMode && classroom.is_enabled_dropping"
                    outline
                    color="red"
                    class="btn-register q-ml-md"

+ 1 - 1
src/pages/Admin/Classroom/Ticket.vue

@@ -13,7 +13,7 @@ export default {
   mixins: [mixinPageOptions],
   data: () => {
     return {
-      sections: [{ data: { rows: [{ cols: [{ widgets: [{ name: 'AdminTicketList' }, { name: 'AdminTicketCreate', options: { style: { marginTop: '32px' } } }], options: { style: { paddingTop: '' } } }], options: { className: '', height: 'auto', boxed: true, boxedWidth: 1200, gutterXSize: 'md', gutterYSize: 'md', absolute: 'none', paddingOfBoxedInFullWidth: '30px', style: { maxWidth: '1200px', width: '1200px' } } }] }, options: { fullHeight: false, backgrounds: { xs: { size: null, color: null, image: null, repeat: null, position: null, attachment: null }, sm: { size: null, color: null, image: null, repeat: null, position: null, attachment: null }, md: { size: null, color: null, image: null, repeat: null, position: null, attachment: null }, lg: { size: null, color: null, image: null, repeat: null, position: null, attachment: null }, xl: { size: null, color: null, image: null, repeat: null, position: null, attachment: null } }, verticalAlign: null, style: { minHeight: 'auto' } } }]
+      sections: [{ data: { rows: [{ cols: [{ widgets: [{ name: 'AdminTicketList', options: { style: {}, defaultSourceType: 'CONTENT' } }], options: { style: { paddingTop: '' } } }], options: { className: '', height: 'auto', boxed: true, boxedWidth: 1200, gutterXSize: 'md', gutterYSize: 'md', absolute: 'none', paddingOfBoxedInFullWidth: '30px', style: { maxWidth: '1200px', width: '1200px' } } }] }, options: { fullHeight: false, backgrounds: { xs: { size: null, color: null, image: null, repeat: null, position: null, attachment: null }, sm: { size: null, color: null, image: null, repeat: null, position: null, attachment: null }, md: { size: null, color: null, image: null, repeat: null, position: null, attachment: null }, lg: { size: null, color: null, image: null, repeat: null, position: null, attachment: null }, xl: { size: null, color: null, image: null, repeat: null, position: null, attachment: null } }, verticalAlign: null, style: { minHeight: 'auto' } } }]
     }
   },
   created() {

+ 11 - 15
src/router/routes.js

@@ -236,25 +236,13 @@ const routes = [
               }
             ]
           },
-          {
-            path: 'wallet',
-            name: 'UserPanel.Wallet',
-            component: () => import('src/pages/User/Wallet/Show.vue')
-          },
+          { path: 'wallet', name: 'UserPanel.Wallet', component: () => import('src/pages/User/Wallet/Show.vue') },
           {
             path: 'payment',
             name: 'UserPanel.Payment',
             component: () => import('src/layouts/bareLayout.vue'),
             children: [
-              {
-                name: 'UserPanel.Payment.Show',
-                path: ':id',
-                component: () => import('src/pages/User/Payment/Show.vue'),
-                meta: {
-                  hasDynamicSetting: true
-                },
-                breadcrumbs: { title: 'اطلاعات کاربری' }
-              }
+              { name: 'UserPanel.Payment.Show', path: ':id', component: () => import('src/pages/User/Payment/Show.vue'), breadcrumbs: { title: 'اطلاعات کاربری' } }
             ]
           }
         ]
@@ -391,7 +379,15 @@ const routes = [
               { path: '', name: 'Admin.Content.List', component: () => import('src/pages/Admin/Content/List.vue') },
               { path: 'create', name: 'Admin.Content.Create', component: () => import('src/pages/Admin/Content/Create.vue') },
               { path: ':id', name: 'Admin.Content.Show', component: () => import('src/pages/Admin/Content/Show.vue') },
-              { name: 'Admin.Content.Ticket', path: 'ticket', component: () => import('src/pages/Admin/Classroom/Ticket.vue'), breadcrumbs: { title: 'درخواست ها دوره های آموزشی' } }
+              {
+                name: 'Admin.Content.Ticket',
+                meta: {
+                  hasDynamicSetting: true
+                },
+                path: 'ticket',
+                component: () => import('src/pages/Admin/Classroom/Ticket.vue'),
+                breadcrumbs: { title: 'درخواست ها دوره های آموزشی' }
+              }
             ]
           },
           {