bantenprov/dapodik-data-pegawai

Statistik rekapitulasi dapodik data pegawai tingkat provinsi

dev-master 2018-02-28 13:32 UTC

This package is not auto-updated.

Last update: 2024-05-26 02:45:47 UTC


README

Statistik rekapitulasi dapodik data pegawai tingkat provinsi

Join the chat at https://gitter.im/dapodik-data-pegawai/Lobby Scrutinizer Code Quality Build Status

install via composer

  • Development snapshot
$ composer require bantenprov/dapodik-data-pegawai:dev-master
  • Latest release:

download via github

$ git clone https://github.com/bantenprov/dapodik-data-pegawai.git

Edit config/app.php :

'providers' => [

    /*
    * Laravel Framework Service Providers...
    */
    Illuminate\Auth\AuthServiceProvider::class,
    Illuminate\Broadcasting\BroadcastServiceProvider::class,
    Illuminate\Bus\BusServiceProvider::class,
    Illuminate\Cache\CacheServiceProvider::class,
    Illuminate\Foundation\Providers\ConsoleSupportServiceProvider::class,
    Illuminate\Cookie\CookieServiceProvider::class,
    //....
    Bantenprov\DDPegawai\DDPegawaiServiceProvider::class,

Untuk publish component vue :

$ php artisan vendor:publish --tag=dd-pegawai-assets
$ php artisan vendor:publish --tag=dd-pegawai-public

Tambahkan route di dalam route : resources/assets/js/routes.js :

path: '/dashboard',
component: layout('Default'),
children: [
  {
    path: '/dashboard',
    components: {
      main: resolve => require(['./components/views/DashboardHome.vue'], resolve),
      navbar: resolve => require(['./components/Navbar.vue'], resolve),
      sidebar: resolve => require(['./components/Sidebar.vue'], resolve)
    },
    meta: {
      title: "Dashboard"
    }
  },
  //== ...
  {
    path: '/dashboard/dd-pegawai',
    components: {
        main: resolve => require(['./components/views/bantenprov/dd-pegawai/DashboardDDPegawai.vue'], resolve),
        navbar: resolve => require(['./components/Navbar.vue'], resolve),
        sidebar: resolve => require(['./components/Sidebar.vue'], resolve)
    },
    meta: {
        title: "DD Pegawai"
    }
	}
{
path: '/admin',
redirect: '/admin/dashboard',
component: resolve => require(['./AdminLayout.vue'], resolve),
children: [
//== ...
    {
			path: '/admin/dashboard/dd-pegawai',
			components: {
				main: resolve => require(['./components/bantenprov/dd-pegawai/DDPegawaiAdmin.view.vue'], resolve),
				navbar: resolve => require(['./components/Navbar.vue'], resolve),
				sidebar: resolve => require(['./components/Sidebar.vue'], resolve)
			},
			meta: {
				title: "DD Pegawai"
			}
		}
 //== ...   
  ]
},

Edit menu resources/assets/js/menu.js

{
  name: 'Dashboard',
  icon: 'fa fa-dashboard',
  childType: 'collapse',
  childItem: [
        {
          name: 'Dashboard',
          link: '/dashboard',
          icon: 'fa fa-angle-double-right'
        },
        {
          name: 'Entity',
          link: '/dashboard/entity',
          icon: 'fa fa-angle-double-right'
        },
        //== ...
        {
          name: 'Angka partisipasi kasar',
          link: '/dashboard/ap-kasar',
          icon: 'fa fa-angle-double-right'
        }
  ]
},
//== ...        
      {
        name: 'Dapodik Data Pegawai',
        link: '/dashboard/dd-pegawai',
        icon: 'fa fa-angle-double-right'
      },

Tambahkan components resources/assets/js/components.js :

//== DD pegawai

import DDPegawai from './components/bantenprov/dd-pegawai/DDPegawai.chart.vue';
Vue.component('echarts-dd-pegawai', DDPegawai);

import DDPegawaiKota from './components/bantenprov/dd-pegawai/DDPegawaiKota.chart.vue';
Vue.component('echarts-dd-pegawai-kota', DDPegawaiKota);

import DDPegawaiTahun from './components/bantenprov/dd-pegawai/DDPegawaiTahun.chart.vue';
Vue.component('echarts-dd-pegawai-tahun', DDPegawaiTahun);

import DDPegawaiAdminShow from './components/bantenprov/dd-pegawai/DDPegawaiAdmin.view.vue';
Vue.component('admin-view-dd-pegawai-tahun', DDPegawaiAdminShow);

//== Echarts DD Pegawai

import DDPegawaiBar01 from './components/views/bantenprov/dd-pegawai/DDPegawaiBar01.vue';
Vue.component('dd-pegawai-bar-01', DDPegawaiBar01);

import DDPegawaiBar02 from './components/views/bantenprov/dd-pegawai/DDPegawaiBar02.vue';
Vue.component('dd-pegawai-bar-02', DDPegawaiBar02);

//== mini bar charts
import DDPegawaiBar03 from './components/views/bantenprov/dd-pegawai/DDPegawaiBar03.vue';
Vue.component('dd-pegawai-bar-03', DDPegawaiBar03);

import DDPegawaiPie01 from './components/views/bantenprov/dd-pegawai/DDPegawaiPie01.vue';
Vue.component('dd-pegawai-pie-01', DDPegawaiPie01);

import DDPegawaiPie02 from './components/views/bantenprov/dd-pegawai/DDPegawaiPie02.vue';
Vue.component('dd-pegawai-pie-02', DDPegawaiPie02);

//== mini pie charts
import DDPegawaiPie03 from './components/views/bantenprov/dd-pegawai/DDPegawaiPie03.vue';
Vue.component('dd-pegawai-pie-03', DDPegawaiPie03);