diff --git a/public/themes/simpleboot3/portal/order_salesman/get_all.html b/public/themes/simpleboot3/portal/order_salesman/get_all.html index 04724f9..1154050 100755 --- a/public/themes/simpleboot3/portal/order_salesman/get_all.html +++ b/public/themes/simpleboot3/portal/order_salesman/get_all.html @@ -384,6 +384,9 @@ <div class="log_three_select_one log_three_select_btn search"> 搜索 </div> + <div class="log_three_select_one log_three_select_btn clear "> + 重置 + </div> <input type="hidden" id="school" value=""/> <input type="hidden" id="grade" value=""/> <input type="hidden" id="is_courier" value="1"/> @@ -695,6 +698,9 @@ <script src="__TMPL__/public/assets/js/mui.picker.min.js"></script> <script src="__TMPL__/public/assets/js/city.data-3.js"></script> <script> + $(".clear").click(function () { + window.location.reload(); + }) var schoolpicker = new mui.PopPicker(); var classpicker = new mui.PopPicker(); var class_arr = ''; @@ -714,6 +720,8 @@ var school_name; $(".log_three_select_school2").click(function () { + $(".log_three_select_class2").text("请选择班级").css("color","rgba(153, 153, 153, 1)"); + $("#grade").val(""); schoolpicker.show(function (e) { school_name = e[0].value; school_names = e[0].text; diff --git a/simplewind/cmf/controller/WeChatBaseController.php b/simplewind/cmf/controller/WeChatBaseController.php index fd14663..447cf3a 100644 --- a/simplewind/cmf/controller/WeChatBaseController.php +++ b/simplewind/cmf/controller/WeChatBaseController.php @@ -204,7 +204,7 @@ class WeChatBaseController extends BaseController */ public function checkWeChatUserLogin() { - /*$user = Db::name('user')->where('id',27)->find(); + /*$user = Db::name('user')->where('id',28)->find(); cmf_update_current_user($user);*/ $userId = cmf_get_current_user_id(); if (empty($userId)) {