apply-clients 3.5.5-9 → 3.5.5-90

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 (81) hide show
  1. package/build/dev-server.js +7 -6
  2. package/package.json +6 -4
  3. package/src/App.vue +25 -25
  4. package/src/components/QXClient.js +333 -0
  5. package/src/components/SignTools.js +65 -0
  6. package/src/components/android/AppCheckTakePic.vue +168 -168
  7. package/src/components/android/Process/AppChargeList.vue +8 -0
  8. package/src/components/android/Process/AppExplorationUser.vue +1 -2
  9. package/src/components/android/Process/AppServiceControl.vue +1755 -1755
  10. package/src/components/product/Function/Service/FunctionServiceControl.vue +4 -4
  11. package/src/components/product/Install/ContractCharge.vue +210 -210
  12. package/src/components/product/PcZhihuanManagement.vue +160 -160
  13. package/src/components/product/Print/BuildOrder/buildOrderList.vue +339 -339
  14. package/src/components/product/Process/Processes/contractModel.vue +49 -37
  15. package/src/components/product/Process/Processes/selectApply.vue +251 -251
  16. package/src/components/product/Process/Processes/selectBcakApply.vue +250 -250
  17. package/src/filiale/baiyin/android/ByAddMaterialScience.vue +2 -0
  18. package/src/filiale/fugou/android/AppAddMaterialScience.vue +444 -444
  19. package/src/filiale/fugou/android/AppAddReplacement.vue +512 -341
  20. package/src/filiale/fugou/android/AppChargeManagement.vue +739 -739
  21. package/src/filiale/fugou/android/AppDevicesManagement.vue +3 -1
  22. package/src/filiale/fugou/android/AppExplorationUser.vue +3 -3
  23. package/src/filiale/fugou/android/AppInstallationDetails.vue +2 -1
  24. package/src/filiale/fugou/android/AppServiceControl.vue +75 -17
  25. package/src/filiale/fugou/android/AppZhihuanManagement.vue +14 -2
  26. package/src/filiale/fugou/pc/AddReplacement.vue +511 -340
  27. package/src/filiale/fugou/pc/ApplyChargeList.vue +487 -480
  28. package/src/filiale/fugou/pc/Applybatchdispatch.vue +754 -0
  29. package/src/filiale/fugou/pc/ExplorationSelect.vue +3 -4
  30. package/src/filiale/fugou/pc/InstallationDetails.vue +1 -1
  31. package/src/filiale/fugou/pc/ServiceControl.vue +47 -20
  32. package/src/filiale/fugou/pc/StopApplyList.vue +291 -0
  33. package/src/filiale/fugou/pc/addMaterialScience.vue +481 -481
  34. package/src/filiale/fugou/pc/addressAndUserinfoManagement.vue +216 -216
  35. package/src/filiale/fugou/pc/chargeReport.vue +215 -143
  36. package/src/filiale/fugou/pc/devicesManagement.vue +1 -0
  37. package/src/filiale/fugou/pc.js +3 -1
  38. package/src/filiale/gongyi/pc/addressAndUserinfoManagement.vue +187 -0
  39. package/src/filiale/gongyi/pc.js +25 -24
  40. package/src/filiale/hongda/pc/addMaterialScience.vue +723 -723
  41. package/src/filiale/jinhuang/android/AppAddMaterialScience.vue +635 -0
  42. package/src/filiale/jinhuang/android.js +6 -0
  43. package/src/filiale/jinhuang/pc/ContractList.vue +220 -0
  44. package/src/filiale/jinhuang/pc/ExplorationSelect.vue +523 -0
  45. package/src/filiale/jinhuang/pc/ServiceControl.vue +7 -0
  46. package/src/filiale/jinhuang/pc/addMaterialScience.vue +638 -0
  47. package/src/filiale/jinhuang/pc/addressAndUserinfoManagement.vue +41 -1
  48. package/src/filiale/jinhuang/pc.js +3 -0
  49. package/src/filiale/qianneng/android/AppServiceView.vue +13 -13
  50. package/src/filiale/qianneng/pc/ApplyMaterialDetailed.vue +1 -1
  51. package/src/filiale/qianneng/pc/Applybatchdispatch.vue +786 -769
  52. package/src/filiale/qianneng/pc/Applydetail.vue +1 -1
  53. package/src/filiale/qianneng/pc/FunctionServiceControl.vue +10 -3
  54. package/src/filiale/qianneng/pc/ServiceControl.vue +1387 -1382
  55. package/src/filiale/ruihua/pc/ServiceControl.vue +2 -1
  56. package/src/filiale/yangchunboneng/android/AppChargeManagement.vue +527 -520
  57. package/src/filiale/yangchunboneng/android/AppContractCharge.vue +210 -210
  58. package/src/filiale/yangchunboneng/android/AppExplorationUser.vue +72 -5
  59. package/src/filiale/yangchunboneng/android/AppInstallationMaterial.vue +1116 -1087
  60. package/src/filiale/yangchunboneng/android/AppProcessSupervisory.vue +331 -0
  61. package/src/filiale/yangchunboneng/android/AppServiceControl.vue +219 -43
  62. package/src/filiale/yangchunboneng/android/MaterIialOne.vue +21 -1
  63. package/src/filiale/yangchunboneng/android.js +21 -20
  64. package/src/filiale/yangchunboneng/pc/ApplyChargeList.vue +32 -4
  65. package/src/filiale/yangchunboneng/pc/ApplyUpload.vue +392 -392
  66. package/src/filiale/yangchunboneng/pc/ExplorationSelect.vue +612 -547
  67. package/src/filiale/yangchunboneng/pc/ServiceControl.vue +4 -2
  68. package/src/filiale/yangchunboneng/pc/StopApplyList.vue +294 -0
  69. package/src/filiale/yangchunboneng/pc/SupervisoryControl.vue +141 -0
  70. package/src/filiale/yangchunboneng/pc/SupervisoryList.vue +54 -42
  71. package/src/filiale/yangchunboneng/pc/SupervisoryListNew.vue +5 -1
  72. package/src/filiale/yangchunboneng/pc/SupervisoryServiceView.vue +1 -1
  73. package/src/filiale/yangchunboneng/pc/buildOrderList.vue +411 -0
  74. package/src/filiale/yangchunboneng/pc/chargeManagement.vue +5 -1
  75. package/src/filiale/yangchunboneng/pc/constructionInfo.vue +84 -0
  76. package/src/filiale/yangchunboneng/pc/printBuildOrder.vue +175 -0
  77. package/src/filiale/yangchunboneng/pc.js +29 -24
  78. package/src/main.js +4 -3
  79. package/src/test/SessionTestServlet.java +0 -69
  80. package/webapp/WEB-INF/web.xml +0 -52
  81. package/webapp/session-test.jsp +0 -59
@@ -88,8 +88,8 @@
88
88
  class="form-control input_view"
89
89
  style="width: 100%"
90
90
  placeholder="0.00"
91
- @keyup="handleInput"
92
- v-model="userRecord.f_cost" />
91
+ @blur="handleInput"
92
+ v-model="userRecord.f_cos_amount" />
93
93
  </div>
94
94
  </div>
95
95
  <div class="form-group col-sm-12">
@@ -98,22 +98,20 @@
98
98
  <input type="text"
99
99
  class="form-control input_view"
100
100
  style="width: 100%"
101
- :value="smalltoBIG(0)"
102
- readonly
103
- v-model.sync="userRecord.f_amount_capital" />
101
+ :value.sync="userRecord.f_amount_capital"
102
+ :readonly="true"
103
+ :disabled="true"
104
+ v-model="userRecord.f_amount_capital" />
104
105
  </div>
105
106
  </div>
106
107
  <div class="form-group col-sm-12" >
107
108
  <label class="col-sm-2 control-label">付款方式:</label>
108
109
  <div class="col-sm-10">
109
- <input-select
110
- placeholder='请选择' width="100%"
111
- v-model="userRecord.f_payment_method"
112
- :value.sync="userRecord.f_payment_method"
113
- :options='paymentMethod'
114
- class="select select_list"
115
- :value-single="true"
116
- close-on-select ></input-select>
110
+ <input type="text"
111
+ class="form-control input_view"
112
+ style="width: 100%"
113
+ :value="userRecord.f_payment_method"
114
+ v-model.sync="userRecord.f_payment_method" />
117
115
  </div>
118
116
  </div>
119
117
  <div class="form-group col-sm-12">
@@ -194,7 +192,8 @@ export default {
194
192
  f_state: "",
195
193
  f_contract_url: null,
196
194
  f_template_url: "",
197
- f_signature_url: null
195
+ f_signature_url: null,
196
+ f_contract_code: "",
198
197
  },
199
198
  userRecord: {
200
199
  f_userinfo_id: this.selectdata.f_userinfo_id?this.selectdata.f_userinfo_id:this.selectdata.f_process_id,
@@ -212,7 +211,7 @@ export default {
212
211
  //户数
213
212
  f_households: "",
214
213
  //费用
215
- f_cost: "",
214
+ f_cos_amount: "",
216
215
  //金额大写
217
216
  f_amount_capital: "",
218
217
  //付款方式
@@ -238,19 +237,31 @@ export default {
238
237
  select(row){
239
238
  this.$showMessage(`是否选择当前合同`, ['confirm']).then((res) => {
240
239
  if (res === 'confirm') {
241
- this.contractInfo.f_contract_id=row.f_contract_id
242
- this.contractInfo.f_contract_signature_id=row.f_contract_signature_id
243
- this.contractInfo.f_contract_name=row.f_contract_name
244
- this.contractInfo.f_contract_date=row.f_contract_date
245
- this.contractInfo.f_contract_type=row.f_contract_type
246
- this.contractInfo.f_file_id=row.f_file_id
247
- this.contractInfo.f_contract_arguments=row.f_contract_arguments
248
- this.contractInfo.f_signature_location=row.f_signature_location
249
- this.contractInfo.f_state=row.f_state
250
- this.contractInfo.f_contract_url=row.f_contract_url
251
- this.contractInfo.f_template_url=row.f_template_url
252
- this.contractInfo. f_signature_url=row.f_signature_url
253
- this.selectList=false
240
+ //查询合同路径
241
+ let data = {
242
+ tablename: 't_files',
243
+ condition: `id='${row.f_file_id}'`
244
+ }
245
+ let http = new HttpResetClass()
246
+ http.load('POST', 'rs/sql/apply_singleTable', {data: data}, {resolveMsg: null, rejectMsg: '合同信息查询失败!!!'}).then(res2 => {
247
+ if (res2.data.length> 0) {
248
+ this.contractInfo.f_contract_id=row.f_contract_id
249
+ this.contractInfo.f_contract_signature_id=row.f_contract_signature_id
250
+ this.contractInfo.f_contract_name=row.f_contract_name
251
+ this.contractInfo.f_contract_date=row.f_contract_date
252
+ this.contractInfo.f_contract_type=row.f_contract_type
253
+ this.contractInfo.f_file_id=row.f_file_id
254
+ this.contractInfo.f_contract_arguments=row.f_contract_arguments
255
+ this.contractInfo.f_signature_location=row.f_signature_location
256
+ this.contractInfo.f_state=row.f_state
257
+ this.contractInfo.f_contract_url=row.f_contract_url
258
+ this.contractInfo.f_template_url=res2.data[0].f_realpath
259
+ this.contractInfo.f_signature_url=row.f_signature_url
260
+ this.contractInfo.f_contract_code=row.f_contract_code
261
+ this.selectList=false
262
+ }
263
+ })
264
+
254
265
  }
255
266
  })
256
267
  },
@@ -269,7 +280,7 @@ export default {
269
280
  handleInput(e) {
270
281
  // 通过正则过滤小数点后两位
271
282
  e.target.value = (e.target.value.match(/^\d*(\.?\d{0,2})/g)[0]) || null
272
- this.contractInfo.f_amount_capital = this.smalltoBIG(e.target.value)
283
+ this.userRecord.f_amount_capital = this.smalltoBIG(e.target.value)
273
284
  },
274
285
  // 金额转大写
275
286
  smalltoBIG(n) {
@@ -309,21 +320,22 @@ export default {
309
320
  }
310
321
  await http.load('POST', 'api/af-revenue/logic/generateContract', {data: data}, {
311
322
  resolveMsg: null,
312
- rejectMsg: '合同信息查询失败!!!'
323
+ rejectMsg: '合同生成失败!!!'
313
324
  }).then(async res => {
314
325
  //保存合同信息
315
326
  if (res.data.code == 200) {
316
327
  //保存到t_files表
328
+ debugger
317
329
  let param={
318
330
  f_blobid:this.selectdata.f_process_id,
319
- fusetype:"报装合同",
320
- f_filename:res.data.f_contract_name,
321
- f_uploaddate:res.data.f_create_date,
322
- f_downloadpath:res.data.f_signature_url,
323
- f_realpath:res.data.f_signature_path
331
+ fusetype:res.data.data.f_contract_signature_id,
332
+ f_filename:res.data.data.f_contract_name,
333
+ f_uploaddate:res.data.data.f_create_date,
334
+ f_downloadpath:res.data.data.f_signature_url,
335
+ f_realpath:res.data.data.f_signature_path
324
336
  }
325
337
  await this.$resetpost('rs/entity/t_files', param).then(res => {
326
- this.$showMessage(`合同生成成功!!!`),
338
+ this.$showMessage(`合同文件保存成功!!!`),
327
339
  this.selectList=false
328
340
  this.showselect = false
329
341
  })
@@ -361,7 +373,7 @@ export default {
361
373
  //户数
362
374
  f_households: "",
363
375
  //费用
364
- f_cost: "",
376
+ f_cos_amount: "",
365
377
  //金额大写
366
378
  f_amount_capital: "",
367
379
  //付款方式