safecheck-client 3.0.33-16 → 3.0.33-161

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (169) hide show
  1. package/index.html +6 -2
  2. package/package.json +133 -133
  3. package/src/App.vue +2 -2
  4. package/src/components/Util/ImgSelfSafePlus.vue +19 -10
  5. package/src/components/Util.js +7 -0
  6. package/src/components/android/AreaPlan.vue +2 -1
  7. package/src/components/android/CurrentCreate.vue +1 -1
  8. package/src/components/android/ImgSelfAndroid.vue +181 -181
  9. package/src/components/android/SafecheckDevices.vue +5 -1
  10. package/src/components/android/SafecheckOrderV.vue +18 -12
  11. package/src/components/map/checkScreen.vue +27 -21
  12. package/src/components/paper/PlanChooser.vue +4 -2
  13. package/src/components/pc/NewCheckpaper.vue +11 -8
  14. package/src/components/planmanage/PlanManage.vue +14 -4
  15. package/src/components/planmanage/checkPlanList.vue +2 -1
  16. package/src/components/planmanage/checkUserList.vue +2 -0
  17. package/src/components/report/HiddenSituation.vue +3 -3
  18. package/src/components/rongcheng/AspiratedPaperFeedbackm.vue +28 -2
  19. package/src/components/rongcheng/AspiratedPaperMessage.vue +1 -1
  20. package/src/components/rongcheng/DefectPaper.vue +1 -1
  21. package/src/components/rongcheng/PaperListNPSQ.vue +36 -1
  22. package/src/components/rongcheng/PaperListSQ.vue +32 -11
  23. package/src/components/rongcheng/PhoneUpUserinfo.vue +939 -802
  24. package/src/components/rongcheng/SafecheckOrderV.vue +1 -1
  25. package/src/components/rongcheng/report/CheckPlanAreaList.vue +1 -3
  26. package/src/components/safecheckNew/PaperList.vue +785 -0
  27. package/src/components/safecheckNew/android/AddPlanItem.vue +419 -0
  28. package/src/components/safecheckNew/android/AreaPlan.vue +561 -0
  29. package/src/components/safecheckNew/android/CurrentCreate.vue +1050 -0
  30. package/src/components/safecheckNew/android/Recheck.vue +379 -0
  31. package/src/components/safecheckNew/android/SafecheckDevices.vue +1400 -0
  32. package/src/components/safecheckNew/android/SafecheckOrderV.vue +2692 -0
  33. package/src/filiale/Util.js +5 -0
  34. package/src/filiale/baiyin/android/AndroidDefectDeal.vue +633 -0
  35. package/src/filiale/baiyin/android.js +10 -0
  36. package/src/filiale/baiyin/pc/CheckPlanAreaList.vue +485 -0
  37. package/src/filiale/baiyin/pc/CheckSearchUser.vue +1067 -0
  38. package/src/filiale/baiyin/pc/DefectListNew.vue +597 -0
  39. package/src/filiale/baiyin/pc/DefectMainNew.vue +63 -0
  40. package/src/filiale/baiyin/pc/DefectPaperNew.vue +1052 -0
  41. package/src/filiale/baiyin/pc/PaperList.vue +790 -0
  42. package/src/filiale/baiyin/pc/PlanChooser.vue +167 -0
  43. package/src/filiale/baiyin/pc/PlanManage.vue +834 -0
  44. package/src/filiale/baiyin/pc/RightTreeSafe.vue +348 -0
  45. package/src/filiale/baiyin/pc/RoleSelector.vue +160 -0
  46. package/src/filiale/baiyin/pc.js +20 -0
  47. package/src/filiale/bayan/android/AddPlanItem.vue +7 -2
  48. package/src/filiale/bayan/android/CheckPlanDown.vue +249 -0
  49. package/src/filiale/bayan/android/SafecheckOrderV.vue +20 -7
  50. package/src/filiale/bayan/android/SafecheckUserInfo.vue +566 -514
  51. package/src/filiale/bayan/android.js +1 -0
  52. package/src/filiale/bayan/pc/CheckDetail.vue +205 -0
  53. package/src/filiale/bayan/pc/CheckPlan.vue +59 -0
  54. package/src/filiale/bayan/pc/CheckPlanAreaList.vue +565 -0
  55. package/src/filiale/bayan/pc/CheckSearchUser.vue +1110 -0
  56. package/src/filiale/bayan/pc/DefectListNew.vue +597 -0
  57. package/src/filiale/bayan/pc/DefectMainNew.vue +63 -0
  58. package/src/filiale/bayan/pc/DefectPaperNew.vue +1218 -0
  59. package/src/filiale/bayan/pc/DeviceChange.vue +1838 -0
  60. package/src/filiale/bayan/pc/HiddenSituation.vue +256 -0
  61. package/src/filiale/bayan/pc/NewCheckpaper.vue +31 -1
  62. package/src/filiale/bayan/pc/PaperList.vue +119 -12
  63. package/src/filiale/bayan/pc/PlanManage.vue +29 -8
  64. package/src/filiale/bayan/pc/SelectCheckPlan.vue +333 -0
  65. package/src/filiale/bayan/pc.js +7 -0
  66. package/src/filiale/dexin/android/SafecheckOrderV.vue +123 -24
  67. package/src/filiale/fugou/android/SafecheckOrderV.vue +2796 -0
  68. package/src/filiale/fugou/android.js +2 -1
  69. package/src/filiale/fugou/pc/AddToCheckBook.vue +13 -14
  70. package/src/filiale/fugou/pc/CheckBook.vue +2 -0
  71. package/src/filiale/fugou/pc/CheckBookEntry.vue +2 -6
  72. package/src/filiale/fugou/pc/CheckBookList.vue +2 -2
  73. package/src/filiale/fugou/pc/CheckBookSearchUser.vue +35 -18
  74. package/src/filiale/fugou/pc/CheckBookUser.vue +102 -45
  75. package/src/filiale/fugou/pc/DefectPaperNew.vue +10 -6
  76. package/src/filiale/fugou/pc/PaperDefectMain.vue +12 -6
  77. package/src/filiale/fugou/pc/PaperList.vue +14 -6
  78. package/src/filiale/fugou/pc/PlanManage.vue +62 -8
  79. package/src/filiale/fugou/pc/checkUserList.vue +36 -35
  80. package/src/filiale/hanzhong/pc/CheckHiddenDanger.vue +15 -5
  81. package/src/filiale/hanzhong/pc/CheckSafeDetail.vue +12 -2
  82. package/src/filiale/hanzhong/pc/CheckSafeStatus.vue +12 -3
  83. package/src/filiale/hanzhong/pc/CheckSearchUser.vue +13 -0
  84. package/src/filiale/hanzhong/pc/CheckUserList.vue +30 -11
  85. package/src/filiale/hanzhong/pc/CheckerSafeDetail.vue +11 -2
  86. package/src/filiale/jingyang/pc/ReportCheckItemList.vue +543 -0
  87. package/src/filiale/jingyang/pc.js +1 -0
  88. package/src/filiale/kelai/pc/CheckPlanAreaList.vue +2 -22
  89. package/src/filiale/liaoyuan/pc/checkPlanList.vue +373 -0
  90. package/src/filiale/liaoyuan/pc.js +2 -1
  91. package/src/filiale/qianneng/pc/PaperList.vue +31 -1
  92. package/src/filiale/qingjian/android/PhoneUpUserinfo.vue +1270 -1268
  93. package/src/filiale/qingjian/android/SafecheckOrderV.vue +2844 -2779
  94. package/src/filiale/rongchuang/android/SafecheckDevices.vue +468 -748
  95. package/src/filiale/rongchuang/android/SafecheckOrderV.vue +984 -1234
  96. package/src/filiale/rongchuang/android.js +1 -0
  97. package/src/filiale/rongchuang/pc/NewCheckpaper.vue +294 -305
  98. package/src/filiale/rongchuang/pc/PaperList.vue +812 -0
  99. package/src/filiale/rongchuang/pc.js +1 -0
  100. package/src/filiale/siyang/android/PhoneRecordInfo.vue +214 -0
  101. package/src/filiale/siyang/android/SafecheckOrderV.vue +2796 -0
  102. package/src/filiale/siyang/android/SafecheckUserInfo.vue +789 -0
  103. package/src/filiale/siyang/android.js +11 -0
  104. package/src/filiale/siyang/pc/PaperDefectMain.vue +864 -0
  105. package/src/filiale/siyang/pc/PaperList.vue +834 -0
  106. package/src/filiale/siyang/pc/PlanManage.vue +839 -0
  107. package/src/filiale/siyang/pc/checkUserList.vue +781 -0
  108. package/src/filiale/siyang/pc.js +15 -0
  109. package/src/filiale/tianke/pc/checkScreen.vue +36 -31
  110. package/src/filiale/tongchuan/android/PhoneUpUserinfo.vue +60 -2
  111. package/src/filiale/tongchuan/android/SafecheckOrderV.vue +2 -3
  112. package/src/filiale/tongchuan/pc/NewCheckpaper.vue +1 -1
  113. package/src/filiale/tongchuan/pc/checkUserList.vue +2 -2
  114. package/src/filiale/weinan/android/PaperFeedback.vue +8 -8
  115. package/src/filiale/weinan/android/SafecheckDevices.vue +6 -2
  116. package/src/filiale/weinan/android/SafecheckOrderV.vue +16 -2
  117. package/src/filiale/weinan/android/SafecheckUserInfo.vue +7 -2
  118. package/src/filiale/weinan/pc/CheckSearchUser.vue +1078 -0
  119. package/src/filiale/weinan/pc/DefectListNew.vue +617 -0
  120. package/src/filiale/weinan/pc/DefectMainNew.vue +1 -1
  121. package/src/filiale/weinan/pc/DefectPaperNew.vue +7 -1
  122. package/src/filiale/weinan/pc.js +2 -0
  123. package/src/filiale/wenxi/android/CurrentCreate.vue +1 -1
  124. package/src/filiale/wenxi/android/PhoneUpUserinfo.vue +1 -1
  125. package/src/filiale/wenxi/android/SafecheckUserInfo.vue +85 -63
  126. package/src/filiale/wenxi/pc/NewCheckpaper.vue +1 -1
  127. package/src/filiale/yangchunboneng/android/AddPlanItem.vue +46 -1
  128. package/src/filiale/yangchunboneng/android/CurrentCreate.vue +45 -4
  129. package/src/filiale/yangchunboneng/android/DailyworkloadQuery.vue +2 -2
  130. package/src/filiale/yangchunboneng/android/NewCheckpaperAndroid.vue +1362 -1362
  131. package/src/filiale/yangchunboneng/android/PaperFeedback.vue +1731 -1731
  132. package/src/filiale/yangchunboneng/android/PhoneUpUserinfo.vue +1235 -0
  133. package/src/filiale/yangchunboneng/android/SafecheckDevices.vue +1332 -1332
  134. package/src/filiale/yangchunboneng/android/SafecheckOrderV.vue +2845 -2832
  135. package/src/filiale/yangchunboneng/android/SafecheckUserInfo.vue +887 -869
  136. package/src/filiale/yangchunboneng/android/safeHistoryLook.vue +2 -1
  137. package/src/filiale/yangchunboneng/android.js +1 -0
  138. package/src/filiale/yangchunboneng/pc/CheckBookList.vue +4 -4
  139. package/src/filiale/yangchunboneng/pc/CheckBookSearchUser.vue +76 -32
  140. package/src/filiale/yangchunboneng/pc/CheckBookUser.vue +72 -1
  141. package/src/filiale/yangchunboneng/pc/CheckSearchUser.vue +1192 -1018
  142. package/src/filiale/yangchunboneng/pc/PaperDefectMain.vue +944 -849
  143. package/src/filiale/yangchunboneng/pc/PaperList.vue +17 -0
  144. package/src/filiale/yongzhou/android/PaperFeedback.vue +1 -1
  145. package/src/filiale/yongzhou/android/SafecheckOrderV.vue +221 -256
  146. package/src/filiale/yongzhou/pc/CheckPlan.vue +59 -0
  147. package/src/filiale/yongzhou/pc/CheckSearchUser.vue +1 -1
  148. package/src/filiale/yongzhou/pc/DefectPaperNew.vue +1105 -0
  149. package/src/filiale/yongzhou/pc/NoCheckplanSafecheck.vue +412 -107
  150. package/src/filiale/yongzhou/pc/PaperDefectMain.vue +872 -0
  151. package/src/filiale/yongzhou/pc/PaperList.vue +1 -1
  152. package/src/filiale/yongzhou/pc/SelectCheckPlan.vue +364 -0
  153. package/src/filiale/yongzhou/pc/communityTypeDetailG.vue +56 -125
  154. package/src/filiale/yongzhou/pc/communityTypeDetailM.vue +94 -187
  155. package/src/filiale/yongzhou/pc/safeDetail.vue +311 -20
  156. package/src/filiale/yongzhou/pc/safeStatistics.vue +74 -24
  157. package/src/filiale/yongzhou/pc/safeStatisticsDay.vue +2 -2
  158. package/src/filiale/yongzhou/pc/safeStatisticsMonth.vue +2 -2
  159. package/src/filiale/yongzhou/pc/safeStatisticsYear.vue +47 -23
  160. package/src/filiale/yongzhou/pc/safeTable.vue +3 -3
  161. package/src/filiale/yongzhou/pc.js +4 -0
  162. package/src/filiale/yuansheng/android/AndroidDefectDeal.vue +652 -0
  163. package/src/filiale/yuansheng/android.js +1 -0
  164. package/src/filiale/zhongsheng/android/CurrentCreate.vue +7 -2
  165. package/src/filiale/zhongsheng/pc/DefectPaperWeiXiu.vue +6 -2
  166. package/src/main.js +33 -33
  167. package/src/rongcheng.js +3 -1
  168. package/src/safecheck-android.js +6 -0
  169. package/src/safecheck.js +3 -0
@@ -137,8 +137,9 @@
137
137
  :options='$parent.$parent.check_states'
138
138
  placeholder='安检结果'
139
139
  style="width:60%"
140
+ :multiple="true"
140
141
  v-model="model.f_state"
141
- condition="f_state='{}'"
142
+ condition="f_state in {}"
142
143
  close-on-select clear-button>
143
144
  </v-select>
144
145
  </div>
@@ -14,6 +14,7 @@ let specialComp = {
14
14
  'DailyworkloadQueryNew': (resolve) => { require(['./android/DailyworkloadQueryNew'], resolve) },
15
15
  'new-check-paper-android': (resolve) => { require(['./android/NewCheckpaperAndroid'], resolve) },
16
16
  'safe-history-look': (resolve) => { require(['./android/safeHistoryLook'], resolve) },
17
+ 'PhoneUpUserinfo': (resolve) => { require(['./android/PhoneUpUserinfo.vue'], resolve) },
17
18
  }
18
19
 
19
20
  exports.specialComp = specialComp
@@ -109,10 +109,10 @@
109
109
  <!-- <nobr>未下发</nobr>-->
110
110
  <!-- </th>-->
111
111
  <th>
112
- <nobr>已检</nobr>
112
+ <nobr>已入户</nobr>
113
113
  </th>
114
114
  <th>
115
- <nobr>未检</nobr>
115
+ <nobr>未入户</nobr>
116
116
  </th>
117
117
  </tr>
118
118
  </template>
@@ -127,8 +127,8 @@
127
127
  <td style="text-align: center;"><button @click.stop="$parent.$parent.$parent.details(row)" class="btn btn-link"><b>{{row.num}}</b></button></td>
128
128
  <!-- <td style="text-align: center;">{{ row.xiafa }}</td>-->
129
129
  <!-- <td style="text-align: center;">{{ row.f_user_type =='民用'?row.num-row.xiafa:row.num4-row.xiafa }}</td>-->
130
- <td style="text-align: center;">{{ row.yijian }}</td>
131
- <td style="text-align: center;">{{ row.weijian }}</td>
130
+ <td style="text-align: center;">{{ row.num3 }}</td>
131
+ <td style="text-align: center;">{{ row.num4 }}</td>
132
132
  </template>
133
133
  </data-grid>
134
134
  </criteria-paged>
@@ -5,22 +5,17 @@
5
5
  <criteria partial='criteria' class="search_area" @condition-changed='$parent.selfSearch' v-ref:criteria>
6
6
  <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
7
7
  <div class="row">
8
- <div class="form-group col-sm-3">
8
+ <div class="form-group col-sm-4">
9
9
  <label class="font_normal_body">客户编号</label>
10
10
  <input type="text" class="input_search" v-model="model.f_userinfo_code"
11
11
  style="width: 60%" placeholder="客户编号" condition="f_userinfo_code='{}'">
12
12
  </div>
13
- <div class="form-group col-sm-3">
13
+ <div class="form-group col-sm-4">
14
14
  <label class="font_normal_body">客户名称</label>
15
15
  <input type="text" class="input_search" v-model="model.f_user_name"
16
16
  style="width: 60%" placeholder="客户名称" condition="f_user_name like '%{}%'">
17
17
  </div>
18
- <div class="form-group col-sm-3" >
19
- <label class="font_normal_body">地址</label>
20
- <input type="text" class="input_search" v-model="model.f_address"
21
- style="width: 60%" placeholder="地址" condition="f_address like '%{}%'">
22
- </div>
23
- <div class="form-group col-sm-3">
18
+ <div class="form-group col-sm-4">
24
19
  <button class="button_spacing button_search" @click="search()">查询</button>
25
20
  <div style="float: right" class="button_spacing"
26
21
  :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
@@ -28,17 +23,17 @@
28
23
  </div>
29
24
  </div>
30
25
  <div class="row">
31
- <div class="form-group col-sm-3" v-show="$parent.$parent.criteriaShow">
26
+ <div class="form-group col-sm-4" v-show="$parent.$parent.criteriaShow">
27
+ <label class="font_normal_body">地&emsp;&emsp;址</label>
28
+ <input type="text" class="input_search" v-model="model.f_address"
29
+ style="width: 60%" placeholder="地址" condition="f_address like '%{}%'">
30
+ </div>
31
+ <div class="form-group col-sm-4" v-show="$parent.$parent.criteriaShow">
32
32
  <label class="font_normal_body">小区名称</label>
33
33
  <input type="text" class="input_search" v-model="model.f_residential_area"
34
34
  style="width: 60%" placeholder="小区名称" condition="f_residential_area like '%{}%'">
35
35
  </div>
36
- <div class="form-group col-sm-3" v-show="$parent.$parent.criteriaShow">
37
- <label class="font_normal_body">地址</label>
38
- <input type="text" class="input_search" v-model="model.f_address"
39
- style="width: 60%" placeholder="地址" condition="f_address like '%{}%'">
40
- </div>
41
- <div class="form-group col-sm-3" v-show="$parent.$parent.criteriaShow">
36
+ <div class="form-group col-sm-4" v-show="$parent.$parent.criteriaShow">
42
37
  <label class="font_normal_body">客户类型</label>
43
38
  <v-select :value.sync="model.f_user_type" v-model='model.f_user_type'
44
39
  :value-single="true" style="width: 60%"
@@ -47,23 +42,20 @@
47
42
  close-on-select
48
43
  condition="f_user_type ='{}'"></v-select>
49
44
  </div>
50
- <div class="col-sm-3 form-group" style="margin-bottom: 0px" v-show="$parent.$parent.criteriaShow">
45
+ <div class="col-sm-4 form-group" style="margin-bottom: 0px" v-show="$parent.$parent.criteriaShow">
51
46
  <label class="font_normal_body">公&emsp;&emsp;司</label>
52
47
  <right-tree-safe @re-res="$parent.$parent.getResm" v-model="model.f_orgid" condition="ui.f_orgid in {}"></right-tree-safe>
53
48
  </div>
54
- </div>
55
- <div class="row">
56
- <div class="form-group col-sm-3" v-show="$parent.$parent.criteriaShow">
57
- <label class="font_normal_body">安检册名称</label>
49
+ <div class="form-group col-sm-4" v-show="$parent.$parent.criteriaShow">
50
+ <label class="font_normal_body">安&ensp;检&ensp;册</label>
58
51
  <v-select :value.sync="model.f_check_book_id" v-model='model.f_check_book_id'
59
52
  :value-single="true" style="width: 60%"
60
53
  class="select_list select"
61
54
  :options='$parent.$parent.checkBooks' placeholder='安检册名称'
62
55
  close-on-select
63
56
  condition="f_check_book_id ='{}'"></v-select>
64
-
65
57
  </div>
66
- <div class="form-group col-sm-3" v-show="$parent.$parent.criteriaShow">
58
+ <div class="form-group col-sm-4" v-show="$parent.$parent.criteriaShow">
67
59
  <label class="font_normal_body">是否在册</label>
68
60
  <v-select :value.sync="model.f_is_checkbook" v-model='model.f_is_checkbook'
69
61
  :value-single="true" style="width: 60%"
@@ -74,6 +66,54 @@
74
66
  condition="{}"></v-select>
75
67
  </div>
76
68
  </div>
69
+ <div class="row">
70
+ <div class="form-group col-sm-4" v-show="$parent.$parent.criteriaShow">
71
+ <label class="font_normal_body">通气开始</label>
72
+ <datepicker
73
+ :value.sync="model.f_gas_date_str"
74
+ style="width: 60%"
75
+ :format="'yyyy-MM-dd 00:00:00'"
76
+ v-model="model.f_gas_date_str"
77
+ condition="f_uservent_date > '{}'"
78
+ >
79
+ </datepicker>
80
+ </div>
81
+ <div class="form-group col-sm-4" v-show="$parent.$parent.criteriaShow">
82
+ <label class="font_normal_body">通气结束</label>
83
+ <datepicker
84
+ :value.sync="model.f_gas_date_end"
85
+ style="width: 60%"
86
+ :format="'yyyy-MM-dd 23:59:59'"
87
+ v-model="model.f_gas_date_end"
88
+ condition="f_uservent_date < '{}'"
89
+ >
90
+ </datepicker>
91
+ </div>
92
+ <div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow" >
93
+ <label class="font_normal_body">开始时间</label>
94
+ <datepicker
95
+ :value.sync="model.f_check_start"
96
+ placeholder='首次通气时间' style="width: 60%"
97
+ :disabled-days-of-week="[]"
98
+ :format="'yyyy-MM-dd'"
99
+ :show-rest-button="reset"
100
+ v-model="model.f_check_start"
101
+ condition="f_uservent_date > ='{} 00:00:00'">
102
+ </datepicker>
103
+ </div>
104
+ <div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow" >
105
+ <label class="font_normal_body">结束时间</label>
106
+ <datepicker
107
+ :value.sync="model.f_check_end"
108
+ placeholder='首次通气时间' style="width: 60%"
109
+ :disabled-days-of-week="[]"
110
+ :format="'yyyy-MM-dd'"
111
+ :show-rest-button="reset"
112
+ v-model="model.f_check_end"
113
+ condition="f_uservent_date <= '{} 23:59:59'">
114
+ </datepicker>
115
+ </div>
116
+ </div>
77
117
  </div>
78
118
  </criteria>
79
119
  <data-grid class="list_area table_sy" style="overflow: hidden" :model="model" partial='list' v-ref:grid>
@@ -100,6 +140,9 @@
100
140
  <th>
101
141
  <nobr>客户地址</nobr>
102
142
  </th>
143
+ <th>
144
+ <nobr>首次通气时间</nobr>
145
+ </th>
103
146
  <th>
104
147
  <nobr>所属安检册</nobr>
105
148
  </th>
@@ -117,6 +160,7 @@
117
160
  <td style="text-align: center">{{ row.f_user_phone }}</td>
118
161
  <td style="text-align: center">{{ row.f_residential_area }}</td>
119
162
  <td style="text-align: center">{{ row.f_address }}</td>
163
+ <td style="text-align: center">{{ row.f_uservent_date }}</td>
120
164
  <td style="text-align: center">{{ row.f_check_book_name }}</td>
121
165
  </template>
122
166
  </data-grid>
@@ -582,16 +626,16 @@ export default {
582
626
  bus.$off('fresh-user')
583
627
  },
584
628
  ready () {
585
- bus.$on('fresh-user',()=>{
586
- console.log("进入方法")
587
- this.bookAll = false
588
- this.bookList = []
589
- this.$refs.paged.$refs.criteria.search()
590
- })
591
- this.$refs.paged.$refs.criteria.model.f_is_checkbook = 'f_check_book_name is null'
592
- //tag
593
- // this.init=true
594
- this.freshCheckBook()
629
+ // bus.$on('fresh-user',()=>{
630
+ // console.log("进入方法")
631
+ // this.bookAll = false
632
+ // this.bookList = []
633
+ // this.$refs.paged.$refs.criteria.search()
634
+ // })
635
+ // this.$refs.paged.$refs.criteria.model.f_is_checkbook = 'f_check_book_name is null'
636
+ // //tag
637
+ // // this.init=true
638
+ // this.freshCheckBook()
595
639
  }
596
640
  }
597
641
  </script>
@@ -7,9 +7,65 @@
7
7
  <div class="form-group col-sm-3" >
8
8
  <label class="font_normal_body">客户编号</label>
9
9
  <input type="text" class="input_search" style="width:60%" v-model="model.f_userinfo_code" placeholder='客户编号'
10
- condition="f_userinfo_code = '{}'" @keyup.enter="search()">
10
+ condition="tui.f_userinfo_code = '{}'" @keyup.enter="search()">
11
11
  </div>
12
+ <div class="form-group col-sm-3">
13
+ <label class="font_normal_body">客户名称</label>
14
+ <input type="text" class="input_search" v-model="model.f_user_name"
15
+ style="width: 60%" placeholder="客户名称" condition="tui.f_user_name like '%{}%'">
16
+ </div>
17
+ <div class="form-group col-sm-3" >
18
+ <label class="font_normal_body">地址</label>
19
+ <input type="text" class="input_search" v-model="model.f_address"
20
+ style="width: 60%" placeholder="地址" condition="tua.f_address like '%{}%'">
21
+ </div>
22
+ <div class="form-group col-sm-3" >
23
+ <label class="font_normal_body">小区名称</label>
24
+ <input type="text" class="input_search" v-model="model.f_residential_area"
25
+ style="width: 60%" placeholder="小区名称" condition="tua.f_residential_area like '%{}%'">
26
+ </div>
27
+ </div>
28
+ <div class="row">
29
+ <div class="form-group col-sm-3" >
30
+ <label class="font_normal_body">客户类型</label>
31
+ <v-select :value.sync="model.f_user_type" v-model='model.f_user_type'
32
+ :value-single="true" style="width: 60%"
33
+ class="select_list select"
34
+ :options='$parent.$parent.userTypes' placeholder='客户类型'
35
+ close-on-select
36
+ condition="tuf.f_user_type ='{}'"></v-select>
37
+ </div>
38
+ <div class="form-group col-sm-3">
39
+ <label class="font_normal_body">通气开始</label>
40
+ <datepicker
41
+ :value.sync="model.f_gas_start"
42
+ placeholder='开始时间' style="width: 60%"
43
+ :disabled-days-of-week="[]"
44
+ :format="'yyyy-MM-dd'"
45
+ :show-rest-button="reset"
46
+ v-model="model.f_gas_start"
47
+ condition="f_gas_date > ='{} 00:00:00'">
48
+ </datepicker>
49
+ </div>
50
+ <div class="form-group col-sm-3">
51
+ <label class="font_normal_body">通气结束</label>
52
+ <datepicker
53
+ :value.sync="model.f_gas_end"
54
+ placeholder='结束时间' style="width: 60%"
55
+ :disabled-days-of-week="[]"
56
+ :format="'yyyy-MM-dd'"
57
+ :show-rest-button="reset"
58
+ v-model="model.f_gas_end"
59
+ condition="f_gas_date <= '{} 23:59:59'">
60
+ </datepicker>
61
+ </div>
62
+ </div>
63
+ <div class="row">
12
64
  <div class="form-group col-sm-2 button-range" >
65
+ <export-excel-safe :data="$parent.$parent.searchData"
66
+ :field="$parent.$parent.excelHeaders"
67
+ :choose-col="true"
68
+ sqlurl="rs/logic/SafeExportExcel" sql-name="getUserByCheckBook" template-name='安检册明细'></export-excel-safe>
13
69
  <button class="button_search" style="margin-right: 10px" @click="search()" v-el:cba>查询</button>
14
70
  <button class="button_spacing button_search-1" @click='$parent.$parent.removes()' v-if="$parent.$parent.bookList.length>0" >移出安检册</button>
15
71
  </div>
@@ -27,6 +83,7 @@
27
83
  <th><nobr>用户姓名</nobr></th>
28
84
  <th><nobr>用户电话</nobr></th>
29
85
  <th><nobr>用户地址</nobr></th>
86
+ <th><nobr>通气日期</nobr></th>
30
87
  <th><nobr>操作</nobr></th>
31
88
  </tr>
32
89
  </template>
@@ -42,6 +99,7 @@
42
99
  <td style="text-align:center">{{row.f_user_name}}</td>
43
100
  <td style="text-align:center">{{row.f_user_phone}}</td>
44
101
  <td style="text-align:center">{{row.f_address}}</td>
102
+ <td style="text-align:center">{{row.f_gas_date}}</td>
45
103
  <td style="text-align: center">
46
104
  <button class="button_spacing button_search-1" @click='$parent.$parent.$parent.remove(row)'>移出安检册</button>
47
105
  </td>
@@ -65,6 +123,17 @@ export default {
65
123
  checkAll:false,
66
124
  rowdata: this.row,
67
125
  bookList: [],
126
+ searchData: {
127
+ condition: "1=1"
128
+ },
129
+ excelHeaders: {
130
+ 'f_userinfo_code': '客户编号',
131
+ 'f_user_name': '客户姓名',
132
+ 'f_user_phone':'客户电话',
133
+ 'f_address': '客户地址',
134
+ 'f_gas_date': '通气日期'
135
+ },
136
+ userTypes: [{label: '全部', value: ''},{label: '民用', value: '民用'}, {label: '非民用', value: '非民用'}],
68
137
  model: new PagedList('rs/sql/getUserByCheckBook', 50)
69
138
  }
70
139
  },
@@ -86,6 +155,7 @@ export default {
86
155
  // condition = `tc.f_check_book_id =${this.row.f_check_book_id} and tc.id=${this.row.id}`
87
156
  // }
88
157
  this.model.search(condition)
158
+ this.searchData.condition = condition
89
159
  //只显示用户页面
90
160
  this.row.f_check_book_type='用户'
91
161
  }
@@ -189,6 +259,7 @@ export default {
189
259
  // args.condition += `and tc.f_check_book_id =${this.rowdata.f_check_book_id} and tc.id=${this.rowdata.id}`
190
260
  // }
191
261
  this.model.search(args.condition)
262
+ this.searchData.condition = args.condition
192
263
  } else {
193
264
  this.$showMessage('请选择片区')
194
265
  }