apply-clients 5.0.35-ezhou-3 → 5.0.35-ezhou-4

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 (40) hide show
  1. package/package.json +2 -2
  2. package/src/apply.js +13 -1
  3. package/src/components/app_apply/ApplyToDoList.vue +76 -2586
  4. package/src/components/app_apply/Gongcheng.vue +3631 -0
  5. package/src/components/app_apply/OneToMany.vue +194 -0
  6. package/src/components/app_apply/PlaceControler.vue +12 -0
  7. package/src/components/app_apply/ServiceControl.vue +353 -14
  8. package/src/components/app_apply/ezhou/ServiceView.vue +139 -57
  9. package/src/components/image/doc.jpg +0 -0
  10. package/src/components/image/dwg.png +0 -0
  11. package/src/components/image/dxf.png +0 -0
  12. package/src/components/image/excel.jpg +0 -0
  13. package/src/components/image/pdf.jpg +0 -0
  14. package/src/components/product/Common/ApplyValidateBill.vue +13 -6
  15. package/src/components/product/Common/PrintBill.vue +7 -6
  16. package/src/components/product/EngineeringManagement/EngineerUpload.vue +304 -0
  17. package/src/components/product/EngineeringManagement/EngineeringManagement.vue +137 -0
  18. package/src/components/product/EngineeringManagement/EngineeringSelect.vue +586 -0
  19. package/src/components/product/EngineeringSupervisory/EngineeringApplyStopInfo.vue +281 -0
  20. package/src/components/product/EngineeringSupervisory/EngineeringSupervisoryControl.vue +132 -0
  21. package/src/components/product/EngineeringSupervisory/EngineeringSupervisoryList.vue +340 -0
  22. package/src/components/product/EngineeringSupervisory/EngineeringSupervisoryServiceControl.vue +490 -0
  23. package/src/components/product/Function/InstallInfoSelect.vue +3 -2
  24. package/src/components/product/Function/Service/FunctionServiceControl.vue +37 -1
  25. package/src/components/product/Function/functions/ApplyUpload.vue +556 -0
  26. package/src/components/product/Function/functions/BuyerMessage.vue +1 -1
  27. package/src/components/product/Function/functions/InstallFee.vue +78 -17
  28. package/src/components/product/Function/functions/InstallFeeInfo.vue +6 -1
  29. package/src/components/product/Process/ExplorationSelect.vue +41 -8
  30. package/src/components/product/Process/Processes/Service/ApplyChargeSearch.vue +126 -39
  31. package/src/components/product/Process/Processes/Service/PaperTicketBill.vue +1 -1
  32. package/src/components/product/Process/Processes/Service/ServiceControl.vue +1927 -1537
  33. package/src/components/product/ServiceView.vue +815 -805
  34. package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +163 -14
  35. package/src/components/product/Supervisory/SupervisoryList.vue +102 -17
  36. package/src/components/product/applyReport/ApplyReport.vue +205 -0
  37. package/src/components/product/applyReport/PrintApplyReport.vue +116 -0
  38. package/src/components/product/stopInfo/ApplyStopInfo.vue +2 -1
  39. package/src/ezhouAndroid.js +4 -0
  40. package/src/plugins/commonService.js +1 -1
@@ -64,6 +64,9 @@
64
64
  <th>
65
65
  <nobr>地址</nobr>
66
66
  </th>
67
+ <th>
68
+ <nobr>缴费状态</nobr>
69
+ </th>
67
70
  <th>
68
71
  <nobr>操作</nobr>
69
72
  </th>
@@ -74,8 +77,9 @@
74
77
  <td style="text-align: center">{{row.f_user_name}}</td>
75
78
  <td style="text-align: center">{{row.f_user_phone}}</td>
76
79
  <td style="text-align: center">{{row.address}}</td>
80
+ <td style="text-align: center">{{row.f_charging_status=='有效'?'已缴':'未缴'}}</td>
77
81
  <button type="button" name="button" class="btn btn-link"
78
- @click.stop="$parent.$parent.$parent.getUserinfo($index)">收费
82
+ @click.stop="$parent.$parent.$parent.getUserinfo($index)">{{row.f_charging_status=='有效'?'已收':'收费'}}
79
83
  </button>
80
84
  </template>
81
85
  </data-grid>
@@ -180,9 +184,9 @@
180
184
  <div class="form-input-group col-sm-12">
181
185
  <div class="form-input-group col-sm-3">
182
186
  <label for="f_charge_item" class="control-label col-sm-2">
183
- <button class="glyphicon glyphicon-minus btn-danger" v-if="$index>0"
187
+ <button class="glyphicon glyphicon-minus btn-danger" type="button" v-if="$index>0"
184
188
  @click.stop="delItems($index)"></button>&nbsp;&nbsp;&nbsp;
185
- <button class="glyphicon glyphicon-plus btn-success" @click.stop="addItems()"></button>
189
+ <button class="glyphicon glyphicon-plus btn-success" type="button" @click.stop="addItems()"></button>
186
190
  </label>
187
191
  <div class="col-sm-2">
188
192
  <v-select id="f_charge_item" +$index
@@ -230,10 +234,15 @@
230
234
  @validate-bill="validateBill"></apply-validate-bill>
231
235
  <printbill :show="print" :data='model' :selfclean="selfclean" :bill-config='config' :bill-data='billData'
232
236
  v-on:toggle="close" :selfsearch="load" @printok="printok" v-ref:printbill></printbill>
237
+ <printbill :show="printat" :data='model' :selfclean="selfclean" :bill-config='config' :bill-data='billDataantai'
238
+ v-on:toggle="close" :selfsearch="load" @printok="printok" v-ref:printbill></printbill>
233
239
  <bjpaper-ticket-bill :show="paperticket" :data='ids' @toggle="closeticket"></bjpaper-ticket-bill>
234
240
  <printbill :show="delprint" :data='model' :selfclean="selfclean" :bill-config='config2'
235
241
  :bill-data='billData' v-on:toggle="close" :selfsearch="load" @printok="printok"
236
242
  v-ref:printbill></printbill>
243
+ <printbill :show="delprintat" :data='model' :selfclean="selfclean" :bill-config='config2'
244
+ :bill-data='billDataantai' v-on:toggle="close" :selfsearch="load" @printok="printok"
245
+ v-ref:printbill></printbill>
237
246
  <div class="row" style="text-align:right;">
238
247
  <button :readonly="!validateOk" type="button" class="btn btn-success" style="" @click='confirm'>确认
239
248
  </button>
@@ -252,11 +261,11 @@
252
261
 
253
262
  <validator name='v'>
254
263
  <form class="form-horizontal select-overspread">
255
- <div class="row" style="display: flex;justify-content: center;" id='normal-bill'>
264
+ <div class="row" style="display: flex;justify-content: center;" id='normal-bill2'>
256
265
  <div class="form-group col-sm-6">
257
266
  <label class=" col-sm-2 control-label">购买方名称:</label>
258
267
  <input type="text" class="form-control" v-model="paperinfo.f_buy_name" style="width:60%"
259
- :value.sync="paperinfo.f_buy_name" placeholder="购买方名称"
268
+ :value.sync="model.f_user_name" placeholder="购买方名称"
260
269
  >
261
270
  </div>
262
271
  <div class="form-group col-sm-6">
@@ -270,7 +279,7 @@
270
279
  <div class="form-group col-sm-6">
271
280
  <label class=" col-sm-2 control-label">购买方地址电话:</label>
272
281
  <input type="text" class="form-control" v-model="paperinfo.f_buy_address" style="width:60%"
273
- placeholder="购买方地址" :value.sync="paperinfo.f_buy_address"
282
+ placeholder="购买方地址" :value.sync="model.adressphone"
274
283
  >
275
284
  </div>
276
285
  <div class="form-group col-sm-6">
@@ -342,6 +351,7 @@
342
351
  rows: [] // 购货方信息
343
352
  },
344
353
  model: {
354
+ adressphone:'',
345
355
  f_isone: ['否'],
346
356
  chargeid: '',
347
357
  f_print: ['普通收据'],
@@ -389,12 +399,18 @@
389
399
  paymenttypes: this.$appdata.getParam('付款方式'),
390
400
  printstyle: this.$appdata.getParam('打印格式'),
391
401
  print: false,
402
+ printat: false,
392
403
  delprint: false,
404
+ delprintat:false,
393
405
  taxprint: false,
394
406
  billData: {
395
407
  url: 'rs/report/applyCharge_bill',
396
408
  bill: ''
397
409
  },
410
+ billDataantai: {
411
+ url: 'rs/report/applyChargeAT_bill',
412
+ bill: ''
413
+ },
398
414
  config: {
399
415
  hasPrint: true, //默认打票
400
416
  hasBillManage: true, //默认不启用发票管理
@@ -420,17 +436,19 @@
420
436
  f_charge_collectors: this.$login.f.name,
421
437
  f_charge_date: '',
422
438
  f_charge_remarks: '',
423
- f_filiale: this.$login.f.f_fengongsi,
439
+ f_filiale: '',
424
440
  f_process_id: '',
425
441
  f_apply_num: '',
426
442
  f_payment_method: '',
427
443
  f_charging_status: '有效',
428
444
  f_is_correct: '否',
429
- f_bill_style: ''
445
+ f_bill_style: '',
446
+ f_charge_user: '',
447
+ f_charge_address: ''
430
448
  },
431
449
  charges: [{f_project_item: '合同总额', f_amount: 0, f_price: 0, f_money: 0}],
432
450
  // 启用发票管理需要对票号进行验证
433
- hasValidateBill: true,
451
+ hasValidateBill: false,
434
452
  validateOk: false,
435
453
  userinfoRow: {
436
454
  rows: []
@@ -524,6 +542,7 @@
524
542
  this.$dispatch('success')
525
543
  }
526
544
  this.$showMessage('是否冲正此条记录?', ['confirm', 'cancel']).then((res) => {
545
+ debugger
527
546
  if (res === 'confirm') {
528
547
  let param = {
529
548
  row: this.model.rows[index]
@@ -542,6 +561,7 @@
542
561
  console.log(index)
543
562
  console.log("a")
544
563
  this.model.f_user_name = this.userinfoRow.rows[index].f_user_name;
564
+ this.model.f_process_id = this.userinfoRow.rows[index].f_process_id;
545
565
  this.model.f_phone = this.userinfoRow.rows[index].f_user_phone;
546
566
  this.model.f_address = this.userinfoRow.rows[index].address;
547
567
  this.model.f_userinfo_id = this.userinfoRow.rows[index].f_userinfo_id;
@@ -584,12 +604,14 @@
584
604
  f_charge_collectors: this.$login.f.name,
585
605
  f_charge_date: '',
586
606
  f_charge_remarks: '',
587
- f_filiale: this.$login.f.f_fengongsi,
607
+ f_filiale: '',
588
608
  f_process_id: '',
589
609
  f_apply_num: '',
590
610
  f_charging_status: '有效',
591
611
  f_is_correct: '否',
592
- f_bill_style: ''
612
+ f_bill_style: '',
613
+ f_charge_user: '',
614
+ f_charge_address: ''
593
615
  }
594
616
 
595
617
  // this.$dispatch('refresh', this.model)
@@ -598,7 +620,9 @@
598
620
  console.log("关闭打印框")
599
621
  this.taxprint = false
600
622
  this.print = false
623
+ this.printat = false
601
624
  this.delprint = false
625
+ this.delprintat = false
602
626
  this.clean()
603
627
  },
604
628
  printok() {
@@ -608,6 +632,7 @@
608
632
  validateBill(val) {
609
633
  this.validateOk = !val.isOk
610
634
  this.billData.bill = val.bill
635
+ this.billDataantai.bill = val.bill
611
636
  },
612
637
 
613
638
  confirmbuyerinfo(args) {
@@ -731,7 +756,14 @@
731
756
  this.addItem.f_charge_collectors = this.$login.f.name
732
757
  this.addItem.f_charge_date = this.model.f_charge_date
733
758
  this.addItem.f_charge_remarks = this.model.f_charge_remarks
734
- this.addItem.f_filiale = this.$login.f.f_fengongsi
759
+ if(this.model.f_payment_account==='安泰'){
760
+ this.addItem.f_filiale ='燃气公司.安泰天然气'
761
+ } else if(this.model.f_payment_account==='欣泰'){
762
+ this.addItem.f_filiale ='欣泰工程公司'
763
+ }else{
764
+ this.addItem.f_filiale='迪泰公司'
765
+ }
766
+ // this.addItem.f_filiale = this.model.f_payment_account =='安泰' ? '燃气公司.安泰天然气' : '欣泰工程公司'
735
767
  this.addItem.f_process_id = this.infee.f_process_id
736
768
  this.addItem.f_apply_num = this.infee.f_apply_num
737
769
  this.model.rows.push(this.addItem)
@@ -794,12 +826,25 @@
794
826
 
795
827
  this.model.f_bill_type = this.model.f_print[0]
796
828
  this.model.f_bill_style = this.model.f_print[0]
797
- this.print = true
829
+ debugger
830
+ console.log('打印this.model.f_print[0]',this.model.f_print[0])
831
+ debugger
832
+ if(this.model.f_payment_account==='欣泰'){
833
+ this.print = true
834
+ }else{
835
+ this.printat = true
836
+ }
837
+
798
838
 
799
839
  console.log('f_bill_style' + this.model.f_bill_style)
800
840
 
801
841
  } else {
802
- this.print = true
842
+ debugger
843
+ if(this.model.f_payment_account==='欣泰'){
844
+ this.print = true
845
+ }else{
846
+ this.printat = true
847
+ }
803
848
  }
804
849
  } else if (this.model.f_print[0] === '纸质普票') {
805
850
  this.param.f_print = this.model.f_print[0],
@@ -869,12 +914,25 @@
869
914
  this.model.chargeid = res.data.charge_id;
870
915
  if (val.f_bill_style === '增值税电子发票') {
871
916
  this.$showAlert('申请增值税电子发票冲正成功,请稍后到报建功能中【报建收费】中查看电子发票', 'success', 5000)
872
- this.delprint = true;
917
+ if(this.model.f_payment_account==='欣泰'){
918
+ this.delprint = true;
919
+ }else{
920
+ this.delprintat = true
921
+ }
922
+
873
923
  } else {
874
924
  this.$showAlert('冲正成功', 'success', 2000)
925
+ if(this.model.f_payment_account==='欣泰'){
926
+ this.delprint = true;
927
+ }else{
928
+ this.delprintat = true
929
+ }
930
+ }
931
+ if(this.model.f_payment_account==='欣泰'){
875
932
  this.delprint = true;
933
+ }else{
934
+ this.delprintat = true
876
935
  }
877
- this.delprint = true;
878
936
  this.load()
879
937
  } else {
880
938
  this.$showAlert('冲正失败', 'warning', 5000)
@@ -981,7 +1039,7 @@
981
1039
  this.model.rows = res.data
982
1040
  this.model.f_cumulative_money = 0;
983
1041
  for (let i = 0; i < res.data.length; i++) {
984
- this.model.f_cumulative_money = this.model.f_cumulative_money + parseInt(res.data[i].f_charge_money);
1042
+ this.model.f_cumulative_money =parseFloat(parseFloat(this.model.f_cumulative_money) + parseFloat(res.data[i].f_charge_money)).toFixed(2) ;
985
1043
  }
986
1044
 
987
1045
 
@@ -1007,7 +1065,10 @@
1007
1065
  this.oldInfo.f_phone = this.model.f_phone;
1008
1066
  this.oldInfo.f_address = this.model.f_address;
1009
1067
  this.model.f_isone = ['否'];
1068
+ this.model.adressphone = this.model.f_address + ' ' + this.model.f_phone;
1010
1069
  this.charges = [{f_project_item: '合同总额', f_amount: 0, f_price: 0, f_money: 0}];
1070
+ this.hasValidateBill=true
1071
+ console.log('load被重新调用222')
1011
1072
  }
1012
1073
  },
1013
1074
  computed: {
@@ -26,6 +26,10 @@
26
26
  <label class = "col-sm-5 control-label">用户类型:</label>
27
27
  <span class = "col-sm-7">{{model.f_user_type}}</span>
28
28
  </div>
29
+ <div class="row">
30
+ <label class = "col-sm-5 control-label">支付账户:</label>
31
+ <span class = "col-sm-7">{{model.f_payment_account}}</span>
32
+ </div>
29
33
  <div class="row">
30
34
  <label class = "col-sm-5 control-label">申请户数:</label>
31
35
  <span class = "col-sm-7">{{model.f_user_type}}</span>
@@ -96,7 +100,8 @@
96
100
  f_user_type: '无',
97
101
  f_house_type: '无',
98
102
  f_residential_area: '无',
99
- f_apply_remarks: '无'
103
+ f_apply_remarks: '无',
104
+ f_payment_account: '无'
100
105
  }
101
106
  }
102
107
  },
@@ -113,10 +113,19 @@
113
113
  </div>
114
114
  </div>
115
115
 
116
+ <!-- <div class="col-sm-2" style="float: left">
117
+ <label class="col-sm-4 control-label">报装来源</label>
118
+ <div class="col-sm-8">
119
+ <v-select style="min-width: 100%;" @change="$dispatch('setQueryCondition',model)" :options="$parent.$parent.alloption"
120
+ condition="f_apply_source = '{}'" placeholder='报装来源'
121
+ v-model="model.f_apply_source" :value.sync="model.f_apply_source" close-on-select>
122
+ </v-select>
123
+ </div>
124
+ </div> -->
116
125
  <div class="col-sm-2" style="float: left">
117
126
  <label class="col-sm-4 control-label">报装来源</label>
118
127
  <div class="col-sm-8">
119
- <v-select style="min-width: 100%;" @change="$dispatch('setQueryCondition',model)" :options="[{label:'全部',value:''},{label:'燃气系统',value:'燃气系统'},{label:'微信',value:'微信'},{label:'住建局',value:'住建局'}]"
128
+ <v-select style="min-width: 100%;" @change="$dispatch('setQueryCondition',model)" :options="[{label:'住建局',value:'住建局'},{label:'燃气系统',value:'燃气系统'},{label:'电话预约',value:'电话预约'},{label:'微信预约',value:'微信预约'}]"
120
129
  condition="f_apply_source = '{}'" placeholder='报装来源'
121
130
  v-model="model.f_apply_source" :value.sync="model.f_apply_source" close-on-select>
122
131
  </v-select>
@@ -124,7 +133,6 @@
124
133
  </div>
125
134
 
126
135
 
127
-
128
136
  </div>
129
137
  <div class="col-sm-12 " style="margin-top:5px">
130
138
  <div class="col-sm-2">
@@ -160,6 +168,9 @@
160
168
  <th>
161
169
  <nobr>当前状态</nobr>
162
170
  </th>
171
+ <th>
172
+ <nobr>工程编号</nobr>
173
+ </th>
163
174
  <th>
164
175
  <nobr>报建编号</nobr>
165
176
  </th>
@@ -212,6 +223,9 @@
212
223
  <td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' ]" style="text-align: center;">
213
224
  <nobr><font>{{row.f_sub_state!='完工' ? '未完工' :'完工'}}</font></nobr>
214
225
  </td>
226
+ <td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' ]" style="text-align: center;">
227
+ <nobr><font>{{row.f_project_number}}</font></nobr>
228
+ </td>
215
229
  <td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' ]" style="text-align: center;">
216
230
  <nobr><font>{{row.f_apply_num}}</font></nobr>
217
231
  </td>
@@ -316,7 +330,8 @@
316
330
  model: new PagedList('rs/sql/checkuser', 20, {
317
331
  data: {
318
332
  id: this.$login.f.id,
319
- fengongsi: this.$login.f.f_fengongsi
333
+ fengongsi: this.$login.f.f_fengongsi,
334
+ f_product_id: 0
320
335
  }
321
336
  }),
322
337
  fapplytype: this.$appdata.getParam('用户类型'),
@@ -328,6 +343,7 @@
328
343
  select: '',
329
344
  alloptions:[],
330
345
  showFile:false,
346
+ alloption:[],
331
347
  button_name:"查询",
332
348
  showstopinfoflag:false,
333
349
  stopremarks:"",
@@ -342,6 +358,7 @@
342
358
  console.log("开始判断")
343
359
  },
344
360
  async ready() {
361
+ this.eachFind();
345
362
  this.$refs.cp.$refs.cri.model.startDate = Util.toStandardDateString() + ' 00:00:00'
346
363
  this.$refs.cp.$refs.cri.model.endDate = Util.toStandardDateString() + ' 23:59:59'
347
364
  await this.getConfig()
@@ -352,7 +369,6 @@
352
369
  let self = this
353
370
  //判断用户是否有权限
354
371
  this.checkUserOperator();
355
-
356
372
  },
357
373
  methods: {
358
374
  //清空 查询条件项
@@ -388,11 +404,9 @@
388
404
  param.push({label:"全部",value:""})
389
405
  str.activitys.forEach(function(item){
390
406
  let title = item.title;
391
- console.log(title)
392
407
  param.push({label:title,value:title});
393
408
  })
394
409
  this.alloptions = param;
395
-
396
410
  },
397
411
  generateUUID() {
398
412
  var d = new Date().getTime()
@@ -426,18 +440,35 @@
426
440
 
427
441
  },
428
442
  async addactive(modify) {
443
+ // 动态获取报装来源
444
+ // let ces = [];
445
+ // http.load('POST', 'rs/sql/findParameter').then((res) => {
446
+ // console.log("这是报装来源:" + res.name)
447
+ // res.forEach(function(res){
448
+ // ces.push({label:res.name,value:res.name});
449
+ // })
450
+ // this.alloption = ces;
451
+ // })
429
452
  this.button_name ="返回"
453
+ var workflow_xmlfilename='鄂州报建流程'
454
+ if(this.$login.f.filialenames === '迪泰天然气' && modify==='集体报装申请'){
455
+ workflow_xmlfilename = '鄂州报建流程迪泰'
456
+ }else{
457
+ workflow_xmlfilename = '鄂州报建流程'
458
+ }
430
459
  //await this.getConfig()
431
460
  this.$workflow_vue.start_activity = modify
432
461
  let http = new HttpResetClass()
433
- let res = await http.load('POST','rs/logic/ApplyGetProcessID',{data:{filename:this.$workflow_vue.workflow_xmlfilename,start_activity:this.$workflow_vue.start_activity}}, {resolveMsg: null, rejectMsg: '获取流程ID失败,请联系开发人员'})
462
+ let res = await http.load('POST','rs/logic/ApplyGetProcessID',{data:{filename:workflow_xmlfilename,start_activity:this.$workflow_vue.start_activity}}, {resolveMsg: null, rejectMsg: '获取流程ID失败,请联系开发人员'})
434
463
  this.$refs.cp.pager = false
464
+ debugger
435
465
  let val = {
436
466
  defname: this.$workflow_vue.start_activity,
437
467
  f_process_id: res.data.f_process_id,
438
468
  f_apply_date: Util.toStandardTimeString(),
439
469
  f_apply_num: this.generateUUID(),
440
- f_apply_operator_telephone: this.$login.f.f_fgsdianhua
470
+ f_apply_operator_telephone: this.$login.f.f_fgsdianhua,
471
+ f_product_id: res.data.f_product_id
441
472
  }
442
473
  // // 如果是改装,将modify装入val
443
474
  // if(modify){
@@ -594,10 +625,12 @@
594
625
  }
595
626
  if(hourfals!=0){
596
627
  this.speckText('请注意:第:'+overNumString1+'数据一小时后过期')
628
+ this.$showMessage("请注意:第:" + overNumString1 + "数据一小时后过期")
597
629
  }
598
630
  if (flagNum1!=1){
599
631
  console.log(overNumString1);
600
632
  this.speckText('请注意:第:'+overNumString1+'数据即将过期')
633
+ this.$showMessage("请注意:第:" + overNumString1 + "数据即将过期")
601
634
  }
602
635
  if(dbflag !=1){
603
636
  this.speckText('请注意: 您有'+dbflag-1+'条数据被督办')