Silent 7 rokov pred
rodič
commit
2943b0ac4a

+ 4 - 2
resources/views/admin/settings/system.blade.php

xqd xqd
@@ -26,7 +26,7 @@
                             <div class="form-group row">
                                 <label class="col-sm-2 col-sm-offset-1 control-label">打卡位置</label>
                                 <div class="col-sm-8">
-                                    <input class="form-control" type="text" name="check_card_location" value="{{ $check_card_location->value }}" readonly>
+                                    <input class="form-control" type="text" name="check_card_location" value="{{ $check_card_location->value }}" readonly id="location-select">
                                 </div>
                             </div>
 
@@ -54,7 +54,9 @@
 @section('footer')
 <script type="text/javascript">
 $(function () {
-
+    $('#location-select').on('click', function () {
+       alert('ok');
+    });
 })
 </script>
 @endsection