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,745 +1,745 @@
1
- <template>
2
- <div class="flex" style="flex:1;" @keyup.enter="search1">
3
- <criteria-paged :model="model" v-ref:paged>
4
- <criteria @condition-changed='$parent.search' partial='criteria' v-ref:criteria>
5
- <div class="form-horizontal select-overspread container-fluid auto" novalidate partial
6
- v-show="$parent.$parent.isdeal">
7
- <div class="row" width="100%">
8
- <div class="col-sm-2 form-group">
9
- <label class="font_normal_body">表&emsp;&emsp;号</label>
10
- <input style="width:60%" class="input_search" condition="mr.f_meternumber like '%{}%'"
11
- placeholder='表号'
12
- type="text"
13
- v-model="model.f_meternumber"
14
- >
15
- </div>
16
- <div class="col-sm-2 form-group">
17
- <label class="font_normal_body">客户编号</label>
18
- <input style="width:60%" class="input_search" condition="u.f_userinfo_code like '{}%'"
19
- placeholder='客户编号'
20
- type="text"
21
- v-model="model.f_userinfo_code">
22
- </div>
23
- <div class="col-sm-2 form-group">
24
- <label class="font_normal_body">客户名称</label>
25
- <input style="width:60%" class="input_search" condition="mr.f_user_name like '%{}%'" placeholder='客户名称'
26
- type="text"
27
- v-model="model.f_user_name">
28
- </div>
29
- <div class="col-sm-3 form-group button-range">
30
- <button @click="search()" class="button_search button_spacing" v-el:cba>查询</button>
31
- <button @click="$parent.$parent.clearmsg" class="button_clear button_spacing">清空</button>
32
- <!--<label class="font_normal_body"></label>
33
- <button class="btn btn-success width-100" @click="$parent.$parent.SaveAsFile('webmeterhandplan')">导出</button>-->
34
- <!-- </div>-->
35
- <!-- <div class="col-sm-2 form-group form-group">-->
36
- <export-excel
37
- :choose-col="true"
38
- :data="{condition: $parent.$parent.condition}"
39
- :field="$parent.$parent.getfield" sql-name="manage_getNewAllWebHandPlan" sqlurl="rs/logic/exportfile"
40
- template-name='数据采集'></export-excel>
41
- <div style="float: right" class="button_spacing"
42
- :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
43
- @click="$parent.$parent.hidden()"></div>
44
- <!-- <span style="padding-left: 30px; ">-->
45
- <!-- <report-excel class="btn btn-success" id="grid"></report-excel>-->
46
- <!-- </span>-->
47
- </div>
48
- </div>
49
- <div class="row" v-show="$parent.$parent.criteriaShow">
50
- <div class="col-sm-2 form-group">
51
- <label class="font_normal_body">用气地址</label>
52
- <input style="width:60%" class="input_search" condition="u.f_address like '%{}%'" placeholder='用气地址'
53
- type="text"
54
- v-model="model.f_address"
55
- >
56
- </div>
57
- <div class="col-sm-2 form-group">
58
- <label class="font_normal_body">用户类型</label>
59
- <v-select :options="$parent.$parent.Gasusertype" :value.sync="model.f_user_type"
60
- close-on-select
61
- style="width:60%"
62
- condition="ui.f_user_type = '{}'"
63
- placeholder='用户类型'
64
- v-model="model.f_user_type"
65
- value-single="true"
66
- >
67
- </v-select>
68
- </div>
69
- <div class="col-sm-2 form-group">
70
- <label class="font_normal_body">用气性质</label>
71
- <v-select :options="$parent.$parent.Gasproperties" :value.sync="model.f_gasproperties"
72
- close-on-select
73
- style="width:60%"
74
- condition="ui.f_gasproperties = '{}'"
75
- placeholder='用气性质'
76
- v-model="model.f_gasproperties"
77
- value-single="true">
78
- </v-select>
79
- </div>
80
- <!--<div class="col-sm-2 form-group">
81
- <label class="font_normal_body">阀门状态</label>
82
- <v-select placeholder='阀门状态' close-on-select
83
- v-model="model.f_valvestate"
84
- :value.sync="model.f_valvestate"
85
- condition="mr.f_valvestate like '%{}%'"
86
- :options="$parent.$parent.Valvestates">
87
- </v-select>
88
- </div>-->
89
- <!--<div class="col-sm-2 form-group">
90
- <label class="font_normal_body">上报类型</label>
91
- <v-select placeholder='上报类型' close-on-select
92
- v-model="model.f_upload_type"
93
- :value.sync="model.f_upload_type"
94
- :options="$parent.$parent.Getuploadtype"
95
- condition="mr.f_upload_type = '{}'"
96
- >
97
- </v-select>
98
- </div>-->
99
- <div class="col-sm-2 form-group">
100
- <label class="font_normal_body" style="word-break:keep-all;">上报时间</label>
101
- <datepicker :format="'yyyy-MM-dd HH:mm:ss'"
102
- :value.sync="model.startDate"
103
- style="width:60%"
104
- condition="mr.f_insert_date >= '{}'"
105
- placeholder="起始时间"
106
- v-model="model.startDate"
107
- ></datepicker>
108
- </div>
109
- <div class="col-sm-2 form-group">
110
- <label class="font_normal_body" style="word-break:keep-all;">&emsp;&ensp;至&emsp;</label>
111
- <datepicker :format="'yyyy-MM-dd HH:mm:ss'"
112
- :value.sync="model.endDate"
113
- style="width:60%"
114
- condition="mr.f_insert_date <= '{}'"
115
- placeholder="结束时间"
116
- v-model="model.endDate"
117
- ></datepicker>
118
- </div>
119
- <div class="col-sm-2 form-group">
120
- <label class="font_normal_body" style="word-break:keep-all;">安装时间</label>
121
- <datepicker :format="'yyyy-MM-dd HH:mm:ss'"
122
- :value.sync="model.startDate1"
123
- style="width:60%"
124
- condition="ui.f_gas_date >= '{}'"
125
- placeholder="起始时间"
126
- v-model="model.startDate1"
127
- ></datepicker>
128
- </div>
129
- <div class="col-sm-2 form-group">
130
- <label class="font_normal_body" style="word-break:keep-all;">&emsp;&ensp;至&emsp;</label>
131
- <datepicker :format="'yyyy-MM-dd HH:mm:ss'"
132
- :value.sync="model.endDate1"
133
- style="width:60%"
134
- condition="ui.f_gas_date <= '{}'"
135
- placeholder="结束时间"
136
- v-model="model.endDate1"
137
- ></datepicker>
138
- </div>
139
- <!--<div class="col-sm-2 form-group">-->
140
- <!--<label class="font_normal_body">故障状态</label>-->
141
- <!--<v-select placeholder='故障状态'-->
142
- <!--v-model="model.faultstate"-->
143
- <!--multiple-->
144
- <!--:value.sync="model.faultstate"-->
145
- <!--:options="$parent.$parent.FaultStates">-->
146
- <!--</v-select>-->
147
- <!--</div>-->
148
- <div class="col-sm-2 form-group">
149
- <label class="font_normal_body">用&ensp;气&ensp;量</label>
150
- <input style="width:60%" class="input_search" condition="h.f_oughtamount >= '{}'" placeholder='最小气量' type="text"
151
- v-el:start_gas v-model="model.start_gas" v-next-el='start_gas'>
152
- </div>
153
- <div class="col-sm-2 form-group">
154
- <label class="font_normal_body" style="word-break:keep-all;">&emsp;&ensp;至&emsp;</label>
155
- <input style="width:60%" class="input_search" condition="h.f_oughtamount <= '{}'" placeholder='最大气量' type="text"
156
- v-el:end_gas v-el:xq v-model="model.end_gas" v-next-el='end_gas'
157
- >
158
- </div>
159
- <div class="col-sm-2 form-group">
160
- <label class="font_normal_body">剩余金额</label>
161
- <input style="width:60%" class="input_search" condition="h.f_curbalance >= '{}'"
162
- placeholder='最小金额'
163
- type="text"
164
- v-model="model.start_f_balance">
165
- </div>
166
- <div class="col-sm-2 form-group">
167
- <label class="font_normal_body">&emsp;&ensp;至&emsp;</label>
168
- <input style="width:60%" class="input_search" condition="h.f_curbalance <= '{}'"
169
- placeholder='最大金额'
170
- type="text"
171
- v-model="model.end_f_balance"
172
- >
173
- </div>
174
- <!--<div class="col-sm-2 form-group" >
175
- <label class="font_normal_body">标记名称</label>
176
- <v-select placeholder='标记名称' close-on-select
177
- v-model="model.f_parameter_name"
178
- :value.sync="model.f_parameter_name"
179
- :options="$parent.$parent.parameterName"
180
- condition="p.f_parameter_name = '{}'">
181
- </v-select>
182
- </div>-->
183
- <!--<div class="col-sm-2 form-group" >
184
- <label class="font_normal_body" style="word-break:keep-all;">操作时间</label>
185
- <datepicker placeholder="起始时间"
186
- :value.sync="model.startDate2"
187
- v-model="model.startDate2"
188
- :format="'yyyy-MM-dd HH:mm:ss'"
189
- condition="p.f_parameter_date >= '{}'"
190
- ></datepicker>
191
- </div>
192
- <div class="col-sm-2 form-group" >
193
- <label class="font_normal_body" style="word-break:keep-all;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;至&nbsp;&nbsp;&nbsp;</label>
194
- <datepicker placeholder="结束时间"
195
- :value.sync="model.endDate2"
196
- v-model="model.endDate2"
197
- :format="'yyyy-MM-dd HH:mm:ss'"
198
- condition="p.f_parameter_date <= '{}'"
199
- ></datepicker>
200
- </div>-->
201
- <!--<div class="col-sm-2 form-group" >
202
- <label class="font_normal_body">标记状态</label>
203
- <v-select placeholder='标记状态' close-on-select
204
- v-model="model.f_parameter_state"
205
- :value.sync="model.f_parameter_state"
206
- :options="$parent.$parent.getSignStatus"
207
- condition="p.f_parameter_state {}">
208
- </v-select>
209
- </div>-->
210
- <div class="col-sm-2 form-group form-fix-width">
211
- <label class="font_normal_body" >使用公司</label>
212
- <res-select :initresid="$parent.$parent.orgid"
213
- style="width:60%"
214
- @res-select="$parent.$parent.getRes"
215
- restype='organization'>
216
- </res-select>
217
- </div>
218
- </div>
219
- </div>
220
- </criteria>
221
- <data-grid :model="model" class="list_area table_sy" id="webmeterhandplan" partial='list' v-ref:grid>
222
- <template partial='head'>
223
- <tr>
224
- <th style="text-align:center" v-show="!$parent.$parent.$parent.isdeal">
225
- <nobr>操作</nobr>
226
- </th>
227
- <th style="text-align:center">
228
- <nobr>组织机构</nobr>
229
- </th>
230
- <th style="text-align:center">
231
- <nobr>客户编号</nobr>
232
- </th>
233
- <th style="text-align:center">
234
- <nobr>用户类型</nobr>
235
- </th>
236
- <th style="text-align:center">
237
- <nobr>用气性质</nobr>
238
- </th>
239
- <!--<th style="text-align:center"><nobr>用气属性</nobr></th>-->
240
- <th style="text-align:center">
241
- <nobr>客户名称</nobr>
242
- </th>
243
- <th style="text-align:center">
244
- <nobr>用气地址</nobr>
245
- </th>
246
- <th style="text-align:center">
247
- <nobr>安装时间</nobr>
248
- </th>
249
- <th style="text-align:center">
250
- <nobr>表号</nobr>
251
- </th>
252
- <th style="text-align:center">
253
- <nobr>气表品牌</nobr>
254
- </th>
255
- <th style="text-align:center">
256
- <nobr>气表型号</nobr>
257
- </th>
258
- <!--<th style="text-align:center"><nobr>期初余额</nobr></th>-->
259
- <th style="text-align:center">
260
- <nobr>上次抄表底数</nobr>
261
- </th>
262
- <th style="text-align:center">
263
- <nobr>本次抄表底数</nobr>
264
- </th>
265
- <th style="text-align:center">
266
- <nobr>本次用气量(m³)</nobr>
267
- </th>
268
- <!--<th style="text-align:center"><nobr>气价(元/m³)</nobr></th>-->
269
- <!--<th style="text-align:center"><nobr>24小时用气量</nobr></th>-->
270
- <th style="text-align:center">
271
- <nobr>本次用气金额(元)</nobr>
272
- </th>
273
- <th style="text-align:center">
274
- <nobr>剩余金额</nobr>
275
- </th>
276
- <!--<th style="text-align:center"><nobr>上报类型</nobr></th>-->
277
- <th style="text-align:center">
278
- <nobr>上报时间</nobr>
279
- </th>
280
- <th style="text-align:center"><nobr>信号强度</nobr></th>
281
- <th style="text-align:center"><nobr>电压</nobr></th>
282
- <!--<th style="text-align:center"><nobr>信噪比</nobr></th>-->
283
- <th style="text-align:center"><nobr>阀门状态</nobr></th>
284
- <!--<th style="text-align:center"><nobr>磁干扰</nobr></th>
285
- <th style="text-align:center"><nobr>周期关阀</nobr></th>
286
- <th style="text-align:center"><nobr>过流保护关阀</nobr></th>
287
- <th style="text-align:center"><nobr>关阀走气</nobr></th>
288
- <th style="text-align:center"><nobr>拆表报警</nobr></th>
289
- <th style="text-align:center"><nobr>外部晶振标志</nobr></th>
290
- <th style="text-align:center"><nobr>软件版本号</nobr></th>-->
291
- <!--<th style="text-align:center"><nobr>本次上报日期</nobr></th>
292
- <th style="text-align:center"><nobr>上次上报日期</nobr></th>-->
293
- <!--<th style="text-align:center"><nobr>上次表状态</nobr></th>
294
- <th style="text-align:center"><nobr>本次表状态</nobr></th>
295
- <th style="text-align:center"><nobr>标记状态</nobr></th>
296
- <th style="text-align:center"><nobr>标记时间</nobr></th>-->
297
- </tr>
298
- </template>
299
- <template partial='body' partial='list' v-ref:grid>
300
- <tr>
301
- <td style="text-align:center" v-show="!$parent.$parent.$parent.isdeal">
302
- <button-link @click="$parent.$parent.$parent.handchange(row)" class="btn btn-link" type="button">处理
303
- </button-link>
304
- </td>
305
- <td style="text-align:center">
306
- <nobr>{{row.f_orgname}}</nobr>
307
- </td>
308
- <td style="text-align:center">
309
- <nobr>{{row.f_userinfo_code}}</nobr>
310
- </td>
311
- <td style="text-align:center">
312
- <nobr>{{row.f_user_type}}</nobr>
313
- </td>
314
- <td style="text-align:center">
315
- <nobr>{{row.f_gasproperties}}</nobr>
316
- </td>
317
- <td style="text-align:center">
318
- <nobr>{{row.f_user_name}}</nobr>
319
- </td>
320
- <td>
321
- <nobr>{{row.f_address}}</nobr>
322
- </td>
323
- <td style="text-align:center">
324
- <nobr>{{row.f_gas_date}}</nobr>
325
- </td>
326
- <td style="text-align:center">
327
- <nobr>{{row.f_meternumber}}</nobr>
328
- </td>
329
- <td style="text-align:center">
330
- <nobr>{{row.f_meter_brand}}</nobr>
331
- </td>
332
- <td style="text-align:center">
333
- <nobr>{{row.f_meter_style}}</nobr>
334
- </td>
335
- <!--<td style="text-align:center"><nobr>{{row.f_curbalance}}</nobr></td>-->
336
- <td style="text-align:center">{{row.f_last_tablebase}}</td>
337
- <td style="text-align:center">{{row.f_tablebase}}</td>
338
- <td style="text-align:center">{{row.f_oughtamount}}</td>
339
- <!--<td style="text-align:center"><nobr>{{row.f_price}}</nobr></td>-->
340
- <td style="text-align:center">{{row.f_oughtfee}}</td>
341
- <td style="text-align:center">
342
- <nobr>{{row.f_curbalance}}</nobr>
343
- </td>
344
- <!--<td style="text-align:center;width: 170px;"><nobr>{{row.f_upload_type}}</nobr></td>-->
345
-
346
- <td style="text-align:center">
347
- <nobr>{{row.f_insert_date}}</nobr>
348
- </td>
349
- <td style="text-align:center" >
350
- <img :title='row.f_signal' v-if="row.f_signal>-80"
351
- src="../../../../static/WebMetericon/1.png"
352
- height="12" width="24"/>
353
- <img :title='row.f_signal' v-if="row.f_signal>-100&&row.f_signal<=-80"
354
- src="../../../../static/WebMetericon/2.png"
355
- height="12" width="24"/>
356
- <img :title='row.f_signal' v-if="row.f_signal>-120&&row.f_signal<=-100"
357
- src="../../../../static/WebMetericon/3.png"
358
- height="12" width="24"/>
359
- <img :title='row.f_signal' v-if="row.f_signal<=-120"
360
- src="../../../../static/WebMetericon/4.png"
361
- height="12" width="24"/>
362
- </td>
363
- <td style="text-align:center" >
364
- <img :title='row.f_batterylevel' v-if="row.f_batterylevel>=6.00"
365
- src="../../../../static/WebMetericon/01.png"
366
- height="12" width="24"/>
367
- <img :title='row.f_batterylevel' v-if="row.f_batterylevel>=5.00&&row.f_batterylevel<6.00"
368
- src="../../../../static/WebMetericon/02.png"
369
- height="12" width="24"/>
370
- <img :title='row.f_batterylevel' v-if="row.f_batterylevel>=4.00&&row.f_batterylevel<5.00"
371
- src="../../../../static/WebMetericon/03.png"
372
- height="12" width="24"/>
373
- <img :title='row.f_batterylevel' v-if="row.f_batterylevel<4.00"
374
- src="../../../../static/WebMetericon/04.png"
375
- height="12" width="24"/>
376
- </td>
377
- <td style="text-align:center;width: 51px">{{row.f_valvestate==1?'关阀':'开阀'}}</td>
378
- <!--<td style="text-align:center;width: 51px">
379
- <img :title='故障' v-if="row.f_magneticinterference==1"
380
- src="../../../../static/WebMetericon/guzhang.png"
381
- height="12" width="12"/>
382
- <img :title='正常' v-if="row.f_magneticinterference==0"
383
- src="../../../../static/WebMetericon/zhengchang.png"
384
- height="12" width="17"/>
385
- </td>
386
- <td style="text-align:center;width: 51px">
387
- <img :title='关阀' v-if="row.f_cycleshutvalue==1"
388
- src="../../../../static/WebMetericon/guzhang.png"
389
- height="12" width="12"/>
390
- <img :title='正常' v-if="row.f_cycleshutvalue==0"
391
- src="../../../../static/WebMetericon/zhengchang.png"
392
- height="12" width="17"/>
393
- </td>
394
- <td style="text-align:center;width: 51px">
395
- <img :title='关阀' v-if="row.f_overcurrentprotection==1"
396
- src="../../../../static/WebMetericon/guzhang.png"
397
- height="12" width="12"/>
398
- <img :title='正常' v-if="row.f_overcurrentprotection==0"
399
- src="../../../../static/WebMetericon/zhengchang.png"
400
- height="12" width="17"/>
401
- </td>
402
- <td style="text-align:center;width: 51px">
403
- <img :title='走气' v-if="row.f_leakageflag==1"
404
- src="../../../../static/WebMetericon/guzhang.png"
405
- height="12" width="12"/>
406
- <img :title='正常' v-if="row.f_leakageflag==0"
407
- src="../../../../static/WebMetericon/zhengchang.png"
408
- height="12" width="17"/>
409
- </td>
410
- <td style="text-align:center;width: 51px">
411
- <img :title='拆表' v-if="row.f_splitalarm==='1'"
412
- src="../../../../static/WebMetericon/guzhang.png"
413
- height="12" width="12"/>
414
- <img :title='正常' v-if="row.f_splitalarm==='0'"
415
- src="../../../../static/WebMetericon/zhengchang.png"
416
- height="12" width="17"/>
417
- </td>
418
- <td style="text-align:center;width: 51px">
419
- <img :title='停止' v-if="row.f_xtipllstopflag==='1'"
420
- src="../../../../static/WebMetericon/guzhang.png"
421
- height="12" width="12"/>
422
- <img :title='正常' v-if="row.f_xtipllstopflag==='0'"
423
- src="../../../../static/WebMetericon/zhengchang.png"
424
- height="12" width="17"/>
425
- </td>
426
- <td style="text-align:center"><nobr>{{row.f_software_version}}</nobr></td>-->
427
- <!--<td style="text-align:center;width: 170px;"><nobr>{{row.f_hand_date}}</nobr></td>
428
- <td style="text-align:center"><nobr>{{row.f_last_hand_date}}</nobr></td>-->
429
- <!--<td style="text-align:center"><nobr>{{row.f_last_meter_state_msg}}</nobr></td>
430
- <td style="text-align:center"><nobr>{{row.f_table_msg}}</nobr></td>
431
- <td style="text-align:center"><nobr>{{row.f_parameter_state}}</nobr></td>
432
- <td style="text-align:center"><nobr>{{row.f_parameter_date}}</nobr></td>-->
433
- </tr>
434
- </template>
435
- <template partial='foot'></template>
436
- </data-grid>
437
- </criteria-paged>
438
- </div>
439
- <!--异常抄表录入-->
440
- <modal :show.sync="handshow" backdrop="false" v-ref:modal>
441
- <header class="modal-header" slot="modal-header">
442
- <button @click="handchange()" class="close" type="button"><span>&times;</span></button>
443
- <h4 class="modal-title">表号{{handExce.exceobj.f_meternumber}}</h4>
444
- </header>
445
- <article class="modal-body" slot="modal-body">
446
- <div class="col-sm-12">
447
- <label class="font_normal_body">上报异常类型</label>
448
- <textarea class="ver-textarea" style="width:60%" class="input_search" name="name"
449
- placeholder='上报异常类型' rows="2"
450
- style="width: 100%"
451
- v-model='handExce.f_error_type'></textarea>
452
- </div>
453
- <div class="col-sm-12 form-group form-fix-width">
454
- <label class="font_normal_body">异常描述</label>
455
- <textarea class="ver-textarea" style="width:60%" class="input_search" name="name"
456
- placeholder='上报异常类型'
457
- rows="2" style="width: 100%"
458
- v-model='handExce.f_error_msg'></textarea>
459
- </div>
460
- </article>
461
- <footer class="modal-footer" slot="modal-footer">
462
- <button @click='handchange()' class="btn btn-default" type="button" v-show="handshow">取消</button>
463
- <button @click='saveException' class="btn btn-success" type="button" v-show="handshow">确认</button>
464
- </footer>
465
- </modal>
466
- </template>
467
-
468
- <script>
469
- import {PagedList} from 'vue-client'
470
- import getLodop from '../../../plugins/LodopFuncs'
471
- import plugins from '../../../plugins/GetLoginInfoService'
472
-
473
- let readyGen = async function (self) {
474
- await self.$getConfig(self, 'HandManager')
475
- console.log('指令查看config', self.config)
476
- self.getfield = self.config.excelHeaders
477
- // self.reflash()
478
- }
479
-
480
- export default {
481
- title: '数据采集',
482
- data() {
483
- return {
484
- model: new PagedList('rs/sql/manage_getNewAllWebHandPlan', 50),
485
- row: null,
486
- // 搜索显示开关
487
- searchshow: true,
488
- // 抄表录入开关
489
- handshow: false,
490
- condition: '',
491
- criteriaShow: false,
492
- orgCondtionStr: '(' + this.$login.f.orgid + ')',
493
- orgid: [this.$login.f.orgid],
494
- getfield: {},
495
- config: {
496
- excelHeaders: {
497
- 'f_orgname': '公司',
498
- 'f_userinfo_code': '客户编号',
499
- 'f_address': '客户地址',
500
- 'f_user_name': '客户名称',
501
- 'f_user_type': '用户类型',
502
- 'f_gasproperties': '用气性质',
503
- 'f_gas_date': '安装时间',
504
- 'f_meternumber': '表号',
505
- 'f_meter_brand': '气表品牌',
506
- // 'f_position': '安装位置',
507
- 'f_meter_style': '气表型号',
508
- /*'f_curbalance': '期初余额',*/
509
- 'f_last_tablebase': '上次抄表底数',
510
- 'f_tablebase': '本次抄表底数',
511
- 'f_oughtamount': '本次用气量(m³)',
512
- 'f_oughtfee': '本次用气金额(元)',
513
- 'f_curbalance': '剩余金额',
514
- 'f_insert_date': '上报时间',
515
- 'f_signal': '信号强度',
516
- 'f_batterylevel': '电压',
517
- 'f_valvestate': '阀门状态'
518
-
519
- }
520
- },
521
- Gasproperties: [],
522
- isdeal: true,
523
- getSignStatus: [
524
- {label: '全部', value: ''},
525
- {label: '已标记', value: 'is not null'},
526
- {label: '未标记', value: 'is null'}
527
- ],
528
-
529
- handExce: {
530
- //异常对象
531
- exceobj: {},
532
- //异常类型
533
- f_error_type: "",
534
- //异常描述
535
- f_error_msg: '',
536
- },
537
- show: false,
538
- }
539
- },
540
- props: ['searchobj', 'isdeal'],
541
- ready() {
542
- /*this.$refs.paged.$refs.criteria.model.startDate = Util.toStandardDateString() + ' 00:00:00'
543
- this.$refs.paged.$refs.criteria.model.endDate = Util.toStandardDateString() + ' 23:59:59'*/
544
- // this.$refs.paged.$refs.criteria.model.startDate1 = Util.toStandardDateString() + ' 00:00:00'
545
- // this.$refs.paged.$refs.criteria.model.endDate1 = Util.toStandardDateString() + ' 23:59:59'
546
- //初始化用户类型,用气性质,用气属性下拉框
547
- this.search({'condition': '1=1'})
548
- readyGen(this)
549
- },
550
- methods: {
551
- search1(){
552
- this.$refs.paged.$refs.criteria.search()
553
- },
554
- // 跳转处理页面
555
- dealmsg(val) {
556
- val.model = this.model.model
557
- this.$emit('deal-msg', val)
558
- },
559
- // 查询开关
560
- hidden() {
561
- this.criteriaShow = !this.criteriaShow
562
- },
563
- // 异常开关
564
- handchange(val) {
565
- if (val) {
566
- console.log("开启弹窗")
567
- this.handExce.exceobj = val
568
- } else {
569
- console.log("返回置空")
570
- this.handExce = {}
571
- }
572
- this.handshow = !this.handshow
573
- },
574
- // 保存输入
575
- saveException() {
576
- // 准备数据
577
- var Exejson = {}
578
- // 抄表记录id
579
- Exejson.data_id = this.handExce.exceobj.id
580
- // 异常表档案ID
581
- Exejson.f_userfiles_id = this.handExce.exceobj.f_userfiles_id
582
- // 异常户档案ID
583
- Exejson.f_userinfo_id = this.handExce.exceobj.f_userinfo_id
584
- // 异常表号
585
- Exejson.f_meternumber = this.handExce.exceobj.f_meternumber
586
- // 分公司
587
- Exejson.f_orgname = this.handExce.exceobj.f_orgname
588
- // 分公司编号
589
- Exejson.f_orgid = this.handExce.exceobj.f_orgid
590
- // 营业网点
591
- Exejson.f_outlets = this.handExce.exceobj.f_outlets
592
- // 组织机构
593
- Exejson.f_orgstr = this.handExce.exceobj.f_orgstr
594
- // 异常类型
595
- Exejson.f_error_type = this.handExce.f_error_type
596
- // 异常说明
597
- Exejson.f_error_msg = this.handExce.f_error_msg
598
- console.log("提交异常数据")
599
- console.log(Exejson)
600
- let param = {
601
- tablename: 't_exception',
602
- basedata: Exejson
603
- }
604
- try {
605
- this.$resetpost('rs/logic/saveTable', param, {resolveMsg: null, rejectMsg: null}).then((req) => {
606
- console.log(val)
607
- this.handExce = {}
608
- console.log("提交成功")
609
- }).then(() => {
610
- this.$showMessage("异常保存成功!")
611
- })
612
- } catch (e) {
613
- this.handExce = {}
614
- console.log("提交失败")
615
- this.$showMessage("异常保存失败!")
616
- }
617
- this.handshow = false
618
- },
619
- /*DealSignal(val){
620
- console.log(val.model.f_signal)
621
- if(val.model&&val.model.f_signal) {
622
- if (val.model.f_signal == '信号正常') {
623
- val.condition = val.condition + " and " + "f_signal>-100 "
624
- }
625
- if (val.model.f_signal == '信号异常') {
626
- val.condition = val.condition + " and " + "f_signal<-100 "
627
- }
628
- }
629
- return val
630
- },*/
631
- /*DealFaults(val){
632
- if (val.model&&val.model.faultstate){
633
- console.log(val.model.faultstate)
634
- val.model.faultstate.forEach((item) =>{
635
- if (item=='磁干扰'){
636
- val.condition=val.condition+" and "+"f_magneticInterference=1 "
637
- }
638
- if (item=='周期关阀'){
639
- val.condition=val.condition+" and "+"f_cycleShutValue=1 "
640
- }
641
- if (item=='过流保护关阀'){
642
- val.condition=val.condition+" and "+"f_overCurrentProtection=1 "
643
- }
644
- if (item=='关阀走气'){
645
- val.condition=val.condition+" and "+"f_leakageFlag=1 "
646
- }
647
- if(item=='拆表报警'){
648
- val.condition=val.condition+" and "+"f_SplitAlarm=1 "
649
- }
650
- })
651
- }
652
- return val
653
- },*/
654
- SaveAsFile(str) {
655
- this.$showMessage('您是否需要导出本页数据?', ['confirm', 'cancel']).then((res) => {
656
- if (res === 'confirm') {
657
- let style = '<style>' +
658
- 'td {border-width: 1px;padding: 2px;border-style: solid; border-color:black; border-collapse:collapse;} .tdright{text-align: right;} .tdcenter{text-align: center;}</style>';
659
- let strHtml = style + document.getElementById(str).innerHTML;
660
- console.log(strHtml);
661
- let LODOP = getLodop();
662
- LODOP.PRINT_INIT('');
663
- LODOP.ADD_PRINT_TABLE(5, 5, '99%', '100%', strHtml);
664
- LODOP.SAVE_TO_FILE('抄表查看.xls')
665
- }
666
- })
667
- },
668
- clearmsg() {
669
- this.$refs.paged.$refs.criteria.model = {}
670
- },
671
- search(args) {
672
- if (this.orgCondtionStr)
673
- args.condition = args.condition + `and ui.f_orgid in ${this.orgCondtionStr}`
674
- this.model.search(args.condition, args.model)
675
- },
676
- getRes(obj) {
677
- this.orgCondtionStr = plugins.convertToIn(obj)
678
-
679
- console.log('++++++++++++++++++', this.orgCondtionStr)
680
- },
681
- },
682
-
683
- watch: {
684
- // 监听查询对象
685
- 'searchobj'(val) {
686
- if (this.searchobj != null) {
687
- this.$refs.paged.$refs.criteria.model.f_meternumber = this.searchobj.f_meternumber
688
- /* this.$refs.paged.$refs.criteria.model.startDate = this.searchobj.model.startDate
689
- this.$refs.paged.$refs.criteria.model.endDate = this.searchobj.model.endDate*/
690
- this.$refs.paged.$refs.criteria.search()
691
- }
692
- }
693
- },
694
- computed: {
695
- // 上报异常类型
696
- Excestates() {
697
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('上报异常类型')]
698
- },
699
- Gasproperties() {
700
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('用气性质')]
701
- },
702
- Gasusertype() {
703
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]
704
- },
705
- Getuploadtype() {
706
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('上报类型')]
707
- },
708
- //标记状态
709
- parameterState() {
710
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('标记状态')]
711
- },
712
- //标记名称
713
- parameterName() {
714
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('标记名称')]
715
- },
716
- // 故障状态
717
- FaultStates() {
718
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('故障状态')]
719
- // return [
720
- // {label: '磁干扰', value: '磁干扰'},
721
- // {label: '周期关阀', value: '周期关阀'},
722
- // {label: '过流保护关阀', value: '过流保护关阀'},
723
- // {label: '关阀走气', value: '关阀走气'},
724
- // {label: '拆表报警', value: '拆表报警'},
725
- // ]
726
- },
727
- SignalStates() {
728
- return [
729
- {label: '全部', value: '全部'},
730
- {label: '信号正常', value: '信号正常'},
731
- {label: '信号异常', value: '信号异常'},
732
- ]
733
- }
734
- }
735
- }
736
- </script>
737
- <style>
738
- .datapanel {
739
- color: #333;
740
- background-color: white;
741
- box-shadow: darkgrey 0.5px 0.5px 0.5px 0.5px;
742
- padding: 10px 30px 10px 30px;
743
- border-radius: 15px;
744
- }
745
- </style>
1
+ <template>
2
+ <div class="flex" style="flex:1;" @keyup.enter="search1">
3
+ <criteria-paged :model="model" v-ref:paged>
4
+ <criteria @condition-changed='$parent.search' partial='criteria' v-ref:criteria>
5
+ <div class="form-horizontal select-overspread container-fluid auto" novalidate partial
6
+ v-show="$parent.$parent.isdeal">
7
+ <div class="row" width="100%">
8
+ <div class="col-sm-2 form-group">
9
+ <label class="font_normal_body">表&emsp;&emsp;号</label>
10
+ <input style="width:60%" class="input_search" condition="mr.f_meternumber like '%{}%'"
11
+ placeholder='表号'
12
+ type="text"
13
+ v-model="model.f_meternumber"
14
+ >
15
+ </div>
16
+ <div class="col-sm-2 form-group">
17
+ <label class="font_normal_body">客户编号</label>
18
+ <input style="width:60%" class="input_search" condition="u.f_userinfo_code like '{}%'"
19
+ placeholder='客户编号'
20
+ type="text"
21
+ v-model="model.f_userinfo_code">
22
+ </div>
23
+ <div class="col-sm-2 form-group">
24
+ <label class="font_normal_body">客户名称</label>
25
+ <input style="width:60%" class="input_search" condition="mr.f_user_name like '%{}%'" placeholder='客户名称'
26
+ type="text"
27
+ v-model="model.f_user_name">
28
+ </div>
29
+ <div class="col-sm-3 form-group button-range">
30
+ <button @click="search()" class="button_search button_spacing" v-el:cba>查询</button>
31
+ <button @click="$parent.$parent.clearmsg" class="button_clear button_spacing">清空</button>
32
+ <!--<label class="font_normal_body"></label>
33
+ <button class="btn btn-success width-100" @click="$parent.$parent.SaveAsFile('webmeterhandplan')">导出</button>-->
34
+ <!-- </div>-->
35
+ <!-- <div class="col-sm-2 form-group form-group">-->
36
+ <export-excel
37
+ :choose-col="true"
38
+ :data="{condition: $parent.$parent.condition}"
39
+ :field="$parent.$parent.getfield" sql-name="manage_getNewAllWebHandPlan" sqlurl="api/af-revenue/logic/exportfile"
40
+ template-name='数据采集'></export-excel>
41
+ <div style="float: right" class="button_spacing"
42
+ :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
43
+ @click="$parent.$parent.hidden()"></div>
44
+ <!-- <span style="padding-left: 30px; ">-->
45
+ <!-- <report-excel class="btn btn-success" id="grid"></report-excel>-->
46
+ <!-- </span>-->
47
+ </div>
48
+ </div>
49
+ <div class="row" v-show="$parent.$parent.criteriaShow">
50
+ <div class="col-sm-2 form-group">
51
+ <label class="font_normal_body">用气地址</label>
52
+ <input style="width:60%" class="input_search" condition="u.f_address like '%{}%'" placeholder='用气地址'
53
+ type="text"
54
+ v-model="model.f_address"
55
+ >
56
+ </div>
57
+ <div class="col-sm-2 form-group">
58
+ <label class="font_normal_body">用户类型</label>
59
+ <v-select :options="$parent.$parent.Gasusertype" :value.sync="model.f_user_type"
60
+ close-on-select
61
+ style="width:60%"
62
+ condition="ui.f_user_type = '{}'"
63
+ placeholder='用户类型'
64
+ v-model="model.f_user_type"
65
+ value-single="true"
66
+ >
67
+ </v-select>
68
+ </div>
69
+ <div class="col-sm-2 form-group">
70
+ <label class="font_normal_body">用气性质</label>
71
+ <v-select :options="$parent.$parent.Gasproperties" :value.sync="model.f_gasproperties"
72
+ close-on-select
73
+ style="width:60%"
74
+ condition="ui.f_gasproperties = '{}'"
75
+ placeholder='用气性质'
76
+ v-model="model.f_gasproperties"
77
+ value-single="true">
78
+ </v-select>
79
+ </div>
80
+ <!--<div class="col-sm-2 form-group">
81
+ <label class="font_normal_body">阀门状态</label>
82
+ <v-select placeholder='阀门状态' close-on-select
83
+ v-model="model.f_valvestate"
84
+ :value.sync="model.f_valvestate"
85
+ condition="mr.f_valvestate like '%{}%'"
86
+ :options="$parent.$parent.Valvestates">
87
+ </v-select>
88
+ </div>-->
89
+ <!--<div class="col-sm-2 form-group">
90
+ <label class="font_normal_body">上报类型</label>
91
+ <v-select placeholder='上报类型' close-on-select
92
+ v-model="model.f_upload_type"
93
+ :value.sync="model.f_upload_type"
94
+ :options="$parent.$parent.Getuploadtype"
95
+ condition="mr.f_upload_type = '{}'"
96
+ >
97
+ </v-select>
98
+ </div>-->
99
+ <div class="col-sm-2 form-group">
100
+ <label class="font_normal_body" style="word-break:keep-all;">上报时间</label>
101
+ <datepicker :format="'yyyy-MM-dd HH:mm:ss'"
102
+ :value.sync="model.startDate"
103
+ style="width:60%"
104
+ condition="mr.f_insert_date >= '{}'"
105
+ placeholder="起始时间"
106
+ v-model="model.startDate"
107
+ ></datepicker>
108
+ </div>
109
+ <div class="col-sm-2 form-group">
110
+ <label class="font_normal_body" style="word-break:keep-all;">&emsp;&ensp;至&emsp;</label>
111
+ <datepicker :format="'yyyy-MM-dd HH:mm:ss'"
112
+ :value.sync="model.endDate"
113
+ style="width:60%"
114
+ condition="mr.f_insert_date <= '{}'"
115
+ placeholder="结束时间"
116
+ v-model="model.endDate"
117
+ ></datepicker>
118
+ </div>
119
+ <div class="col-sm-2 form-group">
120
+ <label class="font_normal_body" style="word-break:keep-all;">安装时间</label>
121
+ <datepicker :format="'yyyy-MM-dd HH:mm:ss'"
122
+ :value.sync="model.startDate1"
123
+ style="width:60%"
124
+ condition="ui.f_gas_date >= '{}'"
125
+ placeholder="起始时间"
126
+ v-model="model.startDate1"
127
+ ></datepicker>
128
+ </div>
129
+ <div class="col-sm-2 form-group">
130
+ <label class="font_normal_body" style="word-break:keep-all;">&emsp;&ensp;至&emsp;</label>
131
+ <datepicker :format="'yyyy-MM-dd HH:mm:ss'"
132
+ :value.sync="model.endDate1"
133
+ style="width:60%"
134
+ condition="ui.f_gas_date <= '{}'"
135
+ placeholder="结束时间"
136
+ v-model="model.endDate1"
137
+ ></datepicker>
138
+ </div>
139
+ <!--<div class="col-sm-2 form-group">-->
140
+ <!--<label class="font_normal_body">故障状态</label>-->
141
+ <!--<v-select placeholder='故障状态'-->
142
+ <!--v-model="model.faultstate"-->
143
+ <!--multiple-->
144
+ <!--:value.sync="model.faultstate"-->
145
+ <!--:options="$parent.$parent.FaultStates">-->
146
+ <!--</v-select>-->
147
+ <!--</div>-->
148
+ <div class="col-sm-2 form-group">
149
+ <label class="font_normal_body">用&ensp;气&ensp;量</label>
150
+ <input style="width:60%" class="input_search" condition="h.f_oughtamount >= '{}'" placeholder='最小气量' type="text"
151
+ v-el:start_gas v-model="model.start_gas" v-next-el='start_gas'>
152
+ </div>
153
+ <div class="col-sm-2 form-group">
154
+ <label class="font_normal_body" style="word-break:keep-all;">&emsp;&ensp;至&emsp;</label>
155
+ <input style="width:60%" class="input_search" condition="h.f_oughtamount <= '{}'" placeholder='最大气量' type="text"
156
+ v-el:end_gas v-el:xq v-model="model.end_gas" v-next-el='end_gas'
157
+ >
158
+ </div>
159
+ <div class="col-sm-2 form-group">
160
+ <label class="font_normal_body">剩余金额</label>
161
+ <input style="width:60%" class="input_search" condition="h.f_curbalance >= '{}'"
162
+ placeholder='最小金额'
163
+ type="text"
164
+ v-model="model.start_f_balance">
165
+ </div>
166
+ <div class="col-sm-2 form-group">
167
+ <label class="font_normal_body">&emsp;&ensp;至&emsp;</label>
168
+ <input style="width:60%" class="input_search" condition="h.f_curbalance <= '{}'"
169
+ placeholder='最大金额'
170
+ type="text"
171
+ v-model="model.end_f_balance"
172
+ >
173
+ </div>
174
+ <!--<div class="col-sm-2 form-group" >
175
+ <label class="font_normal_body">标记名称</label>
176
+ <v-select placeholder='标记名称' close-on-select
177
+ v-model="model.f_parameter_name"
178
+ :value.sync="model.f_parameter_name"
179
+ :options="$parent.$parent.parameterName"
180
+ condition="p.f_parameter_name = '{}'">
181
+ </v-select>
182
+ </div>-->
183
+ <!--<div class="col-sm-2 form-group" >
184
+ <label class="font_normal_body" style="word-break:keep-all;">操作时间</label>
185
+ <datepicker placeholder="起始时间"
186
+ :value.sync="model.startDate2"
187
+ v-model="model.startDate2"
188
+ :format="'yyyy-MM-dd HH:mm:ss'"
189
+ condition="p.f_parameter_date >= '{}'"
190
+ ></datepicker>
191
+ </div>
192
+ <div class="col-sm-2 form-group" >
193
+ <label class="font_normal_body" style="word-break:keep-all;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;至&nbsp;&nbsp;&nbsp;</label>
194
+ <datepicker placeholder="结束时间"
195
+ :value.sync="model.endDate2"
196
+ v-model="model.endDate2"
197
+ :format="'yyyy-MM-dd HH:mm:ss'"
198
+ condition="p.f_parameter_date <= '{}'"
199
+ ></datepicker>
200
+ </div>-->
201
+ <!--<div class="col-sm-2 form-group" >
202
+ <label class="font_normal_body">标记状态</label>
203
+ <v-select placeholder='标记状态' close-on-select
204
+ v-model="model.f_parameter_state"
205
+ :value.sync="model.f_parameter_state"
206
+ :options="$parent.$parent.getSignStatus"
207
+ condition="p.f_parameter_state {}">
208
+ </v-select>
209
+ </div>-->
210
+ <div class="col-sm-2 form-group form-fix-width">
211
+ <label class="font_normal_body" >使用公司</label>
212
+ <res-select :initresid="$parent.$parent.orgid"
213
+ style="width:60%"
214
+ @res-select="$parent.$parent.getRes"
215
+ restype='organization'>
216
+ </res-select>
217
+ </div>
218
+ </div>
219
+ </div>
220
+ </criteria>
221
+ <data-grid :model="model" class="list_area table_sy" id="webmeterhandplan" partial='list' v-ref:grid>
222
+ <template partial='head'>
223
+ <tr>
224
+ <th style="text-align:center" v-show="!$parent.$parent.$parent.isdeal">
225
+ <nobr>操作</nobr>
226
+ </th>
227
+ <th style="text-align:center">
228
+ <nobr>组织机构</nobr>
229
+ </th>
230
+ <th style="text-align:center">
231
+ <nobr>客户编号</nobr>
232
+ </th>
233
+ <th style="text-align:center">
234
+ <nobr>用户类型</nobr>
235
+ </th>
236
+ <th style="text-align:center">
237
+ <nobr>用气性质</nobr>
238
+ </th>
239
+ <!--<th style="text-align:center"><nobr>用气属性</nobr></th>-->
240
+ <th style="text-align:center">
241
+ <nobr>客户名称</nobr>
242
+ </th>
243
+ <th style="text-align:center">
244
+ <nobr>用气地址</nobr>
245
+ </th>
246
+ <th style="text-align:center">
247
+ <nobr>安装时间</nobr>
248
+ </th>
249
+ <th style="text-align:center">
250
+ <nobr>表号</nobr>
251
+ </th>
252
+ <th style="text-align:center">
253
+ <nobr>气表品牌</nobr>
254
+ </th>
255
+ <th style="text-align:center">
256
+ <nobr>气表型号</nobr>
257
+ </th>
258
+ <!--<th style="text-align:center"><nobr>期初余额</nobr></th>-->
259
+ <th style="text-align:center">
260
+ <nobr>上次抄表底数</nobr>
261
+ </th>
262
+ <th style="text-align:center">
263
+ <nobr>本次抄表底数</nobr>
264
+ </th>
265
+ <th style="text-align:center">
266
+ <nobr>本次用气量(m³)</nobr>
267
+ </th>
268
+ <!--<th style="text-align:center"><nobr>气价(元/m³)</nobr></th>-->
269
+ <!--<th style="text-align:center"><nobr>24小时用气量</nobr></th>-->
270
+ <th style="text-align:center">
271
+ <nobr>本次用气金额(元)</nobr>
272
+ </th>
273
+ <th style="text-align:center">
274
+ <nobr>剩余金额</nobr>
275
+ </th>
276
+ <!--<th style="text-align:center"><nobr>上报类型</nobr></th>-->
277
+ <th style="text-align:center">
278
+ <nobr>上报时间</nobr>
279
+ </th>
280
+ <th style="text-align:center"><nobr>信号强度</nobr></th>
281
+ <th style="text-align:center"><nobr>电压</nobr></th>
282
+ <!--<th style="text-align:center"><nobr>信噪比</nobr></th>-->
283
+ <th style="text-align:center"><nobr>阀门状态</nobr></th>
284
+ <!--<th style="text-align:center"><nobr>磁干扰</nobr></th>
285
+ <th style="text-align:center"><nobr>周期关阀</nobr></th>
286
+ <th style="text-align:center"><nobr>过流保护关阀</nobr></th>
287
+ <th style="text-align:center"><nobr>关阀走气</nobr></th>
288
+ <th style="text-align:center"><nobr>拆表报警</nobr></th>
289
+ <th style="text-align:center"><nobr>外部晶振标志</nobr></th>
290
+ <th style="text-align:center"><nobr>软件版本号</nobr></th>-->
291
+ <!--<th style="text-align:center"><nobr>本次上报日期</nobr></th>
292
+ <th style="text-align:center"><nobr>上次上报日期</nobr></th>-->
293
+ <!--<th style="text-align:center"><nobr>上次表状态</nobr></th>
294
+ <th style="text-align:center"><nobr>本次表状态</nobr></th>
295
+ <th style="text-align:center"><nobr>标记状态</nobr></th>
296
+ <th style="text-align:center"><nobr>标记时间</nobr></th>-->
297
+ </tr>
298
+ </template>
299
+ <template partial='body' partial='list' v-ref:grid>
300
+ <tr>
301
+ <td style="text-align:center" v-show="!$parent.$parent.$parent.isdeal">
302
+ <button-link @click="$parent.$parent.$parent.handchange(row)" class="btn btn-link" type="button">处理
303
+ </button-link>
304
+ </td>
305
+ <td style="text-align:center">
306
+ <nobr>{{row.f_orgname}}</nobr>
307
+ </td>
308
+ <td style="text-align:center">
309
+ <nobr>{{row.f_userinfo_code}}</nobr>
310
+ </td>
311
+ <td style="text-align:center">
312
+ <nobr>{{row.f_user_type}}</nobr>
313
+ </td>
314
+ <td style="text-align:center">
315
+ <nobr>{{row.f_gasproperties}}</nobr>
316
+ </td>
317
+ <td style="text-align:center">
318
+ <nobr>{{row.f_user_name}}</nobr>
319
+ </td>
320
+ <td>
321
+ <nobr>{{row.f_address}}</nobr>
322
+ </td>
323
+ <td style="text-align:center">
324
+ <nobr>{{row.f_gas_date}}</nobr>
325
+ </td>
326
+ <td style="text-align:center">
327
+ <nobr>{{row.f_meternumber}}</nobr>
328
+ </td>
329
+ <td style="text-align:center">
330
+ <nobr>{{row.f_meter_brand}}</nobr>
331
+ </td>
332
+ <td style="text-align:center">
333
+ <nobr>{{row.f_meter_style}}</nobr>
334
+ </td>
335
+ <!--<td style="text-align:center"><nobr>{{row.f_curbalance}}</nobr></td>-->
336
+ <td style="text-align:center">{{row.f_last_tablebase}}</td>
337
+ <td style="text-align:center">{{row.f_tablebase}}</td>
338
+ <td style="text-align:center">{{row.f_oughtamount}}</td>
339
+ <!--<td style="text-align:center"><nobr>{{row.f_price}}</nobr></td>-->
340
+ <td style="text-align:center">{{row.f_oughtfee}}</td>
341
+ <td style="text-align:center">
342
+ <nobr>{{row.f_curbalance}}</nobr>
343
+ </td>
344
+ <!--<td style="text-align:center;width: 170px;"><nobr>{{row.f_upload_type}}</nobr></td>-->
345
+
346
+ <td style="text-align:center">
347
+ <nobr>{{row.f_insert_date}}</nobr>
348
+ </td>
349
+ <td style="text-align:center" >
350
+ <img :title='row.f_signal' v-if="row.f_signal>-80"
351
+ src="../../../../static/WebMetericon/1.png"
352
+ height="12" width="24"/>
353
+ <img :title='row.f_signal' v-if="row.f_signal>-100&&row.f_signal<=-80"
354
+ src="../../../../static/WebMetericon/2.png"
355
+ height="12" width="24"/>
356
+ <img :title='row.f_signal' v-if="row.f_signal>-120&&row.f_signal<=-100"
357
+ src="../../../../static/WebMetericon/3.png"
358
+ height="12" width="24"/>
359
+ <img :title='row.f_signal' v-if="row.f_signal<=-120"
360
+ src="../../../../static/WebMetericon/4.png"
361
+ height="12" width="24"/>
362
+ </td>
363
+ <td style="text-align:center" >
364
+ <img :title='row.f_batterylevel' v-if="row.f_batterylevel>=6.00"
365
+ src="../../../../static/WebMetericon/01.png"
366
+ height="12" width="24"/>
367
+ <img :title='row.f_batterylevel' v-if="row.f_batterylevel>=5.00&&row.f_batterylevel<6.00"
368
+ src="../../../../static/WebMetericon/02.png"
369
+ height="12" width="24"/>
370
+ <img :title='row.f_batterylevel' v-if="row.f_batterylevel>=4.00&&row.f_batterylevel<5.00"
371
+ src="../../../../static/WebMetericon/03.png"
372
+ height="12" width="24"/>
373
+ <img :title='row.f_batterylevel' v-if="row.f_batterylevel<4.00"
374
+ src="../../../../static/WebMetericon/04.png"
375
+ height="12" width="24"/>
376
+ </td>
377
+ <td style="text-align:center;width: 51px">{{row.f_valvestate==1?'关阀':'开阀'}}</td>
378
+ <!--<td style="text-align:center;width: 51px">
379
+ <img :title='故障' v-if="row.f_magneticinterference==1"
380
+ src="../../../../static/WebMetericon/guzhang.png"
381
+ height="12" width="12"/>
382
+ <img :title='正常' v-if="row.f_magneticinterference==0"
383
+ src="../../../../static/WebMetericon/zhengchang.png"
384
+ height="12" width="17"/>
385
+ </td>
386
+ <td style="text-align:center;width: 51px">
387
+ <img :title='关阀' v-if="row.f_cycleshutvalue==1"
388
+ src="../../../../static/WebMetericon/guzhang.png"
389
+ height="12" width="12"/>
390
+ <img :title='正常' v-if="row.f_cycleshutvalue==0"
391
+ src="../../../../static/WebMetericon/zhengchang.png"
392
+ height="12" width="17"/>
393
+ </td>
394
+ <td style="text-align:center;width: 51px">
395
+ <img :title='关阀' v-if="row.f_overcurrentprotection==1"
396
+ src="../../../../static/WebMetericon/guzhang.png"
397
+ height="12" width="12"/>
398
+ <img :title='正常' v-if="row.f_overcurrentprotection==0"
399
+ src="../../../../static/WebMetericon/zhengchang.png"
400
+ height="12" width="17"/>
401
+ </td>
402
+ <td style="text-align:center;width: 51px">
403
+ <img :title='走气' v-if="row.f_leakageflag==1"
404
+ src="../../../../static/WebMetericon/guzhang.png"
405
+ height="12" width="12"/>
406
+ <img :title='正常' v-if="row.f_leakageflag==0"
407
+ src="../../../../static/WebMetericon/zhengchang.png"
408
+ height="12" width="17"/>
409
+ </td>
410
+ <td style="text-align:center;width: 51px">
411
+ <img :title='拆表' v-if="row.f_splitalarm==='1'"
412
+ src="../../../../static/WebMetericon/guzhang.png"
413
+ height="12" width="12"/>
414
+ <img :title='正常' v-if="row.f_splitalarm==='0'"
415
+ src="../../../../static/WebMetericon/zhengchang.png"
416
+ height="12" width="17"/>
417
+ </td>
418
+ <td style="text-align:center;width: 51px">
419
+ <img :title='停止' v-if="row.f_xtipllstopflag==='1'"
420
+ src="../../../../static/WebMetericon/guzhang.png"
421
+ height="12" width="12"/>
422
+ <img :title='正常' v-if="row.f_xtipllstopflag==='0'"
423
+ src="../../../../static/WebMetericon/zhengchang.png"
424
+ height="12" width="17"/>
425
+ </td>
426
+ <td style="text-align:center"><nobr>{{row.f_software_version}}</nobr></td>-->
427
+ <!--<td style="text-align:center;width: 170px;"><nobr>{{row.f_hand_date}}</nobr></td>
428
+ <td style="text-align:center"><nobr>{{row.f_last_hand_date}}</nobr></td>-->
429
+ <!--<td style="text-align:center"><nobr>{{row.f_last_meter_state_msg}}</nobr></td>
430
+ <td style="text-align:center"><nobr>{{row.f_table_msg}}</nobr></td>
431
+ <td style="text-align:center"><nobr>{{row.f_parameter_state}}</nobr></td>
432
+ <td style="text-align:center"><nobr>{{row.f_parameter_date}}</nobr></td>-->
433
+ </tr>
434
+ </template>
435
+ <template partial='foot'></template>
436
+ </data-grid>
437
+ </criteria-paged>
438
+ </div>
439
+ <!--异常抄表录入-->
440
+ <modal :show.sync="handshow" backdrop="false" v-ref:modal>
441
+ <header class="modal-header" slot="modal-header">
442
+ <button @click="handchange()" class="close" type="button"><span>&times;</span></button>
443
+ <h4 class="modal-title">表号{{handExce.exceobj.f_meternumber}}</h4>
444
+ </header>
445
+ <article class="modal-body" slot="modal-body">
446
+ <div class="col-sm-12">
447
+ <label class="font_normal_body">上报异常类型</label>
448
+ <textarea class="ver-textarea" style="width:60%" class="input_search" name="name"
449
+ placeholder='上报异常类型' rows="2"
450
+ style="width: 100%"
451
+ v-model='handExce.f_error_type'></textarea>
452
+ </div>
453
+ <div class="col-sm-12 form-group form-fix-width">
454
+ <label class="font_normal_body">异常描述</label>
455
+ <textarea class="ver-textarea" style="width:60%" class="input_search" name="name"
456
+ placeholder='上报异常类型'
457
+ rows="2" style="width: 100%"
458
+ v-model='handExce.f_error_msg'></textarea>
459
+ </div>
460
+ </article>
461
+ <footer class="modal-footer" slot="modal-footer">
462
+ <button @click='handchange()' class="btn btn-default" type="button" v-show="handshow">取消</button>
463
+ <button @click='saveException' class="btn btn-success" type="button" v-show="handshow">确认</button>
464
+ </footer>
465
+ </modal>
466
+ </template>
467
+
468
+ <script>
469
+ import {PagedList} from 'vue-client'
470
+ import getLodop from '../../../plugins/LodopFuncs'
471
+ import plugins from '../../../plugins/GetLoginInfoService'
472
+
473
+ let readyGen = async function (self) {
474
+ await self.$getConfig(self, 'HandManager')
475
+ console.log('指令查看config', self.config)
476
+ self.getfield = self.config.excelHeaders
477
+ // self.reflash()
478
+ }
479
+
480
+ export default {
481
+ title: '数据采集',
482
+ data() {
483
+ return {
484
+ model: new PagedList('api/af-revenue/sql/manage_getNewAllWebHandPlan', 50),
485
+ row: null,
486
+ // 搜索显示开关
487
+ searchshow: true,
488
+ // 抄表录入开关
489
+ handshow: false,
490
+ condition: '',
491
+ criteriaShow: false,
492
+ orgCondtionStr: '(' + this.$login.f.orgid + ')',
493
+ orgid: [this.$login.f.orgid],
494
+ getfield: {},
495
+ config: {
496
+ excelHeaders: {
497
+ 'f_orgname': '公司',
498
+ 'f_userinfo_code': '客户编号',
499
+ 'f_address': '客户地址',
500
+ 'f_user_name': '客户名称',
501
+ 'f_user_type': '用户类型',
502
+ 'f_gasproperties': '用气性质',
503
+ 'f_gas_date': '安装时间',
504
+ 'f_meternumber': '表号',
505
+ 'f_meter_brand': '气表品牌',
506
+ // 'f_position': '安装位置',
507
+ 'f_meter_style': '气表型号',
508
+ /*'f_curbalance': '期初余额',*/
509
+ 'f_last_tablebase': '上次抄表底数',
510
+ 'f_tablebase': '本次抄表底数',
511
+ 'f_oughtamount': '本次用气量(m³)',
512
+ 'f_oughtfee': '本次用气金额(元)',
513
+ 'f_curbalance': '剩余金额',
514
+ 'f_insert_date': '上报时间',
515
+ 'f_signal': '信号强度',
516
+ 'f_batterylevel': '电压',
517
+ 'f_valvestate': '阀门状态'
518
+
519
+ }
520
+ },
521
+ Gasproperties: [],
522
+ isdeal: true,
523
+ getSignStatus: [
524
+ {label: '全部', value: ''},
525
+ {label: '已标记', value: 'is not null'},
526
+ {label: '未标记', value: 'is null'}
527
+ ],
528
+
529
+ handExce: {
530
+ //异常对象
531
+ exceobj: {},
532
+ //异常类型
533
+ f_error_type: "",
534
+ //异常描述
535
+ f_error_msg: '',
536
+ },
537
+ show: false,
538
+ }
539
+ },
540
+ props: ['searchobj', 'isdeal'],
541
+ ready() {
542
+ /*this.$refs.paged.$refs.criteria.model.startDate = Util.toStandardDateString() + ' 00:00:00'
543
+ this.$refs.paged.$refs.criteria.model.endDate = Util.toStandardDateString() + ' 23:59:59'*/
544
+ // this.$refs.paged.$refs.criteria.model.startDate1 = Util.toStandardDateString() + ' 00:00:00'
545
+ // this.$refs.paged.$refs.criteria.model.endDate1 = Util.toStandardDateString() + ' 23:59:59'
546
+ //初始化用户类型,用气性质,用气属性下拉框
547
+ this.search({'condition': '1=1'})
548
+ readyGen(this)
549
+ },
550
+ methods: {
551
+ search1(){
552
+ this.$refs.paged.$refs.criteria.search()
553
+ },
554
+ // 跳转处理页面
555
+ dealmsg(val) {
556
+ val.model = this.model.model
557
+ this.$emit('deal-msg', val)
558
+ },
559
+ // 查询开关
560
+ hidden() {
561
+ this.criteriaShow = !this.criteriaShow
562
+ },
563
+ // 异常开关
564
+ handchange(val) {
565
+ if (val) {
566
+ console.log("开启弹窗")
567
+ this.handExce.exceobj = val
568
+ } else {
569
+ console.log("返回置空")
570
+ this.handExce = {}
571
+ }
572
+ this.handshow = !this.handshow
573
+ },
574
+ // 保存输入
575
+ saveException() {
576
+ // 准备数据
577
+ var Exejson = {}
578
+ // 抄表记录id
579
+ Exejson.data_id = this.handExce.exceobj.id
580
+ // 异常表档案ID
581
+ Exejson.f_userfiles_id = this.handExce.exceobj.f_userfiles_id
582
+ // 异常户档案ID
583
+ Exejson.f_userinfo_id = this.handExce.exceobj.f_userinfo_id
584
+ // 异常表号
585
+ Exejson.f_meternumber = this.handExce.exceobj.f_meternumber
586
+ // 分公司
587
+ Exejson.f_orgname = this.handExce.exceobj.f_orgname
588
+ // 分公司编号
589
+ Exejson.f_orgid = this.handExce.exceobj.f_orgid
590
+ // 营业网点
591
+ Exejson.f_outlets = this.handExce.exceobj.f_outlets
592
+ // 组织机构
593
+ Exejson.f_orgstr = this.handExce.exceobj.f_orgstr
594
+ // 异常类型
595
+ Exejson.f_error_type = this.handExce.f_error_type
596
+ // 异常说明
597
+ Exejson.f_error_msg = this.handExce.f_error_msg
598
+ console.log("提交异常数据")
599
+ console.log(Exejson)
600
+ let param = {
601
+ tablename: 't_exception',
602
+ basedata: Exejson
603
+ }
604
+ try {
605
+ this.$resetpost('api/af-revenue/logic/saveTable', param, {resolveMsg: null, rejectMsg: null}).then((req) => {
606
+ console.log(val)
607
+ this.handExce = {}
608
+ console.log("提交成功")
609
+ }).then(() => {
610
+ this.$showMessage("异常保存成功!")
611
+ })
612
+ } catch (e) {
613
+ this.handExce = {}
614
+ console.log("提交失败")
615
+ this.$showMessage("异常保存失败!")
616
+ }
617
+ this.handshow = false
618
+ },
619
+ /*DealSignal(val){
620
+ console.log(val.model.f_signal)
621
+ if(val.model&&val.model.f_signal) {
622
+ if (val.model.f_signal == '信号正常') {
623
+ val.condition = val.condition + " and " + "f_signal>-100 "
624
+ }
625
+ if (val.model.f_signal == '信号异常') {
626
+ val.condition = val.condition + " and " + "f_signal<-100 "
627
+ }
628
+ }
629
+ return val
630
+ },*/
631
+ /*DealFaults(val){
632
+ if (val.model&&val.model.faultstate){
633
+ console.log(val.model.faultstate)
634
+ val.model.faultstate.forEach((item) =>{
635
+ if (item=='磁干扰'){
636
+ val.condition=val.condition+" and "+"f_magneticInterference=1 "
637
+ }
638
+ if (item=='周期关阀'){
639
+ val.condition=val.condition+" and "+"f_cycleShutValue=1 "
640
+ }
641
+ if (item=='过流保护关阀'){
642
+ val.condition=val.condition+" and "+"f_overCurrentProtection=1 "
643
+ }
644
+ if (item=='关阀走气'){
645
+ val.condition=val.condition+" and "+"f_leakageFlag=1 "
646
+ }
647
+ if(item=='拆表报警'){
648
+ val.condition=val.condition+" and "+"f_SplitAlarm=1 "
649
+ }
650
+ })
651
+ }
652
+ return val
653
+ },*/
654
+ SaveAsFile(str) {
655
+ this.$showMessage('您是否需要导出本页数据?', ['confirm', 'cancel']).then((res) => {
656
+ if (res === 'confirm') {
657
+ let style = '<style>' +
658
+ 'td {border-width: 1px;padding: 2px;border-style: solid; border-color:black; border-collapse:collapse;} .tdright{text-align: right;} .tdcenter{text-align: center;}</style>';
659
+ let strHtml = style + document.getElementById(str).innerHTML;
660
+ console.log(strHtml);
661
+ let LODOP = getLodop();
662
+ LODOP.PRINT_INIT('');
663
+ LODOP.ADD_PRINT_TABLE(5, 5, '99%', '100%', strHtml);
664
+ LODOP.SAVE_TO_FILE('抄表查看.xls')
665
+ }
666
+ })
667
+ },
668
+ clearmsg() {
669
+ this.$refs.paged.$refs.criteria.model = {}
670
+ },
671
+ search(args) {
672
+ if (this.orgCondtionStr)
673
+ args.condition = args.condition + `and ui.f_orgid in ${this.orgCondtionStr}`
674
+ this.model.search(args.condition, args.model)
675
+ },
676
+ getRes(obj) {
677
+ this.orgCondtionStr = plugins.convertToIn(obj)
678
+
679
+ console.log('++++++++++++++++++', this.orgCondtionStr)
680
+ },
681
+ },
682
+
683
+ watch: {
684
+ // 监听查询对象
685
+ 'searchobj'(val) {
686
+ if (this.searchobj != null) {
687
+ this.$refs.paged.$refs.criteria.model.f_meternumber = this.searchobj.f_meternumber
688
+ /* this.$refs.paged.$refs.criteria.model.startDate = this.searchobj.model.startDate
689
+ this.$refs.paged.$refs.criteria.model.endDate = this.searchobj.model.endDate*/
690
+ this.$refs.paged.$refs.criteria.search()
691
+ }
692
+ }
693
+ },
694
+ computed: {
695
+ // 上报异常类型
696
+ Excestates() {
697
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('上报异常类型')]
698
+ },
699
+ Gasproperties() {
700
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('用气性质')]
701
+ },
702
+ Gasusertype() {
703
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]
704
+ },
705
+ Getuploadtype() {
706
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('上报类型')]
707
+ },
708
+ //标记状态
709
+ parameterState() {
710
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('标记状态')]
711
+ },
712
+ //标记名称
713
+ parameterName() {
714
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('标记名称')]
715
+ },
716
+ // 故障状态
717
+ FaultStates() {
718
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('故障状态')]
719
+ // return [
720
+ // {label: '磁干扰', value: '磁干扰'},
721
+ // {label: '周期关阀', value: '周期关阀'},
722
+ // {label: '过流保护关阀', value: '过流保护关阀'},
723
+ // {label: '关阀走气', value: '关阀走气'},
724
+ // {label: '拆表报警', value: '拆表报警'},
725
+ // ]
726
+ },
727
+ SignalStates() {
728
+ return [
729
+ {label: '全部', value: '全部'},
730
+ {label: '信号正常', value: '信号正常'},
731
+ {label: '信号异常', value: '信号异常'},
732
+ ]
733
+ }
734
+ }
735
+ }
736
+ </script>
737
+ <style>
738
+ .datapanel {
739
+ color: #333;
740
+ background-color: white;
741
+ box-shadow: darkgrey 0.5px 0.5px 0.5px 0.5px;
742
+ padding: 10px 30px 10px 30px;
743
+ border-radius: 15px;
744
+ }
745
+ </style>