apply-clients 3.5.4-8 → 3.5.4-81

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 (105) hide show
  1. package/app/src/main/java/com/example/phonechatbot/MainActivity.java +50 -0
  2. package/build/dev-server.js +12 -4
  3. package/package.json +2 -2
  4. package/src/App.vue +5 -5
  5. package/src/apply.js +2 -3
  6. package/src/applyAndroid.js +2 -0
  7. package/src/assets//344/270/213/350/275/275.png +0 -0
  8. package/src/components/android/AppCheckTakePic.vue +168 -0
  9. package/src/components/android/Process/AppServiceControl.vue +4 -0
  10. package/src/components/android/Process/Processes/AppChargeManagementNew.vue +637 -0
  11. package/src/components/image/dxf.png +0 -0
  12. package/src/components/product/Function/Service/FunctionServiceControl.vue +497 -497
  13. package/src/components/product/Material/MaterialDetailed.vue +1 -1
  14. package/src/components/product/MaterialsManage/MaterialsBase.vue +181 -177
  15. package/src/components/product/MaterialsManage/MaterialsManage.vue +60 -60
  16. package/src/components/product/PcZhihuanManagement.vue +160 -0
  17. package/src/components/product/Process/ExplorationSelect.vue +4 -1
  18. package/src/components/product/Process/ExplorationUser.vue +1 -0
  19. package/src/components/product/Process/Processes/chargeManagement.vue +656 -656
  20. package/src/components/product/ServiceView.vue +1026 -1005
  21. package/src/components/product/Supervisory/SupervisoryControl.vue +1 -0
  22. package/src/filiale/baiyin/android/AppServiceControl.vue +1762 -0
  23. package/src/filiale/baiyin/android/ByAddMaterialScience.vue +824 -0
  24. package/src/filiale/baiyin/android/ByDeviceManagement.vue +916 -0
  25. package/src/filiale/baiyin/android.js +8 -0
  26. package/src/filiale/fugou/android/AppAddMaterialScience.vue +448 -0
  27. package/src/filiale/fugou/android/AppAddReplacement.vue +341 -0
  28. package/src/filiale/fugou/android/AppChargeManagement.vue +126 -12
  29. package/src/filiale/fugou/android/AppDevicesManagement.vue +519 -0
  30. package/src/filiale/fugou/android/AppInstallationDetails.vue +541 -0
  31. package/src/filiale/fugou/android/AppServiceControl.vue +38 -5
  32. package/src/filiale/fugou/android/AppZhihuanManagement.vue +191 -0
  33. package/src/filiale/fugou/android.js +7 -1
  34. package/src/filiale/fugou/pc/AddReplacement.vue +340 -0
  35. package/src/filiale/fugou/pc/ExplorationSelect.vue +525 -0
  36. package/src/filiale/fugou/pc/InstallationDetails.vue +54 -43
  37. package/src/filiale/fugou/pc/ServiceControl.vue +125 -379
  38. package/src/filiale/fugou/pc/ServiceView.vue +941 -0
  39. package/src/filiale/fugou/pc/addMaterialScience.vue +481 -0
  40. package/src/filiale/fugou/pc/addressAndUserinfoManagement.vue +216 -0
  41. package/src/filiale/fugou/pc/devicesManagement.vue +483 -0
  42. package/src/filiale/fugou/pc.js +7 -1
  43. package/src/filiale/gongyi/android/AppAddMaterialScience.vue +20 -8
  44. package/src/filiale/gongyi/android/AppDisclosurerecord.vue +214 -0
  45. package/src/filiale/gongyi/android/AppInstallationDetails.vue +500 -495
  46. package/src/filiale/gongyi/android/AppLegacyIssues.vue +309 -0
  47. package/src/filiale/gongyi/android/AppSign.vue +170 -157
  48. package/src/filiale/gongyi/android/AppSupplementalAgreement.vue +298 -0
  49. package/src/filiale/gongyi/android.js +18 -15
  50. package/src/filiale/gongyi/pc/ApplyUpload.vue +371 -379
  51. package/src/filiale/gongyi/pc/PcAddLogs.vue +221 -213
  52. package/src/filiale/gongyi/pc/PcDisclosurerecord.vue +218 -0
  53. package/src/filiale/gongyi/pc/PcLegacyIssues.vue +309 -0
  54. package/src/filiale/gongyi/pc/SupervisoryServiceControl.vue +894 -894
  55. package/src/filiale/gongyi/pc/SupervisoryServiceView.vue +1005 -0
  56. package/src/filiale/gongyi/pc/addMaterialScience.vue +575 -539
  57. package/src/filiale/gongyi/pc/chargeManagement.vue +765 -0
  58. package/src/filiale/gongyi/pc/supplementalAgreement.vue +277 -0
  59. package/src/filiale/gongyi/pc.js +24 -19
  60. package/src/filiale/hongda/pc/SupervisoryList.vue +422 -409
  61. package/src/filiale/jinhuang/pc/ServiceControl.vue +1925 -0
  62. package/src/filiale/jinhuang/pc/chargeManagementNew.vue +589 -0
  63. package/src/filiale/jinhuang/pc.js +7 -0
  64. package/src/filiale/qianneng/android/AppChargeManagement.vue +686 -0
  65. package/src/filiale/qianneng/android/AppExplorationUser.vue +490 -490
  66. package/src/filiale/qianneng/android/AppInstallationDetails.vue +541 -541
  67. package/src/filiale/qianneng/android.js +2 -1
  68. package/src/filiale/qianneng/pc/ApplyUpload.vue +5 -4
  69. package/src/filiale/qianneng/pc/Applybatchdispatch.vue +704 -704
  70. package/src/filiale/qianneng/pc/Applydetail.vue +0 -5
  71. package/src/filiale/qianneng/pc/InstallFunction.vue +2 -2
  72. package/src/filiale/qianneng/pc/InstallationDetails.vue +614 -587
  73. package/src/filiale/qianneng/pc/ServiceControl.vue +1384 -1384
  74. package/src/filiale/qianneng/pc/printactivatecard.vue +311 -311
  75. package/src/filiale/ruihua/pc/ServiceControl.vue +20 -0
  76. package/src/filiale/ruihua/pc/printVentilation.vue +21 -6
  77. package/src/filiale/shexian/android/AppServiceControl.vue +12 -2
  78. package/src/filiale/shexian/android/AppTakePic.vue +15 -55
  79. package/src/filiale/siyangRH/android/AppAddMaterialScience.vue +0 -2
  80. package/src/filiale/siyangRH/pc/ApplyUpload.vue +324 -324
  81. package/src/filiale/siyangRH/pc/chargeManagement.vue +810 -0
  82. package/src/filiale/siyangRH/pc.js +1 -0
  83. package/src/filiale/yangchunboneng/android/AppChargeManagement.vue +17 -1
  84. package/src/filiale/yangchunboneng/android/AppDevicesManagement.vue +32 -2
  85. package/src/filiale/yangchunboneng/android/AppExplorationUser.vue +12 -0
  86. package/src/filiale/yangchunboneng/android/AppInstallationMaterial.vue +956 -961
  87. package/src/filiale/yangchunboneng/android/AppServiceControl.vue +34 -1
  88. package/src/filiale/yangchunboneng/android/AppSuperServiceControl.vue +1 -1
  89. package/src/filiale/yangchunboneng/android/AppUpload.vue +78 -9
  90. package/src/filiale/yangchunboneng/android/MaterIialOne.vue +31 -19
  91. package/src/filiale/yangchunboneng/android.js +1 -1
  92. package/src/filiale/yangchunboneng/pc/ApplyUpload.vue +235 -218
  93. package/src/filiale/yangchunboneng/pc/ExplorationSelect.vue +59 -19
  94. package/src/filiale/yangchunboneng/pc/ExplorationUser.vue +191 -0
  95. package/src/filiale/yangchunboneng/pc/ServiceControl.vue +207 -3
  96. package/src/filiale/yangchunboneng/pc/SupervisoryControlNew.vue +142 -0
  97. package/src/filiale/yangchunboneng/pc/SupervisoryList.vue +69 -14
  98. package/src/filiale/yangchunboneng/pc/SupervisoryListNew.vue +628 -0
  99. package/src/filiale/yangchunboneng/pc/SupervisoryServiceControl.vue +902 -0
  100. package/src/filiale/yangchunboneng/pc/SupervisoryServiceControlNew.vue +901 -0
  101. package/src/filiale/yangchunboneng/pc/SupervisoryServiceView.vue +1117 -0
  102. package/src/filiale/yangchunboneng/pc/chargeManagement.vue +112 -13
  103. package/src/filiale/yangchunboneng/pc.js +7 -1
  104. package/src/main.js +3 -3
  105. package/~/chatbot/main.py +57 -0
@@ -525,6 +525,26 @@ export default {
525
525
  throw null
526
526
  }
527
527
  },
528
+ //商户报建在点火派单-检查是否导入用户
529
+ async checkUser() {
530
+ let http = new HttpResetClass()
531
+ let data={
532
+ condValue:[],
533
+ condition:"1=1",
534
+ data:{
535
+ f_filialeid: this.$login.f.orgid,
536
+ f_process_id: this.selectdata.f_process_id
537
+ }
538
+ }
539
+ let res = await http.load('POST', 'rs/sql/getAddressAanUserinfo', {data: data}, {
540
+ warnMsg: null,
541
+ resolveMsg: null
542
+ })
543
+ if(res.data.length===0){
544
+ this.$showAlert('请先导入用户信息!!!', 'warning', 3000)
545
+ throw null
546
+ }
547
+ },
528
548
  //检查附件是否提交
529
549
  async checkfile(param) {
530
550
  let condition = `f_blobid= '${this.show_data.f_process_id}' and fusetype='${param}' `
@@ -182,6 +182,10 @@
182
182
  <td>注:</td>
183
183
  <td colspan="5" style="color: red" >点火通气时采集信息用。第一联存根联,第二联客户联,第三联安装联。请用户携带客户联和本人身份证复印件前往就近营业厅签订供应气合同并办理开卡充值业务。</td>
184
184
  </tr>
185
+ <tr>
186
+ <td>用户签名:</td>
187
+ <td colspan="5" style="color: red" ><img width="150" height="170" :src="'rs/image/file/'+src"/></td>
188
+ </tr>
185
189
  </table>
186
190
  </div>
187
191
  </article>
@@ -225,12 +229,14 @@ export default {
225
229
  userinfo: {},
226
230
  meterbrands: [],
227
231
  showModal: false,
228
- device: null
232
+ device: null,
233
+ src:''
229
234
  }
230
235
  },
231
236
  ready () {
232
237
  this.getMeterbrands()
233
238
  this.getMaterial()
239
+ this.getfiles()
234
240
  },
235
241
  methods: {
236
242
  async getMaterial() {
@@ -251,8 +257,21 @@ export default {
251
257
  })
252
258
  this.momey=total
253
259
  },
260
+ async getfiles() {
261
+ let data = {
262
+ tablename: `t_files`,
263
+ condition: `f_blobid='${this.selectdata.f_process_id}' and defname = '通气点火' and fusetype = '手机签字' order by f_uploaddate desc `
264
+ }
265
+ await new HttpResetClass().load('post',
266
+ 'rs/sql/apply_singleTable',
267
+ {data: data},
268
+ {resolveMsg: null, rejectMsg: null}
269
+ ).then(res=>{
270
+ this.src = res.data[0].f_filename
271
+ console.log('签字照片', res.data[0].f_filename,this.src)
272
+ })
273
+ },
254
274
  async getdevic() {
255
- debugger
256
275
  let data = {
257
276
  tablename: 't_devices',
258
277
  condition: `f_userfiles_id = '${this.userinfo.userfiles[0].f_userfiles_id}'`
@@ -263,7 +282,6 @@ export default {
263
282
  {resolveMsg: null, rejectMsg: '设备查询失败!!!'}
264
283
  )
265
284
  this.devicesinfo=res.data
266
- debugger
267
285
  },
268
286
  //查询表具信息
269
287
  async getuserfiles() {
@@ -386,9 +404,6 @@ export default {
386
404
  computed: {
387
405
  orgs () {
388
406
  return this.$login.f.f_fengongsi
389
- },
390
- src () {
391
- // return require(`./img/${this.$login.f.number}.png`)
392
407
  }
393
408
  }
394
409
  }
@@ -6,7 +6,7 @@
6
6
  <app-service-view v-ref:serviceview :data="show_data" v-if="showview"></app-service-view>
7
7
  </panel>
8
8
  <panel header="拍照" :is-open="false" type="primary" v-if="selectdata.f_process_id">
9
- <app-take-pic :blobid="selectdata.f_process_id" :defname="selectdata.defname" :isdelete="true" :istakepic="true" :istype="true"></app-take-pic>
9
+ <app-take-pic :selectdata="selectdata" :blobid="selectdata.f_process_id" :defname="selectdata.defname" :isdelete="true" :istakepic="true" :istype="true"></app-take-pic>
10
10
  </panel>
11
11
  <panel header="签字" :is-open="false" type="primary" v-if="selectdata.f_process_id">
12
12
  <app-sign :blobid="selectdata.f_process_id" :defname="selectdata.defname" @sign-success="signSuccess" :file-path="selectdata.f_process_id"@sign-clean="signClean"></app-sign>
@@ -243,6 +243,15 @@ export default {
243
243
  }
244
244
  if(this.show_data.button.button_name != '返回'){
245
245
  this.excessive=true
246
+ let param = {
247
+ 'logic': 'appFileUploads',
248
+ 'data': this.selectdata
249
+ }
250
+ let res1 = HostApp.bzLogic(param)
251
+ if (res1.data.status != 200){
252
+ this.$showMessage('网络异常,图片上传失败,请检查图片后重新上传!')
253
+ return
254
+ }
246
255
  let res = await this.$resetpost(
247
256
  // `rs/logic/ApplyProductService`,
248
257
  `${this.$androidUtil.getProxyUrl()}/rs/logic/ApplyProductService`,
@@ -330,7 +339,8 @@ export default {
330
339
  })
331
340
  this.$goto('app-service-control', {selectdata: restp1.data[0]}, 'self')
332
341
  this.excessive=false
333
- }else if(this.show_data.f_apply_type === '散户报建' && this.show_data.defname === '报装缴费' && this.show_data.button.button_name === '提交'){
342
+ }
343
+ else if(this.show_data.f_apply_type === '散户报建' && this.show_data.defname === '报装缴费' && this.show_data.button.button_name === '提交'){
334
344
  this.excessive=true
335
345
  let data3 = {
336
346
  condition: `u.id = ${this.show_data.id}`,
@@ -2,9 +2,9 @@
2
2
  <div class="panel">
3
3
  <div class="panel-body panel-self" style="background-color: #F8F8F8;">
4
4
  <div class="row form-group" style="height: 240px;overflow: scroll;">
5
- <div class="col-xs-4 col-sm-3 col-md-2 col-xs-offset-1 col-sm-offset-1 col-md-offset-1" v-for="(index,file) in fileList">
6
- <img-self :src="file.f_downloadURL" :width="120" :height="170"></img-self>
7
- <img v-if="isdelete" src="../../../../src/assets/删除.png" style="width: 15px;margin-top: -80px" @click.prevent="delfile(file, index)">
5
+ <div class="col-xs-4 col-sm-3 col-md-2 col-xs-offset-1 col-sm-offset-1 col-md-offset-1" v-for="(index,file) in selectdata.files">
6
+ <img-self :src="file.fileUrl" :width="120" :height="170"></img-self>
7
+ <img v-if="isdelete" src="../../../../src/assets/删除.png" style="width: 15px;margin-top: -80px" @click.prevent="delfile(file.fileUrl,index)">
8
8
  </div>
9
9
  </div>
10
10
  <div class="row text-right form-group" v-if="istakepic">
@@ -26,70 +26,26 @@
26
26
  </template>
27
27
 
28
28
  <script>
29
- import {HttpResetClass} from 'vue-client'
30
29
  import {guid, toStandardTimeString} from '../../../components/Util'
31
30
  import Vue from 'vue'
32
31
  export default {
33
32
  title: '附件',
34
- props: ['blobid', 'type', 'defname', 'istype', 'typelabel', 'isdelete', 'istakepic'],
33
+ props: ['selectdata', 'blobid', 'type', 'defname', 'istype', 'typelabel', 'isdelete', 'istakepic'],
35
34
  data () {
36
35
  return {
37
- fileList: []
38
36
  }
39
37
  },
40
38
  ready () {
41
- this.getFiles()
39
+ this.selectdata.files = []
40
+ this.selectdata.username = Vue.user.name
42
41
  },
43
42
  methods: {
44
- async getFiles () {
45
- console.log('----------------开始查询图片----------------')
46
- this.fileList = []
47
-
48
- let http = new HttpResetClass()
49
-
50
- let data = {
51
- tablename: 't_files',
52
- condition: `f_blobid = '${this.blobid}' and defname = '${this.defname}' and fremarks = '手机拍照' order by f_uploaddate desc `
53
- }
54
- let res = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/sql/apply_singleTable`, {data: data}, {
55
- // let res = await http.load('POST', `rs/sql/apply_singleTable`, {data: data}, {
56
- warnMsg: null,
57
- resolveMsg: null
58
- })
59
-
60
- for (var i = 0; i < res.data.length; i++) {
61
- console.log('-----------地址----------------')
62
- console.log(`${this.$androidUtil.getProxyUrl()}/${res.data[i].f_downloadpath.substring(res.data[i].f_downloadpath.lastIndexOf(":\\") + 2)}`)
63
- res.data[i].f_downloadURL = `${this.$androidUtil.getProxyUrl()}/${res.data[i].f_downloadpath.substring(res.data[i].f_downloadpath.lastIndexOf(":\\") + 2)}`
64
- }
65
-
66
- this.fileList = res.data
67
- },
68
43
  delfile (file, index) {
69
- this.$resetdelete(`${this.$androidUtil.getProxyUrl()}/rs/entity/t_files`, {id: file.id}, {resolveMsg: '删除成功', rejectMsg: '删除失败'}).then((res) => {
70
- this.$dispatch("delResid", file.id)
71
- this.getFiles()
72
- })
44
+ this.selectdata.files.splice(index, 1)
45
+ HostApp.delfile(file)
73
46
  },
74
47
  cameraCallBack (fileName, fileUrl) {
75
- console.log('-----------cameraCallBack-----------------')
76
- let data = {
77
- blodid: HostApp.__this__.blobid,
78
- type: HostApp.__this__.type,
79
- defname: HostApp.__this__.defname,
80
- username: Vue.user.name,
81
- fremarks: '手机拍照',
82
- fileName: fileName,
83
- fileUrl: fileUrl
84
- }
85
- console.log('-----------bzLogic-----------------')
86
- let res=HostApp.bzLogic({
87
- 'logic': 'appFileUpload',
88
- 'data': data
89
- })
90
- console.log('----------------开始回调查询-------------------')
91
- HostApp.__this__.getFiles()
92
- console.log('----------------查询回调结束-------------------')
48
+ this.selectdata.files.push({fileName: fileName, fileUrl: fileUrl})
93
49
  HostApp.__callback__ = null
94
50
  HostApp.__this__ = null
95
51
  },
@@ -109,8 +65,7 @@ export default {
109
65
  watermark: title + '\t时间:' + toStandardTimeString() + '\t' + Vue.user.name // 水印
110
66
  }
111
67
  })
112
- },
113
-
68
+ }
114
69
  },
115
70
  computed: {
116
71
  typeList () {
@@ -121,6 +76,11 @@ export default {
121
76
  }
122
77
  },
123
78
  events: {
79
+ },
80
+ watch: {
81
+ 'type' () {
82
+ this.selectdata.type = this.type
83
+ }
124
84
  }
125
85
  }
126
86
  </script>
@@ -170,8 +170,6 @@
170
170
  <script>
171
171
  import Vue from 'vue'
172
172
  import {HttpResetClass} from 'vue-client'
173
- import {number} from "echarts/lib/export";
174
-
175
173
  export default {
176
174
  name: 'addMaterialScience',
177
175
  props: {