apply-clients 3.5.5-4 → 3.5.5-40

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 (57) hide show
  1. package/build/dev-server.js +2 -6
  2. package/package.json +6 -4
  3. package/src/components/QXClient.js +333 -0
  4. package/src/components/SignTools.js +65 -0
  5. package/src/components/android/AppTakePic.vue +182 -182
  6. package/src/components/product/Material/MaterialDetailed.vue +268 -268
  7. package/src/components/product/Process/Processes/contractModel.vue +97 -118
  8. package/src/components/product/ServiceView.vue +1028 -1028
  9. package/src/filiale/fugou/android/AppAddMaterialScience.vue +444 -440
  10. package/src/filiale/fugou/android/AppDevicesManagement.vue +3 -1
  11. package/src/filiale/fugou/android/AppInstallationDetails.vue +542 -541
  12. package/src/filiale/fugou/android/AppServiceControl.vue +1836 -1836
  13. package/src/filiale/fugou/android/AppZhihuanManagement.vue +3 -1
  14. package/src/filiale/fugou/android/printCharge.vue +162 -162
  15. package/src/filiale/fugou/android.js +16 -16
  16. package/src/filiale/fugou/pc/ApplyChargeList.vue +484 -480
  17. package/src/filiale/fugou/pc/ExplorationSelect.vue +525 -525
  18. package/src/filiale/fugou/pc/ServiceControl.vue +1705 -1705
  19. package/src/filiale/fugou/pc/ServiceView.vue +941 -941
  20. package/src/filiale/fugou/pc/StopApplyList.vue +291 -0
  21. package/src/filiale/fugou/pc/SupervisoryServiceControl.vue +881 -0
  22. package/src/filiale/fugou/pc/addressAndUserinfoManagement.vue +1 -1
  23. package/src/filiale/fugou/pc/chargeReport.vue +87 -15
  24. package/src/filiale/fugou/pc/devicesManagement.vue +1 -0
  25. package/src/filiale/fugou/pc/printChargepc.vue +148 -148
  26. package/src/filiale/fugou/pc.js +3 -1
  27. package/src/filiale/gongyi/android/AppAddMaterialScience.vue +493 -493
  28. package/src/filiale/jinhuang/android/AppAddMaterialScience.vue +635 -0
  29. package/src/filiale/jinhuang/android.js +6 -0
  30. package/src/filiale/jinhuang/pc/ContractList.vue +220 -0
  31. package/src/filiale/jinhuang/pc/addMaterialScience.vue +638 -0
  32. package/src/filiale/jinhuang/pc/addressAndUserinfoManagement.vue +41 -1
  33. package/src/filiale/jinhuang/pc.js +2 -0
  34. package/src/filiale/qianneng/android/AppChargeManagement.vue +686 -686
  35. package/src/filiale/qianneng/android/AppServiceView.vue +795 -795
  36. package/src/filiale/qianneng/android.js +15 -15
  37. package/src/filiale/qianneng/pc/ApplyMaterialDetailed.vue +1 -1
  38. package/src/filiale/qianneng/pc/Applydetail.vue +1 -1
  39. package/src/filiale/qianneng/pc/InstallFunction.vue +188 -188
  40. package/src/filiale/qianneng/pc.js +29 -29
  41. package/src/filiale/ruihua/pc/ServiceControl.vue +1967 -1966
  42. package/src/filiale/yangchunboneng/android/AppChargeManagement.vue +520 -520
  43. package/src/filiale/yangchunboneng/android/AppDevicesManagement.vue +645 -645
  44. package/src/filiale/yangchunboneng/android/AppExplorationUser.vue +52 -0
  45. package/src/filiale/yangchunboneng/android/AppInstallationMaterial.vue +30 -1
  46. package/src/filiale/yangchunboneng/android/AppServiceControl.vue +1703 -1703
  47. package/src/filiale/yangchunboneng/android/MaterIialOne.vue +21 -1
  48. package/src/filiale/yangchunboneng/pc/ApplyChargeList.vue +647 -617
  49. package/src/filiale/yangchunboneng/pc/ExplorationSelect.vue +99 -48
  50. package/src/filiale/yangchunboneng/pc/ServiceControl.vue +2112 -2112
  51. package/src/filiale/yangchunboneng/pc/ServiceView.vue +1007 -1007
  52. package/src/filiale/yangchunboneng/pc/SupervisoryList.vue +4 -1
  53. package/src/filiale/yangchunboneng/pc/SupervisoryListNew.vue +5 -1
  54. package/src/filiale/yangchunboneng/pc/SupervisoryServiceView.vue +1 -1
  55. package/src/filiale/yangchunboneng/pc/chargeManagement.vue +1053 -1052
  56. package/src/filiale/yangchunboneng/pc/devicesManagement.vue +574 -574
  57. package/src/main.js +1 -1
@@ -54,8 +54,8 @@
54
54
  <input type="text"
55
55
  class="form-control input_view"
56
56
  style="width: 100%"
57
- v-model="contractInfo.f_lessor"
58
- :value.sync="contractInfo.f_lessor"
57
+ v-model="userRecord.f_lessor"
58
+ :value.sync="userRecord.f_lessor"
59
59
  />
60
60
  </div>
61
61
  </div>
@@ -65,8 +65,8 @@
65
65
  <input type="text"
66
66
  class="form-control input_view"
67
67
  style="width: 100%"
68
- v-model="contractInfo.f_project_address"
69
- :value.sync="contractInfo.f_project_address"
68
+ v-model="userRecord.f_project_address"
69
+ :value.sync="userRecord.f_project_address"
70
70
  />
71
71
  </div>
72
72
  </div>
@@ -76,8 +76,8 @@
76
76
  <input type="text"
77
77
  class="form-control input_view"
78
78
  style="width: 100%"
79
- v-model="contractInfo.f_households"
80
- :value.sync="contractInfo.f_households"
79
+ v-model="userRecord.f_households"
80
+ :value.sync="userRecord.f_households"
81
81
  />
82
82
  </div>
83
83
  </div>
@@ -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="contractInfo.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,77 +98,53 @@
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="contractInfo.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
- <div class="col-sm-10">
109
- <input-select
110
- placeholder='请选择' width="100%"
111
- v-model="contractInfo.f_payment_method"
112
- :value.sync="contractInfo.f_payment_method"
113
- :options='paymentMethod'
114
- class="select select_list"
115
- :value-single="true"
116
- close-on-select ></input-select>
117
- </div>
118
- </div>
119
- <div class="form-group col-sm-12">
120
- <label class="col-sm-2 control-label">工期:</label>
121
109
  <div class="col-sm-10">
122
110
  <input type="text"
123
111
  class="form-control input_view"
124
112
  style="width: 100%"
125
- placeholder="请输入"
126
- :value.sync="contractInfo.f_duration"
127
- v-model.sync="contractInfo.f_duration" />
113
+ :value="userRecord.f_payment_method"
114
+ v-model.sync="userRecord.f_payment_method" />
128
115
  </div>
129
116
  </div>
130
117
  <div class="form-group col-sm-12">
131
- <label class="col-sm-2 control-label">指定人员:</label>
132
- <div class="col-sm-10">
133
- <input type="text"
134
- class="form-control input_view"
135
- style="width: 100%"
136
- placeholder="请输入"
137
- :value.sync="contractInfo.f_personnel"
138
- v-model.sync="contractInfo.f_personnel" />
139
- </div>
140
- </div>
141
- <div class="form-group col-sm-12">
142
- <label class="col-sm-2 control-label">联系电话:</label>
118
+ <label class="col-sm-2 control-label">工期:</label>
143
119
  <div class="col-sm-10">
144
120
  <input type="text"
145
121
  class="form-control input_view"
146
122
  style="width: 100%"
147
123
  placeholder="请输入"
148
- :value.sync="contractInfo.f_contact_phone"
149
- v-model.sync="contractInfo.f_contact_phone" />
124
+ :value.sync="userRecord.f_duration"
125
+ v-model.sync="userRecord.f_duration" />
150
126
  </div>
151
127
  </div>
152
128
  <div class="form-group col-sm-12">
153
- <label class="col-sm-2 control-label">甲方单位(盖章):</label>
129
+ <label class="col-sm-2 control-label">指定人员:</label>
154
130
  <div class="col-sm-10">
155
131
  <input type="text"
156
132
  class="form-control input_view"
157
133
  style="width: 100%"
158
134
  placeholder="请输入"
159
- :value.sync="contractInfo.f_unit"
160
- v-model.sync="contractInfo.f_unit" />
135
+ :value.sync="userRecord.f_personnel"
136
+ v-model.sync="userRecord.f_personnel" />
161
137
  </div>
162
138
  </div>
163
139
  <div class="form-group col-sm-12">
164
- <label class="col-sm-2 control-label">甲方法定代表人或授权代表:</label>
140
+ <label class="col-sm-2 control-label">联系电话:</label>
165
141
  <div class="col-sm-10">
166
142
  <input type="text"
167
143
  class="form-control input_view"
168
144
  style="width: 100%"
169
145
  placeholder="请输入"
170
- :value.sync="contractInfo.f_representative"
171
- v-model.sync="contractInfo.f_representative" />
146
+ :value.sync="userRecord.f_contact_phone"
147
+ v-model.sync="userRecord.f_contact_phone" />
172
148
  </div>
173
149
  </div>
174
150
  </div>
@@ -217,6 +193,17 @@ export default {
217
193
  f_contract_url: null,
218
194
  f_template_url: "",
219
195
  f_signature_url: null,
196
+ f_contract_code: "",
197
+ },
198
+ userRecord: {
199
+ f_userinfo_id: this.selectdata.f_userinfo_id?this.selectdata.f_userinfo_id:this.selectdata.f_process_id,
200
+ f_filialeid:this.$login.f.orgid,
201
+ f_userinfo_code: this.selectdata.f_userinfo_code?this.selectdata.f_userinfo_code:this.selectdata.f_process_id,
202
+ f_user_name:this.selectdata.f_user_name?this.selectdata.f_user_name:"",
203
+ f_credentials: this.selectdata.f_credentials?this.selectdata.f_credentials:"",
204
+ f_idnumber: this.selectdata.f_idnumber?this.selectdata.f_idnumber:"",
205
+ f_address: this.selectdata.f_address?this.selectdata.f_address:"",
206
+ f_user_phone:this.selectdata.f_phone?this.selectdata.f_phone:"",
220
207
  //甲方
221
208
  f_lessor:"",
222
209
  //项目地点及名称
@@ -224,7 +211,7 @@ export default {
224
211
  //户数
225
212
  f_households: "",
226
213
  //费用
227
- f_cost: "",
214
+ f_cos_amount: "",
228
215
  //金额大写
229
216
  f_amount_capital: "",
230
217
  //付款方式
@@ -235,20 +222,6 @@ export default {
235
222
  f_personnel: "",
236
223
  //联系电话
237
224
  f_contact_phone: "",
238
- //甲方单位(盖章)
239
- f_unit: "",
240
- //甲方法定代表人或授权代表
241
- f_representative: "",
242
- },
243
- userRecord: {
244
- f_userinfo_id: this.selectdata.f_userinfo_id?this.selectdata.f_userinfo_id:this.selectdata.f_process_id,
245
- f_filialeid:this.$login.f.orgid,
246
- f_userinfo_code: this.selectdata.f_userinfo_code?this.selectdata.f_userinfo_code:this.selectdata.f_process_id,
247
- f_user_name:this.selectdata.f_user_name?this.selectdata.f_user_name:"",
248
- f_credentials: this.selectdata.f_credentials?this.selectdata.f_credentials:"",
249
- f_idnumber: this.selectdata.f_idnumber?this.selectdata.f_idnumber:"",
250
- f_address: this.selectdata.f_address?this.selectdata.f_address:"",
251
- f_user_phone:this.selectdata.f_phone?this.selectdata.f_phone:"",
252
225
  },
253
226
  loginInfo: {
254
227
  f_operatorid: this.$login.f.id,
@@ -264,19 +237,31 @@ export default {
264
237
  select(row){
265
238
  this.$showMessage(`是否选择当前合同`, ['confirm']).then((res) => {
266
239
  if (res === 'confirm') {
267
- this.contractInfo.f_contract_id=row.f_contract_id
268
- this.contractInfo.f_contract_signature_id=row.f_contract_signature_id
269
- this.contractInfo.f_contract_name=row.f_contract_name
270
- this.contractInfo.f_contract_date=row.f_contract_date
271
- this.contractInfo.f_contract_type=row.f_contract_type
272
- this.contractInfo.f_file_id=row.f_file_id
273
- this.contractInfo.f_contract_arguments=row.f_contract_arguments
274
- this.contractInfo.f_signature_location=row.f_signature_location
275
- this.contractInfo.f_state=row.f_state
276
- this.contractInfo.f_contract_url=row.f_contract_url
277
- this.contractInfo.f_template_url=row.f_template_url
278
- this.contractInfo. f_signature_url=row.f_signature_url
279
- 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
+
280
265
  }
281
266
  })
282
267
  },
@@ -295,7 +280,8 @@ export default {
295
280
  handleInput(e) {
296
281
  // 通过正则过滤小数点后两位
297
282
  e.target.value = (e.target.value.match(/^\d*(\.?\d{0,2})/g)[0]) || null
298
- this.contractInfo.f_amount_capital = this.smalltoBIG(e.target.value)
283
+ this.userRecord.f_amount_capital = this.smalltoBIG(e.target.value)
284
+ debugger
299
285
  },
300
286
  // 金额转大写
301
287
  smalltoBIG(n) {
@@ -335,21 +321,22 @@ export default {
335
321
  }
336
322
  await http.load('POST', 'api/af-revenue/logic/generateContract', {data: data}, {
337
323
  resolveMsg: null,
338
- rejectMsg: '合同信息查询失败!!!'
324
+ rejectMsg: '合同生成失败!!!'
339
325
  }).then(async res => {
340
326
  //保存合同信息
341
327
  if (res.data.code == 200) {
342
328
  //保存到t_files表
329
+ debugger
343
330
  let param={
344
331
  f_blobid:this.selectdata.f_process_id,
345
- fusetype:"报装合同",
346
- f_filename:res.data.f_contract_name,
347
- f_uploaddate:res.data.f_create_date,
348
- f_downloadpath:res.data.f_signature_url,
349
- f_realpath:res.data.f_signature_path
332
+ fusetype:res.data.data.f_contract_signature_id,
333
+ f_filename:res.data.data.f_contract_name,
334
+ f_uploaddate:res.data.data.f_create_date,
335
+ f_downloadpath:res.data.data.f_signature_url,
336
+ f_realpath:res.data.data.f_signature_path
350
337
  }
351
338
  await this.$resetpost('rs/entity/t_files', param).then(res => {
352
- this.$showMessage(`合同生成成功!!!`),
339
+ this.$showMessage(`合同文件保存成功!!!`),
353
340
  this.selectList=false
354
341
  this.showselect = false
355
342
  })
@@ -371,41 +358,33 @@ export default {
371
358
  },
372
359
  NoSelect () {
373
360
  //清除数据
374
- this. contractInfo= {
375
- f_contract_id: '',
376
- f_contract_signature_id: null,
377
- f_contract_name: '',
378
- f_contract_date: '',
379
- f_contract_type: "",
380
- f_file_id: "",
381
- f_contract_arguments: [],
382
- f_signature_location: "",
383
- f_state: "",
384
- f_contract_url: null,
385
- f_template_url: "",
386
- f_signature_url: null,
387
- //甲方
388
- f_lessor:"",
389
- //项目地点及名称
390
- f_project_address: "",
391
- //户数
392
- f_households: "",
393
- //费用
394
- f_cost: "",
395
- //金额大写
396
- f_amount_capital: "",
397
- //付款方式
398
- f_payment_method: "",
399
- //工期
400
- f_duration: "",
401
- //指定人员
402
- f_personnel: "",
403
- //联系电话
404
- f_contact_phone: "",
405
- //甲方单位(盖章)
406
- f_unit: "",
407
- //甲方法定代表人或授权代表
408
- f_representative: "",
361
+ this.userRecord={
362
+ f_userinfo_id: this.selectdata.f_userinfo_id?this.selectdata.f_userinfo_id:this.selectdata.f_process_id,
363
+ f_filialeid:this.$login.f.orgid,
364
+ f_userinfo_code: this.selectdata.f_userinfo_code?this.selectdata.f_userinfo_code:this.selectdata.f_process_id,
365
+ f_user_name:this.selectdata.f_user_name?this.selectdata.f_user_name:"",
366
+ f_credentials: this.selectdata.f_credentials?this.selectdata.f_credentials:"",
367
+ f_idnumber: this.selectdata.f_idnumber?this.selectdata.f_idnumber:"",
368
+ f_address: this.selectdata.f_address?this.selectdata.f_address:"",
369
+ f_user_phone:this.selectdata.f_phone?this.selectdata.f_phone:"",
370
+ //甲方
371
+ f_lessor:"",
372
+ //项目地点及名称
373
+ f_project_address: "",
374
+ //户数
375
+ f_households: "",
376
+ //费用
377
+ f_cos_amount: "",
378
+ //金额大写
379
+ f_amount_capital: "",
380
+ //付款方式
381
+ f_payment_method: "",
382
+ //工期
383
+ f_duration: "",
384
+ //指定人员
385
+ f_personnel: "",
386
+ //联系电话
387
+ f_contact_phone: ""
409
388
  },
410
389
  this.selectList=false
411
390
  this.showselect = false