manage-client 3.2.49 → 3.2.50

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 (409) hide show
  1. package/.babelrc +5 -5
  2. package/.classpath +6 -6
  3. package/.editorconfig +9 -9
  4. package/.eslintrc.js +20 -20
  5. package/.gradle/buildOutputCleanup/cache.properties +2 -2
  6. package/.project +18 -18
  7. package/CHANGELOG.md +15 -15
  8. package/DOC//345/212/237/350/203/275/350/257/264/346/230/216.md +13 -13
  9. package/DOC//347/211/210/346/234/254/344/277/241/346/201/257.md +8 -8
  10. package/ManageClient.iml +13 -13
  11. package/README.md +38 -38
  12. package/build/dev-server.js +175 -174
  13. package/build/webpack.base.conf.js +82 -82
  14. package/build.gradle +13 -13
  15. package/config/dev.env.js +6 -6
  16. package/config/index.js +40 -40
  17. package/config/prod.env.js +3 -3
  18. package/config/test.env.js +6 -6
  19. package/gradle/wrapper/gradle-wrapper.properties +5 -5
  20. package/gradlew.bat +100 -100
  21. package/index.html +28 -28
  22. package/package.json +1 -1
  23. package/release.bat +5 -5
  24. package/src/ManageHome.js +269 -269
  25. package/src/Staff/StaffCompileList.vue +334 -334
  26. package/src/Staff/StaffList.vue +161 -161
  27. package/src/Staff/StaffListManage.vue +49 -49
  28. package/src/Util.js +367 -367
  29. package/src/components/BasisEcharts/BarChart.vue +247 -247
  30. package/src/components/BasisEcharts/LineChart.vue +243 -243
  31. package/src/components/ManageHome/CustomerService/ContentmentStatistics.vue +135 -135
  32. package/src/components/ManageHome/CustomerService/ExcepCollect.vue +174 -174
  33. package/src/components/ManageHome/CustomerService/ReasonComplaint.vue +116 -116
  34. package/src/components/ManageHome/CustomerService/ReasonConsultation.vue +115 -115
  35. package/src/components/ManageHome/CustomerService/ServiceFix.vue +155 -155
  36. package/src/components/ManageHome/CustomerService/ServiceHome.vue +179 -179
  37. package/src/components/ManageHome/CustomerService/ServiceStatistics.vue +147 -147
  38. package/src/components/ManageHome/CustomerService/TrafficStatistics.vue +160 -160
  39. package/src/components/ManageHome/Drill/DrillData.vue +791 -791
  40. package/src/components/ManageHome/Drill/DrillList.vue +320 -320
  41. package/src/components/ManageHome/Drill/DrillPool.vue +129 -129
  42. package/src/components/ManageHome/Home/CallCenter.vue +124 -124
  43. package/src/components/ManageHome/Home/CallFix.vue +172 -172
  44. package/src/components/ManageHome/Home/CallStatistics.vue +147 -147
  45. package/src/components/ManageHome/Home/GasValue.vue +233 -233
  46. package/src/components/ManageHome/Home/Home.vue +138 -138
  47. package/src/components/ManageHome/Home/Monitor.vue +329 -329
  48. package/src/components/ManageHome/Home/NetWork.vue +202 -202
  49. package/src/components/ManageHome/Home/SafeCheck.vue +249 -249
  50. package/src/components/ManageHome/Home/UserModule.vue +367 -367
  51. package/src/components/ManageHome/ImportSupplygas/AddSupply.vue +206 -206
  52. package/src/components/ManageHome/ImportSupplygas/SuppleManagement.vue +43 -43
  53. package/src/components/ManageHome/ImportSupplygas/SupplySelect.vue +85 -85
  54. package/src/components/ManageHome/ImportSupplygas/UpdateSupply.vue +187 -187
  55. package/src/components/ManageHome/ManageHome.vue +292 -292
  56. package/src/components/ManageHome/Monitor/BuySub.vue +311 -311
  57. package/src/components/ManageHome/Monitor/Caveat.vue +300 -300
  58. package/src/components/ManageHome/Monitor/ComparedGas.vue +264 -264
  59. package/src/components/ManageHome/Monitor/MeterBrand.vue +211 -211
  60. package/src/components/ManageHome/Monitor/MonitorCenter.vue +132 -132
  61. package/src/components/ManageHome/Monitor/MonitorHome.vue +188 -188
  62. package/src/components/ManageHome/Monitor/NoBuyGas.vue +223 -223
  63. package/src/components/ManageHome/Monitor/NoContact.vue +233 -233
  64. package/src/components/ManageHome/Monitor/NoGas.vue +202 -202
  65. package/src/components/ManageHome/NetWork/LineInspection.vue +267 -267
  66. package/src/components/ManageHome/NetWork/NetDanger.vue +258 -258
  67. package/src/components/ManageHome/NetWork/NetHome.vue +84 -84
  68. package/src/components/ManageHome/NetWork/SupplyGas.vue +204 -204
  69. package/src/components/ManageHome/SecurityCheck/CheckHome.vue +94 -94
  70. package/src/components/ManageHome/SecurityCheck/CustomerType.vue +244 -244
  71. package/src/components/ManageHome/SecurityCheck/LatentDanger.vue +218 -218
  72. package/src/components/ManageHome/SecurityCheck/PlanStatistics.vue +231 -231
  73. package/src/components/ManageHome/SecurityCheck/StateStatistics.vue +237 -237
  74. package/src/components/ManageHome/SecurityCheck/TaskStatistics.vue +303 -303
  75. package/src/components/ManageHome/User/GasDistri.vue +271 -271
  76. package/src/components/ManageHome/User/InspecDistri.vue +272 -272
  77. package/src/components/ManageHome/User/SaleProportion.vue +309 -309
  78. package/src/components/ManageHome/User/UseHome.vue +155 -155
  79. package/src/components/ManageHome/User/UserGascontrast.vue +223 -223
  80. package/src/components/ManageHome/User/UserNumber.vue +519 -519
  81. package/src/components/ManageHome/User/UsernumIncrease.vue +243 -243
  82. package/src/components/ManageHome/loading.vue +23 -23
  83. package/src/components/ManageHomeCS/Cockpit.vue +43 -43
  84. package/src/components/ManageHomeCS/CustomerService/ContentmentStatistics.vue +161 -161
  85. package/src/components/ManageHomeCS/CustomerService/ExcepCollect.vue +201 -201
  86. package/src/components/ManageHomeCS/CustomerService/ReasonComplaint.vue +146 -146
  87. package/src/components/ManageHomeCS/CustomerService/ReasonConsultation.vue +148 -148
  88. package/src/components/ManageHomeCS/CustomerService/ServiceFix.vue +242 -242
  89. package/src/components/ManageHomeCS/CustomerService/ServiceHome.vue +176 -176
  90. package/src/components/ManageHomeCS/CustomerService/ServiceStatistics.vue +277 -277
  91. package/src/components/ManageHomeCS/CustomerService/TrafficStatistics.vue +226 -226
  92. package/src/components/ManageHomeCS/Drill/DrillData.vue +918 -918
  93. package/src/components/ManageHomeCS/Drill/DrillList.vue +320 -320
  94. package/src/components/ManageHomeCS/Drill/DrillPool.vue +129 -129
  95. package/src/components/ManageHomeCS/Home/CallCenter.vue +206 -206
  96. package/src/components/ManageHomeCS/Home/CallFix.vue +172 -172
  97. package/src/components/ManageHomeCS/Home/CallStatistics.vue +147 -147
  98. package/src/components/ManageHomeCS/Home/GasValue.vue +466 -466
  99. package/src/components/ManageHomeCS/Home/Home.vue +57 -57
  100. package/src/components/ManageHomeCS/Home/Monitor.vue +423 -423
  101. package/src/components/ManageHomeCS/Home/NetWork.vue +223 -223
  102. package/src/components/ManageHomeCS/Home/SafeCheck.vue +446 -446
  103. package/src/components/ManageHomeCS/Home/ShanxiMap.vue +432 -432
  104. package/src/components/ManageHomeCS/Home/UserModule.vue +511 -511
  105. package/src/components/ManageHomeCS/Home/YulinMap.vue +424 -424
  106. package/src/components/ManageHomeCS/ImportSupplygas/AddSupply.vue +206 -206
  107. package/src/components/ManageHomeCS/ImportSupplygas/SuppleManagement.vue +43 -43
  108. package/src/components/ManageHomeCS/ImportSupplygas/SupplySelect.vue +85 -85
  109. package/src/components/ManageHomeCS/ImportSupplygas/UpdateSupply.vue +187 -187
  110. package/src/components/ManageHomeCS/Monitor/BuySub.vue +339 -339
  111. package/src/components/ManageHomeCS/Monitor/Caveat.vue +301 -301
  112. package/src/components/ManageHomeCS/Monitor/ComparedGas.vue +276 -276
  113. package/src/components/ManageHomeCS/Monitor/MeterBrand.vue +220 -220
  114. package/src/components/ManageHomeCS/Monitor/MonitorCenter.vue +139 -139
  115. package/src/components/ManageHomeCS/Monitor/MonitorHome.vue +188 -188
  116. package/src/components/ManageHomeCS/Monitor/NoBuyGas.vue +218 -218
  117. package/src/components/ManageHomeCS/Monitor/NoContact.vue +217 -217
  118. package/src/components/ManageHomeCS/Monitor/NoGas.vue +214 -214
  119. package/src/components/ManageHomeCS/NetWork/LineInspection.vue +268 -268
  120. package/src/components/ManageHomeCS/NetWork/NetDanger.vue +258 -258
  121. package/src/components/ManageHomeCS/NetWork/NetHome.vue +106 -106
  122. package/src/components/ManageHomeCS/NetWork/NetWork.vue +222 -222
  123. package/src/components/ManageHomeCS/NetWork/NetWorkMap.vue +86 -86
  124. package/src/components/ManageHomeCS/NetWork/SupplyGas.vue +291 -291
  125. package/src/components/ManageHomeCS/NewHome/GasProperties.vue +314 -314
  126. package/src/components/ManageHomeCS/NewHome/NewManageHome.vue +182 -182
  127. package/src/components/ManageHomeCS/NewHome/TextBusiness.vue +267 -267
  128. package/src/components/ManageHomeCS/NewHome/TextChildsellgas.vue +209 -209
  129. package/src/components/ManageHomeCS/NewHome/TextProfit.vue +298 -298
  130. package/src/components/ManageHomeCS/NewHome/TextSellgas.vue +82 -82
  131. package/src/components/ManageHomeCS/NewHome/TextShanximap.vue +389 -389
  132. package/src/components/ManageHomeCS/NewHome/TextTotalsellgas.vue +406 -406
  133. package/src/components/ManageHomeCS/NewHome/TextUser.vue +378 -378
  134. package/src/components/ManageHomeCS/NewHome/yulin.vue +425 -425
  135. package/src/components/ManageHomeCS/Poor/PoorHome.vue +176 -176
  136. package/src/components/ManageHomeCS/SecurityCheck/CheckHome.vue +94 -94
  137. package/src/components/ManageHomeCS/SecurityCheck/CustomerType.vue +246 -246
  138. package/src/components/ManageHomeCS/SecurityCheck/LatentDanger.vue +220 -220
  139. package/src/components/ManageHomeCS/SecurityCheck/PlanStatistics.vue +306 -306
  140. package/src/components/ManageHomeCS/SecurityCheck/StateStatistics.vue +239 -239
  141. package/src/components/ManageHomeCS/SecurityCheck/TaskStatistics.vue +311 -311
  142. package/src/components/ManageHomeCS/User/FMYInspecDistri.vue +269 -269
  143. package/src/components/ManageHomeCS/User/GasDistri.vue +220 -220
  144. package/src/components/ManageHomeCS/User/MYInspecDistri.vue +269 -269
  145. package/src/components/ManageHomeCS/User/SaleProportion.vue +384 -384
  146. package/src/components/ManageHomeCS/User/UseHome.vue +162 -162
  147. package/src/components/ManageHomeCS/User/UserGascontrast.vue +221 -221
  148. package/src/components/ManageHomeCS/User/UserNumber.vue +600 -600
  149. package/src/components/ManageHomeCS/User/UsernumIncrease.vue +277 -277
  150. package/src/components/ManageHomeCS/loading.vue +39 -39
  151. package/src/components/ManageHomeCS/test.vue +88 -88
  152. package/src/components/MeterManage/ChangeMeterQuery.vue +82 -82
  153. package/src/components/MeterManage/ChargeQuery.vue +79 -79
  154. package/src/components/MeterManage/FillCardQuery.vue +80 -80
  155. package/src/components/MeterManage/FillGasQuery.vue +80 -80
  156. package/src/components/MeterManage/HandQuery.vue +72 -72
  157. package/src/components/MeterManage/MeterInfoManage.vue +107 -107
  158. package/src/components/MeterManage/MeterList.vue +336 -336
  159. package/src/components/MeterManage/MeterMsg.vue +181 -181
  160. package/src/components/MeterManage/OtherChargeQuery.vue +78 -78
  161. package/src/components/MeterManage/ReversalQuery.vue +77 -77
  162. package/src/components/MeterManage/TransferQuery.vue +72 -72
  163. package/src/components/SellReport/BankManager.vue +146 -146
  164. package/src/components/SellReport/CaiManageDayGas.vue +280 -280
  165. package/src/components/SellReport/ChManageBusSummary.vue +273 -273
  166. package/src/components/SellReport/ChManageHandSellMoney.vue +274 -274
  167. package/src/components/SellReport/ChManageMonthGas.vue +285 -285
  168. package/src/components/SellReport/ChOtherfee.vue +251 -251
  169. package/src/components/SellReport/CollectFee.vue +184 -184
  170. package/src/components/SellReport/Contrast.vue +188 -188
  171. package/src/components/SellReport/DayStairMoney.vue +256 -256
  172. package/src/components/SellReport/FenxiangSell.vue +183 -183
  173. package/src/components/SellReport/FxGasTable.vue +220 -220
  174. package/src/components/SellReport/GasCollect.vue +174 -174
  175. package/src/components/SellReport/GaspriceHas.vue +141 -141
  176. package/src/components/SellReport/HandCollect.vue +189 -189
  177. package/src/components/SellReport/JinChengBusSummary.vue +182 -182
  178. package/src/components/SellReport/JinChengHandGas.vue +182 -182
  179. package/src/components/SellReport/JinChengOperSummary.vue +182 -182
  180. package/src/components/SellReport/JinChengSliceSumgas.vue +182 -182
  181. package/src/components/SellReport/ManageBusTable.vue +207 -207
  182. package/src/components/SellReport/ManageGasFee.vue +247 -247
  183. package/src/components/SellReport/ManageGasFeeOperator.vue +236 -236
  184. package/src/components/SellReport/ManageHandSellInputtor.vue +241 -241
  185. package/src/components/SellReport/ManageMonthGas.vue +249 -249
  186. package/src/components/SellReport/ManageNewGasPrice.vue +245 -245
  187. package/src/components/SellReport/ManageReceivable.vue +254 -254
  188. package/src/components/SellReport/ManageUserCollect.vue +183 -183
  189. package/src/components/SellReport/MeterBill.vue +185 -185
  190. package/src/components/SellReport/MeterGasMoney.vue +226 -226
  191. package/src/components/SellReport/MeterInput.vue +250 -250
  192. package/src/components/SellReport/MonthStairMoney.vue +256 -256
  193. package/src/components/SellReport/OweAging.vue +174 -174
  194. package/src/components/SellReport/ReportHistory.vue +80 -80
  195. package/src/components/SellReport/ReportPool.vue +60 -60
  196. package/src/components/SellReport/Selling.vue +188 -188
  197. package/src/components/SellReport/SiteManager.vue +147 -147
  198. package/src/components/SellReport/UserStateStatistics.vue +188 -188
  199. package/src/components/SellReport/UsertypePie.vue +101 -101
  200. package/src/components/SellReport/XianYangDate.vue +227 -227
  201. package/src/components/SellReport/XianYangOperator.vue +228 -228
  202. package/src/components/SellReport/XyDateCharge.vue +227 -227
  203. package/src/components/SellReport/XyOperatorCharge.vue +256 -256
  204. package/src/components/SellReport/YuShouTableTwo.vue +309 -309
  205. package/src/components/SellReport/jingwei/CardCharge.vue +142 -142
  206. package/src/components/SellReport/jingwei/MachineCharge.vue +141 -141
  207. package/src/components/SellReport/jingwei/PaymentNotice.vue +479 -479
  208. package/src/components/SellReport/jingwei/handplanReport.vue +280 -280
  209. package/src/components/SellReport/jingwei/widegt/PaymentNoticePrint.vue +198 -198
  210. package/src/components/SellReport/jingwei/widegt/handplanPrint.vue +143 -143
  211. package/src/components/SellReport/pengan/ManageBusSummaryPeng.vue +241 -241
  212. package/src/components/WebReport/AbnormalInfo.vue +197 -197
  213. package/src/components/WebReport/AbnormalInfoEcharts.vue +120 -120
  214. package/src/components/WebReport/BatteryLow.vue +148 -148
  215. package/src/components/WebReport/BusinessHall.vue +85 -85
  216. package/src/components/WebReport/BussinessType.vue +137 -137
  217. package/src/components/WebReport/Communication.vue +131 -131
  218. package/src/components/WebReport/CompanyUser.vue +79 -79
  219. package/src/components/WebReport/EchartsBox.vue +110 -110
  220. package/src/components/WebReport/ElectroMagnetic.vue +142 -142
  221. package/src/components/WebReport/GaspriceHas.vue +141 -141
  222. package/src/components/WebReport/HandplanPrint.vue +167 -167
  223. package/src/components/WebReport/NotUpload.vue +165 -165
  224. package/src/components/WebReport/OweQuery.vue +169 -169
  225. package/src/components/WebReport/PaymentDistributed.vue +176 -176
  226. package/src/components/WebReport/Paymentpie.vue +157 -157
  227. package/src/components/WebReport/ReportWorklist.vue +220 -220
  228. package/src/components/WebReport/SellType.vue +89 -89
  229. package/src/components/WebReport/Telemanlist.vue +221 -221
  230. package/src/components/WebReport/UserGasAll.vue +214 -214
  231. package/src/components/WebReport/UserGasEcharts.vue +107 -107
  232. package/src/components/WebReport/UsertypePie.vue +105 -105
  233. package/src/components/WebReport/ValueEcharts.vue +99 -99
  234. package/src/components/WebReport/ValueInfo.vue +194 -194
  235. package/src/components/qinhua/BarChartLine.vue +288 -288
  236. package/src/components/qinhua/ManageMain.vue +162 -162
  237. package/src/components/qinhua/Ring.vue +165 -165
  238. package/src/components/qinhua/SafeCheckRing.vue +149 -149
  239. package/src/components/qinhua/SafecheckBarChart.vue +209 -209
  240. package/src/components/qinhua/Scada.vue +93 -93
  241. package/src/components/safecheck/analysis/SafeHiddenAnaly.vue +932 -932
  242. package/src/components/safecheck/planCheck/chanceSituation.vue +149 -149
  243. package/src/components/safecheck/planCheck/checkFamily.vue +217 -217
  244. package/src/components/safecheck/planCheck/hidderDanger.vue +179 -179
  245. package/src/components/safecheck/planCheck/inFamily.vue +185 -185
  246. package/src/components/sale/businessquery/AccountQuery/TransactionSummary.vue +373 -373
  247. package/src/components/sale/businessquery/BalanceQuery.vue +456 -456
  248. package/src/components/sale/businessquery/BusinessManage.vue +171 -171
  249. package/src/components/sale/businessquery/ChangeMeterQuery.vue +645 -644
  250. package/src/components/sale/businessquery/FillCardQuery.vue +497 -497
  251. package/src/components/sale/businessquery/InspectManage.vue +47 -47
  252. package/src/components/sale/businessquery/NewAccountQuery.vue +409 -409
  253. package/src/components/sale/businessquery/OtherChargeDetailQuery.vue +74 -74
  254. package/src/components/sale/businessquery/ResourceOperatingQuery.vue +317 -317
  255. package/src/components/sale/businessquery/TongjiManage.vue +74 -74
  256. package/src/components/sale/businessquery/UserTongjiQuery.vue +358 -358
  257. package/src/components/sale/businessquery/YearGasQuery.vue +422 -422
  258. package/src/components/sale/businessquery/analysisquery/AnalysisManage.vue +65 -65
  259. package/src/components/sale/businessquery/weChatBind.vue +361 -361
  260. package/src/components/sale/common/PrintData.vue +171 -171
  261. package/src/components/sale/common/PrintDataSelf.vue +225 -225
  262. package/src/components/sale/common/PrintTable.vue +228 -228
  263. package/src/components/sale/common/PrintTableSelf.vue +251 -251
  264. package/src/components/sale/common/TabButton.vue +155 -155
  265. package/src/components/sale/common/Tabs.vue +67 -67
  266. package/src/components/sale/common/handplanUser.vue +112 -112
  267. package/src/components/sale/config/DefaultPrint.js +6 -6
  268. package/src/components/sale/filesquery/detail/UserBaseInfo.vue +69 -69
  269. package/src/components/sale/filesquery/detail/UserDetail.vue +41 -41
  270. package/src/components/sale/filesquery/detail/UserOperInfo.vue +76 -76
  271. package/src/components/sale/filesquery/detail/oper/ChangeMessage.vue +46 -46
  272. package/src/components/sale/filesquery/detail/oper/ExchangeOper.vue +66 -66
  273. package/src/components/sale/filesquery/detail/oper/HandOper.vue +46 -46
  274. package/src/components/sale/filesquery/detail/oper/HandleMessage.vue +46 -46
  275. package/src/components/sale/filesquery/detail/oper/OtherCharge.vue +54 -54
  276. package/src/components/sale/filesquery/detail/oper/ReplaceCard.vue +51 -51
  277. package/src/components/sale/filesquery/detail/oper/SellOper.vue +56 -56
  278. package/src/components/sale/filesquery/detail/oper/TransferMessage.vue +55 -55
  279. package/src/components/sale/filesquery/filequerydetail/BlackListQueryDetail.vue +219 -219
  280. package/src/components/sale/filesquery/filequerydetail/ChangeMeterQueryDetail.vue +246 -246
  281. package/src/components/sale/filesquery/filequerydetail/ChargeQueryDetail.vue +239 -239
  282. package/src/components/sale/filesquery/filequerydetail/DeviceQueryDetail.vue +126 -126
  283. package/src/components/sale/filesquery/filequerydetail/DisableQueryDetail.vue +272 -272
  284. package/src/components/sale/filesquery/filequerydetail/EnableQueryDetail.vue +274 -274
  285. package/src/components/sale/filesquery/filequerydetail/FillCardQueryDetail.vue +80 -80
  286. package/src/components/sale/filesquery/filequerydetail/FillGasQueryDetail.vue +80 -80
  287. package/src/components/sale/filesquery/filequerydetail/HandQueryDetail.vue +302 -302
  288. package/src/components/sale/filesquery/filequerydetail/MeterQueryDetail.vue +158 -158
  289. package/src/components/sale/filesquery/filequerydetail/OtherChargeQueryDetail.vue +198 -198
  290. package/src/components/sale/filesquery/filequerydetail/RecordQueryDetail.vue +125 -125
  291. package/src/components/sale/filesquery/filequerydetail/SellingHandDetail.vue +280 -280
  292. package/src/components/sale/filesquery/filequerydetail/TransferQueryDetail.vue +160 -160
  293. package/src/components/sale/filesquery/filequerydetail/UserQueryDetail.vue +155 -155
  294. package/src/components/sale/report/aode/DayReport.vue +50 -50
  295. package/src/components/sale/report/aode/DayReportSummary.vue +75 -75
  296. package/src/components/sale/report/aode/MonthByChargeType.vue +446 -446
  297. package/src/components/sale/report/aode/MonthByUserType.vue +413 -413
  298. package/src/components/sale/report/aode/YearByChargeTpye.vue +215 -215
  299. package/src/components/sale/report/aode/YearByUserType.vue +272 -272
  300. package/src/components/sale/report/aode/life/LifeDayReport.vue +50 -50
  301. package/src/components/sale/report/aode/life/LifeDayReportList.vue +241 -241
  302. package/src/components/sale/report/aode/life/LifeDayReportSummary.vue +49 -49
  303. package/src/components/sale/report/aode/life/LifeMonthReport.vue +303 -303
  304. package/src/components/sale/report/aode/life/LifeYearReport.vue +175 -175
  305. package/src/components/sale/report/aode/widget/LifeDayReportListPrint.vue +189 -189
  306. package/src/components/sale/report/aode/widget/LifeMonthPrint.vue +153 -153
  307. package/src/components/sale/report/aode/widget/LifeYearPrint.vue +143 -143
  308. package/src/components/sale/report/aode/widget/MonthByChargePrint.vue +236 -236
  309. package/src/components/sale/report/aode/widget/MonthByUserPrint.vue +232 -232
  310. package/src/components/sale/report/aode/widget/YearByChargePrint.vue +203 -203
  311. package/src/components/sale/report/aode/widget/YearByUserPrint.vue +225 -225
  312. package/src/components/scada/CaculateGasConsumputionByDay/CaculateGasConsumputionByDay.vue +290 -290
  313. package/src/components/scada/ChartDisplay/ChartDisplayManage.vue +55 -55
  314. package/src/components/scada/ChartDisplay/ChartThreeDayContrast.vue +164 -164
  315. package/src/components/scada/CumulativeFlow/CumulativeFlowHeatPlant.vue +400 -400
  316. package/src/components/scada/CumulativeFlow/CumulativeFlowManage.vue +59 -59
  317. package/src/components/scada/CumulativeFlow/CumulativeFlowRegulatorStation.vue +504 -504
  318. package/src/components/scada/CumulativeFlow/CumulativeFlowStation.vue +248 -248
  319. package/src/components/scada/GasSupplyRunning/GasSupplyRunningByDay.vue +297 -297
  320. package/src/components/scada/InstantaneousFlow/InstantaneousFlowHeatPlant.vue +389 -389
  321. package/src/components/scada/InstantaneousFlow/InstantaneousFlowManage.vue +57 -57
  322. package/src/components/scada/InstantaneousFlow/InstantaneousFlowRegulatorStation.vue +503 -503
  323. package/src/components/scada/InstantaneousFlow/InstantaneousFlowStation.vue +244 -244
  324. package/src/components/scada/OnTimePressure/OnTimePressureHeatPlant.vue +356 -356
  325. package/src/components/scada/OnTimePressure/OnTimePressureManage.vue +51 -51
  326. package/src/components/scada/OnTimePressure/OnTimePressureRegulatorStation.vue +526 -526
  327. package/src/components/scada/ThreeDayContrast/ThreeDayContrastManage.vue +282 -282
  328. package/src/components/webmeter/DrillData/LargeScreenAnalysisEcharts.vue +710 -710
  329. package/src/components/webmeter/DrillData/LostContactAnalysis.vue +531 -531
  330. package/src/components/webmeter/DrillData/LostContactAnalysisManage.vue +30 -30
  331. package/src/components/webmeter/DrillData/LostContactEform.vue +190 -190
  332. package/src/components/webmeter/dataCollection/DataCollection.vue +676 -676
  333. package/src/components/webmeter/gasAnalysis/GasAnalysisEcharts.vue +144 -144
  334. package/src/components/webmeter/gasAnalysis/GasAnalysisSummary.vue +162 -162
  335. package/src/components/webmeter/handplan/NewWebMeterHandPlan.vue +745 -745
  336. package/src/components/webmeter/handplan/NewWebmeterHandPlanMain.vue +59 -59
  337. package/src/components/webmeter/indicatorStatisticsEchars.vue +204 -204
  338. package/src/components/webmeter/indicatorStatisticsMain.vue +257 -257
  339. package/src/components/webmeter/meterinfo/NewMeterList.vue +414 -414
  340. package/src/components/webmeter/meterinfo/NewMeterListMain.vue +53 -53
  341. package/src/components/webmeter/newwebmeter/NewException/NewExceptionEform.vue +149 -149
  342. package/src/components/webmeter/newwebmeter/NewException/NewExceptionEformTotal.vue +211 -211
  343. package/src/components/webmeter/newwebmeter/NewException/NewMeterException.vue +449 -449
  344. package/src/components/yulin/GuanWang.vue +24 -24
  345. package/src/components/yulin/SingleBarLine.vue +352 -352
  346. package/src/components/yulin/Weather.vue +157 -157
  347. package/src/expandcss.less +26 -26
  348. package/src/filiale/WEINAN/InspectListUser.vue +492 -492
  349. package/src/filiale/WEINAN/OtherChargeQuery.vue +521 -521
  350. package/src/filiale/aode/ArchivesManage.vue +38 -38
  351. package/src/filiale/aode/BusinessManage.vue +94 -94
  352. package/src/filiale/aode/DefaultPrint.js +6 -6
  353. package/src/filiale/aode/HandplanQuery.vue +632 -632
  354. package/src/filiale/aode/Tabs.vue +67 -67
  355. package/src/filiale/aode/UserQuery.vue +599 -599
  356. package/src/filiale/aode/sale.js +17 -17
  357. package/src/filiale/ceshi/ArrearsQuery.vue +642 -642
  358. package/src/filiale/ceshi/ChManageBusSummary.vue +293 -293
  359. package/src/filiale/ceshi/CollectManage.vue +94 -94
  360. package/src/filiale/ceshi/MeterRateQuery.vue +633 -633
  361. package/src/filiale/ceshi/TabButton.vue +149 -149
  362. package/src/filiale/ceshi/Tabs.vue +69 -69
  363. package/src/filiale/ceshi/reportManage.js +5 -5
  364. package/src/filiale/ceshi/sale.js +11 -11
  365. package/src/filiale/gaomi/config/DefaultPrint.js +6 -6
  366. package/src/filiale/gaomi/config/tableConfig.js +47 -47
  367. package/src/filiale/gongyi/sale/businessquery/exportConfig.js +17 -17
  368. package/src/filiale/gongyi/sale/filesquery/MeterQuery.vue +718 -718
  369. package/src/filiale/liaoyuan/sale.js +11 -11
  370. package/src/filiale/macheng/config/DefaultPrint.js +12 -12
  371. package/src/filiale/qingtongxia/config/DefaultPrint.js +6 -6
  372. package/src/filiale/qingtongxia/sale.js +13 -13
  373. package/src/filiale/shaoguan/HandplanQuery.vue +1314 -1314
  374. package/src/filiale/shaoguan/OtherChargeDetailQuery.vue +74 -74
  375. package/src/filiale/shaoguan/config/DefaultPrint.js +6 -6
  376. package/src/filiale/shennongjia/config/DefaultPrint.js +6 -6
  377. package/src/filiale/shennongjia/config/tableConfig.js +47 -47
  378. package/src/filiale/shennongjia/sale.js +10 -10
  379. package/src/plugins/GetLoginInfoService.js +505 -505
  380. package/src/plugins/LodopFuncs.js +124 -124
  381. package/src/plugins/getAllInputtor.js +29 -29
  382. package/src/safeCheck.js +63 -63
  383. package/src/stores/AppData.js +62 -62
  384. package/src/stores/DataSql.js +585 -585
  385. package/src/stores/DrillECharts.js +602 -602
  386. package/src/stores/DrillSql.js +888 -888
  387. package/src/stores/GetParames.js +15 -15
  388. package/src/stores/MagGetSaleParams.js +156 -156
  389. package/src/stores/MagLoadParams.js +63 -63
  390. package/src/stores/Util.js +132 -132
  391. package/src/stores/shanxi1.js +26 -26
  392. package/src/stores/yulin.js +27 -27
  393. package/static/china.json +1 -1
  394. package/static/qh.json +2410 -2410
  395. package/static/res.json +58411 -58411
  396. package/static/shanxi1.json +1 -1
  397. package/static/yulin.json +1 -1
  398. package/static//345/261/261/344/270/234/347/234/201.json +1 -1
  399. package/test/unit/.eslintrc +5 -5
  400. package/test/unit/TestUtil.js +35 -35
  401. package/test/unit/context.html +20 -20
  402. package/test/unit/index.js +13 -13
  403. package/test/unit/init.js +11 -11
  404. package/test/unit/karma.conf.js +45 -45
  405. package/test/unit/specs/components/CallReport/Repair.spec.js +25 -25
  406. package/test/unit/specs/components/ManageBusiness/EquipmentQuery.spec.js +21 -21
  407. package/test/unit/specs/components/ManageBusiness/TableWithQuery.spec.js +21 -21
  408. package/test/unit/specs/components/ManageBusiness/UserQuery.spec.js +21 -21
  409. package/webstorm.config.js +13 -13
@@ -1,676 +1,676 @@
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
-
242
- <th style="text-align:center">
243
- <nobr>表内余额</nobr>
244
- </th>
245
- <th style="text-align:center">
246
- <nobr>信噪比</nobr>
247
- </th>
248
- <th style="text-align:center">
249
- <nobr>运营商标识</nobr>
250
- </th>
251
- <th style="text-align:center">
252
- <nobr>防磁次数</nobr>
253
- </th>
254
- <th style="text-align:center">
255
- <nobr>当前执行气价</nobr>
256
- </th>
257
- <th style="text-align:center">
258
- <nobr>当前上表总金额</nobr>
259
- </th>
260
- <th style="text-align:center">
261
- <nobr>当前累计用气金额</nobr>
262
- </th>
263
- </tr>
264
- </template>
265
- <template partial='body' partial='list' v-ref:grid>
266
- <tr>
267
- <td style="text-align:center">
268
- <nobr>{{row.f_filiale}}</nobr>
269
- </td>
270
- <td style="text-align:center">
271
- <nobr>{{row.f_user_type}}</nobr>
272
- </td>
273
- <td style="text-align:center">
274
- <nobr>{{row.f_gasproperties}}</nobr>
275
- </td>
276
- <td style="text-align:center">
277
- <nobr>{{row.f_user_name}}</nobr>
278
- </td>
279
- <td>
280
- <nobr>{{row.f_address}}</nobr>
281
- </td>
282
- <td style="text-align:center">
283
- <nobr>{{row.f_input_date}}</nobr>
284
- </td>
285
- <td style="text-align:center">
286
- <nobr>
287
- <span @click="$parent.$parent.$parent.dealmsg(row)"><a>
288
- {{row.f_meternumber}}
289
- </a></span>
290
- </nobr>
291
- </td>
292
- <td style="text-align:center">
293
- <nobr>{{row.f_meter_brand}}</nobr>
294
- </td>
295
- <td style="text-align:center">
296
- <nobr>{{row.f_meter_style}}</nobr>
297
- </td>
298
- <td style="text-align:center">
299
- <nobr>{{row.f_balance}}</nobr>
300
- </td>
301
- <td style="text-align:center">{{row.f_last_tablebase}}</td>
302
- <td style="text-align:center">{{row.f_tablebase}}</td>
303
- <td style="text-align:center">{{row.f_oughtamount}}</td>
304
- <td style="text-align:center">{{row.f_price}}</td>
305
- <td style="text-align:center">{{row.f_oughtfee}}</td>
306
- <td style="text-align:center">
307
- <nobr>{{row.f_curbalance}}</nobr>
308
- </td>
309
- <td style="text-align:center;width: 170px;">
310
- <nobr>{{row.f_upload_type}}</nobr>
311
- </td>
312
- <td style="text-align:center;width: 170px;">
313
- <nobr>{{row.f_hand_date}}</nobr>
314
- </td>
315
- <td style="text-align:center">
316
- <nobr>{{row.f_last_hand_date}}</nobr>
317
- </td>
318
- <td style="text-align:center">
319
- <nobr>{{row.f_table_msg}}</nobr>
320
- </td>
321
- <td style="text-align:center">
322
- <nobr>{{row.f_last_meter_state_msg}}</nobr>
323
- </td>
324
- <td style="text-align:center">
325
- <nobr>{{row.f_insert_date}}</nobr>
326
- </td>
327
- <td style="text-align:center">
328
- <nobr>{{row.f_software_version}}</nobr>
329
- </td>
330
-
331
- <td style="text-align:center">
332
- <img :title='row.f_signal' height="12"
333
- src="../../../../static/WebMetericon/1.png"
334
- v-if="row.f_signal>-80" width="24"/>
335
- <img :title='row.f_signal' height="12"
336
- src="../../../../static/WebMetericon/2.png"
337
- v-if="row.f_signal>-100&&row.f_signal<=-80" width="24"/>
338
- <img :title='row.f_signal' height="12"
339
- src="../../../../static/WebMetericon/3.png"
340
- v-if="row.f_signal>-120&&row.f_signal<=-100" width="24"/>
341
- <img :title='row.f_signal' height="12"
342
- src="../../../../static/WebMetericon/4.png"
343
- v-if="row.f_signal<=-120" width="24"/>
344
- </td>
345
- <td style="text-align:center">
346
- <img :title='row.f_batterylevel' height="12"
347
- src="../../../../static/WebMetericon/01.png"
348
- v-if="row.f_batterylevel>=6.00" width="24"/>
349
- <img :title='row.f_batterylevel' height="12"
350
- src="../../../../static/WebMetericon/02.png"
351
- v-if="row.f_batterylevel>=5.00&&row.f_batterylevel<6.00" width="24"/>
352
- <img :title='row.f_batterylevel' height="12"
353
- src="../../../../static/WebMetericon/03.png"
354
- v-if="row.f_batterylevel>=4.00&&row.f_batterylevel<5.00" width="24"/>
355
- <img :title='row.f_batterylevel' height="12"
356
- src="../../../../static/WebMetericon/04.png"
357
- v-if="row.f_batterylevel<4.00" width="24"/>
358
- </td>
359
- <td style="text-align:center;width: 51px">{{row.f_valvestate==1?'关阀':'开阀'}}</td>
360
- <td style="text-align:center;width: 51px">
361
- <img :title='故障' height="12"
362
- src="../../../../static/WebMetericon/guzhang.png"
363
- v-if="row.f_magneticinterference==1" width="12"/>
364
- <img :title='正常' height="12"
365
- src="../../../../static/WebMetericon/zhengchang.png"
366
- v-if="row.f_magneticinterference==0" width="17"/>
367
- </td>
368
- <td style="text-align:center;width: 51px">
369
- <img :title='关阀' height="12"
370
- src="../../../../static/WebMetericon/guzhang.png"
371
- v-if="row.f_cycleshutvalue==1" width="12"/>
372
- <img :title='正常' height="12"
373
- src="../../../../static/WebMetericon/zhengchang.png"
374
- v-if="row.f_cycleshutvalue==0" width="17"/>
375
- </td>
376
- <td style="text-align:center;width: 51px">
377
- <img :title='关阀' height="12"
378
- src="../../../../static/WebMetericon/guzhang.png"
379
- v-if="row.f_overcurrentprotection==1" width="12"/>
380
- <img :title='正常' height="12"
381
- src="../../../../static/WebMetericon/zhengchang.png"
382
- v-if="row.f_overcurrentprotection==0" width="17"/>
383
- </td>
384
- <td style="text-align:center;width: 51px">
385
- <img :title='走气' height="12"
386
- src="../../../../static/WebMetericon/guzhang.png"
387
- v-if="row.f_leakageflag==1" width="12"/>
388
- <img :title='正常' height="12"
389
- src="../../../../static/WebMetericon/zhengchang.png"
390
- v-if="row.f_leakageflag==0" width="17"/>
391
- </td>
392
- <td style="text-align:center;width: 51px">
393
- <img :title='拆表' height="12"
394
- src="../../../../static/WebMetericon/guzhang.png"
395
- v-if="row.f_splitalarm==='1'" width="12"/>
396
- <img :title='正常' height="12"
397
- src="../../../../static/WebMetericon/zhengchang.png"
398
- v-if="row.f_splitalarm==='0'" width="17"/>
399
- </td>
400
- <td style="text-align:center;width: 51px">
401
- <img :title='停止' height="12"
402
- src="../../../../static/WebMetericon/guzhang.png"
403
- v-if="row.f_xtipllstopflag==='1'" width="12"/>
404
- <img :title='正常' height="12"
405
- src="../../../../static/WebMetericon/zhengchang.png"
406
- v-if="row.f_xtipllstopflag==='0'" width="17"/>
407
- </td>
408
-
409
-
410
- <td style="text-align:center">
411
- <nobr>{{row.f_jval}}</nobr>
412
- </td>
413
- <td style="text-align:center">
414
- <nobr>{{row.f_snr}}</nobr>
415
- </td>
416
- <td style="text-align:center">
417
- <nobr>{{row.f_net_provider}}</nobr>
418
- </td>
419
- <td style="text-align:center">
420
- <nobr>{{row.f_magneticInterference,}}</nobr>
421
- </td>
422
- <td style="text-align:center">
423
- <nobr>{{row.f_price}}</nobr>
424
- </td>
425
- <td style="text-align:center">
426
- <nobr>{{row.f_curtotal_fee}}</nobr>
427
- </td>
428
- <td style="text-align:center">
429
- <nobr>{{row.f_using_fee}}</nobr>
430
- </td>
431
-
432
-
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" class="form-control" 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" class="form-control" 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
- </div>
467
- </div>
468
- </div>
469
- </template>
470
-
471
- <script>
472
- import {PagedList} from 'vue-client'
473
-
474
- export default {
475
- title: '数据采集',
476
- data() {
477
- return {
478
- model: new PagedList('rs/sql/dataCollectionQuery', 50),
479
- row: null,
480
- //搜索显示开关
481
- searchshow: false,
482
- //抄表录入开关
483
- handshow: false,
484
- isdeal: true,
485
- obj: {
486
- userid: this.$login.f.id,
487
- source: `tool.getFullTree(this.getRights().where(row.getType() == $organization$))`,
488
- res: this.$login.f.f_fengongsi,
489
- resids: this.$login.f.f_orgids,
490
- },
491
- handExce: {
492
- //异常对象
493
- exceobj: {},
494
- //异常类型
495
- f_error_type: "",
496
- //异常描述
497
- f_error_msg: '',
498
- },
499
- show: false,
500
- }
501
- },
502
- props: ['searchobj', 'isdeal'
503
- ],
504
- ready() {
505
-
506
- },
507
- methods: {
508
- //跳转处理页面
509
- dealmsg(val) {
510
- val.model = this.model.model;
511
- this.$emit('deal-msg', val)
512
- },
513
- //查询开关
514
- seachchange() {
515
- this.searchshow = !this.searchshow
516
- },
517
- //异常开关
518
- handchange(val) {
519
- if (val) {
520
- console.log("开启弹窗");
521
- this.handExce.exceobj = val
522
- } else {
523
- console.log("返回置空");
524
- this.handExce = {}
525
- }
526
- this.handshow = !this.handshow
527
- },
528
- //保存输入
529
- saveException() {
530
- //准备数据
531
- var Exejson = {};
532
- //抄表记录id
533
- Exejson.data_id = this.handExce.exceobj.id;
534
- //异常表档案ID
535
- Exejson.f_userfiles_id = this.handExce.exceobj.f_userfiles_id;
536
- //异常户档案ID
537
- Exejson.f_userinfo_id = this.handExce.exceobj.f_userinfo_id;
538
- //异常表号
539
- Exejson.f_meternumber = this.handExce.exceobj.f_meternumber;
540
- //分公司
541
- Exejson.f_filiale = this.handExce.exceobj.f_filiale;
542
- //分公司编号
543
- Exejson.f_filialeids = this.handExce.exceobj.f_filialeids;
544
- //营业网点
545
- Exejson.f_outlets = this.handExce.exceobj.f_outlets;
546
- //组织机构
547
- Exejson.f_orgstr = this.handExce.exceobj.f_orgstr;
548
- //异常类型
549
- Exejson.f_error_type = this.handExce.f_error_type;
550
- //异常说明
551
- Exejson.f_error_msg = this.handExce.f_error_msg;
552
- console.log("提交异常数据");
553
- console.log(Exejson);
554
- try {
555
- this.$resetpost('rs/entity/t_exception', Exejson, {resolveMsg: null, rejectMsg: null}).then((req) => {
556
- console.log(val);
557
- this.handExce = {};
558
- console.log("提交成功")
559
- }).then(() => {
560
- this.$showMessage("异常保存成功!")
561
- })
562
- } catch (e) {
563
- this.handExce = {};
564
- console.log("提交失败");
565
- this.$showMessage("异常保存失败!")
566
- }
567
- this.handshow = false
568
- },
569
- DealSignal(val) {
570
- console.log(val.model.f_signal);
571
- if (val.model && val.model.f_signal) {
572
- if (val.model.f_signal == '信号正常') {
573
- val.condition = val.condition + " and " + "f_signal>-100 "
574
- }
575
- if (val.model.f_signal == '信号异常') {
576
- val.condition = val.condition + " and " + "f_signal<-100 "
577
- }
578
- }
579
- return val
580
- },
581
- DealFaults(val) {
582
- if (val.model && val.model.faultstate) {
583
- console.log(val.model.faultstate);
584
- val.model.faultstate.forEach((item) => {
585
- if (item == '磁干扰') {
586
- val.condition = val.condition + " and " + "f_magneticInterference=1 "
587
- }
588
- if (item == '周期关阀') {
589
- val.condition = val.condition + " and " + "f_cycleShutValue=1 "
590
- }
591
- if (item == '过流保护关阀') {
592
- val.condition = val.condition + " and " + "f_overCurrentProtection=1 "
593
- }
594
- if (item == '关阀走气') {
595
- val.condition = val.condition + " and " + "f_leakageFlag=1 "
596
- }
597
- if (item == '拆表报警') {
598
- val.condition = val.condition + " and " + "f_SplitAlarm=1 "
599
- }
600
- })
601
- }
602
- return val
603
- },
604
- // SaveAsFile(str) {
605
- // this.$showMessage('您是否需要导出本页数据?', ['confirm', 'cancel']).then((res) => {
606
- // if (res === 'confirm') {
607
- // let style = '<style>' +
608
- // 'td {border-width: 1px;padding: 2px;border-style: solid; border-color:black; border-collapse:collapse;} .tdright{text-align: right;} .tdcenter{text-align: center;}</style>';
609
- // let strHtml = style + document.getElementById(str).innerHTML;
610
- // console.log(strHtml);
611
- // let LODOP = getLodop();
612
- // LODOP.PRINT_INIT('');
613
- // LODOP.ADD_PRINT_TABLE(5, 5, '99%', '100%', strHtml);
614
- // LODOP.SAVE_TO_FILE('抄表查看.xls')
615
- // }
616
- // })
617
- // },
618
- clearmsg() {
619
- this.$refs.paged.$refs.criteria.model = {}
620
- },
621
- search(args) {
622
- // 处理故障类型
623
- args = this.DealFaults(args);
624
- // 处理信号
625
- args = this.DealSignal(args);
626
- args.condition = `${args.condition} and f_filialeids like '${this.obj.resids}%'`;
627
- this.model.search(args.condition, args.model)
628
- },
629
- getRes(obj) {
630
- this.obj.res = obj.res;
631
- this.obj.resids = obj.resids
632
- },
633
- },
634
-
635
- watch: {
636
- // 监听查询对象
637
- 'searchobj'(val) {
638
- if (this.searchobj != null) {
639
- this.$refs.paged.$refs.criteria.model.f_meternumber = this.searchobj.f_meternumber;
640
- /* this.$refs.paged.$refs.criteria.model.startDate = this.searchobj.model.startDate
641
- this.$refs.paged.$refs.criteria.model.endDate = this.searchobj.model.endDate*/
642
- this.$refs.paged.$refs.criteria.search()
643
- }
644
- }
645
- },
646
- computed: {
647
- // 上报异常类型
648
- Gasproperties() {
649
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('用气性质')]
650
- },
651
- Getusertype() {
652
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]
653
- },
654
- Getuploadtype() {
655
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('上报类型')]
656
- },
657
- // 阀门状态
658
- Valvestates() {
659
- return [{label: '全部', value: '%%'}, {label: '关阀', value: '1'}, {label: '开阀', value: '0'}]
660
- },
661
- // 故障状态
662
- FaultStates() {
663
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('故障状态')]
664
- }
665
- }
666
- }
667
- </script>
668
- <style>
669
- .datapanel {
670
- color: #333;
671
- background-color: white;
672
- box-shadow: darkgrey 0.5px 0.5px 0.5px 0.5px;
673
- padding: 10px 30px 10px 30px;
674
- border-radius: 15px;
675
- }
676
- </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
+
242
+ <th style="text-align:center">
243
+ <nobr>表内余额</nobr>
244
+ </th>
245
+ <th style="text-align:center">
246
+ <nobr>信噪比</nobr>
247
+ </th>
248
+ <th style="text-align:center">
249
+ <nobr>运营商标识</nobr>
250
+ </th>
251
+ <th style="text-align:center">
252
+ <nobr>防磁次数</nobr>
253
+ </th>
254
+ <th style="text-align:center">
255
+ <nobr>当前执行气价</nobr>
256
+ </th>
257
+ <th style="text-align:center">
258
+ <nobr>当前上表总金额</nobr>
259
+ </th>
260
+ <th style="text-align:center">
261
+ <nobr>当前累计用气金额</nobr>
262
+ </th>
263
+ </tr>
264
+ </template>
265
+ <template partial='body' partial='list' v-ref:grid>
266
+ <tr>
267
+ <td style="text-align:center">
268
+ <nobr>{{row.f_filiale}}</nobr>
269
+ </td>
270
+ <td style="text-align:center">
271
+ <nobr>{{row.f_user_type}}</nobr>
272
+ </td>
273
+ <td style="text-align:center">
274
+ <nobr>{{row.f_gasproperties}}</nobr>
275
+ </td>
276
+ <td style="text-align:center">
277
+ <nobr>{{row.f_user_name}}</nobr>
278
+ </td>
279
+ <td>
280
+ <nobr>{{row.f_address}}</nobr>
281
+ </td>
282
+ <td style="text-align:center">
283
+ <nobr>{{row.f_input_date}}</nobr>
284
+ </td>
285
+ <td style="text-align:center">
286
+ <nobr>
287
+ <span @click="$parent.$parent.$parent.dealmsg(row)"><a>
288
+ {{row.f_meternumber}}
289
+ </a></span>
290
+ </nobr>
291
+ </td>
292
+ <td style="text-align:center">
293
+ <nobr>{{row.f_meter_brand}}</nobr>
294
+ </td>
295
+ <td style="text-align:center">
296
+ <nobr>{{row.f_meter_style}}</nobr>
297
+ </td>
298
+ <td style="text-align:center">
299
+ <nobr>{{row.f_balance}}</nobr>
300
+ </td>
301
+ <td style="text-align:center">{{row.f_last_tablebase}}</td>
302
+ <td style="text-align:center">{{row.f_tablebase}}</td>
303
+ <td style="text-align:center">{{row.f_oughtamount}}</td>
304
+ <td style="text-align:center">{{row.f_price}}</td>
305
+ <td style="text-align:center">{{row.f_oughtfee}}</td>
306
+ <td style="text-align:center">
307
+ <nobr>{{row.f_curbalance}}</nobr>
308
+ </td>
309
+ <td style="text-align:center;width: 170px;">
310
+ <nobr>{{row.f_upload_type}}</nobr>
311
+ </td>
312
+ <td style="text-align:center;width: 170px;">
313
+ <nobr>{{row.f_hand_date}}</nobr>
314
+ </td>
315
+ <td style="text-align:center">
316
+ <nobr>{{row.f_last_hand_date}}</nobr>
317
+ </td>
318
+ <td style="text-align:center">
319
+ <nobr>{{row.f_table_msg}}</nobr>
320
+ </td>
321
+ <td style="text-align:center">
322
+ <nobr>{{row.f_last_meter_state_msg}}</nobr>
323
+ </td>
324
+ <td style="text-align:center">
325
+ <nobr>{{row.f_insert_date}}</nobr>
326
+ </td>
327
+ <td style="text-align:center">
328
+ <nobr>{{row.f_software_version}}</nobr>
329
+ </td>
330
+
331
+ <td style="text-align:center">
332
+ <img :title='row.f_signal' height="12"
333
+ src="../../../../static/WebMetericon/1.png"
334
+ v-if="row.f_signal>-80" width="24"/>
335
+ <img :title='row.f_signal' height="12"
336
+ src="../../../../static/WebMetericon/2.png"
337
+ v-if="row.f_signal>-100&&row.f_signal<=-80" width="24"/>
338
+ <img :title='row.f_signal' height="12"
339
+ src="../../../../static/WebMetericon/3.png"
340
+ v-if="row.f_signal>-120&&row.f_signal<=-100" width="24"/>
341
+ <img :title='row.f_signal' height="12"
342
+ src="../../../../static/WebMetericon/4.png"
343
+ v-if="row.f_signal<=-120" width="24"/>
344
+ </td>
345
+ <td style="text-align:center">
346
+ <img :title='row.f_batterylevel' height="12"
347
+ src="../../../../static/WebMetericon/01.png"
348
+ v-if="row.f_batterylevel>=6.00" width="24"/>
349
+ <img :title='row.f_batterylevel' height="12"
350
+ src="../../../../static/WebMetericon/02.png"
351
+ v-if="row.f_batterylevel>=5.00&&row.f_batterylevel<6.00" width="24"/>
352
+ <img :title='row.f_batterylevel' height="12"
353
+ src="../../../../static/WebMetericon/03.png"
354
+ v-if="row.f_batterylevel>=4.00&&row.f_batterylevel<5.00" width="24"/>
355
+ <img :title='row.f_batterylevel' height="12"
356
+ src="../../../../static/WebMetericon/04.png"
357
+ v-if="row.f_batterylevel<4.00" width="24"/>
358
+ </td>
359
+ <td style="text-align:center;width: 51px">{{row.f_valvestate==1?'关阀':'开阀'}}</td>
360
+ <td style="text-align:center;width: 51px">
361
+ <img :title='故障' height="12"
362
+ src="../../../../static/WebMetericon/guzhang.png"
363
+ v-if="row.f_magneticinterference==1" width="12"/>
364
+ <img :title='正常' height="12"
365
+ src="../../../../static/WebMetericon/zhengchang.png"
366
+ v-if="row.f_magneticinterference==0" width="17"/>
367
+ </td>
368
+ <td style="text-align:center;width: 51px">
369
+ <img :title='关阀' height="12"
370
+ src="../../../../static/WebMetericon/guzhang.png"
371
+ v-if="row.f_cycleshutvalue==1" width="12"/>
372
+ <img :title='正常' height="12"
373
+ src="../../../../static/WebMetericon/zhengchang.png"
374
+ v-if="row.f_cycleshutvalue==0" width="17"/>
375
+ </td>
376
+ <td style="text-align:center;width: 51px">
377
+ <img :title='关阀' height="12"
378
+ src="../../../../static/WebMetericon/guzhang.png"
379
+ v-if="row.f_overcurrentprotection==1" width="12"/>
380
+ <img :title='正常' height="12"
381
+ src="../../../../static/WebMetericon/zhengchang.png"
382
+ v-if="row.f_overcurrentprotection==0" width="17"/>
383
+ </td>
384
+ <td style="text-align:center;width: 51px">
385
+ <img :title='走气' height="12"
386
+ src="../../../../static/WebMetericon/guzhang.png"
387
+ v-if="row.f_leakageflag==1" width="12"/>
388
+ <img :title='正常' height="12"
389
+ src="../../../../static/WebMetericon/zhengchang.png"
390
+ v-if="row.f_leakageflag==0" width="17"/>
391
+ </td>
392
+ <td style="text-align:center;width: 51px">
393
+ <img :title='拆表' height="12"
394
+ src="../../../../static/WebMetericon/guzhang.png"
395
+ v-if="row.f_splitalarm==='1'" width="12"/>
396
+ <img :title='正常' height="12"
397
+ src="../../../../static/WebMetericon/zhengchang.png"
398
+ v-if="row.f_splitalarm==='0'" width="17"/>
399
+ </td>
400
+ <td style="text-align:center;width: 51px">
401
+ <img :title='停止' height="12"
402
+ src="../../../../static/WebMetericon/guzhang.png"
403
+ v-if="row.f_xtipllstopflag==='1'" width="12"/>
404
+ <img :title='正常' height="12"
405
+ src="../../../../static/WebMetericon/zhengchang.png"
406
+ v-if="row.f_xtipllstopflag==='0'" width="17"/>
407
+ </td>
408
+
409
+
410
+ <td style="text-align:center">
411
+ <nobr>{{row.f_jval}}</nobr>
412
+ </td>
413
+ <td style="text-align:center">
414
+ <nobr>{{row.f_snr}}</nobr>
415
+ </td>
416
+ <td style="text-align:center">
417
+ <nobr>{{row.f_net_provider}}</nobr>
418
+ </td>
419
+ <td style="text-align:center">
420
+ <nobr>{{row.f_magneticInterference,}}</nobr>
421
+ </td>
422
+ <td style="text-align:center">
423
+ <nobr>{{row.f_price}}</nobr>
424
+ </td>
425
+ <td style="text-align:center">
426
+ <nobr>{{row.f_curtotal_fee}}</nobr>
427
+ </td>
428
+ <td style="text-align:center">
429
+ <nobr>{{row.f_using_fee}}</nobr>
430
+ </td>
431
+
432
+
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" class="form-control" 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" class="form-control" 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
+ </div>
467
+ </div>
468
+ </div>
469
+ </template>
470
+
471
+ <script>
472
+ import {PagedList} from 'vue-client'
473
+
474
+ export default {
475
+ title: '数据采集',
476
+ data() {
477
+ return {
478
+ model: new PagedList('rs/sql/dataCollectionQuery', 50),
479
+ row: null,
480
+ //搜索显示开关
481
+ searchshow: false,
482
+ //抄表录入开关
483
+ handshow: false,
484
+ isdeal: true,
485
+ obj: {
486
+ userid: this.$login.f.id,
487
+ source: `tool.getFullTree(this.getRights().where(row.getType() == $organization$))`,
488
+ res: this.$login.f.f_fengongsi,
489
+ resids: this.$login.f.f_orgids,
490
+ },
491
+ handExce: {
492
+ //异常对象
493
+ exceobj: {},
494
+ //异常类型
495
+ f_error_type: "",
496
+ //异常描述
497
+ f_error_msg: '',
498
+ },
499
+ show: false,
500
+ }
501
+ },
502
+ props: ['searchobj', 'isdeal'
503
+ ],
504
+ ready() {
505
+
506
+ },
507
+ methods: {
508
+ //跳转处理页面
509
+ dealmsg(val) {
510
+ val.model = this.model.model;
511
+ this.$emit('deal-msg', val)
512
+ },
513
+ //查询开关
514
+ seachchange() {
515
+ this.searchshow = !this.searchshow
516
+ },
517
+ //异常开关
518
+ handchange(val) {
519
+ if (val) {
520
+ console.log("开启弹窗");
521
+ this.handExce.exceobj = val
522
+ } else {
523
+ console.log("返回置空");
524
+ this.handExce = {}
525
+ }
526
+ this.handshow = !this.handshow
527
+ },
528
+ //保存输入
529
+ saveException() {
530
+ //准备数据
531
+ var Exejson = {};
532
+ //抄表记录id
533
+ Exejson.data_id = this.handExce.exceobj.id;
534
+ //异常表档案ID
535
+ Exejson.f_userfiles_id = this.handExce.exceobj.f_userfiles_id;
536
+ //异常户档案ID
537
+ Exejson.f_userinfo_id = this.handExce.exceobj.f_userinfo_id;
538
+ //异常表号
539
+ Exejson.f_meternumber = this.handExce.exceobj.f_meternumber;
540
+ //分公司
541
+ Exejson.f_filiale = this.handExce.exceobj.f_filiale;
542
+ //分公司编号
543
+ Exejson.f_filialeids = this.handExce.exceobj.f_filialeids;
544
+ //营业网点
545
+ Exejson.f_outlets = this.handExce.exceobj.f_outlets;
546
+ //组织机构
547
+ Exejson.f_orgstr = this.handExce.exceobj.f_orgstr;
548
+ //异常类型
549
+ Exejson.f_error_type = this.handExce.f_error_type;
550
+ //异常说明
551
+ Exejson.f_error_msg = this.handExce.f_error_msg;
552
+ console.log("提交异常数据");
553
+ console.log(Exejson);
554
+ try {
555
+ this.$resetpost('rs/entity/t_exception', Exejson, {resolveMsg: null, rejectMsg: null}).then((req) => {
556
+ console.log(val);
557
+ this.handExce = {};
558
+ console.log("提交成功")
559
+ }).then(() => {
560
+ this.$showMessage("异常保存成功!")
561
+ })
562
+ } catch (e) {
563
+ this.handExce = {};
564
+ console.log("提交失败");
565
+ this.$showMessage("异常保存失败!")
566
+ }
567
+ this.handshow = false
568
+ },
569
+ DealSignal(val) {
570
+ console.log(val.model.f_signal);
571
+ if (val.model && val.model.f_signal) {
572
+ if (val.model.f_signal == '信号正常') {
573
+ val.condition = val.condition + " and " + "f_signal>-100 "
574
+ }
575
+ if (val.model.f_signal == '信号异常') {
576
+ val.condition = val.condition + " and " + "f_signal<-100 "
577
+ }
578
+ }
579
+ return val
580
+ },
581
+ DealFaults(val) {
582
+ if (val.model && val.model.faultstate) {
583
+ console.log(val.model.faultstate);
584
+ val.model.faultstate.forEach((item) => {
585
+ if (item == '磁干扰') {
586
+ val.condition = val.condition + " and " + "f_magneticInterference=1 "
587
+ }
588
+ if (item == '周期关阀') {
589
+ val.condition = val.condition + " and " + "f_cycleShutValue=1 "
590
+ }
591
+ if (item == '过流保护关阀') {
592
+ val.condition = val.condition + " and " + "f_overCurrentProtection=1 "
593
+ }
594
+ if (item == '关阀走气') {
595
+ val.condition = val.condition + " and " + "f_leakageFlag=1 "
596
+ }
597
+ if (item == '拆表报警') {
598
+ val.condition = val.condition + " and " + "f_SplitAlarm=1 "
599
+ }
600
+ })
601
+ }
602
+ return val
603
+ },
604
+ // SaveAsFile(str) {
605
+ // this.$showMessage('您是否需要导出本页数据?', ['confirm', 'cancel']).then((res) => {
606
+ // if (res === 'confirm') {
607
+ // let style = '<style>' +
608
+ // 'td {border-width: 1px;padding: 2px;border-style: solid; border-color:black; border-collapse:collapse;} .tdright{text-align: right;} .tdcenter{text-align: center;}</style>';
609
+ // let strHtml = style + document.getElementById(str).innerHTML;
610
+ // console.log(strHtml);
611
+ // let LODOP = getLodop();
612
+ // LODOP.PRINT_INIT('');
613
+ // LODOP.ADD_PRINT_TABLE(5, 5, '99%', '100%', strHtml);
614
+ // LODOP.SAVE_TO_FILE('抄表查看.xls')
615
+ // }
616
+ // })
617
+ // },
618
+ clearmsg() {
619
+ this.$refs.paged.$refs.criteria.model = {}
620
+ },
621
+ search(args) {
622
+ // 处理故障类型
623
+ args = this.DealFaults(args);
624
+ // 处理信号
625
+ args = this.DealSignal(args);
626
+ args.condition = `${args.condition} and f_filialeids like '${this.obj.resids}%'`;
627
+ this.model.search(args.condition, args.model)
628
+ },
629
+ getRes(obj) {
630
+ this.obj.res = obj.res;
631
+ this.obj.resids = obj.resids
632
+ },
633
+ },
634
+
635
+ watch: {
636
+ // 监听查询对象
637
+ 'searchobj'(val) {
638
+ if (this.searchobj != null) {
639
+ this.$refs.paged.$refs.criteria.model.f_meternumber = this.searchobj.f_meternumber;
640
+ /* this.$refs.paged.$refs.criteria.model.startDate = this.searchobj.model.startDate
641
+ this.$refs.paged.$refs.criteria.model.endDate = this.searchobj.model.endDate*/
642
+ this.$refs.paged.$refs.criteria.search()
643
+ }
644
+ }
645
+ },
646
+ computed: {
647
+ // 上报异常类型
648
+ Gasproperties() {
649
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('用气性质')]
650
+ },
651
+ Getusertype() {
652
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]
653
+ },
654
+ Getuploadtype() {
655
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('上报类型')]
656
+ },
657
+ // 阀门状态
658
+ Valvestates() {
659
+ return [{label: '全部', value: '%%'}, {label: '关阀', value: '1'}, {label: '开阀', value: '0'}]
660
+ },
661
+ // 故障状态
662
+ FaultStates() {
663
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('故障状态')]
664
+ }
665
+ }
666
+ }
667
+ </script>
668
+ <style>
669
+ .datapanel {
670
+ color: #333;
671
+ background-color: white;
672
+ box-shadow: darkgrey 0.5px 0.5px 0.5px 0.5px;
673
+ padding: 10px 30px 10px 30px;
674
+ border-radius: 15px;
675
+ }
676
+ </style>