From bf256fd67a54231e26a41945293efbf3c23fe533 Mon Sep 17 00:00:00 2001 From: liujie <1793218484@qq.com> Date: 星期三, 13 八月 2025 18:58:22 +0800 Subject: [PATCH] 赛事模块 --- cloud-server-management/src/main/webapp/static/modular/system/tCoach/tCoach_info.js | 18 +++++++++++++++--- 1 files changed, 15 insertions(+), 3 deletions(-) diff --git a/cloud-server-management/src/main/webapp/static/modular/system/tCoach/tCoach_info.js b/cloud-server-management/src/main/webapp/static/modular/system/tCoach/tCoach_info.js index b0b9dbc..25bb80e 100644 --- a/cloud-server-management/src/main/webapp/static/modular/system/tCoach/tCoach_info.js +++ b/cloud-server-management/src/main/webapp/static/modular/system/tCoach/tCoach_info.js @@ -213,6 +213,9 @@ var sm =data.appointmentStartTime.split(':')[1]; var eh =data.appointmentEndTime.split(':')[0]; var em =data.appointmentEndTime.split(':')[1]; + if($('#platform_account').is(':checked')){ + data.cityManagerId = $("#platform_account").val() + } if($("#pCode").val()==''){ Feng.info("请选择省") @@ -222,7 +225,7 @@ Feng.info("请选择市") return; } - if($("#account").val()=='' ){ + if(data.cityManagerId=='' ){ Feng.info("请选择账号") return; } @@ -334,6 +337,8 @@ data: JSON.stringify(data), contentType: "application/json", success: function (response) { + window.parent.TSite.table.refresh(); + TSiteInfo.close(); Feng.success("修改成功"); }, error: function (xhr, status, error) { @@ -388,6 +393,13 @@ carPhoto1.setUploadBarId("progressBar"); carPhoto1.init(); TSiteInfo.getTime() - - + + $('#platform_account').on('click', function (){ + if($('#platform_account').is(':checked')){ + $('#account').val(""); + $('#account').attr("disabled", 'disabled'); + }else{ + $('#account').removeAttr("disabled"); + } + }); }); -- Gitblit v1.7.1