zhangjiaqing
3 天以前 f5f65e6a9a49709c451dc2efd253970b5ae41f69
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
<div>
    <div class="ibox ">
        <div class="ibox-title">
            <h5>
                <vc:i18n name="查询条件" namespace="housekeepingSjServ"></vc:i18n>
            </h5>
            <div class="ibox-tools" style="top:10px;">
 
            </div>
        </div>
        <div class="ibox-content">
            <div class="row">
                <div class="col-sm-2">
                    <div class="form-group">
                        <input type="text" :placeholder="vc.i18n('请输入服务名称','housekeepingSjServ')"
                            v-model="housekeepingSjServInfo.conditions.servName" class=" form-control">
                    </div>
                </div>
                <!--<div class="col-sm-3">
                            <div class="form-group">
                                <input type="text" :placeholder="vc.i18n('请选择上架日期','housekeepingSjServ')"
                                    v-model="housekeepingSjServInfo.conditions.createTime" class=" form-control servSjtmentTime">
                            </div>
                        </div>-->
                <div class="col-sm-2">
                    <div class="form-group">
                        <select class="custom-select" v-model="housekeepingSjServInfo.conditions.hktId">
                            <option selected value="">{{vc.i18n('请选择服务类型','housekeepingSjServ')}}</option>
                            <option v-for="(item,index) in housekeepingSjServInfo.housekeepingTypes"
                                :value="item.hktId">
                                {{item.hktName}}
                            </option>
                        </select>
                    </div>
                </div>
                <div class="col-sm-1">
                    <button type="button" class="btn btn-primary btn-sm" v-on:click="_queryHousekeepingServMethod()">
                        <i class="glyphicon glyphicon-search"></i> <span>
                            <vc:i18n name="查询" namespace="housekeepingSjServ"></vc:i18n>
                        </span>
                    </button>
                </div>
            </div>
        </div>
    </div>
 
    <div class="ibox">
        <div class="ibox-title">
            <h5>
                <vc:i18n name="上架服务" namespace="housekeepingSjServ"></vc:i18n>
            </h5>
            <div class="ibox-tools" style="top:10px;">
                <button type="button" class="btn btn-primary btn-sm" v-on:click="_listHousekeepingServsToDay()">
                    <i class="glyphicon glyphicon-plus"></i>
                    今日上架
                </button>
                <button type="button" class="btn btn-primary btn-sm" style="margin-left:10px"
                    v-on:click="_listHousekeepingServsAll()"> <span>
                        <vc:i18n name="所有上架" namespace="housekeepingSjServ"></vc:i18n>
                    </span>
                </button>
            </div>
        </div>
        <div class="ibox-content">
            <table class="footable table table-stripped toggle-arrow-tiny" data-page-size="15">
                <thead>
                    <tr>
                        <th class="text-center">
                            <vc:i18n name="服务编号" namespace="housekeepingSjServ"></vc:i18n>
                        </th>
                        <th class="text-center">
                            <vc:i18n name="服务名称" namespace="housekeepingSjServ"></vc:i18n>
                        </th>
                        <th class="text-center">
                            <vc:i18n name="服务描述" namespace="housekeepingSjServ"></vc:i18n>
                        </th>
                        <th class="text-center">
                            <vc:i18n name="服务类型" namespace="housekeepingSjServ"></vc:i18n>
                        </th>
                        <th class="text-center">
                            <vc:i18n name="派单方式" namespace="housekeepingSjServ"></vc:i18n>
                        </th>
                        <th class="text-center">
                            <vc:i18n name="回访方式" namespace="housekeepingSjServ"></vc:i18n>
                        </th>
                        <th class="text-center">
                            <vc:i18n name="销量" namespace="housekeepingSjServ"></vc:i18n>
                        </th>
                        <th class="text-center">
                            <vc:i18n name="默认费用" namespace="housekeepingSjServ"></vc:i18n>
                        </th>
                        <th class="text-center">
                            <vc:i18n name="排序" namespace="housekeepingSjServ"></vc:i18n>
                        </th>
                        <th class="text-center">
                            <vc:i18n name="上架状态" namespace="housekeepingSjServ"></vc:i18n>
                        </th>
                    </tr>
                </thead>
                <tbody>
                    <tr v-for="housekeepingServ in housekeepingSjServInfo.housekeepingServs">
                        <td class="text-center">{{housekeepingServ.servId}}</td>
                        <td class="text-center">{{housekeepingServ.servName}}</td>
                        <td class="text-center">{{housekeepingServ.servDesc}}</td>
                        <td class="text-center">{{housekeepingServ.hktName}}</td>
                        <td class="text-center" v-if="housekeepingServ.repairWay == '100'">
                            <vc:i18n name="抢单" namespace="housekeepingSjServ"></vc:i18n>
                        </td>
                        <td class="text-center" v-else-if="housekeepingServ.repairWay == '200'">
                            <vc:i18n name="指派" namespace="housekeepingSjServ"></vc:i18n>
                        </td>
                        <td class="text-center" v-else-if="housekeepingServ.repairWay == '300'">
                            <vc:i18n name="轮训" namespace="housekeepingSjServ"></vc:i18n>
                        </td>
                        <td class="text-center" v-if="housekeepingServ.returnVisitFlag == '001'">
                            <vc:i18n name="都不回访" namespace="housekeepingSjServ"></vc:i18n>
                        </td>
                        <td class="text-center" v-else-if="housekeepingServ.returnVisitFlag == '002'">
                            <vc:i18n name="已评价不回访" namespace="housekeepingSjServ"></vc:i18n>
                        </td>
                        <td class="text-center" v-else-if="housekeepingServ.returnVisitFlag == '003'">
                            <vc:i18n name="都回访" namespace="housekeepingSjServ"></vc:i18n>
                        </td>
                        <td class="text-center">{{housekeepingServ.sales}}</td>
                        <td class="text-center">{{housekeepingServ.defaultFee}}</td>
                        <td class="text-center">{{housekeepingServ.sort}}</td>
                        <td class="text-center">{{housekeepingServ.state == '1001'?'未上架':'上架'}}</td>
                    </tr>
                </tbody>
            </table>
            <!-- 分页 -->
            <vc:create path="frame/pagination"></vc:create>
 
        </div>
    </div>
 
</div>