apply-clients 4.1.65 → 4.1.69

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 (23) hide show
  1. package/package.json +1 -1
  2. package/src/App.vue +20 -20
  3. package/src/apply.js +6 -1
  4. package/src/components/product/Function/InstallInfoSelect.vue +282 -282
  5. package/src/components/product/Function/StopApplyCrrdList.vue +176 -176
  6. package/src/components/product/Process/ExplorationSelect.vue +354 -354
  7. package/src/components/product/Process/ExplorationUser.vue +134 -134
  8. package/src/components/product/Process/Processes/InstallationDetails.vue +489 -490
  9. package/src/components/product/Process/Processes/UserFireInfo.vue +409 -0
  10. package/src/components/product/Process/Processes/addressAndUserinfoManagement.vue +203 -49
  11. package/src/components/product/Process/Processes/addressAndUserinfoManagementPro.vue +1221 -0
  12. package/src/components/product/Process/Processes/chargeManagement.vue +539 -539
  13. package/src/components/product/Process/Processes/devicesDetails.vue +834 -0
  14. package/src/components/product/Process/Processes/printCharge.vue +4 -4
  15. package/src/components/product/Process/Processes/recordcancel.vue +50 -50
  16. package/src/components/product/Process/Service/ServiceControl.vue +59 -39
  17. package/src/components/product/ServiceView.vue +797 -796
  18. package/src/components/product/Supervisory/SupervisoryControl.vue +119 -119
  19. package/src/components/product/Supervisory/SupervisoryList.vue +208 -208
  20. package/src/components/product/Test.vue +8 -4
  21. package/src/components/product/VueUtils/ApplyUpload.vue +4 -4
  22. package/static/images/lefticon//347/237/251/345/275/2421183.png +0 -0
  23. package/dist.rar +0 -0
@@ -1,5 +1,24 @@
1
1
  <template>
2
2
  <div class="col-sm-12" style="margin: 20px 0px;">
3
+ <div class="auto" style="overflow:auto;margin: 15px 0 0 15px;">
4
+ <div class="form-inline auto col-sm-12">
5
+ <div class="row col-sm-12">
6
+ <div class="form-group col-sm-3">
7
+ <label class=" control-label" >客户姓名</label>
8
+ <input type="text" class="input_search" placeholder='客户姓名' v-model="query.f_user_name">
9
+ </div>
10
+ <div class="form-group col-sm-3">
11
+ <label class=" control-label" >客户电话</label>
12
+ <input type="text" class="input_search" placeholder='客户电话' v-model="query.f_user_phone">
13
+ </div>
14
+ <div class="form-group col-sm-5" >
15
+ <!-- <button class="button_search button_spacing" @click="search()">查询</button>-->
16
+ <button type="button" class="btn btn-default" @click="search()">查询</button>
17
+ <button type="button" class="btn btn-default" @click="clear()">清空</button>
18
+ </div>
19
+ </div>
20
+ </div>
21
+ </div>
3
22
  <data-grid :model="model" v-ref:grid class="list_area table_sy" style="padding: 0px">
4
23
  <template partial='head'>
5
24
  <tr>
@@ -10,7 +29,7 @@
10
29
  <th class="textNoLineBreak">街道</th>
11
30
  <th class="textNoLineBreak">小区</th>
12
31
  <th class="textNoLineBreak">详细地址</th>
13
- <th class="textNoLineBreak">地址状态</th>
32
+ <th class="textNoLineBreak">用户状态</th>
14
33
  <th class="textNoLineBreak">客户编号</th>
15
34
  <th class="textNoLineBreak">用户姓名</th>
16
35
  <th class="textNoLineBreak">电话</th>
@@ -18,24 +37,28 @@
18
37
  <th class="textNoLineBreak">证件号码</th>
19
38
  <th class="textNoLineBreak">时间</th>
20
39
  <th v-if="$parent.$parent.showremark" class="textNoLineBreak">退回理由</th>
40
+ <th v-if="$parent.$parent.signReason" class="textNoLineBreak">标记原因</th>
21
41
  <th class="textNoLineBreak">
22
42
  <button v-if="$parent.$parent.showback"type="button" class="btn btn-info head-but"
23
43
  @click="$parent.$parent.unpass()">退回</button>
44
+ <button v-if="$parent.$parent.void"type="button" class="btn btn-info head-but"
45
+ @click="$parent.$parent.voidFunction()">标记</button>
24
46
  <button v-if="$parent.$parent.showcover"type="button" class="btn btn-info head-but"
25
47
  @click="$parent.$parent.pass()">恢复</button>
26
- <button v-if="$parent.$parent.showfiling"type="button" class="btn btn-info head-but"
27
- @click="$parent.$parent.filing()">建档不合格</button>
48
+ <!-- <button v-if="$parent.$parent.showfiling"type="button" class="btn btn-info head-but"-->
49
+ <!-- @click="$parent.$parent.filing()">建档不合格</button>-->
28
50
  <button v-if="$parent.$parent.showhina" type="button" class="btn btn-info head-but"
29
51
  :disabled="$parent.$parent.mark === 1"
30
52
  @click="$parent.$parent.showFileModal()">导入</button>
31
53
  <a v-if="$parent.$parent.showhina" type="button" class="btn btn-info head-but"
32
- href="/apply/download/excel/批量导入.xlsx" download>模板下载</a>
33
- <export-excel :data="$parent.$parent.getCondition"
34
- :field="$parent.$parent.getfield"
35
- sqlurl="rs/logic/applyExportfile"
36
- sql-name="getAddresAndUserinfoAndUserfiles"
37
- template-name='信息导出'
38
- :choose-col="true"></export-excel>
54
+ href="/apply/download/excel/中盛地址批量导入.xlsx" download>模板下载</a>
55
+ <!-- <export-excel :data="$parent.$parent.getCondition"-->
56
+ <!-- :field="$parent.$parent.getfield"-->
57
+ <!-- sqlurl="rs/logic/applyExportfile"-->
58
+ <!-- sql-name="getAddressAanUserinfo"-->
59
+ <!-- template-name='花名册导出'-->
60
+ <!-- btn-name="花名册导出"-->
61
+ <!-- :choose-col="true"></export-excel>-->
39
62
 
40
63
  </th>
41
64
  </tr>
@@ -67,7 +90,7 @@
67
90
  <nobr>{{row.f_address}}</nobr>
68
91
  </td>
69
92
  <td style="text-align: center;" @click="$parent.$parent.selectOne(row)">
70
- <nobr>{{row.f_address_state}}</nobr>
93
+ <nobr>{{row.f_user_state}}</nobr>
71
94
  </td>
72
95
  <td style="text-align: center;" @click="$parent.$parent.selectOne(row)">
73
96
  <nobr>{{row.f_userinfo_code}}</nobr>
@@ -92,10 +115,13 @@
92
115
 
93
116
  <button class="button_new button_spacing" @click.prevent="$parent.$parent.backremark(row)">退回原因</button>
94
117
  </td>
118
+ <td v-if="$parent.$parent.signReason" style="text-align: center;">
119
+ <button class="button_new button_spacing" @click.prevent="$parent.$parent.signremark(row)">标记原因</button>
120
+ </td>
95
121
  <td style="text-align: center;">
96
122
  <button v-if="$parent.$parent.showclean" class="button_new button_spacing" style="width: max-content" @click.prevent="$parent.$parent.cleanupload(row)">删除</button>
97
123
  <button v-if="$parent.$parent.showrecover" class="button_new button_spacing" style="width: max-content" @click.prevent="$parent.$parent.recoverupload(row)">恢复</button>
98
- <button v-if="$parent.$parent.showfire" class="button_new button_spacing" style="width: max-content" @click.prevent="$parent.$parent.fire(row)">点火</button>
124
+ <!-- <button v-if="$parent.$parent.showfire" class="button_new button_spacing" style="width: max-content" @click.prevent="$parent.$parent.fire(row)">点火</button>-->
99
125
  </td>
100
126
  </tr>
101
127
  </template>
@@ -123,6 +149,29 @@
123
149
  <button type="button" class="btn btn-default" @click='cancel()'>取消</button>
124
150
  </footer>
125
151
  </modal>
152
+ <!-- 标记原因 -->
153
+ <modal :show.sync="signReasonPage" v-ref:modal large backdrop="false">
154
+ <header slot="modal-header" class="modal-header">
155
+ <h3 style="color:black" class="modal-title">标记原因</h3>
156
+ </header>
157
+ <article slot="modal-body" class="modal-body">
158
+ <div class="auto">
159
+ <form class="form-horizontal">
160
+ <div class="row">
161
+ <div class="col-sm-12 form-group form-input-group" >
162
+ <label class="control-label">原因</label>
163
+ <textarea class="form-control" v-model=f_comments placeholder="请添加原因" :disabled="!signReasonPage"></textarea>
164
+ </div>
165
+ </div>
166
+ </form>
167
+ </div>
168
+ </article>
169
+ <footer slot="modal-footer" class="modal-footer">
170
+ <button type="button" class="btn btn-success" @click='confirmPage()'>确定</button>
171
+ <button type="button" class="btn btn-default" @click='cancelPage()'>取消</button>
172
+ </footer>
173
+ </modal>
174
+
126
175
  <modal v-if="showUserFile" :show.sync="showUserFile" v-ref:modal :backdrop="false" title="点火信息">
127
176
  <header slot="modal-header" class="modal-header">
128
177
  <button type="button" class="close" @click="closeModal"><span>&times;</span></button>
@@ -641,18 +690,22 @@ export default {
641
690
  model: {
642
691
  data: null
643
692
  },
693
+ query: {},//查询数据
644
694
  selectedData:[],
645
695
  showselect:false, //checkbox按钮
646
696
  showclean:false, //删除
647
697
  showrecover:false, //恢复
648
698
  showUserFile:false, //点火信息表
649
699
  showback:false,//退回
700
+ void:false,//作废
650
701
  showfiling:false,//退回
651
702
  showcover:false,//恢复退回数据
652
703
  showbackremark:false,//退回界面
704
+ signReasonPage: false,//标记原因界面
653
705
  f_comments:'',
654
706
  showhina:true, //导入
655
707
  showremark:false,
708
+ signReason: false,//标记原因
656
709
  showfire:false, //点火按钮
657
710
  userinfo:{},
658
711
  showreason:false,
@@ -660,22 +713,31 @@ export default {
660
713
  all:[],
661
714
  remark:'',
662
715
  getfield: {
663
- 'f_apply_num': '报建编号',
664
- 'f_contract_number': '合同编号',
665
- 'f_apply_type': '报建类型',
666
- 'f_charge_money': '收费金额',
667
- 'f_payment_method': '付款方式',
668
- 'f_charge_collectors': '收费人员',
669
- 'f_charge_date': '收费日期',
670
- 'f_charging_status': '状态',
671
- 'f_address': '地址'
672
- }
716
+ "f_pcd": "省市区",
717
+ "f_street": "街道",
718
+ "f_slice_area": "片区/管理站",
719
+ "f_residential_area": "小区",
720
+ "f_special": "地址类型",
721
+ "f_building": "楼号",
722
+ "f_unit": "单元号",
723
+ "f_floor": "楼层",
724
+ "f_room": "门牌号",
725
+ "f_address": "地址",
726
+ "f_user_name": "用户姓名/单位名称",
727
+ "f_user_phone": "电话",
728
+ "f_credentials": "证件类型",
729
+ "f_idnumber": "证件号码",
730
+ "f_people_num": "人口数"
731
+ },
732
+ condition: "1 = 1"
673
733
  }
674
734
  },
675
735
  ready () {
676
- if(this.selectdata.defname==='竣工验收'||this.selectdata.defname==='营业厅建档'||this.selectdata.f_apply_type==='验收退回'&&this.selectdata.f_apply_type!=='工商户报建')
736
+ if(this.selectdata.f_apply_type!=='工商户报建')
677
737
  {
678
738
  this.showselect=true
739
+ this.void = true
740
+ this.signReason = true
679
741
  }
680
742
  if(this.selectdata.defname==='报建登记')
681
743
  {
@@ -718,6 +780,24 @@ export default {
718
780
  console.log(this.model)
719
781
  console.log(this.selectedData)
720
782
  },
783
+ voidFunction() {
784
+ let data = {
785
+ userData: this.selectedData,
786
+ userType: "标记"
787
+ }
788
+ this.$showMessage('确认标记吗?', ['confirm', 'cancel']).then(
789
+ (response) => {
790
+ if (response === 'confirm') {
791
+ this.$resetpost('rs/logic/updateUserState', {data: data}, {resolveMsg: '标记成功', rejectMsg: '标记失败'})
792
+ .then((res) => {
793
+ // this.$showMessage("作废成功!")
794
+ this.search()
795
+ })
796
+ } else if (response === 'cancel') {
797
+ this.$dispatch('cancel')
798
+ }
799
+ })
800
+ },
721
801
  async unpass() {
722
802
  console.log("1342244", this.selectedData[0].f_user_state)
723
803
  for (let i = 0; i < this.selectedData.length; i++) {
@@ -726,7 +806,7 @@ export default {
726
806
  }
727
807
  let http = new HttpResetClass()
728
808
  http.load('POST', 'rs/logic/batchcheck', {data:data}, {resolveMsg: null, rejectMsg: null})
729
- }
809
+ }
730
810
 
731
811
  console.log("13ef44", this.selectdata.f_process_id)
732
812
  let http = new HttpResetClass()
@@ -736,14 +816,13 @@ export default {
736
816
  }
737
817
  },
738
818
  {resolveMsg: null, rejectMsg: null})
739
- console.log("v2",son.data[0].f_process_id)
740
819
  console.log("v2df",son.data)
741
820
  if(son.data.length>0){
742
821
  console.log("evv")
743
822
  http.load('POST', 'rs/logic/recoverson', {process:son.data[0].f_process_id}, {resolveMsg: null, rejectMsg: null})
744
823
  this.$dispatch('search')
745
824
  }
746
- else {
825
+ else {
747
826
  let data = {
748
827
  start_activity: this.$workflow_vue.start_activity,
749
828
  model: this.selectdata,
@@ -765,26 +844,62 @@ else {
765
844
  this.$dispatch('search')
766
845
  }
767
846
  },
847
+
768
848
  async pass() {
769
- for (let i = 0; i < this.selectedData.length; i++) {
770
- let data={
771
- code:this.selectedData[i].f_userinfo_code
772
- }
849
+
773
850
  let http = new HttpResetClass()
774
- http.load('POST', 'rs/logic/mergecheck', {data:data}, {resolveMsg: null, rejectMsg: null})
851
+ let data = {
852
+ tablename: 't_apply',
853
+ condition: `f_process_id='${this.selectdata.f_process_id}'`
854
+ }
855
+ let parentres = await http.load('POST', 'rs/sql/singleTable', {data: data}, {
856
+ resolveMsg: null,
857
+ rejectMsg: null
858
+ })
859
+
860
+ let data2 = {
861
+ tablename: 'activityins',
862
+ condition: `processid='${parentres.data[0].f_parent_process_id}'`
775
863
  }
776
- await this.search()
777
- console.log("vewvvb",this.model.data)
778
- if(this.model.data.length===0) {
779
- let res = await this.$resetpost(
780
- `rs/logic/mergeapply`,
781
- {data: this.selectdata},
782
- {resolveMsg: null, rejectMsg: '终止流程!!!'}
783
- )
784
- console.log("返回值", res.data)
785
- console.log("返回", res)
864
+ let resparent = await http.load('POST', 'rs/sql/singleTable', {data: data2}, {
865
+ resolveMsg: null,
866
+ rejectMsg: null
867
+ })
868
+ //查父流程是否关闭
869
+ for(let i=0;i<resparent.data.length;i++) {
870
+ if (resparent.data[i].defname === '竣工验收' && resparent.data[i].state === '结束')
871
+ // let http2 = new HttpResetClass()
872
+ await http.load('POST', 'rs/logic/parentprocess', {data: {processid: resparent.data[i].processid, defname: resparent.data[i].defname}}, {
873
+ resolveMsg: null,
874
+ rejectMsg: null
875
+ })
876
+ if (resparent.data[i].defname === '营业厅建档' && resparent.data[i].state === '结束')
877
+ // let http3 = new HttpResetClass()
878
+ await http.load('POST', 'rs/logic/parentprocess', {data: {processid: resparent.data[i].processid, defname: resparent.data[i].defname}}, {
879
+ resolveMsg: null,
880
+ rejectMsg: null
881
+ })
786
882
  }
787
- this.$dispatch('search')
883
+ for (let i = 0; i < this.selectedData.length; i++) {
884
+ let data = {
885
+ code: this.selectedData[i].f_userinfo_code
886
+ }
887
+ let http = new HttpResetClass()
888
+ http.load('POST', 'rs/logic/mergecheck', {data: data}, {resolveMsg: null, rejectMsg: null})
889
+ }
890
+ await this.search()
891
+ console.log("vewvvb", this.model.data)
892
+ if (this.model.data.length === 0) {
893
+ let res = await this.$resetpost(
894
+ `rs/logic/mergeapply`,
895
+ {data: this.selectdata},
896
+ {resolveMsg: null, rejectMsg: '终止流程!!!'}
897
+ )
898
+ console.log("返回值", res.data)
899
+ console.log("返回", res)
900
+ }
901
+ this.$dispatch('search')
902
+
788
903
  },
789
904
  async filing() {
790
905
  console.log("1342244", this.selectedData[0].f_user_state)
@@ -857,7 +972,23 @@ else {
857
972
  }
858
973
  this.showFile = !this.showFile
859
974
  },
975
+ async clear() {
976
+ this.query = {}
977
+ this.condition = "1 = 1"
978
+ },
979
+ conditionData() {
980
+ if (this.query.f_user_name && !this.query.f_user_phone) {
981
+ this.condition = "f_user_name = '" + this.query.f_user_name + "'"
982
+ }
983
+ if (this.query.f_user_phone && !this.query.f_user_name) {
984
+ this.condition = "f_user_phone = '" + this.query.f_user_phone + "'"
985
+ }
986
+ if (this.query.f_user_name && this.query.f_user_phone) {
987
+ this.condition = "f_user_name = '" + this.query.f_user_name + "'" + " and f_user_phone = '" + this.query.f_user_phone + "'"
988
+ }
989
+ },
860
990
  async search () {
991
+ this.conditionData()
861
992
  console.log("selectdata.f2")
862
993
  console.log(this.selectdata)
863
994
  if(this.selectdata.showDefnames){
@@ -867,7 +998,7 @@ else {
867
998
  this.showclean=false
868
999
  let http = new HttpResetClass()
869
1000
  let data = {
870
- condition: " 1=1",
1001
+ condition: this.condition,
871
1002
  f_filialeid: this.$login.f.orgid,
872
1003
  f_process_id: this.selectdata.f_process_id,
873
1004
  state:'销户'
@@ -883,7 +1014,7 @@ else {
883
1014
  {
884
1015
  let http = new HttpResetClass()
885
1016
  let data = {
886
- condition: " 1=1",
1017
+ condition: this.condition,
887
1018
  f_filialeid: this.$login.f.orgid,
888
1019
  f_process_id: this.selectdata.f_process_id,
889
1020
  }
@@ -917,6 +1048,11 @@ else {
917
1048
  }
918
1049
  }
919
1050
  },
1051
+ //标记原因
1052
+ signremark(row) {
1053
+ this.signReasonPage = true
1054
+ this.remark = row
1055
+ },
920
1056
  async backremark(row){
921
1057
  this.showbackremark=true
922
1058
  this.remark=row
@@ -948,9 +1084,27 @@ else {
948
1084
  })
949
1085
  this.cancel()
950
1086
  },
1087
+ async confirmPage() {
1088
+ // 保存此备注信息
1089
+ console.log("备注信息:",this.f_comments,"用户id:",this.remark.f_userinfo_id)
1090
+ let http = new HttpResetClass()
1091
+ let data = {
1092
+ userType: "原因",
1093
+ f_comments: this.f_comments,
1094
+ f_userinfo_id: this.remark.f_userinfo_id
1095
+ }
1096
+ await http.load('POST', 'rs/logic/updateUserState', {data: data}, {
1097
+ resolveMsg: '添加成功',
1098
+ rejectMsg: '添加错误'
1099
+ })
1100
+ this.cancelPage()
1101
+ },
951
1102
  cancel() {
952
1103
  this.showbackremark = false;
953
1104
  },
1105
+ cancelPage() {
1106
+ this.signReasonPage = false
1107
+ },
954
1108
  // 关闭文件上传对话框
955
1109
  closeFile() {
956
1110
  this.showFile = false
@@ -1053,12 +1207,12 @@ else {
1053
1207
 
1054
1208
  },
1055
1209
  getCondition () {
1056
- return {
1057
- condition: this.$refs.cp.$refs.cri.condition,
1058
- data: {
1059
- orgid: this.$login.f.orgid
1060
- }
1210
+ let data = {
1211
+ condition: " 1=1",
1212
+ f_filialeid: this.$login.f.orgid,
1213
+ f_process_id: this.selectdata.f_process_id,
1061
1214
  }
1215
+ return data
1062
1216
  }
1063
1217
  },
1064
1218
  watch: {