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
3d4f3fe1
authored
Nov 30, 2024
by
lujunyi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
经纬度改为输入框
parent
e0705467
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
app/Admin/Controllers/PharmacyController.php
+2
-2
No files found.
app/Admin/Controllers/PharmacyController.php
View file @
3d4f3fe1
...
@@ -85,7 +85,6 @@ protected function grid()
...
@@ -85,7 +85,6 @@ protected function grid()
$filter
->
in
(
'is_auto'
,
'自动审方'
)
->
checkbox
(
PharmacyModel
::
IS_AUTO_MAP
)
->
width
(
3
);
$filter
->
in
(
'is_auto'
,
'自动审方'
)
->
checkbox
(
PharmacyModel
::
IS_AUTO_MAP
)
->
width
(
3
);
});
});
$grid
->
setActionClass
(
Grid\Displayers\Actions
::
class
);
// 行按钮控制
// 行按钮控制
// $grid->disableDeleteButton(); // 禁用删除按钮
// $grid->disableDeleteButton(); // 禁用删除按钮
$grid
->
disableViewButton
();
// 禁用详情按钮
$grid
->
disableViewButton
();
// 禁用详情按钮
...
@@ -147,7 +146,8 @@ protected function form()
...
@@ -147,7 +146,8 @@ protected function form()
}
}
});
});
$form
->
timeRange
(
'business_start'
,
'business_end'
,
'营业时间'
)
->
required
();
$form
->
timeRange
(
'business_start'
,
'business_end'
,
'营业时间'
)
->
required
();
$form
->
map
(
'lat'
,
'lng'
,
'经纬度坐标'
);
$form
->
text
(
'lat'
)
->
help
(
'举例:30.43836。江苏的纬度范围是:30.45到35.08'
);
$form
->
text
(
'lng'
)
->
help
(
'举例:120.681244。江苏的经度范围是:116.18到121.57'
);
// $form->select('user_id')->options(User::all()->pluck('openid', 'id'))->width(6)->help('实际后台操作可以不用关联');
// $form->select('user_id')->options(User::all()->pluck('openid', 'id'))->width(6)->help('实际后台操作可以不用关联');
if
(
$form
->
isEditing
())
{
if
(
$form
->
isEditing
())
{
$form
->
switch
(
'status'
);
$form
->
switch
(
'status'
);
...
...
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