safecheck-client 3.0.33-14 → 3.0.33-141

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 (152) 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 +12 -10
  5. package/src/components/Util.js +7 -0
  6. package/src/components/android/CurrentCreate.vue +1 -1
  7. package/src/components/android/SafecheckDevices.vue +5 -1
  8. package/src/components/android/SafecheckOrderV.vue +18 -12
  9. package/src/components/android/SwitchValve.vue +1 -1
  10. package/src/components/map/checkScreen.vue +27 -21
  11. package/src/components/paper/PlanChooser.vue +4 -2
  12. package/src/components/planmanage/PlanManage.vue +14 -4
  13. package/src/components/planmanage/checkPlanList.vue +2 -1
  14. package/src/components/planmanage/checkUserList.vue +2 -0
  15. package/src/components/report/HiddenSituation.vue +3 -3
  16. package/src/components/rongcheng/AspiratedPaperFeedbackm.vue +1045 -1019
  17. package/src/components/rongcheng/AspiratedPaperMessage.vue +1378 -1378
  18. package/src/components/rongcheng/DefectPaper.vue +1 -1
  19. package/src/components/rongcheng/PaperListNPSQ.vue +455 -420
  20. package/src/components/rongcheng/PaperListSQ.vue +444 -423
  21. package/src/components/rongcheng/PhoneUpUserinfo.vue +1328 -1191
  22. package/src/components/rongcheng/SafecheckOrderV.vue +1 -1
  23. package/src/components/rongcheng/report/CheckPlanAreaList.vue +1 -3
  24. package/src/components/safecheckNew/PaperList.vue +785 -0
  25. package/src/components/safecheckNew/android/AddPlanItem.vue +419 -0
  26. package/src/components/safecheckNew/android/AreaPlan.vue +561 -0
  27. package/src/components/safecheckNew/android/CurrentCreate.vue +1050 -0
  28. package/src/components/safecheckNew/android/Recheck.vue +379 -0
  29. package/src/components/safecheckNew/android/SafecheckDevices.vue +1400 -0
  30. package/src/components/safecheckNew/android/SafecheckOrderV.vue +2692 -0
  31. package/src/filiale/Util.js +5 -0
  32. package/src/filiale/baiyin/android/AndroidDefectDeal.vue +633 -0
  33. package/src/filiale/baiyin/android.js +10 -0
  34. package/src/filiale/baiyin/pc/PaperList.vue +790 -0
  35. package/src/filiale/baiyin/pc/PlanChooser.vue +167 -0
  36. package/src/filiale/baiyin/pc/PlanManage.vue +834 -0
  37. package/src/filiale/baiyin/pc/RightTreeSafe.vue +348 -0
  38. package/src/filiale/baiyin/pc/RoleSelector.vue +160 -0
  39. package/src/filiale/baiyin/pc.js +17 -0
  40. package/src/filiale/bayan/android/AddPlanItem.vue +7 -2
  41. package/src/filiale/bayan/android/CheckPlanDown.vue +249 -0
  42. package/src/filiale/bayan/android/SafecheckOrderV.vue +8 -6
  43. package/src/filiale/bayan/android/SafecheckUserInfo.vue +560 -508
  44. package/src/filiale/bayan/android.js +1 -0
  45. package/src/filiale/bayan/pc/CheckDetail.vue +205 -0
  46. package/src/filiale/bayan/pc/CheckPlan.vue +59 -0
  47. package/src/filiale/bayan/pc/CheckPlanAreaList.vue +565 -0
  48. package/src/filiale/bayan/pc/CheckSearchUser.vue +1110 -0
  49. package/src/filiale/bayan/pc/DefectListNew.vue +597 -0
  50. package/src/filiale/bayan/pc/DefectMainNew.vue +63 -0
  51. package/src/filiale/bayan/pc/DefectPaperNew.vue +1218 -0
  52. package/src/filiale/bayan/pc/HiddenSituation.vue +256 -0
  53. package/src/filiale/bayan/pc/NewCheckpaper.vue +31 -1
  54. package/src/filiale/bayan/pc/PaperList.vue +119 -12
  55. package/src/filiale/bayan/pc/PlanManage.vue +29 -8
  56. package/src/filiale/bayan/pc/SelectCheckPlan.vue +333 -0
  57. package/src/filiale/bayan/pc.js +6 -0
  58. package/src/filiale/dexin/android/SafecheckOrderV.vue +123 -24
  59. package/src/filiale/dexin/android/WebMeterOpenEdit.vue +1 -0
  60. package/src/filiale/fugou/android/SafecheckOrderV.vue +2796 -0
  61. package/src/filiale/fugou/android.js +2 -1
  62. package/src/filiale/fugou/pc/AddToCheckBook.vue +56 -119
  63. package/src/filiale/fugou/pc/CheckBook.vue +303 -301
  64. package/src/filiale/fugou/pc/CheckBookDetails.vue +161 -161
  65. package/src/filiale/fugou/pc/CheckBookEntry.vue +94 -66
  66. package/src/filiale/fugou/pc/CheckBookList.vue +366 -366
  67. package/src/filiale/fugou/pc/CheckBookSearchArea.vue +560 -560
  68. package/src/filiale/fugou/pc/CheckBookSearchUser.vue +810 -651
  69. package/src/filiale/fugou/pc/CheckBookUser.vue +102 -45
  70. package/src/filiale/fugou/pc/DefectPaperNew.vue +10 -6
  71. package/src/filiale/fugou/pc/PaperDefectMain.vue +12 -6
  72. package/src/filiale/fugou/pc/PaperList.vue +14 -6
  73. package/src/filiale/fugou/pc/PlanManage.vue +62 -8
  74. package/src/filiale/fugou/pc/checkPlanList.vue +371 -371
  75. package/src/filiale/fugou/pc/checkUserList.vue +222 -42
  76. package/src/filiale/hanzhong/pc/CheckHiddenDanger.vue +15 -5
  77. package/src/filiale/hanzhong/pc/CheckSafeDetail.vue +12 -2
  78. package/src/filiale/hanzhong/pc/CheckSafeStatus.vue +12 -3
  79. package/src/filiale/hanzhong/pc/CheckSearchUser.vue +13 -0
  80. package/src/filiale/hanzhong/pc/CheckUserList.vue +30 -11
  81. package/src/filiale/hanzhong/pc/CheckerSafeDetail.vue +11 -2
  82. package/src/filiale/jingyang/pc/ReportCheckItemList.vue +543 -0
  83. package/src/filiale/jingyang/pc.js +1 -0
  84. package/src/filiale/kelai/pc/CheckPlanAreaList.vue +2 -22
  85. package/src/filiale/liaoyuan/pc/checkPlanList.vue +373 -0
  86. package/src/filiale/liaoyuan/pc.js +2 -1
  87. package/src/filiale/qianneng/pc/PaperList.vue +31 -1
  88. package/src/filiale/rongchuang/android/SafecheckDevices.vue +468 -748
  89. package/src/filiale/rongchuang/android/SafecheckOrderV.vue +984 -1234
  90. package/src/filiale/rongchuang/android.js +1 -0
  91. package/src/filiale/rongchuang/pc/NewCheckpaper.vue +294 -305
  92. package/src/filiale/rongchuang/pc/PaperList.vue +812 -0
  93. package/src/filiale/rongchuang/pc.js +1 -0
  94. package/src/filiale/siyang/android/PhoneRecordInfo.vue +214 -0
  95. package/src/filiale/siyang/android/SafecheckOrderV.vue +2796 -0
  96. package/src/filiale/siyang/android/SafecheckUserInfo.vue +789 -0
  97. package/src/filiale/siyang/android.js +11 -0
  98. package/src/filiale/siyang/pc/PaperDefectMain.vue +864 -0
  99. package/src/filiale/siyang/pc/PaperList.vue +834 -0
  100. package/src/filiale/siyang/pc/PlanManage.vue +839 -0
  101. package/src/filiale/siyang/pc/checkUserList.vue +781 -0
  102. package/src/filiale/siyang/pc.js +15 -0
  103. package/src/filiale/tianke/pc/checkScreen.vue +36 -31
  104. package/src/filiale/tongchuan/android/PhoneUpUserinfo.vue +60 -2
  105. package/src/filiale/tongchuan/android/SafecheckOrderV.vue +2 -3
  106. package/src/filiale/tongchuan/pc/NewCheckpaper.vue +1 -1
  107. package/src/filiale/tongchuan/pc/checkUserList.vue +2 -2
  108. package/src/filiale/weinan/android/PaperFeedback.vue +8 -8
  109. package/src/filiale/weinan/android/SafecheckDevices.vue +6 -2
  110. package/src/filiale/weinan/android/SafecheckOrderV.vue +16 -2
  111. package/src/filiale/weinan/android/SafecheckUserInfo.vue +7 -2
  112. package/src/filiale/weinan/pc/CheckSearchUser.vue +1078 -0
  113. package/src/filiale/weinan/pc/DefectPaperNew.vue +7 -1
  114. package/src/filiale/weinan/pc.js +1 -0
  115. package/src/filiale/wenxi/android/PhoneUpUserinfo.vue +1 -1
  116. package/src/filiale/wenxi/android/SafecheckUserInfo.vue +85 -63
  117. package/src/filiale/wenxi/pc/NewCheckpaper.vue +1 -1
  118. package/src/filiale/yangchunboneng/android/AddPlanItem.vue +46 -1
  119. package/src/filiale/yangchunboneng/android/CurrentCreate.vue +39 -2
  120. package/src/filiale/yangchunboneng/android/PhoneUpUserinfo.vue +1235 -0
  121. package/src/filiale/yangchunboneng/android/SafecheckDevices.vue +1 -1
  122. package/src/filiale/yangchunboneng/android/SafecheckOrderV.vue +15 -4
  123. package/src/filiale/yangchunboneng/android/SafecheckUserInfo.vue +16 -6
  124. package/src/filiale/yangchunboneng/android.js +1 -0
  125. package/src/filiale/yangchunboneng/pc/CheckBookList.vue +4 -4
  126. package/src/filiale/yangchunboneng/pc/CheckBookSearchUser.vue +76 -32
  127. package/src/filiale/yangchunboneng/pc/CheckBookUser.vue +72 -1
  128. package/src/filiale/yangchunboneng/pc/CheckSearchUser.vue +187 -13
  129. package/src/filiale/yangchunboneng/pc/PaperList.vue +17 -0
  130. package/src/filiale/yongzhou/android/SafecheckOrderV.vue +221 -256
  131. package/src/filiale/yongzhou/pc/CheckPlan.vue +59 -0
  132. package/src/filiale/yongzhou/pc/CheckSearchUser.vue +1 -1
  133. package/src/filiale/yongzhou/pc/DefectPaperNew.vue +1105 -0
  134. package/src/filiale/yongzhou/pc/NoCheckplanSafecheck.vue +412 -107
  135. package/src/filiale/yongzhou/pc/PaperDefectMain.vue +872 -0
  136. package/src/filiale/yongzhou/pc/PaperList.vue +1 -1
  137. package/src/filiale/yongzhou/pc/SelectCheckPlan.vue +364 -0
  138. package/src/filiale/yongzhou/pc/communityTypeDetailG.vue +56 -125
  139. package/src/filiale/yongzhou/pc/communityTypeDetailM.vue +94 -187
  140. package/src/filiale/yongzhou/pc/safeDetail.vue +311 -20
  141. package/src/filiale/yongzhou/pc/safeStatistics.vue +74 -24
  142. package/src/filiale/yongzhou/pc/safeStatisticsDay.vue +2 -2
  143. package/src/filiale/yongzhou/pc/safeStatisticsMonth.vue +2 -2
  144. package/src/filiale/yongzhou/pc/safeStatisticsYear.vue +47 -23
  145. package/src/filiale/yongzhou/pc/safeTable.vue +3 -3
  146. package/src/filiale/yongzhou/pc.js +4 -0
  147. package/src/filiale/zhongsheng/android/CurrentCreate.vue +7 -2
  148. package/src/filiale/zhongsheng/pc/DefectPaperWeiXiu.vue +6 -2
  149. package/src/main.js +33 -33
  150. package/src/rongcheng.js +316 -314
  151. package/src/safecheck-android.js +6 -0
  152. package/src/safecheck.js +3 -0
@@ -0,0 +1,256 @@
1
+ <template>
2
+ <div id='app' class="basic-main" style="height: 100%">
3
+ <criteria-paged :model="model" :pager='false'>
4
+ <criteria partial='criteria' @condition-changed='search' class="search_area">
5
+ <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
6
+ <div class="row">
7
+ <!-- <div class="col-sm-4 form-group">-->
8
+ <!-- <role-selector-safe-->
9
+ <!-- role-name="安检员"-->
10
+ <!-- role-lable="安&ensp;检&ensp;员"-->
11
+ <!-- @re-res="$parent.$parent.getRes"-->
12
+ <!-- :value.sync="model.f_checker_id"-->
13
+ <!-- v-model="model.f_checker_id"-->
14
+ <!-- condition="f_checker_name like '%{}%'">-->
15
+ <!-- </role-selector-safe>-->
16
+ <!-- </div>-->
17
+ <div class="form-group col-sm-2" >
18
+ <label class="font_normal_body" >区&emsp;&emsp;域</label>
19
+ <v-select :value.sync="model.f_quyu" :value-single="true" v-model="model.f_quyu"
20
+ :options='$parent.$parent.quyus' placeholder='区域' class="select_list select" style="width: 60%"
21
+ @change="$parent.$parent.quyuChange"
22
+ close-on-select>
23
+ </v-select>
24
+ </div>
25
+ <div class="form-group col-sm-2" >
26
+ <label class="font_normal_body" >营&ensp;业&ensp;厅</label>
27
+ <v-select :value.sync="model.f_bumen" :value-single="true" v-model="model.f_bumen"
28
+ :options='$parent.$parent.bumens' placeholder='营业厅'
29
+ @change="$parent.$parent.bumenChange" class="select_list select" style="width: 60%"
30
+ close-on-select>
31
+ </v-select>
32
+ </div>
33
+ <div class="form-group col-sm-2" >
34
+ <label class="font_normal_body">小&emsp;&emsp;组</label>
35
+ <v-select :value.sync="model.f_team" :value-single="true" v-model="model.f_team"
36
+ :options='$parent.$parent.teams' placeholder='小组'
37
+ @change="$parent.$parent.teamChange" class="select_list select" style="width: 60%"
38
+ close-on-select>
39
+ </v-select>
40
+ </div>
41
+ <div class="form-group col-sm-2" >
42
+ <label class="font_normal_body" >安&ensp;检&ensp;员</label>
43
+ <v-select :value.sync="model.f_checker_id" v-model="model.f_checker_id"
44
+ :multiple="true" class="select_list select" style="width: 60%"
45
+ :options='$parent.$parent.checkers' placeholder='安检员' condition="f_checker_name in {}"
46
+ close-on-select>
47
+ </v-select>
48
+ </div>
49
+ <div class="col-sm-2 form-group">
50
+ <label for="startDate" class="font_normal_body">开始日期:</label>
51
+ <datepicker id="startDate" placeholder="开始日期"
52
+ v-model="model.startDate"
53
+ :value.sync="model.startDate"
54
+ style="width: 60%;"
55
+ :disabled-days-of-Week="[]"
56
+ :format="'yyyy-MM-dd 00:00:00'"
57
+ :show-reset-button="reset">
58
+ </datepicker>
59
+ </div>
60
+ <div class="col-sm-2 form-group">
61
+ <label for="endDate" class="font_normal_body">结束日期:</label>
62
+ <datepicker id="endDate" placeholder="结束日期"
63
+ v-model="model.endDate"
64
+ :value.sync="model.endDate"
65
+ :disabled-days-of-Week="[]"
66
+ style="width: 60%;"
67
+ :format="'yyyy-MM-dd 23:59:59'"
68
+ :show-reset-button="reset">
69
+ </datepicker>
70
+ </div>
71
+ <div class="col-sm-2 form-group" >
72
+ <label class="font_normal_body">用气性质</label>
73
+ <v-select
74
+ class="select_list select"
75
+ placeholder='用气性质' style="width: 60%"
76
+ v-model='model.userType'
77
+ :value.sync="model.userType"
78
+ :options='$parent.$parent.userTypes'
79
+ condition="tuf.f_gasproperties in {} "
80
+ :multiple="true"
81
+ ></v-select>
82
+ </div>
83
+ <div class="col-sm-2 form-group" >
84
+ <label class="font_normal_body">气表类型</label>
85
+ <v-select
86
+ class="select_list select"
87
+ placeholder='气表类型' style="width: 60%"
88
+ v-model='model.tableType'
89
+ :value.sync="model.tableType"
90
+ :options='$parent.$parent.tableTypes'
91
+ condition="tuf.f_meter_classify = '{}'"
92
+ :value-single="true"
93
+ close-on-select clear-button></v-select>
94
+ </div>
95
+ <div class="col-sm-2 form-group" >
96
+ <label class="font_normal_body">气表品牌</label>
97
+ <v-select
98
+ class="select_list select"
99
+ placeholder='气表类型' style="width: 60%"
100
+ v-model='model.tableBrand'
101
+ :value.sync="model.tableBrand"
102
+ :options='$parent.$parent.tableBrands'
103
+ condition="gb.f_meter_brand = '{}'"
104
+ :value-single="true"
105
+ close-on-select clear-button></v-select>
106
+ </div>
107
+ <div class="col-sm-2 form-group" >
108
+ <label class="font_normal_body">用户类型</label>
109
+ <v-select :value.sync="model.f_check_type" v-model='model.f_check_type'
110
+ :value-single="true" style="width: 60%"
111
+ class="select_list select"
112
+ :options='$parent.$parent.checktype' placeholder='客户类型'
113
+ close-on-select
114
+ condition="f_check_type = '{}'"></v-select>
115
+ </div>
116
+ <div class="col-sm-4 form-group" style="margin-top: 8px">
117
+ <button class="button_search button_spacing" @click="search()">查询</button>
118
+ <report-print class="button_export button_spacing" style="width:28%" id='shexian'></report-print>
119
+ <report-excel class="button_export button_spacing" style="width:28%" id='shexian'></report-excel>
120
+ </div>
121
+ </div>
122
+ </div>
123
+ </criteria>
124
+ <div partial='list' id='shexian' class="list_area" style="overflow-y: scroll">
125
+ <table class='tableprint' style="margin: 0px auto">
126
+ <thead>
127
+ <tr>
128
+ <th colspan='5' style="font-weight: normal; text-align: left;">
129
+ <h3 style="text-align: center">隐患报表</h3>
130
+ </th>
131
+ </tr>
132
+ <tr>
133
+ <th colspan='5' style="font-weight: normal; text-align: center;">
134
+ 开始时间:{{model.model.startDate}}&nbsp;&nbsp;&nbsp;
135
+ 结束时间:{{ model.model.endDate }}
136
+ </th>
137
+ </tr>
138
+ </thead>
139
+ <tr>
140
+ <th colspan='5' style="font-weight: normal;">
141
+ {{{ model.data.substring(26,model.data.length-8) }}}
142
+ </th>
143
+ </tr>
144
+ </table>
145
+ </div>
146
+ </criteria-paged>
147
+ </div>
148
+
149
+ </template>
150
+
151
+ <script>
152
+ import {DataModel, HttpResetClass} from 'vue-client'
153
+
154
+ export default {
155
+ title: '隐患报表',
156
+ data () {
157
+
158
+ let model = new DataModel('rs/report/hiddensituation', {
159
+ startDate: 'this.model.startDate',
160
+ endDate: 'this.model.endDate',
161
+ f_filialeid: 'this.f_filialeid'
162
+ })
163
+ model.f_filialeid = '(' + this.$login.f.orgid + ')'
164
+ return {
165
+ checktype: this.$appdata.getParam('用户类型')?[{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]:[{label: '全部', value: ''}],
166
+ allCheckers: [{label: '请选择', value: ''}],
167
+ quyus: [{label: '请选择', value: ''}, ...this.$appdata.getParam('区域')],
168
+ bumens: [{label: '请选择', value: ''}],
169
+ teams: [{label: '请选择', value: ''}],
170
+ checkers:[{label: '请选择', value: ''}],
171
+ userTypes: [{label: '全部', value: ''}, ...this.$appdata.getParam('用气性质')],
172
+ tableTypes: [{label: '全部', value: ''}, ...this.$appdata.getParam('气表类型')],
173
+ tableBrands: [{label: '全部', value: ''}],
174
+ filialeNameStr: '',
175
+ filialeCodeStr: '',
176
+ userid: this.$login.f.id,
177
+ source: `tool.getFullTree(this.getRights().where(row.getType() != $zone$).where(row.getType() == $organization$))`,
178
+ model: model
179
+ }
180
+ },
181
+ methods: {
182
+ bumenChange(val) {
183
+ if (val) {
184
+ this.teams = this.$appdata.getParam(`工单-` + val) ? [{
185
+ label: '请选择',
186
+ value: ''
187
+ }, ...this.$appdata.getParam(`工单-` + val)] : [{label: '请选择', value: ''}]
188
+ }else {
189
+ this.checkers = this.allCheckers
190
+ }
191
+ },
192
+ teamChange(val) {
193
+ if (val) {
194
+ this.checkers = this.$appdata.getParam(val) ? [...this.$appdata.getParam(val)] : [{label: '请选择', value: ''}]
195
+ }else {
196
+ this.checkers = this.allCheckers
197
+ }
198
+ },
199
+ quyuChange(val) {
200
+ if (val) {
201
+ this.bumens = this.$appdata.getParam(val) ? [{
202
+ label: '请选择',
203
+ value: ''
204
+ }, ...this.$appdata.getParam(val)] : [{label: '请选择', value: ''}]
205
+ }else {
206
+ this.checkers = this.allCheckers
207
+ }
208
+ },
209
+ getRes (obj) {
210
+ this.model.f_filialeid = this.$login.convertToIn(obj.resids)
211
+ },
212
+ getTableBrands() {
213
+ new HttpResetClass().load("POST", `/rs/sql/safe_singleTable_OrderBy`,
214
+ {data: {items: "*", tablename: "t_gasbrand", orderitem: "id", condition: ` 1=1 `}},
215
+ {resolveMsg: null, rejectMsg: null}).then((resp) => {
216
+ resp.data.forEach((result) => {
217
+ this.tableBrands.push({label: result.f_meter_brand, value: result.f_meter_brand})
218
+ })
219
+ })
220
+ },
221
+ getAllChecker() {
222
+ new HttpResetClass().load('POST', `/rs/sql/tel_singleTable_OrderBy`, {
223
+ data: {
224
+ items: 'name',
225
+ tablename: 't_user',
226
+ condition: `state = '在职' and rolestr like '%安检员%'`,
227
+ orderitem: 'id'
228
+ }
229
+ }, {resolveMsg: null, rejectMsg: null}).then((res) => {
230
+ res.data.forEach(ress => {
231
+ this.allCheckers.push({
232
+ label: ress.name,
233
+ value: ress.name
234
+ })
235
+ })
236
+ this.checkers = this.allCheckers
237
+ })
238
+ }
239
+ },
240
+ ready () {
241
+ this.getAllChecker()
242
+ this.getTableBrands()
243
+ },
244
+ computed: {
245
+ selected () {
246
+ return this.$refs.grid.selected
247
+ }
248
+ // outlets () {
249
+ // return [{label: '全部', value: ''}, ...AppData.getParam('营业网点')]
250
+ // },
251
+ // operator () {
252
+ // return [{label: '全部', value: ''}, ...AppData.getParam('操作员')]
253
+ // }
254
+ }
255
+ }
256
+ </script>
@@ -212,6 +212,22 @@ div {
212
212
  </button-link>
213
213
  </td>
214
214
  </tr>
215
+ <tr>
216
+ <td style="text-align: center;border: #E9E9E9 solid 1px;width: 17%">到访单号:</td>
217
+ <td style="text-align: center;border: #E9E9E9 solid 1px;width: 33%">
218
+ {{ paperdata.f_visit_number }}
219
+ </td>
220
+ <td style="text-align: center;border: #E9E9E9 solid 1px;width: 17%">备注:</td>
221
+ <td style="text-align: center;border: #E9E9E9 solid 1px;width: 33%">
222
+ {{ paperdata.f_remark }}
223
+ </td>
224
+ </tr>
225
+ <tr>
226
+ <td style="text-align: center;border: #E9E9E9 solid 1px;width: 17%">备注信息:</td>
227
+ <td colspan="3" style="text-align: center;border: #E9E9E9 solid 1px;width: 50%">
228
+ {{ paperdata.f_remark }}
229
+ </td>
230
+ </tr>
215
231
 
216
232
  </tbody>
217
233
  </table>
@@ -593,6 +609,16 @@ div {
593
609
  </button-link>
594
610
  </td>
595
611
  </tr>
612
+ <tr>
613
+ <td style="text-align: center;border: #E9E9E9 solid 1px;width: 17%">到访单号:</td>
614
+ <td style="text-align: center;border: #E9E9E9 solid 1px;width: 33%">
615
+ {{ paperdata.f_visit_number }}
616
+ </td>
617
+ <td style="text-align: center;border: #E9E9E9 solid 1px;width: 17%">备注:</td>
618
+ <td style="text-align: center;border: #E9E9E9 solid 1px;width: 33%">
619
+ {{ paperdata.f_remark }}
620
+ </td>
621
+ </tr>
596
622
 
597
623
  </tbody>
598
624
  </table>
@@ -890,6 +916,7 @@ import Vue from 'vue'
890
916
  import * as Util from '../../Util'
891
917
  import {jsonSort} from '../../../utils/LdapHelper'
892
918
  import {HttpResetClass} from "vue-client";
919
+ import {isEmpty} from "../../Util";
893
920
 
894
921
  let asyncReady = async function (self) {
895
922
  // 获取配置信息
@@ -1461,7 +1488,10 @@ export default {
1461
1488
  if (this.devicesAll[i][j].f_items[k].f_item_lists[0]) {
1462
1489
  for (let l = 0; l < this.devicesAll[i][j].f_items[k].f_item_lists.length; l++) {
1463
1490
  let val = this.devicesAll[i][j].f_items[k].f_item_lists[l].f_item_value
1464
- aa += (val === null ? '空' : val) + ' '
1491
+ aa += (val === null? '空' : val) + ' '
1492
+ }
1493
+ if(isEmpty(aa)){
1494
+ return '无'
1465
1495
  }
1466
1496
  return aa
1467
1497
  }
@@ -147,16 +147,16 @@
147
147
  <!-- <right-tree @re-res="$parent.$parent.getRes" :initresid="$parent.$parent.$login.f.orgid">-->
148
148
  <!-- </right-tree>-->
149
149
  <!-- </div>-->
150
- <div class="col-sm-4 form-group" v-show="$parent.$parent.criteriaShow" style="margin: 0">
151
- <role-selector-safe
152
- role-name="安检员"
153
- role-lable="安&nbsp;检&nbsp;员&nbsp;"
154
- @re-res="$parent.$parent.getRes"
155
- :value.sync="model.f_checker_id"
156
- v-model="model.f_checker_id"
157
- condition="f_checker_name = '{}'">
158
- </role-selector-safe>
159
- </div>
150
+ <!-- <div class="col-sm-4 form-group" v-show="$parent.$parent.criteriaShow" style="margin: 0">-->
151
+ <!-- <role-selector-safe-->
152
+ <!-- role-name="安检员"-->
153
+ <!-- role-lable="安&nbsp;检&nbsp;员&nbsp;"-->
154
+ <!-- @re-res="$parent.$parent.getRes"-->
155
+ <!-- :value.sync="model.f_checker_id"-->
156
+ <!-- v-model="model.f_checker_id"-->
157
+ <!-- condition="f_checker_name = '{}'">-->
158
+ <!-- </role-selector-safe>-->
159
+ <!-- </div>-->
160
160
  <div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow">
161
161
  <label class="font_normal_body">片&emsp;&emsp;区</label>
162
162
  <v-select class="select_list select"
@@ -280,8 +280,8 @@
280
280
  <!-- </div>-->
281
281
  <div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow">
282
282
  <label class="font_normal_body">未用燃气</label>
283
- <v-select class="select_list select"
284
- placeholder='请选择' style="width: 60%"
283
+ <v-select class="select_list select" style="width: 60%"
284
+ placeholder='请选择'
285
285
  :value.sync="model.f_usegas" v-model="model.f_usegas"
286
286
  :options='$parent.$parent.usegas'
287
287
  filer-key="name"
@@ -300,6 +300,62 @@
300
300
  <input type="number" class="input_search" v-model="model.f_check_date"
301
301
  style="width: 60%" placeholder="距上次安检天数" >
302
302
  </div>
303
+ <div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow">
304
+ <label class="font_normal_body" >区&emsp;&emsp;域</label>
305
+ <v-select :value.sync="model.f_quyu" :value-single="true" v-model="model.f_quyu"
306
+ :options='$parent.$parent.quyus' placeholder='区域' class="select_list select" style="width: 60%"
307
+ @change="$parent.$parent.quyuChange"
308
+ close-on-select>
309
+ </v-select>
310
+ </div>
311
+ <div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow">
312
+ <label class="font_normal_body" >营&ensp;业&ensp;厅</label>
313
+ <v-select :value.sync="model.f_bumen" :value-single="true" v-model="model.f_bumen"
314
+ :options='$parent.$parent.bumens' placeholder='营业厅'
315
+ @change="$parent.$parent.bumenChange" class="select_list select" style="width: 60%"
316
+ close-on-select>
317
+ </v-select>
318
+ </div>
319
+ <div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow">
320
+ <label class="font_normal_body">小&emsp;&emsp;组</label>
321
+ <v-select :value.sync="model.f_team" :value-single="true" v-model="model.f_team"
322
+ :options='$parent.$parent.teams' placeholder='小组'
323
+ @change="$parent.$parent.teamChange" class="select_list select" style="width: 60%"
324
+ close-on-select>
325
+ </v-select>
326
+ </div>
327
+ <div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow">
328
+ <label class="font_normal_body" >安&ensp;检&ensp;员</label>
329
+ <v-select :value.sync="model.f_checker_id" v-model="model.f_checker_id"
330
+ :multiple="true" class="select_list select" style="width: 60%"
331
+ :options='$parent.$parent.checkers' placeholder='安检员' condition="f_checker_name in {}"
332
+ close-on-select>
333
+ </v-select>
334
+ </div>
335
+ <!-- <div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow" >-->
336
+ <!-- <label class="font_normal_body">连续时间</label>-->
337
+ <!-- <datepicker-->
338
+ <!-- :value.sync="model.f_last_start"-->
339
+ <!-- placeholder='连续时间开始' style="width: 60%"-->
340
+ <!-- :disabled-days-of-week="[]"-->
341
+ <!-- :format="'yyyy-MM-dd'"-->
342
+ <!-- :show-rest-button="reset"-->
343
+ <!-- v-model="model.f_last_start"-->
344
+ <!-- condition="f_last_check_date> ='{} 00:00:00'">-->
345
+ <!-- </datepicker>-->
346
+ <!-- </div>-->
347
+ <!-- <div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow" >-->
348
+ <!-- <label class="font_normal_body">连续时间</label>-->
349
+ <!-- <datepicker-->
350
+ <!-- :value.sync="model.f_last_end"-->
351
+ <!-- placeholder='连续时间结束' style="width: 60%"-->
352
+ <!-- :disabled-days-of-week="[]"-->
353
+ <!-- :format="'yyyy-MM-dd'"-->
354
+ <!-- :show-rest-button="reset"-->
355
+ <!-- v-model="model.f_last_end"-->
356
+ <!-- condition="f_last_check_date<= '{} 23:59:59'">-->
357
+ <!-- </datepicker>-->
358
+ <!-- </div>-->
303
359
  </div>
304
360
  <modal :show.sync="$parent.$parent.showModal" v-ref:modal backdrop="false">
305
361
  <div slot="modal-header" class="modal-header">
@@ -490,6 +546,11 @@ export default {
490
546
  // }
491
547
  // model.f_subcompany = this.$login.f.f_fengongsi
492
548
  return {
549
+ allCheckers: [{label: '请选择', value: ''}],
550
+ quyus: [{label: '请选择', value: ''}, ...this.$appdata.getParam('区域')],
551
+ bumens: [{label: '请选择', value: ''}],
552
+ teams: [{label: '请选择', value: ''}],
553
+ checkers:[{label: '请选择', value: ''}],
493
554
  tableBrands: [{label: '全部', value: ''}],
494
555
  audioshow: false,
495
556
  safeAudit: this.$appdata.getSingleValue('安检审核') == '是' ? true : false,
@@ -545,6 +606,33 @@ export default {
545
606
  }
546
607
  },
547
608
  methods: {
609
+ bumenChange(val) {
610
+ if (val) {
611
+ this.teams = this.$appdata.getParam(`工单-` + val) ? [{
612
+ label: '请选择',
613
+ value: ''
614
+ }, ...this.$appdata.getParam(`工单-` + val)] : [{label: '请选择', value: ''}]
615
+ }else {
616
+ this.checkers = this.allCheckers
617
+ }
618
+ },
619
+ teamChange(val) {
620
+ if (val) {
621
+ this.checkers = this.$appdata.getParam(val) ? [...this.$appdata.getParam(val)] : [{label: '请选择', value: ''}]
622
+ }else {
623
+ this.checkers = this.allCheckers
624
+ }
625
+ },
626
+ quyuChange(val) {
627
+ if (val) {
628
+ this.bumens = this.$appdata.getParam(val) ? [{
629
+ label: '请选择',
630
+ value: ''
631
+ }, ...this.$appdata.getParam(val)] : [{label: '请选择', value: ''}]
632
+ }else {
633
+ this.checkers = this.allCheckers
634
+ }
635
+ },
548
636
  //气表品牌查询
549
637
  getTableBrands() {
550
638
  new HttpResetClass().load("POST", `/rs/sql/safe_singleTable_OrderBy`,
@@ -741,6 +829,24 @@ export default {
741
829
  }
742
830
  }
743
831
  this.model.search(args.condition, args.model, args.condValue)
832
+ },
833
+ getAllChecker() {
834
+ new HttpResetClass().load('POST', `/rs/sql/tel_singleTable_OrderBy`, {
835
+ data: {
836
+ items: 'name',
837
+ tablename: 't_user',
838
+ condition: `state = '在职' and rolestr like '%安检员%'`,
839
+ orderitem: 'id'
840
+ }
841
+ }, {resolveMsg: null, rejectMsg: null}).then((res) => {
842
+ res.data.forEach(ress => {
843
+ this.allCheckers.push({
844
+ label: ress.name,
845
+ value: ress.name
846
+ })
847
+ })
848
+ this.checkers = this.allCheckers
849
+ })
744
850
  }
745
851
  },
746
852
 
@@ -754,6 +860,7 @@ export default {
754
860
  //this.pianqu()
755
861
  this.Mreadibook(`('${this.$login.f.orgid}')`)
756
862
  co(gen)
863
+ this.getAllChecker()
757
864
  },
758
865
  watch: {
759
866
  'model.f_no_checkplan'(val) {
@@ -275,13 +275,26 @@
275
275
  >
276
276
  </v-select>
277
277
  </div>
278
- <div class="form-group col-sm-4" v-show="createPlan.isShare=='否'">
279
- <label class=" font_normal_body">选择站点</label>
278
+ <div class="form-group col-sm-4">
279
+ <label class=" font_normal_body">选择部门</label>
280
280
  <input style="width: 60%" type="text" v-show="false" v-model="createPlan.f_outlets">
281
281
  <right-tree islist :userid="userid" :source="source" v-on:re-res="reres" :textContent="选择站点">
282
282
 
283
283
  </right-tree>
284
284
  </div>
285
+ <div class="form-group col-sm-4" v-show="createPlan.isShare=='是'">
286
+ <label class=" font_normal_body">选择班组</label>
287
+ <v-select
288
+ class="select select_list"
289
+ :value.sync="createPlan.f_class"
290
+ v-model="createPlan.f_class"
291
+ :options='classes'
292
+ placeholder='请选择'
293
+ close-on-select
294
+ value-single
295
+ >
296
+ </v-select>
297
+ </div>
285
298
  <div class="form-group col-sm-4" v-show="createPlan.isShare=='否'">
286
299
  <label class="font_normal_body">安&ensp;检&ensp;员:</label>
287
300
  <v-select
@@ -450,6 +463,7 @@
450
463
  title: '计划管理',
451
464
  data() {
452
465
  return {
466
+ classes:[],
453
467
  source:
454
468
  'dep=this.getParentByType($organization$).getSpecialResByType($department$),' +
455
469
  'tool.getFullTree(dep.where(row.hasSpecialRole($派单员$)))',
@@ -528,19 +542,26 @@
528
542
  return
529
543
  }
530
544
  this.createPlan.f_outlets = val.res[0]
531
- this.checker = []
532
- let vali = {
545
+ if (this.createPlan.isShare=='否'){
546
+ this.checker = []
547
+ let vali = {
533
548
  source: `this.getSpecialResByType($user$).where(row.getAttributes().get($rolestr$).indexOf($安检员$)!=-1)`,
534
549
  userid: `${val.resids[0]}`
535
- }
536
- let http = new HttpResetClass()
537
- http.load('POST', '/rs/search', {data: vali}, {resolveMsg: null, rejectMsg: null}).then((res) => {
550
+ }
551
+ let http = new HttpResetClass()
552
+ http.load('POST', '/rs/search', {data: vali}, {resolveMsg: null, rejectMsg: null}).then((res) => {
538
553
  res.data.forEach((item) => {
539
554
  if (item.state == '在职'){
540
555
  this.checker.push({label:item.name,value:item})
541
556
  }
542
557
  })
543
- })
558
+ })
559
+ }else {
560
+ this.classes = this.$appdata.getParam(`工单-` + val.res[0]) ? [{
561
+ label: '请选择',
562
+ value: ''
563
+ }, ...this.$appdata.getParam(`工单-` + val.res[0])] : [{label: '请选择', value: ''}]
564
+ }
544
565
  },
545
566
  /* ntoway() {
546
567
  /!* return AppData.getParam('安检类型')*!/