Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
赵增煜
/
tzt-admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
1ef99d93
authored
Nov 11, 2024
by
lujunyi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
空打印页面
parent
2115f851
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
34 additions
and
2 deletions
+34
-2
app/Admin/Controllers/PrescriptionPrintController.php
+16
-0
database/seeders/AdminTablesSeeder.php
+2
-2
resources/views/admin/prescription-print.blade.php
+16
-0
No files found.
app/Admin/Controllers/PrescriptionPrintController.php
0 → 100644
View file @
1ef99d93
<?php
namespace
App\Admin\Controllers
;
use
Dcat\Admin\Http\Controllers\AdminController
;
use
Dcat\Admin\Layout\Content
;
class
PrescriptionPrintController
extends
AdminController
{
public
function
index
(
Content
$content
)
:
Content
{
return
$content
->
header
(
'处方打印'
)
->
description
(
''
)
->
view
(
'admin.prescription-print'
);
}
}
database/seeders/AdminTablesSeeder.php
View file @
1ef99d93
...
@@ -313,11 +313,11 @@ public function run()
...
@@ -313,11 +313,11 @@ public function run()
'order'
=>
25
,
'order'
=>
25
,
'title'
=>
'处方打印'
,
'title'
=>
'处方打印'
,
'icon'
=>
'fa-print'
,
'icon'
=>
'fa-print'
,
'uri'
=>
'p
harmacy
-print'
,
'uri'
=>
'p
rescription
-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 0
0:38:4
7'
,
'updated_at'
=>
'2024-11-11 0
7:33:2
7'
,
],
],
[
[
'id'
=>
29
,
'id'
=>
29
,
...
...
resources/views/admin/prescription-print.blade.php
0 → 100644
View file @
1ef99d93
<!-- resources/views/admin/prescription-print.blade.php -->
<div
class=
"box box-primary"
>
<div
class=
"box-header with-border"
>
<h3
class=
"box-title"
>
处方单查询
</h3>
</div>
<div
class=
"box-body"
>
<form
action=
"{{ admin_url('prescription/search') }}"
method=
"get"
>
<div
class=
"form-group"
>
<label
for=
"prescription_code"
>
处方单编码
</label>
<input
type=
"text"
class=
"form-control"
id=
"prescription_code"
name=
"code"
placeholder=
"请输入或扫描处方单编码"
>
</div>
<button
type=
"submit"
class=
"btn btn-primary"
>
搜索
</button>
</form>
</div>
</div>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment