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