liujie
2025-08-11 8830fb9e58e7e345947b06f6862cdd5b2ae6f0bf
cloud-server-management/src/main/webapp/WEB-INF/view/system/worldCupRecords/addWorldCupGameStatisticsListInfo.html
@@ -1,77 +1,148 @@
@layout("/common/_container.html"){
<div class="row">
  <div class="col-sm-12">
    <div class="ibox float-e-margins">
      <div class="ibox-title">
        <h5>比赛详情</h5>
      </div>
      <div class="ibox-content">
        <div class="row row-lg">
          <div class="col-sm-12">
            <input type="hidden" id="id" value="${item.id}"></input>
            <div class="row">
              <div class="form-group">
                <label class="col-sm-3 control-label">*比赛名称:${item.name}</label>
              </div>
              <div class="form-group">
                <label class="col-sm-3 control-label">*参赛人:</label>
                <div class="col-sm-12">
                  <label class="col-sm-3 control-label">红方: </label>
                  <button onclick="userList()"
                          style="height: 22px;width: 82px;background-color: #4a8ff1;color: white;z-index: 15;position:relative;border: none;margin-top: 1%">
                    选择人员
                  </button>
                </div>
                <div class="col-sm-12" style="margin-left: -57px;margin-top: 20px">
                  <table class="table table-bordered" style="width: 70%;margin-left: 228px;" id="userTableOne">
                    <thead>
                    <tr>
                      <td>id</td>
                      <td>人员</td>
                      <td>联系电话</td>
                      <td>性别</td>
                      <td>年龄</td>
                      <td>操作</td>
                    </tr>
                    </thead>
                    <tbody id="coun"></tbody>
                  </table>
                </div>
              </div>
    <div class="col-sm-12">
        <div class="ibox float-e-margins">
            <div class="ibox-title">
                <h5>比赛详情</h5>
            </div>
            <div class="ibox-content">
                <div class="row row-lg">
                    <div class="col-sm-12">
                        <input type="hidden" id="id" value="${item.id}"></input>
                        <div class="row">
                            <div class="form-group">
                                <label class="col-sm-3 control-label">*比赛名称:${item.name}</label>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">*参赛人:</label>
                            </div>
                            <div class="form-group">
                                <div class="col-sm-12">
                                    <label class="col-sm-3 control-label">红方: </label>
                                    <button onclick="userList()"
                                            style="height: 22px;width: 82px;background-color: #4a8ff1;color: white;z-index: 15;position:relative;border: none;margin-top: 1%">
                                        选择人员
                                    </button>
                                </div>
                                <div class="col-sm-12" style="margin-left: -57px;margin-top: 20px">
                                    <table class="table table-bordered" style="width: 70%;margin-left: 228px;"
                                           id="userTableOne">
                                        <thead>
                                        <tr>
                                            <td>id</td>
                                            <td>人员</td>
                                            <td>联系电话</td>
                                            <td>性别</td>
                                            <td>年龄</td>
                                            <td>操作</td>
                                        </tr>
                                        </thead>
                                        <tbody id="coun"></tbody>
                                    </table>
                                </div>
                            </div>
                            <div class="form-group">
                                <div class="col-sm-12">
                                    <label class="col-sm-3 control-label">蓝方: </label>
                                    <button onclick="userList1()"
                                            style="height: 22px;width: 82px;background-color: #4a8ff1;color: white;z-index: 15;position:relative;border: none;margin-top: 1%">
                                        选择人员
                                    </button>
                                </div>
                                <div class="col-sm-12" style="margin-left: -57px;margin-top: 20px">
                                    <table class="table table-bordered" style="width: 70%;margin-left: 228px;"
                                           id="userTableTwo">
                                        <thead>
                                        <tr>
                                            <td>id</td>
                                            <td>人员</td>
                                            <td>联系电话</td>
                                            <td>性别</td>
                                            <td>年龄</td>
                                            <td>操作</td>
                                        </tr>
                                        </thead>
                                        <tbody id="coun1"></tbody>
                                    </table>
                                </div>
                            </div>
                            <div class="form-group">
                                <div class="col-sm-12" >
                                    <label class="col-sm-1 control-label">*比赛时间:</label>
                                    <div class="col-sm-4">
                                        <input type="text" class="form-control" id="time" name="time"
                                               placeholder="请选择时间">
                                    </div>
                                </div>
                            </div>
<!--                        蓝方得分-->
                        <div class="form-group">
                            <div class="col-sm-12" style="margin-top: 10px">
                                <label class="col-sm-1 control-label">*蓝方得分:</label>
                                <div class="col-sm-2">
                                    <input type="text" class="form-control" id="blueScore" name="blueScore"
                                           placeholder="请输入蓝方得分">
                                </div>
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-sm-12" style="margin-top: 10px">
                                <label class="col-sm-1 control-label">*红方得分:</label>
                                <div class="col-sm-2">
                                    <input type="text" class="form-control" id="redScore" name="redScore"
                                           placeholder="请输入红方得分">
                                </div>
                            </div>
                        </div>
                        </div>
          </div>
                    </div>
                </div>
            </div>
        </div>
      </div>
    </div>
  </div>
</div>
<script src="${ctxPath}/modular/system/worldCupRecords/worldCupGameStatisticsListInfo.js"></script>
<script>
  laydate.render({
    elem: '#startTime'
  });
  laydate.render({
    elem: '#endTime'
  });
  function userList() {
    var index = layer.open({
      type: 2,
      title: '人员列表',
      area: ['100%', '100%'], //宽高
      fix: false, //不固定
      maxmin: true,
      content: Feng.ctxPath + '/worldCupRecords/userList?id='+$("#id").val()
    laydate.render({
        elem: '#startTime'
    });
    this.layerIndex = index;
  }
    laydate.render({
        elem: '#endTime'
    });
    laydate.render({
        elem: '#time'
        ,type: 'datetime'
        ,range: true
    });
    function userList() {
        var index = layer.open({
            type: 2,
            title: '人员列表',
            area: ['100%', '100%'], //宽高
            fix: false, //不固定
            maxmin: true,
            content: Feng.ctxPath + '/worldCupRecords/userList?id=' + $("#id").val()
        });
        this.layerIndex = index;
    }
    function userList1() {
        var index = layer.open({
            type: 2,
            title: '人员列表',
            area: ['100%', '100%'], //宽高
            fix: false, //不固定
            maxmin: true,
            content: Feng.ctxPath + '/worldCupRecords/userList1?id=' + $("#id").val()
        });
        this.layerIndex = index;
    }
</script>
@}