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
da37c3ec
authored
Dec 07, 2024
by
赵增煜
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加诊断类型
parent
1df74227
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
app/Admin/Extensions/Form/SiteConfigForm.php
+1
-1
No files found.
app/Admin/Extensions/Form/SiteConfigForm.php
View file @
da37c3ec
...
...
@@ -45,7 +45,7 @@ public function form()
// $this->switch('prescription_auto', '医师自动开方')->default(($data['prescription_auto'] ?? 0));
$this
->
text
(
'limit_keywords'
,
'麻黄素类药品限制关键词'
)
->
default
(
$data
[
'limit_keywords'
]
??
''
)
->
required
()
->
help
(
'多个关键词请用英文逗号分隔'
);
$this
->
number
(
'ephedrine_limit_buy_7'
,
'麻黄素类药品7日内限购(全局)'
)
->
required
()
->
default
((
$data
[
'ephedrine_limit_buy_7'
]
??
1
))
->
min
(
1
)
->
max
(
10
)
->
help
(
'最多可设置10'
);
$this
->
text
(
'limit_test_id'
,
'用户端禁用测试药店ID'
)
->
default
(
$data
[
'limit_test_id'
]
??
''
)
->
required
()
->
help
(
'多个ID请用英文逗号分隔'
);
$this
->
text
(
'limit_test_id'
,
'用户端禁用测试药店ID'
)
->
default
(
$data
[
'limit_test_id'
]
??
''
)
->
help
(
'多个ID请用英文逗号分隔'
);
$this
->
disableResetButton
();
}
}
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