Commit 705cd88b by 纪相明

增加select2组件

parent 1a7f5324
...@@ -28,6 +28,8 @@ ...@@ -28,6 +28,8 @@
</div> </div>
</div> </div>
<link href="https://lf6-cdn-tos.bytecdntp.com/cdn/expire-1-M/select2/4.0.13/css/select2.min.css" type="text/css" rel="stylesheet" />
<script src="https://lf26-cdn-tos.bytecdntp.com/cdn/expire-1-M/select2/4.0.13/js/select2.min.js" type="application/javascript"></script>
<script> <script>
Dcat.ready(function () { Dcat.ready(function () {
console.log('文档加载完成'); console.log('文档加载完成');
...@@ -159,6 +161,7 @@ ...@@ -159,6 +161,7 @@
formHtml += '</div>'; formHtml += '</div>';
// 将表单添加到搜索表单下方 // 将表单添加到搜索表单下方
$('.search-form').after(formHtml); $('.search-form').after(formHtml);
$(document).find('#editable-drug-list select').select2();
} }
// 新增:获取剂量数据的方法 // 新增:获取剂量数据的方法
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment