manage-client 3.2.89-aode → 3.2.89-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 +229 -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 -559
  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 +511 -459
  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,366 +1,366 @@
1
- <template>
2
- <div id="unit" class="flex-row">
3
- <div class="basic-main">
4
- <div class="flex" v-if="!show">
5
- <criteria-paged :model="model" v-ref:paged>
6
- <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
7
- <div novalidate class="form-horizontal select-overspread container-fluid auto" partial >
8
- <div class="row">
9
- <div class="col-sm-2">
10
- <label class="font_normal_body">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;公司&nbsp;&nbsp;&nbsp;</label>
11
- <right-tree @re-res="$parent.$parent.getorg"
12
- :initresid='$parent.$parent.org'></right-tree>
13
- </div>
14
- <div class="col-sm-2 ">
15
- <label for="f_gasproperties"class="font_normal_body">&nbsp;&nbsp;&nbsp;用气性质</label>
16
- <v-select id="f_gasproperties"
17
- style="width:60%"
18
- v-model="model.f_gasproperties"
19
- placeholder='用气性质'
20
- :value.sync="model.f_gasproperties"
21
- :options='$parent.$parent.gasproperties'
22
- condition="f_gasproperties = '{}'"
23
- close-on-select >
24
- </v-select>
25
- </div>
26
- <div v-if="$parent.$parent.meter_classify == '卡表'" class="col-sm-2 flex-row" style="white-space: nowrap">
27
- <label class="font_normal_body">&nbsp;&nbsp;&nbsp;未购天数&nbsp;</label>
28
- <div class="row">
29
- <input type="text" style="width:30%" class="input_search" v-model="model.diffdaymin"
30
- condition="diffday >= {} " placeholder="">
31
- <label class="font_normal_body"> ≤ x ≤ </label>
32
- <input type="text" style="width:30%" class="input_search" v-model="model.diffdaymax"
33
- condition="diffday <= {} " placeholder="">
34
- </div>
35
-
36
- </div>
37
- <div v-if="$parent.$parent.meter_classify == '机表'" class="col-sm-2 flex-row" style="white-space: nowrap">
38
- <label class="font_normal_body">&nbsp;&nbsp;&nbsp;未抄天数&nbsp;</label>
39
- <div class="row">
40
- <input type="text" style="width:30%" class="input_search" v-model="model.handdiffdaymin"
41
- condition="diffday >= {} " placeholder="">
42
- <label class="font_normal_body"> ≤ x ≤ </label>
43
- <input type="text" style="width:30%" class="input_search" v-model="model.handdiffdaymax"
44
- condition="diffday <= {} " placeholder="">
45
- </div>
46
-
47
- </div>
48
- <div class="col-sm-2 ">
49
- <label class="font_normal_body">&nbsp;&nbsp;&nbsp;截止时间</label>
50
- <datepicker id="endDate" placeholder="截止时间"
51
- v-model="model.endDate"
52
- style="width:60%"
53
- :value.sync="model.endDate"
54
- :disabled-days-of-Week="[]"
55
- :format="'yyyy-MM-dd'"
56
- :show-reset-button="reset">
57
- </datepicker>
58
- </div>
59
- <div class="span" style="float:right;">
60
- <button class="btn button_search" @click="search()">查询</button>
61
- <button class="btn button_clear" @click="$parent.$parent.clear()">清空</button>
62
- <export-excel-plus :data="$parent.$parent.getCondition" :defaultselect="$parent.$parent.selectfields"
63
- :field="$parent.$parent.getfield"
64
- :exportprogress="true"
65
- sqlurl="rs/logic/exportfileplus" :sql-name="$parent.$parent.sqlName" template-name='用户稽查导出' :choose-col="true"></export-excel-plus>
66
- <print-data :model="$parent.model" :field="$parent.$parent.getfield" :defaultfield="$parent.$parent.defaultfield" print-name="稽查查询打印" :sumsmodel="$parent.$parent.sumsmodel" ></print-data>
67
- <div style="float: right" class="button_spacing" :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.hidden()"></div>
68
-
69
- </div>
70
- </div>
71
- <div class="row" v-show="$parent.$parent.criteriaShow">
72
- <div class="col-sm-2 ">
73
- <label for="f_meter_classify"class="font_normal_body">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;表类型</label>
74
- <v-select id="f_meter_classify"
75
- v-model="$parent.$parent.meter_classify"
76
- placeholder='表类型'
77
- style="width:70%"
78
- :value.sync="$parent.$parent.meter_classify"
79
- :options='$parent.$parent.f_meter_classify'
80
- condition="f_meter_type like '%{}'"
81
- :value-single="true"
82
- close-on-select >
83
- </v-select>
84
- </div>
85
-
86
- <div class="col-sm-2 ">
87
- <label for="f_table_state"class="font_normal_body">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;表状态</label>
88
- <v-select id="f_table_state"
89
- style="width:60%"
90
- v-model="model.f_table_state"
91
- placeholder='表状态'
92
- :value.sync="model.f_table_state"
93
- :options='$parent.$parent.tablestate'
94
- condition="f_table_state = '{}'"
95
- close-on-select >
96
- </v-select>
97
- </div>
98
- <div v-if="$parent.$parent.meter_classify == '卡表'" class="col-sm-2 flex-row" style="white-space: nowrap" >
99
- <label class="font_normal_body">&nbsp;&nbsp;&nbsp;总购次数&nbsp;</label>
100
- <div class="row">
101
- <input type="text" style="width:30%" class="input_search" v-model="model.cishumin"
102
- condition="cishu >= {} " placeholder="">
103
- <label class="font_normal_body"> ≤ x ≤ </label>
104
- <input type="text" style="width:30%" class="input_search" v-model="model.cishumax"
105
- condition="cishu <= {} " placeholder="">
106
- </div>
107
- </div>
108
- <div v-if="$parent.$parent.meter_classify == '机表'" class="col-sm-2 flex-row" style="white-space: nowrap" >
109
- <label class="font_normal_body">&nbsp;&nbsp;&nbsp;抄表次数&nbsp;</label>
110
-
111
- <div class="row">
112
- <input type="text" style="width:30%" class="input_search" v-model="model.handmin"
113
- condition="cishu >= {} " placeholder="">
114
- <label class="font_normal_body"> ≤ x ≤ </label>
115
- <input type="text" style="width:30%" class="input_search" v-model="model.handmax"
116
- condition="cishu <= {} " placeholder="">
117
- </div>
118
-
119
- </div>
120
- <div v-if="$parent.$parent.meter_classify == '卡表'" class="col-sm-2 flex-row" style="white-space: nowrap" >
121
- <label class="font_normal_body">&nbsp;&nbsp;&nbsp;总购气量&nbsp;</label>
122
-
123
- <div class="row">
124
- <input type="text" style="width:30%" class="input_search" v-model="model.pregasmin"
125
- condition="pregas >= {} " placeholder="">
126
- <label class="font_normal_body"> ≤ x ≤ </label>
127
- <input type="text" style="width:30%" class="input_search" v-model="model.pregasmax"
128
- condition="pregas <= {} " placeholder="">
129
- </div>
130
-
131
-
132
- </div>
133
- <div v-if="$parent.$parent.meter_classify == '机表'" class="col-sm-2 flex-row" style="white-space: nowrap" >
134
- <label class="font_normal_body">&nbsp;&nbsp;&nbsp;总用气量&nbsp;</label>
135
- <div class="row">
136
- <input type="text" style="width:30%" class="input_search" v-model="model.pregasusemin"
137
- condition="pregas >= {} " placeholder="">
138
- <label class="font_normal_body"> ≤ x ≤ </label>
139
- <input type="text" style="width:30%" class="input_search" v-model="model.pregasusemax"
140
- condition="pregas <= {} " placeholder="">
141
- </div>
142
- </div>
143
-
144
-
145
- </div>
146
-
147
- </div>
148
- </criteria>
149
- <data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid>
150
- <template partial='head'>
151
- <tr>
152
- <th><nobr>序号</nobr></th>
153
- <th><nobr>客户编号</nobr></th>
154
- <th><nobr>用户电话</nobr></th>
155
- <th><nobr>表号</nobr></th>
156
- <th><nobr>客户名称</nobr></th>
157
- <th><nobr>地址</nobr></th>
158
- <th><nobr>用户类型</nobr></th>
159
- <th><nobr>用气性质</nobr></th>
160
- <th><nobr>表具状态</nobr></th>
161
- <th><nobr>气表品牌</nobr></th>
162
- <th><nobr>气价名称</nobr></th>
163
- <th><nobr>最后购气日期</nobr></th>
164
- <th v-show="$parent.$parent.$parent.meter_classify == '卡表'"><nobr>总购气次数</nobr></th>
165
- <th v-show="$parent.$parent.$parent.meter_classify == '机表'"><nobr>总抄表次数</nobr></th>
166
-
167
- <th v-show="$parent.$parent.$parent.meter_classify == '卡表'"><nobr>总购气量</nobr></th>
168
- <th v-show="$parent.$parent.$parent.meter_classify == '机表'"><nobr>总用气量</nobr></th>
169
-
170
- <th v-show="$parent.$parent.$parent.meter_classify == '卡表'"><nobr>累计未购气天数</nobr></th>
171
- <th v-show="$parent.$parent.$parent.meter_classify == '机表'"><nobr>累计未抄表天数</nobr></th>
172
- <th><nobr>组织机构</nobr></th>
173
- </tr>
174
- </template>
175
- <template partial='body'>
176
- <td style="text-align: center;"><nobr>{{$index+1}}</nobr></td>
177
- <td style="text-align: center;"><nobr>
178
- <span @click="$parent.$parent.$parent.showmsg(row)"><a>{{row.f_userinfo_code}}</a></span>
179
- </nobr> </td>
180
- <td style="text-align: center;"><nobr>{{row.f_user_phone}}</nobr></td>
181
- <td style="text-align: center;"><nobr>{{row.f_meternumber}}</nobr></td>
182
- <th style="text-align: center;"><nobr>{{row.f_user_name}}</nobr></th>
183
- <th style="text-align: center;"><nobr>{{row.f_address}}</nobr></th>
184
- <th style="text-align: center;"><nobr>{{row.f_user_type}}</nobr></th>
185
- <th style="text-align: center;"><nobr>{{row.f_gasproperties}}</nobr></th>
186
- <th style="text-align: center;"><nobr>{{row.f_table_state}}</nobr></th>
187
- <th style="text-align: center;"><nobr>{{row.f_meter_brand}}</nobr></th>
188
- <th style="text-align: center;"><nobr>{{row.f_price_name}}</nobr></th>
189
- <th style="text-align: center;"><nobr>{{row.delivery_date}}</nobr></th>
190
-
191
- <th style="text-align: center;"><nobr>{{row.cishu}}</nobr></th>
192
- <th style="text-align: center;"><nobr>{{row.pregas}}</nobr></th>
193
- <!-- <th style="text-align: center;"><nobr>{{row.sellcishu}}</nobr></th>-->
194
- <!-- <th style="text-align: center;"><nobr>{{row.sellpregas}}</nobr></th>-->
195
- <th style="text-align: center;"><nobr>{{row.diffday}}</nobr></th>
196
- <th style="text-align: center;"><nobr>{{row.f_orgname}}</nobr></th>
197
- </template>
198
- </data-grid>
199
- </criteria-paged>
200
- <table class="table-hover">
201
- <tr style="position: relative" class="table-bordered">
202
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">汇总信息</td>
203
- <td v-if="meter_classify == '卡表'" style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px">总购气量合计:&emsp;&emsp;{{sumsmodel.pregas}}</td>
204
- <!-- <td v-if="meter_classify == '卡表'" style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px">阶段购气量合计:&emsp;&emsp;{{sumsmodel.sellpregas}}</td>-->
205
- <td v-if="meter_classify == '机表'" style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px">总抄表气量合计:&emsp;&emsp;{{sumsmodel.pregas}}</td>
206
- <!-- <td v-if="meter_classify == '机表'" style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px">阶段抄表气量合计:&emsp;{{sumsmodel.sellpregas}}</td>-->
207
- </tr>
208
- </table>
209
- </div>
210
- <div v-if="show">
211
- <user-info-detail-manage :f_userinfo_id="rowdata.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage>
212
- </div>
213
- </div></div>
214
- </template>
215
- <script>
216
- /**
217
- *用户档案查询列表以及添加操作组件
218
- */
219
- import { PagedList } from 'vue-client'
220
- import Vue from 'vue'
221
- import plugin from 'system-clients/src/plugins/GetLoginInfoService'
222
-
223
- let readySomething = async function (self) {
224
- self.$refs.paged.$refs.cri.model.f_table_state = ['正常']
225
- self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString()
226
-
227
- // await self.$refs.paged.$refs.cri.search()
228
- self.sumsmodel = self.$refs.paged.$refs.grid.model.sums
229
- }
230
- export default {
231
- title: '用户稽查',
232
- data () {
233
- return {
234
- org:[this.$login.f.orgid],
235
- criteriaShow: false,
236
- meter_classify:'卡表',
237
- filialeNameStr: null,
238
- filialeCodeStr: `and f_orgid = ${this.$login.f.orgid}`,
239
- userid: this.$login.f.id,
240
- source: `tool.getFullTree(this.getRights().where(row.getType() == $organization$))`,
241
- getfield:{"f_userinfo_code":"客户编号","f_meternumber":"表号","f_user_name":"客户名称","f_address":"地址","f_user_type":"用户类型",
242
- "f_gasproperties":"用气性质","f_table_state":"表具状态","f_meter_brand":"气表品牌","f_price_name":"气价名称",
243
- "delivery_date":"最后购气日期","cishu":"总购气次数","pregas":"总购气量",
244
- "diffday":"未购气总天数","f_orgname":"组织"},
245
- model: new PagedList('rs/sql/inspectList', 50,{endDate:'this.model.endDate'},{pregas: 0}),
246
- rows: null,
247
- //orgid:'',
248
- show:false,
249
- sqlName:'inspectList',
250
- rowdata:{},
251
- sumsmodel: {},
252
- config: {
253
- defaultPrint: ['f_userinfo_code','f_user_id']
254
- },
255
- defaultfield: [],
256
- selectfields:[],
257
- searchCondition:[],
258
- selectorgid:[],
259
- gasproperties:[{label: ' 全部 ', value: ''},...this.$appdata.getParam('用气性质')],
260
- tablestate:[{label: '全部', value: ''},...this.$appdata.getParam('气表状态')]
261
- }
262
- },
263
- watch:{
264
- meter_classify(val){
265
- if(val == '卡表') {
266
- this.url = 'rs/sql/inspectList'
267
- this.sqlName = 'inspectList'
268
- this.getfield = {"f_userinfo_code":"客户编号","f_user_phone":"用户电话","f_meternumber":"表号","f_user_name":"客户名称","f_address":"地址","f_user_type":"用户类型",
269
- "f_gasproperties":"用气性质","f_table_state":"表具状态","f_meter_brand":"气表品牌","f_price_name":"气价名称",
270
- "delivery_date":"最后购气日期","cishu":"总购气次数","pregas":"总购气量",
271
- "diffday":"累计未购气天数","f_orgname":"组织"}
272
- }else{
273
- this.url = 'rs/sql/handinspectList'
274
- this.sqlName = 'handinspectList'
275
- this.getfield = {"f_userinfo_code":"客户编号","f_user_phone":"用户电话","f_meternumber":"表号","f_user_name":"客户名称","f_address":"地址","f_user_type":"用户类型",
276
- "f_gasproperties":"用气性质","f_table_state":"表具状态","f_meter_brand":"气表品牌","f_price_name":"气价名称",
277
- "delivery_date":"最后抄表日期","cishu":"总抄表次数","pregas":"抄表气量",
278
- "diffday":"累计未抄表天数","f_orgname":"组织"}
279
- }
280
- this.clear()
281
- }
282
- },
283
- ready () {
284
-
285
- readySomething(this).then(() => {
286
- this.$emit('ready')
287
- }).catch((error) => {
288
- this.$emit('error', error)
289
- })
290
-
291
- },
292
- methods: {
293
- getorg (obj) {
294
- if(obj.resids.length>0){
295
- this.selectorgid = obj.resids
296
- this.filialeCodeStr =" and f_orgid in " + plugin.convertToIn(obj.resids)
297
- }
298
- else{
299
- this.filialeCodeStr= " and f_orgid = " + this.$login.f.orgid
300
- }
301
- },
302
-
303
- cancel() {
304
- this.show = false
305
- let self = this;
306
- setTimeout(function(){
307
- self.$refs.paged.$refs.cri.model = self.searchCondition;
308
- if (this.selectorgid instanceof Array) {
309
- self.org = self.selectorgid
310
- }
311
- },800);
312
- },
313
- showmsg(obj){
314
- this.searchCondition = this.$refs.paged.$refs.cri.model
315
- this.rowdata=obj
316
- this.show=true
317
- },
318
- search () {
319
- this.$refs.paged.$refs.cri.search()
320
- },
321
- selfSearch (args) {
322
- this.model.url = this.meter_classify === '卡表' ? 'rs/sql/inspectList': 'rs/sql/handinspectList'
323
- args.condition = args.condition+ ` ${this.filialeCodeStr}`
324
- // console.log("拼接的condition", args.condition, this.model)
325
- this.model.search(args.condition, args.model)
326
- },
327
- hidden(){
328
- this.criteriaShow = !this.criteriaShow
329
- },
330
- clear(){
331
- Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
332
- if(key != 'startDate' && key != 'endDate')
333
- this.$refs.paged.$refs.cri.model[key] = []
334
- })
335
- this.$refs.paged.$refs.cri.model.endDate = this.$login.toStandardDateString()
336
- }
337
- },
338
- computed: {
339
-
340
- f_meter_classify(){
341
- return [{label: '卡表', value: '卡表'},{label: '机表', value: '机表'}, ]
342
- // return [{label: '卡表', value: '卡表'}]
343
- },
344
-
345
- getCondition () {
346
- let result = {
347
- condition: '',
348
- diffDay:' 1=1 ',
349
- endDate: this.$refs.paged.$refs.cri.model.endDate,
350
- }
351
- result.condition = this.$refs.paged.$refs.cri.condition + this.filialeCodeStr
352
-
353
- return result
354
- }
355
- }
356
- }
357
- </script>
358
- <style media="screen">
359
- .divtext {
360
- min-width: 50px;
361
- max-width: 200px;
362
- border: 1px solid green;
363
- display: inline-block;
364
- }
365
- </style>
366
-
1
+ <template>
2
+ <div id="unit" class="flex-row">
3
+ <div class="basic-main">
4
+ <div class="flex" v-if="!show">
5
+ <criteria-paged :model="model" v-ref:paged>
6
+ <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
7
+ <div novalidate class="form-horizontal select-overspread container-fluid auto" partial >
8
+ <div class="row">
9
+ <div class="col-sm-2">
10
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;公司&nbsp;&nbsp;&nbsp;</label>
11
+ <right-tree @re-res="$parent.$parent.getorg"
12
+ :initresid='$parent.$parent.org'></right-tree>
13
+ </div>
14
+ <div class="col-sm-2 ">
15
+ <label for="f_gasproperties"class="font_normal_body">&nbsp;&nbsp;&nbsp;用气性质</label>
16
+ <v-select id="f_gasproperties"
17
+ style="width:60%"
18
+ v-model="model.f_gasproperties"
19
+ placeholder='用气性质'
20
+ :value.sync="model.f_gasproperties"
21
+ :options='$parent.$parent.gasproperties'
22
+ condition="f_gasproperties = '{}'"
23
+ close-on-select >
24
+ </v-select>
25
+ </div>
26
+ <div v-if="$parent.$parent.meter_classify == '卡表'" class="col-sm-2 flex-row" style="white-space: nowrap">
27
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;未购天数&nbsp;</label>
28
+ <div class="row">
29
+ <input type="text" style="width:30%" class="input_search" v-model="model.diffdaymin"
30
+ condition="diffday >= {} " placeholder="">
31
+ <label class="font_normal_body"> ≤ x ≤ </label>
32
+ <input type="text" style="width:30%" class="input_search" v-model="model.diffdaymax"
33
+ condition="diffday <= {} " placeholder="">
34
+ </div>
35
+
36
+ </div>
37
+ <div v-if="$parent.$parent.meter_classify == '机表'" class="col-sm-2 flex-row" style="white-space: nowrap">
38
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;未抄天数&nbsp;</label>
39
+ <div class="row">
40
+ <input type="text" style="width:30%" class="input_search" v-model="model.handdiffdaymin"
41
+ condition="diffday >= {} " placeholder="">
42
+ <label class="font_normal_body"> ≤ x ≤ </label>
43
+ <input type="text" style="width:30%" class="input_search" v-model="model.handdiffdaymax"
44
+ condition="diffday <= {} " placeholder="">
45
+ </div>
46
+
47
+ </div>
48
+ <div class="col-sm-2 ">
49
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;截止时间</label>
50
+ <datepicker id="endDate" placeholder="截止时间"
51
+ v-model="model.endDate"
52
+ style="width:60%"
53
+ :value.sync="model.endDate"
54
+ :disabled-days-of-Week="[]"
55
+ :format="'yyyy-MM-dd'"
56
+ :show-reset-button="reset">
57
+ </datepicker>
58
+ </div>
59
+ <div class="span" style="float:right;">
60
+ <button class="btn button_search" @click="search()">查询</button>
61
+ <button class="btn button_clear" @click="$parent.$parent.clear()">清空</button>
62
+ <export-excel-plus :data="$parent.$parent.getCondition" :defaultselect="$parent.$parent.selectfields"
63
+ :field="$parent.$parent.getfield"
64
+ :exportprogress="true"
65
+ sqlurl="api/af-revenue/logic/exportfileplus" :sql-name="$parent.$parent.sqlName" template-name='用户稽查导出' :choose-col="true"></export-excel-plus>
66
+ <print-data :model="$parent.model" :field="$parent.$parent.getfield" :defaultfield="$parent.$parent.defaultfield" print-name="稽查查询打印" :sumsmodel="$parent.$parent.sumsmodel" ></print-data>
67
+ <div style="float: right" class="button_spacing" :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.hidden()"></div>
68
+
69
+ </div>
70
+ </div>
71
+ <div class="row" v-show="$parent.$parent.criteriaShow">
72
+ <div class="col-sm-2 ">
73
+ <label for="f_meter_classify"class="font_normal_body">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;表类型</label>
74
+ <v-select id="f_meter_classify"
75
+ v-model="$parent.$parent.meter_classify"
76
+ placeholder='表类型'
77
+ style="width:70%"
78
+ :value.sync="$parent.$parent.meter_classify"
79
+ :options='$parent.$parent.f_meter_classify'
80
+ condition="f_meter_type like '%{}'"
81
+ :value-single="true"
82
+ close-on-select >
83
+ </v-select>
84
+ </div>
85
+
86
+ <div class="col-sm-2 ">
87
+ <label for="f_table_state"class="font_normal_body">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;表状态</label>
88
+ <v-select id="f_table_state"
89
+ style="width:60%"
90
+ v-model="model.f_table_state"
91
+ placeholder='表状态'
92
+ :value.sync="model.f_table_state"
93
+ :options='$parent.$parent.tablestate'
94
+ condition="f_table_state = '{}'"
95
+ close-on-select >
96
+ </v-select>
97
+ </div>
98
+ <div v-if="$parent.$parent.meter_classify == '卡表'" class="col-sm-2 flex-row" style="white-space: nowrap" >
99
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;总购次数&nbsp;</label>
100
+ <div class="row">
101
+ <input type="text" style="width:30%" class="input_search" v-model="model.cishumin"
102
+ condition="cishu >= {} " placeholder="">
103
+ <label class="font_normal_body"> ≤ x ≤ </label>
104
+ <input type="text" style="width:30%" class="input_search" v-model="model.cishumax"
105
+ condition="cishu <= {} " placeholder="">
106
+ </div>
107
+ </div>
108
+ <div v-if="$parent.$parent.meter_classify == '机表'" class="col-sm-2 flex-row" style="white-space: nowrap" >
109
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;抄表次数&nbsp;</label>
110
+
111
+ <div class="row">
112
+ <input type="text" style="width:30%" class="input_search" v-model="model.handmin"
113
+ condition="cishu >= {} " placeholder="">
114
+ <label class="font_normal_body"> ≤ x ≤ </label>
115
+ <input type="text" style="width:30%" class="input_search" v-model="model.handmax"
116
+ condition="cishu <= {} " placeholder="">
117
+ </div>
118
+
119
+ </div>
120
+ <div v-if="$parent.$parent.meter_classify == '卡表'" class="col-sm-2 flex-row" style="white-space: nowrap" >
121
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;总购气量&nbsp;</label>
122
+
123
+ <div class="row">
124
+ <input type="text" style="width:30%" class="input_search" v-model="model.pregasmin"
125
+ condition="pregas >= {} " placeholder="">
126
+ <label class="font_normal_body"> ≤ x ≤ </label>
127
+ <input type="text" style="width:30%" class="input_search" v-model="model.pregasmax"
128
+ condition="pregas <= {} " placeholder="">
129
+ </div>
130
+
131
+
132
+ </div>
133
+ <div v-if="$parent.$parent.meter_classify == '机表'" class="col-sm-2 flex-row" style="white-space: nowrap" >
134
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;总用气量&nbsp;</label>
135
+ <div class="row">
136
+ <input type="text" style="width:30%" class="input_search" v-model="model.pregasusemin"
137
+ condition="pregas >= {} " placeholder="">
138
+ <label class="font_normal_body"> ≤ x ≤ </label>
139
+ <input type="text" style="width:30%" class="input_search" v-model="model.pregasusemax"
140
+ condition="pregas <= {} " placeholder="">
141
+ </div>
142
+ </div>
143
+
144
+
145
+ </div>
146
+
147
+ </div>
148
+ </criteria>
149
+ <data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid>
150
+ <template partial='head'>
151
+ <tr>
152
+ <th><nobr>序号</nobr></th>
153
+ <th><nobr>客户编号</nobr></th>
154
+ <th><nobr>用户电话</nobr></th>
155
+ <th><nobr>表号</nobr></th>
156
+ <th><nobr>客户名称</nobr></th>
157
+ <th><nobr>地址</nobr></th>
158
+ <th><nobr>用户类型</nobr></th>
159
+ <th><nobr>用气性质</nobr></th>
160
+ <th><nobr>表具状态</nobr></th>
161
+ <th><nobr>气表品牌</nobr></th>
162
+ <th><nobr>气价名称</nobr></th>
163
+ <th><nobr>最后购气日期</nobr></th>
164
+ <th v-show="$parent.$parent.$parent.meter_classify == '卡表'"><nobr>总购气次数</nobr></th>
165
+ <th v-show="$parent.$parent.$parent.meter_classify == '机表'"><nobr>总抄表次数</nobr></th>
166
+
167
+ <th v-show="$parent.$parent.$parent.meter_classify == '卡表'"><nobr>总购气量</nobr></th>
168
+ <th v-show="$parent.$parent.$parent.meter_classify == '机表'"><nobr>总用气量</nobr></th>
169
+
170
+ <th v-show="$parent.$parent.$parent.meter_classify == '卡表'"><nobr>累计未购气天数</nobr></th>
171
+ <th v-show="$parent.$parent.$parent.meter_classify == '机表'"><nobr>累计未抄表天数</nobr></th>
172
+ <th><nobr>组织机构</nobr></th>
173
+ </tr>
174
+ </template>
175
+ <template partial='body'>
176
+ <td style="text-align: center;"><nobr>{{$index+1}}</nobr></td>
177
+ <td style="text-align: center;"><nobr>
178
+ <span @click="$parent.$parent.$parent.showmsg(row)"><a>{{row.f_userinfo_code}}</a></span>
179
+ </nobr> </td>
180
+ <td style="text-align: center;"><nobr>{{row.f_user_phone}}</nobr></td>
181
+ <td style="text-align: center;"><nobr>{{row.f_meternumber}}</nobr></td>
182
+ <th style="text-align: center;"><nobr>{{row.f_user_name}}</nobr></th>
183
+ <th style="text-align: center;"><nobr>{{row.f_address}}</nobr></th>
184
+ <th style="text-align: center;"><nobr>{{row.f_user_type}}</nobr></th>
185
+ <th style="text-align: center;"><nobr>{{row.f_gasproperties}}</nobr></th>
186
+ <th style="text-align: center;"><nobr>{{row.f_table_state}}</nobr></th>
187
+ <th style="text-align: center;"><nobr>{{row.f_meter_brand}}</nobr></th>
188
+ <th style="text-align: center;"><nobr>{{row.f_price_name}}</nobr></th>
189
+ <th style="text-align: center;"><nobr>{{row.delivery_date}}</nobr></th>
190
+
191
+ <th style="text-align: center;"><nobr>{{row.cishu}}</nobr></th>
192
+ <th style="text-align: center;"><nobr>{{row.pregas}}</nobr></th>
193
+ <!-- <th style="text-align: center;"><nobr>{{row.sellcishu}}</nobr></th>-->
194
+ <!-- <th style="text-align: center;"><nobr>{{row.sellpregas}}</nobr></th>-->
195
+ <th style="text-align: center;"><nobr>{{row.diffday}}</nobr></th>
196
+ <th style="text-align: center;"><nobr>{{row.f_orgname}}</nobr></th>
197
+ </template>
198
+ </data-grid>
199
+ </criteria-paged>
200
+ <table class="table-hover">
201
+ <tr style="position: relative" class="table-bordered">
202
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">汇总信息</td>
203
+ <td v-if="meter_classify == '卡表'" style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px">总购气量合计:&emsp;&emsp;{{sumsmodel.pregas}}</td>
204
+ <!-- <td v-if="meter_classify == '卡表'" style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px">阶段购气量合计:&emsp;&emsp;{{sumsmodel.sellpregas}}</td>-->
205
+ <td v-if="meter_classify == '机表'" style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px">总抄表气量合计:&emsp;&emsp;{{sumsmodel.pregas}}</td>
206
+ <!-- <td v-if="meter_classify == '机表'" style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px">阶段抄表气量合计:&emsp;{{sumsmodel.sellpregas}}</td>-->
207
+ </tr>
208
+ </table>
209
+ </div>
210
+ <div v-if="show">
211
+ <user-info-detail-manage :f_userinfo_id="rowdata.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage>
212
+ </div>
213
+ </div></div>
214
+ </template>
215
+ <script>
216
+ /**
217
+ *用户档案查询列表以及添加操作组件
218
+ */
219
+ import { PagedList } from 'vue-client'
220
+ import Vue from 'vue'
221
+ import plugin from 'system-clients/src/plugins/GetLoginInfoService'
222
+
223
+ let readySomething = async function (self) {
224
+ self.$refs.paged.$refs.cri.model.f_table_state = ['正常']
225
+ self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString()
226
+
227
+ // await self.$refs.paged.$refs.cri.search()
228
+ self.sumsmodel = self.$refs.paged.$refs.grid.model.sums
229
+ }
230
+ export default {
231
+ title: '用户稽查',
232
+ data () {
233
+ return {
234
+ org:[this.$login.f.orgid],
235
+ criteriaShow: false,
236
+ meter_classify:'卡表',
237
+ filialeNameStr: null,
238
+ filialeCodeStr: `and f_orgid = ${this.$login.f.orgid}`,
239
+ userid: this.$login.f.id,
240
+ source: `tool.getFullTree(this.getRights().where(row.getType() == $organization$))`,
241
+ getfield:{"f_userinfo_code":"客户编号","f_meternumber":"表号","f_user_name":"客户名称","f_address":"地址","f_user_type":"用户类型",
242
+ "f_gasproperties":"用气性质","f_table_state":"表具状态","f_meter_brand":"气表品牌","f_price_name":"气价名称",
243
+ "delivery_date":"最后购气日期","cishu":"总购气次数","pregas":"总购气量",
244
+ "diffday":"未购气总天数","f_orgname":"组织"},
245
+ model: new PagedList('api/af-revenue/sql/inspectList', 50,{endDate:'this.model.endDate'},{pregas: 0}),
246
+ rows: null,
247
+ //orgid:'',
248
+ show:false,
249
+ sqlName:'inspectList',
250
+ rowdata:{},
251
+ sumsmodel: {},
252
+ config: {
253
+ defaultPrint: ['f_userinfo_code','f_user_id']
254
+ },
255
+ defaultfield: [],
256
+ selectfields:[],
257
+ searchCondition:[],
258
+ selectorgid:[],
259
+ gasproperties:[{label: ' 全部 ', value: ''},...this.$appdata.getParam('用气性质')],
260
+ tablestate:[{label: '全部', value: ''},...this.$appdata.getParam('气表状态')]
261
+ }
262
+ },
263
+ watch:{
264
+ meter_classify(val){
265
+ if(val == '卡表') {
266
+ this.url = 'api/af-revenue/sql/inspectList'
267
+ this.sqlName = 'inspectList'
268
+ this.getfield = {"f_userinfo_code":"客户编号","f_user_phone":"用户电话","f_meternumber":"表号","f_user_name":"客户名称","f_address":"地址","f_user_type":"用户类型",
269
+ "f_gasproperties":"用气性质","f_table_state":"表具状态","f_meter_brand":"气表品牌","f_price_name":"气价名称",
270
+ "delivery_date":"最后购气日期","cishu":"总购气次数","pregas":"总购气量",
271
+ "diffday":"累计未购气天数","f_orgname":"组织"}
272
+ }else{
273
+ this.url = 'api/af-revenue/sql/handinspectList'
274
+ this.sqlName = 'handinspectList'
275
+ this.getfield = {"f_userinfo_code":"客户编号","f_user_phone":"用户电话","f_meternumber":"表号","f_user_name":"客户名称","f_address":"地址","f_user_type":"用户类型",
276
+ "f_gasproperties":"用气性质","f_table_state":"表具状态","f_meter_brand":"气表品牌","f_price_name":"气价名称",
277
+ "delivery_date":"最后抄表日期","cishu":"总抄表次数","pregas":"抄表气量",
278
+ "diffday":"累计未抄表天数","f_orgname":"组织"}
279
+ }
280
+ this.clear()
281
+ }
282
+ },
283
+ ready () {
284
+
285
+ readySomething(this).then(() => {
286
+ this.$emit('ready')
287
+ }).catch((error) => {
288
+ this.$emit('error', error)
289
+ })
290
+
291
+ },
292
+ methods: {
293
+ getorg (obj) {
294
+ if(obj.resids.length>0){
295
+ this.selectorgid = obj.resids
296
+ this.filialeCodeStr =" and f_orgid in " + plugin.convertToIn(obj.resids)
297
+ }
298
+ else{
299
+ this.filialeCodeStr= " and f_orgid = " + this.$login.f.orgid
300
+ }
301
+ },
302
+
303
+ cancel() {
304
+ this.show = false
305
+ let self = this;
306
+ setTimeout(function(){
307
+ self.$refs.paged.$refs.cri.model = self.searchCondition;
308
+ if (this.selectorgid instanceof Array) {
309
+ self.org = self.selectorgid
310
+ }
311
+ },800);
312
+ },
313
+ showmsg(obj){
314
+ this.searchCondition = this.$refs.paged.$refs.cri.model
315
+ this.rowdata=obj
316
+ this.show=true
317
+ },
318
+ search () {
319
+ this.$refs.paged.$refs.cri.search()
320
+ },
321
+ selfSearch (args) {
322
+ this.model.url = this.meter_classify === '卡表' ? 'api/af-revenue/sql/inspectList': 'api/af-revenue/sql/handinspectList'
323
+ args.condition = args.condition+ ` ${this.filialeCodeStr}`
324
+ // console.log("拼接的condition", args.condition, this.model)
325
+ this.model.search(args.condition, args.model)
326
+ },
327
+ hidden(){
328
+ this.criteriaShow = !this.criteriaShow
329
+ },
330
+ clear(){
331
+ Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
332
+ if(key != 'startDate' && key != 'endDate')
333
+ this.$refs.paged.$refs.cri.model[key] = []
334
+ })
335
+ this.$refs.paged.$refs.cri.model.endDate = this.$login.toStandardDateString()
336
+ }
337
+ },
338
+ computed: {
339
+
340
+ f_meter_classify(){
341
+ return [{label: '卡表', value: '卡表'},{label: '机表', value: '机表'}, ]
342
+ // return [{label: '卡表', value: '卡表'}]
343
+ },
344
+
345
+ getCondition () {
346
+ let result = {
347
+ condition: '',
348
+ diffDay:' 1=1 ',
349
+ endDate: this.$refs.paged.$refs.cri.model.endDate,
350
+ }
351
+ result.condition = this.$refs.paged.$refs.cri.condition + this.filialeCodeStr
352
+
353
+ return result
354
+ }
355
+ }
356
+ }
357
+ </script>
358
+ <style media="screen">
359
+ .divtext {
360
+ min-width: 50px;
361
+ max-width: 200px;
362
+ border: 1px solid green;
363
+ display: inline-block;
364
+ }
365
+ </style>
366
+