无关风月
22 小时以前 28a60b0977d66b75fb9a2c3306840bc18ec271f6
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
@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>
 
                            <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 class="row btn-group-m-t">
                        <div class="col-sm-10">
                            <#button btnCss="danger" name="关闭" id="cancel" icon="fa-eraser" clickFun="WorldCupGameStatisticsListInfo.close1()"/>
                            <#button btnCss="info" name="保存" id="ensure" icon="fa-check" clickFun="WorldCupGameStatisticsListInfo.saveData()"/>
                        </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'
    });
    laydate.render({
        elem: '#time'
        ,type: 'datetime'
        ,range: true
    });
 
    function close() {
        console.log(32323)
        // 方法2: 使用top级别关闭
    }
 
 
    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>
@}