zhangjiaqing
8 天以前 1cef3adee31c6934c0da4b4f0b8a6f5ac03b364f
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
<div>
    <div class="row">
        <div class="col-md-2 padding-r-0">
            <div class=" border-radius bg-white padding-top-sm">
                <div class="margin-xs margin-bottom">
                    <input type="text" :placeholder="vc.i18n('请选择月份','monthAttendanceManage')"
                           v-model="reportCommunitySpaceInfo.appointmentTime" class=" form-control queryDate"
                           @blur="_changeDateQuery()">
                </div>
                <div class="margin-xs-r bg-white treeview attendance-staff">
                    <ul class="list-group text-center border-radius">
                        <li class="list-group-item node-orgTree "
                            v-for="(item,index) in reportCommunitySpaceInfo.venues" @click="swatchVenue(item)"
                            :class="{'vc-node-selected':reportCommunitySpaceInfo.conditions.venueId==item.venueId}">
                            {{item.name}}
                        </li>
                    </ul>
                </div>
            </div>
        </div>
        <div class="col-md-10">
            <div class="row">
                <div class="col-lg-12">
                    <div class="ibox">
                        <div class="ibox-content">
                            <table class="footable table table-stripped toggle-arrow-tiny" data-page-size="15">
                                <thead>
                                <tr>
                                    <th class="text-center">预约时间</th>
                                    <th class="text-center" v-if="!reportCommunitySpaceInfo.communitySpaces || reportCommunitySpaceInfo.communitySpaces.length < 1">
                                        场地名称
                                    </th>
                                    <th class="text-center" v-else
                                        v-for="(item,index) in reportCommunitySpaceInfo.communitySpaces">
                                        {{item.name}}
                                    </th>
                                </tr>
                                </thead>
                                <tbody>
                                <tr v-if="!reportCommunitySpaceInfo.communitySpaces || reportCommunitySpaceInfo.communitySpaces.length < 1">
                                    <td colspan="2" class="text-center">
                                        未设置场地
                                    </td>
                                </tr>
                                <tr v-else v-for="index in 24">
                                    <td class="text-center">{{index-1}}</td>
                                    <td class="text-center"
                                        v-for="(item,ind) in reportCommunitySpaceInfo.communitySpaces">
                                        <a v-if="_getSpaceHoursTime(index-1,item) == '可预约'"
                                           @click="_openAddCommunitySpacePersonModal(item.spaceId,index-1)"
                                           href="javascript:void(0)">可预约</a>
                                        <span v-else> {{_getSpaceHoursTime(index-1,item)}}</span>
                                    </td>
                                </tr>
                            </tbody>
                                <tfoot>
                                <tr>
                                    <td colspan="7">
                                        <ul class="pagination float-right"></ul>
                                    </td>
                                </tr>
                                </tfoot>
                            </table>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <vc:create path="property/addCommunitySpacePerson" callBackListener="" callBackFunction=""></vc:create>
</div>