Commit c967854b by 赵增煜

合并异常

parents 8085c08b 3870e3e0
......@@ -3,6 +3,7 @@
namespace App\Admin\Controllers;
use App\Admin\Extensions\Form\PharmacyConfigForm;
use Dcat\Admin\Admin;
use Dcat\Admin\Http\Controllers\AdminController;
use Dcat\Admin\Layout\Content;
......@@ -11,6 +12,11 @@ class PharmacyConfigController extends AdminController
{
public function index(Content $content): Content
{
// 权限判断和数据过滤
if (! Admin::user()->isRole('pharmacy')) {
admin_exit(Content::make()->withError(trans('admin.deny')));
}
return $content->header('药店配置')
->description('')
->body(new PharmacyConfigForm());
......
......@@ -53,6 +53,7 @@ protected function grid()
// $grid->column('pharmacist_id');
// $grid->column('pharmacist_license_number');
$grid->column('created_at');
$grid->column('is_abnormal')->using([0 => '否', 1 => '是']);
// $grid->column('updated_at')->sortable();
$grid->filter(function (Grid\Filter $filter) {
......
......@@ -5,6 +5,7 @@
use App\Models\PatientModel;
use App\Models\PharmacyDrugModel;
use App\Models\PrescriptionModel;
use Dcat\Admin\Admin;
use Dcat\Admin\Http\Controllers\AdminController;
use Dcat\Admin\Layout\Content;
use Illuminate\Support\Facades\Storage;
......@@ -16,6 +17,11 @@ class PrescriptionPrintController extends AdminController
// 处方打印首页,显示输入框,可以搜索处方
public function index(Content $content): Content
{
// 权限判断和数据过滤
if (! Admin::user()->isRole('pharmacy')) {
admin_exit(Content::make()->withError(trans('admin.deny')));
}
// 加载处方打印页面
return $content->header('处方打印')
->description('根据处方编号搜索并打印处方')
......@@ -27,13 +33,19 @@ public function index(Content $content): Content
*/
public function search()
{
if (! Admin::user()->isRole('pharmacy')) {
return response()->json([
'status' => false,
'message' => '您没有权限~',
]);
}
$prescriptionNo = request('prescription_no');
$isEseal = request('is_eseal', 0); // 是否打印电子印章,实时生成
if (empty($prescriptionNo)) {
return response()->json([
'status' => false,
'message' => '请输入处方编号',
'message' => '请输入处方编号~',
]);
}
......
......@@ -2,22 +2,22 @@
namespace App\Admin\Extensions\Form;
use App\Models\PharmacyModel;
use Dcat\Admin\Admin;
use Dcat\Admin\Widgets\Form;
// 全局设置
// 药店设置
class PharmacyConfigForm extends Form
{
public function handle(array $input)
{
$data = [
'site_config' => $input,
];
admin_setting($data);
$isAuto = $input['is_auto'] == 1 ? 1 : 0;
$pharmacyId = Admin::user()->pharmacy_id;
PharmacyModel::where('id', $pharmacyId)->update(['is_auto' => $isAuto]);
return $this
->response()
->location('site-config')
->location('pharmacy-config')
->success('设置成功');
}
......@@ -26,10 +26,9 @@ public function handle(array $input)
*/
public function form()
{
$data = admin_setting('site_config');
$data = json_decode($data, true);
$this->switch('prescription_auto', '医师自动开方');
$pharmacyId = Admin::user()->pharmacy_id;
$isAuto = PharmacyModel::where('id', $pharmacyId)->value('is_auto');
$this->switch('is_auto', '药店自动开方')->default($isAuto);
$this->disableResetButton();
}
......
......@@ -120,12 +120,17 @@ public function create(Request $request)
$prescription->diagnosis_name = DiagnosiModel::find($diagnosis_id)->value('name');
// 问诊问题
$inquiry_info = [];
$is_abnormal = 0; // 是否异常处方单,只有一个问题回答是就是异常
foreach ($inquirys as $inquiry) {
$inquiry_info[] = [
'inquiry_id' => $inquiry['inquiry_id'],
'question' => InquiryModel::find($inquiry['inquiry_id'])->value('question'),
'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);
// 用药信息
......@@ -196,6 +201,8 @@ public function create(Request $request)
$prescription->updated_at = Carbon::now()->subMinutes(15);
$prescription->prescription_at = $prescription_at;
$prescription->review_at = $review_at;
$prescription->is_abnormal = $is_abnormal;
$prescription_number = 0;
if ($prescription->save()) {
$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()
[
'id' => 2,
'parent_id' => 0,
'order' => 28,
'order' => 26,
'title' => '权限管理',
'icon' => 'feather icon-settings',
'uri' => null,
'extension' => '',
'show' => 1,
'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,
'parent_id' => 2,
'order' => 29,
'order' => 27,
'title' => '管理员',
'icon' => null,
'uri' => 'auth/users',
'extension' => '',
'show' => 1,
'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,
'parent_id' => 2,
'order' => 30,
'order' => 28,
'title' => '角色',
'icon' => null,
'uri' => 'auth/roles',
'extension' => '',
'show' => 1,
'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,
'parent_id' => 2,
'order' => 31,
'order' => 29,
'title' => '权限',
'icon' => null,
'uri' => 'auth/permissions',
'extension' => '',
'show' => 1,
'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,
'parent_id' => 2,
'order' => 32,
'order' => 30,
'title' => '菜单',
'icon' => null,
'uri' => 'auth/menu',
'extension' => '',
'show' => 1,
'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,
'parent_id' => 2,
'order' => 33,
'order' => 31,
'title' => '扩展',
'icon' => null,
'uri' => 'auth/extensions',
'extension' => '',
'show' => 1,
'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,
'parent_id' => 2,
'order' => 34,
'order' => 32,
'title' => '操作日志',
'icon' => 'fa-500px',
'uri' => 'auth/operation-logs',
'extension' => 'dcat-admin.operation-log',
'show' => 1,
'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,
......@@ -154,146 +154,146 @@ public function run()
[
'id' => 12,
'parent_id' => 0,
'order' => 6,
'order' => 7,
'title' => '问诊',
'icon' => 'fa-adjust',
'uri' => null,
'extension' => '',
'show' => 1,
'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,
'parent_id' => 12,
'order' => 7,
'order' => 8,
'title' => '问诊人列表',
'icon' => null,
'uri' => 'patient',
'extension' => '',
'show' => 1,
'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,
'parent_id' => 12,
'order' => 8,
'order' => 9,
'title' => '问诊问题',
'icon' => null,
'uri' => 'inquiry',
'extension' => '',
'show' => 1,
'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,
'parent_id' => 0,
'order' => 9,
'order' => 10,
'title' => '医师',
'icon' => 'fa-shirtsinbulk',
'uri' => null,
'extension' => '',
'show' => 1,
'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,
'parent_id' => 15,
'order' => 10,
'order' => 11,
'title' => '医师列表',
'icon' => null,
'uri' => 'doctor',
'extension' => '',
'show' => 1,
'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,
'parent_id' => 0,
'order' => 12,
'order' => 13,
'title' => '药店',
'icon' => 'fa-bank',
'uri' => null,
'extension' => '',
'show' => 1,
'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,
'parent_id' => 17,
'order' => 13,
'order' => 14,
'title' => '药店列表',
'icon' => null,
'uri' => 'pharmacy',
'extension' => '',
'show' => 1,
'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,
'parent_id' => 17,
'order' => 14,
'order' => 15,
'title' => '药师列表',
'icon' => null,
'uri' => 'pharmacist',
'extension' => '',
'show' => 1,
'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,
'parent_id' => 0,
'order' => 16,
'order' => 17,
'title' => '处方',
'icon' => 'fa-address-card-o',
'uri' => null,
'extension' => '',
'show' => 1,
'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,
'parent_id' => 20,
'order' => 17,
'order' => 18,
'title' => '处方列表',
'icon' => null,
'uri' => 'prescription',
'extension' => '',
'show' => 1,
'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,
'parent_id' => 20,
'order' => 18,
'order' => 19,
'title' => '处方日志',
'icon' => null,
'uri' => 'prescription-log',
'extension' => '',
'show' => 1,
'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,
'parent_id' => 0,
'order' => 21,
'order' => 22,
'title' => '药品管理',
'icon' => 'fa-book',
'uri' => 'pharmacy-drug',
'extension' => '',
'show' => 1,
'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,
......@@ -310,14 +310,14 @@ public function run()
[
'id' => 27,
'parent_id' => 0,
'order' => 25,
'order' => 24,
'title' => '处方打印',
'icon' => 'fa-print',
'uri' => 'prescription-print',
'extension' => '',
'show' => 1,
'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,
......@@ -334,62 +334,74 @@ public function run()
[
'id' => 30,
'parent_id' => 15,
'order' => 11,
'order' => 12,
'title' => '医师纠错',
'icon' => null,
'uri' => 'doctor-correction',
'extension' => '',
'show' => 1,
'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,
'parent_id' => 17,
'order' => 15,
'order' => 16,
'title' => '药店纠错',
'icon' => null,
'uri' => 'pharmacy-correction',
'extension' => '',
'show' => 1,
'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,
'parent_id' => 0,
'order' => 19,
'order' => 20,
'title' => '系统',
'icon' => 'fa-keyboard-o',
'uri' => null,
'extension' => '',
'show' => 1,
'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,
'parent_id' => 32,
'order' => 20,
'order' => 21,
'title' => '设置',
'icon' => null,
'uri' => 'site-config',
'extension' => '',
'show' => 1,
'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,
'parent_id' => 9,
'order' => 35,
'order' => 6,
'title' => '药品单位',
'icon' => null,
'uri' => 'drug-unit',
'extension' => '',
'show' => 1,
'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()
'slug' => 'auth-management',
'http_method' => '',
'http_path' => '',
'order' => 24,
'order' => 25,
'parent_id' => 0,
'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,
......@@ -414,10 +426,10 @@ public function run()
'slug' => 'users',
'http_method' => '',
'http_path' => '/auth/users*',
'order' => 25,
'order' => 26,
'parent_id' => 1,
'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,
......@@ -425,10 +437,10 @@ public function run()
'slug' => 'roles',
'http_method' => '',
'http_path' => '/auth/roles*',
'order' => 26,
'order' => 27,
'parent_id' => 1,
'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,
......@@ -436,10 +448,10 @@ public function run()
'slug' => 'permissions',
'http_method' => '',
'http_path' => '/auth/permissions*',
'order' => 27,
'order' => 28,
'parent_id' => 1,
'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,
......@@ -447,10 +459,10 @@ public function run()
'slug' => 'menu',
'http_method' => '',
'http_path' => '/auth/menu*',
'order' => 28,
'order' => 29,
'parent_id' => 1,
'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,
......@@ -458,10 +470,10 @@ public function run()
'slug' => 'extension',
'http_method' => '',
'http_path' => '/auth/extensions*',
'order' => 29,
'order' => 30,
'parent_id' => 1,
'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,
......@@ -469,10 +481,10 @@ public function run()
'slug' => 'auth.operationlog',
'http_method' => '',
'http_path' => 'auth/operation-logs*',
'order' => 30,
'order' => 31,
'parent_id' => 1,
'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,
......@@ -727,6 +739,17 @@ public function run()
'created_at' => '2024-11-13 22:39:31',
'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()
'created_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()
'created_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()
'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,
'name' => 'sparkinzy.dcat-viewer',
'version' => '1.0.3',
......@@ -824,501 +837,6 @@ public function run()
'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,
'name' => 'sparkinzy.dcat-viewer',
'type' => 1,
......@@ -1546,6 +1064,12 @@ public function run()
'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,
'menu_id' => 9,
'created_at' => '2024-11-13 22:44:24',
......@@ -1810,88 +1334,10 @@ public function run()
'updated_at' => '2024-11-13 22:40:14',
],
[
'role_id' => 3,
'permission_id' => 9,
'created_at' => '2024-11-13 22:44:24',
'updated_at' => '2024-11-13 22:44:24',
],
[
'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',
'role_id' => 2,
'permission_id' => 31,
'created_at' => '2024-11-19 15:38:21',
'updated_at' => '2024-11-19 15:38:21',
],
]
);
......
......@@ -30,6 +30,7 @@
'open_source' => '开方来源',
'prescription_at' => '开方时间',
'review_at' => '审方时间',
'is_abnormal' => '异常处方单',
],
'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