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
49e212fc
authored
Dec 09, 2024
by
赵增煜
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加删除
parent
1a28510f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
app/Admin/Controllers/DosageController.php
+1
-1
app/Admin/Controllers/DrugController.php
+1
-1
app/Admin/Controllers/PharmacyDrugController.php
+1
-1
No files found.
app/Admin/Controllers/DosageController.php
View file @
49e212fc
...
@@ -42,7 +42,7 @@ protected function grid()
...
@@ -42,7 +42,7 @@ protected function grid()
});
});
// 行按钮控制
// 行按钮控制
$grid
->
disableDeleteButton
();
// 禁用删除按钮
//
$grid->disableDeleteButton(); // 禁用删除按钮
$grid
->
disableViewButton
();
// 禁用详情按钮
$grid
->
disableViewButton
();
// 禁用详情按钮
// 工具栏按钮控制
// 工具栏按钮控制
...
...
app/Admin/Controllers/DrugController.php
View file @
49e212fc
...
@@ -84,7 +84,7 @@ protected function grid()
...
@@ -84,7 +84,7 @@ protected function grid()
$grid
->
setActionClass
(
Grid\Displayers\Actions
::
class
);
$grid
->
setActionClass
(
Grid\Displayers\Actions
::
class
);
// 行按钮控制
// 行按钮控制
$grid
->
disableDeleteButton
();
// 禁用删除按钮
//
$grid->disableDeleteButton(); // 禁用删除按钮
$grid
->
disableViewButton
();
// 禁用详情按钮
$grid
->
disableViewButton
();
// 禁用详情按钮
// 工具栏按钮控制
// 工具栏按钮控制
...
...
app/Admin/Controllers/PharmacyDrugController.php
View file @
49e212fc
...
@@ -133,7 +133,7 @@ protected function form()
...
@@ -133,7 +133,7 @@ protected function form()
});
});
// 右上角按钮控制
// 右上角按钮控制
$form
->
disableDeleteButton
();
// 去掉删除按钮
#
$form->disableDeleteButton(); // 去掉删除按钮
$form
->
disableViewButton
();
// 去掉跳转详情页按钮
$form
->
disableViewButton
();
// 去掉跳转详情页按钮
});
});
}
}
...
...
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