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
@@ -1,1022 +0,0 @@
1
- <template>
2
- <div class="flex">
3
- <div class="form-inline auto" style="margin-bottom: 5px;">
4
- <label>姓名查找:</label>
5
- <!--<input type="text" class="form-control" placeholder='请输入查找的用户姓名' v-model="param"-->
6
- <!--@keyup.enter="filterParams(param)">-->
7
- <input type="text" class="form-control" placeholder='请输入查找的用户姓名' v-model="searchModel.f_user_name"
8
- @keyup.enter="searchFilter(searchModel)">
9
- <label>地址查找:</label>
10
- <input type="text" class="form-control" placeholder='请输入查找的地址' v-model="searchModel.f_address"
11
- @keyup.enter="searchFilter(searchModel)">
12
- <button type="button" class="btn btn-primary" @click="searchFilter(searchModel)">查询</button>
13
- <button type="button" class="btn btn-primary" @click="load()">立即刷新</button>
14
- <button type="button" class="btn btn-primary" @click.stop="export2(searchModel)">通水档案导出 </button>
15
- <button type="button" class="btn btn-primary" @click.stop="addDetailed()">通水导入 </button>
16
- </div>
17
-
18
-
19
- <!--户档案管理组件-->
20
- <div class="col-sm-12 span recordTable" style="margin-top: 10px;height:70%;">
21
-
22
- <partial-view v-ref:single-load>
23
- <data-grid :model="model" v-ref:grid>
24
- <template partial='head'>
25
- <tr>
26
- <th>档案编号</th>
27
- <th>用户姓名</th>
28
- <th>用户电话</th>
29
- <th>用户类型</th>
30
- <th>地址</th>
31
- <th>安全员</th>
32
- <th>缴费类型</th>
33
- <th>结算状态</th>
34
- <th>人口数</th>
35
- <th>用户状态</th>
36
- <th>操作</th>
37
- </tr>
38
- </template>
39
- <template partial='body'>
40
- <td @click="$parent.$parent.$parent.showdetail(row)" style="text-align: center">{{row.f_userinfo_id}}</td>
41
- <td @click="$parent.$parent.$parent.showdetail(row)" style="text-align: center">{{row.f_user_name}}</td>
42
- <td @click="$parent.$parent.$parent.showdetail(row)" style="text-align: center">{{row.f_user_phone}}</td>
43
- <td @click="$parent.$parent.$parent.showdetail(row)" style="text-align: center">{{row.f_user_type}}</td>
44
- <td @click="$parent.$parent.$parent.showdetail(row)" style="text-align: center">{{row.f_address}}</td>
45
- <td @click="$parent.$parent.$parent.showdetail(row)" style="text-align: center">{{row.f_checker}}</td>
46
- <td @click="$parent.$parent.$parent.showdetail(row)" style="text-align: center">{{row.f_cost_type}}</td>
47
- <td @click="$parent.$parent.$parent.showdetail(row)" style="text-align: center">{{row.f_cost_state}}</td>
48
- <td @click="$parent.$parent.$parent.showdetail(row)" style="text-align: center">{{row.f_people_num}}</td>
49
- <td @click="$parent.$parent.$parent.showdetail(row)" style="text-align: center">{{row.f_user_state}}</td>
50
- <!--<td>{{row.f_remarks}}</td>-->
51
- <td v-show="edit"><input type="checkbox" v-model="row.f_pay"
52
- @click="$parent.$parent.$parent.paychange(row)"/></td>
53
- <td class="" style="text-align: center">
54
- <button type="button" name="button" class="btn btn-link"
55
- @click.stop="$parent.$parent.$parent.modifyParam(row)">修改
56
- </button>
57
- <button type="button" name="button" class="btn btn-link"
58
- @click.stop="$parent.$parent.$parent.delete(row)">删除
59
- </button>
60
- <!--<button type="button" name="button" class="btn btn-link"-->
61
- <!--@click.stop="$parent.$parent.$parent.deleteItem(row)">删除-->
62
- <!--</button>-->
63
- </td>
64
- </template>
65
- </data-grid>
66
-
67
- </partial-view>
68
- </div>
69
-
70
- <div class="col-sm-12 span recordTable" style="margin-top: 10px;height:30%;" v-if="isShowdetail">
71
- <p class="text-center" style="padding: 8px;font-size: 20px">表档案列表
72
-
73
- <button type="button" class="close" @click="isShowdetail=false" aria-hidden="true">&times;</button>
74
- </p>
75
- <partial-view v-ref:single-load>
76
- <data-grid :model="batchmodel" v-ref:batchgrid>
77
- <template partial='head'>
78
- <tr>
79
- <th>序号</th>
80
- <th>户档案编号</th>
81
- <th>表档案编号</th>
82
- <th>表号</th>
83
- <th>水表品牌</th>
84
- <th>表型号</th>
85
- <th>通水表号</th>
86
- <th>通水人</th>
87
- <th>通水时间</th>
88
- <th>被修改表号</th>
89
- <th>操作</th>
90
- </tr>
91
- </template>
92
- <template partial='body'>
93
- <td style="text-align: center">{{$index+1}}</td>
94
- <td style="text-align: center">{{row.f_userinfo_id}}</td>
95
- <td style="text-align: center">{{row.f_user_id}}</td>
96
- <td style="text-align: center">{{row.f_meternumber}}</td>
97
- <td style="text-align: center">{{row.f_meter_brand}}</td>
98
- <td style="text-align: center">{{row.f_meter_style}}</td>
99
- <td style="text-align: center">{{row.f_gas_meternumber}}</td>
100
- <td style="text-align: center">{{row.f_gas_person}}</td>
101
- <td style="text-align: center">{{row.f_gas_date}}</td>
102
- <td style="text-align: center">{{row.f_gas_meternumber_back}}</td>
103
-
104
- <!--<td>{{row.f_remarks}}</td>-->
105
- <td class="" style="text-align: center">
106
- <button type="button" name="button" class="btn btn-link"
107
- @click.stop="$parent.$parent.$parent.filesModify(row)">修改
108
- </button>
109
- <button type="button" name="button" class="btn btn-link"
110
- @click.stop="$parent.$parent.$parent.deleteItem(row)">删除
111
- </button>
112
- <!-- <button type="button" name="button" class="btn btn-link"
113
- @click.stop="$parent.$parent.$parent.deleteItem(row)" >删除
114
- </button>-->
115
- </td>
116
- </template>
117
- </data-grid>
118
-
119
-
120
- </partial-view>
121
- </div>
122
-
123
- </div>
124
- <modal :show.sync="show" v-ref:modal backdrop="false">
125
- <header slot="modal-header" class="modal-header">
126
- <button type="button" class="close" @click="close"><span>&times;</span></button>
127
- <h4 class="modal-title">配置</h4>
128
- </header>
129
- <!--户档案修改-->
130
- <article slot="modal-body" class="modal-body">
131
- <div class="from-group" style="width: 100%">
132
- <label style="width: 15%;float: left">用户姓名</label>
133
- <input type="text" class="form-control" v-model="selectItem.f_user_name" style="width: 80%;float: left"/>
134
- </div>
135
- <div class="from-group" style="width: 100%">
136
- <label style="width: 15%;float: left">用户电话</label>
137
- <input type="text" class="form-control" v-model="selectItem.f_user_phone" style="width: 80%;float: left">
138
- </div>
139
- <div class="from-group" style="width: 100%">
140
- <label style="width: 15%;float: left">楼号</label>
141
- <input type="text" class="form-control" v-model="selectItem.f_building" style="width: 80%;float: left">
142
- </div>
143
- <div class="from-group" style="width: 100%">
144
- <label style="width: 15%;float: left">单元号</label>
145
- <input type="text" class="form-control" v-model="selectItem.f_unit" style="width: 80%;float: left">
146
- </div>
147
- <div class="from-group" style="width: 100%">
148
- <label style="width: 15%;float: left">楼层</label>
149
- <input type="text" class="form-control" v-model="selectItem.f_floor" style="width: 80%;float: left">
150
- </div>
151
- <div class="from-group" style="width: 100%">
152
- <label style="width: 15%;float: left">门牌号</label>
153
- <input type="text" class="form-control" v-model="selectItem.f_room" style="width: 80%;float: left">
154
- </div>
155
- <div class="from-group" style="width: 100%">
156
- <label style="width: 15%;float: left">人口数</label>
157
- <input type="number" class="form-control" v-model="selectItem.f_people_num" style="width: 80%;float: left">
158
- </div>
159
- <div class="from-group" style="width: 100%">
160
- <label style="width: 15%;float: left">缴费类型</label>
161
- <v-select width="80%" :value.sync="selectItem.f_cost_type" v-model="selectItem.f_cost_type"
162
- :options='costtype' placeholder='请选择' style="width: 80%;float: left"
163
- close-on-select>
164
- </v-select>
165
- </div>
166
- <div class="from-group" style="width: 100%">
167
- <label style="width: 15%;float: left">结算状态</label>
168
- <v-select width="80%" :value.sync="selectItem.f_cost_state" v-model="selectItem.f_cost_state"
169
- :options='coststate' placeholder='请选择' style="width: 80%;float: left"
170
- close-on-select>
171
- </v-select>
172
- </div>
173
-
174
- <div class="from-group" style="width: 100%">
175
- <label style="width: 15%;float: left">安全员</label>
176
- <v-select width="80%" :value.sync="selectItem.f_checker" v-model="selectItem.f_checker"
177
- :options='checker' placeholder='请选择' style="width: 80%;float: left"
178
- close-on-select>
179
- </v-select>
180
- </div>
181
- <div class="from-group" style="width: 100%">
182
- <label style="width: 15%;float: left">用户状态</label>
183
- <v-select width="80%" :value.sync="selectItem.f_user_state" v-model="selectItem.f_user_state"
184
- :options='userstate' placeholder='请选择' style="width: 80%;float: left"
185
- close-on-select>
186
- </v-select>
187
- </div>
188
- </article>
189
-
190
-
191
- <footer slot="modal-footer" class="modal-footer">
192
- <div class="from-group" style="width: 100%;float: left">
193
- <button v-show="show" type="button" class="btn btn-default" @click='close'>取消</button>
194
- <button v-show="show" type="button" class="btn btn-success" @click='confirm'>确认</button>
195
- </div>
196
- </footer>
197
- </modal>
198
-
199
-
200
- <modal :show.sync="addshow" v-ref:modal backdrop="false">
201
- <header slot="modal-header" class="modal-header">
202
- <button type="button" class="close" @click="addclose"><span>&times;</span></button>
203
- <h4 class="modal-title">配置</h4>
204
- </header>
205
- <!--户档案修改-->
206
- <article slot="modal-body" class="modal-body">
207
- <div class="from-group">
208
- <label style="width: 20%;float: left">表号</label>
209
- <input type="text" style="width: 80%;float: left" readonly class="form-control"
210
- v-model="selectItem.f_meternumber"/>
211
- </div>
212
- <div class="from-group">
213
- <label style="width: 20%;float: left">用户类型</label>
214
- <v-select width="80%" :value.sync="selectItem.f_user_type" v-model="selectItem.f_user_type"
215
- :options='usertypes' placeholder='请选择' style="width: 80%;float: left"
216
- close-on-select>
217
- </v-select>
218
- </div>
219
- <div class="from-group">
220
- <label style="width: 20%;float: left">用水性质</label>
221
- <v-select width="80%" :value.sync="selectItem.f_gasproperties" v-model="selectItem.f_gasproperties"
222
- :options='gasproperties' placeholder='请选择' style="width: 80%;float: left"
223
- close-on-select>
224
- </v-select>
225
- </div>
226
- <div class="from-group">
227
- <label style="width: 20%;float: left">表底数</label>
228
- <input type="text" style="width: 80%;float: left" class="form-control" v-model="selectItem.f_meter_base"/>
229
- </div>
230
- <div class="from-group">
231
- <label style="width: 20%;float: left">水表品牌</label>
232
- <v-select width="80%" :value.sync="selectItem.f_meter_brand" v-model="selectItem.f_meter_brand"
233
- :options='meterbrand' placeholder='请选择' style="width: 80%;float: left"
234
- close-on-select search="">
235
- </v-select>
236
- </div>
237
- <div class="from-group">
238
- <label style="width: 20%;float: left">表型号</label>
239
- <v-select width="80%" :value.sync="selectItem.f_meter_style" v-model="selectItem.f_meter_style"
240
- :options='meterstyle' placeholder='请选择' style="width: 80%;float: left"
241
- close-on-select>
242
- </v-select>
243
- </div>
244
- <div class="from-group">
245
- <label style="width: 20%;float: left">左右表</label>
246
- <v-select width="80%" :value.sync="selectItem.f_aroundmeter" v-model="selectItem.f_aroundmeter"
247
- :options='aroundmeter' placeholder='请选择' style="width: 80%;float: left"
248
- close-on-select>
249
- </v-select>
250
- </div>
251
- <div class="from-group">
252
- <label style="width: 20%;float: left">水价类型</label>
253
- <v-select width="80%" :value.sync="selectItem.f_price_type" v-model="selectItem.f_price_type"
254
- :options='pricetype' placeholder='请选择' style="width: 80%;float: left"
255
- close-on-select>
256
- </v-select>
257
- </div>
258
- <div class="from-group">
259
- <label style="width: 20%;float: left">水价名称</label>
260
- <v-select width="80%" :value.sync="selectItem.f_price_name" v-model="selectItem.f_price_name"
261
- :options='pricename' placeholder='请选择' style="width: 80%;float: left"
262
- close-on-select>
263
- </v-select>
264
- </div>
265
- <div class="from-group">
266
- <label style="width: 20%;float: left">剩余水量</label>
267
- <input type="text" style="width: 80%;float: left" class="form-control" v-model="selectItem.f_heater_gas"/>
268
- </div>
269
- <div class="from-group">
270
- <label style="width: 20%;float: left">表状态</label>
271
- <v-select width="80%" :value.sync="selectItem.f_table_state" v-model="selectItem.f_table_state"
272
- :options='tablestate' placeholder='请选择' style="width: 80%;float: left"
273
- close-on-select>
274
- </v-select>
275
- </div>
276
- <div class="from-group">
277
- <label style="width: 20%;float: left">水表类型</label>
278
- <v-select width="80%" :value.sync="selectItem.f_meter_classify" v-model="selectItem.f_meter_classify"
279
- :options='meterclassify' placeholder='请选择' style="width: 80%;float: left"
280
- close-on-select>
281
- </v-select>
282
- </div>
283
- <div class="from-group">
284
- <label style="width: 20%;float: left">是否发卡</label>
285
- <v-select width="80%" :value.sync="selectItem.f_whether_hairpin" v-model="selectItem.f_whether_hairpin"
286
- :options='whetherhairpin' placeholder='请选择' style="width: 80%;float: left"
287
- close-on-select>
288
- </v-select>
289
- </div>
290
- <div class="from-group">
291
- <label style="width: 20%;float: left">安装位置</label>
292
- <v-select width="80%" :value.sync="selectItem.f_position" v-model="selectItem.f_position"
293
- :options='position' placeholder='请选择' style="width: 80%;float: left"
294
- close-on-select>
295
- </v-select>
296
- </div>
297
- <div class="from-group">
298
- <label style="width: 20%;float: left">抄表员</label>
299
- <v-select width="80%" :value.sync="selectItem.f_inputtor" v-model="selectItem.f_inputtor"
300
- :options='inputtor' placeholder='请选择' style="width: 80%;float: left"
301
- close-on-select>
302
- </v-select>
303
- </div>
304
- <div class="from-group">
305
- <label style="width: 20%;float: left">通水人</label>
306
- <input type="text" style="width: 80%;float: left" class="form-control" v-model="selectItem.f_gas_person"/>
307
- </div>
308
- <div class="from-group">
309
- <label style="width: 20%;float: left">通水时间</label>
310
- <datepicker width="80%" style="width: 80%;float: left"
311
- :value.sync="selectItem.f_gas_date"
312
- :format="'yyyy-MM-dd HH:mm:ss'"
313
- v-model="selectItem.f_gas_date"
314
- :readonly="true"
315
- :show-reset-button="reset">
316
- </datepicker>
317
- </div>
318
- <div class="from-group">
319
- <label style="width: 20%;float: left">通水表号</label>
320
- <input type="text" style="width: 80%;float: left" class="form-control" v-model="selectItem.f_gas_meternumber"/>
321
- </div>
322
- <!--<div class="from-group">
323
- <label style="width: 20%;float: left">输损率</label>
324
- <input type="number" style="width: 80%;float: left" class="form-control" v-model="selectItem.f_lossrate" v-validate:f_lossrate='{dctest: [1, "<" ] }'/>
325
- </div>-->
326
-
327
- </article>
328
- <footer slot="modal-footer" class="modal-footer">
329
- <button type="button" class="btn btn-default" @click='addclose'>取消</button>
330
- <button type="button" class="btn btn-success" v-if="showqueren" @click='addconfirm'>确认</button>
331
- <button type="button" class="btn btn-success" v-else>提交中</button>
332
- </footer>
333
- </modal>
334
-
335
- <modal :show.sync="updateshow" v-ref:modal backdrop="false">
336
- <header slot="modal-header" class="modal-header">
337
- <button type="button" class="close" @click="updateclose"><span>&times;</span></button>
338
- <h4 class="modal-title">配置</h4>
339
- </header>
340
- <!--户档案修改-->
341
- <article slot="modal-body" class="modal-body">
342
- <div class="from-group">
343
- <label style="width: 20%;float: left">表号</label>
344
- <input type="text" style="width: 80%;float: left" class="form-control" v-model="selectItem.f_meternumber"/>
345
- </div>
346
- <div class="from-group">
347
- <label style="width: 20%;float: left">水表品牌</label>
348
- <v-select :value.sync="selectItem.f_meter_brand" v-model="selectItem.f_meter_brand"
349
- :options='meterbrand' placeholder='请选择' style="width: 80%;float: left"
350
- close-on-select search="">
351
- </v-select>
352
- </div>
353
- <div class="from-group">
354
- <label style="width: 20%;float: left">表型号</label>
355
- <v-select :value.sync="selectItem.f_meter_style" v-model="selectItem.f_meter_style"
356
- :options='meterstyle' placeholder='请选择' style="width: 80%;float: left"
357
- close-on-select>
358
- </v-select>
359
- </div>
360
- </article>
361
- <footer slot="modal-footer" class="modal-footer">
362
- <button type="button" class="btn btn-default" @click='updateclose'>取消</button>
363
- <button type="button" class="btn btn-success" @click='updateconfirm'>确认</button>
364
- </footer>
365
- </modal>
366
-
367
-
368
- <modal :show.sync="showFile" v-ref:modal backdrop="false">
369
- <header slot="modal-header" class="modal-header">
370
- <button type="button" class="close" @click="closeFile"><span>&times;</span></button>
371
- <h4 class="modal-title">档案导入</h4>
372
- </header>
373
- <article slot="modal-body" class="modal-body">
374
- <div class="form-group">
375
- <file-upload class="my-file-uploader" :name="key+Math.random()"
376
- action="rs/file/uploadFile" tagname="文件导入" :headers="headers" v-ref:file></file-upload>
377
- </div>
378
- </article>
379
- <footer slot="modal-footer" class="modal-footer"></footer>
380
- </modal>
381
-
382
- </template>
383
-
384
- <script>
385
- import {HttpResetClass} from 'vue-client'
386
-
387
- export default {
388
- title: '档案信息',
389
- props: {
390
- key: {
391
- default: '办理手续环节'
392
- },
393
- edit: {
394
- default: true
395
- }
396
- },
397
- data() {
398
- return {
399
- searchModel:{},
400
- selectdata: {
401
- f_process_id: ''
402
- },
403
- // headers: {'username': this.$login.f.name, 'blodid': this.selectdata.f_process_id, 'fusetype': '报建execl导入用户档案'},
404
- //户档案表头
405
- userHeadData: ['档案编号', '用户姓名', '用户电话', '区', '片区', '街道名称', '小区名称', '楼号', '单元号', '楼层', '门牌号', '用水性质', '用户状态'],
406
- //户档案内容
407
- userBodyData: ['f_userinfo_id', 'f_user_name', 'f_user_phone', 'f_area', 'f_slice_area', 'f_street', 'f_residential_area', 'f_building', 'f_unit', 'f_floor', 'f_room', 'f_gasproperties', 'f_user_state'],
408
- //表档案表头
409
- surHeadData: ['户档案编号', '表号', '水表品牌', '表型号', '通水表号', '通水人', '通水时间', '被修改表号'],
410
- //表档案内容
411
- surBodyData: ['f_userinfo_id', 'f_meternumber', 'f_meter_brand', 'f_meter_style', 'f_gas_meternumber', 'f_gas_person', 'f_gas_date', 'f_gas_meternumber_back'],
412
- //设备表头
413
- eqHeadData: ['户档案编号', '设备编号', '设备类型', '设备品牌', '设备型号', '设备数量'],
414
- //设备内容
415
- eqBodyData: ['f_userinfo_id', 'f_devices_no', 'f_devices_type', 'f_brand', 'f_devices_model', 'f_devices_num'],
416
- params: null,
417
- record: {},
418
- selectItem: {},
419
- pricetype: [],
420
- pricename: [],
421
- model: {
422
- rows: []
423
- },
424
- batchmodel: {
425
- rows: []
426
- },
427
- params: { // 选择的具体内容
428
- rows: []
429
- },
430
- timer: null, // 定时查询定时器
431
- condition: '',
432
- show: false,
433
- showFile: false,
434
- ischecked: false,
435
- getfield: {},
436
- checked: [],
437
- isShowdetail: false,
438
- userinfo_id: null,
439
- addshow: false,
440
- meterstyle: [],
441
- meterbrand: [],
442
- updateshow: false,
443
- importtype: null,
444
- showqueren: true,
445
- userstate: this.$appdata.getParam('用户状态'),
446
- checker: this.$appdata.getParam('安全员'),
447
- coststate: this.$appdata.getParam('结算状态'),
448
- costtype: this.$appdata.getParam('缴费类型'),
449
- aroundmeter: this.$appdata.getParam('左右表'),
450
- gasproperties: this.$appdata.getParam('用水性质'),
451
- usertypes: this.$appdata.getParam('用户类型'),
452
- tablestate: this.$appdata.getParam('表状态'),
453
- meterclassify: this.$appdata.getParam('水表类型'),
454
- whetherhairpin: this.$appdata.getParam('是否发卡'),
455
- position: this.$appdata.getParam('安装位置'),
456
- inputtor: this.$appdata.getParam('抄表员')
457
- }
458
- },
459
- ready() {
460
- this.timer = setInterval(this.load(), 600000);
461
- // this.load()
462
- this.getitem()
463
- },
464
- beforeDestroy() {
465
- clearInterval(this.timer);
466
- },
467
- watch: {
468
- 'selectdata,f_process_id'() {
469
- this.headers.blodid = this.selectdata.f_process_id
470
- this.load()
471
- },
472
-
473
- 'selectItem.f_meter_brand[0]'(val) {
474
- console.log('选择的品牌改变了', val)
475
- if (!val) {
476
- return
477
- }
478
- this.$resetpost('rs/logic/getMeterStyle', {data: {f_meter_brand: val}}, {
479
- resolveMsg: null,
480
- rejectMsg: null
481
- }).then((res) => {
482
- console.log('获取的选项', res)
483
- let house2 = []
484
- for (let row of res.data) {
485
- house2.push({label: row.f_meter_style, value: row.f_meter_style})
486
- }
487
- this.meterstyle = house2
488
- })
489
- },
490
- 'selectItem.f_user_type[0]'(val) {
491
- let condition = `f_user_type = '${val}' and f_filiale = '${this.$login.f.f_fengongsi}'
492
- and f_gasproperties = '${this.selectItem.f_gasproperties}'`
493
- this.$resetpost('rs/logic/getRecordItem', {condition}, {resolveMsg: null, rejectMsg: null}).then((res) => {
494
- console.log('获取的选项', res)
495
- let house2 = []
496
- for (let row of res.data.pricetype) {
497
- house2.push({label: row.f_price_type, value: row.f_price_type})
498
- }
499
- this.pricetype = house2
500
- })
501
- },
502
- 'selectItem.f_gasproperties[0]'(val) {
503
- let condition = `f_user_type = '${this.selectItem.f_user_type}' and f_filiale = '${this.$login.f.f_fengongsi}'
504
- and f_gasproperties = '${val}'`
505
- this.$resetpost('rs/logic/getRecordItem', {condition}, {resolveMsg: null, rejectMsg: null}).then((res) => {
506
- console.log('获取的选项', res)
507
- let house2 = []
508
- for (let row of res.data.pricetype) {
509
- house2.push({label: row.f_price_type, value: row.f_price_type})
510
- }
511
- this.pricetype = house2
512
- })
513
- },
514
- 'selectItem.f_price_type[0]'(val) {
515
- console.log('选择的品牌改变了', val)
516
- if (!val) {
517
- return
518
- }
519
- let condition = `f_user_type = '${this.selectItem.f_user_type}' and f_filiale = '${this.$login.f.f_fengongsi}'
520
- and f_gasproperties = '${this.selectItem.f_gasproperties}'
521
- and f_price_type = '${val}'`
522
- this.$resetpost('rs/logic/getRecordItem', {condition}, {resolveMsg: null, rejectMsg: null}).then((res) => {
523
- console.log('获取的选项', res)
524
- let house2 = []
525
- for (let row of res.data.pricename) {
526
- house2.push({label: row.f_price_name, value: row.f_price_name})
527
- }
528
- this.pricename = house2
529
- })
530
-
531
- }
532
- },
533
-
534
- computed: {
535
- address() {
536
- let strAddress = `${this.record.f_area ? this.record.f_area
537
- + '-' : ''}${this.record.f_street ? this.record.f_street
538
- + '-' : ''}${this.record.f_residential_area ? this.record.f_residential_area
539
- + '' : ''}${this.record.f_building ? this.record.f_building
540
- + '号楼' : ''}${this.record.f_unit ? this.record.f_unit
541
- + '单元' : ''}${this.record.f_floor ? this.record.f_floor
542
- + '层' : ''}${this.record.f_room ? this.record.f_room
543
- + '室' : ''}`
544
- this.record.f_address = strAddress
545
- return strAddress
546
- },
547
- getfield() {
548
- let data = {}
549
- this.userBodyData.forEach((value, index) => {
550
- data[this.userBodyData[index]] = this.userHeadData[index]
551
- })
552
-
553
- console.log('data', data)
554
- return data
555
- }
556
- },
557
- methods: {
558
- // 导出
559
- async export2(searchModel) {
560
- console.log("导出",searchModel)
561
-
562
- let condition = ` (f_process_id is not null or f_process_id !='') `
563
- if(searchModel.f_user_name){
564
- condition+=` and ui.f_user_name like '%${searchModel.f_user_name}%' `
565
- }
566
- if(searchModel.f_address){
567
- condition+=` and ui.f_address like '%${searchModel.f_address}%' `
568
- }
569
- // ['f_userinfo_id', 'f_user_name', 'f_user_phone', 'f_area', 'f_slice_area', 'f_street', 'f_residential_area', 'f_building', 'f_unit', 'f_floor', 'f_room','f_user_type','f_gasproperties','f_price_type','f_price_name', 'f_user_state','f_meternumber', 'f_meter_brand', 'f_meter_style', 'f_gas_meternumber', 'f_gas_person', 'f_gas_date']
570
-
571
- // ['档案编号', '用户姓名', '用户电话', '区', '片区', '街道名称', '小区名称', '楼号', '单元号', '楼层', '门牌号','用户类型', '用水性质','水价类型','水价名称','用户状态','表号', '水表品牌', '表型号', '通水表号', '通水人', '通水时间']
572
-
573
- // ["f_userinfo_id:档案编号","f_user_name:用户姓名","f_user_phone:用户电话","f_area:区","f_slice_area:片区","f_street:街道名称","f_residential_area:小区名称","f_building:楼号","f_unit:单元号","f_floor:楼层","f_room:门牌号","f_user_type:用户类型","f_gasproperties:用水性质","f_price_type:水价类型","f_price_name:水价名称","f_user_state:用户状态","f_meternumber:表号","f_meter_brand:水表品牌","f_meter_style:表型号","f_gas_meternumber:通水表号","f_gas_person:通水人","f_gas_date:通水时间"]
574
- let exportdata = {
575
- body:{
576
- data:{
577
- condition:condition, // 查询条件
578
- items:"'f_userinfo_id', 'f_user_name', 'f_user_phone', 'f_area', 'f_slice_area', 'f_street', 'f_residential_area', 'f_building', 'f_unit', 'f_floor', 'f_room','f_user_type','f_user_state','f_meternumber', 'f_gas_person', 'f_gas_date'"
579
- },
580
- field:["f_userinfo_id:档案编号","f_user_name:用户姓名/单位名称","f_user_phone:用户电话","f_area:区/县","f_slice_area:片区","f_street:街道名称","f_residential_area:小区名称","f_building:楼号","f_unit:单元号","f_floor:楼层","f_room:门牌号","f_user_type:用户类型","f_user_state:用户状态","f_meternumber:表号","f_gas_person:通水人","f_gas_date:通水时间"],
581
- sqlName:"recordExport",
582
- templateName:"档案导出"
583
- }
584
- }
585
- let httpExport = new HttpResetClass()
586
- let res = await httpExport.load('POST', 'rs/logic/exportfile', {data: exportdata}, {
587
- resolveMsg: null,
588
- rejectMsg: "材料导出失败"
589
- }, {silent: true})
590
- //res :[{"filename":"/D:/服务文件/apache-5002/webapps/manage/excel/流程监控全部导出.xlsx"}]
591
- let downloadPath = res.data[0].filename
592
- let downloadURL = "http://" + location.host + "/excel" + downloadPath.split('excel')[1]
593
- // js 下载
594
- let aTag = document.createElement('a')
595
- aTag.download = "档案导出.xlsx"
596
- aTag.href = downloadURL
597
- aTag.click()
598
- URL.revokeObjectURL(aTag.href)
599
- // $("<a href=" + downloadURL + " />")[0].click()
600
- },
601
- getitem() {
602
- console.log('开始获取品牌')
603
- let condition = ` 1=1 `
604
- this.$resetpost('rs/logic/getRecordItem', {condition}, {resolveMsg: null, rejectMsg: null}).then((res) => {
605
- console.log('获取的选项', res)
606
- let house2 = []
607
- for (let row of res.data.meterbrand) {
608
- house2.push({label: row.f_meter_brand, value: row.f_meter_brand})
609
- }
610
- this.meterbrand = house2
611
- })
612
- },
613
- addDetailed() {
614
- this.importtype = '2'
615
- this.showFile = true
616
- },
617
- addclose() {
618
- this.addshow = false
619
- this.selectItem = {}
620
- },
621
-
622
- updateclose() {
623
- this.updateshow = false
624
- this.selectItem = {}
625
- },
626
- showdetail(val) {
627
- console.log(val)
628
- this.selectdata.f_process_id = val.f_process_id
629
- this.userinfo_id = val.f_userinfo_id
630
- this.isShowdetail = true
631
- this.loadfiles()
632
- },
633
- async loadfiles() {
634
- if (!this.selectdata)
635
- return
636
- let data = {
637
- tablename: 't_userfiles',
638
- condition: 'a.f_userinfo_id=' + '\'' + this.userinfo_id + '\''
639
- }
640
-
641
- let self = this
642
- let http = new HttpResetClass()
643
- let res = await http.load('POST', 'rs/sql/getUserfiles2', {data: data}, {
644
- resolveMsg: null,
645
- rejectMsg: '获取表档案信息失败'
646
- })
647
- self.batchmodel.rows = []
648
-
649
- self.batchmodel.rows = res.data
650
- },
651
- selected(val) {
652
- this.selectItem = {"q": "q"}
653
- },
654
- //选择需要转银收的户档案
655
- chooseOne(e, row, rows) {
656
- console.log('row', row)
657
- console.log('e', e)
658
- this.ischecked = e.target.checked
659
- console.log("state", e.target.checked)
660
- //判断当前行是否被选中
661
- if (this.ischecked) {
662
- this.checked.push(row)
663
- }
664
- },
665
- //修改选中的数据状态
666
- changeState() {
667
- if (this.checked.length > 0) {
668
- let http = new HttpResetClass()
669
- http.load('POST', 'rs/logic/updateUserState', {data: {rows: this.checked}}).then((res) => {
670
- this.show = false
671
- this.ischecked = false
672
- // 如果没有id,需要在数组中添加
673
- this.load()
674
- this.checked = []
675
- })
676
- }
677
- },
678
- // 父组件更新子组件属性
679
- updateData(val) {
680
- this.headers.blodid = val.f_process_id
681
- this.selectdata = val
682
- },
683
- async searchFilter(searchModel){
684
- this.isShowdetail = false
685
- let condition = ` (ui.f_process_id is not null or ui.f_process_id !='' ) `
686
- if(searchModel.f_user_name){
687
- condition+=` and ui.f_user_name like '%${searchModel.f_user_name}%' `
688
- }
689
- if(searchModel.f_address){
690
- condition+=` and ui.f_address like '%${searchModel.f_address}%' `
691
- }
692
-
693
- let self = this
694
- let http = new HttpResetClass()
695
- let res = await http.load('POST', 'rs/sql/applyRcordExport', {data:{condition: condition}}, {
696
- resolveMsg: null,
697
- rejectMsg: '获取户档案信息失败'
698
- })
699
- self.model.rows = []
700
- self.model.rows = res.data
701
- self.params = res.data
702
- },
703
- async load() {
704
- this.isShowdetail = false
705
- let self = this
706
- let http = new HttpResetClass()
707
- let res = await http.load('POST', 'rs/sql/applyRcordExport', {data:{condition: ` (ui.f_process_id is not null or ui.f_process_id !='') `}}, {
708
- resolveMsg: null,
709
- rejectMsg: '获取户档案信息失败'
710
- })
711
- self.model.rows = []
712
- self.model.rows = res.data
713
- self.params = res.data
714
- },
715
- impexcel() {
716
- this.importtype = '1'
717
- this.showFile = true
718
- },
719
- closeFile() {
720
- this.showFile = false
721
- // 将选的文件清空
722
- this.$refs.file.$el.querySelector('input').value = ''
723
- },
724
- delete(row) {
725
- console.log('开始删除')
726
- let http = new HttpResetClass()
727
- http.load('POST', 'rs/logic/deleteUserinfo', {data: {f_userinfo_id: row.f_userinfo_id}}, {
728
- resolveMsg: null,
729
- rejectMsg: null
730
- }).then((res) => {
731
- console.log('返回的数据:', res)
732
- if (res.data != null && res.data != "") {
733
- this.$showMessage(res.data)
734
- } else {
735
- this.$showMessage("删除成功!")
736
- this.load()
737
- }
738
- })
739
- },
740
-
741
- deleteItem(row) {
742
-
743
-
744
- /* this.$showMessage('删除后不可恢复,确认删除吗?', ['confirm', 'cancel']).then((res) => {
745
- if (res === 'confirm') {
746
- let http = new HttpResetClass()
747
- http.load('DELETE', `rs/entity/t_userinfo/${row.f_userinfo_id}`).then((res) => {
748
- this.load()
749
- })
750
- }
751
- })*/
752
-
753
- this.$showMessage('删除后不可恢复,确认删除吗?', ['confirm', 'cancel']).then((res) => {
754
- if (res === 'confirm') {
755
- let http = new HttpResetClass()
756
- http.load('DELETE', `rs/entity/t_userfiles/${row.f_user_id}`).then((res) => {
757
- this.loadfiles()
758
- })
759
- }
760
- })
761
-
762
- },
763
- //户档案查询
764
- filterParams(param) {
765
- this.isShowdetail = false
766
- if (param && param !== "") {
767
- let temp = []
768
- for (var i = 0; i < this.model.rows.length; i++) {
769
- if (this.model.rows[i].f_user_name.includes(param)) {
770
- temp.push(this.model.rows[i])
771
- }
772
- }
773
- this.model.rows = temp
774
- } else {
775
- this.model.rows = this.params
776
- }
777
- },
778
- //表档案查询
779
- filterParam(param) {
780
- if (param && param !== "") {
781
- let temp = []
782
- for (var i = 0; i < this.model.rows.length; i++) {
783
- if (this.model.rows[i].f_meter_brand.includes(param)) {
784
- temp.push(this.model.rows[i])
785
- }
786
- }
787
- this.model.rows = temp
788
- } else {
789
- this.model.rows = this.params
790
- }
791
- },
792
- //设备列表查询
793
- findEq(param) {
794
- if (param && param !== "") {
795
- let temp = []
796
- for (var i = 0; i < this.model.rows.length; i++) {
797
- if (this.model.rows[i].f_meter_brand.includes(param)) {
798
- temp.push(this.model.rows[i])
799
- }
800
- }
801
- this.model.rows = temp
802
- } else {
803
- this.model.rows = this.params
804
- }
805
- },
806
- add() {
807
- this.show = true
808
- console.log("点击了添加")
809
- },
810
- // 修改按钮
811
- modifyParam(row) {
812
- this.$set('selectItem.f_userinfo_id', row.f_userinfo_id)
813
- this.$set('selectItem.f_user_name', row.f_user_name)
814
- this.$set('selectItem.f_user_phone', row.f_user_phone)
815
- this.$set('selectItem.f_area', row.f_area)
816
- this.$set('selectItem.f_slice_area', row.f_slice_area)
817
- this.$set('selectItem.f_street', row.f_street)
818
- this.$set('selectItem.f_residential_area', row.f_residential_area)
819
- this.$set('selectItem.f_building', row.f_building)
820
- this.$set('selectItem.f_unit', row.f_unit)
821
- this.$set('selectItem.f_floor', row.f_floor)
822
- this.$set('selectItem.f_room', row.f_room)
823
- this.selectItem.f_cost_type = [row.f_cost_type]
824
- this.selectItem.f_cost_state = [row.f_cost_state]
825
- this.$set('selectItem.f_people_num', row.f_people_num)
826
- this.selectItem.f_checker = [row.f_checker]
827
- this.selectItem.f_user_state = [row.f_user_state]
828
- this.$set('selectItem.version', row.version)
829
- this.show = true
830
- },
831
-
832
- //获取当前用户表档案信息
833
- getUserFiles(row) {
834
- this.isShowFiles = true
835
- console.log('获取户档案信息')
836
-
837
- data = {
838
- tablename: 't_userfiles',
839
- condition: `f_userinfo_id=${row.f_userinfo_id}`
840
- }
841
- http = new HttpResetClass()
842
- let resGasbrand = http.load('POST', 'rs/sql/singleTable', {data: data}, {
843
- resolveMsg: null,
844
- rejectMsg: '获取档案信息失败'
845
- })
846
- self.model.rows = []
847
- self.model.rows = res.data
848
- },
849
- //表档案修改
850
- filesModify(row) {
851
- console.log('表档案数据', row)
852
- this.$set('selectItem.f_userinfo_id', row.f_userinfo_id)
853
- this.$set('selectItem.f_user_id', row.f_user_id)
854
- this.$set('selectItem.f_meternumber', row.f_meternumber)
855
- this.selectItem.version = row.version
856
- this.selectItem.f_user_type = [row.f_user_type]
857
- this.selectItem.f_gasproperties = [row.f_gasproperties]
858
- this.$set('selectItem.f_meter_base', row.f_meter_base)
859
- this.selectItem.f_meter_brand = [row.f_meter_brand]
860
- this.selectItem.f_meter_style = [row.f_meter_style]
861
- this.selectItem.f_aroundmeter = [row.f_aroundmeter]
862
- this.selectItem.f_price_type = [row.f_price_type]
863
- this.selectItem.f_price_name = [row.f_price_name]
864
- this.$set('selectItem.f_heater_gas', row.f_heater_gas)
865
- this.selectItem.f_table_state = [row.f_table_state]
866
- this.selectItem.f_meter_classify = [row.f_meter_classify]
867
- this.selectItem.f_whether_hairpin = [row.f_whether_hairpin]
868
- this.selectItem.f_position = [row.f_position]
869
- this.selectItem.f_inputtor = [row.f_inputtor]
870
- this.$set('selectItem.f_lossrate', row.f_lossrate)
871
- this.addshow = true
872
- this.getpricetype()
873
-
874
- },
875
- getpricetype() {
876
- console.log('开始获取水价类别')
877
- let condition = `f_user_type = '${this.selectItem.f_user_type}' and f_filiale = '${this.$login.f.f_fengongsi}'
878
- and f_gasproperties = '${this.selectItem.f_gasproperties}'`
879
- this.$resetpost('rs/logic/getRecordItem', {condition}, {resolveMsg: null, rejectMsg: null}).then((res) => {
880
- console.log('获取的选项', res)
881
- let house2 = []
882
- for (let row of res.data.pricetype) {
883
- house2.push({label: row.f_price_type, value: row.f_price_type})
884
- }
885
- this.pricetype = house2
886
- let house = []
887
- for (let row of res.data.meterbrand) {
888
- house.push({label: row.f_meter_brand, value: row.f_meter_brand})
889
- }
890
- this.meterbrand = house
891
- let house3 = []
892
- for (let row of res.data.pricename) {
893
- house3.push({label: row.f_price_name, value: row.f_price_name})
894
- }
895
- this.pricename = house3
896
- })
897
- },
898
- //新增修改或删除提交
899
- async confirm() {
900
- let http = new HttpResetClass()
901
- await http.load('POST', 'rs/logic/recordSave', this.selectItem).then((res) => {
902
- this.show = false
903
- // 如果没有id,需要在数组中添加
904
- this.load()
905
- this.selectItem = {}
906
- })
907
-
908
- },
909
-
910
- async addconfirm() {
911
- if (!this.selectItem.f_price_type[0]) {
912
- this.$showAlert("水价类型不能为空", "warning", 1500)
913
- return
914
- }
915
- if (!this.selectItem.f_price_name[0]) {
916
- this.$showAlert("水价名称不能为空", "warning", 1500)
917
- return
918
- }
919
- if (this.selectItem.f_gas_meternumber != this.selectItem.f_meternumber) {
920
- let res = await this.$showMessage(`通水表号和安装表号不一致请确认是否修改安装表号`, ['confirm', 'cancel'])
921
- if (res === 'confirm') {
922
- this.$set('selectItem.f_gas_meternumber_back', this.selectItem.f_meternumber)
923
- this.selectItem.f_meternumber = this.selectItem.f_gas_meternumber
924
- } else {
925
- return
926
- }
927
- }
928
- this.showqueren = false
929
- let http = new HttpResetClass()
930
- this.$set('selectItem.f_userinfo_id', this.userinfo_id)
931
- this.selectItem.f_filiale = this.$login.f.f_fengongsi
932
- await http.load('POST', 'rs/logic/addmeterrecord', this.selectItem).then((res) => {
933
- this.addshow = false
934
- // 如果没有id,需要在数组中添加
935
- this.loadfiles()
936
- this.selectItem = {}
937
- if (res.data.msg != null && res.data.msg != "") {
938
- this.$showMessage(res.data.msg)
939
- } else {
940
- this.$showMessage("修改成功!")
941
- }
942
- })
943
- this.showqueren = true
944
- },
945
- async updateconfirm() {
946
- let http = new HttpResetClass()
947
-
948
- await http.load('POST', 'rs/logic/updatemetrecord', this.selectItem, {
949
- resolveMsg: null,
950
- rejectMsg: '修改失败'
951
- }).then((res) => {
952
- this.updateshow = false
953
- // 如果没有id,需要在数组中添加
954
- this.loadfiles()
955
- this.selectItem = {}
956
-
957
- })
958
- },
959
-
960
-
961
- // 关闭模态框
962
- close() {
963
- this.show = false
964
- this.selectItem = {}
965
- },
966
- },
967
- events: {
968
- async onFileUpload(file, res) {
969
- if (this.importtype === '2') {
970
- //户档案导入
971
- let data = {
972
- tablename: 't_userinfo',
973
- filepath: res.f_downloadpath,
974
- f_area: this.selectdata.f_area,
975
- f_slice_area: this.selectdata.f_slice_area,
976
- f_street: this.selectdata.f_street,
977
- f_residential_area: this.selectdata.f_residential_area,
978
- f_process_id: this.selectdata.f_process_id,
979
- f_key: this.$login.f.f_orgids,
980
- f_operator: this.$login.f.name,
981
- f_filiale: this.$login.f.f_fengongsi,
982
- f_user_type: this.selectdata.f_user_type,
983
- f_outlets: this.$login.f.f_parentname,
984
- f_orgstr: this.$login.f.orgpathstr,
985
- f_filialeids: this.$login.f.f_orgids,
986
- f_filialeid: this.$login.f.f_orgids.split('.')[this.$login.f.f_orgids.split('.').length - 2] + '.'
987
- }
988
- let http2 = new HttpResetClass()
989
- console.log('即将转发的数据', data)
990
- await http2.load('POST', 'rs/logic/tcImport', data, {
991
- resolveMsg: "",
992
- rejectMsg: "导入失败!",
993
- }).then((res) => {
994
- console.log('返回信息', res)
995
- this.load()
996
- this.closeFile()
997
- if (res.data.msg != null && res.data.msg != "") {
998
- this.$showMessage(res.data.msg)
999
- } else if (res.data.userIds.length > 0) {
1000
- this.$showMessage("以下编号的户档案不存在,请先添加户档案再添加表档案:" + res.data.userIds.toString())
1001
- } else if (res.data.reuserIds.length > 0) {
1002
- this.$showMessage("以下户档案编号的表档案已存在,请删除后重新导入:" + res.data.reuserIds.toString())
1003
- } else {
1004
- this.$showMessage("导入成功!")
1005
- }
1006
- })
1007
- }
1008
-
1009
-
1010
- }
1011
- }
1012
- }
1013
- </script>
1014
- <style>
1015
- .recordTable table tr th {
1016
- font-weight: bold;
1017
- }
1018
-
1019
- .recordTable table tr:hover {
1020
- background-color: rgb(230, 230, 230);
1021
- }
1022
- </style>