mirror of
https://git.meshkee.com/cssd/cssd-back.git
synced 2026-10-11 23:01:07 +03:30
Merge branch 'master' of https://git.willaspace.com/external-projects/cssd-back
This commit is contained in:
@@ -115,6 +115,7 @@
|
||||
|
||||
public function edit( Item $Item )
|
||||
{
|
||||
$FilesPath = [];
|
||||
if ( count( $Item->files ) ) {
|
||||
foreach ( $Item->files as $Key => $file ) {
|
||||
$FilesPath[] = $file;
|
||||
|
||||
@@ -2,6 +2,21 @@
|
||||
|
||||
namespace App\Http\Controllers;
|
||||
|
||||
<<<<<<< HEAD
|
||||
use Illuminate\Http\Request;
|
||||
use Illuminate\Support\Facades\Auth;
|
||||
use App\Http\Requests\StoreTestResultRequest;
|
||||
use App\TestResult;
|
||||
use App\InputValue;
|
||||
use App\Input;
|
||||
use App\MedicalCenter;
|
||||
use App\TestType;
|
||||
use App\Gallery;
|
||||
use App\Uploadable;
|
||||
use App\Media;
|
||||
use Intervention\Image\ImageManagerStatic as Image;
|
||||
use Intervention\Image\ImageManager;
|
||||
=======
|
||||
use App\Http\Requests\StoreTestResultRequest;
|
||||
use App\Input;
|
||||
use App\InputValue;
|
||||
@@ -10,6 +25,7 @@
|
||||
use App\TestResult;
|
||||
use App\TestType;
|
||||
use Illuminate\Http\Request;
|
||||
>>>>>>> b389ea53068b2084084b9704400a50529ba035eb
|
||||
use Illuminate\Support\Facades\Storage;
|
||||
|
||||
class TestResultController extends Controller
|
||||
|
||||
Generated
+1075
-861
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,34 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
|
||||
class CreateOptionsTable extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
Schema::create('options', function (Blueprint $table) {
|
||||
$table->bigIncrements('id');
|
||||
$table->string('title');
|
||||
$table->unsignedBigInteger('input_id');
|
||||
$table->foreign('input_id')->references('id')->on('inputs');
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
Schema::dropIfExists('options');
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,50 @@
|
||||
<?php
|
||||
|
||||
use App\User;
|
||||
use Illuminate\Database\Seeder;
|
||||
use Spatie\Permission\Models\Permission;
|
||||
use Spatie\Permission\Models\Role;
|
||||
|
||||
class AccessSeeder extends Seeder
|
||||
{
|
||||
/**
|
||||
* Run the database seeds.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function run()
|
||||
{
|
||||
if ( $this->assignAllRoleToAdministrator() ) {
|
||||
dump( 'Success.' );
|
||||
} else {
|
||||
dump( 'Error: Please Check And Run Again.' );
|
||||
}
|
||||
}
|
||||
|
||||
private function assignAllRoleToAdministrator()
|
||||
{
|
||||
$roleModel = new Role();
|
||||
if ( $roleModel->where( 'name' , 'administrator' )->first() == null ) {
|
||||
Role::create( [
|
||||
'name' => 'administrator'
|
||||
] );
|
||||
}
|
||||
|
||||
// assign role to user id 1
|
||||
$user = User::find( 1 );
|
||||
$user->assignRole( 'administrator' );
|
||||
|
||||
// get all permission
|
||||
$permissions = [];
|
||||
foreach ( Permission::all() as $item ) {
|
||||
$permissions[ 'permissions' ][ $item ] = "1";
|
||||
}
|
||||
|
||||
// assign all permissions to role administrator
|
||||
foreach ($permissions['permissions'] as $permission) {
|
||||
$role = Role::where('id', 1)->first();
|
||||
$role->syncPermissions(array_keys($permission));
|
||||
}
|
||||
return true;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,61 @@
|
||||
<?php
|
||||
|
||||
use App\Models\User;
|
||||
use Illuminate\Database\Seeder;
|
||||
use Illuminate\Support\Facades\DB;
|
||||
use Illuminate\Support\Facades\Hash;
|
||||
use Modules\Permission\App\Helper\AccessMain;
|
||||
use Modules\Permission\App\Helper\PermissionMain;
|
||||
use Modules\Permission\App\Helper\RoleMain;
|
||||
use Spatie\Permission\Models\Role;
|
||||
|
||||
class PermissionSeeder extends Seeder
|
||||
{
|
||||
/**
|
||||
* Run the database seeds.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function run()
|
||||
{
|
||||
|
||||
// assign all permissions to role administrator
|
||||
$permissionMain = New AccessMain();
|
||||
if($permissionMain->assignAllRoleToAdministrator()){
|
||||
dump('Success: Created Role Administrator');
|
||||
|
||||
// create roles default - admin
|
||||
$roleMain = new RoleMain();
|
||||
if($roleMain->getItems()->where('name', 'admin')->first() == null){
|
||||
if(!$roleMain->storeToDB(['name' => 'admin'])){
|
||||
dump('Error: Can Not Create Role Admin');
|
||||
}else{
|
||||
dump('Success: Created Role Admin');
|
||||
}
|
||||
}
|
||||
|
||||
// create roles default - user
|
||||
$roleMain = new RoleMain();
|
||||
if($roleMain->getItems()->where('name','user')->first() == null){
|
||||
if(!$roleMain->storeToDB(['name' => 'user'])){
|
||||
dump('Error: Can Not Create Role User');
|
||||
}else{
|
||||
dump('Success: Created Role User');
|
||||
}
|
||||
}
|
||||
|
||||
// create roles default - caller
|
||||
$roleMain = new RoleMain();
|
||||
if($roleMain->getItems()->where('name','caller')->first() == null){
|
||||
if(!$roleMain->storeToDB(['name' => 'caller'])){
|
||||
dump('Error: Can Not Create Role Caller');
|
||||
}else{
|
||||
dump('Success: Created Role Caller');
|
||||
}
|
||||
}
|
||||
|
||||
}else{
|
||||
dump('Error: Please Check And Run Again.');
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,98 @@
|
||||
<?php
|
||||
|
||||
use App\User;
|
||||
use Faker\Factory;
|
||||
use Illuminate\Database\Seeder;
|
||||
use Illuminate\Support\Facades\Hash;
|
||||
use Ybazli\Faker\Facades\Faker;
|
||||
|
||||
class UserTableSeeder extends Seeder
|
||||
{
|
||||
/**
|
||||
* Run the database seeds.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function run()
|
||||
{
|
||||
if ( ! User::count() )
|
||||
return $this->registerData();
|
||||
}
|
||||
|
||||
public function registerData()
|
||||
{
|
||||
$faker = Factory::create();
|
||||
|
||||
$user = User::create( [
|
||||
'is_admin' => 1 ,
|
||||
'department_id' => 1 ,
|
||||
'first_name' => 'سیداحمد' ,
|
||||
'last_name' => 'موسوی' ,
|
||||
'name_en' => 'Seyyed Ahmad Mousavi' ,
|
||||
'tel' => '09214309687' ,
|
||||
'national_code' => '0371661773' ,
|
||||
'password' => Hash::make( '12345678' ) ,
|
||||
'birth_date' => '1998/05/22' ,
|
||||
'marriage_date' => '1998/05/22' ,
|
||||
] );
|
||||
if ( $permissions = Department::find( $user->department_id )->permissionsArray ) {
|
||||
foreach ( $permissions as $permission ) {
|
||||
UserPermission::create( [
|
||||
'user_id' => $user->id ,
|
||||
'permission_id' => $permission ,
|
||||
] );
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
UserPhone::create( [
|
||||
'user_id' => $user->id ,
|
||||
'type' => 1 ,
|
||||
'phone' => '09214309687' ,
|
||||
] );
|
||||
|
||||
$user = User::create( [
|
||||
'is_admin' => 1 ,
|
||||
'department_id' => 1 ,
|
||||
'first_name' => 'حسین' ,
|
||||
'last_name' => 'بایگان' ,
|
||||
'name_en' => 'Hossein Bayegan' ,
|
||||
'tel' => '09021950725' ,
|
||||
'national_code' => '0371661773' ,
|
||||
'password' => Hash::make( '12345678' ) ,
|
||||
'birth_date' => '1998/05/22' ,
|
||||
'marriage_date' => '1998/05/22' ,
|
||||
] );
|
||||
if ( $permissions = Department::find( $user->department_id )->permissionsArray ) {
|
||||
foreach ( $permissions as $permission ) {
|
||||
UserPermission::create( [
|
||||
'user_id' => $user->id ,
|
||||
'permission_id' => $permission ,
|
||||
] );
|
||||
};
|
||||
}
|
||||
|
||||
for ( $i = 0 ; $i < 15 ; $i++ ) {
|
||||
$tel = Faker::mobile();
|
||||
$user = User::create( [
|
||||
'is_admin' => 0 ,
|
||||
'department_id' => Department::where( 'id' , '!=' , 1 )->inRandomOrder()->first()->id ,
|
||||
'first_name' => Faker::firstName() ,
|
||||
'last_name' => Faker::lastName() ,
|
||||
'tel' => $tel ,
|
||||
'code' => random_int( 1000 , 9999 ) ,
|
||||
'national_code' => Faker::melliCode() ,
|
||||
'password' => Hash::make( '12345678' ) ,
|
||||
'birth_date' => $faker->date() ,
|
||||
'marriage_date' => $faker->date() ,
|
||||
] );
|
||||
UserPhone::create( [
|
||||
'user_id' => $user->id ,
|
||||
'type' => 1 ,
|
||||
'phone' => $tel ,
|
||||
] );
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
Generated
+7000
-4780
File diff suppressed because it is too large
Load Diff
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+1
-1
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1 +0,0 @@
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[14],{CRkL:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,"\n.WM-Border[data-v-762b1fbc] {\r\n border: 1px solid;\n}\n.WM-Border-Black[data-v-762b1fbc] {\r\n border-color: #2f353b !important;\n}\n.WM-Border-Gray[data-v-762b1fbc] {\r\n border-color: #aaa !important;\n}\n.WM-Color-LightGrey[data-v-762b1fbc] {\r\n background-color : #F5F5F5;\n}\n.WM-Relative[data-v-762b1fbc] {\r\n position: relative;\n}\n.v-btn--top.v-btn--absolute.v-btn--small[data-v-762b1fbc] {\r\n top: -25px !important;\n}\r\n",""])},E5QS:function(t,e,a){"use strict";a.r(e);var s={data:function(){return{ArrayDiv:[],select:{state:"Florida",abbr:"FL"},items:[{state:"Florida",abbr:"FL"},{state:"Georgia",abbr:"GA"},{state:"Nebraska",abbr:"NE"},{state:"California",abbr:"CA"},{state:"New York",abbr:"NY"}]}},methods:{Duplicator:function(){for(var t=document.getElementsByClassName("Form"),e=[],a=0;a<t.length;a++)e.push(t[a]);this.ArrayDiv.push(e)},Remove:function(){document.getElementById("RemoveFormBuilder").parentNode.remove()}}},l=(a("HIfo"),a("KHd+")),r=Object(l.a)(s,function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-container",{attrs:{fluid:""}},[a("material-card",{attrs:{color:"black",title:"Add a New Test"}},[a("v-layout",{staticClass:"ma-2",attrs:{wrap:""}},[a("v-flex",{attrs:{xs12:"",md3:"",sm3:""}},[a("v-text-field",{staticClass:"pa-2",attrs:{label:"Test Name",color:"black"}})],1),t._v(" "),a("v-flex",{attrs:{xs12:"",md3:"",sm3:""}},[a("v-text-field",{staticClass:"pa-2",attrs:{label:"Unique ID",color:"black"}})],1)],1),t._v(" "),a("v-layout",{staticClass:"pa-3 my-4 mx-3 WM-Border WM-Border-Black WM-Relative",attrs:{wrap:""}},[a("v-layout",{staticClass:"pa-3 my-4 mx-3 WM-Border WM-Border-Gray WM-Relative WM-Color-LightGrey",attrs:{wrap:""}},[a("v-flex",{attrs:{xs12:"",md3:"",sm3:""}},[a("v-text-field",{staticClass:"pa-2",attrs:{label:"Input Name",color:"black"}})],1),t._v(" "),a("v-flex",{attrs:{xs12:"",md2:"",sm2:""}},[a("v-select",{staticClass:"pa-2",attrs:{hint:t.select.state+", "+t.select.abbr,items:t.items,"item-text":"state","item-value":"abbr",label:"Type","return-object":"","single-line":"",color:"black"},model:{value:t.select,callback:function(e){t.select=e},expression:"select"}})],1),t._v(" "),a("v-flex",{attrs:{xs12:"",md2:"",sm2:""}},[a("v-select",{staticClass:"pa-2",attrs:{hint:t.select.state+", "+t.select.abbr,items:t.items,"item-text":"state","item-value":"abbr",label:"Size","return-object":"","single-line":"",color:"black"},model:{value:t.select,callback:function(e){t.select=e},expression:"select"}})],1),t._v(" "),a("v-flex",{attrs:{xs12:"",md5:"",sm5:""}},[a("v-text-field",{staticClass:"pa-2",attrs:{label:"Value",color:"black"}})],1)],1),t._v(" "),t._l(t.ArrayDiv,function(e,s){return a("v-layout",{key:s,staticClass:"pa-3 my-4 mx-3 WM-Border WM-Border-Gray WM-Relative WM-Color-LightGrey Form",attrs:{wrap:""}},[a("v-flex",{attrs:{xs12:"",md3:"",sm3:""}},[a("v-text-field",{staticClass:"pa-2",attrs:{label:"Input Name",color:"black"}})],1),t._v(" "),a("v-flex",{attrs:{xs12:"",md2:"",sm2:""}},[a("v-select",{staticClass:"pa-2",attrs:{hint:t.select.state+", "+t.select.abbr,items:t.items,"item-text":"state","item-value":"abbr",label:"Type","return-object":"","single-line":"",color:"black"},model:{value:t.select,callback:function(e){t.select=e},expression:"select"}})],1),t._v(" "),a("v-flex",{attrs:{xs12:"",md2:"",sm2:""}},[a("v-select",{staticClass:"pa-2",attrs:{hint:t.select.state+", "+t.select.abbr,items:t.items,"item-text":"state","item-value":"abbr",label:"Size","return-object":"","single-line":"",color:"black"},model:{value:t.select,callback:function(e){t.select=e},expression:"select"}})],1),t._v(" "),a("v-flex",{attrs:{xs12:"",md5:"",sm5:""}},[a("v-text-field",{staticClass:"pa-2",attrs:{label:"Value",color:"black"}})],1),t._v(" "),a("v-btn",{attrs:{absolute:"",small:"",right:"",top:"",color:"pink",id:"RemoveFormBuilder"},on:{click:function(e){return t.Remove()}}},[a("v-icon",{staticClass:"white--text mr-2 caption"},[t._v("fas fa-times")]),t._v("\n REMOVE")],1)],1)}),t._v(" "),a("v-btn",{attrs:{absolute:"",small:"",right:"",bottom:"",color:"cyan",id:"FormBuilder"},on:{click:t.Duplicator}},[a("v-icon",{staticClass:"white--text mr-2 caption"},[t._v("fas fa-plus")]),t._v("\n ADD")],1)],2),t._v(" "),a("div",{attrs:{id:"WM-FormBuilder"}}),t._v(" "),a("v-flex",{staticClass:"text-xs-center",attrs:{xs12:"",md12:"",sm12:""}},[a("v-btn",{staticClass:"WM-CyanBlueGradient-BG",staticStyle:{padding:"10px 60px"}},[a("v-icon",{staticClass:"white--text mr-2 caption"},[t._v("fas fa-plus")]),t._v(" "),a("span",{staticClass:"white--text"},[t._v("Add")])],1)],1)],1)],1)},[],!1,null,"762b1fbc",null);e.default=r.exports},HIfo:function(t,e,a){"use strict";var s=a("p41e");a.n(s).a},p41e:function(t,e,a){var s=a("CRkL");"string"==typeof s&&(s=[[t.i,s,""]]);var l={hmr:!0,transform:void 0,insertInto:void 0};a("aET+")(s,l);s.locals&&(t.exports=s.locals)}}]);
|
||||
File diff suppressed because one or more lines are too long
@@ -1 +0,0 @@
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[15],{IE83:function(t,n,i){var r=i("bSiq");"string"==typeof r&&(r=[[t.i,r,""]]);var a={hmr:!0,transform:void 0,insertInto:void 0};i("aET+")(r,a);r.locals&&(t.exports=r.locals)},bSiq:function(t,n,i){(t.exports=i("JPst")(!1)).push([t.i,"\n.mapouter {\r\n text-align:right;\r\n height:100%;\r\n width:100%;\r\n position: absolute;\n}\n.gmap_canvas {\r\n overflow:hidden;\r\n background:none!important;\r\n height:100%;\r\n width:100%;\n}\r\n",""])},iKGg:function(t,n,i){"use strict";var r=i("IE83");i.n(r).a},iVES:function(t,n,i){"use strict";i.r(n);i("iKGg");var r=i("KHd+"),a=Object(r.a)({},function(){this.$createElement;this._self._c;return this._m(0)},[function(){var t=this.$createElement,n=this._self._c||t;return n("div",[n("div",{staticClass:"mapouter"},[n("div",{staticClass:"gmap_canvas"},[n("iframe",{attrs:{id:"gmap_canvas",width:"100%",height:"100%",src:"https://maps.google.com/maps?q=google&t=&z=13&ie=UTF8&iwloc=&output=embed",frameborder:"0",scrolling:"no",marginheight:"0",marginwidth:"0"}})])])])}],!1,null,null,null);n.default=a.exports}}]);
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[16],{WwLU:function(t,n,i){(t.exports=i("JPst")(!1)).push([t.i,"\n.mapouter {\r\n text-align:right;\r\n height:100%;\r\n width:100%;\r\n position: absolute;\n}\n.gmap_canvas {\r\n overflow:hidden;\r\n background:none!important;\r\n height:100%;\r\n width:100%;\n}\r\n",""])},bRt8:function(t,n,i){"use strict";i("vt4W")},iVES:function(t,n,i){"use strict";i.r(n);i("bRt8");var r=i("KHd+"),o=Object(r.a)({},(function(){this._self._c;return this._m(0)}),[function(){var t=this._self._c;return t("div",[t("div",{staticClass:"mapouter"},[t("div",{staticClass:"gmap_canvas"},[t("iframe",{attrs:{id:"gmap_canvas",width:"100%",height:"100%",src:"https://maps.google.com/maps?q=google&t=&z=13&ie=UTF8&iwloc=&output=embed",frameborder:"0",scrolling:"no",marginheight:"0",marginwidth:"0"}})])])])}],!1,null,null,null);n.default=o.exports},vt4W:function(t,n,i){var r=i("WwLU");"string"==typeof r&&(r=[[t.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};i("aET+")(r,o);r.locals&&(t.exports=r.locals)}}]);
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1 +0,0 @@
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[28],{ks58:function(t,e,r){"use strict";r.r(e);var n=r("o0o1"),a=r.n(n),s=r("L2JU");r("Y8XJ"),r("85lN");function l(t,e,r,n,a,s,l){try{var o=t[s](l),c=o.value}catch(t){return void r(t)}o.done?e(c):Promise.resolve(c).then(n,a)}function o(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var c={data:function(){return{form:{cell_number:""},rules:{required:function(t){return!!t||"Required."},cellNumberCounter:function(t){return t&&11==t.length||"must 11 characters"}}}},methods:function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable}))),n.forEach(function(e){o(t,e,r[e])})}return t}({},Object(s.b)("auth",["forgotPassword"]),{handleSubmit:function(){var t,e=(t=a.a.mark(function t(){return a.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:this.$refs.form.validate()&&this.forgotPassword({form:this.form});case 1:case"end":return t.stop()}},t,this)}),function(){var e=this,r=arguments;return new Promise(function(n,a){var s=t.apply(e,r);function o(t){l(s,n,a,o,c,"next",t)}function c(t){l(s,n,a,o,c,"throw",t)}o(void 0)})});return function(){return e.apply(this,arguments)}}()})},i=r("KHd+"),u=Object(i.a)(c,function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("v-form",{ref:"form"},[r("v-container",{attrs:{"grid-list-xs":""}},[r("v-layout",{staticClass:"justify-center",attrs:{row:"",wrap:""}},[r("v-flex",{staticClass:"WM-WidthScreen-SM WM-WidthScreen-XS",attrs:{xs12:"",md3:"",sm3:""}},[r("material-card",{attrs:{color:"black",title:"Login Page"}},[r("v-layout",{staticClass:"px-3",attrs:{row:"",wrap:""}},[r("v-flex",{attrs:{xs12:"",md12:"",sm12:""}},[r("v-text-field",{attrs:{name:"cellnumber",label:"Cell Number",color:"black",rules:[t.rules.required,t.rules.cellNumberCounter],mask:"#### ### ####"},model:{value:t.form.cell_number,callback:function(e){t.$set(t.form,"cell_number",e)},expression:"form.cell_number"}})],1)],1),t._v(" "),r("v-layout",{staticClass:"px-3",attrs:{row:"",wrap:""}},[r("v-flex",{staticClass:"text-md-left text-sm-center text-xs-center",attrs:{xs12:"",md6:"",sm6:""}},[r("v-btn",{staticClass:"WM-CyanBlueGradient-BG",staticStyle:{padding:"10px 60px"},on:{click:t.handleSubmit}},[r("v-icon",{staticClass:"white--text mr-2 caption"},[t._v("fas fa-sign-in-alt")]),t._v(" "),r("span",{staticClass:"white--text"},[t._v("Send")])],1)],1),t._v(" "),r("v-flex",{staticClass:"text-md-right text-sm-center text-xs-center",attrs:{xs12:"",md6:"",sm6:""}},[r("router-link",{staticClass:"black--text",attrs:{to:{name:"Login"}}},[r("v-btn",{staticClass:"WM-NoShadow WM-Outline-Btn WM-Border WM-Border-Black"},[r("v-icon",{staticClass:"black--text mr-2 caption"},[t._v("fas fa-sign-in-alt")]),t._v(" "),r("span",{staticClass:"black--text"},[t._v("Login")])],1)],1)],1)],1)],1)],1)],1)],1)],1)},[],!1,null,null,null);e.default=u.exports}}]);
|
||||
File diff suppressed because one or more lines are too long
@@ -1 +0,0 @@
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[29],{"9Tbo":function(t,e,r){"use strict";r.r(e);var s=r("o0o1"),a=r.n(s),n=r("L2JU");function o(t,e,r,s,a,n,o){try{var l=t[n](o),i=l.value}catch(t){return void r(t)}l.done?e(i):Promise.resolve(i).then(s,a)}function l(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{},s=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(s=s.concat(Object.getOwnPropertySymbols(r).filter(function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable}))),s.forEach(function(e){i(t,e,r[e])})}return t}function i(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var c={data:function(){return{cell_number:"",password:"",show1:!1,rules:{required:function(t){return!!t||"Required."},passCounter:function(t){return t&&t.length>=8||"Min 8 characters"},cellNumberCounter:function(t){return t&&11==t.length||"must 11 characters"}}}},computed:l({},Object(n.c)("auth",["authenticating","authenticationError","authenticationErrorCode"])),methods:l({},Object(n.b)("auth",["login"]),{handleSubmit:function(){var t,e=(t=a.a.mark(function t(){var e;return a.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(!this.$refs.form.validate()){t.next=5;break}return t.next=3,this.login({cell_number:this.cell_number,password:this.password});case 3:(e=t.sent).status&&200===e.status||(this.password="");case 5:case"end":return t.stop()}},t,this)}),function(){var e=this,r=arguments;return new Promise(function(s,a){var n=t.apply(e,r);function l(t){o(n,s,a,l,i,"next",t)}function i(t){o(n,s,a,l,i,"throw",t)}l(void 0)})});return function(){return e.apply(this,arguments)}}()})},u=r("KHd+"),p=Object(u.a)(c,function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("v-form",{ref:"form"},[r("v-container",{attrs:{"grid-list-xs":""}},[r("v-layout",{staticClass:"justify-center",attrs:{row:"",wrap:""}},[r("v-flex",{staticClass:"WM-WidthScreen-SM WM-WidthScreen-XS",attrs:{xs12:"",md3:"",sm3:""}},[r("material-card",{attrs:{color:"black",title:"Login Page"}},[r("v-layout",{staticClass:"px-3",attrs:{row:"",wrap:""}},[r("v-flex",{attrs:{xs12:"",md12:"",sm12:""}},[r("v-text-field",{attrs:{name:"cellnumber",label:"Cell Number",color:"black",rules:[t.rules.required,t.rules.cellNumberCounter],mask:"#### ### ####"},model:{value:t.cell_number,callback:function(e){t.cell_number=e},expression:"cell_number"}})],1)],1),t._v(" "),r("v-layout",{staticClass:"px-3",attrs:{row:"",wrap:""}},[r("v-flex",{attrs:{xs12:"",md12:"",sm12:""}},[r("v-text-field",{staticClass:"pa-2",attrs:{name:"password",label:"Password",type:t.show1?"text":"password","append-icon":t.show1?"visibility":"visibility_off",rules:[t.rules.required,t.rules.passCounter],color:"black"},on:{"click:append":function(e){t.show1=!t.show1}},model:{value:t.password,callback:function(e){t.password=e},expression:"password"}})],1)],1),t._v(" "),r("v-layout",{staticClass:"px-3",attrs:{row:"",wrap:""}},[r("v-flex",{staticClass:"text-md-left text-sm-center text-xs-center",attrs:{xs12:"",md6:"",sm6:""}},[r("v-btn",{staticClass:"WM-CyanBlueGradient-BG",staticStyle:{padding:"10px 60px"},on:{click:t.handleSubmit}},[r("v-icon",{staticClass:"white--text mr-2 caption"},[t._v("fas fa-sign-in-alt")]),t._v(" "),r("span",{staticClass:"white--text"},[t._v("Login")])],1)],1)],1),t._v(" "),r("v-layout",{staticClass:"text-md-left text-sm-center text-xs-center",attrs:{row:"",wrap:""}},[r("v-flex",{staticClass:"px-4 py-3",attrs:{xs12:"",md6:"",sm6:""}},[r("router-link",{attrs:{to:{name:"ForgotPassword"}}},[r("span",{staticClass:"black--text",staticStyle:{"border-bottom":"1px solid #000"}},[t._v("Forgot Password ?")])])],1)],1)],1)],1)],1)],1)],1)},[],!1,null,"73e21ace",null);e.default=p.exports}}]);
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1 +0,0 @@
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[30],{NLmH:function(e,t,r){"use strict";r.r(t);var s=r("o0o1"),a=r.n(s),n=r("Y8XJ");function l(e,t,r,s,a,n,l){try{var o=e[n](l),i=o.value}catch(e){return void r(e)}o.done?t(i):Promise.resolve(i).then(s,a)}var o={data:function(){var e=Object.freeze({cell_number:"",password:"",name:"",gender:"",medical_center_id:this.$route.params.medicalCenter?this.$route.params.medicalCenter:""});return{form:Object.assign({},e),show1:!1,items:["Male","FeMale"],isLogin:n.c.getInfo(),rules:{required:function(e){return!!e||"Required."},nameCounter:function(e){return e&&e.length>=5||"Min 5 characters"},passCounter:function(e){return e&&e.length>=8||"Min 8 characters"},cellNumberCounter:function(e){return e&&11==e.length||"must 11 characters"},countryCode:function(e){return e&&4==e.length||"must 4 characters for example (0098)"}}}},methods:{register:function(){var e,t=(e=a.a.mark(function e(){var t;return a.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.$refs.form.validate()){e.next=5;break}return e.next=3,n.a.post("register",this.form);case 3:(t=e.sent)&&200==t.status&&this.$router.push({name:"OperatorList",params:{medicalCenter:this.form.medical_center_id}});case 5:case"end":return e.stop()}},e,this)}),function(){var t=this,r=arguments;return new Promise(function(s,a){var n=e.apply(t,r);function o(e){l(n,s,a,o,i,"next",e)}function i(e){l(n,s,a,o,i,"throw",e)}o(void 0)})});return function(){return t.apply(this,arguments)}}()}},i=r("KHd+"),c=Object(i.a)(o,function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("v-form",{ref:"form"},[r("v-container",{attrs:{"grid-list-xs":""}},[r("v-layout",{staticClass:"justify-center",attrs:{row:"",wrap:""}},[r("v-flex",{staticClass:"WM-WidthScreen-SM WM-WidthScreen-XS",attrs:{xs12:"",md3:"",sm6:""}},[r("material-card",{attrs:{color:"black",title:"Register Page"}},[r("v-layout",{attrs:{column:""}},[r("v-flex",{attrs:{xs12:"",md2:"",sm2:""}},[r("v-text-field",{staticClass:"pa-2",attrs:{name:"name",label:"Name",color:"black",rules:[e.rules.required,e.rules.nameCounter]},model:{value:e.form.name,callback:function(t){e.$set(e.form,"name",t)},expression:"form.name"}})],1),e._v(" "),r("v-flex",{attrs:{xs12:"",md2:"",sm2:""}},[r("v-select",{staticClass:"pa-2",attrs:{items:e.items,label:"Gender",name:"gender","single-line":"",color:"black",rules:[e.rules.required]},model:{value:e.form.gender,callback:function(t){e.$set(e.form,"gender",t)},expression:"form.gender"}})],1),e._v(" "),r("v-flex",{attrs:{xs2:"",md2:"",sm2:""}},[r("v-text-field",{attrs:{name:"country_code",label:"Country Code",color:"black",rules:[e.rules.required,e.rules.countryCode],mask:"####"},model:{value:e.form.country_code,callback:function(t){e.$set(e.form,"country_code",t)},expression:"form.country_code"}})],1),e._v(" "),r("v-flex",{attrs:{xs10:"",md10:"",sm10:""}},[r("v-text-field",{attrs:{name:"cellnumber",label:"Cell Number",color:"black",rules:[e.rules.required,e.rules.cellNumberCounter],mask:"#### ### ####"},model:{value:e.form.cell_number,callback:function(t){e.$set(e.form,"cell_number",t)},expression:"form.cell_number"}})],1),e._v(" "),r("v-flex",{attrs:{xs12:"",md2:"",sm2:""}},[r("v-text-field",{staticClass:"pa-2",attrs:{name:"password",label:"Password",type:e.show1?"text":"password","append-icon":e.show1?"visibility":"visibility_off",color:"black",rules:[e.rules.required,e.rules.passCounter]},on:{"click:append":function(t){e.show1=!e.show1}},model:{value:e.form.password,callback:function(t){e.$set(e.form,"password",t)},expression:"form.password"}})],1)],1),e._v(" "),r("v-layout",{attrs:{row:"",wrap:""}},[r("v-flex",{staticClass:"text-md-left text-sm-center text-xs-center",attrs:{xs12:"",md6:"",sm6:""}},[r("v-btn",{staticClass:"WM-CyanBlueGradient-BG",staticStyle:{padding:"10px 60px"},on:{click:e.register}},[r("v-icon",{staticClass:"white--text mr-2 caption"},[e._v("fas fa-plus")]),e._v(" "),r("span",{staticClass:"white--text"},[e._v("Register")])],1)],1),e._v(" "),e.isLogin?e._e():r("v-flex",{staticClass:"text-md-right text-sm-center text-xs-center",attrs:{xs12:"",md6:"",sm6:""}},[r("router-link",{attrs:{to:"/login"}},[r("v-btn",{staticClass:"WM-NoShadow WM-Outline-Btn WM-Border WM-Border-Black"},[r("v-icon",{staticClass:"black--text mr-2 caption"},[e._v("fas fa-sign-in-alt")]),e._v(" "),r("span",{staticClass:"black--text"},[e._v("Login")])],1)],1)],1)],1)],1)],1)],1)],1)],1)},[],!1,null,null,null);t.default=c.exports}}]);
|
||||
@@ -1 +0,0 @@
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[31],{GLrF:function(t,e,a){"use strict";a.r(e);var r={data:function(){return{AdminCards:[{title:"Manage Users",text:"You can Manage the users information",icon:"/img/Static/Dashboard/manageusers.png",color:"WM-LightGreenGradient-BG",route:{name:"ManageUsers"},aligntext:"text-md-center",alignimg:"text-md-left",column:"xs12 md12 sm12",role:"Admin|Supervisor"},{title:"Manage Medical Center",text:"You can edit the medical center information",icon:"/img/Static/Dashboard/settings.png",color:"WM-MuskGradient-BG",route:{name:"ManageMedicalCenter"},aligntext:"text-md-left",alignimg:"text-md-right",column:"xs12 md7 sm7",role:"Admin"},{title:"List Test Type",text:"You can simply add your test type",icon:"/img/Static/Dashboard/result.png",color:"WM-GreyGradient-BG",route:{name:"ListTestType"},aligntext:"text-md-left",alignimg:"text-md-right",column:"xs12 md5 sm5",role:"Admin"}],SupervisorCards:[{title:"Manage Users",text:"You can Manage the users information",icon:"/img/Static/Dashboard/manageusers.png",color:"WM-LightGreenGradient-BG",route:{name:"ManageUsers"},aligntext:"text-md-center",alignimg:"text-md-left",column:"xs12 md12 sm12",role:"Admin|Supervisor"},{title:"Test to Verify",text:"You can simply verify your own medical center test result in this section of website",icon:"/img/Static/Dashboard/verify.png",color:"WM-PinkGradient-BG",route:{name:"NotVerifyTestResult"},aligntext:"text-md-center",alignimg:"text-md-left",column:"xs12 md12 sm12",role:"Admin|Supervisor"}],UsersCards:[{title:"My Info",text:"You can easily edit your registration information",icon:"/img/Static/Dashboard/info.png",color:"WM-OrangeGradient-BG",route:{name:"MyInfo"},aligntext:"text-md-left",alignimg:"text-md-right",column:"xs12 md6 sm6"},{title:"All Test Result",text:"You can see all user tests and own tests",icon:"/img/Static/Dashboard/alltest.png",color:"WM-GreenGradient-BG",route:{name:"AllResultTest"},aligntext:"text-md-left",alignimg:"text-md-right",column:"xs12 md6 sm6"},{title:"Add a Test Result",text:"You can add the test result",icon:"/img/Static/Dashboard/addtest.png",color:"WM-YellowGradient-BG",route:{name:"SubmitTestResult"},aligntext:"text-md-center",alignimg:"text-md-left",column:"xs12 md12 sm12"}]}}},i=a("KHd+"),n=Object(i.a)(r,function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-container",{attrs:{fluid:""}},[t.$hasRole("Admin")?a("material-card",{attrs:{color:"black",title:"Admin",text:""}},[a("v-layout",{attrs:{row:"",wrap:""}},[t._l(t.AdminCards,function(e,r){return[!e.role||t.$hasRole(e.role)?a("v-flex",{key:r,class:[e.column,"pa-2"]},[a("router-link",{attrs:{to:e.route}},[a("material-cards",{attrs:{title:e.title,icon:e.icon,color:e.color,text:e.text,aligntext:e.aligntext,alignimg:e.alignimg}})],1)],1):t._e()]})],2)],1):t._e(),t._v(" "),t.$hasRole("Supervisor|Admin")?a("material-card",{attrs:{color:"black",title:"Supervisor",text:""}},[a("v-layout",{attrs:{row:"",wrap:""}},[t._l(t.SupervisorCards,function(e,r){return[!e.role||t.$hasRole(e.role)?a("v-flex",{key:r,class:[e.column,"pa-2"]},[a("router-link",{attrs:{to:e.route}},[a("material-cards",{attrs:{title:e.title,icon:e.icon,color:e.color,text:e.text,aligntext:e.aligntext,alignimg:e.alignimg}})],1)],1):t._e()]})],2)],1):t._e(),t._v(" "),a("material-card",{attrs:{color:"black",title:"User",text:""}},[a("v-layout",{attrs:{row:"",wrap:""}},[t._l(t.UsersCards,function(e,r){return[!e.role||t.$hasRole(e.role)?a("v-flex",{key:r,class:[e.column,"pa-2"]},[a("router-link",{attrs:{to:e.route}},[a("material-cards",{attrs:{title:e.title,icon:e.icon,color:e.color,text:e.text,aligntext:e.aligntext,alignimg:e.alignimg}})],1)],1):t._e()]})],2)],1)],1)},[],!1,null,null,null);e.default=n.exports}}]);
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1 +0,0 @@
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[33],{fZTb:function(t,a,e){"use strict";e.r(a);var s=e("o0o1"),r=e.n(s),n=e("Y8XJ"),i=e("85lN");e("L2JU");function c(t,a,e,s,r,n,i){try{var c=t[n](i),o=c.value}catch(t){return void e(t)}c.done?a(o):Promise.resolve(o).then(s,r)}function o(t){return function(){var a=this,e=arguments;return new Promise(function(s,r){var n=t.apply(a,e);function i(t){c(n,s,r,i,o,"next",t)}function o(t){c(n,s,r,i,o,"throw",t)}i(void 0)})}}var l={data:function(){return{formData:{name:"",unique_id:"",result:"",note:""},result:["Pass","Fail"],rules:{required:function(t){return!!t||"Required."},counter:function(t){return!t||0==t.length||t.length>=5||"Min 5 characters"}}}},created:function(){this.$route.params.Item&&this.load(this.$route.params.Item)},methods:{load:function(){var t=o(r.a.mark(function t(a){var e;return r.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,n.a.get(i.a.editItem(a));case 2:200==(e=t.sent).status&&(this.formData=e.data.data);case 4:case"end":return t.stop()}},t,this)}));return function(a){return t.apply(this,arguments)}}(),submitForm:function(){var t=o(r.a.mark(function t(){var a;return r.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(!this.$route.params.Item){t.next=6;break}return t.next=3,n.a.put(i.a.updateItem(this.$route.params.Item),this.formData);case 3:a=t.sent,t.next=9;break;case 6:return t.next=8,n.a.post(i.a.storeItem,this.formData);case 8:a=t.sent;case 9:a&&200==a.status&&this.$router.push({name:"AllItem"});case 10:case"end":return t.stop()}},t,this)}));return function(){return t.apply(this,arguments)}}()}},u=e("KHd+"),f=Object(u.a)(l,function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("v-form",{ref:"form"},[e("v-container",{attrs:{"grid-list-xs":"",fluid:""}},[e("material-card",{attrs:{color:"black",title:"Add Instrument"}},[e("v-layout",{staticClass:"px-5 my-3",attrs:{"align-center":"","justify-center":"",wrap:""}},[e("v-flex",{staticClass:"WM-FlexCenter",attrs:{xs12:"",md4:"",sm4:""}},[e("v-icon",{staticClass:"fa fa-align-left mr-2 WM-Margin-B-8"}),t._v(" "),e("v-text-field",{staticClass:"py-3 pr-3",attrs:{name:"name",label:"Name",color:"black",rules:[t.rules.required]},model:{value:t.formData.name,callback:function(a){t.$set(t.formData,"name",a)},expression:"formData.name"}})],1),t._v(" "),e("v-flex",{staticClass:"WM-FlexCenter pl-3",attrs:{xs12:"",md4:"",sm4:""}},[e("v-icon",{staticClass:"fas fa-check mr-2 WM-Margin-B-8"}),t._v(" "),e("v-text-field",{staticClass:"py-3 pr-3",attrs:{name:"size",label:"Size",color:"black"},model:{value:t.formData.size,callback:function(a){t.$set(t.formData,"size",a)},expression:"formData.size"}})],1),t._v(" "),e("v-flex",{staticClass:"WM-FlexCenter pl-3",attrs:{xs12:"",md4:"",sm4:""}},[e("v-icon",{staticClass:"fas fa-check mr-2 WM-Margin-B-8"}),t._v(" "),e("v-text-field",{staticClass:"py-3 pr-3",attrs:{name:"specific",label:"Specific",color:"black"},model:{value:t.formData.specific,callback:function(a){t.$set(t.formData,"specific",a)},expression:"formData.specific"}})],1)],1),t._v(" "),e("v-layout",{staticClass:"px-5 mb-3",attrs:{"align-center":"","justify-center":"",wrap:""}},[e("v-flex",{attrs:{xs12:"",sm12:"",md12:""}},[e("v-textarea",{staticClass:"pa-2",attrs:{color:"black",name:"address"},scopedSlots:t._u([{key:"label",fn:function(){return[e("div",[t._v("description")])]},proxy:!0}]),model:{value:t.formData.note,callback:function(a){t.$set(t.formData,"note",a)},expression:"formData.note"}})],1)],1),t._v(" "),e("v-layout",{attrs:{row:"",wrap:"","justify-center":"","align-center":""}},[e("v-flex",{staticClass:"text-md-center text-xs-center",attrs:{xs12:"",md2:"",sm2:""}},[e("v-btn",{staticClass:"WM-CyanBlueGradient-BG",staticStyle:{padding:"10px 60px"},on:{click:function(a){return t.submitForm()}}},[e("v-icon",{staticClass:"white--text mr-2 caption"},[t._v("fas fa-check")]),t._v(" "),e("span",{staticClass:"white--text"},[t._v("SAVE")])],1)],1),t._v(" "),e("v-flex",{staticClass:"text-md-center text-sm-center text-xs-center",attrs:{xs12:"",md2:"",sm2:""}},[e("router-link",{attrs:{to:{name:"AllItem"}}},[e("v-btn",{staticClass:"WM-NoShadow WM-Outline-Btn WM-Border WM-Border-Black"},[e("v-icon",{staticClass:"black--text"},[t._v("keyboard_arrow_left")]),t._v(" "),e("span",{staticClass:"black--text"},[t._v("Back")])],1)],1)],1)],1)],1)],1)],1)},[],!1,null,null,null);a.default=f.exports}}]);
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1 +0,0 @@
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[34],{M2Tz:function(e,t,a){"use strict";a.r(t);var r=a("o0o1"),n=a.n(r),s=a("Y8XJ"),i=a("85lN");function c(e,t,a,r,n,s,i){try{var c=e[s](i),l=c.value}catch(e){return void a(e)}c.done?t(l):Promise.resolve(l).then(r,n)}function l(e){return function(){var t=this,a=arguments;return new Promise(function(r,n){var s=e.apply(t,a);function i(e){c(s,r,n,i,l,"next",e)}function l(e){c(s,r,n,i,l,"throw",e)}i(void 0)})}}var o={data:function(){return{medicalCenter:{name:"",address:"",city_id:"",phone_number:""},rules:{required:function(e){return!!e||"Required."},counter:function(e){return e.length<=30||"Max 30 characters"}},cities:[]}},created:function(){this.$route.params.medicalCenter&&this.load(this.$route.params.medicalCenter),this.loadCities()},methods:{load:function(){var e=l(n.a.mark(function e(t){var a;return n.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,s.a.get(i.a.editMedicalCenter(t));case 2:(a=e.sent)&&200==a.status&&(this.medicalCenter=a.data.data);case 4:case"end":return e.stop()}},e,this)}));return function(t){return e.apply(this,arguments)}}(),loadCities:function(){var e=l(n.a.mark(function e(){var t;return n.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,s.a.get(i.a.allCities);case 2:200==(t=e.sent).status&&(this.cities=t.data.data);case 4:case"end":return e.stop()}},e,this)}));return function(){return e.apply(this,arguments)}}(),AddMedicalCenter:function(){var e=l(n.a.mark(function e(){var t;return n.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.$refs.form.validate()){e.next=11;break}if(!this.$route.params.medicalCenter){e.next=7;break}return e.next=4,s.a.put(i.a.updateMedicalCenter(this.$route.params.medicalCenter),this.medicalCenter);case 4:t=e.sent,e.next=10;break;case 7:return e.next=9,s.a.post(i.a.storeMedicalCenter,this.medicalCenter);case 9:t=e.sent;case 10:t&&200==t.status&&this.$router.push({name:"ManageMedicalCenter"});case 11:case"end":return e.stop()}},e,this)}));return function(){return e.apply(this,arguments)}}()}},d=a("KHd+"),u=Object(d.a)(o,function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("v-form",{ref:"form"},[a("v-container",{attrs:{"grid-list-xs":""}},[a("material-card",{attrs:{color:"black",title:"Add Medical Center",text:""}},[a("v-layout",{staticClass:"px-5 mb-3",attrs:{row:"",wrap:""}},[a("v-flex",{attrs:{xs12:"",md3:"",xs3:""}},[a("v-text-field",{staticClass:"pa-2",attrs:{label:"Name",color:"black",rules:[e.rules.required,e.rules.counter]},model:{value:e.medicalCenter.name,callback:function(t){e.$set(e.medicalCenter,"name",t)},expression:"medicalCenter.name"}})],1),e._v(" "),a("v-flex",{attrs:{xs12:"",md3:"",xs3:""}},[a("v-select",{attrs:{items:e.cities,"item-text":"name_en","item-value":"id",label:"Select City"},model:{value:e.medicalCenter.city_id,callback:function(t){e.$set(e.medicalCenter,"city_id",t)},expression:"medicalCenter.city_id"}})],1),e._v(" "),a("v-flex",{attrs:{xs12:"",md3:"",xs3:""}},[a("v-text-field",{staticClass:"pa-2",attrs:{label:"Address",color:"black",rules:[e.rules.required]},model:{value:e.medicalCenter.address,callback:function(t){e.$set(e.medicalCenter,"address",t)},expression:"medicalCenter.address"}})],1),e._v(" "),a("v-flex",{attrs:{xs12:"",md3:"",xs3:""}},[a("v-text-field",{staticClass:"pa-2",attrs:{label:"Phone Number",color:"black",rules:[e.rules.required]},model:{value:e.medicalCenter.phone_number,callback:function(t){e.$set(e.medicalCenter,"phone_number",t)},expression:"medicalCenter.phone_number"}})],1)],1),e._v(" "),a("v-layout",{staticClass:"mt-3",attrs:{row:"",wrap:"","align-center":"","justify-center":""}},[a("v-btn",{staticClass:"WM-CyanBlueGradient-BG",staticStyle:{padding:"10px 60px"},on:{click:e.AddMedicalCenter}},[e.$route.params.medicalCenter?[a("v-icon",{staticClass:"white--text mr-2 caption"},[e._v("fas fa-edit")]),e._v(" "),a("span",{staticClass:"white--text"},[e._v("Edit")])]:[a("v-icon",{staticClass:"white--text mr-2 caption"},[e._v("fas fa-plus")]),e._v(" "),a("span",{staticClass:"white--text"},[e._v("Add")])]],2),e._v(" "),a("router-link",{attrs:{to:{name:"ManageMedicalCenter"}}},[a("v-btn",{staticClass:"WM-NoShadow WM-Outline-Btn WM-Border WM-Border-Black ml-5"},[a("v-icon",{staticClass:"black--text mr-2 caption"},[e._v("fas fa-chevron-left")]),e._v(" "),a("span",{staticClass:"black--text"},[e._v("Back")])],1)],1)],1)],1)],1)],1)},[],!1,null,"7ac1a5ba",null);t.default=u.exports}}]);
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Vendored
+1
-1
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1 +0,0 @@
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[38],{CWmP:function(t,e,a){"use strict";a.r(e);var r={data:function(){return{headers:[{sortable:!1,text:"Name",value:"name"},{sortable:!1,text:"Country",value:"country"},{sortable:!1,text:"City",value:"city"},{sortable:!1,text:"Salary",value:"salary",align:"right"}],items:[{name:"Dakota Rice",country:"Niger",city:"Oud-Tunrhout",salary:"$35,738"},{name:"Minerva Hooper",country:"Curaçao",city:"Sinaai-Waas",salary:"$23,738"},{name:"Sage Rodriguez",country:"Netherlands",city:"Overland Park",salary:"$56,142"},{name:"Philip Chanley",country:"Korea, South",city:"Gloucester",salary:"$38,735"},{name:"Doris Greene",country:"Malawi",city:"Feldkirchen in Kārnten",salary:"$63,542"},{name:"Mason Porter",country:"Chile",city:"Gloucester",salary:"$78,615"}]}}},s=a("KHd+"),n=Object(s.a)(r,function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-container",{attrs:{"fill-height":"",fluid:"","grid-list-xl":""}},[a("v-layout",{attrs:{"justify-center":"",wrap:""}},[a("v-flex",{attrs:{md12:""}},[a("material-card",{attrs:{color:"green",title:"Simple Table",text:"Here is a subtitle for this table"}},[a("v-data-table",{attrs:{headers:t.headers,items:t.items,"hide-actions":""},scopedSlots:t._u([{key:"headerCell",fn:function(e){var r=e.header;return[a("span",{staticClass:"subheading font-weight-light text-success text--darken-3",domProps:{textContent:t._s(r.text)}})]}},{key:"items",fn:function(e){var r=e.item;return[a("td",[t._v(t._s(r.name))]),t._v(" "),a("td",[t._v(t._s(r.country))]),t._v(" "),a("td",[t._v(t._s(r.city))]),t._v(" "),a("td",{staticClass:"text-xs-right"},[t._v(t._s(r.salary))])]}}])})],1)],1),t._v(" "),a("v-flex",{attrs:{md12:""}},[a("material-card",{attrs:{color:"green",flat:"","full-width":"",title:"Table on Plain Background",text:"Here is a subtitle for this table"}},[a("v-data-table",{attrs:{headers:t.headers,items:t.items.slice(0,7),"hide-actions":""},scopedSlots:t._u([{key:"headerCell",fn:function(e){var r=e.header;return[a("span",{staticClass:"subheading font-weight-light text--darken-3",domProps:{textContent:t._s(r.text)}})]}},{key:"items",fn:function(e){var r=e.item;return[a("td",[t._v(t._s(r.name))]),t._v(" "),a("td",[t._v(t._s(r.country))]),t._v(" "),a("td",[t._v(t._s(r.city))]),t._v(" "),a("td",{staticClass:"text-xs-right"},[t._v(t._s(r.salary))])]}}])})],1)],1)],1)],1)},[],!1,null,null,null);e.default=n.exports}}]);
|
||||
@@ -0,0 +1 @@
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[38],{CWmP:function(t,e,a){"use strict";a.r(e);var r={data:function(){return{headers:[{sortable:!1,text:"Name",value:"name"},{sortable:!1,text:"Country",value:"country"},{sortable:!1,text:"City",value:"city"},{sortable:!1,text:"Salary",value:"salary",align:"right"}],items:[{name:"Dakota Rice",country:"Niger",city:"Oud-Tunrhout",salary:"$35,738"},{name:"Minerva Hooper",country:"Curaçao",city:"Sinaai-Waas",salary:"$23,738"},{name:"Sage Rodriguez",country:"Netherlands",city:"Overland Park",salary:"$56,142"},{name:"Philip Chanley",country:"Korea, South",city:"Gloucester",salary:"$38,735"},{name:"Doris Greene",country:"Malawi",city:"Feldkirchen in Kārnten",salary:"$63,542"},{name:"Mason Porter",country:"Chile",city:"Gloucester",salary:"$78,615"}]}}},s=a("KHd+"),n=Object(s.a)(r,(function(){var t=this,e=t._self._c;return e("v-container",{attrs:{"fill-height":"",fluid:"","grid-list-xl":""}},[e("v-layout",{attrs:{"justify-center":"",wrap:""}},[e("v-flex",{attrs:{md12:""}},[e("material-card",{attrs:{color:"green",title:"Simple Table",text:"Here is a subtitle for this table"}},[e("v-data-table",{attrs:{headers:t.headers,items:t.items,"hide-actions":""},scopedSlots:t._u([{key:"headerCell",fn:function(a){var r=a.header;return[e("span",{staticClass:"subheading font-weight-light text-success text--darken-3",domProps:{textContent:t._s(r.text)}})]}},{key:"items",fn:function(a){var r=a.item;return[e("td",[t._v(t._s(r.name))]),t._v(" "),e("td",[t._v(t._s(r.country))]),t._v(" "),e("td",[t._v(t._s(r.city))]),t._v(" "),e("td",{staticClass:"text-xs-right"},[t._v(t._s(r.salary))])]}}])})],1)],1),t._v(" "),e("v-flex",{attrs:{md12:""}},[e("material-card",{attrs:{color:"green",flat:"","full-width":"",title:"Table on Plain Background",text:"Here is a subtitle for this table"}},[e("v-data-table",{attrs:{headers:t.headers,items:t.items.slice(0,7),"hide-actions":""},scopedSlots:t._u([{key:"headerCell",fn:function(a){var r=a.header;return[e("span",{staticClass:"subheading font-weight-light text--darken-3",domProps:{textContent:t._s(r.text)}})]}},{key:"items",fn:function(a){var r=a.item;return[e("td",[t._v(t._s(r.name))]),t._v(" "),e("td",[t._v(t._s(r.country))]),t._v(" "),e("td",[t._v(t._s(r.city))]),t._v(" "),e("td",{staticClass:"text-xs-right"},[t._v(t._s(r.salary))])]}}])})],1)],1)],1)],1)}),[],!1,null,null,null);e.default=n.exports}}]);
|
||||
@@ -1 +0,0 @@
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[39],{A1i3:function(t,e,s){"use strict";s.r(e);var a=s("KHd+"),i=Object(a.a)({},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("v-container",[s("v-layout",{attrs:{"justify-center":""}},[s("v-flex",{attrs:{xs12:"",sm10:"",md8:""}},[s("material-card",{attrs:{color:"primary",title:"Vue Material Dashboard PRO",text:"Are you looking for more components? Please check our Premium Version of Vue Material Dashboard."}},[s("table",{staticClass:"v-table"},[s("thead",[s("tr",[s("th"),t._v(" "),s("th",{staticClass:"subheading font-weight-light"},[t._v("Free")]),t._v(" "),s("th",{staticClass:"subheading font-weight-light"},[t._v("PRO")])])]),t._v(" "),s("tbody",{staticClass:"text-xs-center"},[s("tr",[s("th",{staticClass:"text-xs-left font-weight-light subheading"},[t._v("Components")]),t._v(" "),s("td",[t._v("60")]),t._v(" "),s("td",[t._v("200")])]),t._v(" "),s("tr",[s("th",{staticClass:"text-xs-left font-weight-light subheading"},[t._v("Plugins")]),t._v(" "),s("td",[t._v("2")]),t._v(" "),s("td",[t._v("15")])]),t._v(" "),s("tr",[s("th",{staticClass:"text-xs-left font-weight-light subheading"},[t._v("Example Pages")]),t._v(" "),s("td",[t._v("3")]),t._v(" "),s("td",[t._v("27")])]),t._v(" "),s("tr",[s("th",{staticClass:"text-xs-left font-weight-light subheading"},[t._v("Login, Register, Pricing, Lock Pages")]),t._v(" "),s("td",[s("v-icon",{attrs:{color:"error"}},[t._v("mdi-close")])],1),t._v(" "),s("td",[s("v-icon",{attrs:{color:"success"}},[t._v("mdi-check")])],1)]),t._v(" "),s("tr",[s("th",{staticClass:"text-xs-left font-weight-light subheading"},[t._v("Premium Support")]),t._v(" "),s("td",[s("v-icon",{attrs:{color:"error"}},[t._v("mdi-close")])],1),t._v(" "),s("td",[s("v-icon",{attrs:{color:"success"}},[t._v("mdi-check")])],1)]),t._v(" "),s("tr",[s("th"),t._v(" "),s("td",[t._v("Free")]),t._v(" "),s("td",[t._v("Just $59")])]),t._v(" "),s("tr",[s("th"),t._v(" "),s("td",[s("v-btn",{staticClass:"subheading white--text font-weight-light",attrs:{round:"",large:"",color:"grey",disabled:""}},[t._v("Current Version")])],1),t._v(" "),s("td",[s("v-btn",{staticClass:"subheading white--text font-weight-light",attrs:{round:"",large:"",color:"cyan"}},[t._v("Upgrade to Pro")])],1)])])])])],1)],1)],1)},[],!1,null,null,null);e.default=i.exports}}]);
|
||||
@@ -0,0 +1 @@
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[39],{A1i3:function(t,e,s){"use strict";s.r(e);var i=s("KHd+"),a=Object(i.a)({},(function(){var t=this,e=t._self._c;return e("v-container",[e("v-layout",{attrs:{"justify-center":""}},[e("v-flex",{attrs:{xs12:"",sm10:"",md8:""}},[e("material-card",{attrs:{color:"primary",title:"Vue Material Dashboard PRO",text:"Are you looking for more components? Please check our Premium Version of Vue Material Dashboard."}},[e("table",{staticClass:"v-table"},[e("thead",[e("tr",[e("th"),t._v(" "),e("th",{staticClass:"subheading font-weight-light"},[t._v("Free")]),t._v(" "),e("th",{staticClass:"subheading font-weight-light"},[t._v("PRO")])])]),t._v(" "),e("tbody",{staticClass:"text-xs-center"},[e("tr",[e("th",{staticClass:"text-xs-left font-weight-light subheading"},[t._v("Components")]),t._v(" "),e("td",[t._v("60")]),t._v(" "),e("td",[t._v("200")])]),t._v(" "),e("tr",[e("th",{staticClass:"text-xs-left font-weight-light subheading"},[t._v("Plugins")]),t._v(" "),e("td",[t._v("2")]),t._v(" "),e("td",[t._v("15")])]),t._v(" "),e("tr",[e("th",{staticClass:"text-xs-left font-weight-light subheading"},[t._v("Example Pages")]),t._v(" "),e("td",[t._v("3")]),t._v(" "),e("td",[t._v("27")])]),t._v(" "),e("tr",[e("th",{staticClass:"text-xs-left font-weight-light subheading"},[t._v("Login, Register, Pricing, Lock Pages")]),t._v(" "),e("td",[e("v-icon",{attrs:{color:"error"}},[t._v("mdi-close")])],1),t._v(" "),e("td",[e("v-icon",{attrs:{color:"success"}},[t._v("mdi-check")])],1)]),t._v(" "),e("tr",[e("th",{staticClass:"text-xs-left font-weight-light subheading"},[t._v("Premium Support")]),t._v(" "),e("td",[e("v-icon",{attrs:{color:"error"}},[t._v("mdi-close")])],1),t._v(" "),e("td",[e("v-icon",{attrs:{color:"success"}},[t._v("mdi-check")])],1)]),t._v(" "),e("tr",[e("th"),t._v(" "),e("td",[t._v("Free")]),t._v(" "),e("td",[t._v("Just $59")])]),t._v(" "),e("tr",[e("th"),t._v(" "),e("td",[e("v-btn",{staticClass:"subheading white--text font-weight-light",attrs:{round:"",large:"",color:"grey",disabled:""}},[t._v("Current Version")])],1),t._v(" "),e("td",[e("v-btn",{staticClass:"subheading white--text font-weight-light",attrs:{round:"",large:"",color:"cyan"}},[t._v("Upgrade to Pro")])],1)])])])])],1)],1)],1)}),[],!1,null,null,null);e.default=a.exports}}]);
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[40],{sRz2:function(t,s,e){"use strict";e.r(s);var a={},l=e("KHd+"),r=Object(l.a)(a,(function(){var t=this,s=t._self._c;return s("v-container",{attrs:{"fill-height":"",fluid:"","grid-list-xl":""}},[s("v-layout",{attrs:{"justify-center":"",wrap:""}},[s("v-flex",{attrs:{xs12:"",md8:""}},[s("material-card",{attrs:{color:"green",title:"Edit Profile",text:"Complete your profile"}},[s("v-form",[s("v-container",{attrs:{"py-0":""}},[s("v-layout",{attrs:{wrap:""}},[s("v-flex",{attrs:{xs12:"",md4:""}},[s("v-text-field",{attrs:{label:"Company (disabled)",disabled:""}})],1),t._v(" "),s("v-flex",{attrs:{xs12:"",md4:""}},[s("v-text-field",{staticClass:"purple-input",attrs:{label:"User Name"}})],1),t._v(" "),s("v-flex",{attrs:{xs12:"",md4:""}},[s("v-text-field",{staticClass:"purple-input",attrs:{label:"Email Address"}})],1),t._v(" "),s("v-flex",{attrs:{xs12:"",md6:""}},[s("v-text-field",{staticClass:"purple-input",attrs:{label:"First Name"}})],1),t._v(" "),s("v-flex",{attrs:{xs12:"",md6:""}},[s("v-text-field",{staticClass:"purple-input",attrs:{label:"Last Name"}})],1),t._v(" "),s("v-flex",{attrs:{xs12:"",md12:""}},[s("v-text-field",{staticClass:"purple-input",attrs:{label:"Adress"}})],1),t._v(" "),s("v-flex",{attrs:{xs12:"",md4:""}},[s("v-text-field",{staticClass:"purple-input",attrs:{label:"City"}})],1),t._v(" "),s("v-flex",{attrs:{xs12:"",md4:""}},[s("v-text-field",{staticClass:"purple-input",attrs:{label:"Country"}})],1),t._v(" "),s("v-flex",{attrs:{xs12:"",md4:""}},[s("v-text-field",{staticClass:"purple-input",attrs:{label:"Postal Code",type:"number"}})],1),t._v(" "),s("v-flex",{attrs:{xs12:""}},[s("v-textarea",{staticClass:"purple-input",attrs:{label:"About Me",value:"Lorem ipsum dolor sit amet, consectetur adipiscing elit."}})],1),t._v(" "),s("v-flex",{attrs:{xs12:"","text-xs-right":""}},[s("v-btn",{staticClass:"mx-0 font-weight-light",attrs:{color:"success"}},[t._v("\n Update Profile\n ")])],1)],1)],1)],1)],1)],1),t._v(" "),s("v-flex",{attrs:{xs12:"",md4:""}},[s("material-card",{staticClass:"v-card-profile"},[s("v-avatar",{staticClass:"mx-auto d-block",attrs:{slot:"offset",size:"130"},slot:"offset"},[s("img",{attrs:{src:"/img/"}})]),t._v(" "),s("v-card-text",{staticClass:"text-xs-center"},[s("h6",{staticClass:"category text-gray font-weight-thin mb-3"},[t._v("CEO / CO-FOUNDER")]),t._v(" "),s("h4",{staticClass:"card-title font-weight-light"},[t._v("Alec Thompson")]),t._v(" "),s("p",{staticClass:"card-description font-weight-light"},[t._v("Don't be scared of the truth because we need to restart the human foundation in truth And I love you like Kanye loves Kanye I love Rick Owens’ bed design but the back is...")]),t._v(" "),s("v-btn",{staticClass:"font-weight-light",attrs:{color:"success",round:""}},[t._v("Follow")])],1)],1)],1)],1)],1)}),[],!1,null,null,null);s.default=r.exports}}]);
|
||||
@@ -1 +0,0 @@
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[40],{sRz2:function(t,s,e){"use strict";e.r(s);var a={},l=e("KHd+"),r=Object(l.a)(a,function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("v-container",{attrs:{"fill-height":"",fluid:"","grid-list-xl":""}},[e("v-layout",{attrs:{"justify-center":"",wrap:""}},[e("v-flex",{attrs:{xs12:"",md8:""}},[e("material-card",{attrs:{color:"green",title:"Edit Profile",text:"Complete your profile"}},[e("v-form",[e("v-container",{attrs:{"py-0":""}},[e("v-layout",{attrs:{wrap:""}},[e("v-flex",{attrs:{xs12:"",md4:""}},[e("v-text-field",{attrs:{label:"Company (disabled)",disabled:""}})],1),t._v(" "),e("v-flex",{attrs:{xs12:"",md4:""}},[e("v-text-field",{staticClass:"purple-input",attrs:{label:"User Name"}})],1),t._v(" "),e("v-flex",{attrs:{xs12:"",md4:""}},[e("v-text-field",{staticClass:"purple-input",attrs:{label:"Email Address"}})],1),t._v(" "),e("v-flex",{attrs:{xs12:"",md6:""}},[e("v-text-field",{staticClass:"purple-input",attrs:{label:"First Name"}})],1),t._v(" "),e("v-flex",{attrs:{xs12:"",md6:""}},[e("v-text-field",{staticClass:"purple-input",attrs:{label:"Last Name"}})],1),t._v(" "),e("v-flex",{attrs:{xs12:"",md12:""}},[e("v-text-field",{staticClass:"purple-input",attrs:{label:"Adress"}})],1),t._v(" "),e("v-flex",{attrs:{xs12:"",md4:""}},[e("v-text-field",{staticClass:"purple-input",attrs:{label:"City"}})],1),t._v(" "),e("v-flex",{attrs:{xs12:"",md4:""}},[e("v-text-field",{staticClass:"purple-input",attrs:{label:"Country"}})],1),t._v(" "),e("v-flex",{attrs:{xs12:"",md4:""}},[e("v-text-field",{staticClass:"purple-input",attrs:{label:"Postal Code",type:"number"}})],1),t._v(" "),e("v-flex",{attrs:{xs12:""}},[e("v-textarea",{staticClass:"purple-input",attrs:{label:"About Me",value:"Lorem ipsum dolor sit amet, consectetur adipiscing elit."}})],1),t._v(" "),e("v-flex",{attrs:{xs12:"","text-xs-right":""}},[e("v-btn",{staticClass:"mx-0 font-weight-light",attrs:{color:"success"}},[t._v("\n Update Profile\n ")])],1)],1)],1)],1)],1)],1),t._v(" "),e("v-flex",{attrs:{xs12:"",md4:""}},[e("material-card",{staticClass:"v-card-profile"},[e("v-avatar",{staticClass:"mx-auto d-block",attrs:{slot:"offset",size:"130"},slot:"offset"},[e("img",{attrs:{src:"/img/"}})]),t._v(" "),e("v-card-text",{staticClass:"text-xs-center"},[e("h6",{staticClass:"category text-gray font-weight-thin mb-3"},[t._v("CEO / CO-FOUNDER")]),t._v(" "),e("h4",{staticClass:"card-title font-weight-light"},[t._v("Alec Thompson")]),t._v(" "),e("p",{staticClass:"card-description font-weight-light"},[t._v("Don't be scared of the truth because we need to restart the human foundation in truth And I love you like Kanye loves Kanye I love Rick Owens’ bed design but the back is...")]),t._v(" "),e("v-btn",{staticClass:"font-weight-light",attrs:{color:"success",round:""}},[t._v("Follow")])],1)],1)],1)],1)],1)},[],!1,null,null,null);s.default=r.exports}}]);
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1 +0,0 @@
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[5],{CkKM:function(t,e,a){var n=a("Ywir");"string"==typeof n&&(n=[[t.i,n,""]]);var s={hmr:!0,transform:void 0,insertInto:void 0};a("aET+")(n,s);n.locals&&(t.exports=n.locals)},KvZb:function(t,e,a){"use strict";a.r(e);var n="I will be the leader of a company that ends up being worth billions of dollars, because I got the answers. I understand culture. I am the nucleus. I think that’s a responsibility that I have, to push possibilities, to show people, this is the level that things could be at.",s=n.slice(0,105)+"...",i="The Life of Material Dashboard",r={data:function(){return{typography:{"heading-1":["Header 1",i,"h1"],"heading-2":["Header 2",i,"h2"],"heading-3":["Header 3",i,"h3"],"heading-4":["Header 4",i,"h4"],"heading-5":["Header 5",i,"h5"],"heading-6 text-uppercase":["Header 6",i,"h6"],"":["Paragraph",n,"p"],quote:["Quote",n,"blockquote"],"text--disabled":["Muted Text",s,"p"],"text-primary":["Primary Text",s,"p"],"text-info":["Info Text",s,"p"],"text-success":["Success Text",s,"p"],"text-warning":["Warning Text",s,"p"],"text-danger":["Danger Text",s,"p"],small:["Small Tag","Header with small subtitle","h2"]}}}},l=(a("YBZD"),a("KHd+")),o=Object(l.a)(r,function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-container",{attrs:{"fill-height":"",fluid:""}},[a("v-layout",{attrs:{"justify-center":"","align-center":""}},[a("v-flex",{attrs:{xs12:""}},[a("material-card",{attrs:{color:"green",title:"Material Dashboard Heading",text:"Created using Roboto Font Family"}},[a("v-card-text",[a("h2",{staticClass:"font-weight-light mb-4"},[t._v("Typography")]),t._v(" "),a("v-container",{staticClass:"pa-0",attrs:{"grid-list-xl":"",fluid:""}},t._l(t.typography,function(e,n){return a("v-layout",{key:n,attrs:{"align-end":"",wrap:""}},[a("v-flex",{attrs:{xs1:"",md3:""}},[a("span",{staticClass:"tim-note",domProps:{textContent:t._s(e[0])}})]),t._v(" "),a("v-flex",{attrs:{xs8:""}},[a(e[2],{tag:"component",class:n},["quote"!==n?[t._v("\n "+t._s(e[1])+"\n ")]:t._e(),t._v(" "),"quote"===n?a("p",[t._v(t._s(e[1]))]):t._e(),t._v(" "),"quote"===n?a("small",[t._v("Kanye West, Musician")]):t._e(),t._v(" "),"small"===n?[a("br"),t._v(" "),a("small",[t._v("Use 'small' tag for the headers")])]:t._e()],2)],1)],1)}),1)],1)],1)],1)],1)],1)},[],!1,null,null,null);e.default=o.exports},YBZD:function(t,e,a){"use strict";var n=a("CkKM");a.n(n).a},Ywir:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".tim-note {\n bottom: 10px;\n color: #c0c1c2;\n display: block;\n font-weight: 400;\n font-size: 13px;\n line-height: 13px;\n left: 0;\n margin-left: 20px;\n width: 260px;\n}",""])}}]);
|
||||
@@ -0,0 +1 @@
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[5],{"+4U5":function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,".tim-note {\n bottom: 10px;\n color: #c0c1c2;\n display: block;\n font-weight: 400;\n font-size: 13px;\n line-height: 13px;\n left: 0;\n margin-left: 20px;\n width: 260px;\n}",""])},KvZb:function(t,e,a){"use strict";a.r(e);var n="I will be the leader of a company that ends up being worth billions of dollars, because I got the answers. I understand culture. I am the nucleus. I think that’s a responsibility that I have, to push possibilities, to show people, this is the level that things could be at.",s=n.slice(0,105)+"...",i="The Life of Material Dashboard",r={data:function(){return{typography:{"heading-1":["Header 1",i,"h1"],"heading-2":["Header 2",i,"h2"],"heading-3":["Header 3",i,"h3"],"heading-4":["Header 4",i,"h4"],"heading-5":["Header 5",i,"h5"],"heading-6 text-uppercase":["Header 6",i,"h6"],"":["Paragraph",n,"p"],quote:["Quote",n,"blockquote"],"text--disabled":["Muted Text",s,"p"],"text-primary":["Primary Text",s,"p"],"text-info":["Info Text",s,"p"],"text-success":["Success Text",s,"p"],"text-warning":["Warning Text",s,"p"],"text-danger":["Danger Text",s,"p"],small:["Small Tag","Header with small subtitle","h2"]}}}},l=(a("bvNS"),a("KHd+")),o=Object(l.a)(r,(function(){var t=this,e=t._self._c;return e("v-container",{attrs:{"fill-height":"",fluid:""}},[e("v-layout",{attrs:{"justify-center":"","align-center":""}},[e("v-flex",{attrs:{xs12:""}},[e("material-card",{attrs:{color:"green",title:"Material Dashboard Heading",text:"Created using Roboto Font Family"}},[e("v-card-text",[e("h2",{staticClass:"font-weight-light mb-4"},[t._v("Typography")]),t._v(" "),e("v-container",{staticClass:"pa-0",attrs:{"grid-list-xl":"",fluid:""}},t._l(t.typography,(function(a,n){return e("v-layout",{key:n,attrs:{"align-end":"",wrap:""}},[e("v-flex",{attrs:{xs1:"",md3:""}},[e("span",{staticClass:"tim-note",domProps:{textContent:t._s(a[0])}})]),t._v(" "),e("v-flex",{attrs:{xs8:""}},[e(a[2],{tag:"component",class:n},["quote"!==n?[t._v("\n "+t._s(a[1])+"\n ")]:t._e(),t._v(" "),"quote"===n?e("p",[t._v(t._s(a[1]))]):t._e(),t._v(" "),"quote"===n?e("small",[t._v("Kanye West, Musician")]):t._e(),t._v(" "),"small"===n?[e("br"),t._v(" "),e("small",[t._v("Use 'small' tag for the headers")])]:t._e()],2)],1)],1)})),1)],1)],1)],1)],1)],1)}),[],!1,null,null,null);e.default=o.exports},"b+tm":function(t,e,a){var n=a("+4U5");"string"==typeof n&&(n=[[t.i,n,""]]);var s={hmr:!0,transform:void 0,insertInto:void 0};a("aET+")(n,s);n.locals&&(t.exports=n.locals)},bvNS:function(t,e,a){"use strict";a("b+tm")}}]);
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1 +0,0 @@
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[7],{"/GRq":function(t,a,s){(t.exports=s("JPst")(!1)).push([t.i,"\n.v-card__title.WM-Padding-8 {\r\n padding: 8px !important;\n}\n.container.grid-list-xl :not(:only-child) .layout:last-child {\r\n margin: auto -12px !important;\n}\n.v-toolbar.WM-Intro {\r\n box-shadow : unset;\r\n margin-bottom: 0;\n}\n.v-toolbar.WM-Intro:not(.v-toolbar--fixed) .v-toolbar__content {\r\n margin-left: 0;\n}\r\n",""])},Fg6p:function(t,a,s){var r=s("/GRq");"string"==typeof r&&(r=[[t.i,r,""]]);var i={hmr:!0,transform:void 0,insertInto:void 0};s("aET+")(r,i);r.locals&&(t.exports=r.locals)},bPp4:function(t,a,s){"use strict";s.r(a);var r=s("klZ3"),i={data:function(){return{auth:!1,items:{items1:["Physical Parameters, STEAM","BD Green Card Test","BDS – Test","Verify Sterilization Cycle, STEAM","Routine Control (Daily/Weekly), STEAM","Repair & Calibration, STEAM","Implant Sterilization, STEAM"],items2:["Physical Parameter, PLASMA","Verify Sterilization Cycle, PLASMA","Routine Control (Daily/Weekly), PLASMA","Repair & Calibration, PLASMA","Package Checks, PLASMA","Wash – Checks","Package Checks, STEAM"],items3:["Physical Parameters, EtO","Verify Sterilization Cycle, EtO","Repair & Calibration, Eto","Package Checks, EtO","Protein Residue Test","Seal Check"]}}},components:{},created:function(){r.a.getToken()&&(this.auth=!0)}},e=(s("c/TM"),s("KHd+")),n=Object(e.a)(i,function(){var t=this,a=t.$createElement,s=t._self._c||a;return s("div",{},[s("v-toolbar",{staticClass:"WM-Intro",attrs:{color:"white"}},[s("v-toolbar-title",[t._v("CSSD-DOC")]),t._v(" "),s("v-spacer"),t._v(" "),s("div",{staticClass:"my-2"},[t.auth?s("a",{attrs:{href:"/dashboard"}},[s("v-btn",{attrs:{color:"black"}},[t._v("Dashboard")])],1):s("a",{attrs:{href:"/login"}},[s("v-btn",{attrs:{color:"black"}},[t._v("Login")])],1)])],1),t._v(" "),s("section",[s("v-layout",{staticClass:"my-12",staticStyle:{"background-color":"#f7f7f7"},attrs:{column:"",wrap:""}},[s("v-flex",{staticClass:"my-4 mb-5",attrs:{xs6:"",sm6:""}},[s("div",{staticClass:"text-center WM-Align-C"},[s("h2",{staticClass:"display-1"},[t._v("Sterilization process monitoring")]),t._v(" "),s("span",{staticClass:"subheading"},[t._v("\n Sterilizer test records\n ")])])]),t._v(" "),s("v-flex",{attrs:{xs6:""}},[s("v-container",{attrs:{"grid-list-xl":""}},[s("v-layout",{attrs:{row:"",wrap:"","align-left":""}},[s("v-flex",{attrs:{xs12:"",md2:""}},[s("v-img",{attrs:{src:""}})],1)],1)],1)],1)],1)],1),t._v(" "),s("section",[s("v-layout",{staticClass:"my-12",staticStyle:{"background-color":"#f7f7f7"},attrs:{column:"",wrap:""}},[s("v-flex",{staticClass:"my-4 mb-5",attrs:{xs6:"",sm6:""}},[s("div",{staticClass:"text-center WM-Align-C"},[s("h2",{staticClass:"display-1"},[t._v("Sterilization process monitoring")]),t._v(" "),s("span",{staticClass:"subheading"},[t._v("\n Sterilizer test records\n ")])])]),t._v(" "),s("v-flex",{attrs:{xs6:""}},[s("v-container",{attrs:{"grid-list-xl":""}},[s("v-layout",{attrs:{row:"",wrap:"","align-left":""}},[s("v-flex",{attrs:{xs12:"",md2:""}},[s("v-img",{attrs:{src:""}})],1)],1)],1)],1)],1)],1)],1)},[],!1,null,null,null);a.default=n.exports},"c/TM":function(t,a,s){"use strict";var r=s("Fg6p");s.n(r).a}}]);
|
||||
@@ -0,0 +1 @@
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[7],{BMFk:function(t,a,s){"use strict";s("VPcB")},PSB8:function(t,a,s){(t.exports=s("JPst")(!1)).push([t.i,"\n.v-card__title.WM-Padding-8 {\r\n padding: 8px !important;\n}\n.container.grid-list-xl :not(:only-child) .layout:last-child {\r\n margin: auto -12px !important;\n}\n.v-toolbar.WM-Intro {\r\n box-shadow : unset;\r\n margin-bottom: 0;\n}\n.v-toolbar.WM-Intro:not(.v-toolbar--fixed) .v-toolbar__content {\r\n margin-left: 0;\n}\r\n",""])},VPcB:function(t,a,s){var r=s("PSB8");"string"==typeof r&&(r=[[t.i,r,""]]);var i={hmr:!0,transform:void 0,insertInto:void 0};s("aET+")(r,i);r.locals&&(t.exports=r.locals)},bPp4:function(t,a,s){"use strict";s.r(a);var r=s("klZ3"),i={data:function(){return{auth:!1,items:{items1:["Physical Parameters, STEAM","BD Green Card Test","BDS – Test","Verify Sterilization Cycle, STEAM","Routine Control (Daily/Weekly), STEAM","Repair & Calibration, STEAM","Implant Sterilization, STEAM"],items2:["Physical Parameter, PLASMA","Verify Sterilization Cycle, PLASMA","Routine Control (Daily/Weekly), PLASMA","Repair & Calibration, PLASMA","Package Checks, PLASMA","Wash – Checks","Package Checks, STEAM"],items3:["Physical Parameters, EtO","Verify Sterilization Cycle, EtO","Repair & Calibration, Eto","Package Checks, EtO","Protein Residue Test","Seal Check"]}}},components:{},created:function(){r.a.getToken()&&(this.auth=!0)}},e=(s("BMFk"),s("KHd+")),n=Object(e.a)(i,(function(){var t=this,a=t._self._c;return a("div",{},[a("v-toolbar",{staticClass:"WM-Intro",attrs:{color:"white"}},[a("v-toolbar-title",[t._v("CSSD-DOC")]),t._v(" "),a("v-spacer"),t._v(" "),a("div",{staticClass:"my-2"},[t.auth?a("a",{attrs:{href:"/dashboard"}},[a("v-btn",{attrs:{color:"black"}},[t._v("Dashboard")])],1):a("a",{attrs:{href:"/login"}},[a("v-btn",{attrs:{color:"black"}},[t._v("Login")])],1)])],1),t._v(" "),a("section",[a("v-layout",{staticClass:"my-12",staticStyle:{"background-color":"#f7f7f7"},attrs:{column:"",wrap:""}},[a("v-flex",{staticClass:"my-4 mb-5",attrs:{xs6:"",sm6:""}},[a("div",{staticClass:"text-center WM-Align-C"},[a("h2",{staticClass:"display-1"},[t._v("Sterilization process monitoring")]),t._v(" "),a("span",{staticClass:"subheading"},[t._v("\n Sterilizer test records\n ")])])]),t._v(" "),a("v-flex",{attrs:{xs6:""}},[a("v-container",{attrs:{"grid-list-xl":""}},[a("v-layout",{attrs:{row:"",wrap:"","align-left":""}},[a("v-flex",{attrs:{xs12:"",md2:""}},[a("v-img",{attrs:{src:""}})],1)],1)],1)],1)],1)],1),t._v(" "),a("section",[a("v-layout",{staticClass:"my-12",staticStyle:{"background-color":"#f7f7f7"},attrs:{column:"",wrap:""}},[a("v-flex",{staticClass:"my-4 mb-5",attrs:{xs6:"",sm6:""}},[a("div",{staticClass:"text-center WM-Align-C"},[a("h2",{staticClass:"display-1"},[t._v("Sterilization process monitoring")]),t._v(" "),a("span",{staticClass:"subheading"},[t._v("\n Sterilizer test records\n ")])])]),t._v(" "),a("v-flex",{attrs:{xs6:""}},[a("v-container",{attrs:{"grid-list-xl":""}},[a("v-layout",{attrs:{row:"",wrap:"","align-left":""}},[a("v-flex",{attrs:{xs12:"",md2:""}},[a("v-img",{attrs:{src:""}})],1)],1)],1)],1)],1)],1)],1)}),[],!1,null,null,null);a.default=n.exports}}]);
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Binary file not shown.
|
After Width: | Height: | Size: 2.8 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 2.8 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 2.8 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 2.8 KiB |
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user