Commit 5868c643 by lujunyi

药店药师

parent 92033cf6
<?php
namespace App\Admin\Controllers;
use App\Admin\Repositories\DoctorRepository;
use Dcat\Admin\Form;
use Dcat\Admin\Grid;
use Dcat\Admin\Http\Controllers\AdminController;
use Dcat\Admin\Show;
// 医师
class DoctorController extends AdminController
{
/**
* Make a grid builder.
*
* @return Grid
*/
protected function grid()
{
return Grid::make(new DoctorRepository(), function (Grid $grid) {
$grid->column('id')->sortable();
$grid->column('name');
$grid->column('mobile');
$grid->column('id_card');
$grid->column('license_no');
$grid->column('license_no_pic')->image('', 50, 50);
$grid->column('license_no_period');
$grid->column('physician_license')->image('', 50, 50);
$grid->column('id_card_front_pic')->image('', 50, 50);
$grid->column('id_card_back_pic')->image('', 50, 50);
$grid->column('online_hospital_name');
$grid->column('department');
$grid->column('doctor_title');
$grid->column('be_good_at');
$grid->column('introduction');
$grid->column('signed_pic')->image('', 50, 50);
$grid->column('status');
// 快捷搜索
$grid->quickSearch(['name', 'mobile', 'id_card'])->placeholder('请输入[姓名|手机号|身份证号码]')->width(25);
$grid->filter(function (Grid\Filter $filter) {
$filter->panel(); // 更改为 panel 布局
$filter->expand(); // 默认展开搜索框
$filter->like('name')->width(3);
$filter->like('id_card')->width(3);
$filter->like('mobile')->width(3);
});
// 行按钮控制
$grid->disableDeleteButton(); // 禁用删除按钮
// 工具栏按钮控制
$grid->disableBatchDelete(); // 禁用批量删除
});
}
/**
* Make a show builder.
*
* @param mixed $id
* @return Show
*/
protected function detail($id)
{
return Show::make($id, new DoctorRepository(), function (Show $show) {
$show->field('id')->width(4);
$show->field('name')->width(4);
$show->field('id_card')->width(4);
$show->field('license_no')->width(4);
$show->field('license_no_pic')->width(4)->image('', 50, 50);
$show->field('license_no_period')->width(4);
$show->field('physician_license')->width(4)->image('', 50, 50);
$show->field('id_card_front_pic')->width(4)->image('', 50, 50);
$show->field('id_card_back_pic')->width(4)->image('', 50, 50);
$show->field('online_hospital_name')->width(4);
$show->field('department')->width(4);
$show->field('doctor_title')->width(4);
$show->field('be_good_at')->width(4);
$show->field('introduction')->width(4);
$show->field('status')->width(4);
$show->field('status')->width(4);
$show->field('created_at')->width(4);
$show->field('updated_at')->width(4);
});
}
/**
* Make a form builder.
*
* @return Form
*/
protected function form()
{
return Form::make(new DoctorRepository(), function (Form $form) {
$form->display('id')->width(4);
$form->text('name')->width(4);
$form->text('id_card')->width(4);
$form->text('license_no')->width(4);
$form->image('license_no_pic')->accept('jpg,png,jpeg')->uniqueName()->autoUpload()->retainable()->removable(false)->width(4);
$form->text('license_no_period')->width(4);
$form->image('physician_license')->accept('jpg,png,jpeg')->uniqueName()->autoUpload()->retainable()->removable(false)->width(4);
$form->image('id_card_front_pic')->accept('jpg,png,jpeg')->uniqueName()->autoUpload()->retainable()->removable(false)->width(4);
$form->image('id_card_back_pic')->accept('jpg,png,jpeg')->uniqueName()->autoUpload()->retainable()->removable(false)->width(4);
$form->text('online_hospital_name')->width(4);
$form->text('department')->width(4);
$form->text('doctor_title')->width(4);
$form->textarea('be_good_at')->width(4);
$form->textarea('introduction')->width(4);
$form->image('signed_pic')->accept('jpg,png,jpeg')->uniqueName()->autoUpload()->retainable()->removable(false)->width(4);
$form->switch('status')->width(4);
$form->display('created_at')->width(4);
$form->display('updated_at')->width(4);
// 右上角按钮控制
$form->disableDeleteButton(); // 去掉删除按钮
});
}
}
......@@ -76,7 +76,6 @@ protected function detail($id)
$show->field('updated_at')->width(4);
$show->panel()->tools(function ($tools) {
$tools->disableEdit(); // 禁止编辑
$tools->disableDelete(); // 禁止删除按钮
});
});
......
<?php
namespace App\Admin\Controllers;
use App\Admin\Repositories\PharmacistRepository;
use Carbon\Carbon;
use Dcat\Admin\Admin;
use Dcat\Admin\Form;
use Dcat\Admin\Grid;
use Dcat\Admin\Http\Controllers\AdminController;
use Dcat\Admin\Show;
use Dcat\Admin\Widgets\Tab;
use Illuminate\Http\Request;
// 药师
class PharmacistController extends AdminController
{
public function __construct(Request $request)
{
$this->view = $request->view;
return $this;
}
/**
* Make a grid builder.
*
* @return Grid
*/
protected function grid()
{
return Grid::make(new PharmacistRepository(), function (Grid $grid) {
Admin::style(
<<<'CSS'
.nav-tabs {
background-color: #fff;
margin-top: 20px;
box-shadow: 0 2px 4px 0 rgba(0,0,0,.05);
border-radius: .25rem;
}
CSS
);
// 获取当前日期
$now = Carbon::now();
if (! $this->view || $this->view == 1) {
} elseif ($this->view == 2) {
$grid->model()->where('practicing_license_expired_time', '>=', $now)->where('practicing_license_expired_time', '<=', $now->addMonths(1));
} elseif ($this->view == 3) {
$grid->model()->where('practicing_license_expired_time', '<', $now);
}
$grid->header(function () {
$tab = Tab::make();
$tab->addLink('药师列表', '?view=1', (! $this->view || $this->view == 1) ? true : false);
$tab->addLink('临期药师列表', '?view=2', $this->view == 2 ? true : false);
$tab->addLink('失效药师列表', '?view=3', $this->view == 3 ? true : false);
return $tab;
});
$grid->model()->orderBy('id', 'desc');
$grid->column('id')->sortable();
$grid->column('name');
$grid->column('id_card');
$grid->column('license_number');
$grid->column('mobile');
$grid->column('practicing_license')->image('', 50, 50);
$grid->column('practicing_license_expired_time');
$grid->column('physician_license')->image('', 50, 50);
$grid->column('signed_pic');
$grid->column('status');
$grid->column('created_at');
$grid->column('updated_at')->sortable();
// 快捷搜索
$grid->quickSearch(['name', 'mobile', 'id_card'])->placeholder('请输入[姓名|手机号|身份证号码]')->width(25);
$grid->filter(function (Grid\Filter $filter) {
$filter->panel(); // 更改为 panel 布局
$filter->expand(); // 默认展开搜索框
$filter->like('name')->width(3);
$filter->like('id_card')->width(3);
$filter->like('mobile')->width(3);
});
// 行按钮控制
$grid->disableDeleteButton(); // 禁用删除按钮
// 工具栏按钮控制
$grid->disableBatchDelete(); // 禁用批量删除
});
}
/**
* Make a show builder.
*
* @param mixed $id
* @return Show
*/
protected function detail($id)
{
return Show::make($id, new PharmacistRepository(), function (Show $show) {
$show->field('id')->width(4);
$show->field('name')->width(4);
$show->field('id_card')->width(4);
$show->field('license_number')->width(4);
$show->field('mobile')->width(4);
$show->field('practicing_license')->width(4);
$show->field('practicing_license_period')->width(4);
$show->field('physician_license')->width(4);
$show->field('signed_pic')->width(4);
$show->field('status')->width(4);
$show->field('created_at')->width(4);
$show->field('updated_at')->width(4);
$show->panel()->tools(function ($tools) {
$tools->disableDelete(); // 禁止删除按钮
});
});
}
/**
* Make a form builder.
*
* @return Form
*/
protected function form()
{
return Form::make(new PharmacistRepository(), function (Form $form) {
$form->display('id')->width(4);
$form->text('name')->width(4);
$form->text('id_card')->width(4);
$form->text('license_number')->width(4);
$form->text('mobile')->width(4);
$form->image('practicing_license')->accept('jpg,png,jpeg')->uniqueName()->autoUpload()->retainable()->removable(false)->width(4);
$form->date('practicing_license_expired_time')->width(4);
$form->image('physician_license')->accept('jpg,png,jpeg')->uniqueName()->autoUpload()->retainable()->removable(false)->width(4);
$form->image('signed_pic')->accept('jpg,png,jpeg')->uniqueName()->autoUpload()->retainable()->removable(false)->width(4);
$form->switch('status')->width(4);
$form->display('created_at')->width(4);
$form->display('updated_at')->width(4);
// 右上角按钮控制
$form->disableDeleteButton(); // 去掉删除按钮
});
}
}
<?php
namespace App\Admin\Controllers;
use App\Admin\Repositories\PharmacyRepository;
use Dcat\Admin\Form;
use Dcat\Admin\Grid;
use Dcat\Admin\Http\Controllers\AdminController;
use Dcat\Admin\Show;
// 药店
class PharmacyController extends AdminController
{
/**
* Make a grid builder.
*
* @return Grid
*/
protected function grid()
{
return Grid::make(new PharmacyRepository(), function (Grid $grid) {
$grid->model()->orderBy('id', 'desc');
$grid->column('id')->sortable();
$grid->column('name');
$grid->column('business_license');
$grid->column('drug_biz_license');
$grid->column('food_biz_license');
$grid->column('med_device_biz_license');
$grid->column('drug_info_service_cert');
$grid->column('pre_packaged_food');
$grid->column('area');
$grid->column('address');
$grid->column('mobile');
$grid->column('business_hours');
$grid->column('lng');
$grid->column('lat');
$grid->column('status');
$grid->column('created_at');
$grid->column('updated_at')->sortable();
// 快捷搜索
$grid->quickSearch(['name', 'mobile'])->placeholder('请输入[姓名|手机号|身份证号码]')->width(25);
$grid->filter(function (Grid\Filter $filter) {
$filter->panel(); // 更改为 panel 布局
$filter->expand(); // 默认展开搜索框
$filter->like('name')->width(3);
$filter->like('mobile')->width(3);
});
// 行按钮控制
$grid->disableDeleteButton(); // 禁用删除按钮
// 工具栏按钮控制
$grid->disableBatchDelete(); // 禁用批量删除
});
}
/**
* Make a show builder.
*
* @param mixed $id
* @return Show
*/
protected function detail($id)
{
return Show::make($id, new PharmacyRepository(), function (Show $show) {
$show->field('id')->width(4);
$show->field('name')->width(4);
$show->field('business_license')->width(4);
$show->field('drug_biz_license')->width(4);
$show->field('food_biz_license')->width(4);
$show->field('med_device_biz_license')->width(4);
$show->field('drug_info_service_cert')->width(4);
$show->field('pre_packaged_food')->width(4);
$show->field('area')->width(4);
$show->field('address')->width(4);
$show->field('mobile')->width(4);
$show->field('business_hours')->width(4);
$show->field('lng')->width(4);
$show->field('lat')->width(4);
$show->field('status')->width(4);
$show->field('created_at')->width(4);
$show->field('updated_at')->width(4);
$show->panel()->tools(function ($tools) {
$tools->disableDelete(); // 禁止删除按钮
});
});
}
/**
* Make a form builder.
*
* @return Form
*/
protected function form()
{
return Form::make(new PharmacyRepository(), function (Form $form) {
$form->display('id')->width(4);
$form->text('name')->width(4);
$form->image('business_license')->accept('jpg,png,jpeg')->uniqueName()->autoUpload()->retainable()->removable(false)->width(4);
$form->image('drug_biz_license')->accept('jpg,png,jpeg')->uniqueName()->autoUpload()->retainable()->removable(false)->width(4);
$form->image('food_biz_license')->accept('jpg,png,jpeg')->uniqueName()->autoUpload()->retainable()->removable(false)->width(4);
$form->image('med_device_biz_license')->accept('jpg,png,jpeg')->uniqueName()->autoUpload()->retainable()->removable(false)->width(4);
$form->image('drug_info_service_cert')->accept('jpg,png,jpeg')->uniqueName()->autoUpload()->retainable()->removable(false)->width(4);
$form->image('pre_packaged_food')->accept('jpg,png,jpeg')->uniqueName()->autoUpload()->retainable()->removable(false)->width(4);
$form->text('area')->width(4);
$form->text('address')->width(4);
$form->text('mobile')->width(4);
$form->text('business_hours')->width(4);
$form->text('lng')->width(4);
$form->text('lat')->width(4);
$form->switch('status')->width(4);
$form->display('created_at')->width(4);
$form->display('updated_at')->width(4);
// 右上角按钮控制
$form->disableDeleteButton(); // 去掉删除按钮
});
}
}
<?php
namespace App\Admin\Repositories;
use App\Models\DoctorModel as Model;
use Dcat\Admin\Repositories\EloquentRepository;
class DoctorRepository extends EloquentRepository
{
/**
* Model.
*
* @var string
*/
protected $eloquentClass = Model::class;
}
<?php
namespace App\Admin\Repositories;
use App\Models\PharmacistModel as Model;
use Dcat\Admin\Repositories\EloquentRepository;
class PharmacistRepository extends EloquentRepository
{
/**
* Model.
*
* @var string
*/
protected $eloquentClass = Model::class;
}
<?php
namespace App\Admin\Repositories;
use App\Models\PharmacyModel as Model;
use Dcat\Admin\Repositories\EloquentRepository;
class PharmacyRepository extends EloquentRepository
{
/**
* Model.
*
* @var string
*/
protected $eloquentClass = Model::class;
}
......@@ -22,6 +22,12 @@
$router->resource('patient', 'PatientController');
// 问诊问题
$router->resource('inquiry', 'InquiryController');
// 医师
$router->resource('doctor', 'DoctorController');
// 药店
$router->resource('pharmacy', 'PharmacyController');
// 药师
$router->resource('pharmacist', 'PharmacistController');
// 导入日志
$router->resource('/import-log', 'Common\ImportLogController')->names('import-log');
......
<?php
namespace App\Models;
use Dcat\Admin\Traits\HasDateTimeFormatter;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
class DoctorModel extends Model
{
use HasDateTimeFormatter;
use SoftDeletes;
protected $table = 'doctor';
}
<?php
namespace App\Models;
use Dcat\Admin\Traits\HasDateTimeFormatter;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
class PharmacistModel extends Model
{
use HasDateTimeFormatter;
use SoftDeletes;
protected $table = 'pharmacist';
}
<?php
namespace App\Models;
use Dcat\Admin\Traits\HasDateTimeFormatter;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
class PharmacyModel extends Model
{
use HasDateTimeFormatter;
use SoftDeletes;
protected $table = 'pharmacy';
}
......@@ -4,7 +4,7 @@
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateDiagnosisTable extends Migration
return new class extends Migration
{
/**
* Run the migrations.
......@@ -33,4 +33,4 @@ public function down()
{
Schema::dropIfExists('diagnosis');
}
}
};
......@@ -4,7 +4,7 @@
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateInquiryTable extends Migration
return new class extends Migration
{
/**
* Run the migrations.
......@@ -15,7 +15,7 @@ public function up()
{
Schema::create('inquiry', function (Blueprint $table) {
$table->bigIncrements('id');
$table->string('question')->idx('idx_question')->comment('问诊问题');
$table->string('question')->index('idx_question')->comment('问诊问题');
$table->boolean('is_common')->default(1)->comment('通用[0=不是通用,1=通用]');
$table->timestamps();
$table->softDeletes();
......@@ -32,4 +32,4 @@ public function down()
{
Schema::dropIfExists('inquiry');
}
}
};
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('doctor', function (Blueprint $table) {
$table->bigIncrements('id');
$table->string('name', 50)->index('idx_name')->comment('姓名');
$table->string('mobile', 11)->index('idx_mobile')->comment('手机号');
$table->string('id_card', 18)->comment('身份证号码');
$table->string('license_no', 30)->comment('执照编号');
$table->string('license_no_pic')->comment('执行证书');
$table->string('license_no_period')->comment('执行证书有效期');
$table->string('physician_license', 30)->comment('执业资格证书');
$table->string('id_card_front_pic')->comment('身份证正面照');
$table->string('id_card_back_pic')->comment('身份证反面照');
$table->string('online_hospital_name', 128)->comment('互联网医院名称');
$table->string('department', 128)->comment('科室');
$table->string('doctor_title', 64)->comment('职称');
$table->text('be_good_at')->nullable()->comment('擅长');
$table->text('introduction')->nullable()->comment('简介');
$table->boolean('status')->default(0)->comment('是否启用[0=未启用,1=启用]');
$table->text('signed_pic')->nullable()->comment('签名照');
$table->timestamps();
$table->softDeletes();
});
\DB::statement("ALTER TABLE `doctor` comment '医师'");
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('doctor');
}
};
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('pharmacy', function (Blueprint $table) {
$table->bigIncrements('id');
$table->string('name', 64)->comment('药店名称');
$table->string('business_license')->comment('营业执照');
$table->string('drug_biz_license')->comment('药品经营许可证');
$table->string('food_biz_license')->comment('食品经营许可证');
$table->string('med_device_biz_license')->comment('医疗器械经营许可证');
$table->string('drug_info_service_cert')->comment('互联网药品信息服务资格证书');
$table->string('pre_packaged_food')->comment('仅销售预包装食品备案表');
$table->string('area', 64)->comment('地区');
$table->string('address', 128)->comment('详细地址');
$table->string('mobile', 11)->comment('药店管理员手机号');
$table->string('business_hours', 32)->comment('营业时间');
$table->string('lng', 12)->comment('经度');
$table->string('lat', 12)->comment('纬度');
$table->boolean('status')->default(0)->comment('启用[0=未启用,1=启用]');
$table->timestamps();
$table->softDeletes();
});
\DB::statement("ALTER TABLE `doctor` comment '药店'");
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('pharmacy');
}
};
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('pharmacist', function (Blueprint $table) {
$table->bigIncrements('id');
$table->string('name', 50)->comment('姓名');
$table->string('id_card', 18)->comment('身份证号');
$table->string('license_number', 32)->comment('执照编号');
$table->string('mobile', 11)->comment('手机号码');
$table->string('practicing_license')->comment('执业注册证书');
$table->date('practicing_license_expired_time')->comment('执业注册证书有效期');
$table->string('physician_license')->comment('执业资格证书');
$table->string('signed_pic')->comment('签名照');
$table->boolean('status')->default(0)->comment('启用[0=未启用,1=启用]');
$table->timestamps();
$table->softDeletes();
});
\DB::statement("ALTER TABLE `doctor` comment '药师'");
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('pharmacist');
}
};
......@@ -44,6 +44,20 @@
* @property Grid\Column|Collection content
* @property Grid\Column|Collection code
* @property Grid\Column|Collection deleted_at
* @property Grid\Column|Collection id_card
* @property Grid\Column|Collection license_no
* @property Grid\Column|Collection license_no_pic
* @property Grid\Column|Collection license_no_period
* @property Grid\Column|Collection physician_license
* @property Grid\Column|Collection id_card_front_pic
* @property Grid\Column|Collection id_card_back_pic
* @property Grid\Column|Collection online_hospital_name
* @property Grid\Column|Collection department
* @property Grid\Column|Collection doctor_title
* @property Grid\Column|Collection be_good_at
* @property Grid\Column|Collection introduction
* @property Grid\Column|Collection status
* @property Grid\Column|Collection signed_pic
* @property Grid\Column|Collection unit
* @property Grid\Column|Collection spec
* @property Grid\Column|Collection dosage_form
......@@ -58,10 +72,11 @@
* @property Grid\Column|Collection payload
* @property Grid\Column|Collection exception
* @property Grid\Column|Collection failed_at
* @property Grid\Column|Collection question
* @property Grid\Column|Collection is_common
* @property Grid\Column|Collection email
* @property Grid\Column|Collection token
* @property Grid\Column|Collection gender
* @property Grid\Column|Collection id_card
* @property Grid\Column|Collection mobile
* @property Grid\Column|Collection miniapp_openid
* @property Grid\Column|Collection nick_name
......@@ -105,6 +120,20 @@
* @method Grid\Column|Collection content(string $label = null)
* @method Grid\Column|Collection code(string $label = null)
* @method Grid\Column|Collection deleted_at(string $label = null)
* @method Grid\Column|Collection id_card(string $label = null)
* @method Grid\Column|Collection license_no(string $label = null)
* @method Grid\Column|Collection license_no_pic(string $label = null)
* @method Grid\Column|Collection license_no_period(string $label = null)
* @method Grid\Column|Collection physician_license(string $label = null)
* @method Grid\Column|Collection id_card_front_pic(string $label = null)
* @method Grid\Column|Collection id_card_back_pic(string $label = null)
* @method Grid\Column|Collection online_hospital_name(string $label = null)
* @method Grid\Column|Collection department(string $label = null)
* @method Grid\Column|Collection doctor_title(string $label = null)
* @method Grid\Column|Collection be_good_at(string $label = null)
* @method Grid\Column|Collection introduction(string $label = null)
* @method Grid\Column|Collection status(string $label = null)
* @method Grid\Column|Collection signed_pic(string $label = null)
* @method Grid\Column|Collection unit(string $label = null)
* @method Grid\Column|Collection spec(string $label = null)
* @method Grid\Column|Collection dosage_form(string $label = null)
......@@ -119,10 +148,11 @@
* @method Grid\Column|Collection payload(string $label = null)
* @method Grid\Column|Collection exception(string $label = null)
* @method Grid\Column|Collection failed_at(string $label = null)
* @method Grid\Column|Collection question(string $label = null)
* @method Grid\Column|Collection is_common(string $label = null)
* @method Grid\Column|Collection email(string $label = null)
* @method Grid\Column|Collection token(string $label = null)
* @method Grid\Column|Collection gender(string $label = null)
* @method Grid\Column|Collection id_card(string $label = null)
* @method Grid\Column|Collection mobile(string $label = null)
* @method Grid\Column|Collection miniapp_openid(string $label = null)
* @method Grid\Column|Collection nick_name(string $label = null)
......@@ -171,6 +201,20 @@ class MiniGrid extends Grid {}
* @property Show\Field|Collection content
* @property Show\Field|Collection code
* @property Show\Field|Collection deleted_at
* @property Show\Field|Collection id_card
* @property Show\Field|Collection license_no
* @property Show\Field|Collection license_no_pic
* @property Show\Field|Collection license_no_period
* @property Show\Field|Collection physician_license
* @property Show\Field|Collection id_card_front_pic
* @property Show\Field|Collection id_card_back_pic
* @property Show\Field|Collection online_hospital_name
* @property Show\Field|Collection department
* @property Show\Field|Collection doctor_title
* @property Show\Field|Collection be_good_at
* @property Show\Field|Collection introduction
* @property Show\Field|Collection status
* @property Show\Field|Collection signed_pic
* @property Show\Field|Collection unit
* @property Show\Field|Collection spec
* @property Show\Field|Collection dosage_form
......@@ -185,10 +229,11 @@ class MiniGrid extends Grid {}
* @property Show\Field|Collection payload
* @property Show\Field|Collection exception
* @property Show\Field|Collection failed_at
* @property Show\Field|Collection question
* @property Show\Field|Collection is_common
* @property Show\Field|Collection email
* @property Show\Field|Collection token
* @property Show\Field|Collection gender
* @property Show\Field|Collection id_card
* @property Show\Field|Collection mobile
* @property Show\Field|Collection miniapp_openid
* @property Show\Field|Collection nick_name
......@@ -232,6 +277,20 @@ class MiniGrid extends Grid {}
* @method Show\Field|Collection content(string $label = null)
* @method Show\Field|Collection code(string $label = null)
* @method Show\Field|Collection deleted_at(string $label = null)
* @method Show\Field|Collection id_card(string $label = null)
* @method Show\Field|Collection license_no(string $label = null)
* @method Show\Field|Collection license_no_pic(string $label = null)
* @method Show\Field|Collection license_no_period(string $label = null)
* @method Show\Field|Collection physician_license(string $label = null)
* @method Show\Field|Collection id_card_front_pic(string $label = null)
* @method Show\Field|Collection id_card_back_pic(string $label = null)
* @method Show\Field|Collection online_hospital_name(string $label = null)
* @method Show\Field|Collection department(string $label = null)
* @method Show\Field|Collection doctor_title(string $label = null)
* @method Show\Field|Collection be_good_at(string $label = null)
* @method Show\Field|Collection introduction(string $label = null)
* @method Show\Field|Collection status(string $label = null)
* @method Show\Field|Collection signed_pic(string $label = null)
* @method Show\Field|Collection unit(string $label = null)
* @method Show\Field|Collection spec(string $label = null)
* @method Show\Field|Collection dosage_form(string $label = null)
......@@ -246,10 +305,11 @@ class MiniGrid extends Grid {}
* @method Show\Field|Collection payload(string $label = null)
* @method Show\Field|Collection exception(string $label = null)
* @method Show\Field|Collection failed_at(string $label = null)
* @method Show\Field|Collection question(string $label = null)
* @method Show\Field|Collection is_common(string $label = null)
* @method Show\Field|Collection email(string $label = null)
* @method Show\Field|Collection token(string $label = null)
* @method Show\Field|Collection gender(string $label = null)
* @method Show\Field|Collection id_card(string $label = null)
* @method Show\Field|Collection mobile(string $label = null)
* @method Show\Field|Collection miniapp_openid(string $label = null)
* @method Show\Field|Collection nick_name(string $label = null)
......
<?php
return [
'labels' => [
'Doctor' => '医师',
'doctor' => '医师',
],
'fields' => [
'name' => '姓名',
'id_card' => '身份证号码',
'license_no' => '执照编号',
'license_no_pic' => '执行证书',
'license_no_period' => '执行证书有效期',
'physician_license' => '执业资格证书',
'id_card_front_pic' => '身份证正面照',
'id_card_back_pic' => '身份证反面照',
'online_hospital_name' => '互联网医院名称',
'department' => '科室',
'doctor_title' => '职称',
'be_good_at' => '擅长',
'introduction' => '简介',
'signed_pic' => '签名照',
'status' => '启用',
'mobile' => '手机号',
],
'options' => [
],
];
<?php
return [
'labels' => [
'Pharmacist' => '药师',
'pharmacist' => '药师',
],
'fields' => [
'name' => '姓名',
'id_card' => '身份证号',
'license_number' => '执照编号',
'mobile' => '手机号码',
'practicing_license' => '执业注册证书',
'practicing_license_expired_time' => '执业注册证书有效期',
'physician_license' => '执业资格证书',
'signed_pic' => '签名照',
'status' => '启用',
],
'options' => [
],
];
<?php
return [
'labels' => [
'Pharmacy' => '药店',
'pharmacy' => '药店',
],
'fields' => [
'name' => '药店名称',
'business_license' => '营业执照',
'drug_biz_license' => '药品经营许可证',
'food_biz_license' => '食品经营许可证',
'med_device_biz_license' => '医疗器械经营许可证',
'drug_info_service_cert' => '互联网药品信息服务资格证书',
'pre_packaged_food' => '仅销售预包装食品备案表',
'area' => '地区',
'address' => '详细地址',
'mobile' => '药店管理员手机号',
'business_hours' => '营业时间',
'lng' => '经度',
'lat' => '纬度',
'status' => '启用',
],
'options' => [
],
];
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment