manage-client 3.1.37 → 3.1.38

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 (519) 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 +174 -181
  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/App.vue +28 -29
  25. package/src/ManageHome.js +269 -269
  26. package/src/Staff/StaffCompileList.vue +334 -334
  27. package/src/Staff/StaffList.vue +161 -161
  28. package/src/Staff/StaffListManage.vue +49 -49
  29. package/src/Util.js +367 -367
  30. package/src/components/BasisEcharts/LineChart.vue +243 -243
  31. package/src/components/BasisEcharts/RingChart.vue +196 -196
  32. package/src/components/ManageHome/CustomerService/ContentmentStatistics.vue +135 -135
  33. package/src/components/ManageHome/CustomerService/ExcepCollect.vue +174 -174
  34. package/src/components/ManageHome/CustomerService/ReasonComplaint.vue +116 -116
  35. package/src/components/ManageHome/CustomerService/ReasonConsultation.vue +115 -115
  36. package/src/components/ManageHome/CustomerService/ServiceFix.vue +155 -155
  37. package/src/components/ManageHome/CustomerService/ServiceHome.vue +179 -179
  38. package/src/components/ManageHome/CustomerService/ServiceStatistics.vue +147 -147
  39. package/src/components/ManageHome/CustomerService/TrafficStatistics.vue +160 -160
  40. package/src/components/ManageHome/Drill/DrillData.vue +791 -791
  41. package/src/components/ManageHome/Drill/DrillList.vue +320 -320
  42. package/src/components/ManageHome/Drill/DrillPool.vue +129 -129
  43. package/src/components/ManageHome/Home/CallCenter.vue +124 -124
  44. package/src/components/ManageHome/Home/CallFix.vue +172 -172
  45. package/src/components/ManageHome/Home/CallStatistics.vue +147 -147
  46. package/src/components/ManageHome/Home/GasValue.vue +233 -233
  47. package/src/components/ManageHome/Home/Home.vue +138 -138
  48. package/src/components/ManageHome/Home/Monitor.vue +329 -329
  49. package/src/components/ManageHome/Home/NetWork.vue +202 -202
  50. package/src/components/ManageHome/Home/SafeCheck.vue +249 -249
  51. package/src/components/ManageHome/Home/UserModule.vue +367 -367
  52. package/src/components/ManageHome/ImportSupplygas/AddSupply.vue +206 -206
  53. package/src/components/ManageHome/ImportSupplygas/SuppleManagement.vue +43 -43
  54. package/src/components/ManageHome/ImportSupplygas/SupplySelect.vue +85 -85
  55. package/src/components/ManageHome/ImportSupplygas/UpdateSupply.vue +187 -187
  56. package/src/components/ManageHome/ManageHome.vue +292 -292
  57. package/src/components/ManageHome/Monitor/BuySub.vue +311 -311
  58. package/src/components/ManageHome/Monitor/Caveat.vue +300 -300
  59. package/src/components/ManageHome/Monitor/ComparedGas.vue +264 -264
  60. package/src/components/ManageHome/Monitor/MeterBrand.vue +211 -211
  61. package/src/components/ManageHome/Monitor/MonitorCenter.vue +132 -132
  62. package/src/components/ManageHome/Monitor/MonitorHome.vue +188 -188
  63. package/src/components/ManageHome/Monitor/NoBuyGas.vue +223 -223
  64. package/src/components/ManageHome/Monitor/NoContact.vue +233 -233
  65. package/src/components/ManageHome/Monitor/NoGas.vue +202 -202
  66. package/src/components/ManageHome/NetWork/LineInspection.vue +267 -267
  67. package/src/components/ManageHome/NetWork/NetDanger.vue +258 -258
  68. package/src/components/ManageHome/NetWork/NetHome.vue +84 -84
  69. package/src/components/ManageHome/NetWork/SupplyGas.vue +204 -204
  70. package/src/components/ManageHome/SecurityCheck/CheckHome.vue +94 -94
  71. package/src/components/ManageHome/SecurityCheck/CustomerType.vue +244 -244
  72. package/src/components/ManageHome/SecurityCheck/LatentDanger.vue +218 -218
  73. package/src/components/ManageHome/SecurityCheck/PlanStatistics.vue +231 -231
  74. package/src/components/ManageHome/SecurityCheck/StateStatistics.vue +237 -237
  75. package/src/components/ManageHome/SecurityCheck/TaskStatistics.vue +303 -303
  76. package/src/components/ManageHome/User/GasDistri.vue +271 -271
  77. package/src/components/ManageHome/User/InspecDistri.vue +272 -272
  78. package/src/components/ManageHome/User/SaleProportion.vue +309 -309
  79. package/src/components/ManageHome/User/UseHome.vue +155 -155
  80. package/src/components/ManageHome/User/UserGascontrast.vue +223 -223
  81. package/src/components/ManageHome/User/UserNumber.vue +519 -519
  82. package/src/components/ManageHome/User/UsernumIncrease.vue +243 -243
  83. package/src/components/ManageHome/loading.vue +23 -23
  84. package/src/components/ManageHomeCS/Cockpit.vue +43 -43
  85. package/src/components/ManageHomeCS/CustomerService/ContentmentStatistics.vue +161 -161
  86. package/src/components/ManageHomeCS/CustomerService/ExcepCollect.vue +201 -201
  87. package/src/components/ManageHomeCS/CustomerService/ReasonComplaint.vue +146 -146
  88. package/src/components/ManageHomeCS/CustomerService/ReasonConsultation.vue +148 -148
  89. package/src/components/ManageHomeCS/CustomerService/ServiceFix.vue +242 -242
  90. package/src/components/ManageHomeCS/CustomerService/ServiceHome.vue +176 -176
  91. package/src/components/ManageHomeCS/CustomerService/ServiceStatistics.vue +277 -277
  92. package/src/components/ManageHomeCS/CustomerService/TrafficStatistics.vue +226 -226
  93. package/src/components/ManageHomeCS/Drill/DrillData.vue +918 -918
  94. package/src/components/ManageHomeCS/Drill/DrillList.vue +320 -320
  95. package/src/components/ManageHomeCS/Drill/DrillPool.vue +129 -129
  96. package/src/components/ManageHomeCS/Home/CallCenter.vue +206 -206
  97. package/src/components/ManageHomeCS/Home/CallFix.vue +172 -172
  98. package/src/components/ManageHomeCS/Home/CallStatistics.vue +147 -147
  99. package/src/components/ManageHomeCS/Home/GasValue.vue +466 -466
  100. package/src/components/ManageHomeCS/Home/Home.vue +57 -57
  101. package/src/components/ManageHomeCS/Home/Monitor.vue +423 -423
  102. package/src/components/ManageHomeCS/Home/NetWork.vue +223 -223
  103. package/src/components/ManageHomeCS/Home/SafeCheck.vue +446 -446
  104. package/src/components/ManageHomeCS/Home/ShanxiMap.vue +432 -432
  105. package/src/components/ManageHomeCS/Home/UserModule.vue +511 -511
  106. package/src/components/ManageHomeCS/Home/YulinMap.vue +424 -424
  107. package/src/components/ManageHomeCS/ImportSupplygas/AddSupply.vue +206 -206
  108. package/src/components/ManageHomeCS/ImportSupplygas/SuppleManagement.vue +43 -43
  109. package/src/components/ManageHomeCS/ImportSupplygas/SupplySelect.vue +85 -85
  110. package/src/components/ManageHomeCS/ImportSupplygas/UpdateSupply.vue +187 -187
  111. package/src/components/ManageHomeCS/Monitor/BuySub.vue +339 -339
  112. package/src/components/ManageHomeCS/Monitor/Caveat.vue +301 -301
  113. package/src/components/ManageHomeCS/Monitor/ComparedGas.vue +276 -276
  114. package/src/components/ManageHomeCS/Monitor/MeterBrand.vue +220 -220
  115. package/src/components/ManageHomeCS/Monitor/MonitorCenter.vue +139 -139
  116. package/src/components/ManageHomeCS/Monitor/MonitorHome.vue +188 -188
  117. package/src/components/ManageHomeCS/Monitor/NoBuyGas.vue +218 -218
  118. package/src/components/ManageHomeCS/Monitor/NoContact.vue +217 -217
  119. package/src/components/ManageHomeCS/Monitor/NoGas.vue +214 -214
  120. package/src/components/ManageHomeCS/NetWork/LineInspection.vue +268 -268
  121. package/src/components/ManageHomeCS/NetWork/NetDanger.vue +258 -258
  122. package/src/components/ManageHomeCS/NetWork/NetHome.vue +106 -106
  123. package/src/components/ManageHomeCS/NetWork/NetWork.vue +222 -222
  124. package/src/components/ManageHomeCS/NetWork/NetWorkMap.vue +86 -86
  125. package/src/components/ManageHomeCS/NetWork/SupplyGas.vue +291 -291
  126. package/src/components/ManageHomeCS/NewHome/GasProperties.vue +314 -314
  127. package/src/components/ManageHomeCS/NewHome/NewManageHome.vue +182 -182
  128. package/src/components/ManageHomeCS/NewHome/TextBusiness.vue +267 -267
  129. package/src/components/ManageHomeCS/NewHome/TextChildsellgas.vue +209 -209
  130. package/src/components/ManageHomeCS/NewHome/TextProfit.vue +298 -298
  131. package/src/components/ManageHomeCS/NewHome/TextSellgas.vue +82 -82
  132. package/src/components/ManageHomeCS/NewHome/TextShanximap.vue +389 -389
  133. package/src/components/ManageHomeCS/NewHome/TextTotalsellgas.vue +406 -406
  134. package/src/components/ManageHomeCS/NewHome/TextUser.vue +378 -378
  135. package/src/components/ManageHomeCS/NewHome/yulin.vue +425 -425
  136. package/src/components/ManageHomeCS/Poor/PoorHome.vue +176 -176
  137. package/src/components/ManageHomeCS/SecurityCheck/CheckHome.vue +94 -94
  138. package/src/components/ManageHomeCS/SecurityCheck/CustomerType.vue +246 -246
  139. package/src/components/ManageHomeCS/SecurityCheck/LatentDanger.vue +220 -220
  140. package/src/components/ManageHomeCS/SecurityCheck/PlanStatistics.vue +306 -306
  141. package/src/components/ManageHomeCS/SecurityCheck/StateStatistics.vue +239 -239
  142. package/src/components/ManageHomeCS/SecurityCheck/TaskStatistics.vue +311 -311
  143. package/src/components/ManageHomeCS/User/FMYInspecDistri.vue +269 -269
  144. package/src/components/ManageHomeCS/User/GasDistri.vue +220 -220
  145. package/src/components/ManageHomeCS/User/MYInspecDistri.vue +269 -269
  146. package/src/components/ManageHomeCS/User/SaleProportion.vue +384 -384
  147. package/src/components/ManageHomeCS/User/UseHome.vue +162 -162
  148. package/src/components/ManageHomeCS/User/UserGascontrast.vue +221 -221
  149. package/src/components/ManageHomeCS/User/UserNumber.vue +600 -600
  150. package/src/components/ManageHomeCS/User/UsernumIncrease.vue +277 -277
  151. package/src/components/ManageHomeCS/loading.vue +39 -39
  152. package/src/components/ManageHomeCS/test.vue +88 -88
  153. package/src/components/MeterManage/ChangeMeterQuery.vue +82 -82
  154. package/src/components/MeterManage/ChargeQuery.vue +79 -79
  155. package/src/components/MeterManage/FillCardQuery.vue +80 -80
  156. package/src/components/MeterManage/FillGasQuery.vue +80 -80
  157. package/src/components/MeterManage/HandQuery.vue +72 -72
  158. package/src/components/MeterManage/MeterInfoManage.vue +107 -107
  159. package/src/components/MeterManage/MeterList.vue +336 -336
  160. package/src/components/MeterManage/MeterMsg.vue +181 -181
  161. package/src/components/MeterManage/OtherChargeQuery.vue +78 -78
  162. package/src/components/MeterManage/ReversalQuery.vue +77 -77
  163. package/src/components/MeterManage/TransferQuery.vue +72 -72
  164. package/src/components/SellReport/AmountGas.vue +257 -257
  165. package/src/components/SellReport/BankManager.vue +146 -146
  166. package/src/components/SellReport/BonSummary.vue +244 -244
  167. package/src/components/SellReport/BusinessClassify.vue +267 -267
  168. package/src/components/SellReport/BusinessMoneyReport.vue +268 -268
  169. package/src/components/SellReport/BusinessReport.vue +256 -256
  170. package/src/components/SellReport/CaiManageDayGas.vue +280 -280
  171. package/src/components/SellReport/ChManageBusSummary.vue +273 -273
  172. package/src/components/SellReport/ChManageHandSellMoney.vue +274 -274
  173. package/src/components/SellReport/ChManageMonthGas.vue +285 -285
  174. package/src/components/SellReport/ChOtherfee.vue +251 -251
  175. package/src/components/SellReport/ChSellReport.vue +251 -251
  176. package/src/components/SellReport/ChargeDayTable.vue +258 -258
  177. package/src/components/SellReport/ChargeMonthTable.vue +257 -257
  178. package/src/components/SellReport/ChargePrick.vue +279 -279
  179. package/src/components/SellReport/ChargeYearTable.vue +252 -252
  180. package/src/components/SellReport/CollectFee.vue +184 -184
  181. package/src/components/SellReport/Contrast.vue +188 -188
  182. package/src/components/SellReport/DayStairMoney.vue +256 -256
  183. package/src/components/SellReport/DepartmentPrick.vue +261 -261
  184. package/src/components/SellReport/DeptHomePage.vue +299 -299
  185. package/src/components/SellReport/FenxiangSell.vue +183 -183
  186. package/src/components/SellReport/FinanceSellType.vue +254 -254
  187. package/src/components/SellReport/FxGasTable.vue +220 -220
  188. package/src/components/SellReport/GasBaozhuangFee.vue +237 -237
  189. package/src/components/SellReport/GasCollect.vue +174 -174
  190. package/src/components/SellReport/GasMeterBrand.vue +228 -228
  191. package/src/components/SellReport/GasPrice.vue +244 -244
  192. package/src/components/SellReport/GasPriceGroup.vue +228 -228
  193. package/src/components/SellReport/GasSummary.vue +257 -257
  194. package/src/components/SellReport/Gasc.vue +257 -257
  195. package/src/components/SellReport/GaspriceHas.vue +141 -141
  196. package/src/components/SellReport/GetUserNum.vue +240 -240
  197. package/src/components/SellReport/HandCollect.vue +189 -189
  198. package/src/components/SellReport/HandplanBili.vue +241 -241
  199. package/src/components/SellReport/HandplanUserCount.vue +227 -227
  200. package/src/components/SellReport/JinChengBusSummary.vue +182 -182
  201. package/src/components/SellReport/JinChengHandGas.vue +182 -182
  202. package/src/components/SellReport/JinChengOperSummary.vue +182 -182
  203. package/src/components/SellReport/JinChengSliceSumgas.vue +182 -182
  204. package/src/components/SellReport/ManageBusSummary.vue +242 -242
  205. package/src/components/SellReport/ManageBusTable.vue +207 -207
  206. package/src/components/SellReport/ManageGasFee.vue +247 -247
  207. package/src/components/SellReport/ManageGasFeeOperator.vue +236 -236
  208. package/src/components/SellReport/ManageGasPrice.vue +241 -241
  209. package/src/components/SellReport/ManageGasSumChangeTwo.vue +271 -271
  210. package/src/components/SellReport/ManageGasSumOtherCharge.vue +244 -244
  211. package/src/components/SellReport/ManageHandInputtor.vue +281 -281
  212. package/src/components/SellReport/ManageHandSellInputtor.vue +241 -241
  213. package/src/components/SellReport/ManageMonthGas.vue +249 -249
  214. package/src/components/SellReport/ManageNewGasPrice.vue +245 -245
  215. package/src/components/SellReport/ManageOtherCharge.vue +250 -250
  216. package/src/components/SellReport/ManageReceivable.vue +254 -254
  217. package/src/components/SellReport/ManageSellType.vue +284 -284
  218. package/src/components/SellReport/ManageUserCollect.vue +183 -183
  219. package/src/components/SellReport/ManageUserCount.vue +347 -347
  220. package/src/components/SellReport/MarketMonth.vue +251 -251
  221. package/src/components/SellReport/MeterBill.vue +185 -185
  222. package/src/components/SellReport/MeterGasMoney.vue +226 -226
  223. package/src/components/SellReport/MeterInput.vue +250 -250
  224. package/src/components/SellReport/MeterPrice.vue +244 -244
  225. package/src/components/SellReport/MeterReader.vue +231 -231
  226. package/src/components/SellReport/MonthStairMoney.vue +256 -256
  227. package/src/components/SellReport/OperatorSellReport.vue +268 -268
  228. package/src/components/SellReport/OutletTable.vue +258 -258
  229. package/src/components/SellReport/OweAging.vue +174 -174
  230. package/src/components/SellReport/PaymentDistribute.vue +228 -228
  231. package/src/components/SellReport/PaymentMethod.vue +274 -274
  232. package/src/components/SellReport/QibiaoShouqi.vue +282 -282
  233. package/src/components/SellReport/ReportHistory.vue +80 -80
  234. package/src/components/SellReport/ReportPool.vue +60 -60
  235. package/src/components/SellReport/SaleMonthReport.vue +227 -227
  236. package/src/components/SellReport/Selling.vue +188 -188
  237. package/src/components/SellReport/SellingTable.vue +220 -220
  238. package/src/components/SellReport/SiteManager.vue +147 -147
  239. package/src/components/SellReport/UserClassify.vue +251 -251
  240. package/src/components/SellReport/UserSellingGas.vue +251 -251
  241. package/src/components/SellReport/UserStateStatistics.vue +188 -188
  242. package/src/components/SellReport/UsertypePie.vue +101 -101
  243. package/src/components/SellReport/WeiNanYuShou.vue +246 -246
  244. package/src/components/SellReport/XianYangDate.vue +227 -227
  245. package/src/components/SellReport/XianYangOperator.vue +228 -228
  246. package/src/components/SellReport/XyDateCharge.vue +227 -227
  247. package/src/components/SellReport/XyOperatorCharge.vue +256 -256
  248. package/src/components/SellReport/YuShouTable.vue +298 -298
  249. package/src/components/SellReport/YuShouTableTwo.vue +309 -309
  250. package/src/components/SellReport/chargeSchedule.vue +410 -410
  251. package/src/components/SellReport/jingwei/CardCharge.vue +142 -142
  252. package/src/components/SellReport/jingwei/MachineCharge.vue +141 -141
  253. package/src/components/SellReport/jingwei/PaymentNotice.vue +479 -479
  254. package/src/components/SellReport/jingwei/handplanReport.vue +280 -280
  255. package/src/components/SellReport/jingwei/widegt/PaymentNoticePrint.vue +198 -198
  256. package/src/components/SellReport/jingwei/widegt/handplanPrint.vue +143 -143
  257. package/src/components/SellReport/pengan/ManageBusPeng.vue +280 -280
  258. package/src/components/SellReport/pengan/ManageBusSummaryPeng.vue +241 -241
  259. package/src/components/SellReport/userholds.vue +257 -257
  260. package/src/components/WebReport/AbnormalInfo.vue +197 -197
  261. package/src/components/WebReport/AbnormalInfoEcharts.vue +120 -120
  262. package/src/components/WebReport/BatteryLow.vue +148 -148
  263. package/src/components/WebReport/BusinessHall.vue +85 -85
  264. package/src/components/WebReport/BussinessType.vue +137 -137
  265. package/src/components/WebReport/Communication.vue +131 -131
  266. package/src/components/WebReport/CompanyUser.vue +79 -79
  267. package/src/components/WebReport/EchartsBox.vue +110 -110
  268. package/src/components/WebReport/ElectroMagnetic.vue +142 -142
  269. package/src/components/WebReport/GaspriceHas.vue +141 -141
  270. package/src/components/WebReport/HandplanPrint.vue +167 -167
  271. package/src/components/WebReport/NotUpload.vue +165 -165
  272. package/src/components/WebReport/OweQuery.vue +169 -169
  273. package/src/components/WebReport/PaymentDistributed.vue +176 -176
  274. package/src/components/WebReport/Paymentpie.vue +157 -157
  275. package/src/components/WebReport/ReportWorklist.vue +220 -220
  276. package/src/components/WebReport/SellType.vue +89 -89
  277. package/src/components/WebReport/Telemanlist.vue +221 -221
  278. package/src/components/WebReport/UserGasAll.vue +214 -214
  279. package/src/components/WebReport/UserGasEcharts.vue +107 -107
  280. package/src/components/WebReport/UsertypePie.vue +105 -105
  281. package/src/components/WebReport/ValueEcharts.vue +99 -99
  282. package/src/components/WebReport/ValueInfo.vue +194 -194
  283. package/src/components/daping/CallCenter.vue +366 -366
  284. package/src/components/daping/DataManagement.vue +537 -537
  285. package/src/components/daping/GMap.vue +636 -636
  286. package/src/components/daping/ManageMain.vue +270 -270
  287. package/src/components/daping/NetWork.vue +238 -238
  288. package/src/components/daping/RedactDaPing.vue +468 -468
  289. package/src/components/daping/Ring.vue +212 -212
  290. package/src/components/daping/SafeCheck.vue +446 -446
  291. package/src/components/daping/SafeCheckRing.vue +166 -166
  292. package/src/components/daping/SafecheckBarChart.vue +233 -233
  293. package/src/components/daping/WuHaiMap.vue +418 -418
  294. package/src/components/qinhua/BarChart.vue +256 -256
  295. package/src/components/qinhua/BarChartLine.vue +288 -288
  296. package/src/components/qinhua/ManageMain.vue +162 -162
  297. package/src/components/qinhua/Pie.vue +132 -132
  298. package/src/components/qinhua/Ring.vue +165 -165
  299. package/src/components/qinhua/SafeCheckRing.vue +149 -149
  300. package/src/components/qinhua/SafecheckBarChart.vue +209 -209
  301. package/src/components/qinhua/Scada.vue +93 -93
  302. package/src/components/qinhua/SellEcharts.vue +115 -115
  303. package/src/components/qinhua/qinHuaMap.vue +414 -414
  304. package/src/components/safecheck/analysis/SafeHiddenAnaly.vue +932 -932
  305. package/src/components/safecheck/planCheck/chanceSituation.vue +149 -149
  306. package/src/components/safecheck/planCheck/checkFamily.vue +217 -217
  307. package/src/components/safecheck/planCheck/hidderDanger.vue +179 -179
  308. package/src/components/safecheck/planCheck/inFamily.vue +185 -185
  309. package/src/components/sale/businessquery/AccountQuery/TransactionSummary.vue +373 -373
  310. package/src/components/sale/businessquery/BalanceQuery.vue +456 -456
  311. package/src/components/sale/businessquery/CollectManage.vue +135 -135
  312. package/src/components/sale/businessquery/FMYGasQuery.vue +713 -713
  313. package/src/components/sale/businessquery/InspectManage.vue +47 -47
  314. package/src/components/sale/businessquery/MonthGasQuery.vue +467 -467
  315. package/src/components/sale/businessquery/NewAccountQuery.vue +409 -409
  316. package/src/components/sale/businessquery/OtherChargeDetailQuery.vue +74 -74
  317. package/src/components/sale/businessquery/OtherChargeQuery.vue +619 -619
  318. package/src/components/sale/businessquery/ProceedsOper.vue +377 -377
  319. package/src/components/sale/businessquery/ResourceOperatingQuery.vue +317 -317
  320. package/src/components/sale/businessquery/TongjiManage.vue +74 -74
  321. package/src/components/sale/businessquery/UserTongjiQuery.vue +358 -358
  322. package/src/components/sale/businessquery/YearGasQuery.vue +422 -422
  323. package/src/components/sale/businessquery/YingShouMingXi.vue +525 -525
  324. package/src/components/sale/businessquery/analysisquery/AnalysisManage.vue +65 -65
  325. package/src/components/sale/businessquery/weChatBind.vue +361 -361
  326. package/src/components/sale/common/PrintData.vue +171 -171
  327. package/src/components/sale/common/PrintDataSelf.vue +225 -225
  328. package/src/components/sale/common/PrintTable.vue +228 -228
  329. package/src/components/sale/common/PrintTableSelf.vue +251 -251
  330. package/src/components/sale/common/TabButton.vue +155 -155
  331. package/src/components/sale/common/Tabs.vue +67 -67
  332. package/src/components/sale/common/handplanUser.vue +112 -112
  333. package/src/components/sale/config/DefaultPrint.js +6 -6
  334. package/src/components/sale/config/tableConfig.js +48 -48
  335. package/src/components/sale/filesquery/detail/UserBaseInfo.vue +69 -69
  336. package/src/components/sale/filesquery/detail/UserDetail.vue +41 -41
  337. package/src/components/sale/filesquery/detail/UserOperInfo.vue +76 -76
  338. package/src/components/sale/filesquery/detail/oper/ChangeMessage.vue +46 -46
  339. package/src/components/sale/filesquery/detail/oper/ExchangeOper.vue +66 -66
  340. package/src/components/sale/filesquery/detail/oper/HandOper.vue +46 -46
  341. package/src/components/sale/filesquery/detail/oper/HandleMessage.vue +46 -46
  342. package/src/components/sale/filesquery/detail/oper/OtherCharge.vue +54 -54
  343. package/src/components/sale/filesquery/detail/oper/ReplaceCard.vue +51 -51
  344. package/src/components/sale/filesquery/detail/oper/SellOper.vue +56 -56
  345. package/src/components/sale/filesquery/detail/oper/TransferMessage.vue +55 -55
  346. package/src/components/sale/filesquery/filequerydetail/BlackListQueryDetail.vue +219 -219
  347. package/src/components/sale/filesquery/filequerydetail/ChangeMeterQueryDetail.vue +246 -246
  348. package/src/components/sale/filesquery/filequerydetail/ChargeQueryDetail.vue +239 -239
  349. package/src/components/sale/filesquery/filequerydetail/DeviceQueryDetail.vue +126 -126
  350. package/src/components/sale/filesquery/filequerydetail/DisableQueryDetail.vue +272 -272
  351. package/src/components/sale/filesquery/filequerydetail/EnableQueryDetail.vue +274 -274
  352. package/src/components/sale/filesquery/filequerydetail/FillCardQueryDetail.vue +80 -80
  353. package/src/components/sale/filesquery/filequerydetail/FillGasQueryDetail.vue +80 -80
  354. package/src/components/sale/filesquery/filequerydetail/HandQueryDetail.vue +302 -302
  355. package/src/components/sale/filesquery/filequerydetail/MeterQueryDetail.vue +158 -158
  356. package/src/components/sale/filesquery/filequerydetail/OtherChargeQueryDetail.vue +198 -198
  357. package/src/components/sale/filesquery/filequerydetail/RecordQueryDetail.vue +125 -125
  358. package/src/components/sale/filesquery/filequerydetail/SellingHandDetail.vue +280 -280
  359. package/src/components/sale/filesquery/filequerydetail/TransferQueryDetail.vue +160 -160
  360. package/src/components/sale/filesquery/filequerydetail/UserQueryDetail.vue +155 -155
  361. package/src/components/sale/report/aode/DayReport.vue +50 -50
  362. package/src/components/sale/report/aode/DayReportSummary.vue +75 -75
  363. package/src/components/sale/report/aode/MonthByChargeType.vue +446 -446
  364. package/src/components/sale/report/aode/MonthByUserType.vue +413 -413
  365. package/src/components/sale/report/aode/YearByChargeTpye.vue +215 -215
  366. package/src/components/sale/report/aode/YearByUserType.vue +272 -272
  367. package/src/components/sale/report/aode/life/LifeDayReport.vue +50 -50
  368. package/src/components/sale/report/aode/life/LifeDayReportList.vue +241 -241
  369. package/src/components/sale/report/aode/life/LifeDayReportSummary.vue +49 -49
  370. package/src/components/sale/report/aode/life/LifeMonthReport.vue +303 -303
  371. package/src/components/sale/report/aode/life/LifeYearReport.vue +175 -175
  372. package/src/components/sale/report/aode/widget/LifeDayReportListPrint.vue +189 -189
  373. package/src/components/sale/report/aode/widget/LifeMonthPrint.vue +153 -153
  374. package/src/components/sale/report/aode/widget/LifeYearPrint.vue +143 -143
  375. package/src/components/sale/report/aode/widget/MonthByChargePrint.vue +236 -236
  376. package/src/components/sale/report/aode/widget/MonthByUserPrint.vue +232 -232
  377. package/src/components/sale/report/aode/widget/YearByChargePrint.vue +203 -203
  378. package/src/components/sale/report/aode/widget/YearByUserPrint.vue +225 -225
  379. package/src/components/scada/CaculateGasConsumputionByDay/CaculateGasConsumputionByDay.vue +290 -290
  380. package/src/components/scada/ChartDisplay/ChartDisplayManage.vue +55 -55
  381. package/src/components/scada/ChartDisplay/ChartThreeDayContrast.vue +164 -164
  382. package/src/components/scada/CumulativeFlow/CumulativeFlowHeatPlant.vue +400 -400
  383. package/src/components/scada/CumulativeFlow/CumulativeFlowManage.vue +59 -59
  384. package/src/components/scada/CumulativeFlow/CumulativeFlowRegulatorStation.vue +504 -504
  385. package/src/components/scada/CumulativeFlow/CumulativeFlowStation.vue +248 -248
  386. package/src/components/scada/GasSupplyRunning/GasSupplyRunningByDay.vue +297 -297
  387. package/src/components/scada/InstantaneousFlow/InstantaneousFlowHeatPlant.vue +389 -389
  388. package/src/components/scada/InstantaneousFlow/InstantaneousFlowManage.vue +57 -57
  389. package/src/components/scada/InstantaneousFlow/InstantaneousFlowRegulatorStation.vue +503 -503
  390. package/src/components/scada/InstantaneousFlow/InstantaneousFlowStation.vue +244 -244
  391. package/src/components/scada/OnTimePressure/OnTimePressureHeatPlant.vue +356 -356
  392. package/src/components/scada/OnTimePressure/OnTimePressureManage.vue +51 -51
  393. package/src/components/scada/OnTimePressure/OnTimePressureRegulatorStation.vue +526 -526
  394. package/src/components/scada/ThreeDayContrast/ThreeDayContrastManage.vue +282 -282
  395. package/src/components/statistical/StatisticalAnalysis.vue +247 -247
  396. package/src/components/webmeter/DrillData/LargeScreenAnalysisEcharts.vue +710 -710
  397. package/src/components/webmeter/DrillData/LostContactAnalysis.vue +531 -531
  398. package/src/components/webmeter/DrillData/LostContactAnalysisList.vue +633 -633
  399. package/src/components/webmeter/DrillData/LostContactAnalysisManage.vue +30 -30
  400. package/src/components/webmeter/DrillData/LostContactEcharts.vue +177 -177
  401. package/src/components/webmeter/DrillData/LostContactEform.vue +190 -190
  402. package/src/components/webmeter/DrillData/UserGasAll.vue +597 -597
  403. package/src/components/webmeter/DrillData/UserGasEcharts.vue +210 -210
  404. package/src/components/webmeter/DrillData/UserGasEform.vue +227 -227
  405. package/src/components/webmeter/DrillData/UserLostContactAnalysis.vue +585 -585
  406. package/src/components/webmeter/dataCollection/DataCollection.vue +676 -676
  407. package/src/components/webmeter/gasAnalysis/GasAnalysisEcharts.vue +144 -144
  408. package/src/components/webmeter/gasAnalysis/GasAnalysisSummary.vue +162 -162
  409. package/src/components/webmeter/handplan/NewWebMeterHandPlan.vue +745 -745
  410. package/src/components/webmeter/handplan/NewWebmeterHandPlanMain.vue +59 -59
  411. package/src/components/webmeter/indicatorStatisticsEchars.vue +204 -204
  412. package/src/components/webmeter/indicatorStatisticsMain.vue +257 -257
  413. package/src/components/webmeter/meterinfo/NewMeterList.vue +414 -414
  414. package/src/components/webmeter/meterinfo/NewMeterListMain.vue +53 -53
  415. package/src/components/webmeter/newwebmeter/NewException/NewContactEcharts.vue +170 -170
  416. package/src/components/webmeter/newwebmeter/NewException/NewEchartsAll.vue +111 -111
  417. package/src/components/webmeter/newwebmeter/NewException/NewExceptionEcharsTotal.vue +903 -903
  418. package/src/components/webmeter/newwebmeter/NewException/NewExceptionEform.vue +149 -149
  419. package/src/components/webmeter/newwebmeter/NewException/NewExceptionEformTotal.vue +211 -211
  420. package/src/components/webmeter/newwebmeter/NewException/NewGasEcharts.vue +209 -209
  421. package/src/components/webmeter/newwebmeter/NewException/NewHandplanEcharts.vue +238 -238
  422. package/src/components/webmeter/newwebmeter/NewException/NewInstructEcharts.vue +266 -266
  423. package/src/components/webmeter/newwebmeter/NewException/NewMeterException.vue +449 -449
  424. package/src/components/webmeter/newwebmeter/NewException/TotalExceptionByMeter.vue +607 -607
  425. package/src/components/webmeter/newwebmeter/UserGasEchartsList.vue +218 -218
  426. package/src/components/webmeter/newwebmeter/UserGasList.vue +438 -438
  427. package/src/components/webmeter/newwebmeter/UserInstructEchartsList.vue +286 -286
  428. package/src/components/webmeter/newwebmeter/UserInstructList.vue +332 -332
  429. package/src/components/webmeter/newwebmeter/signAnalysisEcharts.vue +266 -266
  430. package/src/components/webmeter/newwebmeter/signAnalysisEform.vue +175 -175
  431. package/src/components/webmeter/newwebmeter/signAnalysisListMain.vue +387 -387
  432. package/src/components/yulin/GuanWang.vue +24 -24
  433. package/src/components/yulin/SingleBarLine.vue +352 -352
  434. package/src/components/yulin/Weather.vue +157 -157
  435. package/src/expandcss.less +26 -26
  436. package/src/filiale/WEINAN/InspectListUser.vue +492 -492
  437. package/src/filiale/WEINAN/OtherChargeQuery.vue +521 -521
  438. package/src/filiale/alashan/SellingTable.vue +234 -234
  439. package/src/filiale/alashan/reportManage.js +10 -10
  440. package/src/filiale/aode/ArchivesManage.vue +38 -38
  441. package/src/filiale/aode/BusinessManage.vue +94 -94
  442. package/src/filiale/aode/DefaultPrint.js +6 -6
  443. package/src/filiale/aode/HandplanQuery.vue +632 -632
  444. package/src/filiale/aode/Tabs.vue +67 -67
  445. package/src/filiale/aode/UserQuery.vue +599 -599
  446. package/src/filiale/aode/sale.js +17 -17
  447. package/src/filiale/ceshi/ArrearsQuery.vue +642 -642
  448. package/src/filiale/ceshi/ChManageBusSummary.vue +293 -293
  449. package/src/filiale/ceshi/CollectManage.vue +94 -94
  450. package/src/filiale/ceshi/MeterRateQuery.vue +633 -633
  451. package/src/filiale/ceshi/TabButton.vue +149 -149
  452. package/src/filiale/ceshi/Tabs.vue +69 -69
  453. package/src/filiale/ceshi/reportManage.js +5 -5
  454. package/src/filiale/ceshi/sale.js +11 -11
  455. package/src/filiale/gaomi/config/DefaultPrint.js +6 -6
  456. package/src/filiale/gaomi/config/tableConfig.js +47 -47
  457. package/src/filiale/gongyi/sale/businessquery/exportConfig.js +17 -17
  458. package/src/filiale/gongyi/sale/filesquery/MeterQuery.vue +718 -718
  459. package/src/filiale/jingwei/ChargeQuery.vue +1235 -0
  460. package/src/filiale/jingwei/sale.js +2 -0
  461. package/src/filiale/jingzhou/ChargeQuery.vue +1243 -1243
  462. package/src/filiale/jingzhou/config/exportConfig.js +861 -861
  463. package/src/filiale/liaoyuan/sale.js +11 -11
  464. package/src/filiale/macheng/config/DefaultPrint.js +12 -12
  465. package/src/filiale/meihekou/UserGasEform.vue +267 -267
  466. package/src/filiale/meihekou/sale.js +26 -26
  467. package/src/filiale/qingtongxia/config/DefaultPrint.js +6 -6
  468. package/src/filiale/qingtongxia/sale.js +13 -13
  469. package/src/filiale/rongcheng/exportConfig.js +257 -257
  470. package/src/filiale/rongchuang/SellingTable.vue +250 -250
  471. package/src/filiale/rongchuang/reportManage.js +11 -11
  472. package/src/filiale/shaoguan/OtherChargeDetailQuery.vue +74 -74
  473. package/src/filiale/shaoguan/config/DefaultPrint.js +6 -6
  474. package/src/filiale/shaoguan/config/exportConfig.js +433 -433
  475. package/src/filiale/shennongjia/config/DefaultPrint.js +6 -6
  476. package/src/filiale/shennongjia/config/tableConfig.js +47 -47
  477. package/src/filiale/shennongjia/sale.js +10 -10
  478. package/src/filiale/tongchuan/FillGasQuery.vue +508 -508
  479. package/src/filiale/tongchuan/ResSelectGroupNew.vue +176 -176
  480. package/src/filiale/tongchuan/ResSelectNew.vue +144 -144
  481. package/src/filiale/tongchuan/sale.js +13 -13
  482. package/src/main.js +66 -66
  483. package/src/newmanage.js +525 -525
  484. package/src/plugins/GetLoginInfoService.js +505 -505
  485. package/src/plugins/LodopFuncs.js +124 -124
  486. package/src/plugins/getAllInputtor.js +29 -29
  487. package/src/reportManage.js +462 -462
  488. package/src/safeCheck.js +63 -63
  489. package/src/stores/AppData.js +62 -62
  490. package/src/stores/DataSql.js +585 -585
  491. package/src/stores/DrillECharts.js +602 -602
  492. package/src/stores/DrillSql.js +888 -888
  493. package/src/stores/GetParames.js +15 -15
  494. package/src/stores/MagGetSaleParams.js +156 -156
  495. package/src/stores/MagLoadParams.js +63 -63
  496. package/src/stores/Util.js +132 -132
  497. package/src/stores/shanxi1.js +26 -26
  498. package/src/stores/yulin.js +27 -27
  499. package/src/webmeterManage.js +105 -105
  500. package/static/china.json +1 -1
  501. package/static/qh.json +2410 -2410
  502. package/static/res.json +58411 -58411
  503. package/static/shanxi1.json +1 -1
  504. package/static/wuhai.json +1610 -1610
  505. package/static/yulin.json +1 -1
  506. package/static//345/261/261/344/270/234/347/234/201.json +1 -1
  507. package/test/unit/.eslintrc +5 -5
  508. package/test/unit/TestUtil.js +35 -35
  509. package/test/unit/context.html +20 -20
  510. package/test/unit/index.js +13 -13
  511. package/test/unit/init.js +11 -11
  512. package/test/unit/karma.conf.js +45 -45
  513. package/test/unit/specs/components/CallReport/Repair.spec.js +25 -25
  514. package/test/unit/specs/components/ManageBusiness/EquipmentQuery.spec.js +21 -21
  515. package/test/unit/specs/components/ManageBusiness/TableWithQuery.spec.js +21 -21
  516. package/test/unit/specs/components/ManageBusiness/UserQuery.spec.js +21 -21
  517. package/webstorm.config.js +13 -13
  518. package/src/components/SellReport/SellCollect.vue +0 -183
  519. package/src/components/sale/businessquery/NewHandplanQuery.vue +0 -995
@@ -1,745 +1,745 @@
1
- <template>
2
- <div class="flex" style="flex:1;" @keyup.enter="search1">
3
- <criteria-paged :model="model" v-ref:paged>
4
- <criteria @condition-changed='$parent.search' partial='criteria' v-ref:criteria>
5
- <div class="form-horizontal select-overspread container-fluid auto" novalidate partial
6
- v-show="$parent.$parent.isdeal">
7
- <div class="row" width="100%">
8
- <div class="col-sm-2 form-group">
9
- <label class="font_normal_body">表&emsp;&emsp;号</label>
10
- <input style="width:60%" class="input_search" condition="mr.f_meternumber like '%{}%'"
11
- placeholder='表号'
12
- type="text"
13
- v-model="model.f_meternumber"
14
- >
15
- </div>
16
- <div class="col-sm-2 form-group">
17
- <label class="font_normal_body">客户编号</label>
18
- <input style="width:60%" class="input_search" condition="u.f_userinfo_code like '%{}%'"
19
- placeholder='客户编号'
20
- type="text"
21
- v-model="model.f_userinfo_code">
22
- </div>
23
- <div class="col-sm-2 form-group">
24
- <label class="font_normal_body">客户名称</label>
25
- <input style="width:60%" class="input_search" condition="mr.f_user_name like '%{}%'" placeholder='客户名称'
26
- type="text"
27
- v-model="model.f_user_name">
28
- </div>
29
- <div class="col-sm-3 form-group button-range">
30
- <button @click="search()" class="button_search button_spacing" v-el:cba>查询</button>
31
- <button @click="$parent.$parent.clearmsg" class="button_clear button_spacing">清空</button>
32
- <!--<label class="font_normal_body"></label>
33
- <button class="btn btn-success width-100" @click="$parent.$parent.SaveAsFile('webmeterhandplan')">导出</button>-->
34
- <!-- </div>-->
35
- <!-- <div class="col-sm-2 form-group form-group">-->
36
- <export-excel
37
- :choose-col="true"
38
- :data="{condition: $parent.$parent.condition}"
39
- :field="$parent.$parent.getfield" sql-name="manage_getNewAllWebHandPlan" sqlurl="rs/logic/exportfile"
40
- template-name='数据采集'></export-excel>
41
- <div style="float: right" class="button_spacing"
42
- :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
43
- @click="$parent.$parent.hidden()"></div>
44
- <!-- <span style="padding-left: 30px; ">-->
45
- <!-- <report-excel class="btn btn-success" id="grid"></report-excel>-->
46
- <!-- </span>-->
47
- </div>
48
- </div>
49
- <div class="row" v-show="$parent.$parent.criteriaShow">
50
- <div class="col-sm-2 form-group">
51
- <label class="font_normal_body">用气地址</label>
52
- <input style="width:60%" class="input_search" condition="u.f_address like '%{}%'" placeholder='用气地址'
53
- type="text"
54
- v-model="model.f_address"
55
- >
56
- </div>
57
- <div class="col-sm-2 form-group">
58
- <label class="font_normal_body">用户类型</label>
59
- <v-select :options="$parent.$parent.Gasusertype" :value.sync="model.f_user_type"
60
- close-on-select
61
- style="width:60%"
62
- condition="ui.f_user_type = '{}'"
63
- placeholder='用户类型'
64
- v-model="model.f_user_type"
65
- value-single="true"
66
- >
67
- </v-select>
68
- </div>
69
- <div class="col-sm-2 form-group">
70
- <label class="font_normal_body">用气性质</label>
71
- <v-select :options="$parent.$parent.Gasproperties" :value.sync="model.f_gasproperties"
72
- close-on-select
73
- style="width:60%"
74
- condition="ui.f_gasproperties = '{}'"
75
- placeholder='用气性质'
76
- v-model="model.f_gasproperties"
77
- value-single="true">
78
- </v-select>
79
- </div>
80
- <!--<div class="col-sm-2 form-group">
81
- <label class="font_normal_body">阀门状态</label>
82
- <v-select placeholder='阀门状态' close-on-select
83
- v-model="model.f_valvestate"
84
- :value.sync="model.f_valvestate"
85
- condition="mr.f_valvestate like '%{}%'"
86
- :options="$parent.$parent.Valvestates">
87
- </v-select>
88
- </div>-->
89
- <!--<div class="col-sm-2 form-group">
90
- <label class="font_normal_body">上报类型</label>
91
- <v-select placeholder='上报类型' close-on-select
92
- v-model="model.f_upload_type"
93
- :value.sync="model.f_upload_type"
94
- :options="$parent.$parent.Getuploadtype"
95
- condition="mr.f_upload_type = '{}'"
96
- >
97
- </v-select>
98
- </div>-->
99
- <div class="col-sm-2 form-group">
100
- <label class="font_normal_body" style="word-break:keep-all;">上报时间</label>
101
- <datepicker :format="'yyyy-MM-dd HH:mm:ss'"
102
- :value.sync="model.startDate"
103
- style="width:60%"
104
- condition="mr.f_insert_date >= '{}'"
105
- placeholder="起始时间"
106
- v-model="model.startDate"
107
- ></datepicker>
108
- </div>
109
- <div class="col-sm-2 form-group">
110
- <label class="font_normal_body" style="word-break:keep-all;">&emsp;&ensp;至&emsp;</label>
111
- <datepicker :format="'yyyy-MM-dd HH:mm:ss'"
112
- :value.sync="model.endDate"
113
- style="width:60%"
114
- condition="mr.f_insert_date <= '{}'"
115
- placeholder="结束时间"
116
- v-model="model.endDate"
117
- ></datepicker>
118
- </div>
119
- <div class="col-sm-2 form-group">
120
- <label class="font_normal_body" style="word-break:keep-all;">安装时间</label>
121
- <datepicker :format="'yyyy-MM-dd HH:mm:ss'"
122
- :value.sync="model.startDate1"
123
- style="width:60%"
124
- condition="ui.f_gas_date >= '{}'"
125
- placeholder="起始时间"
126
- v-model="model.startDate1"
127
- ></datepicker>
128
- </div>
129
- <div class="col-sm-2 form-group">
130
- <label class="font_normal_body" style="word-break:keep-all;">&emsp;&ensp;至&emsp;</label>
131
- <datepicker :format="'yyyy-MM-dd HH:mm:ss'"
132
- :value.sync="model.endDate1"
133
- style="width:60%"
134
- condition="ui.f_gas_date <= '{}'"
135
- placeholder="结束时间"
136
- v-model="model.endDate1"
137
- ></datepicker>
138
- </div>
139
- <!--<div class="col-sm-2 form-group">-->
140
- <!--<label class="font_normal_body">故障状态</label>-->
141
- <!--<v-select placeholder='故障状态'-->
142
- <!--v-model="model.faultstate"-->
143
- <!--multiple-->
144
- <!--:value.sync="model.faultstate"-->
145
- <!--:options="$parent.$parent.FaultStates">-->
146
- <!--</v-select>-->
147
- <!--</div>-->
148
- <div class="col-sm-2 form-group">
149
- <label class="font_normal_body">用&ensp;气&ensp;量</label>
150
- <input style="width:60%" class="input_search" condition="h.f_oughtamount >= '{}'" placeholder='最小气量' type="text"
151
- v-el:start_gas v-model="model.start_gas" v-next-el='start_gas'>
152
- </div>
153
- <div class="col-sm-2 form-group">
154
- <label class="font_normal_body" style="word-break:keep-all;">&emsp;&ensp;至&emsp;</label>
155
- <input style="width:60%" class="input_search" condition="h.f_oughtamount <= '{}'" placeholder='最大气量' type="text"
156
- v-el:end_gas v-el:xq v-model="model.end_gas" v-next-el='end_gas'
157
- >
158
- </div>
159
- <div class="col-sm-2 form-group">
160
- <label class="font_normal_body">剩余金额</label>
161
- <input style="width:60%" class="input_search" condition="h.f_curbalance >= '{}'"
162
- placeholder='最小金额'
163
- type="text"
164
- v-model="model.start_f_balance">
165
- </div>
166
- <div class="col-sm-2 form-group">
167
- <label class="font_normal_body">&emsp;&ensp;至&emsp;</label>
168
- <input style="width:60%" class="input_search" condition="h.f_curbalance <= '{}'"
169
- placeholder='最大金额'
170
- type="text"
171
- v-model="model.end_f_balance"
172
- >
173
- </div>
174
- <!--<div class="col-sm-2 form-group" >
175
- <label class="font_normal_body">标记名称</label>
176
- <v-select placeholder='标记名称' close-on-select
177
- v-model="model.f_parameter_name"
178
- :value.sync="model.f_parameter_name"
179
- :options="$parent.$parent.parameterName"
180
- condition="p.f_parameter_name = '{}'">
181
- </v-select>
182
- </div>-->
183
- <!--<div class="col-sm-2 form-group" >
184
- <label class="font_normal_body" style="word-break:keep-all;">操作时间</label>
185
- <datepicker placeholder="起始时间"
186
- :value.sync="model.startDate2"
187
- v-model="model.startDate2"
188
- :format="'yyyy-MM-dd HH:mm:ss'"
189
- condition="p.f_parameter_date >= '{}'"
190
- ></datepicker>
191
- </div>
192
- <div class="col-sm-2 form-group" >
193
- <label class="font_normal_body" style="word-break:keep-all;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;至&nbsp;&nbsp;&nbsp;</label>
194
- <datepicker placeholder="结束时间"
195
- :value.sync="model.endDate2"
196
- v-model="model.endDate2"
197
- :format="'yyyy-MM-dd HH:mm:ss'"
198
- condition="p.f_parameter_date <= '{}'"
199
- ></datepicker>
200
- </div>-->
201
- <!--<div class="col-sm-2 form-group" >
202
- <label class="font_normal_body">标记状态</label>
203
- <v-select placeholder='标记状态' close-on-select
204
- v-model="model.f_parameter_state"
205
- :value.sync="model.f_parameter_state"
206
- :options="$parent.$parent.getSignStatus"
207
- condition="p.f_parameter_state {}">
208
- </v-select>
209
- </div>-->
210
- <div class="col-sm-2 form-group form-fix-width">
211
- <label class="font_normal_body" >使用公司</label>
212
- <res-select :initresid="$parent.$parent.orgid"
213
- style="width:60%"
214
- @res-select="$parent.$parent.getRes"
215
- restype='organization'>
216
- </res-select>
217
- </div>
218
- </div>
219
- </div>
220
- </criteria>
221
- <data-grid :model="model" class="list_area table_sy" id="webmeterhandplan" partial='list' v-ref:grid>
222
- <template partial='head'>
223
- <tr>
224
- <th style="text-align:center" v-show="!$parent.$parent.$parent.isdeal">
225
- <nobr>操作</nobr>
226
- </th>
227
- <th style="text-align:center">
228
- <nobr>组织机构</nobr>
229
- </th>
230
- <th style="text-align:center">
231
- <nobr>客户编号</nobr>
232
- </th>
233
- <th style="text-align:center">
234
- <nobr>用户类型</nobr>
235
- </th>
236
- <th style="text-align:center">
237
- <nobr>用气性质</nobr>
238
- </th>
239
- <!--<th style="text-align:center"><nobr>用气属性</nobr></th>-->
240
- <th style="text-align:center">
241
- <nobr>客户名称</nobr>
242
- </th>
243
- <th style="text-align:center">
244
- <nobr>用气地址</nobr>
245
- </th>
246
- <th style="text-align:center">
247
- <nobr>安装时间</nobr>
248
- </th>
249
- <th style="text-align:center">
250
- <nobr>表号</nobr>
251
- </th>
252
- <th style="text-align:center">
253
- <nobr>气表品牌</nobr>
254
- </th>
255
- <th style="text-align:center">
256
- <nobr>气表型号</nobr>
257
- </th>
258
- <!--<th style="text-align:center"><nobr>期初余额</nobr></th>-->
259
- <th style="text-align:center">
260
- <nobr>上次抄表底数</nobr>
261
- </th>
262
- <th style="text-align:center">
263
- <nobr>本次抄表底数</nobr>
264
- </th>
265
- <th style="text-align:center">
266
- <nobr>本次用气量(m³)</nobr>
267
- </th>
268
- <!--<th style="text-align:center"><nobr>气价(元/m³)</nobr></th>-->
269
- <!--<th style="text-align:center"><nobr>24小时用气量</nobr></th>-->
270
- <th style="text-align:center">
271
- <nobr>本次用气金额(元)</nobr>
272
- </th>
273
- <th style="text-align:center">
274
- <nobr>剩余金额</nobr>
275
- </th>
276
- <!--<th style="text-align:center"><nobr>上报类型</nobr></th>-->
277
- <th style="text-align:center">
278
- <nobr>上报时间</nobr>
279
- </th>
280
- <th style="text-align:center"><nobr>信号强度</nobr></th>
281
- <th style="text-align:center"><nobr>电压</nobr></th>
282
- <!--<th style="text-align:center"><nobr>信噪比</nobr></th>-->
283
- <th style="text-align:center"><nobr>阀门状态</nobr></th>
284
- <!--<th style="text-align:center"><nobr>磁干扰</nobr></th>
285
- <th style="text-align:center"><nobr>周期关阀</nobr></th>
286
- <th style="text-align:center"><nobr>过流保护关阀</nobr></th>
287
- <th style="text-align:center"><nobr>关阀走气</nobr></th>
288
- <th style="text-align:center"><nobr>拆表报警</nobr></th>
289
- <th style="text-align:center"><nobr>外部晶振标志</nobr></th>
290
- <th style="text-align:center"><nobr>软件版本号</nobr></th>-->
291
- <!--<th style="text-align:center"><nobr>本次上报日期</nobr></th>
292
- <th style="text-align:center"><nobr>上次上报日期</nobr></th>-->
293
- <!--<th style="text-align:center"><nobr>上次表状态</nobr></th>
294
- <th style="text-align:center"><nobr>本次表状态</nobr></th>
295
- <th style="text-align:center"><nobr>标记状态</nobr></th>
296
- <th style="text-align:center"><nobr>标记时间</nobr></th>-->
297
- </tr>
298
- </template>
299
- <template partial='body' partial='list' v-ref:grid>
300
- <tr>
301
- <td style="text-align:center" v-show="!$parent.$parent.$parent.isdeal">
302
- <button-link @click="$parent.$parent.$parent.handchange(row)" class="btn btn-link" type="button">处理
303
- </button-link>
304
- </td>
305
- <td style="text-align:center">
306
- <nobr>{{row.f_orgname}}</nobr>
307
- </td>
308
- <td style="text-align:center">
309
- <nobr>{{row.f_userinfo_code}}</nobr>
310
- </td>
311
- <td style="text-align:center">
312
- <nobr>{{row.f_user_type}}</nobr>
313
- </td>
314
- <td style="text-align:center">
315
- <nobr>{{row.f_gasproperties}}</nobr>
316
- </td>
317
- <td style="text-align:center">
318
- <nobr>{{row.f_user_name}}</nobr>
319
- </td>
320
- <td>
321
- <nobr>{{row.f_address}}</nobr>
322
- </td>
323
- <td style="text-align:center">
324
- <nobr>{{row.f_gas_date}}</nobr>
325
- </td>
326
- <td style="text-align:center">
327
- <nobr>{{row.f_meternumber}}</nobr>
328
- </td>
329
- <td style="text-align:center">
330
- <nobr>{{row.f_meter_brand}}</nobr>
331
- </td>
332
- <td style="text-align:center">
333
- <nobr>{{row.f_meter_style}}</nobr>
334
- </td>
335
- <!--<td style="text-align:center"><nobr>{{row.f_curbalance}}</nobr></td>-->
336
- <td style="text-align:center">{{row.f_last_tablebase}}</td>
337
- <td style="text-align:center">{{row.f_tablebase}}</td>
338
- <td style="text-align:center">{{row.f_oughtamount}}</td>
339
- <!--<td style="text-align:center"><nobr>{{row.f_price}}</nobr></td>-->
340
- <td style="text-align:center">{{row.f_oughtfee}}</td>
341
- <td style="text-align:center">
342
- <nobr>{{row.f_curbalance}}</nobr>
343
- </td>
344
- <!--<td style="text-align:center;width: 170px;"><nobr>{{row.f_upload_type}}</nobr></td>-->
345
-
346
- <td style="text-align:center">
347
- <nobr>{{row.f_insert_date}}</nobr>
348
- </td>
349
- <td style="text-align:center" >
350
- <img :title='row.f_signal' v-if="row.f_signal>-80"
351
- src="../../../../static/WebMetericon/1.png"
352
- height="12" width="24"/>
353
- <img :title='row.f_signal' v-if="row.f_signal>-100&&row.f_signal<=-80"
354
- src="../../../../static/WebMetericon/2.png"
355
- height="12" width="24"/>
356
- <img :title='row.f_signal' v-if="row.f_signal>-120&&row.f_signal<=-100"
357
- src="../../../../static/WebMetericon/3.png"
358
- height="12" width="24"/>
359
- <img :title='row.f_signal' v-if="row.f_signal<=-120"
360
- src="../../../../static/WebMetericon/4.png"
361
- height="12" width="24"/>
362
- </td>
363
- <td style="text-align:center" >
364
- <img :title='row.f_batterylevel' v-if="row.f_batterylevel>=6.00"
365
- src="../../../../static/WebMetericon/01.png"
366
- height="12" width="24"/>
367
- <img :title='row.f_batterylevel' v-if="row.f_batterylevel>=5.00&&row.f_batterylevel<6.00"
368
- src="../../../../static/WebMetericon/02.png"
369
- height="12" width="24"/>
370
- <img :title='row.f_batterylevel' v-if="row.f_batterylevel>=4.00&&row.f_batterylevel<5.00"
371
- src="../../../../static/WebMetericon/03.png"
372
- height="12" width="24"/>
373
- <img :title='row.f_batterylevel' v-if="row.f_batterylevel<4.00"
374
- src="../../../../static/WebMetericon/04.png"
375
- height="12" width="24"/>
376
- </td>
377
- <td style="text-align:center;width: 51px">{{row.f_valvestate==1?'关阀':'开阀'}}</td>
378
- <!--<td style="text-align:center;width: 51px">
379
- <img :title='故障' v-if="row.f_magneticinterference==1"
380
- src="../../../../static/WebMetericon/guzhang.png"
381
- height="12" width="12"/>
382
- <img :title='正常' v-if="row.f_magneticinterference==0"
383
- src="../../../../static/WebMetericon/zhengchang.png"
384
- height="12" width="17"/>
385
- </td>
386
- <td style="text-align:center;width: 51px">
387
- <img :title='关阀' v-if="row.f_cycleshutvalue==1"
388
- src="../../../../static/WebMetericon/guzhang.png"
389
- height="12" width="12"/>
390
- <img :title='正常' v-if="row.f_cycleshutvalue==0"
391
- src="../../../../static/WebMetericon/zhengchang.png"
392
- height="12" width="17"/>
393
- </td>
394
- <td style="text-align:center;width: 51px">
395
- <img :title='关阀' v-if="row.f_overcurrentprotection==1"
396
- src="../../../../static/WebMetericon/guzhang.png"
397
- height="12" width="12"/>
398
- <img :title='正常' v-if="row.f_overcurrentprotection==0"
399
- src="../../../../static/WebMetericon/zhengchang.png"
400
- height="12" width="17"/>
401
- </td>
402
- <td style="text-align:center;width: 51px">
403
- <img :title='走气' v-if="row.f_leakageflag==1"
404
- src="../../../../static/WebMetericon/guzhang.png"
405
- height="12" width="12"/>
406
- <img :title='正常' v-if="row.f_leakageflag==0"
407
- src="../../../../static/WebMetericon/zhengchang.png"
408
- height="12" width="17"/>
409
- </td>
410
- <td style="text-align:center;width: 51px">
411
- <img :title='拆表' v-if="row.f_splitalarm==='1'"
412
- src="../../../../static/WebMetericon/guzhang.png"
413
- height="12" width="12"/>
414
- <img :title='正常' v-if="row.f_splitalarm==='0'"
415
- src="../../../../static/WebMetericon/zhengchang.png"
416
- height="12" width="17"/>
417
- </td>
418
- <td style="text-align:center;width: 51px">
419
- <img :title='停止' v-if="row.f_xtipllstopflag==='1'"
420
- src="../../../../static/WebMetericon/guzhang.png"
421
- height="12" width="12"/>
422
- <img :title='正常' v-if="row.f_xtipllstopflag==='0'"
423
- src="../../../../static/WebMetericon/zhengchang.png"
424
- height="12" width="17"/>
425
- </td>
426
- <td style="text-align:center"><nobr>{{row.f_software_version}}</nobr></td>-->
427
- <!--<td style="text-align:center;width: 170px;"><nobr>{{row.f_hand_date}}</nobr></td>
428
- <td style="text-align:center"><nobr>{{row.f_last_hand_date}}</nobr></td>-->
429
- <!--<td style="text-align:center"><nobr>{{row.f_last_meter_state_msg}}</nobr></td>
430
- <td style="text-align:center"><nobr>{{row.f_table_msg}}</nobr></td>
431
- <td style="text-align:center"><nobr>{{row.f_parameter_state}}</nobr></td>
432
- <td style="text-align:center"><nobr>{{row.f_parameter_date}}</nobr></td>-->
433
- </tr>
434
- </template>
435
- <template partial='foot'></template>
436
- </data-grid>
437
- </criteria-paged>
438
- </div>
439
- <!--异常抄表录入-->
440
- <modal :show.sync="handshow" backdrop="false" v-ref:modal>
441
- <header class="modal-header" slot="modal-header">
442
- <button @click="handchange()" class="close" type="button"><span>&times;</span></button>
443
- <h4 class="modal-title">表号{{handExce.exceobj.f_meternumber}}</h4>
444
- </header>
445
- <article class="modal-body" slot="modal-body">
446
- <div class="col-sm-12">
447
- <label class="font_normal_body">上报异常类型</label>
448
- <textarea class="ver-textarea" style="width:60%" class="input_search" name="name"
449
- placeholder='上报异常类型' rows="2"
450
- style="width: 100%"
451
- v-model='handExce.f_error_type'></textarea>
452
- </div>
453
- <div class="col-sm-12 form-group form-fix-width">
454
- <label class="font_normal_body">异常描述</label>
455
- <textarea class="ver-textarea" style="width:60%" class="input_search" name="name"
456
- placeholder='上报异常类型'
457
- rows="2" style="width: 100%"
458
- v-model='handExce.f_error_msg'></textarea>
459
- </div>
460
- </article>
461
- <footer class="modal-footer" slot="modal-footer">
462
- <button @click='handchange()' class="btn btn-default" type="button" v-show="handshow">取消</button>
463
- <button @click='saveException' class="btn btn-success" type="button" v-show="handshow">确认</button>
464
- </footer>
465
- </modal>
466
- </template>
467
-
468
- <script>
469
- import {PagedList} from 'vue-client'
470
- import getLodop from '../../../plugins/LodopFuncs'
471
- import plugins from '../../../plugins/GetLoginInfoService'
472
-
473
- let readyGen = async function (self) {
474
- await self.$getConfig(self, 'HandManager')
475
- console.log('指令查看config', self.config)
476
- self.getfield = self.config.excelHeaders
477
- // self.reflash()
478
- }
479
-
480
- export default {
481
- title: '数据采集',
482
- data() {
483
- return {
484
- model: new PagedList('rs/sql/manage_getNewAllWebHandPlan', 50),
485
- row: null,
486
- // 搜索显示开关
487
- searchshow: true,
488
- // 抄表录入开关
489
- handshow: false,
490
- condition: '',
491
- criteriaShow: false,
492
- orgCondtionStr: '(' + this.$login.f.orgid + ')',
493
- orgid: [this.$login.f.orgid],
494
- getfield: {},
495
- config: {
496
- excelHeaders: {
497
- 'f_orgname': '公司',
498
- 'f_userinfo_code': '客户编号',
499
- 'f_address': '客户地址',
500
- 'f_user_name': '客户名称',
501
- 'f_user_type': '用户类型',
502
- 'f_gasproperties': '用气性质',
503
- 'f_gas_date': '安装时间',
504
- 'f_meternumber': '表号',
505
- 'f_meter_brand': '气表品牌',
506
- // 'f_position': '安装位置',
507
- 'f_meter_style': '气表型号',
508
- /*'f_curbalance': '期初余额',*/
509
- 'f_last_tablebase': '上次抄表底数',
510
- 'f_tablebase': '本次抄表底数',
511
- 'f_oughtamount': '本次用气量(m³)',
512
- 'f_oughtfee': '本次用气金额(元)',
513
- 'f_curbalance': '剩余金额',
514
- 'f_insert_date': '上报时间',
515
- 'f_signal': '信号强度',
516
- 'f_batterylevel': '电压',
517
- 'f_valvestate': '阀门状态'
518
-
519
- }
520
- },
521
- Gasproperties: [],
522
- isdeal: true,
523
- getSignStatus: [
524
- {label: '全部', value: ''},
525
- {label: '已标记', value: 'is not null'},
526
- {label: '未标记', value: 'is null'}
527
- ],
528
-
529
- handExce: {
530
- //异常对象
531
- exceobj: {},
532
- //异常类型
533
- f_error_type: "",
534
- //异常描述
535
- f_error_msg: '',
536
- },
537
- show: false,
538
- }
539
- },
540
- props: ['searchobj', 'isdeal'],
541
- ready() {
542
- /*this.$refs.paged.$refs.criteria.model.startDate = Util.toStandardDateString() + ' 00:00:00'
543
- this.$refs.paged.$refs.criteria.model.endDate = Util.toStandardDateString() + ' 23:59:59'*/
544
- // this.$refs.paged.$refs.criteria.model.startDate1 = Util.toStandardDateString() + ' 00:00:00'
545
- // this.$refs.paged.$refs.criteria.model.endDate1 = Util.toStandardDateString() + ' 23:59:59'
546
- //初始化用户类型,用气性质,用气属性下拉框
547
- this.search({'condition': '1=1'})
548
- readyGen(this)
549
- },
550
- methods: {
551
- search1(){
552
- this.$refs.paged.$refs.criteria.search()
553
- },
554
- // 跳转处理页面
555
- dealmsg(val) {
556
- val.model = this.model.model
557
- this.$emit('deal-msg', val)
558
- },
559
- // 查询开关
560
- hidden() {
561
- this.criteriaShow = !this.criteriaShow
562
- },
563
- // 异常开关
564
- handchange(val) {
565
- if (val) {
566
- console.log("开启弹窗")
567
- this.handExce.exceobj = val
568
- } else {
569
- console.log("返回置空")
570
- this.handExce = {}
571
- }
572
- this.handshow = !this.handshow
573
- },
574
- // 保存输入
575
- saveException() {
576
- // 准备数据
577
- var Exejson = {}
578
- // 抄表记录id
579
- Exejson.data_id = this.handExce.exceobj.id
580
- // 异常表档案ID
581
- Exejson.f_userfiles_id = this.handExce.exceobj.f_userfiles_id
582
- // 异常户档案ID
583
- Exejson.f_userinfo_id = this.handExce.exceobj.f_userinfo_id
584
- // 异常表号
585
- Exejson.f_meternumber = this.handExce.exceobj.f_meternumber
586
- // 分公司
587
- Exejson.f_orgname = this.handExce.exceobj.f_orgname
588
- // 分公司编号
589
- Exejson.f_orgid = this.handExce.exceobj.f_orgid
590
- // 营业网点
591
- Exejson.f_outlets = this.handExce.exceobj.f_outlets
592
- // 组织机构
593
- Exejson.f_orgstr = this.handExce.exceobj.f_orgstr
594
- // 异常类型
595
- Exejson.f_error_type = this.handExce.f_error_type
596
- // 异常说明
597
- Exejson.f_error_msg = this.handExce.f_error_msg
598
- console.log("提交异常数据")
599
- console.log(Exejson)
600
- let param = {
601
- tablename: 't_exception',
602
- basedata: Exejson
603
- }
604
- try {
605
- this.$resetpost('rs/logic/saveTable', param, {resolveMsg: null, rejectMsg: null}).then((req) => {
606
- console.log(val)
607
- this.handExce = {}
608
- console.log("提交成功")
609
- }).then(() => {
610
- this.$showMessage("异常保存成功!")
611
- })
612
- } catch (e) {
613
- this.handExce = {}
614
- console.log("提交失败")
615
- this.$showMessage("异常保存失败!")
616
- }
617
- this.handshow = false
618
- },
619
- /*DealSignal(val){
620
- console.log(val.model.f_signal)
621
- if(val.model&&val.model.f_signal) {
622
- if (val.model.f_signal == '信号正常') {
623
- val.condition = val.condition + " and " + "f_signal>-100 "
624
- }
625
- if (val.model.f_signal == '信号异常') {
626
- val.condition = val.condition + " and " + "f_signal<-100 "
627
- }
628
- }
629
- return val
630
- },*/
631
- /*DealFaults(val){
632
- if (val.model&&val.model.faultstate){
633
- console.log(val.model.faultstate)
634
- val.model.faultstate.forEach((item) =>{
635
- if (item=='磁干扰'){
636
- val.condition=val.condition+" and "+"f_magneticInterference=1 "
637
- }
638
- if (item=='周期关阀'){
639
- val.condition=val.condition+" and "+"f_cycleShutValue=1 "
640
- }
641
- if (item=='过流保护关阀'){
642
- val.condition=val.condition+" and "+"f_overCurrentProtection=1 "
643
- }
644
- if (item=='关阀走气'){
645
- val.condition=val.condition+" and "+"f_leakageFlag=1 "
646
- }
647
- if(item=='拆表报警'){
648
- val.condition=val.condition+" and "+"f_SplitAlarm=1 "
649
- }
650
- })
651
- }
652
- return val
653
- },*/
654
- SaveAsFile(str) {
655
- this.$showMessage('您是否需要导出本页数据?', ['confirm', 'cancel']).then((res) => {
656
- if (res === 'confirm') {
657
- let style = '<style>' +
658
- 'td {border-width: 1px;padding: 2px;border-style: solid; border-color:black; border-collapse:collapse;} .tdright{text-align: right;} .tdcenter{text-align: center;}</style>';
659
- let strHtml = style + document.getElementById(str).innerHTML;
660
- console.log(strHtml);
661
- let LODOP = getLodop();
662
- LODOP.PRINT_INIT('');
663
- LODOP.ADD_PRINT_TABLE(5, 5, '99%', '100%', strHtml);
664
- LODOP.SAVE_TO_FILE('抄表查看.xls')
665
- }
666
- })
667
- },
668
- clearmsg() {
669
- this.$refs.paged.$refs.criteria.model = {}
670
- },
671
- search(args) {
672
- if (this.orgCondtionStr)
673
- args.condition = args.condition + `and ui.f_orgid in ${this.orgCondtionStr}`
674
- this.model.search(args.condition, args.model)
675
- },
676
- getRes(obj) {
677
- this.orgCondtionStr = plugins.convertToIn(obj)
678
-
679
- console.log('++++++++++++++++++', this.orgCondtionStr)
680
- },
681
- },
682
-
683
- watch: {
684
- // 监听查询对象
685
- 'searchobj'(val) {
686
- if (this.searchobj != null) {
687
- this.$refs.paged.$refs.criteria.model.f_meternumber = this.searchobj.f_meternumber
688
- /* this.$refs.paged.$refs.criteria.model.startDate = this.searchobj.model.startDate
689
- this.$refs.paged.$refs.criteria.model.endDate = this.searchobj.model.endDate*/
690
- this.$refs.paged.$refs.criteria.search()
691
- }
692
- }
693
- },
694
- computed: {
695
- // 上报异常类型
696
- Excestates() {
697
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('上报异常类型')]
698
- },
699
- Gasproperties() {
700
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('用气性质')]
701
- },
702
- Gasusertype() {
703
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]
704
- },
705
- Getuploadtype() {
706
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('上报类型')]
707
- },
708
- //标记状态
709
- parameterState() {
710
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('标记状态')]
711
- },
712
- //标记名称
713
- parameterName() {
714
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('标记名称')]
715
- },
716
- // 故障状态
717
- FaultStates() {
718
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('故障状态')]
719
- // return [
720
- // {label: '磁干扰', value: '磁干扰'},
721
- // {label: '周期关阀', value: '周期关阀'},
722
- // {label: '过流保护关阀', value: '过流保护关阀'},
723
- // {label: '关阀走气', value: '关阀走气'},
724
- // {label: '拆表报警', value: '拆表报警'},
725
- // ]
726
- },
727
- SignalStates() {
728
- return [
729
- {label: '全部', value: '全部'},
730
- {label: '信号正常', value: '信号正常'},
731
- {label: '信号异常', value: '信号异常'},
732
- ]
733
- }
734
- }
735
- }
736
- </script>
737
- <style>
738
- .datapanel {
739
- color: #333;
740
- background-color: white;
741
- box-shadow: darkgrey 0.5px 0.5px 0.5px 0.5px;
742
- padding: 10px 30px 10px 30px;
743
- border-radius: 15px;
744
- }
745
- </style>
1
+ <template>
2
+ <div class="flex" style="flex:1;" @keyup.enter="search1">
3
+ <criteria-paged :model="model" v-ref:paged>
4
+ <criteria @condition-changed='$parent.search' partial='criteria' v-ref:criteria>
5
+ <div class="form-horizontal select-overspread container-fluid auto" novalidate partial
6
+ v-show="$parent.$parent.isdeal">
7
+ <div class="row" width="100%">
8
+ <div class="col-sm-2 form-group">
9
+ <label class="font_normal_body">表&emsp;&emsp;号</label>
10
+ <input style="width:60%" class="input_search" condition="mr.f_meternumber like '%{}%'"
11
+ placeholder='表号'
12
+ type="text"
13
+ v-model="model.f_meternumber"
14
+ >
15
+ </div>
16
+ <div class="col-sm-2 form-group">
17
+ <label class="font_normal_body">客户编号</label>
18
+ <input style="width:60%" class="input_search" condition="u.f_userinfo_code like '%{}%'"
19
+ placeholder='客户编号'
20
+ type="text"
21
+ v-model="model.f_userinfo_code">
22
+ </div>
23
+ <div class="col-sm-2 form-group">
24
+ <label class="font_normal_body">客户名称</label>
25
+ <input style="width:60%" class="input_search" condition="mr.f_user_name like '%{}%'" placeholder='客户名称'
26
+ type="text"
27
+ v-model="model.f_user_name">
28
+ </div>
29
+ <div class="col-sm-3 form-group button-range">
30
+ <button @click="search()" class="button_search button_spacing" v-el:cba>查询</button>
31
+ <button @click="$parent.$parent.clearmsg" class="button_clear button_spacing">清空</button>
32
+ <!--<label class="font_normal_body"></label>
33
+ <button class="btn btn-success width-100" @click="$parent.$parent.SaveAsFile('webmeterhandplan')">导出</button>-->
34
+ <!-- </div>-->
35
+ <!-- <div class="col-sm-2 form-group form-group">-->
36
+ <export-excel
37
+ :choose-col="true"
38
+ :data="{condition: $parent.$parent.condition}"
39
+ :field="$parent.$parent.getfield" sql-name="manage_getNewAllWebHandPlan" sqlurl="rs/logic/exportfile"
40
+ template-name='数据采集'></export-excel>
41
+ <div style="float: right" class="button_spacing"
42
+ :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
43
+ @click="$parent.$parent.hidden()"></div>
44
+ <!-- <span style="padding-left: 30px; ">-->
45
+ <!-- <report-excel class="btn btn-success" id="grid"></report-excel>-->
46
+ <!-- </span>-->
47
+ </div>
48
+ </div>
49
+ <div class="row" v-show="$parent.$parent.criteriaShow">
50
+ <div class="col-sm-2 form-group">
51
+ <label class="font_normal_body">用气地址</label>
52
+ <input style="width:60%" class="input_search" condition="u.f_address like '%{}%'" placeholder='用气地址'
53
+ type="text"
54
+ v-model="model.f_address"
55
+ >
56
+ </div>
57
+ <div class="col-sm-2 form-group">
58
+ <label class="font_normal_body">用户类型</label>
59
+ <v-select :options="$parent.$parent.Gasusertype" :value.sync="model.f_user_type"
60
+ close-on-select
61
+ style="width:60%"
62
+ condition="ui.f_user_type = '{}'"
63
+ placeholder='用户类型'
64
+ v-model="model.f_user_type"
65
+ value-single="true"
66
+ >
67
+ </v-select>
68
+ </div>
69
+ <div class="col-sm-2 form-group">
70
+ <label class="font_normal_body">用气性质</label>
71
+ <v-select :options="$parent.$parent.Gasproperties" :value.sync="model.f_gasproperties"
72
+ close-on-select
73
+ style="width:60%"
74
+ condition="ui.f_gasproperties = '{}'"
75
+ placeholder='用气性质'
76
+ v-model="model.f_gasproperties"
77
+ value-single="true">
78
+ </v-select>
79
+ </div>
80
+ <!--<div class="col-sm-2 form-group">
81
+ <label class="font_normal_body">阀门状态</label>
82
+ <v-select placeholder='阀门状态' close-on-select
83
+ v-model="model.f_valvestate"
84
+ :value.sync="model.f_valvestate"
85
+ condition="mr.f_valvestate like '%{}%'"
86
+ :options="$parent.$parent.Valvestates">
87
+ </v-select>
88
+ </div>-->
89
+ <!--<div class="col-sm-2 form-group">
90
+ <label class="font_normal_body">上报类型</label>
91
+ <v-select placeholder='上报类型' close-on-select
92
+ v-model="model.f_upload_type"
93
+ :value.sync="model.f_upload_type"
94
+ :options="$parent.$parent.Getuploadtype"
95
+ condition="mr.f_upload_type = '{}'"
96
+ >
97
+ </v-select>
98
+ </div>-->
99
+ <div class="col-sm-2 form-group">
100
+ <label class="font_normal_body" style="word-break:keep-all;">上报时间</label>
101
+ <datepicker :format="'yyyy-MM-dd HH:mm:ss'"
102
+ :value.sync="model.startDate"
103
+ style="width:60%"
104
+ condition="mr.f_insert_date >= '{}'"
105
+ placeholder="起始时间"
106
+ v-model="model.startDate"
107
+ ></datepicker>
108
+ </div>
109
+ <div class="col-sm-2 form-group">
110
+ <label class="font_normal_body" style="word-break:keep-all;">&emsp;&ensp;至&emsp;</label>
111
+ <datepicker :format="'yyyy-MM-dd HH:mm:ss'"
112
+ :value.sync="model.endDate"
113
+ style="width:60%"
114
+ condition="mr.f_insert_date <= '{}'"
115
+ placeholder="结束时间"
116
+ v-model="model.endDate"
117
+ ></datepicker>
118
+ </div>
119
+ <div class="col-sm-2 form-group">
120
+ <label class="font_normal_body" style="word-break:keep-all;">安装时间</label>
121
+ <datepicker :format="'yyyy-MM-dd HH:mm:ss'"
122
+ :value.sync="model.startDate1"
123
+ style="width:60%"
124
+ condition="ui.f_gas_date >= '{}'"
125
+ placeholder="起始时间"
126
+ v-model="model.startDate1"
127
+ ></datepicker>
128
+ </div>
129
+ <div class="col-sm-2 form-group">
130
+ <label class="font_normal_body" style="word-break:keep-all;">&emsp;&ensp;至&emsp;</label>
131
+ <datepicker :format="'yyyy-MM-dd HH:mm:ss'"
132
+ :value.sync="model.endDate1"
133
+ style="width:60%"
134
+ condition="ui.f_gas_date <= '{}'"
135
+ placeholder="结束时间"
136
+ v-model="model.endDate1"
137
+ ></datepicker>
138
+ </div>
139
+ <!--<div class="col-sm-2 form-group">-->
140
+ <!--<label class="font_normal_body">故障状态</label>-->
141
+ <!--<v-select placeholder='故障状态'-->
142
+ <!--v-model="model.faultstate"-->
143
+ <!--multiple-->
144
+ <!--:value.sync="model.faultstate"-->
145
+ <!--:options="$parent.$parent.FaultStates">-->
146
+ <!--</v-select>-->
147
+ <!--</div>-->
148
+ <div class="col-sm-2 form-group">
149
+ <label class="font_normal_body">用&ensp;气&ensp;量</label>
150
+ <input style="width:60%" class="input_search" condition="h.f_oughtamount >= '{}'" placeholder='最小气量' type="text"
151
+ v-el:start_gas v-model="model.start_gas" v-next-el='start_gas'>
152
+ </div>
153
+ <div class="col-sm-2 form-group">
154
+ <label class="font_normal_body" style="word-break:keep-all;">&emsp;&ensp;至&emsp;</label>
155
+ <input style="width:60%" class="input_search" condition="h.f_oughtamount <= '{}'" placeholder='最大气量' type="text"
156
+ v-el:end_gas v-el:xq v-model="model.end_gas" v-next-el='end_gas'
157
+ >
158
+ </div>
159
+ <div class="col-sm-2 form-group">
160
+ <label class="font_normal_body">剩余金额</label>
161
+ <input style="width:60%" class="input_search" condition="h.f_curbalance >= '{}'"
162
+ placeholder='最小金额'
163
+ type="text"
164
+ v-model="model.start_f_balance">
165
+ </div>
166
+ <div class="col-sm-2 form-group">
167
+ <label class="font_normal_body">&emsp;&ensp;至&emsp;</label>
168
+ <input style="width:60%" class="input_search" condition="h.f_curbalance <= '{}'"
169
+ placeholder='最大金额'
170
+ type="text"
171
+ v-model="model.end_f_balance"
172
+ >
173
+ </div>
174
+ <!--<div class="col-sm-2 form-group" >
175
+ <label class="font_normal_body">标记名称</label>
176
+ <v-select placeholder='标记名称' close-on-select
177
+ v-model="model.f_parameter_name"
178
+ :value.sync="model.f_parameter_name"
179
+ :options="$parent.$parent.parameterName"
180
+ condition="p.f_parameter_name = '{}'">
181
+ </v-select>
182
+ </div>-->
183
+ <!--<div class="col-sm-2 form-group" >
184
+ <label class="font_normal_body" style="word-break:keep-all;">操作时间</label>
185
+ <datepicker placeholder="起始时间"
186
+ :value.sync="model.startDate2"
187
+ v-model="model.startDate2"
188
+ :format="'yyyy-MM-dd HH:mm:ss'"
189
+ condition="p.f_parameter_date >= '{}'"
190
+ ></datepicker>
191
+ </div>
192
+ <div class="col-sm-2 form-group" >
193
+ <label class="font_normal_body" style="word-break:keep-all;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;至&nbsp;&nbsp;&nbsp;</label>
194
+ <datepicker placeholder="结束时间"
195
+ :value.sync="model.endDate2"
196
+ v-model="model.endDate2"
197
+ :format="'yyyy-MM-dd HH:mm:ss'"
198
+ condition="p.f_parameter_date <= '{}'"
199
+ ></datepicker>
200
+ </div>-->
201
+ <!--<div class="col-sm-2 form-group" >
202
+ <label class="font_normal_body">标记状态</label>
203
+ <v-select placeholder='标记状态' close-on-select
204
+ v-model="model.f_parameter_state"
205
+ :value.sync="model.f_parameter_state"
206
+ :options="$parent.$parent.getSignStatus"
207
+ condition="p.f_parameter_state {}">
208
+ </v-select>
209
+ </div>-->
210
+ <div class="col-sm-2 form-group form-fix-width">
211
+ <label class="font_normal_body" >使用公司</label>
212
+ <res-select :initresid="$parent.$parent.orgid"
213
+ style="width:60%"
214
+ @res-select="$parent.$parent.getRes"
215
+ restype='organization'>
216
+ </res-select>
217
+ </div>
218
+ </div>
219
+ </div>
220
+ </criteria>
221
+ <data-grid :model="model" class="list_area table_sy" id="webmeterhandplan" partial='list' v-ref:grid>
222
+ <template partial='head'>
223
+ <tr>
224
+ <th style="text-align:center" v-show="!$parent.$parent.$parent.isdeal">
225
+ <nobr>操作</nobr>
226
+ </th>
227
+ <th style="text-align:center">
228
+ <nobr>组织机构</nobr>
229
+ </th>
230
+ <th style="text-align:center">
231
+ <nobr>客户编号</nobr>
232
+ </th>
233
+ <th style="text-align:center">
234
+ <nobr>用户类型</nobr>
235
+ </th>
236
+ <th style="text-align:center">
237
+ <nobr>用气性质</nobr>
238
+ </th>
239
+ <!--<th style="text-align:center"><nobr>用气属性</nobr></th>-->
240
+ <th style="text-align:center">
241
+ <nobr>客户名称</nobr>
242
+ </th>
243
+ <th style="text-align:center">
244
+ <nobr>用气地址</nobr>
245
+ </th>
246
+ <th style="text-align:center">
247
+ <nobr>安装时间</nobr>
248
+ </th>
249
+ <th style="text-align:center">
250
+ <nobr>表号</nobr>
251
+ </th>
252
+ <th style="text-align:center">
253
+ <nobr>气表品牌</nobr>
254
+ </th>
255
+ <th style="text-align:center">
256
+ <nobr>气表型号</nobr>
257
+ </th>
258
+ <!--<th style="text-align:center"><nobr>期初余额</nobr></th>-->
259
+ <th style="text-align:center">
260
+ <nobr>上次抄表底数</nobr>
261
+ </th>
262
+ <th style="text-align:center">
263
+ <nobr>本次抄表底数</nobr>
264
+ </th>
265
+ <th style="text-align:center">
266
+ <nobr>本次用气量(m³)</nobr>
267
+ </th>
268
+ <!--<th style="text-align:center"><nobr>气价(元/m³)</nobr></th>-->
269
+ <!--<th style="text-align:center"><nobr>24小时用气量</nobr></th>-->
270
+ <th style="text-align:center">
271
+ <nobr>本次用气金额(元)</nobr>
272
+ </th>
273
+ <th style="text-align:center">
274
+ <nobr>剩余金额</nobr>
275
+ </th>
276
+ <!--<th style="text-align:center"><nobr>上报类型</nobr></th>-->
277
+ <th style="text-align:center">
278
+ <nobr>上报时间</nobr>
279
+ </th>
280
+ <th style="text-align:center"><nobr>信号强度</nobr></th>
281
+ <th style="text-align:center"><nobr>电压</nobr></th>
282
+ <!--<th style="text-align:center"><nobr>信噪比</nobr></th>-->
283
+ <th style="text-align:center"><nobr>阀门状态</nobr></th>
284
+ <!--<th style="text-align:center"><nobr>磁干扰</nobr></th>
285
+ <th style="text-align:center"><nobr>周期关阀</nobr></th>
286
+ <th style="text-align:center"><nobr>过流保护关阀</nobr></th>
287
+ <th style="text-align:center"><nobr>关阀走气</nobr></th>
288
+ <th style="text-align:center"><nobr>拆表报警</nobr></th>
289
+ <th style="text-align:center"><nobr>外部晶振标志</nobr></th>
290
+ <th style="text-align:center"><nobr>软件版本号</nobr></th>-->
291
+ <!--<th style="text-align:center"><nobr>本次上报日期</nobr></th>
292
+ <th style="text-align:center"><nobr>上次上报日期</nobr></th>-->
293
+ <!--<th style="text-align:center"><nobr>上次表状态</nobr></th>
294
+ <th style="text-align:center"><nobr>本次表状态</nobr></th>
295
+ <th style="text-align:center"><nobr>标记状态</nobr></th>
296
+ <th style="text-align:center"><nobr>标记时间</nobr></th>-->
297
+ </tr>
298
+ </template>
299
+ <template partial='body' partial='list' v-ref:grid>
300
+ <tr>
301
+ <td style="text-align:center" v-show="!$parent.$parent.$parent.isdeal">
302
+ <button-link @click="$parent.$parent.$parent.handchange(row)" class="btn btn-link" type="button">处理
303
+ </button-link>
304
+ </td>
305
+ <td style="text-align:center">
306
+ <nobr>{{row.f_orgname}}</nobr>
307
+ </td>
308
+ <td style="text-align:center">
309
+ <nobr>{{row.f_userinfo_code}}</nobr>
310
+ </td>
311
+ <td style="text-align:center">
312
+ <nobr>{{row.f_user_type}}</nobr>
313
+ </td>
314
+ <td style="text-align:center">
315
+ <nobr>{{row.f_gasproperties}}</nobr>
316
+ </td>
317
+ <td style="text-align:center">
318
+ <nobr>{{row.f_user_name}}</nobr>
319
+ </td>
320
+ <td>
321
+ <nobr>{{row.f_address}}</nobr>
322
+ </td>
323
+ <td style="text-align:center">
324
+ <nobr>{{row.f_gas_date}}</nobr>
325
+ </td>
326
+ <td style="text-align:center">
327
+ <nobr>{{row.f_meternumber}}</nobr>
328
+ </td>
329
+ <td style="text-align:center">
330
+ <nobr>{{row.f_meter_brand}}</nobr>
331
+ </td>
332
+ <td style="text-align:center">
333
+ <nobr>{{row.f_meter_style}}</nobr>
334
+ </td>
335
+ <!--<td style="text-align:center"><nobr>{{row.f_curbalance}}</nobr></td>-->
336
+ <td style="text-align:center">{{row.f_last_tablebase}}</td>
337
+ <td style="text-align:center">{{row.f_tablebase}}</td>
338
+ <td style="text-align:center">{{row.f_oughtamount}}</td>
339
+ <!--<td style="text-align:center"><nobr>{{row.f_price}}</nobr></td>-->
340
+ <td style="text-align:center">{{row.f_oughtfee}}</td>
341
+ <td style="text-align:center">
342
+ <nobr>{{row.f_curbalance}}</nobr>
343
+ </td>
344
+ <!--<td style="text-align:center;width: 170px;"><nobr>{{row.f_upload_type}}</nobr></td>-->
345
+
346
+ <td style="text-align:center">
347
+ <nobr>{{row.f_insert_date}}</nobr>
348
+ </td>
349
+ <td style="text-align:center" >
350
+ <img :title='row.f_signal' v-if="row.f_signal>-80"
351
+ src="../../../../static/WebMetericon/1.png"
352
+ height="12" width="24"/>
353
+ <img :title='row.f_signal' v-if="row.f_signal>-100&&row.f_signal<=-80"
354
+ src="../../../../static/WebMetericon/2.png"
355
+ height="12" width="24"/>
356
+ <img :title='row.f_signal' v-if="row.f_signal>-120&&row.f_signal<=-100"
357
+ src="../../../../static/WebMetericon/3.png"
358
+ height="12" width="24"/>
359
+ <img :title='row.f_signal' v-if="row.f_signal<=-120"
360
+ src="../../../../static/WebMetericon/4.png"
361
+ height="12" width="24"/>
362
+ </td>
363
+ <td style="text-align:center" >
364
+ <img :title='row.f_batterylevel' v-if="row.f_batterylevel>=6.00"
365
+ src="../../../../static/WebMetericon/01.png"
366
+ height="12" width="24"/>
367
+ <img :title='row.f_batterylevel' v-if="row.f_batterylevel>=5.00&&row.f_batterylevel<6.00"
368
+ src="../../../../static/WebMetericon/02.png"
369
+ height="12" width="24"/>
370
+ <img :title='row.f_batterylevel' v-if="row.f_batterylevel>=4.00&&row.f_batterylevel<5.00"
371
+ src="../../../../static/WebMetericon/03.png"
372
+ height="12" width="24"/>
373
+ <img :title='row.f_batterylevel' v-if="row.f_batterylevel<4.00"
374
+ src="../../../../static/WebMetericon/04.png"
375
+ height="12" width="24"/>
376
+ </td>
377
+ <td style="text-align:center;width: 51px">{{row.f_valvestate==1?'关阀':'开阀'}}</td>
378
+ <!--<td style="text-align:center;width: 51px">
379
+ <img :title='故障' v-if="row.f_magneticinterference==1"
380
+ src="../../../../static/WebMetericon/guzhang.png"
381
+ height="12" width="12"/>
382
+ <img :title='正常' v-if="row.f_magneticinterference==0"
383
+ src="../../../../static/WebMetericon/zhengchang.png"
384
+ height="12" width="17"/>
385
+ </td>
386
+ <td style="text-align:center;width: 51px">
387
+ <img :title='关阀' v-if="row.f_cycleshutvalue==1"
388
+ src="../../../../static/WebMetericon/guzhang.png"
389
+ height="12" width="12"/>
390
+ <img :title='正常' v-if="row.f_cycleshutvalue==0"
391
+ src="../../../../static/WebMetericon/zhengchang.png"
392
+ height="12" width="17"/>
393
+ </td>
394
+ <td style="text-align:center;width: 51px">
395
+ <img :title='关阀' v-if="row.f_overcurrentprotection==1"
396
+ src="../../../../static/WebMetericon/guzhang.png"
397
+ height="12" width="12"/>
398
+ <img :title='正常' v-if="row.f_overcurrentprotection==0"
399
+ src="../../../../static/WebMetericon/zhengchang.png"
400
+ height="12" width="17"/>
401
+ </td>
402
+ <td style="text-align:center;width: 51px">
403
+ <img :title='走气' v-if="row.f_leakageflag==1"
404
+ src="../../../../static/WebMetericon/guzhang.png"
405
+ height="12" width="12"/>
406
+ <img :title='正常' v-if="row.f_leakageflag==0"
407
+ src="../../../../static/WebMetericon/zhengchang.png"
408
+ height="12" width="17"/>
409
+ </td>
410
+ <td style="text-align:center;width: 51px">
411
+ <img :title='拆表' v-if="row.f_splitalarm==='1'"
412
+ src="../../../../static/WebMetericon/guzhang.png"
413
+ height="12" width="12"/>
414
+ <img :title='正常' v-if="row.f_splitalarm==='0'"
415
+ src="../../../../static/WebMetericon/zhengchang.png"
416
+ height="12" width="17"/>
417
+ </td>
418
+ <td style="text-align:center;width: 51px">
419
+ <img :title='停止' v-if="row.f_xtipllstopflag==='1'"
420
+ src="../../../../static/WebMetericon/guzhang.png"
421
+ height="12" width="12"/>
422
+ <img :title='正常' v-if="row.f_xtipllstopflag==='0'"
423
+ src="../../../../static/WebMetericon/zhengchang.png"
424
+ height="12" width="17"/>
425
+ </td>
426
+ <td style="text-align:center"><nobr>{{row.f_software_version}}</nobr></td>-->
427
+ <!--<td style="text-align:center;width: 170px;"><nobr>{{row.f_hand_date}}</nobr></td>
428
+ <td style="text-align:center"><nobr>{{row.f_last_hand_date}}</nobr></td>-->
429
+ <!--<td style="text-align:center"><nobr>{{row.f_last_meter_state_msg}}</nobr></td>
430
+ <td style="text-align:center"><nobr>{{row.f_table_msg}}</nobr></td>
431
+ <td style="text-align:center"><nobr>{{row.f_parameter_state}}</nobr></td>
432
+ <td style="text-align:center"><nobr>{{row.f_parameter_date}}</nobr></td>-->
433
+ </tr>
434
+ </template>
435
+ <template partial='foot'></template>
436
+ </data-grid>
437
+ </criteria-paged>
438
+ </div>
439
+ <!--异常抄表录入-->
440
+ <modal :show.sync="handshow" backdrop="false" v-ref:modal>
441
+ <header class="modal-header" slot="modal-header">
442
+ <button @click="handchange()" class="close" type="button"><span>&times;</span></button>
443
+ <h4 class="modal-title">表号{{handExce.exceobj.f_meternumber}}</h4>
444
+ </header>
445
+ <article class="modal-body" slot="modal-body">
446
+ <div class="col-sm-12">
447
+ <label class="font_normal_body">上报异常类型</label>
448
+ <textarea class="ver-textarea" style="width:60%" class="input_search" name="name"
449
+ placeholder='上报异常类型' rows="2"
450
+ style="width: 100%"
451
+ v-model='handExce.f_error_type'></textarea>
452
+ </div>
453
+ <div class="col-sm-12 form-group form-fix-width">
454
+ <label class="font_normal_body">异常描述</label>
455
+ <textarea class="ver-textarea" style="width:60%" class="input_search" name="name"
456
+ placeholder='上报异常类型'
457
+ rows="2" style="width: 100%"
458
+ v-model='handExce.f_error_msg'></textarea>
459
+ </div>
460
+ </article>
461
+ <footer class="modal-footer" slot="modal-footer">
462
+ <button @click='handchange()' class="btn btn-default" type="button" v-show="handshow">取消</button>
463
+ <button @click='saveException' class="btn btn-success" type="button" v-show="handshow">确认</button>
464
+ </footer>
465
+ </modal>
466
+ </template>
467
+
468
+ <script>
469
+ import {PagedList} from 'vue-client'
470
+ import getLodop from '../../../plugins/LodopFuncs'
471
+ import plugins from '../../../plugins/GetLoginInfoService'
472
+
473
+ let readyGen = async function (self) {
474
+ await self.$getConfig(self, 'HandManager')
475
+ console.log('指令查看config', self.config)
476
+ self.getfield = self.config.excelHeaders
477
+ // self.reflash()
478
+ }
479
+
480
+ export default {
481
+ title: '数据采集',
482
+ data() {
483
+ return {
484
+ model: new PagedList('rs/sql/manage_getNewAllWebHandPlan', 50),
485
+ row: null,
486
+ // 搜索显示开关
487
+ searchshow: true,
488
+ // 抄表录入开关
489
+ handshow: false,
490
+ condition: '',
491
+ criteriaShow: false,
492
+ orgCondtionStr: '(' + this.$login.f.orgid + ')',
493
+ orgid: [this.$login.f.orgid],
494
+ getfield: {},
495
+ config: {
496
+ excelHeaders: {
497
+ 'f_orgname': '公司',
498
+ 'f_userinfo_code': '客户编号',
499
+ 'f_address': '客户地址',
500
+ 'f_user_name': '客户名称',
501
+ 'f_user_type': '用户类型',
502
+ 'f_gasproperties': '用气性质',
503
+ 'f_gas_date': '安装时间',
504
+ 'f_meternumber': '表号',
505
+ 'f_meter_brand': '气表品牌',
506
+ // 'f_position': '安装位置',
507
+ 'f_meter_style': '气表型号',
508
+ /*'f_curbalance': '期初余额',*/
509
+ 'f_last_tablebase': '上次抄表底数',
510
+ 'f_tablebase': '本次抄表底数',
511
+ 'f_oughtamount': '本次用气量(m³)',
512
+ 'f_oughtfee': '本次用气金额(元)',
513
+ 'f_curbalance': '剩余金额',
514
+ 'f_insert_date': '上报时间',
515
+ 'f_signal': '信号强度',
516
+ 'f_batterylevel': '电压',
517
+ 'f_valvestate': '阀门状态'
518
+
519
+ }
520
+ },
521
+ Gasproperties: [],
522
+ isdeal: true,
523
+ getSignStatus: [
524
+ {label: '全部', value: ''},
525
+ {label: '已标记', value: 'is not null'},
526
+ {label: '未标记', value: 'is null'}
527
+ ],
528
+
529
+ handExce: {
530
+ //异常对象
531
+ exceobj: {},
532
+ //异常类型
533
+ f_error_type: "",
534
+ //异常描述
535
+ f_error_msg: '',
536
+ },
537
+ show: false,
538
+ }
539
+ },
540
+ props: ['searchobj', 'isdeal'],
541
+ ready() {
542
+ /*this.$refs.paged.$refs.criteria.model.startDate = Util.toStandardDateString() + ' 00:00:00'
543
+ this.$refs.paged.$refs.criteria.model.endDate = Util.toStandardDateString() + ' 23:59:59'*/
544
+ // this.$refs.paged.$refs.criteria.model.startDate1 = Util.toStandardDateString() + ' 00:00:00'
545
+ // this.$refs.paged.$refs.criteria.model.endDate1 = Util.toStandardDateString() + ' 23:59:59'
546
+ //初始化用户类型,用气性质,用气属性下拉框
547
+ this.search({'condition': '1=1'})
548
+ readyGen(this)
549
+ },
550
+ methods: {
551
+ search1(){
552
+ this.$refs.paged.$refs.criteria.search()
553
+ },
554
+ // 跳转处理页面
555
+ dealmsg(val) {
556
+ val.model = this.model.model
557
+ this.$emit('deal-msg', val)
558
+ },
559
+ // 查询开关
560
+ hidden() {
561
+ this.criteriaShow = !this.criteriaShow
562
+ },
563
+ // 异常开关
564
+ handchange(val) {
565
+ if (val) {
566
+ console.log("开启弹窗")
567
+ this.handExce.exceobj = val
568
+ } else {
569
+ console.log("返回置空")
570
+ this.handExce = {}
571
+ }
572
+ this.handshow = !this.handshow
573
+ },
574
+ // 保存输入
575
+ saveException() {
576
+ // 准备数据
577
+ var Exejson = {}
578
+ // 抄表记录id
579
+ Exejson.data_id = this.handExce.exceobj.id
580
+ // 异常表档案ID
581
+ Exejson.f_userfiles_id = this.handExce.exceobj.f_userfiles_id
582
+ // 异常户档案ID
583
+ Exejson.f_userinfo_id = this.handExce.exceobj.f_userinfo_id
584
+ // 异常表号
585
+ Exejson.f_meternumber = this.handExce.exceobj.f_meternumber
586
+ // 分公司
587
+ Exejson.f_orgname = this.handExce.exceobj.f_orgname
588
+ // 分公司编号
589
+ Exejson.f_orgid = this.handExce.exceobj.f_orgid
590
+ // 营业网点
591
+ Exejson.f_outlets = this.handExce.exceobj.f_outlets
592
+ // 组织机构
593
+ Exejson.f_orgstr = this.handExce.exceobj.f_orgstr
594
+ // 异常类型
595
+ Exejson.f_error_type = this.handExce.f_error_type
596
+ // 异常说明
597
+ Exejson.f_error_msg = this.handExce.f_error_msg
598
+ console.log("提交异常数据")
599
+ console.log(Exejson)
600
+ let param = {
601
+ tablename: 't_exception',
602
+ basedata: Exejson
603
+ }
604
+ try {
605
+ this.$resetpost('rs/logic/saveTable', param, {resolveMsg: null, rejectMsg: null}).then((req) => {
606
+ console.log(val)
607
+ this.handExce = {}
608
+ console.log("提交成功")
609
+ }).then(() => {
610
+ this.$showMessage("异常保存成功!")
611
+ })
612
+ } catch (e) {
613
+ this.handExce = {}
614
+ console.log("提交失败")
615
+ this.$showMessage("异常保存失败!")
616
+ }
617
+ this.handshow = false
618
+ },
619
+ /*DealSignal(val){
620
+ console.log(val.model.f_signal)
621
+ if(val.model&&val.model.f_signal) {
622
+ if (val.model.f_signal == '信号正常') {
623
+ val.condition = val.condition + " and " + "f_signal>-100 "
624
+ }
625
+ if (val.model.f_signal == '信号异常') {
626
+ val.condition = val.condition + " and " + "f_signal<-100 "
627
+ }
628
+ }
629
+ return val
630
+ },*/
631
+ /*DealFaults(val){
632
+ if (val.model&&val.model.faultstate){
633
+ console.log(val.model.faultstate)
634
+ val.model.faultstate.forEach((item) =>{
635
+ if (item=='磁干扰'){
636
+ val.condition=val.condition+" and "+"f_magneticInterference=1 "
637
+ }
638
+ if (item=='周期关阀'){
639
+ val.condition=val.condition+" and "+"f_cycleShutValue=1 "
640
+ }
641
+ if (item=='过流保护关阀'){
642
+ val.condition=val.condition+" and "+"f_overCurrentProtection=1 "
643
+ }
644
+ if (item=='关阀走气'){
645
+ val.condition=val.condition+" and "+"f_leakageFlag=1 "
646
+ }
647
+ if(item=='拆表报警'){
648
+ val.condition=val.condition+" and "+"f_SplitAlarm=1 "
649
+ }
650
+ })
651
+ }
652
+ return val
653
+ },*/
654
+ SaveAsFile(str) {
655
+ this.$showMessage('您是否需要导出本页数据?', ['confirm', 'cancel']).then((res) => {
656
+ if (res === 'confirm') {
657
+ let style = '<style>' +
658
+ 'td {border-width: 1px;padding: 2px;border-style: solid; border-color:black; border-collapse:collapse;} .tdright{text-align: right;} .tdcenter{text-align: center;}</style>';
659
+ let strHtml = style + document.getElementById(str).innerHTML;
660
+ console.log(strHtml);
661
+ let LODOP = getLodop();
662
+ LODOP.PRINT_INIT('');
663
+ LODOP.ADD_PRINT_TABLE(5, 5, '99%', '100%', strHtml);
664
+ LODOP.SAVE_TO_FILE('抄表查看.xls')
665
+ }
666
+ })
667
+ },
668
+ clearmsg() {
669
+ this.$refs.paged.$refs.criteria.model = {}
670
+ },
671
+ search(args) {
672
+ if (this.orgCondtionStr)
673
+ args.condition = args.condition + `and ui.f_orgid in ${this.orgCondtionStr}`
674
+ this.model.search(args.condition, args.model)
675
+ },
676
+ getRes(obj) {
677
+ this.orgCondtionStr = plugins.convertToIn(obj)
678
+
679
+ console.log('++++++++++++++++++', this.orgCondtionStr)
680
+ },
681
+ },
682
+
683
+ watch: {
684
+ // 监听查询对象
685
+ 'searchobj'(val) {
686
+ if (this.searchobj != null) {
687
+ this.$refs.paged.$refs.criteria.model.f_meternumber = this.searchobj.f_meternumber
688
+ /* this.$refs.paged.$refs.criteria.model.startDate = this.searchobj.model.startDate
689
+ this.$refs.paged.$refs.criteria.model.endDate = this.searchobj.model.endDate*/
690
+ this.$refs.paged.$refs.criteria.search()
691
+ }
692
+ }
693
+ },
694
+ computed: {
695
+ // 上报异常类型
696
+ Excestates() {
697
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('上报异常类型')]
698
+ },
699
+ Gasproperties() {
700
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('用气性质')]
701
+ },
702
+ Gasusertype() {
703
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]
704
+ },
705
+ Getuploadtype() {
706
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('上报类型')]
707
+ },
708
+ //标记状态
709
+ parameterState() {
710
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('标记状态')]
711
+ },
712
+ //标记名称
713
+ parameterName() {
714
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('标记名称')]
715
+ },
716
+ // 故障状态
717
+ FaultStates() {
718
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('故障状态')]
719
+ // return [
720
+ // {label: '磁干扰', value: '磁干扰'},
721
+ // {label: '周期关阀', value: '周期关阀'},
722
+ // {label: '过流保护关阀', value: '过流保护关阀'},
723
+ // {label: '关阀走气', value: '关阀走气'},
724
+ // {label: '拆表报警', value: '拆表报警'},
725
+ // ]
726
+ },
727
+ SignalStates() {
728
+ return [
729
+ {label: '全部', value: '全部'},
730
+ {label: '信号正常', value: '信号正常'},
731
+ {label: '信号异常', value: '信号异常'},
732
+ ]
733
+ }
734
+ }
735
+ }
736
+ </script>
737
+ <style>
738
+ .datapanel {
739
+ color: #333;
740
+ background-color: white;
741
+ box-shadow: darkgrey 0.5px 0.5px 0.5px 0.5px;
742
+ padding: 10px 30px 10px 30px;
743
+ border-radius: 15px;
744
+ }
745
+ </style>