apply-clients 7.1.36-1 → 7.1.36-yuchuan-1

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 (55) hide show
  1. package/build/dev-server.js +8 -2
  2. package/dist-android.7z +0 -0
  3. package/dist.7z +0 -0
  4. package/package.json +1 -1
  5. package/src/apply.js +31 -4
  6. package/src/applyAndroid.js +5 -0
  7. package/src/components/android/AppSign.vue +13 -10
  8. package/src/components/android/Process/AppExplorationUser.vue +454 -454
  9. package/src/components/android/Process/AppServiceControl.vue +3 -3
  10. package/src/components/android/Process/Processes/AppChaiChuInfo.vue +546 -0
  11. package/src/components/android/Process/Processes/AppDevicesManagement.vue +2 -1
  12. package/src/components/android/Process/Processes/AppInstallationDetails.vue +69 -20
  13. package/src/components/android/Process/Processes/newAppDevicesManagement.vue +2 -1
  14. package/src/components/android/Process/Processes/newAppInstallationDetails.vue +5 -5
  15. package/src/components/android/Supervisory/AppProcessSupervisory.vue +334 -298
  16. package/src/components/android/Task/ShenHe/BuZhangShenHe.vue +64 -0
  17. package/src/components/android/Task/ShenHe/JingLiShenHe.vue +64 -0
  18. package/src/components/product/ApplyCharge/ApplyChargeList.vue +27 -0
  19. package/src/components/product/ApplyGaiXianCharge/ApplyGaiXianChargeList.vue +198 -0
  20. package/src/components/product/ApplyGaiXianCharge/ApplyGaiXianChargeSearch.vue +30 -0
  21. package/src/components/product/ApplyGuanXian/GuanXianCaiLiao.vue +235 -0
  22. package/src/components/product/ApplyGuanXian/GuanXianExplorationSelect.vue +323 -0
  23. package/src/components/product/ApplyGuanXian/GuanXianExplorationUser.vue +144 -0
  24. package/src/components/product/ApplyGuanXian/GuanXianSupervisoryhCart.vue +119 -0
  25. package/src/components/product/ApplyGuanXian/TabButton.vue +157 -0
  26. package/src/components/product/ApplyGuanXian/Tabs.vue +67 -0
  27. package/src/components/product/Function/InstallInfoSelect.vue +3 -4
  28. package/src/components/product/Function/Service/FunctionServiceControl.vue +475 -475
  29. package/src/components/product/Ignition/IgnitionList.vue +236 -232
  30. package/src/components/product/Ignition/IgnitionListManage.vue +69 -28
  31. package/src/components/product/Ignition/IgnitionRecord.vue +56 -17
  32. package/src/components/product/List/ShowDevices.vue +279 -277
  33. package/src/components/product/Print/OrderPrint/printChaiChuOrder.vue +260 -0
  34. package/src/components/product/Process/ExplorationSelect.vue +580 -566
  35. package/src/components/product/Process/ExplorationUser.vue +158 -155
  36. package/src/components/product/Process/NewExplorationUser.vue +184 -0
  37. package/src/components/product/Process/Processes/ApplyChaiChuInfo.vue +587 -0
  38. package/src/components/product/Process/Processes/InstallationDetails.vue +86 -33
  39. package/src/components/product/Process/Processes/Print/printCharge.vue +5 -1
  40. package/src/components/product/Process/Processes/Print/printPaymentApproval.vue +224 -221
  41. package/src/components/product/Process/Processes/Print/printPaymentSubject.vue +170 -0
  42. package/src/components/product/Process/Processes/chargeManagement.vue +24 -6
  43. package/src/components/product/Process/Processes/devicesManagement.vue +2 -1
  44. package/src/components/product/Process/Processes/newInstallationDetails.vue +3 -3
  45. package/src/components/product/Process/Processes/selectChaiChuUserinfo.vue +230 -0
  46. package/src/components/product/Process/Service/ServiceControl.vue +169 -14
  47. package/src/components/product/Report/ReportItems.vue +79 -0
  48. package/src/components/product/Report/apply-stair-anzhuang.vue +361 -0
  49. package/src/components/product/Report/apply-stair-kaifa.vue +138 -0
  50. package/src/components/product/Report/apply-stair-tongqi.vue +137 -0
  51. package/src/components/product/Report/apply-stair-wtongqi.vue +138 -0
  52. package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +37 -8
  53. package/src/components/product/Supervisory/SupervisoryList.vue +77 -26
  54. package/static/images/lefticon//347/273/274/345/220/210/344/270/232/345/212/241.png +0 -0
  55. package/static/images/lefticon//347/273/274/345/220/210/346/237/245/350/257/242.png +0 -0
@@ -19,6 +19,7 @@
19
19
  <th>
20
20
  <button
21
21
  type="button"
22
+ v-if="$parent.$parent.$parent.selectdata.f_apply_type !== '非民用报建'"
22
23
  class="btn btn-info head-but"
23
24
  @click="$parent.$parent.$parent.openModal()"
24
25
  :disabled="$parent.$parent.$parent.mark === 1 ||
@@ -37,10 +38,17 @@
37
38
  <template v-if="$parent.$parent.$parent.selectdata.f_apply_type === '民用报建'">
38
39
  <button type="button" class="btn btn-info head-but" v-if="$parent.$parent.$parent.mark !== 1"
39
40
  @click="$parent.$parent.$parent.importBefore()">导入</button>
40
- <a type="button" class="btn btn-info head-but" v-if="$parent.$parent.$parent.mark !== 1 && $parent.$parent.$parent.selectdata.f_apply_nature === '小区'"
41
+ <a type="button" class="btn btn-info head-but" v-if="$parent.$parent.$parent.mark !== 1 && $parent.$parent.$parent.selectdata.f_apply_nature === '小区' && $parent.$parent.$parent.selectdata.defname !== '工程施工'"
41
42
  href="/apply/download/excel/小区导入.xlsx" download>模板下载</a>
42
- <a type="button" class="btn btn-info head-but" v-if="$parent.$parent.$parent.mark !== 1 && $parent.$parent.$parent.selectdata.f_apply_nature === '散户'"
43
+ <a type="button" class="btn btn-info head-but" v-if="$parent.$parent.$parent.mark !== 1 && $parent.$parent.$parent.selectdata.f_apply_nature === '散户' && $parent.$parent.$parent.selectdata.defname !== '工程施工'"
43
44
  href="/apply/download/excel/散户导入模板.xlsx" download>模板下载</a>
45
+ <export-excel :data="$parent.$parent.$parent.getCondition"
46
+ :field="$parent.$parent.$parent.getfield"
47
+ v-if="$parent.$parent.$parent.mark !== 1 && $parent.$parent.$parent.selectdata.f_apply_nature === '小区' && $parent.$parent.$parent.selectdata.defname === '工程施工'"
48
+ sqlurl="rs/logic/applyExportfile"
49
+ sql-name="getApplyUserinfoExcel"
50
+ template-name='待添加表号信息导出'
51
+ :choose-col="true"></export-excel>
44
52
  </template>
45
53
  </th>
46
54
  </tr>
@@ -146,7 +154,7 @@
146
154
  <input class="form-control input_view" style=""
147
155
  v-validate:f_user_name = "['required']"
148
156
  v-model="userinfo.f_user_name"
149
- :value.sync="showUserinfo.f_user_name"
157
+ :value.sync="showUserInformation.f_user_name"
150
158
  :readonly="mark === 1 || userinfo.f_user_state === '正常'"
151
159
  placeholder="客户名称"/>
152
160
  </div>
@@ -156,7 +164,7 @@
156
164
  <div class="col-sm-8">
157
165
  <input class="form-control input_view" style=""
158
166
  v-model="userinfo.f_user_phone"
159
- :value.sync="showUserinfo.f_user_phone"
167
+ :value.sync="showUserInformation.f_user_phone"
160
168
  :readonly="mark === 1 || userinfo.f_user_state === '正常'"
161
169
  placeholder="客户电话"/>
162
170
  </div>
@@ -166,7 +174,7 @@
166
174
  <div class="col-sm-8">
167
175
  <input-select
168
176
  class="select select_list"
169
- :value.sync="showUserinfo.f_credentials"
177
+ :value.sync="showUserInformation.f_credentials"
170
178
  v-model="userinfo.f_credentials"
171
179
  :options="credentialsList"
172
180
  :disable="mark === 1 || userinfo.f_user_state === '正常'"
@@ -179,7 +187,7 @@
179
187
  <input class="form-control input_view" style=""
180
188
  placeholder="证件号码"
181
189
  v-model="userinfo.f_idnumber"
182
- :value="showUserinfo.f_idnumber"
190
+ :value="showUserInformation.f_idnumber"
183
191
  :readonly="mark === 1 || userinfo.f_user_state === '正常'"/>
184
192
  </div>
185
193
  </div>
@@ -321,13 +329,13 @@
321
329
  :readonly="mark === 1 || userinfo.f_user_state === '正常'"/>
322
330
  </div>
323
331
  </div>
324
- <div class="form-group col-sm-6">
332
+ <div class="form-group col-sm-6" v-show="false">
325
333
  <label class="col-sm-4 control-label">初始底数:</label>
326
334
  <div class="col-sm-8">
327
335
  <input class="form-control input_view" style=""
328
336
  type="number"
329
337
  v-model="userfile.f_initial_base"
330
- :value="userfile.f_initial_base"
338
+ :value="userfile.f_meter_base"
331
339
  placeholder="初始底数"
332
340
  :readonly="mark === 1 || userinfo.f_user_state === '正常'"/>
333
341
  </div>
@@ -477,6 +485,31 @@
477
485
  </footer>
478
486
  </modal>
479
487
  </validator>
488
+ <validator name="x">
489
+ <modal v-if="showDeleteModel" :show.sync="showDeleteModel" v-ref:modal :large="true" :backdrop="false">
490
+ <header slot="modal-header" class="modal-header">
491
+ <button type="button" class="close" @click="closeUserFile"><span>&times;</span></button>
492
+ <h4 class="modal-title">销户原因</h4>
493
+ </header>
494
+ <article slot="modal-body" class="modal-body clearfix">
495
+ <div class="left col-sm-12 col-xs-12" :class="[$x.f_cancel_cause.required ? 'has-error' : '']">
496
+ <div class="form-group col-sm-12">
497
+ <label class="col-sm-2 control-label">销户原因:</label>
498
+ <div class="col-sm-10">
499
+ <input class="form-control input_view" style=""
500
+ v-validate:f_cancel_cause = "['required']"
501
+ v-model="userinfo.f_cancel_cause"
502
+ :value.sync="userinfo.f_cancel_cause"
503
+ placeholder="销户原因"/>
504
+ </div>
505
+ </div>
506
+ </div>
507
+ </article>
508
+ <footer slot="modal-footer" class="modal-footer">
509
+ <button type="button" class="btn btn-primary" @click="deleteUser" :disabled="!$x.valid">确认</button>
510
+ </footer>
511
+ </modal>
512
+ </validator>
480
513
  </template>
481
514
  <script>
482
515
  import Vue from 'vue'
@@ -527,7 +560,14 @@ export default {
527
560
  Sign: false,
528
561
  fileurl: null,
529
562
  devicesinfo: [],
530
- showUserinfo: {}
563
+ showUserInformation: {},
564
+ showDeleteModel: false,
565
+ getfield: {
566
+ 'f_userinfo_id': ' 客户编号 ',
567
+ 'f_address': ' 地址 ',
568
+ 'f_meternumber': ' 表号 ',
569
+ 'f_aroundmeter': ' 表向 '
570
+ }
531
571
  }
532
572
  },
533
573
  ready () {
@@ -537,12 +577,21 @@ export default {
537
577
  },
538
578
  methods: {
539
579
  async deleteUserinfo (row) {
580
+ this.userinfo = row
581
+ let res = await this.$showMessage('此操作不可撤回,您确定要删除这条记录吗?')
582
+ if (res === 'cancel') {
583
+ return
584
+ }
585
+ this.showDeleteModel = !this.showDeleteModel
586
+ },
587
+ async deleteUser () {
540
588
  let res = await this.$showMessage('此操作不可撤回,您确定要删除这条记录吗?')
541
589
  if (res === 'cancel') {
542
590
  return
543
591
  }
544
592
  let data = {
545
- userinfo: row,
593
+ login: this.$login.f,
594
+ userinfo: this.userinfo,
546
595
  selectdata: this.selectdata
547
596
  }
548
597
  res = await this.$resetpost('rs/logic/applyDeleteUserinfo', {data:data}, {
@@ -554,7 +603,14 @@ export default {
554
603
  },
555
604
  // 保存档案
556
605
  async saveUserFile () {
557
- this.meternumberValidate()
606
+ if (this.selectdata.defname === '工程施工'){
607
+ await this.meternumberValidate()
608
+ if (this.userfile.f_meter_base - 0 === 0 || this.userfile.f_meter_base - 0 > 1.5){
609
+ console.log("当前表底数",this.userfile.f_meter_base)
610
+ this.$showAlert('表读数必须大于0小于或等于1.5!', 'warning', 3000)
611
+ throw '表读数必须大于0小于或等于1.5!'
612
+ }
613
+ }
558
614
  let data = {
559
615
  user: this.$login.f,
560
616
  userinfo: this.userinfo,
@@ -706,21 +762,6 @@ export default {
706
762
  console.log('------------------修正---------------------',row)
707
763
  this.userinfo = row
708
764
 
709
- if (this.userinfo.f_residential_area_id) {
710
- let data = {
711
- tablename: 't_area_address',
712
- condition: `id = '${this.userinfo.f_residential_area_id}'`
713
- }
714
- let http = new HttpResetClass()
715
- let res = await http.load(
716
- 'POST',
717
- `rs/sql/applySingleTable`,
718
- {data: data},
719
- {resolveMsg: null, rejectMsg: '小区查询失败!!!'}
720
- )
721
-
722
- this.area = res.data[0]
723
- }
724
765
 
725
766
  let data = {
726
767
  tablename: 't_userfiles',
@@ -782,10 +823,10 @@ export default {
782
823
  this.userinfo.f_location_address = this.selectdata.f_order_address
783
824
  if(!row){
784
825
  // 档案回填用户信息
785
- this.showUserinfo.f_user_name = this.selectdata.f_user_name
786
- this.showUserinfo.f_user_phone = this.selectdata.f_phone
787
- this.showUserinfo.f_credentials = this.selectdata.f_credentials
788
- this.showUserinfo.f_idnumber = this.selectdata.f_idnumber
826
+ this.showUserInformation.f_user_name = this.selectdata.f_user_name
827
+ this.showUserInformation.f_user_phone = this.selectdata.f_phone
828
+ this.showUserInformation.f_credentials = this.selectdata.f_credentials
829
+ this.showUserInformation.f_idnumber = this.selectdata.f_idnumber
789
830
  }
790
831
  this.showModal = true
791
832
  },
@@ -862,7 +903,7 @@ export default {
862
903
  },
863
904
  searchCondition (args) {
864
905
  if (this.selectdata.f_apply_type === '分户挂表') {
865
- args.condition = args.condition + `and ui.f_userinfo_id = '${this.selectdata.f_userinfo_id}'`
906
+ args.condition = args.condition + `and ui.f_userinfo_id = 'ui.f_process_id = '61207''`
866
907
  } else {
867
908
  args.condition = args.condition + `and ui.f_process_id = '${this.selectdata.f_process_id}'`
868
909
  }
@@ -882,6 +923,7 @@ export default {
882
923
  this.userfile = {}
883
924
  this.gasModelList = {}
884
925
  this.Sign = {}
926
+ this.showDeleteModel = false
885
927
  this.search()
886
928
  },
887
929
  //关闭导入弹框
@@ -900,7 +942,9 @@ export default {
900
942
  user: this.$login.f,
901
943
  mark: this.mark
902
944
  }
903
- let res = await this.$resetpost(`rs/logic/importAddressAndUserinfo`, {data:data}, {resolveMsg: null, rejectMsg: '导入失败!!!', silent: true}, 0)
945
+ let http = new HttpResetClass()
946
+ let res = await http.load(
947
+ 'POST',`rs/logic/importAddressAndUserinfo`, {data:data}, {resolveMsg: null, rejectMsg: '导入失败!!!', silent: true}, 0)
904
948
 
905
949
  this.$dispatch('breakControl', this.selectdata)
906
950
  }
@@ -911,7 +955,7 @@ export default {
911
955
  (this.selectdata.defname === '报建受理' || this.selectdata.defname === '现场勘察')
912
956
  },
913
957
  newShowDeleteUserInfo () {
914
- return this.selectdata.f_apply_type === '设备拆除' && this.selectdata.defname === '销户'
958
+ return this.selectdata.f_apply_type === '设备拆除' && this.selectdata.defname === '核对气量'
915
959
  },
916
960
  showAddress () {
917
961
  return (this.selectdata.f_apply_type === '民用报建' || this.selectdata.f_apply_type === '设备拆除') && (this.selectdata.defname !== '工程施工')
@@ -959,6 +1003,15 @@ export default {
959
1003
  // 安装位置
960
1004
  positions() {
961
1005
  return this.$appdata.getParam('安装位置')
1006
+ },
1007
+ getCondition () {
1008
+ return {
1009
+ condition: `ui.f_process_id = '${this.selectdata.f_process_id}'`,
1010
+ data: {
1011
+ userid: this.$login.f.id,
1012
+ f_filiale: this.$login.f.f_fengongsi
1013
+ }
1014
+ }
962
1015
  }
963
1016
  },
964
1017
  watch: {
@@ -112,6 +112,10 @@
112
112
  <td>备&emsp;&emsp;注:</td>
113
113
  <td colspan="5">{{ selectdata.f_due_money_remarks }}</td>
114
114
  </tr>
115
+ <tr>
116
+ <td>注:</td>
117
+ <td colspan="5">转账用户需航宇路中国银行取确认收款单后来公司换取发票。</td>
118
+ </tr>
115
119
  </table>
116
120
  </div>
117
121
  </article>
@@ -145,7 +149,7 @@ Date.prototype.Format = function (fmt) {
145
149
  return fmt
146
150
  }
147
151
  export default {
148
- title: '打印收费票据',
152
+ title: '打印解款单',
149
153
  props: ['selectdata'],
150
154
  data () {
151
155
  return {