apply-clients 7.1.36-yuchuan-6 → 7.1.36-yuchuan-7

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 (46) hide show
  1. package/build/dev-server.js +25 -10
  2. package/index.html +39 -39
  3. package/package.json +1 -1
  4. package/src/apply.js +7 -0
  5. package/src/components/android/AppSign.vue +234 -234
  6. package/src/components/android/AppUpload.vue +275 -275
  7. package/src/components/android/Ignition/VentilationIgnitionHandle.vue +462 -462
  8. package/src/components/android/Process/AppServiceControl.vue +1437 -1437
  9. package/src/components/android/Supervisory/AppProcessSupervisory.vue +344 -344
  10. package/src/components/android/Task/ShiGongXinXi/AppShowBuildUser.vue +431 -431
  11. package/src/components/android/Task/yiban/ShowDone.vue +95 -95
  12. package/src/components/android/Task/yiban/satisfactionShow.vue +166 -166
  13. package/src/components/product/ApplyCharge/ApplyChargeList.vue +1101 -1101
  14. package/src/components/product/ApplyGaiXianCharge/ApplyGaiXianViewList.vue +272 -272
  15. package/src/components/product/ApplyGuanXian/GuanXianCaiLiao.vue +236 -236
  16. package/src/components/product/ApplyGuanXian/GuanXianExplorationSelect.vue +324 -324
  17. package/src/components/product/ApplyGuanXian/GuanXianSupervisoryhCart.vue +119 -119
  18. package/src/components/product/ApplyMap/ApplyDragaboutList.vue +223 -223
  19. package/src/components/product/ApplyMap/ApplyMapLocation.vue +862 -862
  20. package/src/components/product/ChongZheng/ApplyChongZhengList.vue +415 -415
  21. package/src/components/product/Function/InstallInfoSelect.vue +371 -371
  22. package/src/components/product/Function/Service/FunctionServiceControl.vue +586 -586
  23. package/src/components/product/GongJianPush/ApplyPushDispose.vue +206 -0
  24. package/src/components/product/GongJianPush/ApplyPushList.vue +196 -0
  25. package/src/components/product/GongJianPush/ApplyPushManage.vue +90 -0
  26. package/src/components/product/Ignition/IgnitionListManage.vue +602 -602
  27. package/src/components/product/Ignition/IgnitionRecord.vue +380 -380
  28. package/src/components/product/List/OldShowDevices.vue +271 -271
  29. package/src/components/product/List/ShowAllActivity.vue +540 -540
  30. package/src/components/product/List/ShowDevices.vue +279 -279
  31. package/src/components/product/Print/BuildOrder/buildOrderList.vue +446 -446
  32. package/src/components/product/Process/ExplorationSelect.vue +597 -597
  33. package/src/components/product/Process/NewExplorationSelect.vue +586 -586
  34. package/src/components/product/Process/Processes/Print/printCharge.vue +250 -250
  35. package/src/components/product/Process/Processes/Print/printGaiXianCharge.vue +244 -244
  36. package/src/components/product/Process/Processes/devicesManagement.vue +393 -393
  37. package/src/components/product/Process/Processes/newDevicesManagement.vue +413 -413
  38. package/src/components/product/Stop/StopApplyList.vue +224 -224
  39. package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +592 -592
  40. package/src/components/product/Supervisory/SupervisoryControl.vue +116 -116
  41. package/src/components/product/Supervisory/SupervisoryList.vue +557 -557
  42. package/src/components/product/Supervisory/YiBanSupervisoryList.vue +539 -539
  43. package/src/components/product/VueUtils/ApplyUpload.vue +285 -285
  44. package/src/components/product/records/AdjustmentRecordList.vue +162 -162
  45. package/src/main.js +27 -27
  46. package/yarn.lock +0 -9824
@@ -1,380 +1,380 @@
1
- <template>
2
- <div class="flex-row">
3
- <!-- 点火记录 -->
4
- <div class="basic-main">
5
- <criteria-paged :model="model" v-ref:cp>
6
- <criteria partial='criteria' @condition-changed='$parent.searchCondition' v-ref:cri>
7
- <div class="form-horizontal select-overspread container-fluid auto" partial>
8
- <div class="row">
9
- <div class="form-group col-sm-3">
10
- <label class="font_normal_body"><strong>用户编号:</strong></label>
11
- <input type="text" class="input_search" style="width: 60%" v-model="model.f_userinfo_id"
12
- v-on:keyup.enter="$parent.$parent.search()" condition="ui.f_userinfo_id = '{}'" placeholder='用户编号'>
13
- </div>
14
- <div class="form-group col-sm-3">
15
- <label class="font_normal_body"><strong>工程编号:</strong></label>
16
- <input type="text" class="input_search" style="width: 60%" v-model="model.f_applycode"
17
- v-on:keyup.enter="$parent.$parent.search()" condition="ui.f_applycode like '%{}%'" placeholder='工程编号'>
18
- </div>
19
- <div class="form-group col-sm-3">
20
- <label class="font_normal_body"><strong>状&emsp;&emsp;态:</strong></label>
21
- <v-select
22
- v-model="model.f_ignition_state"
23
- placeholder='状态'
24
- condition="ir.f_state = '{}'"
25
- :value.sync="model.f_ignition_state"
26
- :options='$parent.$parent.states'
27
- class="select select_list"
28
- :value-single="true"
29
- close-on-select >
30
- </v-select>
31
- </div>
32
- <div class="form-group col-sm-3 button-range">
33
- <button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
34
- <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
35
- <export-excel :data="$parent.$parent.getCondition"
36
- :field="$parent.$parent.getfield"
37
- sqlurl="rs/logic/applyExportfile"
38
- sql-name="getWaitIgnitionTask"
39
- template-name='点火记录信息'
40
- :choose-col="true"></export-excel>
41
- <div
42
- :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
43
- @click="$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow"
44
- class="button_spacing"
45
- style="float: right">
46
- </div>
47
- </div>
48
- </div>
49
- <div class="row" v-show="$parent.$parent.criteriaShow">
50
- <div class="form-group col-sm-3">
51
- <label class="font_normal_body"><strong>点&ensp;火&ensp;人:</strong></label>
52
- <input type="text" class="input_search" style="width: 60%" v-model="model.f_ignition_operator"
53
- v-on:keyup.enter="$parent.$parent.search()" condition="ir.f_ignition_operator = '{}'" placeholder='点火人'>
54
- </div>
55
- <div class="form-group col-sm-3">
56
- <label class="font_normal_body"><strong>片&emsp;&emsp;区:</strong></label>
57
- <v-select
58
- v-model="model.f_area"
59
- placeholder='片区'
60
- condition="ui.f_area = '{}'"
61
- :value.sync="model.f_area"
62
- :options='$parent.$parent.sliceareas'
63
- class="select select_list"
64
- :value-single="true"
65
- close-on-select >
66
- </v-select>
67
- </div>
68
- <div class="form-group col-sm-3">
69
- <label class="font_normal_body"><strong>用户类型:</strong></label>
70
- <v-select
71
- v-model="model.f_user_type"
72
- placeholder='用户类型'
73
- condition="uf.f_user_type = '{}'"
74
- :value.sync="model.f_user_type"
75
- :options='$parent.$parent.usertype'
76
- class="select select_list"
77
- :value-single="true"
78
- close-on-select >
79
- </v-select>
80
- </div>
81
- <div class="form-group col-sm-3">
82
- <label class="font_normal_body"><strong>用户性质:</strong></label>
83
- <v-select
84
- v-model="model.f_apply_nature"
85
- placeholder='用户性质'
86
- condition="ap.f_apply_nature = '{}'"
87
- :value.sync="model.f_apply_nature"
88
- :options='$parent.$parent.applyNatures'
89
- class="select select_list"
90
- :value-single="true"
91
- close-on-select ></v-select>
92
- </div>
93
- <div class="form-group col-sm-3">
94
- <label class="font_normal_body"><strong>用&ensp;户&ensp;名:</strong></label>
95
- <input type="text" class="input_search" style="width: 60%" v-model="model.f_user_name"
96
- v-on:keyup.enter="$parent.$parent.search()" condition="ui.f_user_name = '{}'" placeholder='用户名'>
97
- </div>
98
- <div class="form-group col-sm-3">
99
- <label class="font_normal_body"><strong>电&emsp;&emsp;话:</strong></label>
100
- <input type="text" class="input_search" style="width: 60%" v-model="model.f_user_phone"
101
- v-on:keyup.enter="$parent.$parent.search()" condition="ui.f_user_phone = '{}'" placeholder='电话'>
102
- </div>
103
- <div class="form-group col-sm-3">
104
- <label class="font_normal_body"><strong>表&emsp;&emsp;号:</strong></label>
105
- <input type="text" class="input_search" style="width: 60%" v-model="model.f_meternumber"
106
- v-on:keyup.enter="$parent.$parent.search()" condition="uf.f_meternumber = '{}'" placeholder='表号'>
107
- </div>
108
- <div class="form-group col-sm-3">
109
- <label for="startDate" class="font_normal_body"><strong>派单时间:</strong></label>
110
- <datepicker id="startDate" placeholder="开始日期"
111
- style="width: 60%!important;"
112
- v-model="model.startDate"
113
- :value.sync="model.startDate"
114
- :format="'yyyy-MM-dd 00:00:00'"
115
- :show-reset-button="true"
116
- condition="ir.f_date >= '{}'">
117
- </datepicker>
118
- </div>
119
- <div class="form-group col-sm-3">
120
- <label for="endDate" class="font_normal_body"><strong>派单时间:</strong></label>
121
- <datepicker id="endDate" placeholder="结束日期"
122
- style="width: 60%!important;"
123
- v-model="model.endDate"
124
- :value.sync="model.endDate"
125
- :format="'yyyy-MM-dd 23:59:59'"
126
- :show-reset-button="true"
127
- condition="ir.f_date <= '{}'">
128
- </datepicker>
129
- </div>
130
- <div class="form-group col-sm-3">
131
- <label for="startFireDate" class="font_normal_body"><strong>点火时间:</strong></label>
132
- <datepicker id="startFireDate" placeholder="开始日期"
133
- style="width: 60%!important;"
134
- v-model="model.startFireDate"
135
- :value.sync="model.startFireDate"
136
- :format="'yyyy-MM-dd 00:00:00'"
137
- :show-reset-button="true"
138
- condition="ir.f_ignition_date>= '{}'">
139
- </datepicker>
140
- </div>
141
- <div class="form-group col-sm-3">
142
- <label for="endFireDate" class="font_normal_body"><strong>点火时间:</strong></label>
143
- <datepicker id="endFireDate" placeholder="结束日期"
144
- style="width: 60%!important;"
145
- v-model="model.endFireDate"
146
- :value.sync="model.endFireDate"
147
- :format="'yyyy-MM-dd 23:59:59'"
148
- :show-reset-button="true"
149
- condition="ir.f_ignition_date <= '{}'">
150
- </datepicker>
151
- </div>
152
- </div>
153
- </div>
154
- </criteria>
155
- <data-grid :model="model" partial='list' v-ref:grid style="overflow: auto" class="list_area table_sy">
156
- <template partial='head'>
157
- <tr>
158
- <th style="white-space: nowrap;">序号</th>
159
- <th style="white-space: nowrap;">用户编号</th>
160
- <th style="white-space: nowrap;">用户名</th>
161
- <th style="white-space: nowrap;">联系电话</th>
162
- <th style="white-space: nowrap;">用户类型</th>
163
- <th style="white-space: nowrap;">地址</th>
164
- <th style="white-space: nowrap;">片区</th>
165
- <!-- <th>定位地址</th>-->
166
- <th style="white-space: nowrap;">气表类型</th>
167
- <th style="white-space: nowrap;">气表品牌</th>
168
- <th style="white-space: nowrap;">表号</th>
169
- <th style="white-space: nowrap;">派单人</th>
170
- <th style="white-space: nowrap;">派单时间</th>
171
- <th style="white-space: nowrap;">备注</th>
172
- <th style="white-space: nowrap;">点火人</th>
173
- <th style="white-space: nowrap;">点火时间</th>
174
- <th style="white-space: nowrap;">状态</th>
175
- <th style="white-space: nowrap;">工程编号</th>
176
- <th style="white-space: nowrap;">操作</th>
177
- </tr>
178
- </template>
179
- <template partial='body'>
180
- <tr >
181
- <td style="text-align: center;">
182
- <nobr><font><div style="width:35px">{{$index+1}}</div></font></nobr>
183
- </td>
184
- <td style="text-align: center;">
185
- <nobr><font><div style="width:70px">{{row.f_userinfo_id}}</div></font></nobr>
186
- </td>
187
- <td style="text-align: center;">
188
- <nobr><font>{{row.f_user_name}}</font></nobr>
189
- </td>
190
- <td style="text-align: center;">
191
- <nobr><font>{{row.f_user_phone}}</font></nobr>
192
- </td>
193
- <td style="text-align: center;">
194
- <nobr><font><div style="width:65px">{{row.f_user_type}}</div></font></nobr>
195
- </td>
196
- <td style="text-align: center;" @click="$parent.$parent.$parent.getFiles(row)">
197
- <nobr><font>{{row.f_address}}{{row.f_address_detail}}</font></nobr>
198
- </td>
199
- <td style="text-align: center;">
200
- <nobr><font>{{row.f_area}}</font></nobr>
201
- </td>
202
- <!-- <td style="text-align: center;" @click="$parent.$parent.$parent.getFiles(row)">-->
203
- <!-- <nobr><font>-->
204
- <!-- <a @click="$parent.$parent.$parent.openAmap(row)" style="text-decoration: none">-->
205
- <!-- {{row.f_location_address}}-->
206
- <!-- </a>-->
207
- <!-- </font></nobr>-->
208
- <!-- </td>-->
209
- <td style="text-align: center;" @click="$parent.$parent.$parent.getFiles(row)">
210
- <nobr><font><div style="width:65px">{{row.f_meter_classify}}</div></font></nobr>
211
- </td>
212
- <td style="text-align: center;" @click="$parent.$parent.$parent.getFiles(row)">
213
- <nobr><font>{{row.f_meter_brand}}</font></nobr>
214
- </td>
215
- <td style="text-align: center;" @click="$parent.$parent.$parent.getFiles(row)">
216
- <nobr><font>{{row.f_meternumber}}</font></nobr>
217
- </td>
218
- <td style="text-align: center;" @click="$parent.$parent.$parent.getFiles(row)">
219
- <nobr><font>{{row.f_dispatch_operator}}</font></nobr>
220
- </td>
221
- <td style="text-align: center;" @click="$parent.$parent.$parent.getFiles(row)">
222
- <nobr><font>{{row.f_dispatch_date}}</font></nobr>
223
- </td>
224
- <td style="text-align: center;" @click="$parent.$parent.$parent.getFiles(row)">
225
- <nobr><font>{{row.f_ignition_remarks}}</font></nobr>
226
- </td>
227
- <td style="text-align: center;" @click="$parent.$parent.$parent.getFiles(row)">
228
- <nobr><font>{{row.f_ignition_operator}}</font></nobr>
229
- </td>
230
- <td style="text-align: center;" @click="$parent.$parent.$parent.getFiles(row)">
231
- <nobr><font>{{row.f_ignition_date}}</font></nobr>
232
- </td>
233
- <td style="text-align: center;" @click="$parent.$parent.$parent.getFiles(row)">
234
- <nobr><font>{{row.f_ignition_state}}</font></nobr>
235
- </td>
236
- <td style="text-align: center;">
237
- <nobr><font>{{row.f_apply_num}}</font></nobr>
238
- </td>
239
- <td style="text-align: center;">
240
- <button
241
- type="button" name="button" class="btn btn-link"
242
- v-if="row.f_ignition_state === '正在进行'"
243
- @click="$parent.$parent.$parent.delet(row)"
244
- >派单收回</button>
245
- </td>
246
- </tr>
247
- </template>
248
- </data-grid>
249
- </criteria-paged>
250
- </div>
251
- </div>
252
-
253
- <modal v-if="showFiles" :show.sync="showFiles" v-ref:modal :large="true" :backdrop="false">
254
- <header slot="modal-header" class="modal-header">
255
- <button type="button" class="close" @click="closeModal"><span>&times;</span></button>
256
- <h4 class="modal-title">点火照片</h4>
257
- </header>
258
- <article slot="modal-body" class="modal-body clearfix">
259
- <exhibition-picture :imgs="filesList" max-height="400px" img-height="250px" img-padding="15px"></exhibition-picture>
260
- </article>
261
- <footer slot="modal-footer" class="modal-footer">
262
- </footer>
263
- </modal>
264
- </template>
265
-
266
- <script>
267
- import {HttpResetClass, PagedList} from 'vue-client'
268
-
269
- export default {
270
- title: '点火记录',
271
- data () {
272
- return {
273
- model: new PagedList('rs/sql/getWaitIgnitionRecord', 20, null),
274
- criteriaShow: false,
275
- showFiles: false,
276
- filesList: [] ,
277
- states:[{label: '已通气', value: '结束'},{label: '已派单', value: '正在进行'}],//通气状态
278
- sliceareas: [], // 片区
279
- usertype:[{label: "全部", value: ""}, {label: "民用", value: "民用"}, {label: "非民用", value: "非民用"}],//用户类型
280
- applyNatures: [{label: '全部', value: ''},{label: '工业', value: '工业'},{label: '商业', value: '商业'},{label: '散户', value: '散户'},{label: '小区', value: '小区'},{label: '分户挂表', value: '分户挂表'}], // 报建性质
281
- getfield: {
282
- 'f_userinfo_id': ' 用户编号 ',
283
- 'f_user_name': ' 用户名称 ',
284
- 'f_user_type': ' 用户类型 ',
285
- 'f_user_phone': ' 电话 ',
286
- 'f_address': ' 地 址 ',
287
- 'f_area': ' 片 区 ',
288
- 'f_meter_classify': ' 气 表 类 型 ',
289
- 'f_meter_brand': ' 气 表 品 牌 ',
290
- 'f_meter_style': ' 气 表 型 号 ',
291
- 'f_ignition_remarks': ' 点 火 备 注 ',
292
- 'f_ignition_operator': ' 点 火 人 员 ',
293
- 'f_ignition_date': ' 点 火 时 间 '
294
- }
295
- }
296
- },
297
- ready () {
298
- this.search()
299
- setTimeout (this.getsliceareas,500)
300
- },
301
- methods: {
302
- async delet(row) {
303
- let http = new HttpResetClass()
304
- let data = {
305
- f_userinfo_id:row.f_userinfo_id
306
- }
307
- let res = await http.load(
308
- 'POST',
309
- 'rs/logic/deleteIgnition',
310
- {data: data},
311
- {
312
- warnMsg: null,
313
- resolveMsg: null
314
- })
315
- this.search()
316
- },
317
- async getsliceareas () {
318
-
319
- let res = await this.$resetpost(
320
- 'rs/logic/getsliceareas',{data:null},
321
- {resolveMsg: null, rejectMsg: '获取片区失败!!!'}
322
- )
323
- this.sliceareas = [{label: '全部', value: ''}, ...res.data]
324
- },
325
- async getFiles (row) {
326
- console.log('获取')
327
- let http = new HttpResetClass()
328
- let data = {
329
- tablename: 't_files',
330
- condition: `f_blobid = '${row.f_blobid}'`,
331
- orderitem: 'f_uploaddate desc'
332
- }
333
- let res = await http.load(
334
- 'POST',
335
- 'rs/sql/applySingleTable',
336
- {data: data},
337
- {
338
- warnMsg: null,
339
- resolveMsg: null
340
- })
341
-
342
- this.filesList = res.data.map(item => {
343
- return `http://${location.host}/${item.f_downloadpath.substring(item.f_downloadpath.lastIndexOf(":\\") + 2)}`
344
- })
345
-
346
- this.showFiles = true
347
- },
348
- searchCondition (args) {
349
- args.condition = args.condition + ` and ir.id is not null`
350
-
351
- this.model.search(args.condition, args.model)
352
- },
353
- // 查询
354
- search () {
355
- this.$refs.cp.$refs.cri.search()
356
- },
357
- clear () {
358
- Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
359
- this.$refs.cp.$refs.cri.model[key] = null
360
- })
361
- },
362
- closeModal () {
363
- this.showFiles = false
364
- }
365
- },
366
- computed: {
367
- getCondition () {
368
- return {
369
- condition: this.$refs.cp.$refs.cri.condition + `and ir.id is not null`,
370
- data: {
371
- orgid: this.$login.f.orgid
372
- }
373
- }
374
- }
375
- }
376
- }
377
- </script>
378
-
379
- <style scoped>
380
- </style>
1
+ <template>
2
+ <div class="flex-row">
3
+ <!-- 点火记录 -->
4
+ <div class="basic-main">
5
+ <criteria-paged :model="model" v-ref:cp>
6
+ <criteria partial='criteria' @condition-changed='$parent.searchCondition' v-ref:cri>
7
+ <div class="form-horizontal select-overspread container-fluid auto" partial>
8
+ <div class="row">
9
+ <div class="form-group col-sm-3">
10
+ <label class="font_normal_body"><strong>用户编号:</strong></label>
11
+ <input type="text" class="input_search" style="width: 60%" v-model="model.f_userinfo_id"
12
+ v-on:keyup.enter="$parent.$parent.search()" condition="ui.f_userinfo_id = '{}'" placeholder='用户编号'>
13
+ </div>
14
+ <div class="form-group col-sm-3">
15
+ <label class="font_normal_body"><strong>工程编号:</strong></label>
16
+ <input type="text" class="input_search" style="width: 60%" v-model="model.f_applycode"
17
+ v-on:keyup.enter="$parent.$parent.search()" condition="ui.f_applycode like '%{}%'" placeholder='工程编号'>
18
+ </div>
19
+ <div class="form-group col-sm-3">
20
+ <label class="font_normal_body"><strong>状&emsp;&emsp;态:</strong></label>
21
+ <v-select
22
+ v-model="model.f_ignition_state"
23
+ placeholder='状态'
24
+ condition="ir.f_state = '{}'"
25
+ :value.sync="model.f_ignition_state"
26
+ :options='$parent.$parent.states'
27
+ class="select select_list"
28
+ :value-single="true"
29
+ close-on-select >
30
+ </v-select>
31
+ </div>
32
+ <div class="form-group col-sm-3 button-range">
33
+ <button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
34
+ <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
35
+ <export-excel :data="$parent.$parent.getCondition"
36
+ :field="$parent.$parent.getfield"
37
+ sqlurl="rs/logic/applyExportfile"
38
+ sql-name="getWaitIgnitionTask"
39
+ template-name='点火记录信息'
40
+ :choose-col="true"></export-excel>
41
+ <div
42
+ :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
43
+ @click="$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow"
44
+ class="button_spacing"
45
+ style="float: right">
46
+ </div>
47
+ </div>
48
+ </div>
49
+ <div class="row" v-show="$parent.$parent.criteriaShow">
50
+ <div class="form-group col-sm-3">
51
+ <label class="font_normal_body"><strong>点&ensp;火&ensp;人:</strong></label>
52
+ <input type="text" class="input_search" style="width: 60%" v-model="model.f_ignition_operator"
53
+ v-on:keyup.enter="$parent.$parent.search()" condition="ir.f_ignition_operator = '{}'" placeholder='点火人'>
54
+ </div>
55
+ <div class="form-group col-sm-3">
56
+ <label class="font_normal_body"><strong>片&emsp;&emsp;区:</strong></label>
57
+ <v-select
58
+ v-model="model.f_area"
59
+ placeholder='片区'
60
+ condition="ui.f_area = '{}'"
61
+ :value.sync="model.f_area"
62
+ :options='$parent.$parent.sliceareas'
63
+ class="select select_list"
64
+ :value-single="true"
65
+ close-on-select >
66
+ </v-select>
67
+ </div>
68
+ <div class="form-group col-sm-3">
69
+ <label class="font_normal_body"><strong>用户类型:</strong></label>
70
+ <v-select
71
+ v-model="model.f_user_type"
72
+ placeholder='用户类型'
73
+ condition="uf.f_user_type = '{}'"
74
+ :value.sync="model.f_user_type"
75
+ :options='$parent.$parent.usertype'
76
+ class="select select_list"
77
+ :value-single="true"
78
+ close-on-select >
79
+ </v-select>
80
+ </div>
81
+ <div class="form-group col-sm-3">
82
+ <label class="font_normal_body"><strong>用户性质:</strong></label>
83
+ <v-select
84
+ v-model="model.f_apply_nature"
85
+ placeholder='用户性质'
86
+ condition="ap.f_apply_nature = '{}'"
87
+ :value.sync="model.f_apply_nature"
88
+ :options='$parent.$parent.applyNatures'
89
+ class="select select_list"
90
+ :value-single="true"
91
+ close-on-select ></v-select>
92
+ </div>
93
+ <div class="form-group col-sm-3">
94
+ <label class="font_normal_body"><strong>用&ensp;户&ensp;名:</strong></label>
95
+ <input type="text" class="input_search" style="width: 60%" v-model="model.f_user_name"
96
+ v-on:keyup.enter="$parent.$parent.search()" condition="ui.f_user_name = '{}'" placeholder='用户名'>
97
+ </div>
98
+ <div class="form-group col-sm-3">
99
+ <label class="font_normal_body"><strong>电&emsp;&emsp;话:</strong></label>
100
+ <input type="text" class="input_search" style="width: 60%" v-model="model.f_user_phone"
101
+ v-on:keyup.enter="$parent.$parent.search()" condition="ui.f_user_phone = '{}'" placeholder='电话'>
102
+ </div>
103
+ <div class="form-group col-sm-3">
104
+ <label class="font_normal_body"><strong>表&emsp;&emsp;号:</strong></label>
105
+ <input type="text" class="input_search" style="width: 60%" v-model="model.f_meternumber"
106
+ v-on:keyup.enter="$parent.$parent.search()" condition="uf.f_meternumber = '{}'" placeholder='表号'>
107
+ </div>
108
+ <div class="form-group col-sm-3">
109
+ <label for="startDate" class="font_normal_body"><strong>派单时间:</strong></label>
110
+ <datepicker id="startDate" placeholder="开始日期"
111
+ style="width: 60%!important;"
112
+ v-model="model.startDate"
113
+ :value.sync="model.startDate"
114
+ :format="'yyyy-MM-dd 00:00:00'"
115
+ :show-reset-button="true"
116
+ condition="ir.f_date >= '{}'">
117
+ </datepicker>
118
+ </div>
119
+ <div class="form-group col-sm-3">
120
+ <label for="endDate" class="font_normal_body"><strong>派单时间:</strong></label>
121
+ <datepicker id="endDate" placeholder="结束日期"
122
+ style="width: 60%!important;"
123
+ v-model="model.endDate"
124
+ :value.sync="model.endDate"
125
+ :format="'yyyy-MM-dd 23:59:59'"
126
+ :show-reset-button="true"
127
+ condition="ir.f_date <= '{}'">
128
+ </datepicker>
129
+ </div>
130
+ <div class="form-group col-sm-3">
131
+ <label for="startFireDate" class="font_normal_body"><strong>点火时间:</strong></label>
132
+ <datepicker id="startFireDate" placeholder="开始日期"
133
+ style="width: 60%!important;"
134
+ v-model="model.startFireDate"
135
+ :value.sync="model.startFireDate"
136
+ :format="'yyyy-MM-dd 00:00:00'"
137
+ :show-reset-button="true"
138
+ condition="ir.f_ignition_date>= '{}'">
139
+ </datepicker>
140
+ </div>
141
+ <div class="form-group col-sm-3">
142
+ <label for="endFireDate" class="font_normal_body"><strong>点火时间:</strong></label>
143
+ <datepicker id="endFireDate" placeholder="结束日期"
144
+ style="width: 60%!important;"
145
+ v-model="model.endFireDate"
146
+ :value.sync="model.endFireDate"
147
+ :format="'yyyy-MM-dd 23:59:59'"
148
+ :show-reset-button="true"
149
+ condition="ir.f_ignition_date <= '{}'">
150
+ </datepicker>
151
+ </div>
152
+ </div>
153
+ </div>
154
+ </criteria>
155
+ <data-grid :model="model" partial='list' v-ref:grid style="overflow: auto" class="list_area table_sy">
156
+ <template partial='head'>
157
+ <tr>
158
+ <th style="white-space: nowrap;">序号</th>
159
+ <th style="white-space: nowrap;">用户编号</th>
160
+ <th style="white-space: nowrap;">用户名</th>
161
+ <th style="white-space: nowrap;">联系电话</th>
162
+ <th style="white-space: nowrap;">用户类型</th>
163
+ <th style="white-space: nowrap;">地址</th>
164
+ <th style="white-space: nowrap;">片区</th>
165
+ <!-- <th>定位地址</th>-->
166
+ <th style="white-space: nowrap;">气表类型</th>
167
+ <th style="white-space: nowrap;">气表品牌</th>
168
+ <th style="white-space: nowrap;">表号</th>
169
+ <th style="white-space: nowrap;">派单人</th>
170
+ <th style="white-space: nowrap;">派单时间</th>
171
+ <th style="white-space: nowrap;">备注</th>
172
+ <th style="white-space: nowrap;">点火人</th>
173
+ <th style="white-space: nowrap;">点火时间</th>
174
+ <th style="white-space: nowrap;">状态</th>
175
+ <th style="white-space: nowrap;">工程编号</th>
176
+ <th style="white-space: nowrap;">操作</th>
177
+ </tr>
178
+ </template>
179
+ <template partial='body'>
180
+ <tr >
181
+ <td style="text-align: center;">
182
+ <nobr><font><div style="width:35px">{{$index+1}}</div></font></nobr>
183
+ </td>
184
+ <td style="text-align: center;">
185
+ <nobr><font><div style="width:70px">{{row.f_userinfo_id}}</div></font></nobr>
186
+ </td>
187
+ <td style="text-align: center;">
188
+ <nobr><font>{{row.f_user_name}}</font></nobr>
189
+ </td>
190
+ <td style="text-align: center;">
191
+ <nobr><font>{{row.f_user_phone}}</font></nobr>
192
+ </td>
193
+ <td style="text-align: center;">
194
+ <nobr><font><div style="width:65px">{{row.f_user_type}}</div></font></nobr>
195
+ </td>
196
+ <td style="text-align: center;" @click="$parent.$parent.$parent.getFiles(row)">
197
+ <nobr><font>{{row.f_address}}{{row.f_address_detail}}</font></nobr>
198
+ </td>
199
+ <td style="text-align: center;">
200
+ <nobr><font>{{row.f_area}}</font></nobr>
201
+ </td>
202
+ <!-- <td style="text-align: center;" @click="$parent.$parent.$parent.getFiles(row)">-->
203
+ <!-- <nobr><font>-->
204
+ <!-- <a @click="$parent.$parent.$parent.openAmap(row)" style="text-decoration: none">-->
205
+ <!-- {{row.f_location_address}}-->
206
+ <!-- </a>-->
207
+ <!-- </font></nobr>-->
208
+ <!-- </td>-->
209
+ <td style="text-align: center;" @click="$parent.$parent.$parent.getFiles(row)">
210
+ <nobr><font><div style="width:65px">{{row.f_meter_classify}}</div></font></nobr>
211
+ </td>
212
+ <td style="text-align: center;" @click="$parent.$parent.$parent.getFiles(row)">
213
+ <nobr><font>{{row.f_meter_brand}}</font></nobr>
214
+ </td>
215
+ <td style="text-align: center;" @click="$parent.$parent.$parent.getFiles(row)">
216
+ <nobr><font>{{row.f_meternumber}}</font></nobr>
217
+ </td>
218
+ <td style="text-align: center;" @click="$parent.$parent.$parent.getFiles(row)">
219
+ <nobr><font>{{row.f_dispatch_operator}}</font></nobr>
220
+ </td>
221
+ <td style="text-align: center;" @click="$parent.$parent.$parent.getFiles(row)">
222
+ <nobr><font>{{row.f_dispatch_date}}</font></nobr>
223
+ </td>
224
+ <td style="text-align: center;" @click="$parent.$parent.$parent.getFiles(row)">
225
+ <nobr><font>{{row.f_ignition_remarks}}</font></nobr>
226
+ </td>
227
+ <td style="text-align: center;" @click="$parent.$parent.$parent.getFiles(row)">
228
+ <nobr><font>{{row.f_ignition_operator}}</font></nobr>
229
+ </td>
230
+ <td style="text-align: center;" @click="$parent.$parent.$parent.getFiles(row)">
231
+ <nobr><font>{{row.f_ignition_date}}</font></nobr>
232
+ </td>
233
+ <td style="text-align: center;" @click="$parent.$parent.$parent.getFiles(row)">
234
+ <nobr><font>{{row.f_ignition_state}}</font></nobr>
235
+ </td>
236
+ <td style="text-align: center;">
237
+ <nobr><font>{{row.f_apply_num}}</font></nobr>
238
+ </td>
239
+ <td style="text-align: center;">
240
+ <button
241
+ type="button" name="button" class="btn btn-link"
242
+ v-if="row.f_ignition_state === '正在进行'"
243
+ @click="$parent.$parent.$parent.delet(row)"
244
+ >派单收回</button>
245
+ </td>
246
+ </tr>
247
+ </template>
248
+ </data-grid>
249
+ </criteria-paged>
250
+ </div>
251
+ </div>
252
+
253
+ <modal v-if="showFiles" :show.sync="showFiles" v-ref:modal :large="true" :backdrop="false">
254
+ <header slot="modal-header" class="modal-header">
255
+ <button type="button" class="close" @click="closeModal"><span>&times;</span></button>
256
+ <h4 class="modal-title">点火照片</h4>
257
+ </header>
258
+ <article slot="modal-body" class="modal-body clearfix">
259
+ <exhibition-picture :imgs="filesList" max-height="400px" img-height="250px" img-padding="15px"></exhibition-picture>
260
+ </article>
261
+ <footer slot="modal-footer" class="modal-footer">
262
+ </footer>
263
+ </modal>
264
+ </template>
265
+
266
+ <script>
267
+ import {HttpResetClass, PagedList} from 'vue-client'
268
+
269
+ export default {
270
+ title: '点火记录',
271
+ data () {
272
+ return {
273
+ model: new PagedList('rs/sql/getWaitIgnitionRecord', 20, null),
274
+ criteriaShow: false,
275
+ showFiles: false,
276
+ filesList: [] ,
277
+ states:[{label: '已通气', value: '结束'},{label: '已派单', value: '正在进行'}],//通气状态
278
+ sliceareas: [], // 片区
279
+ usertype:[{label: "全部", value: ""}, {label: "民用", value: "民用"}, {label: "非民用", value: "非民用"}],//用户类型
280
+ applyNatures: [{label: '全部', value: ''},{label: '工业', value: '工业'},{label: '商业', value: '商业'},{label: '散户', value: '散户'},{label: '小区', value: '小区'},{label: '分户挂表', value: '分户挂表'}], // 报建性质
281
+ getfield: {
282
+ 'f_userinfo_id': ' 用户编号 ',
283
+ 'f_user_name': ' 用户名称 ',
284
+ 'f_user_type': ' 用户类型 ',
285
+ 'f_user_phone': ' 电话 ',
286
+ 'f_address': ' 地 址 ',
287
+ 'f_area': ' 片 区 ',
288
+ 'f_meter_classify': ' 气 表 类 型 ',
289
+ 'f_meter_brand': ' 气 表 品 牌 ',
290
+ 'f_meter_style': ' 气 表 型 号 ',
291
+ 'f_ignition_remarks': ' 点 火 备 注 ',
292
+ 'f_ignition_operator': ' 点 火 人 员 ',
293
+ 'f_ignition_date': ' 点 火 时 间 '
294
+ }
295
+ }
296
+ },
297
+ ready () {
298
+ this.search()
299
+ setTimeout (this.getsliceareas,500)
300
+ },
301
+ methods: {
302
+ async delet(row) {
303
+ let http = new HttpResetClass()
304
+ let data = {
305
+ f_userinfo_id:row.f_userinfo_id
306
+ }
307
+ let res = await http.load(
308
+ 'POST',
309
+ 'rs/logic/deleteIgnition',
310
+ {data: data},
311
+ {
312
+ warnMsg: null,
313
+ resolveMsg: null
314
+ })
315
+ this.search()
316
+ },
317
+ async getsliceareas () {
318
+
319
+ let res = await this.$resetpost(
320
+ 'rs/logic/getsliceareas',{data:null},
321
+ {resolveMsg: null, rejectMsg: '获取片区失败!!!'}
322
+ )
323
+ this.sliceareas = [{label: '全部', value: ''}, ...res.data]
324
+ },
325
+ async getFiles (row) {
326
+ console.log('获取')
327
+ let http = new HttpResetClass()
328
+ let data = {
329
+ tablename: 't_files',
330
+ condition: `f_blobid = '${row.f_blobid}'`,
331
+ orderitem: 'f_uploaddate desc'
332
+ }
333
+ let res = await http.load(
334
+ 'POST',
335
+ 'rs/sql/applySingleTable',
336
+ {data: data},
337
+ {
338
+ warnMsg: null,
339
+ resolveMsg: null
340
+ })
341
+
342
+ this.filesList = res.data.map(item => {
343
+ return `http://${location.host}/${item.f_downloadpath.substring(item.f_downloadpath.lastIndexOf(":\\") + 2)}`
344
+ })
345
+
346
+ this.showFiles = true
347
+ },
348
+ searchCondition (args) {
349
+ args.condition = args.condition + ` and ir.id is not null`
350
+
351
+ this.model.search(args.condition, args.model)
352
+ },
353
+ // 查询
354
+ search () {
355
+ this.$refs.cp.$refs.cri.search()
356
+ },
357
+ clear () {
358
+ Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
359
+ this.$refs.cp.$refs.cri.model[key] = null
360
+ })
361
+ },
362
+ closeModal () {
363
+ this.showFiles = false
364
+ }
365
+ },
366
+ computed: {
367
+ getCondition () {
368
+ return {
369
+ condition: this.$refs.cp.$refs.cri.condition + `and ir.id is not null`,
370
+ data: {
371
+ orgid: this.$login.f.orgid
372
+ }
373
+ }
374
+ }
375
+ }
376
+ }
377
+ </script>
378
+
379
+ <style scoped>
380
+ </style>