apply-clients 4.1.10-11 → 4.1.10-weinan

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 (70) hide show
  1. package/index.html +30 -21
  2. package/package.json +10 -7
  3. package/src/AndroidApp.vue +1 -1
  4. package/src/apply.js +16 -7
  5. package/src/applyAndroid.js +43 -50
  6. package/src/components/Table.js +13 -13
  7. package/src/components/app_apply/AppChargeManagement.vue +622 -0
  8. package/src/components/app_apply/ApplyInfo.vue +56 -56
  9. package/src/components/app_apply/ApplyToDoList.vue +144 -165
  10. package/src/components/app_apply/FieldExploration.vue +3 -3
  11. package/src/components/app_apply/PlaceControler.vue +255 -258
  12. package/src/components/app_apply/ServiceControl.vue +289 -267
  13. package/src/components/app_apply/ServiceView.vue +363 -355
  14. package/src/components/app_apply/ToolsPage.vue +1 -1
  15. package/src/components/app_apply/Ventilation.vue +10 -10
  16. package/src/components/app_apply/materialshoufei.vue +184 -0
  17. package/src/components/product/ApplyCharge/ApplyChargeList.vue +251 -251
  18. package/src/components/product/Function/InstallFunction.vue +120 -95
  19. package/src/components/product/Function/InstallInfoSelect.vue +268 -206
  20. package/src/components/product/Function/Service/FunctionServiceControl.vue +206 -386
  21. package/src/components/product/Function/StopApplyCrrdList.vue +1 -1
  22. package/src/components/product/Function/functions/StopInstall.vue +7 -1
  23. package/src/components/product/Process/ExplorationSelect.vue +377 -501
  24. package/src/components/product/Process/ExplorationUser.vue +100 -133
  25. package/src/components/product/Process/Processes/InstallationDetails.vue +276 -246
  26. package/src/components/product/Process/Processes/UserFireInfo.vue +409 -0
  27. package/src/components/product/Process/Processes/addressAndUserinfoManagement.vue +1458 -99
  28. package/src/components/product/Process/Processes/addressAndUserinfoManagementPro.vue +1221 -0
  29. package/src/components/product/Process/Processes/chargeManagement.vue +545 -552
  30. package/src/components/product/Process/Processes/devicesDetails.vue +834 -0
  31. package/src/components/product/Process/Processes/materialshoufei.vue +182 -0
  32. package/src/components/product/Process/Processes/printCharge.vue +12 -8
  33. package/src/components/product/Process/Processes/recordcancel.vue +50 -0
  34. package/src/components/product/Process/Processes/selectUserinfo.vue +199 -0
  35. package/src/components/product/Process/Processes/splitMaterial.vue +358 -0
  36. package/src/components/product/Process/Service/ServiceControl.vue +1236 -726
  37. package/src/components/product/Process/ShowBackReason.vue +21 -6
  38. package/src/components/product/ServiceView.vue +557 -575
  39. package/src/components/product/Stop/StopApply.vue +101 -0
  40. package/src/components/product/Stop/StopApplyList.vue +257 -0
  41. package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +150 -210
  42. package/src/components/product/Supervisory/SupervisoryControl.vue +124 -173
  43. package/src/components/product/Supervisory/SupervisoryList.vue +191 -310
  44. package/src/components/product/Supervisory/SupervisoryhCart.vue +76 -99
  45. package/src/components/product/Test.vue +8 -4
  46. package/src/components/product/VueUtils/ApplyUpload.vue +4 -4
  47. package/src/components/product/VueUtils/ToolsPage.vue +1 -1
  48. package/src/main.js +25 -32
  49. package/static/images/lefticon//347/237/251/345/275/2421183.png +0 -0
  50. package/src/components/app_apply/android/ExplorationSelectApp.vue +0 -404
  51. package/src/components/app_apply/android/ExplorationUserApp.vue +0 -189
  52. package/src/components/app_apply/android/ServiceControlApp.vue +0 -714
  53. package/src/components/app_apply/android/ServiceViewApp.vue +0 -736
  54. package/src/components/product/Function/OrderCenter/Step.vue +0 -153
  55. package/src/components/product/Function/OrderCenter/download.png +0 -0
  56. package/src/components/product/Function/OrderCenter/orderApplyDispose.vue +0 -203
  57. package/src/components/product/Function/OrderCenter/orderCenter.vue +0 -41
  58. package/src/components/product/Function/OrderCenter/orderList.vue +0 -265
  59. package/src/components/product/Function/functions/InstallFee.vue +0 -1047
  60. package/src/components/product/Function/functions/PrestoreFee.vue +0 -630
  61. package/src/components/product/Procedures/ProceduresDataGrid.vue +0 -1022
  62. package/src/components/product/Process/ModifyUserFiles.vue +0 -452
  63. package/src/components/product/Process/ProcessInfo/history_control.vue +0 -135
  64. package/src/components/product/Process/Processes/CustomerMaterialMessage.vue +0 -1073
  65. package/src/components/product/Process/Processes/CustomerRecordMessage.vue +0 -949
  66. package/src/components/product/Process/Processes/Service/ApplyChargeSearch.vue +0 -203
  67. package/src/components/product/Process/Processes/Service/GasStop.vue +0 -96
  68. package/src/components/product/Process/Processes/Service/ServiceControl.vue +0 -2569
  69. package/src/components/product/ReportForm/WaterReport.vue +0 -359
  70. package/src/components/product/VueUtils/rightview/InstallCardList2.vue +0 -261
@@ -0,0 +1,358 @@
1
+ <template>
2
+ <div class="col-sm-12" style="margin: 20px 0px;">
3
+ <data-grid :model="model" v-ref:grid class="list_area table_sy" style="padding: 0px">
4
+ <template partial='head'>
5
+ <tr>
6
+ <th class="textNoLineBreak">序号</th>
7
+ <th class="textNoLineBreak">材料名称</th>
8
+ <th class="textNoLineBreak">材料型号</th>
9
+ <th class="textNoLineBreak">材料单价</th>
10
+ <th class="textNoLineBreak">材料单位</th>
11
+ <th class="textNoLineBreak">材料数量</th>
12
+ <th class="textNoLineBreak">小计</th>
13
+ <th class="textNoLineBreak">材料备注</th>
14
+ <th class="textNoLineBreak">
15
+ <button
16
+ type="button"
17
+ class="btn btn-info head-but"
18
+ :disabled="$parent.$parent.mark === 1"
19
+ @click="$parent.$parent.showSupplement = !$parent.$parent.showSupplement"
20
+ >添加材料
21
+ </button>
22
+ <button v-if="$parent.$parent.mark !== 1" type="button" class="btn btn-info head-but"
23
+ @click="$parent.$parent.showFileModal()">导入</button>
24
+ <a v-if="$parent.$parent.mark !== 1" type="button" class="btn btn-info head-but"
25
+ href="/apply/download/excel/中盛材料批量导入.xlsx" download>模板下载</a>
26
+ </th>
27
+ </tr>
28
+ </template>
29
+ <template partial='body'>
30
+ <tr>
31
+ <td style="text-align: center;">
32
+ <nobr>{{ $index + 1 }}</nobr>
33
+ </td>
34
+ <td style="text-align: center;">
35
+ <nobr>{{ row.f_material_name }}</nobr>
36
+ </td>
37
+ <td style="text-align: center;">
38
+ <nobr>{{ row.f_material_style }}</nobr>
39
+ </td>
40
+ <td style="text-align: center;">
41
+ <nobr>{{ row.f_material_price }}</nobr>
42
+ </td>
43
+ <td style="text-align: center;">
44
+ <nobr>{{ row.f_material_unit }}</nobr>
45
+ </td>
46
+ <td style="text-align: center;">
47
+ <nobr>{{ row.f_material_number }}</nobr>
48
+ </td>
49
+ <td style="text-align: center;">
50
+ <nobr>{{ row.f_price_sum }}</nobr>
51
+ </td>
52
+ <td style="text-align: center;">
53
+ <nobr>{{ row.f_material_remarks }}</nobr>
54
+ </td>
55
+ <td style="text-align: center;">
56
+ <nobr>
57
+ <button
58
+ type="button"
59
+ name="button"
60
+ class="btn btn-link"
61
+ :disabled="$parent.$parent.mark === 1 || row.f_material_status === '作废'"
62
+ @click="$parent.$parent.showInvalidModal(row)"
63
+ >{{ row.f_material_status === '作废' ? '已作废' : '作废' }}
64
+ </button>
65
+ </nobr>
66
+ </td>
67
+ </tr>
68
+ </template>
69
+ </data-grid>
70
+
71
+ <validator name="v">
72
+ <modal v-if="showSupplement" :show.sync="showSupplement" v-ref:modal :large="true" :backdrop="false">
73
+ <header slot="modal-header" class="modal-header">
74
+ <button type="button" class="close" @click="closeModal"><span>&times;</span></button>
75
+ <h4 class="modal-title">预算材料</h4>
76
+ </header>
77
+ <article slot="modal-body" class="modal-body clearfix">
78
+ <div class="form-group col-sm-12" :class="[$v.f_material_name.required ? 'has-error' : '']">
79
+ <label class="col-sm-2 control-label">材料名称:</label>
80
+ <div class="col-sm-10">
81
+ <input type="text"
82
+ class="form-control input_view"
83
+ v-validate:f_material_name="['required']"
84
+ style="width: 100%"
85
+ v-model="material.f_material_name"/>
86
+ </div>
87
+ </div>
88
+ <div class="form-group col-sm-12" :class="[$v.f_material_style.required ? 'has-error' : '']">
89
+ <label class="col-sm-2 control-label">材料型号:</label>
90
+ <div class="col-sm-10">
91
+ <input type="text"
92
+ class="form-control input_view"
93
+ v-validate:f_material_style="['required']"
94
+ v-model="material.f_material_style"/>
95
+ </div>
96
+ </div>
97
+ <div class="form-group col-sm-12" :class="[$v.f_material_price.required ? 'has-error' : '']">
98
+ <label class="col-sm-2 control-label">材料单价:</label>
99
+ <div class="col-sm-10">
100
+ <input type="number"
101
+ class="form-control input_view"
102
+ style="width: 100%"
103
+ v-validate:f_material_price="['required']"
104
+ v-model="material.f_material_price"/>
105
+ </div>
106
+ </div>
107
+ <div class="form-group col-sm-12">
108
+ <label class="col-sm-2 control-label">材料单位:</label>
109
+ <div class="col-sm-10">
110
+ <input type="text"
111
+ class="form-control input_view"
112
+ style="width: 100%"
113
+ v-model="material.f_material_unit"/>
114
+ </div>
115
+ </div>
116
+ <div class="form-group col-sm-12" :class="[$v.f_material_number.required ? 'has-error' : '']">
117
+ <label class="col-sm-2 control-label">材料数量:</label>
118
+ <div class="col-sm-10">
119
+ <input type="number"
120
+ class="form-control input_view"
121
+ style="width: 100%"
122
+ v-validate:f_material_number="['required']"
123
+ v-model="material.f_material_number"/>
124
+ </div>
125
+ </div>
126
+ <div class="form-group col-sm-12">
127
+ <label class="col-sm-2 control-label">材料备注:</label>
128
+ <div class="col-sm-10">
129
+ <input type="text"
130
+ class="form-control input_view"
131
+ style="width: 100%"
132
+ v-model="material.f_material_remarks"/>
133
+ </div>
134
+ </div>
135
+ </article>
136
+ <footer slot="modal-footer" class="modal-footer">
137
+ <button type="button" class="btn btn-primary" :disabled='!$v.valid' @click="savematerial()">新增材料</button>
138
+ </footer>
139
+ </modal>
140
+
141
+ <modal v-if="showInvalid" :show.sync="showInvalid" v-ref:modal :large="true" :backdrop="false" title="作废材料">
142
+ <header slot="modal-header" class="modal-header">
143
+ <button type="button" class="close" @click="closeModal"><span>&times;</span></button>
144
+ <h4 class="modal-title">作废协议</h4>
145
+ </header>
146
+ <article slot="modal-body" class="modal-body clearfix">
147
+ <div class="form-group col-sm-12">
148
+ <label class="col-sm-2 control-label">材料名称:</label>
149
+ <div class="col-sm-10">
150
+ <input type="text"
151
+ readonly
152
+ class="form-control input_view"
153
+ style="width: 100%"
154
+ v-model="material.f_material_name"/>
155
+ </div>
156
+ </div>
157
+ <div class="form-group col-sm-12">
158
+ <label class="col-sm-2 control-label">材料型号:</label>
159
+ <div class="col-sm-10">
160
+ <input type="text"
161
+ readonly
162
+ class="form-control input_view"
163
+ v-validate:f_material_style="['required']"
164
+ v-model="material.f_material_style"/>
165
+ </div>
166
+ </div>
167
+ <div class="form-group col-sm-12">
168
+ <label class="col-sm-2 control-label">材料单价:</label>
169
+ <div class="col-sm-10">
170
+ <input type="number"
171
+ readonly
172
+ class="form-control input_view"
173
+ style="width: 100%"
174
+ v-model="material.f_material_price"/>
175
+ </div>
176
+ </div>
177
+ <div class="form-group col-sm-12">
178
+ <label class="col-sm-2 control-label">材料单位:</label>
179
+ <div class="col-sm-10">
180
+ <input type="text"
181
+ readonly
182
+ class="form-control input_view"
183
+ style="width: 100%"
184
+ v-model="material.f_material_unit"/>
185
+ </div>
186
+ </div>
187
+ <div class="form-group col-sm-12">
188
+ <label class="col-sm-2 control-label">材料数量:</label>
189
+ <div class="col-sm-10">
190
+ <input type="number"
191
+ readonly
192
+ class="form-control input_view"
193
+ style="width: 100%"
194
+ v-model="material.f_material_number"/>
195
+ </div>
196
+ </div>
197
+ <div class="form-group col-sm-12">
198
+ <label class="col-sm-2 control-label">材料备注:</label>
199
+ <div class="col-sm-10">
200
+ <input type="text"
201
+ readonly
202
+ class="form-control input_view"
203
+ style="width: 100%"
204
+ v-model="material.f_material_remarks"/>
205
+ </div>
206
+ </div>
207
+ <div class="form-group col-sm-12" :class="[$v.f_material_void_remarks.required ? 'has-error' : '']">
208
+ <label class="col-sm-2 control-label">作废原因:</label>
209
+ <div class="col-sm-10">
210
+ <input type="text" style="width: 100%"
211
+ class="form-control input_view"
212
+ v-validate:f_material_void_remarks="['required']"
213
+ v-model="material.f_material_void_remarks"/>
214
+ </div>
215
+ </div>
216
+ </article>
217
+ <footer slot="modal-footer" class="modal-footer">
218
+ <button type="button" class="btn btn-primary" :disabled='!$v.valid' @click="invalidmaterial()">确认作废</button>
219
+ </footer>
220
+ </modal>
221
+ </validator>
222
+ </div>
223
+
224
+ <modal :show.sync="showFile" v-ref:modal backdrop="true" title="选择文件">
225
+ <header slot="modal-header" class="modal-header">
226
+ <button type="button" class="close" @click="closeModal"><span>&times;</span></button>
227
+ <h4 class="modal-title">选择文件</h4>
228
+ </header>
229
+ <article slot="modal-body" class="modal-body">
230
+ <div class="form-group">
231
+ <file-upload class="my-file-uploader" name="useraddressUploadFile" action="rs/file/uploadFile" tagname="确定" multiple v-ref:file></file-upload>
232
+ </div>
233
+ </article>
234
+ <footer slot="modal-footer" class="modal-footer"></footer>
235
+ </modal>
236
+ </template>
237
+ <script>
238
+ import {getNowDate, isEmpty} from '../../../Util'
239
+ import {PagedList} from 'vue-client'
240
+ import {HttpResetClass} from 'vue-client'
241
+
242
+ export default {
243
+ title: '拆改材料',
244
+ props: {
245
+ selectdata: {
246
+ type: Object
247
+ },
248
+ mark: {
249
+ type: Number,
250
+ default: 0
251
+ }
252
+ },
253
+ data() {
254
+ return {
255
+ showFile: false,
256
+ showSupplement: false,
257
+ showInvalid: false,
258
+ model: {
259
+ data: null
260
+ },
261
+ material: {}
262
+ }
263
+ },
264
+ ready() {
265
+ this.search()
266
+ },
267
+ methods: {
268
+ showFileModal() {
269
+ this.showFile = !this.showFile
270
+ },
271
+ async invalidmaterial() {
272
+ let http = new HttpResetClass()
273
+ let data = {
274
+ selectdata: this.selectdata,
275
+ user: this.$login.f,
276
+ material: this.material
277
+ }
278
+ let res = await http.load('POST', 'rs/logic/deleteApplyMaterial', {data: data}, {
279
+ resolveMsg: null,
280
+ rejectMsg: '作废失败'
281
+ })
282
+ this.$dispatch('breakControl', this.selectdata)
283
+ },
284
+ showInvalidModal(row) {
285
+ this.material = row
286
+ this.showInvalid = true
287
+ },
288
+ async savematerial() {
289
+ let http = new HttpResetClass()
290
+ let data = {
291
+ material: this.material,
292
+ user: this.$login.f,
293
+ selectdata: this.selectdata
294
+ }
295
+ let res = await http.load('POST', 'rs/logic/addApplyMaterial', {data: data}, {
296
+ resolveMsg: null,
297
+ rejectMsg: '添加失败'
298
+ })
299
+ this.$dispatch('breakControl', this.selectdata)
300
+ },
301
+ async search() {
302
+ let http = new HttpResetClass()
303
+ let data = {
304
+ tablename: 't_material_apply',
305
+ condition: `f_process_id = '${this.selectdata.f_process_id}'`
306
+ }
307
+ let res = await http.load('POST', 'rs/sql/singleTable', {data: data}, {
308
+ resolveMsg: null,
309
+ rejectMsg: 'null'
310
+ })
311
+ this.model.data = res.data
312
+ },
313
+ closeModal() {
314
+ this.showFile = false
315
+ this.showSupplement = false
316
+ this.showInvalid = false
317
+ this.material = {}
318
+ this.search()
319
+ }
320
+ },
321
+ events: {
322
+ async 'onFileUpload'(file, result) {
323
+ let data = {
324
+ selectdata: this.selectdata,
325
+ filepath: result.f_downloadpath,
326
+ user: this.$login.f,
327
+ mark: this.mark
328
+ }
329
+ let res = await this.$resetpost(`rs/logic/importMaterials`, {data:data}, {resolveMsg: null, rejectMsg: '导入失败', silent: true}, 0)
330
+ this.$showMessage(res.data);
331
+ if (this.mark !== 0) {
332
+ this.$dispatch('breakControl', this.selectdata)
333
+ }
334
+ this.closeModal()
335
+ }
336
+ },
337
+ computed: {
338
+ materialType() {
339
+ return this.$appdata.getParam('材料型号')
340
+ }
341
+ },
342
+ watch: {}
343
+ }
344
+ </script>
345
+ <style scoped>
346
+ .textNoLineBreak {
347
+ white-space: nowrap;
348
+ }
349
+
350
+ .head-but {
351
+ margin-left: 5px;
352
+ height: 34px;
353
+ /*background-color: #6aa6e2;*/
354
+ border-radius: 4px;
355
+ font-family: PingFang;
356
+ color: #ffffff;
357
+ }
358
+ </style>