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
40beae4c
authored
Jan 03, 2025
by
赵增煜
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
批准文号
parent
5d2260c6
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
app/Admin/Controllers/PharmacyDrugController.php
+1
-0
app/Admin/Renderable/DrugTable.php
+1
-0
No files found.
app/Admin/Controllers/PharmacyDrugController.php
View file @
40beae4c
...
@@ -62,6 +62,7 @@ protected function grid()
...
@@ -62,6 +62,7 @@ protected function grid()
$filter
->
like
(
'drug.name'
,
'药品名称'
)
->
width
(
3
);
$filter
->
like
(
'drug.name'
,
'药品名称'
)
->
width
(
3
);
$filter
->
like
(
'drug.code'
,
'药品简码'
)
->
width
(
3
);
$filter
->
like
(
'drug.code'
,
'药品简码'
)
->
width
(
3
);
$filter
->
like
(
'drug.factory'
,
'生产厂家'
)
->
width
(
3
);
$filter
->
like
(
'drug.factory'
,
'生产厂家'
)
->
width
(
3
);
$filter
->
like
(
'drug.approval_no'
,
'批准文号'
)
->
width
(
3
);
$filter
->
in
(
'drug.drug_type'
,
'药品类型'
)
->
checkbox
(
DrugModel
::
DRUG_TYPE_MAP
)
->
width
(
3
);
$filter
->
in
(
'drug.drug_type'
,
'药品类型'
)
->
checkbox
(
DrugModel
::
DRUG_TYPE_MAP
)
->
width
(
3
);
});
});
...
...
app/Admin/Renderable/DrugTable.php
View file @
40beae4c
...
@@ -37,6 +37,7 @@ public function grid(): Grid
...
@@ -37,6 +37,7 @@ public function grid(): Grid
$filter
->
like
(
'code'
,
'简码'
)
->
width
(
3
);
$filter
->
like
(
'code'
,
'简码'
)
->
width
(
3
);
$filter
->
like
(
'factory'
,
'生产企业'
)
->
width
(
3
);
$filter
->
like
(
'factory'
,
'生产企业'
)
->
width
(
3
);
$filter
->
like
(
'standard_code'
,
'本位码'
)
->
width
(
3
);
$filter
->
like
(
'standard_code'
,
'本位码'
)
->
width
(
3
);
$filter
->
like
(
'approval_no'
,
'批准文号'
)
->
width
(
3
);
$filter
->
in
(
'drug_type'
,
'药品类型'
)
->
checkbox
(
DrugModel
::
DRUG_TYPE_MAP
)
->
width
(
3
);
$filter
->
in
(
'drug_type'
,
'药品类型'
)
->
checkbox
(
DrugModel
::
DRUG_TYPE_MAP
)
->
width
(
3
);
$filter
->
in
(
'is_foreign'
,
'是否进口药'
)
->
checkbox
(
DrugModel
::
FOREIGN_MAP
)
->
width
(
3
);
$filter
->
in
(
'is_foreign'
,
'是否进口药'
)
->
checkbox
(
DrugModel
::
FOREIGN_MAP
)
->
width
(
3
);
$filter
->
in
(
'is_rx'
,
'是否处方药'
)
->
checkbox
(
DrugModel
::
RX_MAP
)
->
width
(
3
);
$filter
->
in
(
'is_rx'
,
'是否处方药'
)
->
checkbox
(
DrugModel
::
RX_MAP
)
->
width
(
3
);
...
...
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