manage-client 3.2.87-aode → 3.2.87-aodeToV4

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 (308) hide show
  1. package/.classpath +6 -6
  2. package/.eslintrc.js +16 -16
  3. package/.project +18 -18
  4. package/CHANGELOG.md +13 -13
  5. package/DOC//345/212/237/350/203/275/350/257/264/346/230/216.md +13 -13
  6. package/DOC//347/211/210/346/234/254/344/277/241/346/201/257.md +8 -8
  7. package/ManageClient.iml +12 -12
  8. package/build/dev-server.js +193 -193
  9. package/build/webpack.base.conf.js +80 -80
  10. package/build.gradle +13 -13
  11. package/config/index.js +38 -38
  12. package/gradle/wrapper/gradle-wrapper.properties +5 -5
  13. package/gradlew +234 -234
  14. package/gradlew.bat +89 -89
  15. package/package.json +101 -101
  16. package/src/App.vue +28 -28
  17. package/src/ManageHome.js +269 -269
  18. package/src/Staff/StaffCompileList.vue +334 -334
  19. package/src/Staff/StaffList.vue +161 -161
  20. package/src/Util.js +383 -383
  21. package/src/components/ManageHome/Drill/DrillList.vue +320 -320
  22. package/src/components/ManageHome/Home/CallCenter.vue +124 -124
  23. package/src/components/ManageHome/Home/Monitor.vue +329 -329
  24. package/src/components/ManageHome/Home/UserModule.vue +367 -367
  25. package/src/components/ManageHome/ImportSupplygas/AddSupply.vue +206 -206
  26. package/src/components/ManageHome/ImportSupplygas/SupplySelect.vue +85 -85
  27. package/src/components/ManageHome/ImportSupplygas/UpdateSupply.vue +187 -187
  28. package/src/components/ManageHome/Monitor/NoContact.vue +232 -232
  29. package/src/components/ManageHome/NetWork/LineInspection.vue +267 -267
  30. package/src/components/ManageHome/NetWork/NetDanger.vue +258 -258
  31. package/src/components/ManageHomeCS/CustomerService/ContentmentStatistics.vue +161 -161
  32. package/src/components/ManageHomeCS/CustomerService/ExcepCollect.vue +201 -201
  33. package/src/components/ManageHomeCS/CustomerService/ReasonComplaint.vue +116 -116
  34. package/src/components/ManageHomeCS/CustomerService/ReasonConsultation.vue +115 -115
  35. package/src/components/ManageHomeCS/CustomerService/ServiceFix.vue +195 -195
  36. package/src/components/ManageHomeCS/CustomerService/ServiceHome.vue +177 -177
  37. package/src/components/ManageHomeCS/CustomerService/ServiceStatistics.vue +173 -173
  38. package/src/components/ManageHomeCS/Drill/DrillData.vue +792 -792
  39. package/src/components/ManageHomeCS/Drill/DrillList.vue +320 -320
  40. package/src/components/ManageHomeCS/Home/CallCenter.vue +191 -191
  41. package/src/components/ManageHomeCS/Home/GasValue.vue +377 -377
  42. package/src/components/ManageHomeCS/Home/Home.vue +55 -55
  43. package/src/components/ManageHomeCS/Home/Monitor.vue +415 -415
  44. package/src/components/ManageHomeCS/Home/NetWork.vue +223 -223
  45. package/src/components/ManageHomeCS/Home/SafeCheck.vue +443 -443
  46. package/src/components/ManageHomeCS/Home/UserModule.vue +527 -527
  47. package/src/components/ManageHomeCS/ImportSupplygas/AddSupply.vue +206 -206
  48. package/src/components/ManageHomeCS/ImportSupplygas/SupplySelect.vue +85 -85
  49. package/src/components/ManageHomeCS/ImportSupplygas/UpdateSupply.vue +187 -187
  50. package/src/components/ManageHomeCS/ManageHome.vue +149 -149
  51. package/src/components/ManageHomeCS/Monitor/Caveat.vue +301 -301
  52. package/src/components/ManageHomeCS/Monitor/ComparedGas.vue +264 -264
  53. package/src/components/ManageHomeCS/Monitor/MeterBrand.vue +221 -221
  54. package/src/components/ManageHomeCS/Monitor/MonitorCenter.vue +136 -136
  55. package/src/components/ManageHomeCS/Monitor/MonitorHome.vue +188 -188
  56. package/src/components/ManageHomeCS/Monitor/NoBuyGas.vue +233 -233
  57. package/src/components/ManageHomeCS/Monitor/NoContact.vue +246 -246
  58. package/src/components/ManageHomeCS/Monitor/NoGas.vue +212 -212
  59. package/src/components/ManageHomeCS/NetWork/LineInspection.vue +268 -268
  60. package/src/components/ManageHomeCS/NetWork/NetDanger.vue +258 -258
  61. package/src/components/ManageHomeCS/NetWork/NetHome.vue +108 -108
  62. package/src/components/ManageHomeCS/NetWork/NetWork.vue +222 -222
  63. package/src/components/ManageHomeCS/NetWork/NetWorkMap.vue +86 -86
  64. package/src/components/ManageHomeCS/NewHome/NewManageHome.vue +64 -64
  65. package/src/components/ManageHomeCS/NewHome/TextBusiness.vue +340 -340
  66. package/src/components/ManageHomeCS/NewHome/TextChildsellgas.vue +206 -206
  67. package/src/components/ManageHomeCS/NewHome/TextProfit.vue +275 -275
  68. package/src/components/ManageHomeCS/NewHome/TextSellgas.vue +79 -79
  69. package/src/components/ManageHomeCS/NewHome/TextShanximap.vue +389 -389
  70. package/src/components/ManageHomeCS/NewHome/TextTotalsellgas.vue +403 -403
  71. package/src/components/ManageHomeCS/NewHome/TextUser.vue +298 -298
  72. package/src/components/ManageHomeCS/NewHome/shanxi.vue +437 -437
  73. package/src/components/ManageHomeCS/SecurityCheck/CustomerType.vue +246 -246
  74. package/src/components/ManageHomeCS/SecurityCheck/LatentDanger.vue +263 -263
  75. package/src/components/ManageHomeCS/SecurityCheck/PlanStatistics.vue +306 -306
  76. package/src/components/ManageHomeCS/User/GasDistri.vue +343 -343
  77. package/src/components/ManageHomeCS/User/InspecDistri.vue +348 -348
  78. package/src/components/ManageHomeCS/User/SaleProportion.vue +336 -336
  79. package/src/components/ManageHomeCS/User/UseHome.vue +154 -154
  80. package/src/components/ManageHomeCS/User/UserGascontrast.vue +224 -224
  81. package/src/components/ManageHomeCS/User/UserNumber.vue +599 -599
  82. package/src/components/ManageHomeCS/User/UsernumIncrease.vue +277 -277
  83. package/src/components/MeterManage/ChangeMeterQuery.vue +82 -82
  84. package/src/components/MeterManage/ChargeQuery.vue +79 -79
  85. package/src/components/MeterManage/FillCardQuery.vue +80 -80
  86. package/src/components/MeterManage/FillGasQuery.vue +80 -80
  87. package/src/components/MeterManage/HandQuery.vue +72 -72
  88. package/src/components/MeterManage/MeterList.vue +336 -336
  89. package/src/components/MeterManage/MeterMsg.vue +181 -181
  90. package/src/components/MeterManage/OtherChargeQuery.vue +78 -78
  91. package/src/components/MeterManage/ReversalQuery.vue +77 -77
  92. package/src/components/MeterManage/TransferQuery.vue +72 -72
  93. package/src/components/SellReport/BankManager.vue +146 -146
  94. package/src/components/SellReport/BonSummary.vue +182 -182
  95. package/src/components/SellReport/BusSummary.vue +238 -238
  96. package/src/components/SellReport/ChargeBill.vue +186 -186
  97. package/src/components/SellReport/CollectFee.vue +184 -184
  98. package/src/components/SellReport/Contrast.vue +188 -188
  99. package/src/components/SellReport/FenxiangSell.vue +183 -183
  100. package/src/components/SellReport/GasCollect.vue +174 -174
  101. package/src/components/SellReport/GasPrice.vue +183 -183
  102. package/src/components/SellReport/GaspriceHas.vue +141 -141
  103. package/src/components/SellReport/GetSummary.vue +186 -186
  104. package/src/components/SellReport/GetUserNum.vue +166 -166
  105. package/src/components/SellReport/HandCollect.vue +189 -189
  106. package/src/components/SellReport/HandplanBili.vue +73 -73
  107. package/src/components/SellReport/JinChengBusSummary.vue +182 -182
  108. package/src/components/SellReport/JinChengHandGas.vue +182 -182
  109. package/src/components/SellReport/JinChengOperSummary.vue +182 -182
  110. package/src/components/SellReport/JinChengSliceSumgas.vue +182 -182
  111. package/src/components/SellReport/ManageBusSummary.vue +241 -241
  112. package/src/components/SellReport/ManageGasPrice.vue +183 -183
  113. package/src/components/SellReport/ManageHandInputtor.vue +241 -241
  114. package/src/components/SellReport/ManageMonthGas.vue +181 -181
  115. package/src/components/SellReport/ManageNewGasPrice.vue +240 -240
  116. package/src/components/SellReport/ManageSellType.vue +183 -183
  117. package/src/components/SellReport/ManageUserCollect.vue +177 -177
  118. package/src/components/SellReport/MeterBill.vue +185 -185
  119. package/src/components/SellReport/MeterInput.vue +185 -185
  120. package/src/components/SellReport/MeterReader.vue +203 -203
  121. package/src/components/SellReport/OweAging.vue +174 -174
  122. package/src/components/SellReport/QTXManageBusSummary.vue +234 -234
  123. package/src/components/SellReport/RefundQuery.vue +237 -237
  124. package/src/components/SellReport/ReportHistory.vue +80 -80
  125. package/src/components/SellReport/ReportItems.vue +39 -39
  126. package/src/components/SellReport/ReportPool.vue +40 -40
  127. package/src/components/SellReport/Selling.vue +188 -188
  128. package/src/components/SellReport/SiteManager.vue +151 -151
  129. package/src/components/SellReport/UsertypePie.vue +99 -99
  130. package/src/components/SellReport/VolumeStatistics.vue +226 -226
  131. package/src/components/SellReport/YuShou.vue +185 -185
  132. package/src/components/SellReport/getWebReport.vue +181 -181
  133. package/src/components/SellReport/jingwei/CardCharge.vue +142 -142
  134. package/src/components/SellReport/jingwei/MachineCharge.vue +141 -141
  135. package/src/components/SellReport/jingwei/PaymentNotice.vue +316 -316
  136. package/src/components/SellReport/jingwei/handplanReport.vue +225 -225
  137. package/src/components/TelReport/TrafficAssess.vue +99 -99
  138. package/src/components/TelReport/TrafficBasic.vue +117 -117
  139. package/src/components/TelReport/ZhiHuanservice.vue +147 -147
  140. package/src/components/WebReport/AbnormalInfo.vue +197 -197
  141. package/src/components/WebReport/AbnormalInfoEcharts.vue +120 -120
  142. package/src/components/WebReport/BatteryLow.vue +148 -148
  143. package/src/components/WebReport/BussinessType.vue +140 -140
  144. package/src/components/WebReport/Communication.vue +131 -131
  145. package/src/components/WebReport/EchartsBox.vue +110 -110
  146. package/src/components/WebReport/ElectroMagnetic.vue +142 -142
  147. package/src/components/WebReport/GaspriceHas.vue +141 -141
  148. package/src/components/WebReport/HandplanPrint.vue +167 -167
  149. package/src/components/WebReport/NotUpload.vue +165 -165
  150. package/src/components/WebReport/OweQuery.vue +169 -169
  151. package/src/components/WebReport/Paymentpie.vue +160 -160
  152. package/src/components/WebReport/ReportWorklist.vue +220 -220
  153. package/src/components/WebReport/SellType.vue +89 -89
  154. package/src/components/WebReport/Telemanlist.vue +221 -221
  155. package/src/components/WebReport/UserGasAll.vue +214 -214
  156. package/src/components/WebReport/UserGasEcharts.vue +107 -107
  157. package/src/components/WebReport/UsertypePie.vue +105 -105
  158. package/src/components/WebReport/ValueEcharts.vue +99 -99
  159. package/src/components/WebReport/ValueInfo.vue +194 -194
  160. package/src/components/safecheck/analysis/SafeHiddenAnaly.vue +932 -932
  161. package/src/components/sale/businessquery/BusinessManage.vue +109 -109
  162. package/src/components/sale/businessquery/CancelChargeQuery.vue +650 -650
  163. package/src/components/sale/businessquery/ChangeMeterQuery.vue +667 -667
  164. package/src/components/sale/businessquery/ChargeQuery.vue +663 -663
  165. package/src/components/sale/businessquery/DeductionGas.vue +149 -149
  166. package/src/components/sale/businessquery/DisableQuery.vue +315 -315
  167. package/src/components/sale/businessquery/EnableQuery.vue +315 -315
  168. package/src/components/sale/businessquery/FillCardQuery.vue +436 -436
  169. package/src/components/sale/businessquery/FillGasQuery.vue +435 -435
  170. package/src/components/sale/businessquery/HandplanQuery.vue +705 -705
  171. package/src/components/sale/businessquery/InspectListGas.vue +456 -456
  172. package/src/components/sale/businessquery/InspectListUser.vue +366 -366
  173. package/src/components/sale/businessquery/InspectManage.vue +37 -37
  174. package/src/components/sale/businessquery/NewAccountQuery.vue +511 -511
  175. package/src/components/sale/businessquery/OtherChargeDetailQuery.vue +70 -70
  176. package/src/components/sale/businessquery/OtherChargeQuery.vue +406 -406
  177. package/src/components/sale/businessquery/QueryUserState.vue +313 -313
  178. package/src/components/sale/businessquery/ReverseQuery.vue +347 -347
  179. package/src/components/sale/businessquery/SellingHand.vue +340 -340
  180. package/src/components/sale/businessquery/TransferQuery.vue +363 -363
  181. package/src/components/sale/businessquery/errorHandplanQuery.vue +246 -246
  182. package/src/components/sale/businessquery/ncpushQuery.vue +304 -304
  183. package/src/components/sale/businessquery/toolCardMakeQuery.vue +340 -340
  184. package/src/components/sale/common/TabButton.vue +149 -149
  185. package/src/components/sale/common/Tabs.vue +67 -67
  186. package/src/components/sale/config/exportConfig.js +271 -271
  187. package/src/components/sale/filesquery/ArchivesManage.vue +35 -35
  188. package/src/components/sale/filesquery/ChangeUserQuery.vue +396 -396
  189. package/src/components/sale/filesquery/DeviceQuery.vue +329 -329
  190. package/src/components/sale/filesquery/MeterQuery.vue +613 -613
  191. package/src/components/sale/filesquery/UserQuery.vue +556 -556
  192. package/src/components/sale/filesquery/detail/UserBaseInfo.vue +69 -69
  193. package/src/components/sale/filesquery/detail/oper/ChangeMessage.vue +46 -46
  194. package/src/components/sale/filesquery/detail/oper/ExchangeOper.vue +66 -66
  195. package/src/components/sale/filesquery/detail/oper/HandOper.vue +46 -46
  196. package/src/components/sale/filesquery/detail/oper/HandleMessage.vue +46 -46
  197. package/src/components/sale/filesquery/detail/oper/OtherCharge.vue +54 -54
  198. package/src/components/sale/filesquery/detail/oper/ReplaceCard.vue +51 -51
  199. package/src/components/sale/filesquery/detail/oper/SellOper.vue +56 -56
  200. package/src/components/sale/filesquery/detail/oper/TransferMessage.vue +55 -55
  201. package/src/components/sale/filesquery/filequerydetail/BlackListQueryDetail.vue +219 -219
  202. package/src/components/sale/filesquery/filequerydetail/ChangeMeterQueryDetail.vue +246 -246
  203. package/src/components/sale/filesquery/filequerydetail/ChargeQueryDetail.vue +239 -239
  204. package/src/components/sale/filesquery/filequerydetail/DeviceQueryDetail.vue +126 -126
  205. package/src/components/sale/filesquery/filequerydetail/DisableQueryDetail.vue +272 -272
  206. package/src/components/sale/filesquery/filequerydetail/EnableQueryDetail.vue +274 -274
  207. package/src/components/sale/filesquery/filequerydetail/FillCardQueryDetail.vue +80 -80
  208. package/src/components/sale/filesquery/filequerydetail/FillGasQueryDetail.vue +80 -80
  209. package/src/components/sale/filesquery/filequerydetail/HandQueryDetail.vue +302 -302
  210. package/src/components/sale/filesquery/filequerydetail/MeterQueryDetail.vue +158 -158
  211. package/src/components/sale/filesquery/filequerydetail/OtherChargeQueryDetail.vue +198 -198
  212. package/src/components/sale/filesquery/filequerydetail/RecordQueryDetail.vue +125 -125
  213. package/src/components/sale/filesquery/filequerydetail/SellingHandDetail.vue +280 -280
  214. package/src/components/sale/filesquery/filequerydetail/TransferQueryDetail.vue +160 -160
  215. package/src/components/sale/filesquery/filequerydetail/UserQueryDetail.vue +155 -155
  216. package/src/components/sale/ncpush/ncUserLoad.vue +176 -176
  217. package/src/components/sale/ncpush/ncpushmanage/NCpushList.vue +497 -497
  218. package/src/components/sale/ncpush/ncpushmanage/NCpushManage.vue +50 -50
  219. package/src/components/sale/ncpush/ncpushmanage/NCpushSummary.vue +110 -110
  220. package/src/components/sale/ncpush/ncrecord/pushRecordQuery.vue +252 -252
  221. package/src/components/sale/ncpush/ncrecord/pushbilldatalist.vue +166 -166
  222. package/src/components/sale/ncpush/ncrecord/pushdaydatalist.vue +298 -298
  223. package/src/components/sale/ncpush/pushconfirmManage.vue +271 -271
  224. package/src/components/sale/ncpush/pushconfirmadd.vue +420 -420
  225. package/src/components/sale/ncpush/pushconfirmlist.vue +414 -414
  226. package/src/components/sale/ncpush/pushconfirmmergelist.vue +480 -480
  227. package/src/components/sale/report/aode/DayReport.vue +50 -50
  228. package/src/components/sale/report/aode/DayReportList.vue +553 -553
  229. package/src/components/sale/report/aode/DayReportSummary.vue +112 -112
  230. package/src/components/sale/report/aode/MonthByChargeType.vue +526 -526
  231. package/src/components/sale/report/aode/MonthByUserType.vue +562 -562
  232. package/src/components/sale/report/aode/YearByChargeTpye.vue +254 -254
  233. package/src/components/sale/report/aode/YearByUserType.vue +351 -351
  234. package/src/components/sale/report/aode/iot/FarawayQuery.vue +401 -401
  235. package/src/components/sale/report/aode/iot/ReportQuery.vue +387 -387
  236. package/src/components/sale/report/aode/life/LifeDayReportList.vue +324 -324
  237. package/src/components/sale/report/aode/life/LifeMonthReport.vue +487 -487
  238. package/src/components/sale/report/aode/life/LifeYearReport.vue +216 -216
  239. package/src/components/sale/report/aode/othercharge/OtherDayReport.vue +50 -50
  240. package/src/components/sale/report/aode/othercharge/OtherDayReportList.vue +414 -414
  241. package/src/components/sale/report/aode/othercharge/OtherDayReportListPrint.vue +240 -240
  242. package/src/components/sale/report/aode/othercharge/OtherDayReportSummary.vue +68 -68
  243. package/src/components/sale/report/aode/userbuyQuery.vue +477 -477
  244. package/src/components/sale/report/aode/widget/DayReportListPrint.vue +310 -310
  245. package/src/components/sale/report/aode/widget/LifeDayReportListPrint.vue +233 -233
  246. package/src/components/sale/report/aode/widget/LifeMonthPrint.vue +170 -170
  247. package/src/components/sale/report/aode/widget/LifeYearPrint.vue +160 -160
  248. package/src/components/sale/report/aode/widget/MonthByChargePrint.vue +246 -246
  249. package/src/components/sale/report/aode/widget/MonthByUserPrint.vue +232 -232
  250. package/src/components/valueaddinfo/ValueAddinfoQuery.vue +425 -425
  251. package/src/components/valueaddinfo/renewalvalueAddUserQuery.vue +371 -371
  252. package/src/components/valueaddinfo/valueAddCountQuery.vue +315 -315
  253. package/src/components/valueaddinfo/valueAddUserQuery.vue +404 -404
  254. package/src/components/webmeter/ArreasuserQuery.vue +193 -193
  255. package/src/components/webmeter/DrillData/LargeScreenAnalysisEcharts.vue +710 -710
  256. package/src/components/webmeter/DrillData/LostContactAnalysis.vue +531 -531
  257. package/src/components/webmeter/DrillData/LostContactAnalysisList.vue +548 -548
  258. package/src/components/webmeter/DrillData/LostContactEcharts.vue +159 -159
  259. package/src/components/webmeter/DrillData/LostContactEform.vue +190 -190
  260. package/src/components/webmeter/DrillData/NewUserGasAll.vue +592 -592
  261. package/src/components/webmeter/DrillData/UserGasAll.vue +538 -538
  262. package/src/components/webmeter/DrillData/UserGasEcharts.vue +209 -209
  263. package/src/components/webmeter/DrillData/UserGasEform.vue +226 -226
  264. package/src/components/webmeter/DrillData/UserLostContactAnalysis.vue +527 -527
  265. package/src/components/webmeter/EasyExcelExportCk.vue +396 -396
  266. package/src/components/webmeter/IOTArrears/arrears.vue +325 -325
  267. package/src/components/webmeter/IOTArrears/iotRechargeAudit.vue +378 -378
  268. package/src/components/webmeter/IOTArrears/valueConfig.js +14 -14
  269. package/src/components/webmeter/NewWebmeterHandplanQuery.vue +605 -605
  270. package/src/components/webmeter/OperatorCount.vue +189 -189
  271. package/src/components/webmeter/WebmeterHandplanQuery.vue +640 -640
  272. package/src/components/webmeter/WebmeterHandplanQuery2CK.vue +663 -663
  273. package/src/components/webmeter/dataCollection/DataCollection.vue +630 -630
  274. package/src/components/webmeter/gasAnalysis/GasAnalysisEcharts.vue +144 -144
  275. package/src/components/webmeter/gasAnalysis/GasAnalysisManage.vue +303 -303
  276. package/src/components/webmeter/gasAnalysis/GasAnalysisSummary.vue +162 -162
  277. package/src/components/webmeter/handplan/NewWebMeterHandPlan.vue +745 -745
  278. package/src/components/webmeter/indicatorStatisticsEchars.vue +204 -204
  279. package/src/components/webmeter/indicatorStatisticsMain.vue +257 -257
  280. package/src/components/webmeter/newwebmeter/NewException/NewExceptionEcharsTotal.vue +712 -712
  281. package/src/components/webmeter/newwebmeter/NewException/NewExceptionEform.vue +149 -149
  282. package/src/components/webmeter/newwebmeter/NewException/NewExceptionEformTotal.vue +211 -211
  283. package/src/components/webmeter/newwebmeter/NewException/NewMeterException.vue +449 -449
  284. package/src/components/webmeter/newwebmeter/NewException/TotalExceptionByMeter.vue +492 -492
  285. package/src/components/webmeter/newwebmeter/NewWebUserHand.vue +324 -324
  286. package/src/components/webmeter/newwebmeter/ReportDataQuery.vue +283 -283
  287. package/src/components/webmeter/newwebmeter/UserGasEchartsList.vue +245 -245
  288. package/src/components/webmeter/newwebmeter/UserGasList.vue +295 -295
  289. package/src/components/webmeter/newwebmeter/UserInstructEchartsList.vue +286 -286
  290. package/src/components/webmeter/newwebmeter/UserInstructList.vue +311 -311
  291. package/src/components/webmeter/newwebmeter/signAnalysisEcharts.vue +258 -258
  292. package/src/components/webmeter/newwebmeter/signAnalysisEform.vue +175 -175
  293. package/src/components/webmeter/newwebmeter/signAnalysisListMain.vue +386 -386
  294. package/src/components/webmeter/report/ReportList.vue +211 -211
  295. package/src/index.js +9 -9
  296. package/src/main.js +56 -56
  297. package/src/newmanage.js +288 -288
  298. package/src/plugins/GetLoginInfoService.js +505 -505
  299. package/src/plugins/LodopFuncs.js +124 -124
  300. package/src/reportManage.js +208 -208
  301. package/src/saleManage.js +263 -263
  302. package/src/stores/DataSql.js +585 -585
  303. package/src/stores/DrillECharts.js +601 -601
  304. package/src/stores/DrillSql.js +675 -675
  305. package/src/stores/MagGetSaleParams.js +138 -138
  306. package/src/stores/MagLoadParams.js +63 -63
  307. package/src/webmeterManage.js +99 -99
  308. package/yarn-error.log +7394 -7394
@@ -1,497 +1,497 @@
1
- <template>
2
- <div v-show="!listpageshow" @keyup.enter="search">
3
- <criteria-paged :model="model" v-ref:paged @sort="sort">
4
- <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
5
- <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
6
- <div class="row">
7
- <res-select-group :style="$parent.$parent.style" :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" :mul="false" :style="$parent.$parent.style" v-ref:sel></res-select-group>
8
- <!-- <div :class="$parent.$parent.style" >-->
9
- <!-- <label for="startDate" class="font_normal_body">开始日期</label>-->
10
- <!-- <datepicker placeholder="开始日期" style="width:60%"-->
11
- <!-- v-model="model.f_startDate"-->
12
- <!-- :value.sync="model.f_startDate"-->
13
- <!-- :format="'yyyy-MM-dd HH:mm:ss'"-->
14
- <!-- class="datepicker"-->
15
- <!-- :show-reset-button="true"-->
16
- <!-- class="select"-->
17
- <!-- >-->
18
- <!-- </datepicker>-->
19
- <!-- </div>-->
20
- <!-- <div :class="$parent.$parent.style" >-->
21
- <!-- <label for="endDate" class="font_normal_body">结束日期</label>-->
22
- <!-- <datepicker placeholder="结束日期" style="width:60%"-->
23
- <!-- v-model="model.f_endDate"-->
24
- <!-- :value.sync="model.f_endDate"-->
25
- <!-- :format="'yyyy-MM-dd HH:mm:ss'"-->
26
- <!-- class="datepicker"-->
27
- <!-- :show-reset-button="true"-->
28
- <!-- class="select"-->
29
- <!-- >-->
30
- <!-- </datepicker>-->
31
- <!-- </div>-->
32
- <div :class="$parent.$parent.style">
33
- <label class="font_normal_body">用气性质</label>
34
- <v-select :value.sync="model.f_gasproperties" v-model="model.f_gasproperties"
35
- :options='$parent.$parent.useroptions' placeholder='请选择'
36
- condition="f_gasproperties = '{}'"
37
- close-on-select></v-select>
38
- </div>
39
- <div :class="$parent.$parent.style">
40
- <label class="font_normal_body">操作类型</label>
41
- <v-select :value.sync="model.f_type" v-model="model.f_type"
42
- :options='$parent.$parent.operates' placeholder='请选择'
43
- condition="f_type = '{}'"
44
- close-on-select></v-select>
45
- </div>
46
- <div v-show="false" :class="$parent.$parent.style">
47
- <label class="font_normal_body">操作状态</label>
48
- <v-select :value.sync="model.f_state" v-model="model.f_state"
49
- :options='$parent.$parent.stateoptions' placeholder='请选择'
50
- condition="f_state != '{}'"
51
- close-on-select></v-select>
52
- </div>
53
- <div v-show="false" :class="$parent.$parent.style">
54
- <label class="font_normal_body">包含APP</label>
55
- <v-select :value.sync="model.f_hasapp" v-model="model.f_hasapp"
56
- :options='$parent.$parent.hasapps' placeholder='请选择'
57
- condition="f_operator {} "
58
- close-on-select></v-select>
59
- </div>
60
-
61
- <div class="button-range" style="float:right;margin-top:10px">
62
- <button class="button_search button_spacing" @click="search()">查询</button>
63
- <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
64
- <!-- <export-excel :data="$parent.$parent.getCondition" v-ref:exportexcel-->
65
- <!-- :field="$parent.$parent.getfield"-->
66
- <!-- :defaultselect="$parent.$parent.selectfields"-->
67
- <!-- sqlurl="rs/logic/exportfile" sql-name="aode_dayReport" template-name='日清单' :choose-col="true"-->
68
- <!-- class="button_export button_spacing"></export-excel>-->
69
- <!-- <day-report-list-print :countmodel="{sumsmodel:$parent.$parent.sumsmodel,model:$parent.$parent.model,orgname:$parent.$parent.orgname,depname:$parent.$parent.depname}"></day-report-list-print>-->
70
- <button v-if="$parent.$parent.pushncshow && $parent.$parent.pushncshow2 " class="button_search button_spacing" @click="$parent.$parent.showpushconfirm()">交账</button>
71
- <div style="float: right" class="button_spacing" :class="{'button_shrink_left':$parent.$parent.criteriaShow,'button_shrink_right':!$parent.$parent.criteriaShow}" @click="$parent.$parent.show()"></div>
72
- </div>
73
-
74
- </div>
75
- </div>
76
- </criteria>
77
- <data-grid :model="model" :sumsmodel="sumsmodel" partial='list' class="list_area table_sy" v-ref:grid >
78
- <template partial='head'>
79
- <tr>
80
- <th>
81
- <data-order field="f_userinfo_code" name="客户编号"></data-order>
82
- <!--<nobr>客户编号</nobr>-->
83
- </th>
84
- <th><data-order field="f_user_name" name="客户姓名"></data-order>
85
- <!--<nobr>客户姓名</nobr>-->
86
- </th>
87
- <th><nobr>地址</nobr></th>
88
- <th>
89
- <data-order field="f_meter_brand" name="气表厂家"></data-order>
90
- </th>
91
- <th><data-order field="f_operate_date" name="操作时间"></data-order>
92
- <!--<nobr>操作时间</nobr>-->
93
- </th>
94
- <th><data-order field="f_operate_date" name="操作状态"></data-order>
95
- <!--<nobr>操作时间</nobr>-->
96
- </th>
97
- <th>
98
- <data-order field="f_stair1price" name="1单价"></data-order>
99
- </th>
100
- <th>
101
- <data-order field="f_stair1amount" name="1气量"></data-order>
102
- </th>
103
- <th>
104
- <data-order field="f_stair2price" name="2单价"></data-order>
105
- </th>
106
- <th>
107
- <data-order field="f_stair2amount" name="2气量"></data-order>
108
- </th>
109
- <th>
110
- <data-order field="f_stair3price" name="3单价"></data-order>
111
- </th>
112
- <th>
113
- <data-order field="f_stair3amount" name="3气量"></data-order>
114
- </th>
115
- <th>
116
- <data-order field="f_pregas" name="气量"></data-order>
117
- </th>
118
- <th>
119
- <data-order field="f_preamount" name="应收金额"></data-order>
120
- </th>
121
- <th>
122
- <data-order field="f_collection" name="实收金额"></data-order>
123
- </th>
124
- <th><nobr>上期余额</nobr></th>
125
- <th><nobr>本期余额</nobr></th>
126
- <th>
127
- <data-order field="f_payment" name="付款方式"></data-order>
128
- </th>
129
- <th>
130
- <data-order field="f_type" name="收费类型"></data-order>
131
- </th>
132
- <th>
133
- <data-order field="f_operator" name="操作员"></data-order>
134
- </th>
135
- <th>
136
- <data-order field="f_user_type" name="客户类型"></data-order>
137
- </th>
138
- <th><nobr>备注</nobr></th>
139
-
140
- </tr>
141
- </template>
142
- <template partial='body' >
143
- <td style="text-align: center;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}" ><nobr>
144
- <span @click="$parent.$parent.$parent.showmsg(row)"><a>{{row.f_userinfo_code}}</a></span>
145
- </nobr> </td>
146
- <td style="text-align: left;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}"><nobr>{{row.f_user_name}}</nobr></td>
147
- <td style="text-align: center;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}"><nobr>{{row.f_address}}</nobr></td>
148
- <td style="text-align: center;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}"><nobr>{{row.f_meter_brand}}</nobr></td>
149
- <td style="text-align: center;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}"><nobr>{{row.f_operate_date}}</nobr></td>
150
- <td style="text-align: center;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}"><nobr>{{row.f_state}}</nobr></td>
151
- <td style="text-align: center;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}"><nobr>{{row.f_stair1price}}</nobr></td>
152
- <td style="text-align: center;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}"><nobr>{{row.f_stair1amount}}</nobr></td>
153
- <td style="text-align: center;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}"><nobr>{{row.f_stair2price}}</nobr></td>
154
- <td style="text-align: center;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}"><nobr>{{row.f_stair2amount}}</nobr></td>
155
- <td style="text-align: center;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}"><nobr>{{row.f_stair3price}}</nobr></td>
156
- <td style="text-align: center;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}"><nobr>{{row.f_stair3amount}}</nobr></td>
157
- <td style="text-align: center;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}"><nobr>{{row.f_pregas}}</nobr></td>
158
- <td style="text-align: center;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}"><nobr>{{row.f_preamount}}</nobr></td>
159
- <td style="text-align: center;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}"><nobr>{{row.f_collection}}</nobr></td>
160
- <td style="text-align: center;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}"><nobr>{{row.f_balance}}</nobr></td>
161
- <td style="text-align: center;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}"><nobr>{{row.f_curbalance}}</nobr></td>
162
- <td style="text-align: center;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}"><nobr>{{row.f_payment}}</nobr></td>
163
- <td style="text-align: center;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}"><nobr>{{row.f_type}}</nobr></td>
164
- <td style="text-align: center;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}"><nobr>{{row.f_operator}}</nobr></td>
165
- <td style="text-align: center;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}"><nobr>{{row.f_user_type}}</nobr></td>
166
- <td style="text-align: left;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}"><nobr>{{row.f_comments}}</nobr></td>
167
- </template>
168
- </data-grid>
169
- </criteria-paged>
170
- </div>
171
- <div v-if="pushconfirmflag" >
172
- <push-confirm-manage :searchcondition.sync="searchCondition" @closemodel="closeCode" :orgiddepid="orgCondtionStr" :model.sync="model" v-ref:pushmanage ></push-confirm-manage>
173
- </div>
174
- <div v-if="listpage">
175
- <user-info-detail-manage :f_userinfo_id="rowdata.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage>
176
- </div>
177
- </template>
178
-
179
- <script>
180
-
181
- import { PagedList } from 'vue-client'
182
- import exportConfig from '../../config/exportConfig'
183
- import DayReportSummary from "./NCpushSummary";
184
- import getLodop from '../../../../plugins/LodopFuncs'
185
-
186
- export default {
187
- components: {DayReportSummary},
188
- title: '收费记录查询',
189
- props: {
190
- style: {
191
- type: String,
192
- default: 'col-sm-2 form-group'
193
- },
194
- },
195
- data() {
196
- return {
197
- orderDefault: "'f_operate_date'",
198
- orderFields: {
199
- f_userinfo_code: 'no'
200
- },
201
- initres: {
202
- org:[this.$login.f.orgid],
203
- dep:[this.$login.f.depids],
204
- user:[this.$login.f.id]
205
- },
206
- model: new PagedList('rs/sql/nopushdayReport', 30, {},{
207
- f_pregas: 0,
208
- f_collection: 0,
209
- f_count_open: 0,
210
- f_pregas_open: 0,
211
- f_collection_open: 0,
212
- f_count_zg: 0,
213
- f_pregas_zg: 0,
214
- f_collection_zg: 0,
215
- f_count_bk: 0,
216
- f_pregas_bk: 0,
217
- f_collection_bk: 0,
218
- f_count_othercharge:0,
219
- f_collection_othercharge:0,
220
- f_count_zjbf:0,
221
- f_collection_zjbf:0,
222
- f_count_bq: 0,
223
- f_pregas_bq: 0,
224
- f_collection_bq: 0,
225
- f_count_hb: 0,
226
- f_pregas_hb: 0,
227
- f_collection_hb: 0,
228
- f_count_cz: 0,
229
- f_pregas_cz: 0,
230
- f_collection_cz: 0,
231
- f_sum_count:0,
232
- f_shouru_gas:0,
233
- f_shouru_fee:0,
234
- f_yingshou_fee:0,
235
- f_usebenqi_fee:0,
236
- f_benqi_fee:0,
237
- f_sumgtwx:0,
238
- f_sumcwsf:0,
239
- f_sumxjjf:0,
240
- f_sumzfb:0,
241
- f_sumpos:0,
242
- f_sumwxjf:0,
243
- f_sumqp:0,
244
- f_sumyysk:0,
245
- f_sumjjbq:0,
246
- f_sumbtk:0,
247
- f_count_ysk:0,
248
- f_collection_ysk:0,
249
- }),
250
- listpage:false,
251
- rowdata: {},
252
- orgCondtionStr: '',
253
- userTypes: [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')],
254
- count: 0,
255
- sumsmodel: {},
256
- printshow: false,
257
- all: false,
258
- orgname: '',
259
- depname: '',
260
- operaname:'',
261
- criteriaShow: false,
262
- operates: [{label: '全部', value: ''},...this.$appdata.getParam('日清单操作类型')],
263
- stateoptions:[{label: '全部', value: ''}, {label: '有效', value: "有效"},{label: '撤销', value: "撤销"},{label: '无效', value: "无效"},{label: '冲正', value: "冲正"}],
264
- hasapps: [{label: '包含APP', value: ''}, {label: '不包含APP', value: "!= '悦生活'"}],
265
- useroptions:[{label: ' 全部 ', value: ''},...this.$appdata.getParam('用气性质')],
266
- selectfields:[],
267
- pushncshow:false,
268
- pushncshow2:false,
269
- searchCondition:{},
270
- pushconfirmflag: false,
271
- footershow:true,
272
- footershow3:false,
273
- listpageshow:false,
274
- }
275
- },
276
- ready() {
277
- if(this.$login.r.includes('收费推送')){
278
- this.pushncshow = true;
279
- }
280
- this.$refs.paged.$refs.cri.condition += this.orgCondtionStr
281
- this.$refs.paged.$refs.cri.model.f_hasapp = [`!= '悦生活'`]
282
- this.$refs.paged.$refs.cri.model.f_startDate = this.$login.toStandardDateString() +' 00:00:00'
283
- this.$refs.paged.$refs.cri.model.f_endDate = this.$login.toStandardDateString()+' 23:59:59'
284
- this.$refs.paged.$refs.cri.model.f_state = ['无效'];
285
- for(var item in exportConfig.dataReportConfig){
286
- this.selectfields.push(item)
287
- }
288
- // this.search()
289
- },
290
- methods: {
291
- //关闭推送确认窗口
292
- closeCode(){
293
- this.$refs.pushmanage.newmodel = {};
294
- this.$refs.pushmanage.showmone = false;
295
- this.pushconfirmflag = false;
296
- this.listpageshow = false;
297
- },
298
- //显示交账页面
299
- showpushconfirm(){
300
- this.criteriaShow = false
301
- this.$emit('close')
302
- this.search();
303
- if(this.searchCondition.condition!=null && this.searchCondition.condition!='' && this.searchCondition.condition.includes("f_gasproperties") || this.searchCondition.condition.includes("f_type") ){
304
- //this.$showMessage("交账失败,本次交账未保存,只能交账一天的数据,请确认交账时间后重新交账!!");
305
- this.$showMessage("交账失败,本次交账未保存,请取消用气性质或操作类型选项!!");
306
- return;
307
- }
308
- this.$showMessage("本次交账内容查询完毕,如果继续交账请点击确认。",['confirm','cancel']).then(res=>{
309
- if(res == 'confirm'){
310
- this.pushconfirm();
311
- }
312
- })
313
- },
314
- //推送页面显示
315
- pushconfirm(){
316
- this.pushconfirmflag = true;
317
- this.listpageshow=true
318
- },
319
- showmsg(obj){
320
- this.criteriaShow = false
321
- this.$emit('close')
322
- this.rowdata=obj
323
- this.listpage=true
324
- this.listpageshow = true
325
- },
326
- cancel() {
327
- this.listpage = false
328
- this.listpageshow = false;
329
- },
330
- search() {
331
- this.$refs.paged.$refs.cri.search()
332
- },
333
- async selfSearch(args) {
334
- let f_orgstr = this.orgCondtionStr
335
- if (!this.orgCondtionStr) {
336
- f_orgstr = 'and f_orgid = ' + this.$login.f.orgid
337
- }
338
- args.condition = `${args.condition} ` + f_orgstr
339
-
340
- //this.model.params.startDate = this.$refs.paged.$refs.cri.model.f_startDate
341
- //this.model.params.endDate = this.$refs.paged.$refs.cri.model.f_endDate
342
-
343
- //推送条件: 需要 选择公司,部门
344
- if( this.orgCondtionStr.includes("f_operatorid ") ){
345
- this.pushncshow2 = true;
346
- }else{
347
- this.pushncshow2= false;
348
- }
349
- this.searchCondition = this.getCondition;
350
- //人员加载出来后再查询
351
- if(this.operaname){
352
- await this.model.search(args.condition, args.model)
353
- }
354
-
355
- this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
356
- console.log('计算合计。', this.sumsmodel)
357
- if (this.$refs.paged.$refs.grid.model.rows.length === 0) {
358
- for (let key in this.sumsmodel) {
359
- this.sumsmodel[key] = 0;
360
- }
361
- }
362
- this.$dispatch('getdata', this.sumsmodel)
363
- },
364
- getRes(condition, obj) {
365
- //判断最新组织和存储组织不同时,清空已经选择人员
366
- if(obj.depnames[0] != this.depname){
367
- this.$refs.paged.$refs.cri.$refs.sel.$children[2].selectres = []
368
- }
369
- this.orgCondtionStr = condition;
370
- this.orgname = obj.orgnames[0];
371
- this.depname = obj.depnames[0];
372
- if(obj.operatornames.length>0){
373
- this.operaname =obj.operatornames[0];
374
- }else{
375
- this.operaname='';
376
- }
377
- //当未选中人员时不可进行推送
378
- if( this.orgCondtionStr.includes("f_operatorid ") ){
379
- this.pushncshow2 = true;
380
- }else{
381
- this.pushncshow2 = false;
382
- }
383
- },
384
- clear() {
385
- //清空部门和人员
386
- this.$refs.paged.$refs.cri.$refs.sel.$children[1].selectres = [];
387
- this.$refs.paged.$refs.cri.$refs.sel.$children[2].selectres = [];
388
- //部门和人员变为全选
389
- this.$refs.paged.$refs.cri.$refs.sel.$children[1].$children[0].isSelectAll = false;
390
- this.$refs.paged.$refs.cri.$refs.sel.$children[2].$children[0].isSelectAll = false;
391
- Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
392
- this.$refs.paged.$refs.cri.model[key] = '';
393
- })
394
- //this.$refs.paged.$refs.cri.model.f_startDate = this.$login.toStandardDateString()+' 00:00:00';
395
- //this.$refs.paged.$refs.cri.model.f_endDate = this.$login.toStandardDateString()+ ' 23:59:59';
396
- },
397
- close() {
398
- this.printshow = false
399
- },
400
- getfield() {
401
-
402
- return exportConfig.dataReportConfig
403
- },
404
- show() {
405
- this.pushncshow2 = !this.pushncshow2;
406
- this.criteriaShow = !this.criteriaShow
407
- if (this.criteriaShow) {
408
- this.$emit('show')
409
- } else {
410
- this.$emit('close')
411
- }
412
- },
413
- /*sort(field, rule) {
414
- console.log('sort...')
415
-
416
- },*/
417
- sort (field, rule) {
418
- // 将所有排序方式设为不排序,实现相互排斥
419
- for (let key in this.orderFields) {
420
- if (key === field) {
421
- this.orderFields[key] = rule
422
- } else {
423
- this.orderFields[key] = 'no'
424
- }
425
- }
426
- // 如果新规则不排序,还原为默认排序
427
- if (rule === 'no') {
428
- this.model.paramSource.orderitem = `'${this.orderDefault}'`
429
- } else {
430
- this.model.paramSource.orderitem = `'${field} ${rule}'`
431
- }
432
-
433
- this.search()
434
- },
435
- },
436
- events:{
437
- 'showtogglefooter'(){
438
- this.footershow=true;
439
- },
440
- 'hiddentogglefooter'(){
441
- this.footershow=false
442
- },
443
- 'confirmcolse'(){
444
- this.pushconfirmflag = false;
445
- },
446
- 'openbutton'(){
447
- this.footershow3=true;
448
- },
449
- 'closebutton'(){
450
- this.footershow3=false;
451
- }
452
- },
453
- computed: {
454
- getCondition() {
455
- return {
456
- condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr
457
- }
458
- },
459
- gasproperties() {
460
- console.log("xxx");
461
- console.log(this.$appdata.getParam('用气性质'));
462
- console.log(this);
463
- let options = this.$appdata.getParam('用气性质')
464
- let resultoptions = [];
465
- if(options.length>0){
466
- resultoptions.push({label: ' 全部 ', value: ''})
467
- options.forEach((item)=>{
468
- console.log(item)
469
- resultoptions.push(item)
470
- })
471
- }
472
- console.log(resultoptions);
473
- return resultoptions;
474
- //return [{label: ' 全部 ', value: ''},...this.$appdata.getParam('用气性质')]
475
- }
476
- },
477
- watch:{
478
- 'pushncshow2'(val){
479
- if(val){
480
- this.search();
481
- }
482
- }
483
- }
484
- }
485
-
486
- </script>
487
-
488
- <style scoped>
489
-
490
- .col {
491
- width: 300px;
492
- overflow: hidden;
493
- text-overflow: ellipsis;
494
- white-space: nowrap;
495
- }
496
-
497
- </style>
1
+ <template>
2
+ <div v-show="!listpageshow" @keyup.enter="search">
3
+ <criteria-paged :model="model" v-ref:paged @sort="sort">
4
+ <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
5
+ <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
6
+ <div class="row">
7
+ <res-select-group :style="$parent.$parent.style" :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" :mul="false" :style="$parent.$parent.style" v-ref:sel></res-select-group>
8
+ <!-- <div :class="$parent.$parent.style" >-->
9
+ <!-- <label for="startDate" class="font_normal_body">开始日期</label>-->
10
+ <!-- <datepicker placeholder="开始日期" style="width:60%"-->
11
+ <!-- v-model="model.f_startDate"-->
12
+ <!-- :value.sync="model.f_startDate"-->
13
+ <!-- :format="'yyyy-MM-dd HH:mm:ss'"-->
14
+ <!-- class="datepicker"-->
15
+ <!-- :show-reset-button="true"-->
16
+ <!-- class="select"-->
17
+ <!-- >-->
18
+ <!-- </datepicker>-->
19
+ <!-- </div>-->
20
+ <!-- <div :class="$parent.$parent.style" >-->
21
+ <!-- <label for="endDate" class="font_normal_body">结束日期</label>-->
22
+ <!-- <datepicker placeholder="结束日期" style="width:60%"-->
23
+ <!-- v-model="model.f_endDate"-->
24
+ <!-- :value.sync="model.f_endDate"-->
25
+ <!-- :format="'yyyy-MM-dd HH:mm:ss'"-->
26
+ <!-- class="datepicker"-->
27
+ <!-- :show-reset-button="true"-->
28
+ <!-- class="select"-->
29
+ <!-- >-->
30
+ <!-- </datepicker>-->
31
+ <!-- </div>-->
32
+ <div :class="$parent.$parent.style">
33
+ <label class="font_normal_body">用气性质</label>
34
+ <v-select :value.sync="model.f_gasproperties" v-model="model.f_gasproperties"
35
+ :options='$parent.$parent.useroptions' placeholder='请选择'
36
+ condition="f_gasproperties = '{}'"
37
+ close-on-select></v-select>
38
+ </div>
39
+ <div :class="$parent.$parent.style">
40
+ <label class="font_normal_body">操作类型</label>
41
+ <v-select :value.sync="model.f_type" v-model="model.f_type"
42
+ :options='$parent.$parent.operates' placeholder='请选择'
43
+ condition="f_type = '{}'"
44
+ close-on-select></v-select>
45
+ </div>
46
+ <div v-show="false" :class="$parent.$parent.style">
47
+ <label class="font_normal_body">操作状态</label>
48
+ <v-select :value.sync="model.f_state" v-model="model.f_state"
49
+ :options='$parent.$parent.stateoptions' placeholder='请选择'
50
+ condition="f_state != '{}'"
51
+ close-on-select></v-select>
52
+ </div>
53
+ <div v-show="false" :class="$parent.$parent.style">
54
+ <label class="font_normal_body">包含APP</label>
55
+ <v-select :value.sync="model.f_hasapp" v-model="model.f_hasapp"
56
+ :options='$parent.$parent.hasapps' placeholder='请选择'
57
+ condition="f_operator {} "
58
+ close-on-select></v-select>
59
+ </div>
60
+
61
+ <div class="button-range" style="float:right;margin-top:10px">
62
+ <button class="button_search button_spacing" @click="search()">查询</button>
63
+ <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
64
+ <!-- <export-excel :data="$parent.$parent.getCondition" v-ref:exportexcel-->
65
+ <!-- :field="$parent.$parent.getfield"-->
66
+ <!-- :defaultselect="$parent.$parent.selectfields"-->
67
+ <!-- sqlurl="api/af-revenue/logic/exportfile" sql-name="aode_dayReport" template-name='日清单' :choose-col="true"-->
68
+ <!-- class="button_export button_spacing"></export-excel>-->
69
+ <!-- <day-report-list-print :countmodel="{sumsmodel:$parent.$parent.sumsmodel,model:$parent.$parent.model,orgname:$parent.$parent.orgname,depname:$parent.$parent.depname}"></day-report-list-print>-->
70
+ <button v-if="$parent.$parent.pushncshow && $parent.$parent.pushncshow2 " class="button_search button_spacing" @click="$parent.$parent.showpushconfirm()">交账</button>
71
+ <div style="float: right" class="button_spacing" :class="{'button_shrink_left':$parent.$parent.criteriaShow,'button_shrink_right':!$parent.$parent.criteriaShow}" @click="$parent.$parent.show()"></div>
72
+ </div>
73
+
74
+ </div>
75
+ </div>
76
+ </criteria>
77
+ <data-grid :model="model" :sumsmodel="sumsmodel" partial='list' class="list_area table_sy" v-ref:grid >
78
+ <template partial='head'>
79
+ <tr>
80
+ <th>
81
+ <data-order field="f_userinfo_code" name="客户编号"></data-order>
82
+ <!--<nobr>客户编号</nobr>-->
83
+ </th>
84
+ <th><data-order field="f_user_name" name="客户姓名"></data-order>
85
+ <!--<nobr>客户姓名</nobr>-->
86
+ </th>
87
+ <th><nobr>地址</nobr></th>
88
+ <th>
89
+ <data-order field="f_meter_brand" name="气表厂家"></data-order>
90
+ </th>
91
+ <th><data-order field="f_operate_date" name="操作时间"></data-order>
92
+ <!--<nobr>操作时间</nobr>-->
93
+ </th>
94
+ <th><data-order field="f_operate_date" name="操作状态"></data-order>
95
+ <!--<nobr>操作时间</nobr>-->
96
+ </th>
97
+ <th>
98
+ <data-order field="f_stair1price" name="1单价"></data-order>
99
+ </th>
100
+ <th>
101
+ <data-order field="f_stair1amount" name="1气量"></data-order>
102
+ </th>
103
+ <th>
104
+ <data-order field="f_stair2price" name="2单价"></data-order>
105
+ </th>
106
+ <th>
107
+ <data-order field="f_stair2amount" name="2气量"></data-order>
108
+ </th>
109
+ <th>
110
+ <data-order field="f_stair3price" name="3单价"></data-order>
111
+ </th>
112
+ <th>
113
+ <data-order field="f_stair3amount" name="3气量"></data-order>
114
+ </th>
115
+ <th>
116
+ <data-order field="f_pregas" name="气量"></data-order>
117
+ </th>
118
+ <th>
119
+ <data-order field="f_preamount" name="应收金额"></data-order>
120
+ </th>
121
+ <th>
122
+ <data-order field="f_collection" name="实收金额"></data-order>
123
+ </th>
124
+ <th><nobr>上期余额</nobr></th>
125
+ <th><nobr>本期余额</nobr></th>
126
+ <th>
127
+ <data-order field="f_payment" name="付款方式"></data-order>
128
+ </th>
129
+ <th>
130
+ <data-order field="f_type" name="收费类型"></data-order>
131
+ </th>
132
+ <th>
133
+ <data-order field="f_operator" name="操作员"></data-order>
134
+ </th>
135
+ <th>
136
+ <data-order field="f_user_type" name="客户类型"></data-order>
137
+ </th>
138
+ <th><nobr>备注</nobr></th>
139
+
140
+ </tr>
141
+ </template>
142
+ <template partial='body' >
143
+ <td style="text-align: center;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}" ><nobr>
144
+ <span @click="$parent.$parent.$parent.showmsg(row)"><a>{{row.f_userinfo_code}}</a></span>
145
+ </nobr> </td>
146
+ <td style="text-align: left;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}"><nobr>{{row.f_user_name}}</nobr></td>
147
+ <td style="text-align: center;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}"><nobr>{{row.f_address}}</nobr></td>
148
+ <td style="text-align: center;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}"><nobr>{{row.f_meter_brand}}</nobr></td>
149
+ <td style="text-align: center;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}"><nobr>{{row.f_operate_date}}</nobr></td>
150
+ <td style="text-align: center;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}"><nobr>{{row.f_state}}</nobr></td>
151
+ <td style="text-align: center;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}"><nobr>{{row.f_stair1price}}</nobr></td>
152
+ <td style="text-align: center;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}"><nobr>{{row.f_stair1amount}}</nobr></td>
153
+ <td style="text-align: center;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}"><nobr>{{row.f_stair2price}}</nobr></td>
154
+ <td style="text-align: center;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}"><nobr>{{row.f_stair2amount}}</nobr></td>
155
+ <td style="text-align: center;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}"><nobr>{{row.f_stair3price}}</nobr></td>
156
+ <td style="text-align: center;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}"><nobr>{{row.f_stair3amount}}</nobr></td>
157
+ <td style="text-align: center;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}"><nobr>{{row.f_pregas}}</nobr></td>
158
+ <td style="text-align: center;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}"><nobr>{{row.f_preamount}}</nobr></td>
159
+ <td style="text-align: center;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}"><nobr>{{row.f_collection}}</nobr></td>
160
+ <td style="text-align: center;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}"><nobr>{{row.f_balance}}</nobr></td>
161
+ <td style="text-align: center;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}"><nobr>{{row.f_curbalance}}</nobr></td>
162
+ <td style="text-align: center;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}"><nobr>{{row.f_payment}}</nobr></td>
163
+ <td style="text-align: center;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}"><nobr>{{row.f_type}}</nobr></td>
164
+ <td style="text-align: center;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}"><nobr>{{row.f_operator}}</nobr></td>
165
+ <td style="text-align: center;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}"><nobr>{{row.f_user_type}}</nobr></td>
166
+ <td style="text-align: left;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}"><nobr>{{row.f_comments}}</nobr></td>
167
+ </template>
168
+ </data-grid>
169
+ </criteria-paged>
170
+ </div>
171
+ <div v-if="pushconfirmflag" >
172
+ <push-confirm-manage :searchcondition.sync="searchCondition" @closemodel="closeCode" :orgiddepid="orgCondtionStr" :model.sync="model" v-ref:pushmanage ></push-confirm-manage>
173
+ </div>
174
+ <div v-if="listpage">
175
+ <user-info-detail-manage :f_userinfo_id="rowdata.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage>
176
+ </div>
177
+ </template>
178
+
179
+ <script>
180
+
181
+ import { PagedList } from 'vue-client'
182
+ import exportConfig from '../../config/exportConfig'
183
+ import DayReportSummary from "./NCpushSummary";
184
+ import getLodop from '../../../../plugins/LodopFuncs'
185
+
186
+ export default {
187
+ components: {DayReportSummary},
188
+ title: '收费记录查询',
189
+ props: {
190
+ style: {
191
+ type: String,
192
+ default: 'col-sm-2 form-group'
193
+ },
194
+ },
195
+ data() {
196
+ return {
197
+ orderDefault: "'f_operate_date'",
198
+ orderFields: {
199
+ f_userinfo_code: 'no'
200
+ },
201
+ initres: {
202
+ org:[this.$login.f.orgid],
203
+ dep:[this.$login.f.depids],
204
+ user:[this.$login.f.id]
205
+ },
206
+ model: new PagedList('api/af-revenue/sql/nopushdayReport', 30, {},{
207
+ f_pregas: 0,
208
+ f_collection: 0,
209
+ f_count_open: 0,
210
+ f_pregas_open: 0,
211
+ f_collection_open: 0,
212
+ f_count_zg: 0,
213
+ f_pregas_zg: 0,
214
+ f_collection_zg: 0,
215
+ f_count_bk: 0,
216
+ f_pregas_bk: 0,
217
+ f_collection_bk: 0,
218
+ f_count_othercharge:0,
219
+ f_collection_othercharge:0,
220
+ f_count_zjbf:0,
221
+ f_collection_zjbf:0,
222
+ f_count_bq: 0,
223
+ f_pregas_bq: 0,
224
+ f_collection_bq: 0,
225
+ f_count_hb: 0,
226
+ f_pregas_hb: 0,
227
+ f_collection_hb: 0,
228
+ f_count_cz: 0,
229
+ f_pregas_cz: 0,
230
+ f_collection_cz: 0,
231
+ f_sum_count:0,
232
+ f_shouru_gas:0,
233
+ f_shouru_fee:0,
234
+ f_yingshou_fee:0,
235
+ f_usebenqi_fee:0,
236
+ f_benqi_fee:0,
237
+ f_sumgtwx:0,
238
+ f_sumcwsf:0,
239
+ f_sumxjjf:0,
240
+ f_sumzfb:0,
241
+ f_sumpos:0,
242
+ f_sumwxjf:0,
243
+ f_sumqp:0,
244
+ f_sumyysk:0,
245
+ f_sumjjbq:0,
246
+ f_sumbtk:0,
247
+ f_count_ysk:0,
248
+ f_collection_ysk:0,
249
+ }),
250
+ listpage:false,
251
+ rowdata: {},
252
+ orgCondtionStr: '',
253
+ userTypes: [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')],
254
+ count: 0,
255
+ sumsmodel: {},
256
+ printshow: false,
257
+ all: false,
258
+ orgname: '',
259
+ depname: '',
260
+ operaname:'',
261
+ criteriaShow: false,
262
+ operates: [{label: '全部', value: ''},...this.$appdata.getParam('日清单操作类型')],
263
+ stateoptions:[{label: '全部', value: ''}, {label: '有效', value: "有效"},{label: '撤销', value: "撤销"},{label: '无效', value: "无效"},{label: '冲正', value: "冲正"}],
264
+ hasapps: [{label: '包含APP', value: ''}, {label: '不包含APP', value: "!= '悦生活'"}],
265
+ useroptions:[{label: ' 全部 ', value: ''},...this.$appdata.getParam('用气性质')],
266
+ selectfields:[],
267
+ pushncshow:false,
268
+ pushncshow2:false,
269
+ searchCondition:{},
270
+ pushconfirmflag: false,
271
+ footershow:true,
272
+ footershow3:false,
273
+ listpageshow:false,
274
+ }
275
+ },
276
+ ready() {
277
+ if(this.$login.r.includes('收费推送')){
278
+ this.pushncshow = true;
279
+ }
280
+ this.$refs.paged.$refs.cri.condition += this.orgCondtionStr
281
+ this.$refs.paged.$refs.cri.model.f_hasapp = [`!= '悦生活'`]
282
+ this.$refs.paged.$refs.cri.model.f_startDate = this.$login.toStandardDateString() +' 00:00:00'
283
+ this.$refs.paged.$refs.cri.model.f_endDate = this.$login.toStandardDateString()+' 23:59:59'
284
+ this.$refs.paged.$refs.cri.model.f_state = ['无效'];
285
+ for(var item in exportConfig.dataReportConfig){
286
+ this.selectfields.push(item)
287
+ }
288
+ // this.search()
289
+ },
290
+ methods: {
291
+ //关闭推送确认窗口
292
+ closeCode(){
293
+ this.$refs.pushmanage.newmodel = {};
294
+ this.$refs.pushmanage.showmone = false;
295
+ this.pushconfirmflag = false;
296
+ this.listpageshow = false;
297
+ },
298
+ //显示交账页面
299
+ showpushconfirm(){
300
+ this.criteriaShow = false
301
+ this.$emit('close')
302
+ this.search();
303
+ if(this.searchCondition.condition!=null && this.searchCondition.condition!='' && this.searchCondition.condition.includes("f_gasproperties") || this.searchCondition.condition.includes("f_type") ){
304
+ //this.$showMessage("交账失败,本次交账未保存,只能交账一天的数据,请确认交账时间后重新交账!!");
305
+ this.$showMessage("交账失败,本次交账未保存,请取消用气性质或操作类型选项!!");
306
+ return;
307
+ }
308
+ this.$showMessage("本次交账内容查询完毕,如果继续交账请点击确认。",['confirm','cancel']).then(res=>{
309
+ if(res == 'confirm'){
310
+ this.pushconfirm();
311
+ }
312
+ })
313
+ },
314
+ //推送页面显示
315
+ pushconfirm(){
316
+ this.pushconfirmflag = true;
317
+ this.listpageshow=true
318
+ },
319
+ showmsg(obj){
320
+ this.criteriaShow = false
321
+ this.$emit('close')
322
+ this.rowdata=obj
323
+ this.listpage=true
324
+ this.listpageshow = true
325
+ },
326
+ cancel() {
327
+ this.listpage = false
328
+ this.listpageshow = false;
329
+ },
330
+ search() {
331
+ this.$refs.paged.$refs.cri.search()
332
+ },
333
+ async selfSearch(args) {
334
+ let f_orgstr = this.orgCondtionStr
335
+ if (!this.orgCondtionStr) {
336
+ f_orgstr = 'and f_orgid = ' + this.$login.f.orgid
337
+ }
338
+ args.condition = `${args.condition} ` + f_orgstr
339
+
340
+ //this.model.params.startDate = this.$refs.paged.$refs.cri.model.f_startDate
341
+ //this.model.params.endDate = this.$refs.paged.$refs.cri.model.f_endDate
342
+
343
+ //推送条件: 需要 选择公司,部门
344
+ if( this.orgCondtionStr.includes("f_operatorid ") ){
345
+ this.pushncshow2 = true;
346
+ }else{
347
+ this.pushncshow2= false;
348
+ }
349
+ this.searchCondition = this.getCondition;
350
+ //人员加载出来后再查询
351
+ if(this.operaname){
352
+ await this.model.search(args.condition, args.model)
353
+ }
354
+
355
+ this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
356
+ console.log('计算合计。', this.sumsmodel)
357
+ if (this.$refs.paged.$refs.grid.model.rows.length === 0) {
358
+ for (let key in this.sumsmodel) {
359
+ this.sumsmodel[key] = 0;
360
+ }
361
+ }
362
+ this.$dispatch('getdata', this.sumsmodel)
363
+ },
364
+ getRes(condition, obj) {
365
+ //判断最新组织和存储组织不同时,清空已经选择人员
366
+ if(obj.depnames[0] != this.depname){
367
+ this.$refs.paged.$refs.cri.$refs.sel.$children[2].selectres = []
368
+ }
369
+ this.orgCondtionStr = condition;
370
+ this.orgname = obj.orgnames[0];
371
+ this.depname = obj.depnames[0];
372
+ if(obj.operatornames.length>0){
373
+ this.operaname =obj.operatornames[0];
374
+ }else{
375
+ this.operaname='';
376
+ }
377
+ //当未选中人员时不可进行推送
378
+ if( this.orgCondtionStr.includes("f_operatorid ") ){
379
+ this.pushncshow2 = true;
380
+ }else{
381
+ this.pushncshow2 = false;
382
+ }
383
+ },
384
+ clear() {
385
+ //清空部门和人员
386
+ this.$refs.paged.$refs.cri.$refs.sel.$children[1].selectres = [];
387
+ this.$refs.paged.$refs.cri.$refs.sel.$children[2].selectres = [];
388
+ //部门和人员变为全选
389
+ this.$refs.paged.$refs.cri.$refs.sel.$children[1].$children[0].isSelectAll = false;
390
+ this.$refs.paged.$refs.cri.$refs.sel.$children[2].$children[0].isSelectAll = false;
391
+ Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
392
+ this.$refs.paged.$refs.cri.model[key] = '';
393
+ })
394
+ //this.$refs.paged.$refs.cri.model.f_startDate = this.$login.toStandardDateString()+' 00:00:00';
395
+ //this.$refs.paged.$refs.cri.model.f_endDate = this.$login.toStandardDateString()+ ' 23:59:59';
396
+ },
397
+ close() {
398
+ this.printshow = false
399
+ },
400
+ getfield() {
401
+
402
+ return exportConfig.dataReportConfig
403
+ },
404
+ show() {
405
+ this.pushncshow2 = !this.pushncshow2;
406
+ this.criteriaShow = !this.criteriaShow
407
+ if (this.criteriaShow) {
408
+ this.$emit('show')
409
+ } else {
410
+ this.$emit('close')
411
+ }
412
+ },
413
+ /*sort(field, rule) {
414
+ console.log('sort...')
415
+
416
+ },*/
417
+ sort (field, rule) {
418
+ // 将所有排序方式设为不排序,实现相互排斥
419
+ for (let key in this.orderFields) {
420
+ if (key === field) {
421
+ this.orderFields[key] = rule
422
+ } else {
423
+ this.orderFields[key] = 'no'
424
+ }
425
+ }
426
+ // 如果新规则不排序,还原为默认排序
427
+ if (rule === 'no') {
428
+ this.model.paramSource.orderitem = `'${this.orderDefault}'`
429
+ } else {
430
+ this.model.paramSource.orderitem = `'${field} ${rule}'`
431
+ }
432
+
433
+ this.search()
434
+ },
435
+ },
436
+ events:{
437
+ 'showtogglefooter'(){
438
+ this.footershow=true;
439
+ },
440
+ 'hiddentogglefooter'(){
441
+ this.footershow=false
442
+ },
443
+ 'confirmcolse'(){
444
+ this.pushconfirmflag = false;
445
+ },
446
+ 'openbutton'(){
447
+ this.footershow3=true;
448
+ },
449
+ 'closebutton'(){
450
+ this.footershow3=false;
451
+ }
452
+ },
453
+ computed: {
454
+ getCondition() {
455
+ return {
456
+ condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr
457
+ }
458
+ },
459
+ gasproperties() {
460
+ console.log("xxx");
461
+ console.log(this.$appdata.getParam('用气性质'));
462
+ console.log(this);
463
+ let options = this.$appdata.getParam('用气性质')
464
+ let resultoptions = [];
465
+ if(options.length>0){
466
+ resultoptions.push({label: ' 全部 ', value: ''})
467
+ options.forEach((item)=>{
468
+ console.log(item)
469
+ resultoptions.push(item)
470
+ })
471
+ }
472
+ console.log(resultoptions);
473
+ return resultoptions;
474
+ //return [{label: ' 全部 ', value: ''},...this.$appdata.getParam('用气性质')]
475
+ }
476
+ },
477
+ watch:{
478
+ 'pushncshow2'(val){
479
+ if(val){
480
+ this.search();
481
+ }
482
+ }
483
+ }
484
+ }
485
+
486
+ </script>
487
+
488
+ <style scoped>
489
+
490
+ .col {
491
+ width: 300px;
492
+ overflow: hidden;
493
+ text-overflow: ellipsis;
494
+ white-space: nowrap;
495
+ }
496
+
497
+ </style>