Ticket.vue 1.4 KB

1234567891011121314151617181920212223
  1. <template>
  2. <q-page-builder v-model:sections="currenSections"
  3. v-model:options="pageConfig"
  4. :editable="pageBuilderEditable"
  5. :loading="pageBuilderLoading" />
  6. </template>
  7. <script>
  8. import { mixinPageOptions } from 'src/mixin/Mixins.js'
  9. export default {
  10. name: 'AdminPanel.Package.List',
  11. mixins: [mixinPageOptions],
  12. data: () => {
  13. return {
  14. 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' } } }]
  15. }
  16. },
  17. created() {
  18. this.currenSections = this.sections
  19. }
  20. }
  21. </script>