apply-clients 3.4.2 → 3.4.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 (130) hide show
  1. package/android.html +23 -23
  2. package/build/dev-server.js +119 -119
  3. package/build/webpack.base.conf.js +2 -1
  4. package/build/webpack.dev.conf.js +12 -0
  5. package/dingding.html +23 -0
  6. package/index.html +33 -33
  7. package/package.json +2 -1
  8. package/src/AndroidApp.vue +35 -35
  9. package/src/DingDingApp.vue +51 -0
  10. package/src/android.js +21 -21
  11. package/src/apply.js +38 -13
  12. package/src/applyAndroid.js +46 -32
  13. package/src/applyDingDing.js +12 -0
  14. package/src/components/android/AppOnetomany.vue +343 -301
  15. package/src/components/android/AppServiceView.vue +189 -10
  16. package/src/components/android/AppSign.vue +19 -7
  17. package/src/components/android/AppTakePic.vue +143 -143
  18. package/src/components/android/AreaSelect/AppQrcodeReader.vue +73 -0
  19. package/src/components/android/AreaSelect/AppResAreaMapGroup.vue +148 -0
  20. package/src/components/android/AreaSelect/AppResAreaSelect.vue +108 -0
  21. package/src/components/android/AreaSelect/AppResAreaSelectGroup.vue +142 -0
  22. package/src/components/android/Function/AppFunctionServiceControl.vue +344 -0
  23. package/src/components/android/Function/AppInstallFunction.vue +366 -0
  24. package/src/components/android/Process/AppExplorationUser.vue +500 -320
  25. package/src/components/android/Process/AppServiceControl.vue +999 -48
  26. package/src/components/android/Process/Processes/AppAddMaterialScience.vue +477 -0
  27. package/src/components/android/Process/Processes/AppBuildSign.vue +46 -0
  28. package/src/components/android/Process/Processes/AppChargeManagement.vue +637 -0
  29. package/src/components/android/Process/Processes/AppDevicesManagement.vue +519 -0
  30. package/src/components/android/Process/Processes/AppInstallationDetails.vue +116 -90
  31. package/src/components/android/Process/Processes/AppSupplementalAgreement.vue +298 -0
  32. package/src/components/android/Process/Processes/selectApply.vue +250 -0
  33. package/src/components/android/Process/Processes/selectUserinfo.vue +182 -0
  34. package/src/components/android/ProgressReport/ProgressReportDetail.vue +64 -64
  35. package/src/components/android/Supervisory/AppProcessSupervisory.vue +205 -71
  36. package/src/components/android/Supervisory/AppSupervisoryCart.vue +69 -34
  37. package/src/components/android/TaskGraph.vue +125 -125
  38. package/src/components/common/TabButton.vue +149 -0
  39. package/src/components/common/Tabs.vue +67 -0
  40. package/src/components/image/dwg.jpg +0 -0
  41. package/src/components/image/txt.jpg +0 -0
  42. package/src/components/image//345/221/250/345/217/243/346/224/266/346/254/276/344/270/223/347/224/250/347/253/240.png +0 -0
  43. package/src/components/image//350/245/277/345/215/216/346/224/266/346/254/276/344/270/223/347/224/250/347/253/240.png +0 -0
  44. package/src/components/image//351/203/270/345/237/216/346/224/266/346/254/276/344/270/223/347/224/250/347/253/240.png +0 -0
  45. package/src/components/image//351/241/271/345/237/216/346/224/266/346/254/276/344/270/223/347/224/250/347/253/240.png +0 -0
  46. package/src/components/image//351/271/277/351/202/221/346/224/266/346/254/276/344/270/223/347/224/250/347/253/240.png +0 -0
  47. package/src/components/product/ApplyCharge/ApplyChargeList.vue +272 -53
  48. package/src/components/product/ApplyCharge/ApplyChargeSearch.vue +3 -3
  49. package/src/components/product/AreaSelect/MyAreaSelect.vue +423 -0
  50. package/src/components/product/AreaSelect/ResAreaSelect.vue +106 -0
  51. package/src/components/product/AreaSelect/ResAreaSelectGroup.vue +150 -0
  52. package/src/components/product/AreaSelect/utils/EventListener.js +29 -0
  53. package/src/components/product/AreaSelect/utils/coerceBoolean.js +7 -0
  54. package/src/components/product/Business/BusinessApply.vue +269 -0
  55. package/src/components/product/Business/CivilApply.vue +269 -0
  56. package/src/components/product/Function/InstallFunction.vue +132 -125
  57. package/src/components/product/Function/InstallInfoSelect.vue +320 -292
  58. package/src/components/product/Function/Service/FunctionServiceControl.vue +445 -222
  59. package/src/components/product/GaoDeMapComponents/GaoDeMap.vue +231 -0
  60. package/src/components/product/GroupByApply/ApplyGroupByList.vue +253 -0
  61. package/src/components/product/GroupByApply/ApplyGroupByMain.vue +53 -0
  62. package/src/components/product/GroupByApply/ApplyGroupByPaper.vue +376 -0
  63. package/src/components/product/Install/InstallProject.vue +194 -0
  64. package/src/components/product/Material/MaterialDetailed.vue +262 -0
  65. package/src/components/product/OldApply/Handle/HandleApply.vue +337 -0
  66. package/src/components/product/OldApply/Monitor/MonitorApply.vue +360 -0
  67. package/src/components/product/OldApply/OldApply.vue +209 -0
  68. package/src/components/product/OldApply/OldApplyMessage.vue +420 -0
  69. package/src/components/product/Onetomany.vue +406 -377
  70. package/src/components/product/Print/BuildOrder/buildOrderList.vue +339 -0
  71. package/src/components/product/Print/BuildOrder/printBuildOrder.vue +157 -0
  72. package/src/components/product/Print/IgnitionBill/IgnitionBill.vue +259 -0
  73. package/src/components/product/Print/IgnitionBill/printIgnitionBill.vue +168 -0
  74. package/src/components/product/Process/ExplorationSelect.vue +495 -410
  75. package/src/components/product/Process/ExplorationUser.vue +189 -138
  76. package/src/components/product/Process/Processes/InstallationDetails.vue +25 -7
  77. package/src/components/product/Process/Processes/Print/printCharge.vue +41 -17
  78. package/src/components/product/Process/Processes/Print/printChargepc.vue +142 -0
  79. package/src/components/product/Process/Processes/Print/printRefund.vue +196 -0
  80. package/src/components/product/Process/Processes/addMaterialScience.vue +454 -0
  81. package/src/components/product/Process/Processes/addressAndUserinfoManagement.vue +211 -207
  82. package/src/components/product/Process/Processes/chargeManagement.vue +20 -3
  83. package/src/components/product/Process/Processes/devicesManagement.vue +484 -478
  84. package/src/components/product/Process/Processes/selectApply.vue +2 -2
  85. package/src/components/product/Process/Service/ServiceControl.vue +638 -20
  86. package/src/components/product/Process/Service/ShowBackReason.vue +33 -33
  87. package/src/components/product/Process/ShowBackReason.vue +33 -0
  88. package/src/components/product/ServiceView.vue +357 -7
  89. package/src/components/product/Stop/StopApply.vue +101 -103
  90. package/src/components/product/Stop/StopApplyList.vue +271 -269
  91. package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +884 -186
  92. package/src/components/product/Supervisory/SupervisoryControl.vue +137 -100
  93. package/src/components/product/Supervisory/SupervisoryList.vue +201 -30
  94. package/src/components/product/Supervisory/SupervisoryhCart.vue +130 -107
  95. package/src/components/product/VueUtils/ApplyUpload.vue +275 -273
  96. package/src/components/product/VueUtils/GaoPaiYi/HighMeter.vue +1090 -0
  97. package/src/components/product/VueUtils/HighMeter.vue +208 -208
  98. package/src/components/product/VueUtils/ToolsPage.vue +51 -0
  99. package/src/components/product/VueUtils/Tree.vue +330 -0
  100. package/src/dingding.js +19 -0
  101. package/src/expandcssAndroid.less +517 -1034
  102. package/src/filiale/yuchuan/android/Process/AppServiceControl.vue +735 -731
  103. package/src/filiale/yuchuan/android/Process/Processes/AppInstallationDetails.vue +824 -824
  104. package/src/filiale/yuchuan/android/Process/Processes/AppInstallationDetailsCivil.vue +650 -650
  105. package/src/filiale/yuchuan/android/Sign/AppSignTask.vue +182 -182
  106. package/src/filiale/yuchuan/android/Sign/BuildSign.vue +50 -50
  107. package/src/filiale/yuchuan/android/Sign/ConstructSign.vue +50 -50
  108. package/src/filiale/yuchuan/android/Sign/DesignSign.vue +50 -50
  109. package/src/filiale/yuchuan/android/Sign/SupervisorSign.vue +50 -50
  110. package/src/filiale/yuchuan/android/Task/Build/BuildTsak.vue +60 -60
  111. package/src/filiale/yuchuan/android/Task/Survey/SurveyTsak.vue +60 -60
  112. package/src/filiale/yuchuan/android.js +14 -14
  113. package/src/filiale/yuchuan/pc/Order/OrderApply.vue +528 -528
  114. package/src/filiale/yuchuan/pc/Order/OrderApplyList.vue +343 -343
  115. package/src/filiale/yuchuan/pc/Print/BuildOrder/buildOrderList.vue +264 -0
  116. package/src/filiale/yuchuan/pc/Print/BuildOrder/printBuildOrder.vue +152 -0
  117. package/src/filiale/yuchuan/pc/Process/ExplorationUser.vue +149 -149
  118. package/src/filiale/yuchuan/pc/Process/Processes/ApplyMapCom.vue +67 -67
  119. package/src/filiale/yuchuan/pc/Process/Processes/InstallationDetails.vue +809 -809
  120. package/src/filiale/yuchuan/pc/Process/Processes/InstallationDetailsCivil.vue +595 -595
  121. package/src/filiale/yuchuan/pc/Process/Processes/Print/printCharge.vue +125 -0
  122. package/src/filiale/yuchuan/pc/Process/Processes/chargeManagement.vue +621 -470
  123. package/src/filiale/yuchuan/pc/Process/Service/ServiceControl.vue +1108 -1074
  124. package/src/filiale/yuchuan/pc/Sign/SignRecord.vue +24 -0
  125. package/src/filiale/yuchuan/pc/Sign/SignRecordList.vue +174 -0
  126. package/src/filiale/yuchuan/pc.js +20 -12
  127. package/src/main.js +4 -1
  128. package/src/components/product/Function/StopApplyCrrdList.vue +0 -176
  129. package/src/components/product/Function/functions/ApplyRecordCancel.vue +0 -102
  130. package/src/components/product/Function/functions/StopInstall.vue +0 -106
@@ -1,12 +1,16 @@
1
1
  <template>
2
2
  <criteria-paged :model="model" v-ref:cp>
3
- <criteria partial='criteria' @condition-changed='search' v-ref:cri>
3
+ <criteria partial='criteria' @condition-changed='$parent.searchCondition' v-ref:cri>
4
4
  <div class="form-horizontal select-overspread container-fluid auto" partial>
5
5
  <div class="row">
6
6
  <div class="form-group col-sm-3">
7
- <label class="font_normal_body">项目名称:</label>
8
- <input type="text" class="input_search" style="width: 60%" v-model="model.f_entry_name"
9
- v-on:keyup.enter="$parent.$parent.search()" condition="a.f_entry_name like '%{}%'" placeholder='项目名'>
7
+ <label class="font_normal_body">组织机构:</label>
8
+ <res-select
9
+ restype='organization'
10
+ :initresid='$parent.$parent.curorgid'
11
+ @res-select="$parent.$parent.getorg"
12
+ :is-mul="false"
13
+ ></res-select>
10
14
  </div>
11
15
  <div class="form-group col-sm-3">
12
16
  <label for="startDate" class="font_normal_body">开始时间:</label>
@@ -14,7 +18,7 @@
14
18
  style="width: 60%!important;"
15
19
  v-model="model.startDate"
16
20
  :value.sync="model.startDate"
17
- :format="'yyyy-MM-dd HH:mm:ss'"
21
+ :format="'yyyy-MM-dd 00:00:00'"
18
22
  :show-reset-button="true"
19
23
  condition="cr.f_charge_date >= '{}'">
20
24
  </datepicker>
@@ -25,7 +29,7 @@
25
29
  style="width: 60%!important;"
26
30
  v-model="model.endDate"
27
31
  :value.sync="model.endDate"
28
- :format="'yyyy-MM-dd HH:mm:ss'"
32
+ :format="'yyyy-MM-dd 23:59:59'"
29
33
  :show-reset-button="true"
30
34
  condition="cr.f_charge_date <= '{}'">
31
35
  </datepicker>
@@ -49,8 +53,8 @@
49
53
  </div>
50
54
  <div class="row" v-show="$parent.$parent.criteriaShow">
51
55
  <div class="form-group col-sm-3">
52
- <label class="font_normal_body">报建编号:</label>
53
- <input type="text" style="width: 60%" class="input_search" placeholder='报建编号' v-model="model.f_apply_num"
56
+ <label class="font_normal_body">工程编号:</label>
57
+ <input type="text" style="width: 60%" class="input_search" placeholder='工程编号' v-model="model.f_apply_num"
54
58
  v-on:keyup.enter="$parent.$parent.search()"
55
59
  condition="a.f_apply_num = '{}'">
56
60
  </div>
@@ -70,13 +74,49 @@
70
74
  :options='$parent.$parent.applytype'
71
75
  class="select select_list"
72
76
  :value-single="true"
77
+ @change="$parent.$parent.applyTypeChange()"
73
78
  close-on-select ></v-select>
74
79
  </div>
75
80
  <div class="form-group col-sm-3">
76
- <label class="font_normal_body">收费人员:</label>
77
- <input type="text" class="input_search" style="width: 60%" placeholder='收费人员' v-model="model.f_charge_collectors"
81
+ <label class="font_normal_body">报建性质:</label>
82
+ <v-select
83
+ v-model="model.f_apply_nature"
84
+ placeholder='报建性质'
85
+ condition="a.f_apply_nature = '{}'"
86
+ :value.sync="model.f_apply_nature"
87
+ :options='$parent.$parent.applyNatures'
88
+ class="select select_list"
89
+ :value-single="true"
90
+ close-on-select ></v-select>
91
+ </div>
92
+ <div class="form-group col-sm-3">
93
+ <label class="font_normal_body">用户名称:</label>
94
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
95
+ v-on:keyup.enter="$parent.$parent.search()" condition="a.f_user_name like '%{}%'" placeholder='用户名称'>
96
+ </div>
97
+ <div class="form-group col-sm-3">
98
+ <label class="font_normal_body">用户电话:</label>
99
+ <input type="text" style="width:60%" class="input_search" placeholder='用户电话' v-model="model.f_phone"
100
+ v-on:keyup.enter="$parent.$parent.search()"
101
+ condition="a.f_phone like '%{}%'">
102
+ </div>
103
+ <div class="form-group col-sm-3">
104
+ <label class="font_normal_body">用户地址:</label>
105
+ <input type="text" style="width:60%" class="input_search" placeholder='用户地址' v-model="model.f_address"
78
106
  v-on:keyup.enter="$parent.$parent.search()"
79
- condition="cr.f_charge_collectors like '%{}%'">
107
+ condition="a.f_address like '%{}%'">
108
+ </div>
109
+ <div class="form-group col-sm-3">
110
+ <label class="font_normal_body">身份证号:</label>
111
+ <input type="text" style="width:60%" class="input_search" placeholder='身份证号' v-model="model.f_idnumber"
112
+ v-on:keyup.enter="$parent.$parent.search()"
113
+ condition="a.f_idnumber like '%{}%'">
114
+ </div>
115
+ <div class="form-group col-sm-3">
116
+ <label class="font_normal_body">缴费编码:</label>
117
+ <input type="text" class="input_search" style="width: 60%" placeholder='缴费编码' v-model="model.f_charge_number"
118
+ v-on:keyup.enter="$parent.$parent.search()"
119
+ condition="cr.f_charge_number like '%{}%'">
80
120
  </div>
81
121
  <div class="form-group col-sm-3">
82
122
  <label class="font_normal_body">付款方式:</label>
@@ -90,15 +130,76 @@
90
130
  :value-single="true"
91
131
  close-on-select ></v-select>
92
132
  </div>
133
+ <div class="form-group col-sm-3">
134
+ <label class="font_normal_body">收费项目:</label>
135
+ <v-select
136
+ v-model="model.f_payment_term"
137
+ placeholder='请选择'
138
+ condition="cr.f_payment_term = '{}'"
139
+ :value.sync="model.f_payment_term"
140
+ :options='$parent.$parent.paymentTerm'
141
+ class="select select_list"
142
+ :value-single="true"
143
+ close-on-select ></v-select>
144
+ </div>
145
+ <div class="form-group col-sm-3">
146
+ <label class="font_normal_body">流&ensp;水&ensp;号:</label>
147
+ <input type="text" style="width: 60%" class="input_search" placeholder='流水号' v-model="model.f_payer_number"
148
+ v-on:keyup.enter="$parent.$parent.search()"
149
+ condition="cr.f_payer_number = '{}'">
150
+ </div>
151
+ <div class="form-group col-sm-3">
152
+ <label class="font_normal_body">部&emsp;&emsp;门:</label>
153
+ <res-select
154
+ restype='department'
155
+ :parentresid="$parent.$parent.curorgid"
156
+ :initresid='$parent.$parent.curdepid'
157
+ @res-select="$parent.$parent.getdep"
158
+ :is-mul="true"
159
+ ></res-select>
160
+ </div>
161
+ <div class="form-group col-sm-3">
162
+ <label class="font_normal_body">人&emsp;&emsp;员:</label>
163
+ <res-select
164
+ restype='user'
165
+ :parentresid="$parent.$parent.curdepid"
166
+ :initresid='$parent.$parent.curuserid'
167
+ @res-select="$parent.$parent.getuser"
168
+ :is-mul="true"></res-select>
169
+ </div>
93
170
  <div class="form-group col-sm-3">
94
171
  <label class="font_normal_body">缴费状态:</label>
95
172
  <v-select
96
- v-model="model.f_charging_status"
173
+ v-model="model.f_charge_status"
174
+ placeholder='请选择'
175
+ condition="cr.f_charge_status = '{}'"
176
+ :value.sync="model.f_charge_status"
177
+ :options='$parent.$parent.chargeStatus'
178
+ class="select select_list"
179
+ :value-single="true"
180
+ close-on-select ></v-select>
181
+ </div>
182
+ <div class="form-group col-sm-3">
183
+ <label class="font_normal_body">服务人:</label>
184
+ <v-select
185
+ v-model="model.f_servicer"
186
+ placeholder='请选择'
187
+ condition="a.f_servicer = '{}'"
188
+ :value.sync="model.f_servicer"
189
+ class="select select_list"
190
+ :options='$parent.$parent.servicerList'
191
+ :value-single="true"
192
+ close-on-select ></v-select>
193
+ </div>
194
+ <div class="form-group col-sm-3">
195
+ <label class="font_normal_body">报建发起人:</label>
196
+ <v-select
197
+ v-model="model.f_operator"
97
198
  placeholder='请选择'
98
- condition="cr.f_charging_status = '{}'"
99
- :value.sync="model.f_charging_status"
100
- :options='$parent.$parent.chargingStatus'
199
+ condition="a.f_operator = '{}'"
200
+ :value.sync="model.f_operator"
101
201
  class="select select_list"
202
+ :options='$parent.$parent.operatorList'
102
203
  :value-single="true"
103
204
  close-on-select ></v-select>
104
205
  </div>
@@ -108,18 +209,26 @@
108
209
  <data-grid :model="model" partial='list' v-ref:grid style="overflow: auto" class="list_area table_sy">
109
210
  <template partial='head'>
110
211
  <tr>
111
- <th>序号</th>
112
- <th>报建编号</th>
113
- <th>项目名称</th>
114
- <th>合同编号</th>
115
- <th>报建类型</th>
116
- <th>缴费编码</th>
117
- <th>收费金额</th>
118
- <th>付款方式</th>
119
- <th>收费人员</th>
120
- <th>收费日期</th>
121
- <th>状态</th>
122
- <th>地址</th>
212
+ <th style="white-space: nowrap;">序号</th>
213
+ <th style="white-space: nowrap;">工程编号</th>
214
+ <th style="white-space: nowrap;">合同编号</th>
215
+ <th style="white-space: nowrap;">报建类型</th>
216
+ <th style="white-space: nowrap;">报建性质</th>
217
+ <th style="white-space: nowrap;">用户名称</th>
218
+ <th style="white-space: nowrap;">用户电话</th>
219
+ <th style="white-space: nowrap;">用户地址</th>
220
+ <th style="white-space: nowrap;">身份证号</th>
221
+ <th style="white-space: nowrap;">缴费编码</th>
222
+ <th style="white-space: nowrap;">收费项目</th>
223
+ <th style="white-space: nowrap;">收费金额(退款金额)</th>
224
+ <th style="white-space: nowrap;">付款方式</th>
225
+ <th style="white-space: nowrap;">流水号</th>
226
+ <th style="white-space: nowrap;">服务人</th>
227
+ <th style="white-space: nowrap;">报建发起人</th>
228
+ <th style="white-space: nowrap;">收费人员(退款人员)</th>
229
+ <th style="white-space: nowrap;">收费日期(退款日期)</th>
230
+ <th style="white-space: nowrap;">实际收费时间</th>
231
+ <th style="white-space: nowrap;">状态</th>
123
232
  </tr>
124
233
  </template>
125
234
  <template partial='body'>
@@ -130,24 +239,48 @@
130
239
  <td style="text-align: center;">
131
240
  <nobr><font>{{row.f_apply_num}}</font></nobr>
132
241
  </td>
133
- <td style="text-align: center;">
134
- <nobr><font>{{row.f_apply_entry_name}}</font></nobr>
135
- </td>
136
242
  <td style="text-align: center;">
137
243
  <nobr><font>{{row.f_contract_number}}</font></nobr>
138
244
  </td>
139
245
  <td style="text-align: center;">
140
246
  <nobr><font>{{row.f_apply_type}}</font></nobr>
141
247
  </td>
248
+ <td style="text-align: center;">
249
+ <nobr><font>{{row.f_apply_nature}}</font></nobr>
250
+ </td>
251
+ <td style="text-align: center;">
252
+ <nobr><font>{{row.f_user_name}}</font></nobr>
253
+ </td>
254
+ <td style="text-align: center;">
255
+ <nobr><font>{{row.f_phone}}</font></nobr>
256
+ </td>
257
+ <td style="text-align: center;">
258
+ <nobr><font>{{row.f_address}}</font></nobr>
259
+ </td>
260
+ <td style="text-align: center;">
261
+ <nobr><font>{{row.f_idnumber}}</font></nobr>
262
+ </td>
142
263
  <td style="text-align: center;">
143
264
  <nobr><font>{{row.f_charge_number}}</font></nobr>
144
265
  </td>
266
+ <td style="text-align: center;">
267
+ <nobr><font>{{row.f_payment_term}}</font></nobr>
268
+ </td>
145
269
  <td style="text-align: center;">
146
270
  <nobr><font>{{row.f_charge_money}}</font></nobr>
147
271
  </td>
148
272
  <td style="text-align: center;">
149
273
  <nobr><font>{{row.f_payment_method}}</font></nobr>
150
274
  </td>
275
+ <td style="text-align: center;">
276
+ <nobr><font>{{row.f_payer_number}}</font></nobr>
277
+ </td>
278
+ <td style="text-align: center;">
279
+ <nobr><font>{{row.f_servicer}}</font></nobr>
280
+ </td>
281
+ <td style="text-align: center;">
282
+ <nobr><font>{{row.f_operator}}</font></nobr>
283
+ </td>
151
284
  <td style="text-align: center;">
152
285
  <nobr><font>{{row.f_charge_collectors}}</font></nobr>
153
286
  </td>
@@ -155,10 +288,10 @@
155
288
  <nobr><font>{{row.f_charge_date}}</font></nobr>
156
289
  </td>
157
290
  <td style="text-align: center;">
158
- <nobr><font>{{row.f_charging_status}}</font></nobr>
291
+ <nobr><font>{{row.f_actual_date}}</font></nobr>
159
292
  </td>
160
293
  <td style="text-align: center;">
161
- <nobr><font>{{row.f_address}}</font></nobr>
294
+ <nobr><font>{{row.f_charge_status}}</font></nobr>
162
295
  </td>
163
296
  </tr>
164
297
  </template>
@@ -169,23 +302,28 @@
169
302
  <script>
170
303
  import {PagedList} from 'vue-client'
171
304
  import {HttpResetClass} from 'vue-client'
305
+ import {isEmpty} from "../../Util";
172
306
  export default {
173
307
  title: '报建收费列表',
174
308
  data () {
175
309
  return {
176
- model: new PagedList('rs/sql/getApplyCharge', 30, {
177
- data: {
178
- orgid: this.$login.f.orgid
179
- }
180
- }, {
310
+ model: new PagedList('rs/sql/getApplyCharge', 30, null, {
181
311
  f_charge_money: 0
182
312
  }),
313
+ curorgid: [this.$login.f.orgid],
314
+ curdepid: [],
315
+ servicerList:[],
316
+ operatorList:[],
317
+ curuserid: [],
318
+ paymentTerm :[{label: '全部', value: ''}, ...this.$appdata.getParam('收费项目')],
183
319
  applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')],
320
+ applyNatures: [{label: '全部', value: ''}], // 报建性质
184
321
  paymentMethod: [{label: '全部', value: ''}, ...this.$appdata.getParam('付款方式')],
185
- chargingStatus: [
322
+ chargeStatus: [
186
323
  {label: '全部', value: ''},
187
324
  {label: '有效', value: '有效'},
188
- {label: '作废', value: '作废'}
325
+ {label: '作废', value: '作废'},
326
+ {label: '退款', value: '退款'}
189
327
  ],
190
328
  criteriaShow: false,
191
329
  chargeAll: {
@@ -193,54 +331,135 @@ export default {
193
331
  sum: 0
194
332
  },
195
333
  getfield: {
196
- 'f_apply_num': '报建编号',
197
- 'f_entry_name': '项目名称',
334
+ 'f_apply_num': '工程编号',
198
335
  'f_contract_number': '合同编号',
199
336
  'f_apply_type': '报建类型',
337
+ 'f_apply_nature': '报建性质',
338
+ 'f_user_name': '用户名称',
339
+ 'f_phone': '用户电话',
340
+ 'f_address': '用户地址',
341
+ 'f_idnumber': '身份证号',
342
+ 'f_charge_number': '缴费编码',
200
343
  'f_charge_money': '收费金额',
201
344
  'f_payment_method': '付款方式',
345
+ 'f_payer_number': '流水号',
202
346
  'f_charge_collectors': '收费人员',
203
347
  'f_charge_date': '收费日期',
204
- 'f_charging_status': '状态',
205
- 'f_address': '地址'
348
+ 'f_actual_date': '实际收费时间',
349
+ 'f_charge_status': '状态'
206
350
  }
207
351
  }
208
352
  },
209
353
  ready () {
210
354
  // 调用查询
211
355
  this.search()
356
+ this.getservicer()
357
+ this.getapplyoperator()
212
358
  },
213
359
  methods: {
360
+ async getservicer(){
361
+ debugger
362
+ let data = {
363
+ tablename: 't_user',
364
+ condition: `1=1`
365
+ }
366
+ let http = new HttpResetClass()
367
+ let res = await http.load(
368
+ 'POST',
369
+ `rs/sql/singleTable`,
370
+ {data: data},
371
+ {resolveMsg: null, rejectMsg: '服务人查询失败!!!'}
372
+ )
373
+ res.data.forEach(item => {
374
+ this.servicerList.push({
375
+ 'label': item.name,
376
+ 'value': item.name
377
+ })
378
+ })},
379
+
380
+ async getapplyoperator(){
381
+ debugger
382
+ let data = {
383
+ condition: `1=1`
384
+ }
385
+ let http = new HttpResetClass()
386
+ let res = await http.load('POST', 'rs/sql/getapplyOperator', {data: data}, {resolveMsg: null, rejectMsg: null})
387
+ res.data.forEach(item => {
388
+ this.operatorList.push({
389
+ 'label': item.f_operator,
390
+ 'value': item.f_operator
391
+ })
392
+ })},
393
+
394
+ applyTypeChange () {
395
+ if (!isEmpty(this.$refs.cp.$refs.cri.model.f_apply_type)) {
396
+ this.applyNatures = isEmpty(this.$appdata.getParam(`${this.$refs.cp.$refs.cri.model.f_apply_type}性质`)) ? [{label: '全部', value: ''}] : [{label: '全部', value: ''}, ...this.$appdata.getParam(`${this.$refs.cp.$refs.cri.model.f_apply_type}性质`)]
397
+ } else {
398
+ this.applyNatures = [{label: '全部', value: ''}]
399
+ }
400
+ },
214
401
  clear () {
215
402
  Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
216
- this.$refs.cp.$refs.cri.model[key] = []
403
+ this.$refs.cp.$refs.cri.model[key] = ''
217
404
  })
405
+ this.curdepid = []
406
+ this.curuserid = []
407
+ },
408
+ searchCondition (args) {
409
+ args.condition = args.condition + ` and cr.f_orgid in (${this.curorgid})`
410
+ if (this.curdepid.length > 0) {
411
+ args.condition = args.condition + ` and cr.f_depid in (${this.curdepid})`
412
+ }
413
+ if (this.curuserid.length > 0) {
414
+ args.condition = args.condition + ` and cr.f_charge_collectors_id in (${this.curuserid})`
415
+ }
416
+ this.model.search(args.condition, args.model)
218
417
  },
219
418
  // 查询
220
419
  search () {
221
420
  this.$refs.cp.$refs.cri.search()
222
421
  this.getChargeAll()
422
+ this.getapplyoperator()
223
423
  },
224
424
  async getChargeAll () {
225
425
  let http = new HttpResetClass()
226
426
  let data = {
227
- condition: this.model.condition,
228
- data: {
229
- orgid: this.$login.f.orgid
230
- }
427
+ condition: this.model.condition
231
428
  }
232
429
  let res = await http.load('POST', 'rs/sql/getChargeAll', {data: data}, {resolveMsg: null, rejectMsg: null})
233
430
 
234
431
  this.chargeAll = res.data[0]
235
- }
432
+ },
433
+ getuser (val) {
434
+ if (val.length <= 0) {
435
+ return
436
+ }
437
+ this.curuserid = val
438
+ this.search()
439
+ },
440
+ getdep (val) {
441
+ if (val.length <= 0) {
442
+ return
443
+ }
444
+ this.curdepid = val
445
+ this.curuserid = []
446
+ this.search()
447
+ },
448
+ getorg (val) {
449
+ if (val.length <= 0) {
450
+ return
451
+ }
452
+ this.curorgid = val
453
+ this.curdepid = []
454
+ this.curuserid = []
455
+ this.search()
456
+ },
457
+
236
458
  },
237
459
  computed: {
238
460
  getCondition () {
239
461
  return {
240
- condition: this.$refs.cp.$refs.cri.condition,
241
- data: {
242
- orgid: this.$login.f.orgid
243
- }
462
+ condition: this.model.condition
244
463
  }
245
464
  }
246
465
  }
@@ -4,9 +4,9 @@
4
4
  <div style="height: 95%">
5
5
  <apply-charge-list v-ref:query ></apply-charge-list>
6
6
  </div>
7
- <p class="bg-info text-center" style="font-size: 20px;height: 5%">合计收费记录共
8
- <span style="color: red">{{$refs.query.chargeAll.count}}</span>笔,
9
- 合计金额<span style="color: red">{{$refs.query.chargeAll.sum}}</span>元
7
+ <p class="bg-info text-center" style="font-size: 20px;height: 5%">
8
+ 合计记录共<span style="color: red">&ensp;{{$refs.query.chargeAll.count}}&ensp;</span>笔,
9
+ 合计金额<span style="color: red">&ensp;{{$refs.query.chargeAll.sum}}&ensp;</span>元
10
10
  </p>
11
11
  </div>
12
12
  </div>