apply-clients 3.4.64 → 3.4.66

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 (105) hide show
  1. package/build/dev-server.js +2 -2
  2. package/dist-android/static/18.js +2 -2
  3. package/dist-android/static/18.js.map +1 -1
  4. package/dist-android/static/19.js +2 -2
  5. package/dist-android/static/19.js.map +1 -1
  6. package/dist-android/static/24.js +2 -2
  7. package/dist-android/static/24.js.map +1 -1
  8. package/dist-android/static/25.js +2 -2
  9. package/dist-android/static/25.js.map +1 -1
  10. package/dist-android/static/26.js +2 -2
  11. package/dist-android/static/26.js.map +1 -1
  12. package/dist-android/static/28.js +2 -2
  13. package/dist-android/static/28.js.map +1 -1
  14. package/dist-android/static/30.js +2 -2
  15. package/dist-android/static/30.js.map +1 -1
  16. package/dist-android/static/34.js +2 -2
  17. package/dist-android/static/34.js.map +1 -1
  18. package/dist-android/static/43.js +2 -2
  19. package/dist-android/static/43.js.map +1 -1
  20. package/dist-android/static/47.js +2 -2
  21. package/dist-android/static/47.js.map +1 -1
  22. package/dist-android/static/50.js +2 -2
  23. package/dist-android/static/50.js.map +1 -1
  24. package/dist-android/static/52.js +2 -2
  25. package/dist-android/static/52.js.map +1 -1
  26. package/dist-android/static/53.js +2 -2
  27. package/dist-android/static/53.js.map +1 -1
  28. package/dist-android/static/54.js +2 -2
  29. package/dist-android/static/54.js.map +1 -1
  30. package/dist-android/static/60.js +2 -2
  31. package/dist-android/static/60.js.map +1 -1
  32. package/dist-android/static/63.js +2 -2
  33. package/dist-android/static/63.js.map +1 -1
  34. package/dist-android/static/64.js +2 -2
  35. package/dist-android/static/64.js.map +1 -1
  36. package/dist-android/static/78.js +2 -2
  37. package/dist-android/static/78.js.map +1 -1
  38. package/dist-android/static/83.js +2 -2
  39. package/dist-android/static/83.js.map +1 -1
  40. package/dist-android/static/84.js +2 -2
  41. package/dist-android/static/84.js.map +1 -1
  42. package/dist-android/static/86.js +2 -2
  43. package/dist-android/static/86.js.map +1 -1
  44. package/dist-android/static/87.js +2 -2
  45. package/dist-android/static/87.js.map +1 -1
  46. package/dist-android/static/89.js +2 -2
  47. package/dist-android/static/89.js.map +1 -1
  48. package/dist-android/static/97.js +2 -2
  49. package/dist-android/static/97.js.map +1 -1
  50. package/dist-android/static/app.js +80 -80
  51. package/dist-android/static/app.js.map +1 -1
  52. package/package.json +4 -3
  53. package/src/apply.js +5 -0
  54. package/src/applyAndroid.js +2 -0
  55. package/src/components/android/AppSign.vue +154 -154
  56. package/src/components/android/AppTakePic.vue +143 -143
  57. package/src/components/android/Function/AppFunctionServiceControl.vue +344 -344
  58. package/src/components/android/Ignition/VentilationIgnition.vue +408 -0
  59. package/src/components/android/Ignition/VentilationIgnitionHandle.vue +455 -0
  60. package/src/components/android/Process/AppServiceControl.vue +1708 -1708
  61. package/src/components/android/Process/Processes/AppAddMaterialScience.vue +477 -477
  62. package/src/components/android/Process/Processes/AppDevicesManagement.vue +519 -519
  63. package/src/components/android/Process/Processes/AppSupplementalAgreement.vue +298 -298
  64. package/src/components/android/Supervisory/AppSupervisoryCart.vue +156 -156
  65. package/src/components/build/Install/Process/zhongran/ZR_Design.vue +537 -537
  66. package/src/components/product/ApplyCharge/ApplyChargeList.vue +470 -470
  67. package/src/components/product/Function/Service/FunctionServiceControl.vue +445 -445
  68. package/src/components/product/Ignition/IgnitionDispatch.vue +92 -0
  69. package/src/components/product/Ignition/IgnitionList.vue +236 -0
  70. package/src/components/product/Ignition/IgnitionListManage.vue +413 -0
  71. package/src/components/product/Ignition/IgnitionRecord.vue +357 -0
  72. package/src/components/product/Process/ExplorationSelect.vue +0 -13
  73. package/src/components/product/Process/Processes/addMaterialScience.vue +454 -454
  74. package/src/components/product/Process/Processes/chargeManagement.vue +656 -656
  75. package/src/components/product/Process/Processes/devicesManagement.vue +484 -484
  76. package/src/components/product/Process/Processes/supplementalAgreement.vue +298 -298
  77. package/src/components/product/Process/Service/ServiceControl.vue +56 -1
  78. package/src/components/product/Process/Service/ShowBackReason.vue +33 -33
  79. package/src/components/product/Process/ShowBackReason.vue +33 -33
  80. package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +882 -882
  81. package/src/components/product/VueUtils/ApplyUpload.vue +287 -287
  82. package/src/filiale/gehua/pc/ServiceControl.vue +1938 -1938
  83. package/src/filiale/gehua/pc/SupervisoryServiceControl.vue +890 -890
  84. package/src/filiale/guangxi/android/Process/Processes/AppAddMaterialScience.vue +520 -520
  85. package/src/filiale/guangxi/android/Process/Processes/AppDevicesManagement.vue +519 -519
  86. package/src/filiale/guangxi/android/Process/Processes/AppServiceControl.vue +1708 -1708
  87. package/src/filiale/guangxi/android/Process/Processes/AppSupplementalAgreement.vue +298 -298
  88. package/src/filiale/guangxi/pc/ApplyCharge/ApplyChargeList.vue +470 -470
  89. package/src/filiale/guangxi/pc/ApplyCharge/chargeManagement.vue +724 -724
  90. package/src/filiale/guangxi/pc/Process/Service/ServiceControl.vue +1922 -1922
  91. package/src/filiale/guangxi/pc/Process/Service/ShowBackReason.vue +33 -33
  92. package/src/filiale/guangxi/pc/Process/Service/SupervisoryServiceControl.vue +891 -891
  93. package/src/filiale/guangxi/pc/Process/Service/addMaterialScience.vue +517 -517
  94. package/src/filiale/guangxi/pc/Process/ShowBackReason.vue +33 -33
  95. package/src/filiale/shexian/pc/ExplorationSelect.vue +474 -0
  96. package/src/filiale/shexian/pc.js +6 -0
  97. package/src/filiale/yuchuan/android/Process/AppServiceControl.vue +735 -735
  98. package/src/filiale/yuchuan/android/Process/Processes/AppInstallationDetails.vue +824 -824
  99. package/src/filiale/yuchuan/android/Process/Processes/AppInstallationDetailsCivil.vue +650 -650
  100. package/src/filiale/yuchuan/pc/Order/OrderApply.vue +528 -528
  101. package/src/filiale/yuchuan/pc/Process/Processes/InstallationDetails.vue +809 -809
  102. package/src/filiale/yuchuan/pc/Process/Processes/InstallationDetailsCivil.vue +595 -595
  103. package/src/filiale/yuchuan/pc/Process/Processes/chargeManagement.vue +621 -621
  104. package/src/filiale/yuchuan/pc/Process/Service/ServiceControl.vue +1108 -1108
  105. package/dist.7z +0 -0
@@ -1,528 +1,528 @@
1
- <template>
2
- <div class="flex-row">
3
- <div class="basic-main">
4
- <div :class="showData ? 'top' : 'auto'">
5
- <order-apply-list v-ref:query :show-data="showData"></order-apply-list>
6
- </div>
7
- <div v-if="showtotal" style="height: 89%">
8
- </div>
9
- </div>
10
- </div>
11
-
12
- <validator name="cv">
13
- <modal
14
- v-if="showCheck"
15
- :show.sync="showCheck"
16
- backdrop="false"
17
- >
18
- <header slot="modal-header" class="modal-header">
19
- <button type="button" class="close" @click="closeModal()"><span>&times;</span></button>
20
- <h4 class="modal-title">检查审核</h4>
21
- </header>
22
- <article slot="modal-body" class="modal-body clearfix">
23
- <div class="form-group col-sm-12" :class="[$cv.check.required ? 'has-error' : '']">
24
- <label class="col-sm-3 control-label" style="line-height: 35px">是否合格:</label>
25
- <div class="col-sm-9">
26
- <input type="text" v-show="false" v-validate:check = "['required']" v-model="check">
27
- <v-select
28
- v-model="check"
29
- :value.sync="check"
30
- :options='checkOptions'
31
- :value-single="true"
32
- class="select select_list"
33
- :search="false"
34
- width="75%"
35
- close-on-select ></v-select>
36
- </div>
37
- </div>
38
- <div class="form-group col-sm-12" :class="[$cv.remark.required ? 'has-error' : '']">
39
- <label class="col-sm-3 control-label" style="line-height: 60px">审核备注:</label>
40
- <div class="col-sm-9">
41
- <textarea
42
- class="form-control input_view" style="width: 75%;height: 100%"
43
- rows="2" v-validate:remark = "['required']" placeholder=""
44
- v-model="checkRemark" :value="checkRemark"
45
- >
46
- </textarea>
47
- </div>
48
- </div>
49
- </article>
50
- <footer slot="modal-footer" class="modal-footer">
51
- <button type="button" class="btn btn-primary" @click="checkOrder()" :disabled='!$cv.valid'>确认</button>
52
- </footer>
53
- </modal>
54
- </validator>
55
-
56
- <validator name="tv">
57
- <modal
58
- v-if="showType"
59
- :show.sync="showType"
60
- backdrop="false"
61
- >
62
- <header slot="modal-header" class="modal-header">
63
- <button type="button" class="close" @click="closeModal()"><span>&times;</span></button>
64
- <h4 class="modal-title">报建类型</h4>
65
- </header>
66
- <article slot="modal-body" class="modal-body clearfix">
67
- <div class="form-group col-sm-12" :class="[$tv.type.required ? 'has-error' : '']">
68
- <label class="col-sm-3 control-label" style="line-height: 35px">报建类型:</label>
69
- <div class="col-sm-9">
70
- <input type="text" v-show="false" v-validate:type = "['required']" v-model="applyType">
71
- <v-select
72
- placeholder='请选择需要发起的工程类型'
73
- v-model="applyType"
74
- :value.sync="applyType"
75
- :options='$appdata.getParam("报建类型")'
76
- :value-single="true"
77
- class="select select_list"
78
- :search="false"
79
- width="75%"
80
- close-on-select ></v-select>
81
- </div>
82
- </div>
83
- </article>
84
- <footer slot="modal-footer" class="modal-footer">
85
- <button type="button" class="btn btn-primary" @click="apply()" :disabled='!$tv.valid'>确认</button>
86
- </footer>
87
- </modal>
88
- </validator>
89
-
90
- <validator name="mv">
91
- <modal
92
- v-if="showModal"
93
- :show.sync="showModal"
94
- backdrop="false"
95
- >
96
- <header slot="modal-header" class="modal-header">
97
- <button type="button" class="close" @click="closeModal()"><span>&times;</span></button>
98
- <h4 class="modal-title">合并发起</h4>
99
- </header>
100
- <article slot="modal-body" class="modal-body clearfix">
101
- <div class="form-group col-sm-12" :class="[$tv.f_entry_name.required ? 'has-error' : '']">
102
- <label class="col-sm-3 control-label" style="line-height: 35px">项目名称:</label>
103
- <div class="col-sm-9">
104
- <input class="form-control input_view" type="text" style="width: 75%"
105
- v-validate:f_entry_name = "['required']"
106
- v-model="apply.f_entry_name"
107
- :value="apply.f_entry_name"/>
108
- </div>
109
- </div>
110
- <div class="form-group col-sm-12" :class="[$tv.f_contact.required ? 'has-error' : '']">
111
- <label class="col-sm-3 control-label" style="line-height: 35px">联&ensp;系&ensp;人:</label>
112
- <div class="col-sm-9">
113
- <input class="form-control input_view" type="text" style="width: 75%"
114
- v-validate:f_contact = "['required']"
115
- v-model="apply.f_contact"
116
- :value="apply.f_contact"/>
117
- </div>
118
- </div>
119
- <div class="form-group col-sm-12" :class="[$tv.f_phone.required ? 'has-error' : '']">
120
- <label class="col-sm-3 control-label" style="line-height: 35px">联系电话:</label>
121
- <div class="col-sm-9">
122
- <input class="form-control input_view" type="text" style="width: 75%"
123
- v-validate:f_phone = "['required']"
124
- v-model="apply.f_phone"
125
- :value="apply.f_phone"/>
126
- </div>
127
- </div>
128
- <div class="form-group col-sm-12">
129
- <label class="col-sm-3 control-label" style="line-height: 35px">合并预约:</label>
130
- <div class="col-sm-9">
131
- <input class="form-control input_view" type="text" style="width: 75%" readonly
132
- v-model="apply.f_apply_count"
133
- :value="apply.f_apply_count"/>
134
- </div>
135
- </div>
136
- </article>
137
- <footer slot="modal-footer" class="modal-footer">
138
- <button type="button" class="btn btn-primary" @click="mergeInitiate()" :disabled='!$mv.valid'>确认</button>
139
- </footer>
140
- </modal>
141
- </validator>
142
-
143
- <validator name="av">
144
- <modal
145
- v-if="showApply"
146
- :show.sync="showApply"
147
- backdrop="false"
148
- >
149
- <header slot="modal-header" class="modal-header">
150
- <button type="button" class="close" @click="closeModal()"><span>&times;</span></button>
151
- <h4 class="modal-title">合并工程</h4>
152
- </header>
153
- <article slot="modal-body" class="modal-body clearfix">
154
- <div class="form-group col-sm-12" :class="[$av.apply.required ? 'has-error' : '']">
155
- <label class="col-sm-3 control-label" style="line-height: 35px">选择工程:</label>
156
- <div class="col-sm-9">
157
- <input type="text" v-show="false" v-validate:apply = "['required']" v-model="checkApply.id">
158
- <v-select
159
- placeholder='请选择需要合并的工程'
160
- v-model="checkApply"
161
- :value.sync="checkApply"
162
- :options='applyList'
163
- :value-single="true"
164
- class="select select_list"
165
- :search="false"
166
- width="75%"
167
- close-on-select ></v-select>
168
- </div>
169
- </div>
170
- </article>
171
- <footer slot="modal-footer" class="modal-footer">
172
- <button type="button" class="btn btn-primary" @click="mergeApply()" :disabled='!$av.valid'>确认</button>
173
- </footer>
174
- </modal>
175
- </validator>
176
-
177
- <modal
178
- v-if="showView"
179
- :show.sync="showView"
180
- large backdrop="false"
181
- >
182
- <header slot="modal-header" class="modal-header">
183
- <button type="button" class="close" @click="closeModal()"><span>&times;</span></button>
184
- <h4 class="modal-title">详情信息</h4>
185
- </header>
186
- <article slot="modal-body" class="modal-body row clearfix">
187
- <div class="form-group col-sm-4">
188
- <label class="font_normal_body">用户姓名</label>
189
- <input type="text" class="input_search" v-model="order.f_user_name" readonly>
190
- </div>
191
- <div class="form-group col-sm-4">
192
- <label class="font_normal_body">联&ensp;系&ensp;人</label>
193
- <input type="text" class="input_search" v-model="order.f_contact" readonly>
194
- </div>
195
- <div class="form-group col-sm-4">
196
- <label class="font_normal_body">联系电话</label>
197
- <input type="text" class="input_search" v-model="order.f_phone" readonly>
198
- </div>
199
- <div class="form-group col-sm-4">
200
- <label class="font_normal_body">证件类型</label>
201
- <input type="text" class="input_search" v-model="order.f_credentials" readonly>
202
- </div>
203
- <div class="form-group col-sm-8">
204
- <label class="font_normal_body">证件号码</label>
205
- <input type="text" class="input_search" v-model="order.f_idnumber" style="width: 85%" readonly>
206
- </div>
207
- <div class="form-group col-sm-4">
208
- <label class="font_normal_body">用户类型</label>
209
- <input type="text" class="input_search" v-model="order.f_user_type" readonly>
210
- </div>
211
- <div class="form-group col-sm-4">
212
- <label class="font_normal_body">用户性质</label>
213
- <input type="text" class="input_search" v-model="order.f_user_nature" readonly>
214
- </div>
215
- <div class="form-group col-sm-4">
216
- <label class="font_normal_body">户&emsp;&emsp;数</label>
217
- <input type="text" class="input_search" v-model="order.f_apply_count" readonly>
218
- </div>
219
- <div class="form-group col-sm-12">
220
- <label class="font_normal_body">定位地址</label>
221
- <input type="text" class="input_search" v-model="order.f_location_address" style="width: 90%" readonly>
222
- </div>
223
- <div class="form-group col-sm-4">
224
- <label class="font_normal_body">处理状态</label>
225
- <input type="text" class="input_search" v-model="order.f_orderstate" readonly>
226
- </div>
227
- <div class="form-group col-sm-4">
228
- <label class="font_normal_body">预约时间</label>
229
- <input type="text" class="input_search" v-model="order.f_orderdate" readonly>
230
- </div>
231
- <div class="form-group col-sm-12">
232
- <label class="font_normal_body">预约备注</label>
233
- <input type="text" class="input_search" style="width: 90%" v-model="order.f_orderremark" readonly>
234
- </div>
235
- <div class="form-group col-sm-4">
236
- <label class="font_normal_body">审&ensp;核&ensp;人</label>
237
- <input type="text" class="input_search" v-model="order.f_check_user" readonly>
238
- </div>
239
- <div class="form-group col-sm-4">
240
- <label class="font_normal_body">审核时间</label>
241
- <input type="text" class="input_search" v-model="order.f_check_date" readonly>
242
- </div>
243
- <div class="form-group col-sm-12">
244
- <label class="font_normal_body">审核备注</label>
245
- <input type="text" class="input_search" style="width: 90%" v-model="order.f_check_remark" readonly>
246
- </div>
247
- <div class="form-group col-sm-4">
248
- <label class="font_normal_body">处&ensp;理&ensp;人</label>
249
- <input type="text" class="input_search" v-model="order.f_process_user" readonly>
250
- </div>
251
- <div class="form-group col-sm-4">
252
- <label class="font_normal_body">处理时间</label>
253
- <input type="text" class="input_search" v-model="order.f_process_date" readonly>
254
- </div>
255
- <div class="form-group col-sm-4">
256
- <label class="font_normal_body">报建编号</label>
257
- <input type="text" class="input_search" v-model="order.f_apply_num" readonly>
258
- </div>
259
-
260
- </article>
261
- <footer slot="modal-footer" class="modal-footer">
262
- </footer>
263
- </modal>
264
-
265
- <modal
266
- :show.sync="showMap"
267
- large backdrop="false"
268
- >
269
- <header slot="modal-header" class="modal-header">
270
- <button type="button" class="close" @click="closeModal()"><span>&times;</span></button>
271
- <h4 class="modal-title">定位地址</h4>
272
- </header>
273
- <article slot="modal-body" class="modal-body row clearfix" style="height: 600px">
274
- <AMap-location v-ref:amap :islocation="true"
275
- :locationzoomcenter="false"
276
- :usenative="true"
277
- :isshowsearch="false"
278
- :mylocationinfo="false"
279
- :islocationclearmark="false"
280
- :isshowmapmodel="false"
281
- :locationwindow="false"
282
- :labelmarksarray="labelmarksarray"
283
- mapmodel="dragMarker"></AMap-location>
284
- </article>
285
- <footer slot="modal-footer" class="modal-footer">
286
- </footer>
287
- </modal>
288
-
289
- </template>
290
- <script>
291
- import Vue from 'vue'
292
- import {HttpResetClass} from 'vue-client'
293
- export default {
294
- title: '预约报建',
295
- data () {
296
- return {
297
- showtotal: false, // 控制详细信息显示
298
- showData: true,
299
- selectedData: null,
300
- showCheck: false,
301
- checkOptions: [
302
- {
303
- label: '是',
304
- value: '是'
305
- },
306
- {
307
- label: '否',
308
- value: '否'
309
- }
310
- ],
311
- check: null,
312
- checkRemark: null,
313
- showType: false,
314
- applyType: null,
315
- showModal: null,
316
- apply: {},
317
- showApply: false,
318
- applyList: [],
319
- checkApply: null,
320
- order: null,
321
- showView: false,
322
- showMap: false,
323
- labelmarksarray: []
324
- }
325
- },
326
- created () {
327
- },
328
- methods: {
329
- async mergeApply () {
330
- let data = {
331
- selectedData: this.selectedData,
332
- checkApply: this.checkApply,
333
- user: this.$login.f
334
- }
335
-
336
- let res = await this.$resetpost(
337
- `rs/logic/mergeApply`,
338
- data,
339
- {resolveMsg: null,rejectMsg: '合并工程处理失败!!!'}
340
- )
341
-
342
- this.$refs.query.search()
343
-
344
- this.$showMessage(`报建编号:${res.data.f_apply_num}`)
345
- },
346
- async mergeInitiate () {
347
- let data = {
348
- selectedData: this.selectedData,
349
- apply: this.apply,
350
- user: this.$login.f
351
- }
352
-
353
- let res = await this.$resetpost(
354
- `rs/logic/mergeInitiate`,
355
- data,
356
- {resolveMsg: null,rejectMsg: '合并发起处理失败!!!'}
357
- )
358
-
359
- this.$refs.query.search()
360
-
361
- this.$showMessage(`报建编号:${res.data.f_apply_num}`)
362
- },
363
- async apply () {
364
- let data = {
365
- f_apply_type: this.applyType,
366
- selectedData: this.selectedData,
367
- user: this.$login.f
368
- }
369
-
370
- if (this.applyType === '散户报建') {
371
- data.defname = '用户受理'
372
- data.processname = '散户报建流程'
373
- } else if (this.applyType === '工业户报建') {
374
- data.defname = '用户受理'
375
- data.processname = '工商户报建流程'
376
- } else if (this.applyType === '商业户报建') {
377
- data.defname = '用户受理'
378
- data.processname = '工商户报建流程'
379
- } else if (this.applyType === '散户集体报建') {
380
- data.defname = '用户受理'
381
- data.processname = '散户集体报建流程'
382
- } else if (this.applyType === '开发商集体报建') {
383
- data.defname = '用户受理'
384
- data.processname = '开发商集体报建流程'
385
- } else if (this.applyType === '煤改气报建') {
386
- data.defname = '用户受理'
387
- data.processname = '散户集体报建流程'
388
- } else {
389
- this.$showMessage('暂无此类报装')
390
- return
391
- }
392
-
393
- let res = await this.$resetpost(
394
- `rs/logic/initiateOrderApply`,
395
- data,
396
- {resolveMsg: null,rejectMsg: '预约单处理失败!!!'}
397
- )
398
-
399
- this.closeModal()
400
-
401
- this.$showMessage(`共发起${res.data.total}条报建工程\n成功:${res.data.success}\n失败:${res.data.failure}`)
402
- },
403
- async checkOrder () {
404
- let data = {
405
- selectedData: this.selectedData,
406
- check: this.check,
407
- checkRemark: this.checkRemark,
408
- user: this.$login.f
409
- }
410
-
411
- let res = await this.$resetpost(
412
- `rs/logic/checkOrder`,
413
- data,
414
- {resolveMsg: null,rejectMsg: '预约单审核处理失败!!!'}
415
- )
416
-
417
- this.$refs.query.search()
418
-
419
- this.$showMessage(`审核通过!!!`)
420
- },
421
- closeModal () {
422
- this.showCheck = false
423
- this.showType = false
424
- this.showModal = false
425
- this.showApply = false
426
- this.showView = false
427
- this.showMap = false
428
-
429
-
430
- this.check = null
431
- this.checkRemark = null
432
- this.applyType = null
433
- this.apply = null
434
- this.applyList = []
435
- this.checkApply = []
436
- this.order = []
437
- this.selectedData = null
438
- this.$refs.query.selectedData = []
439
- },
440
- },
441
- events: {
442
- 'openMap' (row) {
443
- this.labelmarksarray = []
444
-
445
- this.labelmarksarray.push({
446
- data: {
447
- data: this.selectdata,
448
- label: `<div style="background: #fff;border-radius: 5px;height: 100px;padding: 5px">
449
- <h5>${row.f_contact}</h5>
450
- <h5>${row.f_phone}</h5>
451
- <h5>${row.f_location_address}</h5>
452
- </div>`
453
- },
454
- position: [row.f_longitude, row.f_dimension],
455
- isclearmarker: false
456
- })
457
-
458
- this.showMap = true
459
- },
460
- 'viewOrder' (row) {
461
- this.order = row
462
-
463
- this.showView = true
464
- },
465
- async 'handleOrder' (type, selectedData) {
466
- this.selectedData = selectedData
467
-
468
- if (type === '审核') {
469
- this.showCheck = true
470
- }
471
- if (type === '批量发起') {
472
- this.$showMessage('批量发起同一类型报建工程,建议所选预约单为同一类型、性质!!!', ['confirm']).then((res) => {
473
- if (res === 'confirm') {
474
- this.showType = true
475
- }
476
- })
477
- }
478
- if (type === '合并发起') {
479
- this.apply = {
480
- f_contact: this.selectedData[0].f_contact,
481
- f_phone: this.selectedData[0].f_phone,
482
- f_apply_count: this.selectedData.length
483
- }
484
- this.showModal = true
485
- }
486
- if (type === '合并工程') {
487
- let data = {
488
- tablename: 't_apply',
489
- condition: `f_sub_state != '完工' and f_sub_state != '暂停' and f_sub_state != '终止' and f_apply_type = '民用报建' and f_orgid = ${this.$login.f.orgid}`
490
- }
491
- let res = await this.$resetpost(
492
- 'rs/sql/apply_singleTable',
493
- {data: data},
494
- {resolveMsg: null, rejectMsg: '工程查询失败!!!'}
495
- )
496
-
497
- res.data.forEach(item => {
498
- this.applyList.push({
499
- 'label': `${item.f_entry_name}`,
500
- 'value': item
501
- })
502
- })
503
-
504
- this.showApply = true
505
- }
506
-
507
- },
508
- 'search' () {
509
- this.closeModal()
510
-
511
- // 关闭详细
512
- this.showtotal = false
513
- // 显示列表数据
514
- this.showData = true
515
- // 显示分页
516
- this.$refs.query.$refs.cp.pager = true
517
- // 调用查询
518
- this.$refs.query.$refs.cp.$refs.cri.search()
519
- }
520
- },
521
- watch: {
522
-
523
- },
524
- computed: {
525
- }
526
-
527
- }
528
- </script>
1
+ <template>
2
+ <div class="flex-row">
3
+ <div class="basic-main">
4
+ <div :class="showData ? 'top' : 'auto'">
5
+ <order-apply-list v-ref:query :show-data="showData"></order-apply-list>
6
+ </div>
7
+ <div v-if="showtotal" style="height: 89%">
8
+ </div>
9
+ </div>
10
+ </div>
11
+
12
+ <validator name="cv">
13
+ <modal
14
+ v-if="showCheck"
15
+ :show.sync="showCheck"
16
+ backdrop="false"
17
+ >
18
+ <header slot="modal-header" class="modal-header">
19
+ <button type="button" class="close" @click="closeModal()"><span>&times;</span></button>
20
+ <h4 class="modal-title">检查审核</h4>
21
+ </header>
22
+ <article slot="modal-body" class="modal-body clearfix">
23
+ <div class="form-group col-sm-12" :class="[$cv.check.required ? 'has-error' : '']">
24
+ <label class="col-sm-3 control-label" style="line-height: 35px">是否合格:</label>
25
+ <div class="col-sm-9">
26
+ <input type="text" v-show="false" v-validate:check = "['required']" v-model="check">
27
+ <v-select
28
+ v-model="check"
29
+ :value.sync="check"
30
+ :options='checkOptions'
31
+ :value-single="true"
32
+ class="select select_list"
33
+ :search="false"
34
+ width="75%"
35
+ close-on-select ></v-select>
36
+ </div>
37
+ </div>
38
+ <div class="form-group col-sm-12" :class="[$cv.remark.required ? 'has-error' : '']">
39
+ <label class="col-sm-3 control-label" style="line-height: 60px">审核备注:</label>
40
+ <div class="col-sm-9">
41
+ <textarea
42
+ class="form-control input_view" style="width: 75%;height: 100%"
43
+ rows="2" v-validate:remark = "['required']" placeholder=""
44
+ v-model="checkRemark" :value="checkRemark"
45
+ >
46
+ </textarea>
47
+ </div>
48
+ </div>
49
+ </article>
50
+ <footer slot="modal-footer" class="modal-footer">
51
+ <button type="button" class="btn btn-primary" @click="checkOrder()" :disabled='!$cv.valid'>确认</button>
52
+ </footer>
53
+ </modal>
54
+ </validator>
55
+
56
+ <validator name="tv">
57
+ <modal
58
+ v-if="showType"
59
+ :show.sync="showType"
60
+ backdrop="false"
61
+ >
62
+ <header slot="modal-header" class="modal-header">
63
+ <button type="button" class="close" @click="closeModal()"><span>&times;</span></button>
64
+ <h4 class="modal-title">报建类型</h4>
65
+ </header>
66
+ <article slot="modal-body" class="modal-body clearfix">
67
+ <div class="form-group col-sm-12" :class="[$tv.type.required ? 'has-error' : '']">
68
+ <label class="col-sm-3 control-label" style="line-height: 35px">报建类型:</label>
69
+ <div class="col-sm-9">
70
+ <input type="text" v-show="false" v-validate:type = "['required']" v-model="applyType">
71
+ <v-select
72
+ placeholder='请选择需要发起的工程类型'
73
+ v-model="applyType"
74
+ :value.sync="applyType"
75
+ :options='$appdata.getParam("报建类型")'
76
+ :value-single="true"
77
+ class="select select_list"
78
+ :search="false"
79
+ width="75%"
80
+ close-on-select ></v-select>
81
+ </div>
82
+ </div>
83
+ </article>
84
+ <footer slot="modal-footer" class="modal-footer">
85
+ <button type="button" class="btn btn-primary" @click="apply()" :disabled='!$tv.valid'>确认</button>
86
+ </footer>
87
+ </modal>
88
+ </validator>
89
+
90
+ <validator name="mv">
91
+ <modal
92
+ v-if="showModal"
93
+ :show.sync="showModal"
94
+ backdrop="false"
95
+ >
96
+ <header slot="modal-header" class="modal-header">
97
+ <button type="button" class="close" @click="closeModal()"><span>&times;</span></button>
98
+ <h4 class="modal-title">合并发起</h4>
99
+ </header>
100
+ <article slot="modal-body" class="modal-body clearfix">
101
+ <div class="form-group col-sm-12" :class="[$tv.f_entry_name.required ? 'has-error' : '']">
102
+ <label class="col-sm-3 control-label" style="line-height: 35px">项目名称:</label>
103
+ <div class="col-sm-9">
104
+ <input class="form-control input_view" type="text" style="width: 75%"
105
+ v-validate:f_entry_name = "['required']"
106
+ v-model="apply.f_entry_name"
107
+ :value="apply.f_entry_name"/>
108
+ </div>
109
+ </div>
110
+ <div class="form-group col-sm-12" :class="[$tv.f_contact.required ? 'has-error' : '']">
111
+ <label class="col-sm-3 control-label" style="line-height: 35px">联&ensp;系&ensp;人:</label>
112
+ <div class="col-sm-9">
113
+ <input class="form-control input_view" type="text" style="width: 75%"
114
+ v-validate:f_contact = "['required']"
115
+ v-model="apply.f_contact"
116
+ :value="apply.f_contact"/>
117
+ </div>
118
+ </div>
119
+ <div class="form-group col-sm-12" :class="[$tv.f_phone.required ? 'has-error' : '']">
120
+ <label class="col-sm-3 control-label" style="line-height: 35px">联系电话:</label>
121
+ <div class="col-sm-9">
122
+ <input class="form-control input_view" type="text" style="width: 75%"
123
+ v-validate:f_phone = "['required']"
124
+ v-model="apply.f_phone"
125
+ :value="apply.f_phone"/>
126
+ </div>
127
+ </div>
128
+ <div class="form-group col-sm-12">
129
+ <label class="col-sm-3 control-label" style="line-height: 35px">合并预约:</label>
130
+ <div class="col-sm-9">
131
+ <input class="form-control input_view" type="text" style="width: 75%" readonly
132
+ v-model="apply.f_apply_count"
133
+ :value="apply.f_apply_count"/>
134
+ </div>
135
+ </div>
136
+ </article>
137
+ <footer slot="modal-footer" class="modal-footer">
138
+ <button type="button" class="btn btn-primary" @click="mergeInitiate()" :disabled='!$mv.valid'>确认</button>
139
+ </footer>
140
+ </modal>
141
+ </validator>
142
+
143
+ <validator name="av">
144
+ <modal
145
+ v-if="showApply"
146
+ :show.sync="showApply"
147
+ backdrop="false"
148
+ >
149
+ <header slot="modal-header" class="modal-header">
150
+ <button type="button" class="close" @click="closeModal()"><span>&times;</span></button>
151
+ <h4 class="modal-title">合并工程</h4>
152
+ </header>
153
+ <article slot="modal-body" class="modal-body clearfix">
154
+ <div class="form-group col-sm-12" :class="[$av.apply.required ? 'has-error' : '']">
155
+ <label class="col-sm-3 control-label" style="line-height: 35px">选择工程:</label>
156
+ <div class="col-sm-9">
157
+ <input type="text" v-show="false" v-validate:apply = "['required']" v-model="checkApply.id">
158
+ <v-select
159
+ placeholder='请选择需要合并的工程'
160
+ v-model="checkApply"
161
+ :value.sync="checkApply"
162
+ :options='applyList'
163
+ :value-single="true"
164
+ class="select select_list"
165
+ :search="false"
166
+ width="75%"
167
+ close-on-select ></v-select>
168
+ </div>
169
+ </div>
170
+ </article>
171
+ <footer slot="modal-footer" class="modal-footer">
172
+ <button type="button" class="btn btn-primary" @click="mergeApply()" :disabled='!$av.valid'>确认</button>
173
+ </footer>
174
+ </modal>
175
+ </validator>
176
+
177
+ <modal
178
+ v-if="showView"
179
+ :show.sync="showView"
180
+ large backdrop="false"
181
+ >
182
+ <header slot="modal-header" class="modal-header">
183
+ <button type="button" class="close" @click="closeModal()"><span>&times;</span></button>
184
+ <h4 class="modal-title">详情信息</h4>
185
+ </header>
186
+ <article slot="modal-body" class="modal-body row clearfix">
187
+ <div class="form-group col-sm-4">
188
+ <label class="font_normal_body">用户姓名</label>
189
+ <input type="text" class="input_search" v-model="order.f_user_name" readonly>
190
+ </div>
191
+ <div class="form-group col-sm-4">
192
+ <label class="font_normal_body">联&ensp;系&ensp;人</label>
193
+ <input type="text" class="input_search" v-model="order.f_contact" readonly>
194
+ </div>
195
+ <div class="form-group col-sm-4">
196
+ <label class="font_normal_body">联系电话</label>
197
+ <input type="text" class="input_search" v-model="order.f_phone" readonly>
198
+ </div>
199
+ <div class="form-group col-sm-4">
200
+ <label class="font_normal_body">证件类型</label>
201
+ <input type="text" class="input_search" v-model="order.f_credentials" readonly>
202
+ </div>
203
+ <div class="form-group col-sm-8">
204
+ <label class="font_normal_body">证件号码</label>
205
+ <input type="text" class="input_search" v-model="order.f_idnumber" style="width: 85%" readonly>
206
+ </div>
207
+ <div class="form-group col-sm-4">
208
+ <label class="font_normal_body">用户类型</label>
209
+ <input type="text" class="input_search" v-model="order.f_user_type" readonly>
210
+ </div>
211
+ <div class="form-group col-sm-4">
212
+ <label class="font_normal_body">用户性质</label>
213
+ <input type="text" class="input_search" v-model="order.f_user_nature" readonly>
214
+ </div>
215
+ <div class="form-group col-sm-4">
216
+ <label class="font_normal_body">户&emsp;&emsp;数</label>
217
+ <input type="text" class="input_search" v-model="order.f_apply_count" readonly>
218
+ </div>
219
+ <div class="form-group col-sm-12">
220
+ <label class="font_normal_body">定位地址</label>
221
+ <input type="text" class="input_search" v-model="order.f_location_address" style="width: 90%" readonly>
222
+ </div>
223
+ <div class="form-group col-sm-4">
224
+ <label class="font_normal_body">处理状态</label>
225
+ <input type="text" class="input_search" v-model="order.f_orderstate" readonly>
226
+ </div>
227
+ <div class="form-group col-sm-4">
228
+ <label class="font_normal_body">预约时间</label>
229
+ <input type="text" class="input_search" v-model="order.f_orderdate" readonly>
230
+ </div>
231
+ <div class="form-group col-sm-12">
232
+ <label class="font_normal_body">预约备注</label>
233
+ <input type="text" class="input_search" style="width: 90%" v-model="order.f_orderremark" readonly>
234
+ </div>
235
+ <div class="form-group col-sm-4">
236
+ <label class="font_normal_body">审&ensp;核&ensp;人</label>
237
+ <input type="text" class="input_search" v-model="order.f_check_user" readonly>
238
+ </div>
239
+ <div class="form-group col-sm-4">
240
+ <label class="font_normal_body">审核时间</label>
241
+ <input type="text" class="input_search" v-model="order.f_check_date" readonly>
242
+ </div>
243
+ <div class="form-group col-sm-12">
244
+ <label class="font_normal_body">审核备注</label>
245
+ <input type="text" class="input_search" style="width: 90%" v-model="order.f_check_remark" readonly>
246
+ </div>
247
+ <div class="form-group col-sm-4">
248
+ <label class="font_normal_body">处&ensp;理&ensp;人</label>
249
+ <input type="text" class="input_search" v-model="order.f_process_user" readonly>
250
+ </div>
251
+ <div class="form-group col-sm-4">
252
+ <label class="font_normal_body">处理时间</label>
253
+ <input type="text" class="input_search" v-model="order.f_process_date" readonly>
254
+ </div>
255
+ <div class="form-group col-sm-4">
256
+ <label class="font_normal_body">报建编号</label>
257
+ <input type="text" class="input_search" v-model="order.f_apply_num" readonly>
258
+ </div>
259
+
260
+ </article>
261
+ <footer slot="modal-footer" class="modal-footer">
262
+ </footer>
263
+ </modal>
264
+
265
+ <modal
266
+ :show.sync="showMap"
267
+ large backdrop="false"
268
+ >
269
+ <header slot="modal-header" class="modal-header">
270
+ <button type="button" class="close" @click="closeModal()"><span>&times;</span></button>
271
+ <h4 class="modal-title">定位地址</h4>
272
+ </header>
273
+ <article slot="modal-body" class="modal-body row clearfix" style="height: 600px">
274
+ <AMap-location v-ref:amap :islocation="true"
275
+ :locationzoomcenter="false"
276
+ :usenative="true"
277
+ :isshowsearch="false"
278
+ :mylocationinfo="false"
279
+ :islocationclearmark="false"
280
+ :isshowmapmodel="false"
281
+ :locationwindow="false"
282
+ :labelmarksarray="labelmarksarray"
283
+ mapmodel="dragMarker"></AMap-location>
284
+ </article>
285
+ <footer slot="modal-footer" class="modal-footer">
286
+ </footer>
287
+ </modal>
288
+
289
+ </template>
290
+ <script>
291
+ import Vue from 'vue'
292
+ import {HttpResetClass} from 'vue-client'
293
+ export default {
294
+ title: '预约报建',
295
+ data () {
296
+ return {
297
+ showtotal: false, // 控制详细信息显示
298
+ showData: true,
299
+ selectedData: null,
300
+ showCheck: false,
301
+ checkOptions: [
302
+ {
303
+ label: '是',
304
+ value: '是'
305
+ },
306
+ {
307
+ label: '否',
308
+ value: '否'
309
+ }
310
+ ],
311
+ check: null,
312
+ checkRemark: null,
313
+ showType: false,
314
+ applyType: null,
315
+ showModal: null,
316
+ apply: {},
317
+ showApply: false,
318
+ applyList: [],
319
+ checkApply: null,
320
+ order: null,
321
+ showView: false,
322
+ showMap: false,
323
+ labelmarksarray: []
324
+ }
325
+ },
326
+ created () {
327
+ },
328
+ methods: {
329
+ async mergeApply () {
330
+ let data = {
331
+ selectedData: this.selectedData,
332
+ checkApply: this.checkApply,
333
+ user: this.$login.f
334
+ }
335
+
336
+ let res = await this.$resetpost(
337
+ `rs/logic/mergeApply`,
338
+ data,
339
+ {resolveMsg: null,rejectMsg: '合并工程处理失败!!!'}
340
+ )
341
+
342
+ this.$refs.query.search()
343
+
344
+ this.$showMessage(`报建编号:${res.data.f_apply_num}`)
345
+ },
346
+ async mergeInitiate () {
347
+ let data = {
348
+ selectedData: this.selectedData,
349
+ apply: this.apply,
350
+ user: this.$login.f
351
+ }
352
+
353
+ let res = await this.$resetpost(
354
+ `rs/logic/mergeInitiate`,
355
+ data,
356
+ {resolveMsg: null,rejectMsg: '合并发起处理失败!!!'}
357
+ )
358
+
359
+ this.$refs.query.search()
360
+
361
+ this.$showMessage(`报建编号:${res.data.f_apply_num}`)
362
+ },
363
+ async apply () {
364
+ let data = {
365
+ f_apply_type: this.applyType,
366
+ selectedData: this.selectedData,
367
+ user: this.$login.f
368
+ }
369
+
370
+ if (this.applyType === '散户报建') {
371
+ data.defname = '用户受理'
372
+ data.processname = '散户报建流程'
373
+ } else if (this.applyType === '工业户报建') {
374
+ data.defname = '用户受理'
375
+ data.processname = '工商户报建流程'
376
+ } else if (this.applyType === '商业户报建') {
377
+ data.defname = '用户受理'
378
+ data.processname = '工商户报建流程'
379
+ } else if (this.applyType === '散户集体报建') {
380
+ data.defname = '用户受理'
381
+ data.processname = '散户集体报建流程'
382
+ } else if (this.applyType === '开发商集体报建') {
383
+ data.defname = '用户受理'
384
+ data.processname = '开发商集体报建流程'
385
+ } else if (this.applyType === '煤改气报建') {
386
+ data.defname = '用户受理'
387
+ data.processname = '散户集体报建流程'
388
+ } else {
389
+ this.$showMessage('暂无此类报装')
390
+ return
391
+ }
392
+
393
+ let res = await this.$resetpost(
394
+ `rs/logic/initiateOrderApply`,
395
+ data,
396
+ {resolveMsg: null,rejectMsg: '预约单处理失败!!!'}
397
+ )
398
+
399
+ this.closeModal()
400
+
401
+ this.$showMessage(`共发起${res.data.total}条报建工程\n成功:${res.data.success}\n失败:${res.data.failure}`)
402
+ },
403
+ async checkOrder () {
404
+ let data = {
405
+ selectedData: this.selectedData,
406
+ check: this.check,
407
+ checkRemark: this.checkRemark,
408
+ user: this.$login.f
409
+ }
410
+
411
+ let res = await this.$resetpost(
412
+ `rs/logic/checkOrder`,
413
+ data,
414
+ {resolveMsg: null,rejectMsg: '预约单审核处理失败!!!'}
415
+ )
416
+
417
+ this.$refs.query.search()
418
+
419
+ this.$showMessage(`审核通过!!!`)
420
+ },
421
+ closeModal () {
422
+ this.showCheck = false
423
+ this.showType = false
424
+ this.showModal = false
425
+ this.showApply = false
426
+ this.showView = false
427
+ this.showMap = false
428
+
429
+
430
+ this.check = null
431
+ this.checkRemark = null
432
+ this.applyType = null
433
+ this.apply = null
434
+ this.applyList = []
435
+ this.checkApply = []
436
+ this.order = []
437
+ this.selectedData = null
438
+ this.$refs.query.selectedData = []
439
+ },
440
+ },
441
+ events: {
442
+ 'openMap' (row) {
443
+ this.labelmarksarray = []
444
+
445
+ this.labelmarksarray.push({
446
+ data: {
447
+ data: this.selectdata,
448
+ label: `<div style="background: #fff;border-radius: 5px;height: 100px;padding: 5px">
449
+ <h5>${row.f_contact}</h5>
450
+ <h5>${row.f_phone}</h5>
451
+ <h5>${row.f_location_address}</h5>
452
+ </div>`
453
+ },
454
+ position: [row.f_longitude, row.f_dimension],
455
+ isclearmarker: false
456
+ })
457
+
458
+ this.showMap = true
459
+ },
460
+ 'viewOrder' (row) {
461
+ this.order = row
462
+
463
+ this.showView = true
464
+ },
465
+ async 'handleOrder' (type, selectedData) {
466
+ this.selectedData = selectedData
467
+
468
+ if (type === '审核') {
469
+ this.showCheck = true
470
+ }
471
+ if (type === '批量发起') {
472
+ this.$showMessage('批量发起同一类型报建工程,建议所选预约单为同一类型、性质!!!', ['confirm']).then((res) => {
473
+ if (res === 'confirm') {
474
+ this.showType = true
475
+ }
476
+ })
477
+ }
478
+ if (type === '合并发起') {
479
+ this.apply = {
480
+ f_contact: this.selectedData[0].f_contact,
481
+ f_phone: this.selectedData[0].f_phone,
482
+ f_apply_count: this.selectedData.length
483
+ }
484
+ this.showModal = true
485
+ }
486
+ if (type === '合并工程') {
487
+ let data = {
488
+ tablename: 't_apply',
489
+ condition: `f_sub_state != '完工' and f_sub_state != '暂停' and f_sub_state != '终止' and f_apply_type = '民用报建' and f_orgid = ${this.$login.f.orgid}`
490
+ }
491
+ let res = await this.$resetpost(
492
+ 'rs/sql/apply_singleTable',
493
+ {data: data},
494
+ {resolveMsg: null, rejectMsg: '工程查询失败!!!'}
495
+ )
496
+
497
+ res.data.forEach(item => {
498
+ this.applyList.push({
499
+ 'label': `${item.f_entry_name}`,
500
+ 'value': item
501
+ })
502
+ })
503
+
504
+ this.showApply = true
505
+ }
506
+
507
+ },
508
+ 'search' () {
509
+ this.closeModal()
510
+
511
+ // 关闭详细
512
+ this.showtotal = false
513
+ // 显示列表数据
514
+ this.showData = true
515
+ // 显示分页
516
+ this.$refs.query.$refs.cp.pager = true
517
+ // 调用查询
518
+ this.$refs.query.$refs.cp.$refs.cri.search()
519
+ }
520
+ },
521
+ watch: {
522
+
523
+ },
524
+ computed: {
525
+ }
526
+
527
+ }
528
+ </script>