apply-clients 3.5.5-10 → 3.5.5-101

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 (92) hide show
  1. package/build/dev-server.js +5 -9
  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/AppTakePic.vue +182 -182
  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 +1760 -1755
  10. package/src/components/product/Function/Service/FunctionServiceControl.vue +497 -497
  11. package/src/components/product/Install/ContractCharge.vue +3 -3
  12. package/src/components/product/Material/MaterialDetailed.vue +268 -268
  13. package/src/components/product/Process/Processes/contractModel.vue +49 -37
  14. package/src/components/product/ServiceView.vue +1028 -1028
  15. package/src/filiale/baiyin/android/ByAddMaterialScience.vue +2 -0
  16. package/src/filiale/fugou/android/AppAddMaterialScience.vue +444 -444
  17. package/src/filiale/fugou/android/AppAddReplacement.vue +512 -341
  18. package/src/filiale/fugou/android/AppDevicesManagement.vue +521 -519
  19. package/src/filiale/fugou/android/AppExplorationUser.vue +3 -3
  20. package/src/filiale/fugou/android/AppInstallationDetails.vue +542 -541
  21. package/src/filiale/fugou/android/AppServiceControl.vue +1894 -1836
  22. package/src/filiale/fugou/android/AppZhihuanManagement.vue +14 -2
  23. package/src/filiale/fugou/android/printCharge.vue +162 -162
  24. package/src/filiale/fugou/android.js +16 -16
  25. package/src/filiale/fugou/pc/AddReplacement.vue +511 -340
  26. package/src/filiale/fugou/pc/ApplyChargeList.vue +554 -480
  27. package/src/filiale/fugou/pc/Applybatchdispatch.vue +754 -0
  28. package/src/filiale/fugou/pc/ExplorationSelect.vue +524 -525
  29. package/src/filiale/fugou/pc/InstallationDetails.vue +646 -646
  30. package/src/filiale/fugou/pc/ServiceControl.vue +47 -20
  31. package/src/filiale/fugou/pc/ServiceView.vue +941 -941
  32. package/src/filiale/fugou/pc/StopApplyList.vue +291 -0
  33. package/src/filiale/fugou/pc/SupervisoryServiceControl.vue +881 -881
  34. package/src/filiale/fugou/pc/addMaterialScience.vue +481 -481
  35. package/src/filiale/fugou/pc/addressAndUserinfoManagement.vue +1 -1
  36. package/src/filiale/fugou/pc/chargeReport.vue +87 -15
  37. package/src/filiale/fugou/pc/devicesManagement.vue +484 -483
  38. package/src/filiale/fugou/pc/printChargepc.vue +148 -148
  39. package/src/filiale/fugou/pc.js +3 -1
  40. package/src/filiale/gongyi/android/AppAddMaterialScience.vue +493 -493
  41. package/src/filiale/gongyi/pc/addressAndUserinfoManagement.vue +187 -0
  42. package/src/filiale/gongyi/pc.js +2 -1
  43. package/src/filiale/hongda/pc/addMaterialScience.vue +2 -2
  44. package/src/filiale/jinhuang/android/AppAddMaterialScience.vue +635 -0
  45. package/src/filiale/jinhuang/android/AppServiceControl.vue +1842 -0
  46. package/src/filiale/jinhuang/android.js +7 -0
  47. package/src/filiale/jinhuang/pc/ContractList.vue +220 -0
  48. package/src/filiale/jinhuang/pc/ExplorationSelect.vue +511 -0
  49. package/src/filiale/jinhuang/pc/ServiceControl.vue +2016 -1925
  50. package/src/filiale/jinhuang/pc/SupervisoryList.vue +459 -0
  51. package/src/filiale/jinhuang/pc/addMaterialScience.vue +638 -0
  52. package/src/filiale/jinhuang/pc/addressAndUserinfoManagement.vue +41 -1
  53. package/src/filiale/jinhuang/pc.js +12 -8
  54. package/src/filiale/qianneng/android/AppChargeManagement.vue +686 -686
  55. package/src/filiale/qianneng/android/AppServiceView.vue +13 -13
  56. package/src/filiale/qianneng/android.js +15 -15
  57. package/src/filiale/qianneng/pc/ApplyMaterialDetailed.vue +261 -261
  58. package/src/filiale/qianneng/pc/Applybatchdispatch.vue +20 -3
  59. package/src/filiale/qianneng/pc/Applydetail.vue +1 -1
  60. package/src/filiale/qianneng/pc/FunctionServiceControl.vue +10 -3
  61. package/src/filiale/qianneng/pc/InstallFunction.vue +188 -188
  62. package/src/filiale/qianneng/pc/ServiceControl.vue +8 -3
  63. package/src/filiale/qianneng/pc.js +29 -29
  64. package/src/filiale/ruihua/pc/ServiceControl.vue +7 -1
  65. package/src/filiale/shexian/android/AppServiceControl.vue +1763 -1763
  66. package/src/filiale/shexian/android/AppSign.vue +152 -152
  67. package/src/filiale/yangchunboneng/android/AppChargeManagement.vue +527 -520
  68. package/src/filiale/yangchunboneng/android/AppContractCharge.vue +3 -3
  69. package/src/filiale/yangchunboneng/android/AppDevicesManagement.vue +645 -645
  70. package/src/filiale/yangchunboneng/android/AppExplorationUser.vue +72 -5
  71. package/src/filiale/yangchunboneng/android/AppInstallationMaterial.vue +37 -4
  72. package/src/filiale/yangchunboneng/android/AppProcessSupervisory.vue +331 -0
  73. package/src/filiale/yangchunboneng/android/AppServiceControl.vue +1879 -1703
  74. package/src/filiale/yangchunboneng/android/MaterIialOne.vue +21 -1
  75. package/src/filiale/yangchunboneng/android.js +2 -1
  76. package/src/filiale/yangchunboneng/pc/ApplyChargeList.vue +32 -4
  77. package/src/filiale/yangchunboneng/pc/ApplyUpload.vue +3 -3
  78. package/src/filiale/yangchunboneng/pc/ExplorationSelect.vue +612 -547
  79. package/src/filiale/yangchunboneng/pc/ServiceControl.vue +2114 -2112
  80. package/src/filiale/yangchunboneng/pc/ServiceView.vue +1007 -1007
  81. package/src/filiale/yangchunboneng/pc/StopApplyList.vue +294 -0
  82. package/src/filiale/yangchunboneng/pc/SupervisoryControl.vue +141 -0
  83. package/src/filiale/yangchunboneng/pc/SupervisoryList.vue +617 -605
  84. package/src/filiale/yangchunboneng/pc/SupervisoryListNew.vue +687 -683
  85. package/src/filiale/yangchunboneng/pc/SupervisoryServiceView.vue +1 -1
  86. package/src/filiale/yangchunboneng/pc/buildOrderList.vue +421 -0
  87. package/src/filiale/yangchunboneng/pc/chargeManagement.vue +1057 -1053
  88. package/src/filiale/yangchunboneng/pc/constructionInfo.vue +84 -0
  89. package/src/filiale/yangchunboneng/pc/devicesManagement.vue +574 -574
  90. package/src/filiale/yangchunboneng/pc/printBuildOrder.vue +175 -0
  91. package/src/filiale/yangchunboneng/pc.js +6 -1
  92. package/src/main.js +3 -3
@@ -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
  //付款方式