Commit c967854b by 赵增煜

合并异常

parents 8085c08b 3870e3e0
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
namespace App\Admin\Controllers; namespace App\Admin\Controllers;
use App\Admin\Extensions\Form\PharmacyConfigForm; use App\Admin\Extensions\Form\PharmacyConfigForm;
use Dcat\Admin\Admin;
use Dcat\Admin\Http\Controllers\AdminController; use Dcat\Admin\Http\Controllers\AdminController;
use Dcat\Admin\Layout\Content; use Dcat\Admin\Layout\Content;
...@@ -11,6 +12,11 @@ class PharmacyConfigController extends AdminController ...@@ -11,6 +12,11 @@ class PharmacyConfigController extends AdminController
{ {
public function index(Content $content): Content public function index(Content $content): Content
{ {
// 权限判断和数据过滤
if (! Admin::user()->isRole('pharmacy')) {
admin_exit(Content::make()->withError(trans('admin.deny')));
}
return $content->header('药店配置') return $content->header('药店配置')
->description('') ->description('')
->body(new PharmacyConfigForm()); ->body(new PharmacyConfigForm());
......
...@@ -53,6 +53,7 @@ protected function grid() ...@@ -53,6 +53,7 @@ protected function grid()
// $grid->column('pharmacist_id'); // $grid->column('pharmacist_id');
// $grid->column('pharmacist_license_number'); // $grid->column('pharmacist_license_number');
$grid->column('created_at'); $grid->column('created_at');
$grid->column('is_abnormal')->using([0 => '否', 1 => '是']);
// $grid->column('updated_at')->sortable(); // $grid->column('updated_at')->sortable();
$grid->filter(function (Grid\Filter $filter) { $grid->filter(function (Grid\Filter $filter) {
......
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
use App\Models\PatientModel; use App\Models\PatientModel;
use App\Models\PharmacyDrugModel; use App\Models\PharmacyDrugModel;
use App\Models\PrescriptionModel; use App\Models\PrescriptionModel;
use Dcat\Admin\Admin;
use Dcat\Admin\Http\Controllers\AdminController; use Dcat\Admin\Http\Controllers\AdminController;
use Dcat\Admin\Layout\Content; use Dcat\Admin\Layout\Content;
use Illuminate\Support\Facades\Storage; use Illuminate\Support\Facades\Storage;
...@@ -16,6 +17,11 @@ class PrescriptionPrintController extends AdminController ...@@ -16,6 +17,11 @@ class PrescriptionPrintController extends AdminController
// 处方打印首页,显示输入框,可以搜索处方 // 处方打印首页,显示输入框,可以搜索处方
public function index(Content $content): Content public function index(Content $content): Content
{ {
// 权限判断和数据过滤
if (! Admin::user()->isRole('pharmacy')) {
admin_exit(Content::make()->withError(trans('admin.deny')));
}
// 加载处方打印页面 // 加载处方打印页面
return $content->header('处方打印') return $content->header('处方打印')
->description('根据处方编号搜索并打印处方') ->description('根据处方编号搜索并打印处方')
...@@ -27,13 +33,19 @@ public function index(Content $content): Content ...@@ -27,13 +33,19 @@ public function index(Content $content): Content
*/ */
public function search() public function search()
{ {
if (! Admin::user()->isRole('pharmacy')) {
return response()->json([
'status' => false,
'message' => '您没有权限~',
]);
}
$prescriptionNo = request('prescription_no'); $prescriptionNo = request('prescription_no');
$isEseal = request('is_eseal', 0); // 是否打印电子印章,实时生成 $isEseal = request('is_eseal', 0); // 是否打印电子印章,实时生成
if (empty($prescriptionNo)) { if (empty($prescriptionNo)) {
return response()->json([ return response()->json([
'status' => false, 'status' => false,
'message' => '请输入处方编号', 'message' => '请输入处方编号~',
]); ]);
} }
......
...@@ -2,22 +2,22 @@ ...@@ -2,22 +2,22 @@
namespace App\Admin\Extensions\Form; namespace App\Admin\Extensions\Form;
use App\Models\PharmacyModel;
use Dcat\Admin\Admin;
use Dcat\Admin\Widgets\Form; use Dcat\Admin\Widgets\Form;
// 全局设置 // 药店设置
class PharmacyConfigForm extends Form class PharmacyConfigForm extends Form
{ {
public function handle(array $input) public function handle(array $input)
{ {
$data = [ $isAuto = $input['is_auto'] == 1 ? 1 : 0;
'site_config' => $input, $pharmacyId = Admin::user()->pharmacy_id;
]; PharmacyModel::where('id', $pharmacyId)->update(['is_auto' => $isAuto]);
admin_setting($data);
return $this return $this
->response() ->response()
->location('site-config') ->location('pharmacy-config')
->success('设置成功'); ->success('设置成功');
} }
...@@ -26,10 +26,9 @@ public function handle(array $input) ...@@ -26,10 +26,9 @@ public function handle(array $input)
*/ */
public function form() public function form()
{ {
$data = admin_setting('site_config'); $pharmacyId = Admin::user()->pharmacy_id;
$data = json_decode($data, true); $isAuto = PharmacyModel::where('id', $pharmacyId)->value('is_auto');
$this->switch('is_auto', '药店自动开方')->default($isAuto);
$this->switch('prescription_auto', '医师自动开方');
$this->disableResetButton(); $this->disableResetButton();
} }
......
...@@ -120,12 +120,17 @@ public function create(Request $request) ...@@ -120,12 +120,17 @@ public function create(Request $request)
$prescription->diagnosis_name = DiagnosiModel::find($diagnosis_id)->value('name'); $prescription->diagnosis_name = DiagnosiModel::find($diagnosis_id)->value('name');
// 问诊问题 // 问诊问题
$inquiry_info = []; $inquiry_info = [];
$is_abnormal = 0; // 是否异常处方单,只有一个问题回答是就是异常
foreach ($inquirys as $inquiry) { foreach ($inquirys as $inquiry) {
$inquiry_info[] = [ $inquiry_info[] = [
'inquiry_id' => $inquiry['inquiry_id'], 'inquiry_id' => $inquiry['inquiry_id'],
'question' => InquiryModel::find($inquiry['inquiry_id'])->value('question'), 'question' => InquiryModel::find($inquiry['inquiry_id'])->value('question'),
'answer' => $inquiry['answer'] == 1 ? 1 : 0, // [1 => '是', 0 => '否'] 'answer' => $inquiry['answer'] == 1 ? 1 : 0, // [1 => '是', 0 => '否']
]; ];
// 检查是否有一个answer是1
if ($inquiry['answer'] == 1) {
$is_abnormal = 1; // 如果有一个answer是1,设置$is_abnormal为1
}
} }
$prescription->inquiry_info = json_encode($inquiry_info); $prescription->inquiry_info = json_encode($inquiry_info);
// 用药信息 // 用药信息
...@@ -196,6 +201,8 @@ public function create(Request $request) ...@@ -196,6 +201,8 @@ public function create(Request $request)
$prescription->updated_at = Carbon::now()->subMinutes(15); $prescription->updated_at = Carbon::now()->subMinutes(15);
$prescription->prescription_at = $prescription_at; $prescription->prescription_at = $prescription_at;
$prescription->review_at = $review_at; $prescription->review_at = $review_at;
$prescription->is_abnormal = $is_abnormal;
$prescription_number = 0; $prescription_number = 0;
if ($prescription->save()) { if ($prescription->save()) {
$prescription_number = $prescription->id; $prescription_number = $prescription->id;
......
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::table('prescription', function (Blueprint $table) {
$table->boolean('is_abnormal')->default(0)->comment('是否异常处方[0=否,1=是]');
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::table('prescription', function (Blueprint $table) {
//
});
}
};
...@@ -34,86 +34,86 @@ public function run() ...@@ -34,86 +34,86 @@ public function run()
[ [
'id' => 2, 'id' => 2,
'parent_id' => 0, 'parent_id' => 0,
'order' => 28, 'order' => 26,
'title' => '权限管理', 'title' => '权限管理',
'icon' => 'feather icon-settings', 'icon' => 'feather icon-settings',
'uri' => null, 'uri' => null,
'extension' => '', 'extension' => '',
'show' => 1, 'show' => 1,
'created_at' => '2024-11-03 02:13:11', 'created_at' => '2024-11-03 02:13:11',
'updated_at' => '2024-11-10 23:38:06', 'updated_at' => '2024-11-19 13:55:26',
], ],
[ [
'id' => 3, 'id' => 3,
'parent_id' => 2, 'parent_id' => 2,
'order' => 29, 'order' => 27,
'title' => '管理员', 'title' => '管理员',
'icon' => null, 'icon' => null,
'uri' => 'auth/users', 'uri' => 'auth/users',
'extension' => '', 'extension' => '',
'show' => 1, 'show' => 1,
'created_at' => '2024-11-03 02:13:11', 'created_at' => '2024-11-03 02:13:11',
'updated_at' => '2024-11-10 23:38:06', 'updated_at' => '2024-11-19 13:55:26',
], ],
[ [
'id' => 4, 'id' => 4,
'parent_id' => 2, 'parent_id' => 2,
'order' => 30, 'order' => 28,
'title' => '角色', 'title' => '角色',
'icon' => null, 'icon' => null,
'uri' => 'auth/roles', 'uri' => 'auth/roles',
'extension' => '', 'extension' => '',
'show' => 1, 'show' => 1,
'created_at' => '2024-11-03 02:13:11', 'created_at' => '2024-11-03 02:13:11',
'updated_at' => '2024-11-10 23:38:06', 'updated_at' => '2024-11-19 13:55:26',
], ],
[ [
'id' => 5, 'id' => 5,
'parent_id' => 2, 'parent_id' => 2,
'order' => 31, 'order' => 29,
'title' => '权限', 'title' => '权限',
'icon' => null, 'icon' => null,
'uri' => 'auth/permissions', 'uri' => 'auth/permissions',
'extension' => '', 'extension' => '',
'show' => 1, 'show' => 1,
'created_at' => '2024-11-03 02:13:11', 'created_at' => '2024-11-03 02:13:11',
'updated_at' => '2024-11-10 23:38:06', 'updated_at' => '2024-11-19 13:55:26',
], ],
[ [
'id' => 6, 'id' => 6,
'parent_id' => 2, 'parent_id' => 2,
'order' => 32, 'order' => 30,
'title' => '菜单', 'title' => '菜单',
'icon' => null, 'icon' => null,
'uri' => 'auth/menu', 'uri' => 'auth/menu',
'extension' => '', 'extension' => '',
'show' => 1, 'show' => 1,
'created_at' => '2024-11-03 02:13:11', 'created_at' => '2024-11-03 02:13:11',
'updated_at' => '2024-11-10 23:38:06', 'updated_at' => '2024-11-19 13:55:26',
], ],
[ [
'id' => 7, 'id' => 7,
'parent_id' => 2, 'parent_id' => 2,
'order' => 33, 'order' => 31,
'title' => '扩展', 'title' => '扩展',
'icon' => null, 'icon' => null,
'uri' => 'auth/extensions', 'uri' => 'auth/extensions',
'extension' => '', 'extension' => '',
'show' => 1, 'show' => 1,
'created_at' => '2024-11-03 02:13:11', 'created_at' => '2024-11-03 02:13:11',
'updated_at' => '2024-11-10 23:38:06', 'updated_at' => '2024-11-19 13:55:26',
], ],
[ [
'id' => 8, 'id' => 8,
'parent_id' => 2, 'parent_id' => 2,
'order' => 34, 'order' => 32,
'title' => '操作日志', 'title' => '操作日志',
'icon' => 'fa-500px', 'icon' => 'fa-500px',
'uri' => 'auth/operation-logs', 'uri' => 'auth/operation-logs',
'extension' => 'dcat-admin.operation-log', 'extension' => 'dcat-admin.operation-log',
'show' => 1, 'show' => 1,
'created_at' => '2024-11-03 02:13:40', 'created_at' => '2024-11-03 02:13:40',
'updated_at' => '2024-11-10 23:38:06', 'updated_at' => '2024-11-19 13:55:26',
], ],
[ [
'id' => 9, 'id' => 9,
...@@ -154,146 +154,146 @@ public function run() ...@@ -154,146 +154,146 @@ public function run()
[ [
'id' => 12, 'id' => 12,
'parent_id' => 0, 'parent_id' => 0,
'order' => 6, 'order' => 7,
'title' => '问诊', 'title' => '问诊',
'icon' => 'fa-adjust', 'icon' => 'fa-adjust',
'uri' => null, 'uri' => null,
'extension' => '', 'extension' => '',
'show' => 1, 'show' => 1,
'created_at' => '2024-11-03 23:32:49', 'created_at' => '2024-11-03 23:32:49',
'updated_at' => '2024-11-06 16:21:16', 'updated_at' => '2024-11-19 13:55:26',
], ],
[ [
'id' => 13, 'id' => 13,
'parent_id' => 12, 'parent_id' => 12,
'order' => 7, 'order' => 8,
'title' => '问诊人列表', 'title' => '问诊人列表',
'icon' => null, 'icon' => null,
'uri' => 'patient', 'uri' => 'patient',
'extension' => '', 'extension' => '',
'show' => 1, 'show' => 1,
'created_at' => '2024-11-03 23:33:08', 'created_at' => '2024-11-03 23:33:08',
'updated_at' => '2024-11-06 16:21:16', 'updated_at' => '2024-11-19 13:55:26',
], ],
[ [
'id' => 14, 'id' => 14,
'parent_id' => 12, 'parent_id' => 12,
'order' => 8, 'order' => 9,
'title' => '问诊问题', 'title' => '问诊问题',
'icon' => null, 'icon' => null,
'uri' => 'inquiry', 'uri' => 'inquiry',
'extension' => '', 'extension' => '',
'show' => 1, 'show' => 1,
'created_at' => '2024-11-03 23:33:19', 'created_at' => '2024-11-03 23:33:19',
'updated_at' => '2024-11-06 16:21:16', 'updated_at' => '2024-11-19 13:55:26',
], ],
[ [
'id' => 15, 'id' => 15,
'parent_id' => 0, 'parent_id' => 0,
'order' => 9, 'order' => 10,
'title' => '医师', 'title' => '医师',
'icon' => 'fa-shirtsinbulk', 'icon' => 'fa-shirtsinbulk',
'uri' => null, 'uri' => null,
'extension' => '', 'extension' => '',
'show' => 1, 'show' => 1,
'created_at' => '2024-11-03 23:33:46', 'created_at' => '2024-11-03 23:33:46',
'updated_at' => '2024-11-06 16:21:16', 'updated_at' => '2024-11-19 13:55:26',
], ],
[ [
'id' => 16, 'id' => 16,
'parent_id' => 15, 'parent_id' => 15,
'order' => 10, 'order' => 11,
'title' => '医师列表', 'title' => '医师列表',
'icon' => null, 'icon' => null,
'uri' => 'doctor', 'uri' => 'doctor',
'extension' => '', 'extension' => '',
'show' => 1, 'show' => 1,
'created_at' => '2024-11-03 23:33:58', 'created_at' => '2024-11-03 23:33:58',
'updated_at' => '2024-11-06 16:21:16', 'updated_at' => '2024-11-19 13:55:26',
], ],
[ [
'id' => 17, 'id' => 17,
'parent_id' => 0, 'parent_id' => 0,
'order' => 12, 'order' => 13,
'title' => '药店', 'title' => '药店',
'icon' => 'fa-bank', 'icon' => 'fa-bank',
'uri' => null, 'uri' => null,
'extension' => '', 'extension' => '',
'show' => 1, 'show' => 1,
'created_at' => '2024-11-03 23:34:19', 'created_at' => '2024-11-03 23:34:19',
'updated_at' => '2024-11-06 16:21:16', 'updated_at' => '2024-11-19 13:55:26',
], ],
[ [
'id' => 18, 'id' => 18,
'parent_id' => 17, 'parent_id' => 17,
'order' => 13, 'order' => 14,
'title' => '药店列表', 'title' => '药店列表',
'icon' => null, 'icon' => null,
'uri' => 'pharmacy', 'uri' => 'pharmacy',
'extension' => '', 'extension' => '',
'show' => 1, 'show' => 1,
'created_at' => '2024-11-03 23:34:31', 'created_at' => '2024-11-03 23:34:31',
'updated_at' => '2024-11-06 16:21:16', 'updated_at' => '2024-11-19 13:55:26',
], ],
[ [
'id' => 19, 'id' => 19,
'parent_id' => 17, 'parent_id' => 17,
'order' => 14, 'order' => 15,
'title' => '药师列表', 'title' => '药师列表',
'icon' => null, 'icon' => null,
'uri' => 'pharmacist', 'uri' => 'pharmacist',
'extension' => '', 'extension' => '',
'show' => 1, 'show' => 1,
'created_at' => '2024-11-03 23:34:38', 'created_at' => '2024-11-03 23:34:38',
'updated_at' => '2024-11-06 16:21:16', 'updated_at' => '2024-11-19 13:55:26',
], ],
[ [
'id' => 20, 'id' => 20,
'parent_id' => 0, 'parent_id' => 0,
'order' => 16, 'order' => 17,
'title' => '处方', 'title' => '处方',
'icon' => 'fa-address-card-o', 'icon' => 'fa-address-card-o',
'uri' => null, 'uri' => null,
'extension' => '', 'extension' => '',
'show' => 1, 'show' => 1,
'created_at' => '2024-11-03 23:34:48', 'created_at' => '2024-11-03 23:34:48',
'updated_at' => '2024-11-06 16:21:16', 'updated_at' => '2024-11-19 13:55:26',
], ],
[ [
'id' => 21, 'id' => 21,
'parent_id' => 20, 'parent_id' => 20,
'order' => 17, 'order' => 18,
'title' => '处方列表', 'title' => '处方列表',
'icon' => null, 'icon' => null,
'uri' => 'prescription', 'uri' => 'prescription',
'extension' => '', 'extension' => '',
'show' => 1, 'show' => 1,
'created_at' => '2024-11-03 23:34:59', 'created_at' => '2024-11-03 23:34:59',
'updated_at' => '2024-11-10 23:37:51', 'updated_at' => '2024-11-19 13:55:26',
], ],
[ [
'id' => 22, 'id' => 22,
'parent_id' => 20, 'parent_id' => 20,
'order' => 18, 'order' => 19,
'title' => '处方日志', 'title' => '处方日志',
'icon' => null, 'icon' => null,
'uri' => 'prescription-log', 'uri' => 'prescription-log',
'extension' => '', 'extension' => '',
'show' => 1, 'show' => 1,
'created_at' => '2024-11-03 23:35:09', 'created_at' => '2024-11-03 23:35:09',
'updated_at' => '2024-11-10 23:37:59', 'updated_at' => '2024-11-19 13:55:26',
], ],
[ [
'id' => 23, 'id' => 23,
'parent_id' => 0, 'parent_id' => 0,
'order' => 21, 'order' => 22,
'title' => '药品管理', 'title' => '药品管理',
'icon' => 'fa-book', 'icon' => 'fa-book',
'uri' => 'pharmacy-drug', 'uri' => 'pharmacy-drug',
'extension' => '', 'extension' => '',
'show' => 1, 'show' => 1,
'created_at' => '2024-11-03 23:38:11', 'created_at' => '2024-11-03 23:38:11',
'updated_at' => '2024-11-11 00:37:44', 'updated_at' => '2024-11-19 13:55:26',
], ],
[ [
'id' => 25, 'id' => 25,
...@@ -310,14 +310,14 @@ public function run() ...@@ -310,14 +310,14 @@ public function run()
[ [
'id' => 27, 'id' => 27,
'parent_id' => 0, 'parent_id' => 0,
'order' => 25, 'order' => 24,
'title' => '处方打印', 'title' => '处方打印',
'icon' => 'fa-print', 'icon' => 'fa-print',
'uri' => 'prescription-print', 'uri' => 'prescription-print',
'extension' => '', 'extension' => '',
'show' => 1, 'show' => 1,
'created_at' => '2024-11-03 23:39:30', 'created_at' => '2024-11-03 23:39:30',
'updated_at' => '2024-11-11 07:33:27', 'updated_at' => '2024-11-19 13:55:26',
], ],
[ [
'id' => 29, 'id' => 29,
...@@ -334,62 +334,74 @@ public function run() ...@@ -334,62 +334,74 @@ public function run()
[ [
'id' => 30, 'id' => 30,
'parent_id' => 15, 'parent_id' => 15,
'order' => 11, 'order' => 12,
'title' => '医师纠错', 'title' => '医师纠错',
'icon' => null, 'icon' => null,
'uri' => 'doctor-correction', 'uri' => 'doctor-correction',
'extension' => '', 'extension' => '',
'show' => 1, 'show' => 1,
'created_at' => '2024-11-06 16:19:46', 'created_at' => '2024-11-06 16:19:46',
'updated_at' => '2024-11-10 16:22:24', 'updated_at' => '2024-11-19 13:55:26',
], ],
[ [
'id' => 31, 'id' => 31,
'parent_id' => 17, 'parent_id' => 17,
'order' => 15, 'order' => 16,
'title' => '药店纠错', 'title' => '药店纠错',
'icon' => null, 'icon' => null,
'uri' => 'pharmacy-correction', 'uri' => 'pharmacy-correction',
'extension' => '', 'extension' => '',
'show' => 1, 'show' => 1,
'created_at' => '2024-11-06 16:20:36', 'created_at' => '2024-11-06 16:20:36',
'updated_at' => '2024-11-10 16:22:34', 'updated_at' => '2024-11-19 13:55:26',
], ],
[ [
'id' => 32, 'id' => 32,
'parent_id' => 0, 'parent_id' => 0,
'order' => 19, 'order' => 20,
'title' => '系统', 'title' => '系统',
'icon' => 'fa-keyboard-o', 'icon' => 'fa-keyboard-o',
'uri' => null, 'uri' => null,
'extension' => '', 'extension' => '',
'show' => 1, 'show' => 1,
'created_at' => '2024-11-06 16:21:08', 'created_at' => '2024-11-06 16:21:08',
'updated_at' => '2024-11-06 16:23:42', 'updated_at' => '2024-11-19 13:55:26',
], ],
[ [
'id' => 34, 'id' => 34,
'parent_id' => 32, 'parent_id' => 32,
'order' => 20, 'order' => 21,
'title' => '设置', 'title' => '设置',
'icon' => null, 'icon' => null,
'uri' => 'site-config', 'uri' => 'site-config',
'extension' => '', 'extension' => '',
'show' => 1, 'show' => 1,
'created_at' => '2024-11-06 16:23:54', 'created_at' => '2024-11-06 16:23:54',
'updated_at' => '2024-11-10 23:38:06', 'updated_at' => '2024-11-19 13:55:26',
], ],
[ [
'id' => 35, 'id' => 35,
'parent_id' => 9, 'parent_id' => 9,
'order' => 35, 'order' => 6,
'title' => '药品单位', 'title' => '药品单位',
'icon' => null, 'icon' => null,
'uri' => 'drug-unit', 'uri' => 'drug-unit',
'extension' => '', 'extension' => '',
'show' => 1, 'show' => 1,
'created_at' => '2024-11-13 21:18:24', 'created_at' => '2024-11-13 21:18:24',
'updated_at' => '2024-11-13 21:18:24', 'updated_at' => '2024-11-19 13:55:26',
],
[
'id' => 36,
'parent_id' => 0,
'order' => 25,
'title' => '药店配置',
'icon' => 'fa-connectdevelop',
'uri' => 'pharmacy-config',
'extension' => '',
'show' => 1,
'created_at' => '2024-11-19 13:55:17',
'updated_at' => '2024-11-19 13:55:44',
], ],
] ]
); );
...@@ -403,10 +415,10 @@ public function run() ...@@ -403,10 +415,10 @@ public function run()
'slug' => 'auth-management', 'slug' => 'auth-management',
'http_method' => '', 'http_method' => '',
'http_path' => '', 'http_path' => '',
'order' => 24, 'order' => 25,
'parent_id' => 0, 'parent_id' => 0,
'created_at' => '2024-11-03 02:13:11', 'created_at' => '2024-11-03 02:13:11',
'updated_at' => '2024-11-13 22:40:04', 'updated_at' => '2024-11-19 15:37:55',
], ],
[ [
'id' => 2, 'id' => 2,
...@@ -414,10 +426,10 @@ public function run() ...@@ -414,10 +426,10 @@ public function run()
'slug' => 'users', 'slug' => 'users',
'http_method' => '', 'http_method' => '',
'http_path' => '/auth/users*', 'http_path' => '/auth/users*',
'order' => 25, 'order' => 26,
'parent_id' => 1, 'parent_id' => 1,
'created_at' => '2024-11-03 02:13:11', 'created_at' => '2024-11-03 02:13:11',
'updated_at' => '2024-11-13 22:40:04', 'updated_at' => '2024-11-19 15:37:55',
], ],
[ [
'id' => 3, 'id' => 3,
...@@ -425,10 +437,10 @@ public function run() ...@@ -425,10 +437,10 @@ public function run()
'slug' => 'roles', 'slug' => 'roles',
'http_method' => '', 'http_method' => '',
'http_path' => '/auth/roles*', 'http_path' => '/auth/roles*',
'order' => 26, 'order' => 27,
'parent_id' => 1, 'parent_id' => 1,
'created_at' => '2024-11-03 02:13:11', 'created_at' => '2024-11-03 02:13:11',
'updated_at' => '2024-11-13 22:40:04', 'updated_at' => '2024-11-19 15:37:55',
], ],
[ [
'id' => 4, 'id' => 4,
...@@ -436,10 +448,10 @@ public function run() ...@@ -436,10 +448,10 @@ public function run()
'slug' => 'permissions', 'slug' => 'permissions',
'http_method' => '', 'http_method' => '',
'http_path' => '/auth/permissions*', 'http_path' => '/auth/permissions*',
'order' => 27, 'order' => 28,
'parent_id' => 1, 'parent_id' => 1,
'created_at' => '2024-11-03 02:13:11', 'created_at' => '2024-11-03 02:13:11',
'updated_at' => '2024-11-13 22:40:04', 'updated_at' => '2024-11-19 15:37:55',
], ],
[ [
'id' => 5, 'id' => 5,
...@@ -447,10 +459,10 @@ public function run() ...@@ -447,10 +459,10 @@ public function run()
'slug' => 'menu', 'slug' => 'menu',
'http_method' => '', 'http_method' => '',
'http_path' => '/auth/menu*', 'http_path' => '/auth/menu*',
'order' => 28, 'order' => 29,
'parent_id' => 1, 'parent_id' => 1,
'created_at' => '2024-11-03 02:13:11', 'created_at' => '2024-11-03 02:13:11',
'updated_at' => '2024-11-13 22:40:04', 'updated_at' => '2024-11-19 15:37:55',
], ],
[ [
'id' => 6, 'id' => 6,
...@@ -458,10 +470,10 @@ public function run() ...@@ -458,10 +470,10 @@ public function run()
'slug' => 'extension', 'slug' => 'extension',
'http_method' => '', 'http_method' => '',
'http_path' => '/auth/extensions*', 'http_path' => '/auth/extensions*',
'order' => 29, 'order' => 30,
'parent_id' => 1, 'parent_id' => 1,
'created_at' => '2024-11-03 02:13:11', 'created_at' => '2024-11-03 02:13:11',
'updated_at' => '2024-11-13 22:40:04', 'updated_at' => '2024-11-19 15:37:55',
], ],
[ [
'id' => 7, 'id' => 7,
...@@ -469,10 +481,10 @@ public function run() ...@@ -469,10 +481,10 @@ public function run()
'slug' => 'auth.operationlog', 'slug' => 'auth.operationlog',
'http_method' => '', 'http_method' => '',
'http_path' => 'auth/operation-logs*', 'http_path' => 'auth/operation-logs*',
'order' => 30, 'order' => 31,
'parent_id' => 1, 'parent_id' => 1,
'created_at' => '2024-11-03 23:20:09', 'created_at' => '2024-11-03 23:20:09',
'updated_at' => '2024-11-13 22:40:04', 'updated_at' => '2024-11-19 15:37:55',
], ],
[ [
'id' => 8, 'id' => 8,
...@@ -727,6 +739,17 @@ public function run() ...@@ -727,6 +739,17 @@ public function run()
'created_at' => '2024-11-13 22:39:31', 'created_at' => '2024-11-13 22:39:31',
'updated_at' => '2024-11-13 22:40:04', 'updated_at' => '2024-11-13 22:40:04',
], ],
[
'id' => 31,
'name' => '药店配置[药店]',
'slug' => 'pharmacy-config',
'http_method' => '',
'http_path' => 'pharmacy-config*',
'order' => 24,
'parent_id' => 0,
'created_at' => '2024-11-19 15:37:48',
'updated_at' => '2024-11-19 15:38:05',
],
] ]
); );
...@@ -747,13 +770,6 @@ public function run() ...@@ -747,13 +770,6 @@ public function run()
'created_at' => '2024-11-11 00:40:57', 'created_at' => '2024-11-11 00:40:57',
'updated_at' => '2024-11-11 00:40:57', 'updated_at' => '2024-11-11 00:40:57',
], ],
[
'id' => 3,
'name' => '同知堂管理员',
'slug' => 'tzt.administrator',
'created_at' => '2024-11-13 22:44:24',
'updated_at' => '2024-11-13 22:45:18',
],
] ]
); );
...@@ -766,6 +782,12 @@ public function run() ...@@ -766,6 +782,12 @@ public function run()
'created_at' => '2024-11-03 02:13:44', 'created_at' => '2024-11-03 02:13:44',
'updated_at' => '2024-11-03 02:13:44', 'updated_at' => '2024-11-03 02:13:44',
], ],
[
'slug' => 'site_config',
'value' => '{"prescription_limit":"4","prescription_period_status":"1","prescription_period_start":"18:44","prescription_period_end":"18:44","prescription_limit_buy_7":"3","prescription_auto":1}',
'created_at' => '2024-11-18 18:44:46',
'updated_at' => '2024-11-18 18:44:46',
],
] ]
); );
...@@ -782,15 +804,6 @@ public function run() ...@@ -782,15 +804,6 @@ public function run()
'updated_at' => '2024-11-03 02:13:45', 'updated_at' => '2024-11-03 02:13:45',
], ],
[ [
'id' => 2,
'name' => 'guanguans.dcat-login-captcha',
'version' => '1.1.0',
'is_enabled' => 1,
'options' => null,
'created_at' => '2024-11-03 02:13:41',
'updated_at' => '2024-11-03 02:13:44',
],
[
'id' => 3, 'id' => 3,
'name' => 'sparkinzy.dcat-viewer', 'name' => 'sparkinzy.dcat-viewer',
'version' => '1.0.3', 'version' => '1.0.3',
...@@ -824,501 +837,6 @@ public function run() ...@@ -824,501 +837,6 @@ public function run()
'updated_at' => '2024-11-03 02:13:40', 'updated_at' => '2024-11-03 02:13:40',
], ],
[ [
'id' => 3,
'name' => 'guanguans.dcat-login-captcha',
'type' => 1,
'version' => '1.0.0',
'detail' => 'Initial release.',
'created_at' => '2024-11-03 02:13:41',
'updated_at' => '2024-11-03 02:13:41',
],
[
'id' => 4,
'name' => 'guanguans.dcat-login-captcha',
'type' => 1,
'version' => '1.0.1',
'detail' => 'Add default config file.',
'created_at' => '2024-11-03 02:13:41',
'updated_at' => '2024-11-03 02:13:41',
],
[
'id' => 5,
'name' => 'guanguans.dcat-login-captcha',
'type' => 1,
'version' => '1.0.1',
'detail' => 'Add annotation for facades.',
'created_at' => '2024-11-03 02:13:41',
'updated_at' => '2024-11-03 02:13:41',
],
[
'id' => 6,
'name' => 'guanguans.dcat-login-captcha',
'type' => 1,
'version' => '1.0.1',
'detail' => 'Optimize `login_captcha_check` function.',
'created_at' => '2024-11-03 02:13:41',
'updated_at' => '2024-11-03 02:13:41',
],
[
'id' => 7,
'name' => 'guanguans.dcat-login-captcha',
'type' => 1,
'version' => '1.0.1',
'detail' => 'Optimize captcha generate.',
'created_at' => '2024-11-03 02:13:41',
'updated_at' => '2024-11-03 02:13:41',
],
[
'id' => 8,
'name' => 'guanguans.dcat-login-captcha',
'type' => 1,
'version' => '1.0.1',
'detail' => 'Optimize get setting config.',
'created_at' => '2024-11-03 02:13:41',
'updated_at' => '2024-11-03 02:13:41',
],
[
'id' => 9,
'name' => 'guanguans.dcat-login-captcha',
'type' => 1,
'version' => '1.0.1',
'detail' => 'Rename `dcat_login_captcha_check`->`login_captcha_check`.',
'created_at' => '2024-11-03 02:13:41',
'updated_at' => '2024-11-03 02:13:41',
],
[
'id' => 10,
'name' => 'guanguans.dcat-login-captcha',
'type' => 1,
'version' => '1.0.1',
'detail' => 'Rename `dcat_login_captcha_url`->`login_captcha_url`.',
'created_at' => '2024-11-03 02:13:41',
'updated_at' => '2024-11-03 02:13:41',
],
[
'id' => 11,
'name' => 'guanguans.dcat-login-captcha',
'type' => 1,
'version' => '1.0.2',
'detail' => 'Add login_captcha_get function.',
'created_at' => '2024-11-03 02:13:41',
'updated_at' => '2024-11-03 02:13:41',
],
[
'id' => 12,
'name' => 'guanguans.dcat-login-captcha',
'type' => 1,
'version' => '1.0.2',
'detail' => 'Update lang files.',
'created_at' => '2024-11-03 02:13:41',
'updated_at' => '2024-11-03 02:13:41',
],
[
'id' => 13,
'name' => 'guanguans.dcat-login-captcha',
'type' => 1,
'version' => '1.0.2',
'detail' => 'Update extension alias and description.',
'created_at' => '2024-11-03 02:13:41',
'updated_at' => '2024-11-03 02:13:41',
],
[
'id' => 14,
'name' => 'guanguans.dcat-login-captcha',
'type' => 1,
'version' => '1.0.2',
'detail' => 'Optimize LoginCaptchaServiceProvider.',
'created_at' => '2024-11-03 02:13:41',
'updated_at' => '2024-11-03 02:13:41',
],
[
'id' => 15,
'name' => 'guanguans.dcat-login-captcha',
'type' => 1,
'version' => '1.0.2',
'detail' => 'Optimize setting form.',
'created_at' => '2024-11-03 02:13:41',
'updated_at' => '2024-11-03 02:13:41',
],
[
'id' => 16,
'name' => 'guanguans.dcat-login-captcha',
'type' => 1,
'version' => '1.0.3',
'detail' => 'Add CleanObContents Middleware.',
'created_at' => '2024-11-03 02:13:41',
'updated_at' => '2024-11-03 02:13:41',
],
[
'id' => 17,
'name' => 'guanguans.dcat-login-captcha',
'type' => 1,
'version' => '1.0.4',
'detail' => 'Add SetResponseContentType Middleware.',
'created_at' => '2024-11-03 02:13:41',
'updated_at' => '2024-11-03 02:13:41',
],
[
'id' => 18,
'name' => 'guanguans.dcat-login-captcha',
'type' => 1,
'version' => '1.0.4',
'detail' => 'Add content type setting config.',
'created_at' => '2024-11-03 02:13:41',
'updated_at' => '2024-11-03 02:13:41',
],
[
'id' => 19,
'name' => 'guanguans.dcat-login-captcha',
'type' => 1,
'version' => '1.0.5',
'detail' => 'Add BootingHandler.',
'created_at' => '2024-11-03 02:13:41',
'updated_at' => '2024-11-03 02:13:41',
],
[
'id' => 20,
'name' => 'guanguans.dcat-login-captcha',
'type' => 1,
'version' => '1.0.6',
'detail' => 'Rename src/BootingAdmin.php -> src/BootingHandler.php.',
'created_at' => '2024-11-03 02:13:41',
'updated_at' => '2024-11-03 02:13:41',
],
[
'id' => 21,
'name' => 'guanguans.dcat-login-captcha',
'type' => 1,
'version' => '1.0.6',
'detail' => 'Remove src/Http/Controllers/CaptchaController.php`.',
'created_at' => '2024-11-03 02:13:41',
'updated_at' => '2024-11-03 02:13:41',
],
[
'id' => 22,
'name' => 'guanguans.dcat-login-captcha',
'type' => 1,
'version' => '1.0.7',
'detail' => 'Optimize `buildCaptchaJsScript`.',
'created_at' => '2024-11-03 02:13:41',
'updated_at' => '2024-11-03 02:13:41',
],
[
'id' => 23,
'name' => 'guanguans.dcat-login-captcha',
'type' => 1,
'version' => '1.0.8',
'detail' => 'Fix cant match routing path(#8).',
'created_at' => '2024-11-03 02:13:41',
'updated_at' => '2024-11-03 02:13:41',
],
[
'id' => 24,
'name' => 'guanguans.dcat-login-captcha',
'type' => 1,
'version' => '1.0.9',
'detail' => 'Add parameters to the `SetResponseContentType` middleware.',
'created_at' => '2024-11-03 02:13:41',
'updated_at' => '2024-11-03 02:13:41',
],
[
'id' => 25,
'name' => 'guanguans.dcat-login-captcha',
'type' => 1,
'version' => '1.0.9',
'detail' => 'Update github config files.',
'created_at' => '2024-11-03 02:13:41',
'updated_at' => '2024-11-03 02:13:41',
],
[
'id' => 26,
'name' => 'guanguans.dcat-login-captcha',
'type' => 1,
'version' => '1.0.9',
'detail' => 'Update phpunit/phpunit requirement from ^7.0 || ^8.0 to ^7.0 || ^8.0 || ^9.0.',
'created_at' => '2024-11-03 02:13:41',
'updated_at' => '2024-11-03 02:13:41',
],
[
'id' => 27,
'name' => 'guanguans.dcat-login-captcha',
'type' => 1,
'version' => '1.0.9',
'detail' => 'Optimize booting `BootingHandler`.',
'created_at' => '2024-11-03 02:13:41',
'updated_at' => '2024-11-03 02:13:41',
],
[
'id' => 28,
'name' => 'guanguans.dcat-login-captcha',
'type' => 1,
'version' => '1.0.9',
'detail' => 'Optimize setting form .',
'created_at' => '2024-11-03 02:13:41',
'updated_at' => '2024-11-03 02:13:41',
],
[
'id' => 29,
'name' => 'guanguans.dcat-login-captcha',
'type' => 1,
'version' => '1.0.10',
'detail' => 'Compatible callback type.',
'created_at' => '2024-11-03 02:13:41',
'updated_at' => '2024-11-03 02:13:41',
],
[
'id' => 30,
'name' => 'guanguans.dcat-login-captcha',
'type' => 1,
'version' => '1.0.11',
'detail' => 'Rename `phrase_session_key` -> `captcha_phrase_session_key`.',
'created_at' => '2024-11-03 02:13:41',
'updated_at' => '2024-11-03 02:13:41',
],
[
'id' => 31,
'name' => 'guanguans.dcat-login-captcha',
'type' => 1,
'version' => '1.0.11',
'detail' => 'Generate captcha random url.',
'created_at' => '2024-11-03 02:13:41',
'updated_at' => '2024-11-03 02:13:41',
],
[
'id' => 32,
'name' => 'guanguans.dcat-login-captcha',
'type' => 1,
'version' => '1.0.11',
'detail' => 'Replace `Closure routing` -> `CaptchaController`.',
'created_at' => '2024-11-03 02:13:41',
'updated_at' => '2024-11-03 02:13:41',
],
[
'id' => 33,
'name' => 'guanguans.dcat-login-captcha',
'type' => 1,
'version' => '1.0.11',
'detail' => 'Bump actions/cache from 2 to 3.',
'created_at' => '2024-11-03 02:13:41',
'updated_at' => '2024-11-03 02:13:41',
],
[
'id' => 34,
'name' => 'guanguans.dcat-login-captcha',
'type' => 1,
'version' => '1.0.11',
'detail' => 'Bump actions/checkout from 2 to 3.',
'created_at' => '2024-11-03 02:13:41',
'updated_at' => '2024-11-03 02:13:41',
],
[
'id' => 35,
'name' => 'guanguans.dcat-login-captcha',
'type' => 1,
'version' => '1.0.11',
'detail' => 'Update overtrue/phplint requirement from ^2.3 || ^3.0 to ^2.3 || ^3.0 || ^4.0.',
'created_at' => '2024-11-03 02:13:41',
'updated_at' => '2024-11-03 02:13:41',
],
[
'id' => 36,
'name' => 'guanguans.dcat-login-captcha',
'type' => 1,
'version' => '1.0.12',
'detail' => 'Bump codecov/codecov-action from 2.1.0 to 3.',
'created_at' => '2024-11-03 02:13:41',
'updated_at' => '2024-11-03 02:13:41',
],
[
'id' => 37,
'name' => 'guanguans.dcat-login-captcha',
'type' => 1,
'version' => '1.0.12',
'detail' => 'Update author info.',
'created_at' => '2024-11-03 02:13:41',
'updated_at' => '2024-11-03 02:13:41',
],
[
'id' => 38,
'name' => 'guanguans.dcat-login-captcha',
'type' => 1,
'version' => '1.0.13',
'detail' => 'Update JS.',
'created_at' => '2024-11-03 02:13:41',
'updated_at' => '2024-11-03 02:13:41',
],
[
'id' => 39,
'name' => 'guanguans.dcat-login-captcha',
'type' => 1,
'version' => '1.0.14',
'detail' => 'Rename login_captcha_get -> login_captcha_content.',
'created_at' => '2024-11-03 02:13:41',
'updated_at' => '2024-11-03 02:13:41',
],
[
'id' => 40,
'name' => 'guanguans.dcat-login-captcha',
'type' => 1,
'version' => '1.0.14',
'detail' => 'Update github config files.',
'created_at' => '2024-11-03 02:13:41',
'updated_at' => '2024-11-03 02:13:41',
],
[
'id' => 41,
'name' => 'guanguans.dcat-login-captcha',
'type' => 1,
'version' => '1.0.15',
'detail' => 'Fix captcha check.',
'created_at' => '2024-11-03 02:13:41',
'updated_at' => '2024-11-03 02:13:41',
],
[
'id' => 42,
'name' => 'guanguans.dcat-login-captcha',
'type' => 1,
'version' => '1.0.16',
'detail' => 'Add migration files.',
'created_at' => '2024-11-03 02:13:41',
'updated_at' => '2024-11-03 02:13:41',
],
[
'id' => 43,
'name' => 'guanguans.dcat-login-captcha',
'type' => 1,
'version' => '1.0.17',
'detail' => 'Fix migration file name.',
'created_at' => '2024-11-03 02:13:41',
'updated_at' => '2024-11-03 02:13:41',
],
[
'id' => 44,
'name' => 'guanguans.dcat-login-captcha',
'type' => 1,
'version' => '1.0.18',
'detail' => 'Update to single action controller.',
'created_at' => '2024-11-03 02:13:41',
'updated_at' => '2024-11-03 02:13:41',
],
[
'id' => 45,
'name' => 'guanguans.dcat-login-captcha',
'type' => 1,
'version' => '1.0.18',
'detail' => 'Fix setting.',
'created_at' => '2024-11-03 02:13:41',
'updated_at' => '2024-11-03 02:13:41',
],
[
'id' => 46,
'name' => 'guanguans.dcat-login-captcha',
'type' => 1,
'version' => '1.0.18',
'detail' => 'Optimize migration file.',
'created_at' => '2024-11-03 02:13:41',
'updated_at' => '2024-11-03 02:13:41',
],
[
'id' => 47,
'name' => 'guanguans.dcat-login-captcha',
'type' => 1,
'version' => '1.0.19',
'detail' => 'Fix loading config.',
'created_at' => '2024-11-03 02:13:41',
'updated_at' => '2024-11-03 02:13:41',
],
[
'id' => 48,
'name' => 'guanguans.dcat-login-captcha',
'type' => 1,
'version' => '1.0.19',
'detail' => 'Remove version update migration.',
'created_at' => '2024-11-03 02:13:41',
'updated_at' => '2024-11-03 02:13:41',
],
[
'id' => 49,
'name' => 'guanguans.dcat-login-captcha',
'type' => 1,
'version' => '1.0.19',
'detail' => 'Cancel service late registration.',
'created_at' => '2024-11-03 02:13:41',
'updated_at' => '2024-11-03 02:13:41',
],
[
'id' => 50,
'name' => 'guanguans.dcat-login-captcha',
'type' => 1,
'version' => '1.1.0',
'detail' => 'chore(deps): update overtrue/phplint to support more versions.',
'created_at' => '2024-11-03 02:13:41',
'updated_at' => '2024-11-03 02:13:41',
],
[
'id' => 51,
'name' => 'guanguans.dcat-login-captcha',
'type' => 1,
'version' => '1.1.0',
'detail' => 'update LoginCaptchaServiceProvider.php to merge config correctly(#27).',
'created_at' => '2024-11-03 02:13:41',
'updated_at' => '2024-11-03 02:13:41',
],
[
'id' => 52,
'name' => 'guanguans.dcat-login-captcha',
'type' => 1,
'version' => '1.1.0',
'detail' => 'Bump dependabot/fetch-metadata from 1.3.5 to 1.3.6.',
'created_at' => '2024-11-03 02:13:41',
'updated_at' => '2024-11-03 02:13:41',
],
[
'id' => 53,
'name' => 'guanguans.dcat-login-captcha',
'type' => 1,
'version' => '1.1.0',
'detail' => 'Bump actions/stale from 6 to 7.',
'created_at' => '2024-11-03 02:13:41',
'updated_at' => '2024-11-03 02:13:41',
],
[
'id' => 54,
'name' => 'guanguans.dcat-login-captcha',
'type' => 1,
'version' => '1.1.0',
'detail' => 'Update vimeo/psalm requirement from ^4.0 to ^4.0 || ^5.0.',
'created_at' => '2024-11-03 02:13:41',
'updated_at' => '2024-11-03 02:13:41',
],
[
'id' => 55,
'name' => 'guanguans.dcat-login-captcha',
'type' => 1,
'version' => '1.1.0',
'detail' => 'Bump dependabot/fetch-metadata from 1.3.4 to 1.3.5.',
'created_at' => '2024-11-03 02:13:41',
'updated_at' => '2024-11-03 02:13:41',
],
[
'id' => 56,
'name' => 'guanguans.dcat-login-captcha',
'type' => 1,
'version' => '1.1.0',
'detail' => 'Bump dependabot/fetch-metadata from 1.3.3 to 1.3.4.',
'created_at' => '2024-11-03 02:13:41',
'updated_at' => '2024-11-03 02:13:41',
],
[
'id' => 57,
'name' => 'guanguans.dcat-login-captcha',
'type' => 1,
'version' => '1.1.0',
'detail' => 'Bump actions/stale from 5 to 6.',
'created_at' => '2024-11-03 02:13:41',
'updated_at' => '2024-11-03 02:13:41',
],
[
'id' => 58, 'id' => 58,
'name' => 'sparkinzy.dcat-viewer', 'name' => 'sparkinzy.dcat-viewer',
'type' => 1, 'type' => 1,
...@@ -1546,6 +1064,12 @@ public function run() ...@@ -1546,6 +1064,12 @@ public function run()
'updated_at' => '2024-11-11 00:40:57', 'updated_at' => '2024-11-11 00:40:57',
], ],
[ [
'role_id' => 2,
'menu_id' => 36,
'created_at' => '2024-11-19 15:38:21',
'updated_at' => '2024-11-19 15:38:21',
],
[
'role_id' => 3, 'role_id' => 3,
'menu_id' => 9, 'menu_id' => 9,
'created_at' => '2024-11-13 22:44:24', 'created_at' => '2024-11-13 22:44:24',
...@@ -1810,88 +1334,10 @@ public function run() ...@@ -1810,88 +1334,10 @@ public function run()
'updated_at' => '2024-11-13 22:40:14', 'updated_at' => '2024-11-13 22:40:14',
], ],
[ [
'role_id' => 3, 'role_id' => 2,
'permission_id' => 9, 'permission_id' => 31,
'created_at' => '2024-11-13 22:44:24', 'created_at' => '2024-11-19 15:38:21',
'updated_at' => '2024-11-13 22:44:24', 'updated_at' => '2024-11-19 15:38:21',
],
[
'role_id' => 3,
'permission_id' => 10,
'created_at' => '2024-11-13 22:44:24',
'updated_at' => '2024-11-13 22:44:24',
],
[
'role_id' => 3,
'permission_id' => 11,
'created_at' => '2024-11-13 22:44:24',
'updated_at' => '2024-11-13 22:44:24',
],
[
'role_id' => 3,
'permission_id' => 12,
'created_at' => '2024-11-13 22:44:24',
'updated_at' => '2024-11-13 22:44:24',
],
[
'role_id' => 3,
'permission_id' => 14,
'created_at' => '2024-11-13 22:44:24',
'updated_at' => '2024-11-13 22:44:24',
],
[
'role_id' => 3,
'permission_id' => 15,
'created_at' => '2024-11-13 22:44:24',
'updated_at' => '2024-11-13 22:44:24',
],
[
'role_id' => 3,
'permission_id' => 17,
'created_at' => '2024-11-13 22:44:24',
'updated_at' => '2024-11-13 22:44:24',
],
[
'role_id' => 3,
'permission_id' => 18,
'created_at' => '2024-11-13 22:44:24',
'updated_at' => '2024-11-13 22:44:24',
],
[
'role_id' => 3,
'permission_id' => 20,
'created_at' => '2024-11-13 22:44:24',
'updated_at' => '2024-11-13 22:44:24',
],
[
'role_id' => 3,
'permission_id' => 21,
'created_at' => '2024-11-13 22:44:24',
'updated_at' => '2024-11-13 22:44:24',
],
[
'role_id' => 3,
'permission_id' => 22,
'created_at' => '2024-11-13 22:44:24',
'updated_at' => '2024-11-13 22:44:24',
],
[
'role_id' => 3,
'permission_id' => 24,
'created_at' => '2024-11-13 22:44:24',
'updated_at' => '2024-11-13 22:44:24',
],
[
'role_id' => 3,
'permission_id' => 25,
'created_at' => '2024-11-13 22:44:24',
'updated_at' => '2024-11-13 22:44:24',
],
[
'role_id' => 3,
'permission_id' => 27,
'created_at' => '2024-11-13 22:44:24',
'updated_at' => '2024-11-13 22:44:24',
], ],
] ]
); );
......
...@@ -30,6 +30,7 @@ ...@@ -30,6 +30,7 @@
'open_source' => '开方来源', 'open_source' => '开方来源',
'prescription_at' => '开方时间', 'prescription_at' => '开方时间',
'review_at' => '审方时间', 'review_at' => '审方时间',
'is_abnormal' => '异常处方单',
], ],
'options' => [ '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