zhangjq
2026-01-27 6f51f667ae7b13dca029045c221d0b1722cf98df
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
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
<div>
    <div class="bg-white padding-sm">
        <button type="button" class="btn btn-primary btn-sm" v-on:click="_openAddRoomFloorModal()">
            <i class="fa fa-plus"></i>添加楼栋
        </button>
        <button type="button" class="btn btn-primary btn-sm" v-on:click="_openUpdateRoomFloorModal()">
            <i class="fa fa-edit"></i>修改楼栋
        </button>
        <button type="button" class="btn btn-primary btn-sm" v-on:click="_openDeleteRoomFloorModal()">
            <i class="fa fa-close"></i>删除楼栋
        </button>
        <button type="button" class="btn btn-primary btn-sm margin-left-sm" v-on:click="_openAddRoomUnitModal()">
            <i class="fa fa-plus"></i>添加单元/号
        </button>
        <button type="button" class="btn btn-primary btn-sm margin-left-sm" v-on:click="_openUpdateRoomUnitModal()">
            <i class="fa fa-edit"></i>修改单元/号
        </button>
        <button type="button" class="btn btn-primary btn-sm margin-left-sm" v-on:click="_openDeleteRoomUnitModal()">
            <i class="fa fa-close"></i>删除单元/号
        </button>
        <button type="button" class="btn btn-primary btn-sm margin-left-sm" v-on:click="_openAddRoom()"
                v-if="vc.hasPrivilege('502020082453087940')">
            <i class="fa fa-plus"></i>
            <span><vc:i18n name="添加房屋" namespace="room"></vc:i18n></span>
        </button>
        <button type="button" class="btn btn-primary btn-sm margin-left-sm" v-on:click="_openImportRoomInfo()">
            <i class="fa fa-plus"></i>
            <span><vc:i18n name="房产导入" namespace="room"></vc:i18n></span>
        </button>
        <button type="button" class="btn btn-primary btn-sm" v-on:click="vc.showMarkdown('/pages/property/room')">
            <i class="fa fa-file"></i>
            <span><vc:i18n name="文档"></vc:i18n></span>
        </button>
    </div>
    <div class="flex justify-start">
        <div style="padding-right:0px;width: 200px;" class="room-floor-unit-tree">
            <vc:create path="property/floorUnitTree" callBackListener="room"></vc:create>
        </div>
        <div class="margin-top-xs margin-left-sm" style="flex-grow: 1;">
            <div class="ibox ">
                <div class="ibox-title">
                    <h5>
                        <vc:i18n name="查询条件" namespace="room"></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('请填写房屋编号  格式 楼栋-单元-房屋','room')"
                                       class="form-control form-control-sm" v-model="roomInfo.conditions.roomId">
                            </div>
                        </div>
                        <div class="col-sm-2">
                            <select class="form-control-sm form-control input-s-sm inline"
                                    v-model="roomInfo.conditions.state">
                                <option selected value="">{{vc.i18n('请选择状态','room')}}</option>
                                <option v-for="(item,index) in roomInfo.states" :key="index" :value="item.statusCd">
                                    {{item.name}}
                                </option>
                            </select>
                        </div>
                        <div class="col-sm-2">
                            <select class="form-control-sm form-control input-s-sm inline"
                                    v-model="roomInfo.conditions.roomSubType">
                                <option selected value="">{{vc.i18n('必填,请选择房屋类型','room')}}</option>
                                <option :value="item.statusCd" v-for="(item,index) in roomInfo.roomSubTypes">
                                    {{item.name}}
                                </option>
                            </select>
                        </div>
                        <div class="col-sm-2">
                            <select class="form-control-sm form-control input-s-sm inline" v-model="roomInfo.isAll"
                                    @change="_changeIsAll()">
                                <option value="N">当前楼栋单元</option>
                                <option value="Y">全部楼栋单元</option>
                            </select>
                        </div>
                        <div class="col-sm-2">
                            <button type="button" class="btn btn-primary btn-sm" v-on:click="_queryRoomMethod()">
                                <i class="fa fa-search"></i>
                                <span><vc:i18n name="查询" namespace="room"></vc:i18n></span>
                            </button>
                            <button type="button" class="btn btn-info btn-sm" v-on:click="_resetRoomInfo()">
                                <i class="fa fa-repeat"></i>
                                <span><vc:i18n name="重置" namespace="room"></vc:i18n></span>
                            </button>
                        </div>
                    </div>
                </div>
            </div>
            <div class="ibox">
                <div class="ibox-content border-radius ">
                    <div class="hc-table-div" :style="{'width':_computeTableDivWidth()}">
                        <table class="table table-stripped table-condensed"
                               data-page-size="10">
                           <thead>
<thead>
<tr>
    <!-- 序号 -->
    <th data-hide="phone" class="text-center hc-table-fix-left-td">
        <div class="hc-td">
            序号
        </div>
    </th>
    <!-- 物业类型 -->
    <th data-hide="phone" class="text-center">
        <div class="hc-td">
            物业类型
        </div>
    </th>
    <!-- 项目编码 -->
    <th data-hide="phone" class="text-center">
        <div class="hc-td">
            项目编码
        </div>
    </th>
    <!-- 项目名称 -->
    <th data-hide="phone" class="text-center">
        <div class="hc-td">
            项目名称
        </div>
    </th>
    <!-- 路名 -->
    <th data-hide="phone" class="text-center">
        <div class="hc-td">
            路名
        </div>
    </th>
    <!-- 弄号 -->
    <th data-hide="phone" class="text-center">
        <div class="hc-td">
            弄号
        </div>
    </th>
    <!-- 门号 -->
    <th data-hide="phone" class="text-center">
        <div class="hc-td">
            门号
        </div>
    </th>
    <!-- 室号 -->
    <th data-hide="phone" class="text-center">
        <div class="hc-td">
            室号
        </div>
    </th>
    <!-- 门室号 -->
    <th data-hide="phone" class="text-center">
        <div class="hc-td">
            门室号
        </div>
    </th>
    <!-- 业主地址 -->
    <th data-hide="phone" class="text-center">
        <div class="hc-td">
            业主地址
        </div>
    </th>
    <!-- 产权人 -->
    <th data-hide="phone" class="text-center">
        <div class="hc-td">
            产权人
        </div>
    </th>
    <!-- 房屋 -->
    <th data-hide="phone" class="text-center">
        <div class="hc-td">
            <vc:i18n name="房屋" namespace="room"></vc:i18n>
        </div>
    </th>
    <!-- 楼层 -->
    <th data-hide="phone" class="text-center">
        <div class="hc-td">
            <vc:i18n name="楼层" namespace="room"></vc:i18n>
        </div>
    </th>
    <!-- 类型 -->
    <th data-hide="phone" class="text-center">
        <div class="hc-td">
            <vc:i18n name="类型" namespace="room"></vc:i18n>
        </div>
    </th>
    <!-- 建筑/室内面积 -->
    <th data-hide="phone" class="text-center">
        <div class="hc-td">
            <vc:i18n name="建筑/室内面积" namespace="room"></vc:i18n>
        </div>
    </th>
    <!-- 租金 -->
    <th data-hide="phone" class="text-center">
        <div class="hc-td">
            <vc:i18n name="租金" namespace="room"></vc:i18n>
        </div>
    </th>
    <!-- 房屋状态 -->
    <th data-hide="phone" class="text-center">
        <div class="hc-td">
            <vc:i18n name="房屋状态" namespace="room"></vc:i18n>
        </div>
    </th>
    <!-- 有效期 -->
    <th data-hide="phone" class="text-center">
        <div class="hc-td">
            <vc:i18n name="有效期" namespace="room"></vc:i18n>
        </div>
    </th>
    <!-- 房产信息(房产证号) -->
    <th data-hide="phone" class="text-center">
        <div class="hc-td">
            <vc:i18n name="房产信息(房产证号)" namespace="room"></vc:i18n>
        </div>
    </th>
    <!-- 购买日期 -->
    <th data-hide="phone" class="text-center">
        <div class="hc-td">
            <vc:i18n name="购买日期" namespace="room"></vc:i18n>
        </div>
    </th>
    <!-- 出售日期 -->
    <th data-hide="phone" class="text-center">
        <div class="hc-td">
            <vc:i18n name="出售日期" namespace="room"></vc:i18n>
        </div>
    </th>
    <!-- 出售状态 -->
    <th data-hide="phone" class="text-center">
        <div class="hc-td">
            <vc:i18n name="出售状态" namespace="room"></vc:i18n>
        </div>
    </th>
    <!-- 购房者姓名 -->
    <th data-hide="phone" class="text-center">
        <div class="hc-td">
            <vc:i18n name="购房者姓名" namespace="room"></vc:i18n>
        </div>
    </th>
    <!-- 设备运行费 -->
    <th data-hide="phone" class="text-center">
        <div class="hc-td">
            <vc:i18n name="设备运行费" namespace="room"></vc:i18n>
        </div>
    </th>
    <!-- 房屋产证编号 -->
    <th data-hide="phone" class="text-center">
        <div class="hc-td">
            <vc:i18n name="房屋产证编号" namespace="room"></vc:i18n>
        </div>
    </th>
    <!-- 是否安装充电桩 -->
    <th data-hide="phone" class="text-center">
        <div class="hc-td">
            <vc:i18n name="是否安装充电桩" namespace="room"></vc:i18n>
        </div>
    </th>
    <!-- 业主成员 -->
    <th data-hide="phone" class="text-center">
        <div class="hc-td">
            <vc:i18n name="业主成员" namespace="room"></vc:i18n>
        </div>
    </th>
    <!-- 业主车辆 -->
    <th data-hide="phone" class="text-center">
        <div class="hc-td">
            <vc:i18n name="业主车辆" namespace="room"></vc:i18n>
        </div>
    </th>
    <!-- 业主房屋 -->
    <th data-hide="phone" class="text-center">
        <div class="hc-td">
            <vc:i18n name="业主房屋" namespace="room"></vc:i18n>
        </div>
    </th>
    <!-- 投诉 -->
    <th data-hide="phone" class="text-center">
        <div class="hc-td">
            <vc:i18n name="投诉" namespace="room"></vc:i18n>
        </div>
    </th>
    <!-- 报修 -->
    <th data-hide="phone" class="text-center">
        <div class="hc-td">
            <vc:i18n name="报修" namespace="room"></vc:i18n>
        </div>
    </th>
    <!-- 房屋欠费 -->
    <th data-hide="phone" class="text-center">
        <div class="hc-td">
            <vc:i18n name="房屋欠费" namespace="room"></vc:i18n>
        </div>
    </th>
    <!-- 业主欠费 -->
    <th data-hide="phone" class="text-center">
        <div class="hc-td">
            <vc:i18n name="业主欠费" namespace="room"></vc:i18n>
        </div>
    </th>
    <!-- 房屋合同 -->
    <th data-hide="phone" class="text-center">
        <div class="hc-td">
            <vc:i18n name="房屋合同" namespace="room"></vc:i18n>
        </div>
    </th>
    <!-- 自定义列 -->
    <th v-for="(item,index) in roomInfo.listColumns" class="text-center">
        <div class="hc-td">
            {{item}}
        </div>
    </th>
    <!-- 操作 -->
    <th class="text-center hc-table-fix-right-td">
        <vc:i18n name="操作" namespace="room"></vc:i18n>
    </th>
</tr>
</thead>
                <tbody>
<tr v-for="(room, index) in roomInfo.rooms">
    <!-- 序号 -->
    <td class="text-center hc-table-fix-left-td">
        <div class="hc-td">
            {{index + 1}}
        </div>
    </td>
    <!-- 物业类型 -->
    <td class="text-center">
        <div class="hc-td">{{room.propertyType ||'-'}}</div>
    </td>
    <!-- 项目编码 -->
    <td class="text-center">
        <div class="hc-td">{{room.communityCode ||'-'}}</div>
    </td>
    <!-- 项目名称 -->
    <td class="text-center">
    <div class="hc-td">{{getCommunityName() || '-'}}</div>
</td>
    <!-- 路名 -->
    <td class="text-center">
        <div class="hc-td">{{room.roadName ||'-'}}</div>
    </td>
    <!-- 弄号 -->
    <td class="text-center">
        <div class="hc-td">{{room.floorNum ||'-'}}</div>
    </td>
    <!-- 门号 -->
    <td class="text-center">
        <div class="hc-td">{{room.unitNum ||'-'}}</div>
    </td>
    <!-- 室号 -->
    <td class="text-center">
        <div class="hc-td">{{room.roomNum ||'-'}}</div>
    </td>
    <!-- 门室号 -->
    <td class="text-center">
        <div class="hc-td">{{room.doorRoomNum ||'-'}}</div>
    </td>
    <!-- 业主地址 -->
    <td class="text-center">
        <div class="hc-td">{{room.propertyAddress ||'-'}}</div>
    </td>
    <!-- 产权人 -->
    <td class="text-center">
        <div class="hc-td">{{room.roomBuyer ||'-'}}</div>
    </td>
    <!-- 房屋 -->
    <td class="text-center">
        <div class="hc-td">
            {{room.floorNum}}-{{room.unitNum}}-{{room.roomNum}}
        </div>
    </td>
    <!-- 楼层 -->
    <td class="text-center">
        <div class="hc-td">{{room.layer}}
            <span><vc:i18n name="层" namespace="room"></vc:i18n></span>
        </div>
    </td>
    <!-- 类型 -->
    <td class="text-center">
        <div class="hc-td">{{room.roomSubTypeName}}</div>
    </td>
    <!-- 建筑/室内面积 -->
    <td class="text-center">
        <div class="hc-td">
            {{room.builtUpArea}}/{{room.roomArea}}
            <span><vc:i18n name="平方米" namespace="room"></vc:i18n></span>
        </div>
    </td>
    <!-- 租金 -->
    <td class="text-center">
        <div class="hc-td">
            {{room.roomRent.replace(/\B(?=(\d{3})+(?!\d))/g, ',')}}
        </div>
    </td>
    <!-- 房屋状态 -->
    <td class="text-center">
        <div class="hc-td">
            {{room.stateName}}
        </div>
    </td>
    <!-- 有效期 -->
    <td class="text-center">
        <div class="hc-td">
            {{room.startTime}}</br>
            ~{{room.endTime}}
        </div>
    </td>
    <!-- 房产信息(房产证号) -->
    <td class="text-center">
        <div class="hc-td">{{room.houseCertificateNo ||'-'}}</div>
    </td>
    <!-- 购买日期 -->
    <td class="text-center">
        <div class="hc-td">{{room.buyDate ||'-'}}</div>
    </td>
    <!-- 出售日期 -->
    <td class="text-center">
        <div class="hc-td">{{room.sellDate ||'-'}}</div>
    </td>
    <!-- 出售状态 -->
    <td class="text-center">
        <div class="hc-td">{{room.sellState ||'-'}}</div>
    </td>
    <!-- 购房者姓名 -->
    <td class="text-center">
        <div class="hc-td">{{room.roomBuyer ||'-'}}</div>
    </td>
    <!-- 设备运行费 -->
    <td class="text-center">
        <div class="hc-td">{{room.eoc ||'-'}}</div>
    </td>
    <!-- 房屋产证编号 -->
    <td class="text-center">
        <div class="hc-td">{{room.propertyCertificateNo ||'-'}}</div>
    </td>
    <!-- 是否安装充电桩 -->
    <td class="text-center">
        <div class="hc-td">{{room.isEvChargerInstalled == 1 ? '是' : '否'}}</div>
    </td>
    <!-- 业主成员 -->
    <td class="text-center">
        <div class="hc-td">
            <a href="javascript:void(0)" @click="_viewOwnerMembers(room)">
                {{room.memberCount || 0}}
            </a>
        </div>
    </td>
    <!-- 业主车辆 -->
    <td class="text-center">
        <div class="hc-td">
            <a href="javascript:void(0)" @click="_viewOwnerCars(room)">
                {{room.carCount || 0}}
            </a>
        </div>
    </td>
    <!-- 业主房屋 -->
    <td class="text-center">
        <div class="hc-td">
            <a href="javascript:void(0)" @click="_viewOwnerRooms(room)">
                {{room.roomCount || 0}}
            </a>
        </div>
    </td>
    <!-- 投诉 -->
    <td class="text-center">
        <div class="hc-td">
            <a href="javascript:void(0)" @click="_viewComplaints(room)">
                {{room.complaintCount || 0}}
            </a>
        </div>
    </td>
    <!-- 报修 -->
    <td class="text-center">
        <div class="hc-td">
            <a href="javascript:void(0)" @click="_viewRepairs(room)">
                {{room.repairCount || 0}}
            </a>
        </div>
    </td>
    <!-- 房屋欠费 -->
    <td class="text-center">
        <div class="hc-td">
            <a href="javascript:void(0)" @click="_viewRoomOweFees(room)">
                {{room.roomOweFee || '0.00'}}
            </a>
        </div>
    </td>
    <!-- 业主欠费 -->
    <td class="text-center">
        <div class="hc-td">
            <a href="javascript:void(0)" @click="_viewOweFees(room)">
                {{room.oweFee || '0.00'}}
            </a>
        </div>
    </td>
    <!-- 房屋合同 -->
    <td class="text-center">
        <div class="hc-td">
            <a href="javascript:void(0)" @click="_viewRoomContracts(room)">
                {{room.contractCount || 0}}
            </a>
        </div>
    </td>
    <!-- 自定义列 -->
    <td v-for="item in room.listValues" class="text-center">
        <div class="hc-td">{{item}}</div>
    </td>
    <!-- 操作 -->
    <td class="text-center hc-table-fix-right-td">
        <div class="btn-group" v-if="vc.hasPrivilege('502020082493857941')">
            <button class="btn-white btn btn-xs" v-on:click="_openEditRoomModel(room)">
                <vc:i18n name="修改" namespace="room"></vc:i18n>
            </button>
        </div>
        <div class="btn-group" v-if="vc.hasPrivilege('502020082417457942')">
            <button class="btn-white btn btn-xs" v-on:click="_openDelRoomModel(room)">
                <vc:i18n name="删除" namespace="room"></vc:i18n>
            </button>
        </div>
        <div class="btn-group"
             v-if="room.state == '2002' && vc.hasPrivilege('502023021978930012')">
            <button class="btn-white btn btn-xs" v-on:click="_toRoomBindOwner(room)">
                <vc:i18n name="交房" namespace="room"></vc:i18n>
            </button>
        </div>
        <div class="btn-group"
             v-if="room.state != '2002' && room.ownerId && vc.hasPrivilege('502023021973760015')">
            <button class="btn-white btn btn-xs" v-on:click="_toRoomUnBindOwner(room)">
                <vc:i18n name="退房" namespace="room"></vc:i18n>
            </button>
        </div>
        <div class="btn-group" v-if="room.state != '2002'">
            <button class="btn-white btn btn-xs" v-on:click="_toSimplifyAcceptance(room)">
                <vc:i18n name="业务受理" namespace="room"></vc:i18n>
            </button>
        </div>
    </td>
</tr>
</tbody>
                        </table>
                    </div>
                    <div class="row margin-top-xs">
                        <div class="col-sm-7">
                            <div>房屋状态 分为:未销售,未入住,已交房,已装修,已入住 等状态</div>
                            <div>1、未销售表示 房屋和业主之间还没有任何关系,所以修改时状态不能手工修改 需要业主入住房屋的方式 将未销售改为已入住</div>
                            <div>2、未入住 已交房 已装修 已入住 状态表示业主和房屋之间已经有关系 可以相互修改,主要作用为在房屋创建费用时根据不同的状态去创建不同的费用</div>
                            <div>租金:主要用于园区类或者房屋出租比较多的物业使用,小区物业忽略</div>
                        </div>
                        <div class="col-sm-5 float-right">
                            <vc:create path="frame/pagination"></vc:create>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <vc:create path="property/searchFloor" emitChooseFloor="room" emitLoadData="room"></vc:create>
    <!-- 删除员工权限 -->
    <vc:create path="property/editRoom"></vc:create>
    <vc:create path="property/deleteRoom"></vc:create>
    <vc:create path="property/importOwnerRoom"></vc:create>
    <vc:create path="property/addFloor" callBackListener="" callBackFunction=""></vc:create>
    <vc:create path="property/editFloor"></vc:create>
    <vc:create path="property/deleteFloor"></vc:create>
    <vc:create path="property/addUnit" callBackListener="" callBackFunction=""></vc:create>
    <!-- 删除员工权限 -->
    <vc:create path="property/editUnit"></vc:create>
    <vc:create path="property/deleteUnit"></vc:create>
    <vc:create path="owner/ownerRooms"></vc:create>
    <vc:create path="owner/ownerMembers"></vc:create>
    <vc:create path="owner/ownerCars"></vc:create>
    <vc:create path="owner/ownerComplaints"></vc:create>
    <vc:create path="owner/ownerRepairs"></vc:create>
    <vc:create path="owner/ownerOweFees"></vc:create>
    <vc:create path="room/roomOweFees"></vc:create>
    <vc:create path="room/roomContracts"></vc:create>
</div>