manage-client 3.1.31 → 3.1.35

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 (474) 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/5.5/fileChanges/last-build.bin +0 -0
  6. package/.gradle/5.5/fileHashes/fileHashes.lock +0 -0
  7. package/.gradle/5.5/gc.properties +0 -0
  8. package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
  9. package/.gradle/buildOutputCleanup/cache.properties +2 -2
  10. package/.npmignore +10 -0
  11. package/.project +18 -18
  12. package/CHANGELOG.md +15 -15
  13. package/DOC//345/212/237/350/203/275/350/257/264/346/230/216.md +13 -13
  14. package/DOC//347/211/210/346/234/254/344/277/241/346/201/257.md +8 -8
  15. package/README.md +38 -38
  16. package/build/.npmignore +1 -0
  17. package/build/dev-server.js +174 -174
  18. package/build/webpack.base.conf.js +82 -82
  19. package/build.gradle +13 -13
  20. package/config/dev.env.js +6 -6
  21. package/config/index.js +40 -40
  22. package/config/prod.env.js +3 -3
  23. package/config/test.env.js +6 -6
  24. package/gradle/wrapper/gradle-wrapper.properties +5 -5
  25. package/gradlew.bat +100 -100
  26. package/index.html +28 -28
  27. package/package-lock.json +11184 -0
  28. package/package.json +1 -1
  29. package/release.bat +5 -5
  30. package/src/ManageHome.js +269 -269
  31. package/src/Staff/StaffCompileList.vue +334 -334
  32. package/src/Staff/StaffList.vue +161 -161
  33. package/src/Staff/StaffListManage.vue +49 -49
  34. package/src/Util.js +367 -367
  35. package/src/components/BasisEcharts/BarChart.vue +247 -247
  36. package/src/components/BasisEcharts/LineChart.vue +243 -243
  37. package/src/components/ManageHome/CustomerService/ContentmentStatistics.vue +135 -135
  38. package/src/components/ManageHome/CustomerService/ExcepCollect.vue +174 -174
  39. package/src/components/ManageHome/CustomerService/ReasonComplaint.vue +116 -116
  40. package/src/components/ManageHome/CustomerService/ReasonConsultation.vue +115 -115
  41. package/src/components/ManageHome/CustomerService/ServiceFix.vue +155 -155
  42. package/src/components/ManageHome/CustomerService/ServiceHome.vue +179 -179
  43. package/src/components/ManageHome/CustomerService/ServiceStatistics.vue +147 -147
  44. package/src/components/ManageHome/CustomerService/TrafficStatistics.vue +160 -160
  45. package/src/components/ManageHome/Drill/DrillData.vue +791 -791
  46. package/src/components/ManageHome/Drill/DrillList.vue +320 -320
  47. package/src/components/ManageHome/Drill/DrillPool.vue +129 -129
  48. package/src/components/ManageHome/Home/CallCenter.vue +124 -124
  49. package/src/components/ManageHome/Home/CallFix.vue +172 -172
  50. package/src/components/ManageHome/Home/CallStatistics.vue +147 -147
  51. package/src/components/ManageHome/Home/GasValue.vue +233 -233
  52. package/src/components/ManageHome/Home/Home.vue +138 -138
  53. package/src/components/ManageHome/Home/Monitor.vue +329 -329
  54. package/src/components/ManageHome/Home/NetWork.vue +202 -202
  55. package/src/components/ManageHome/Home/SafeCheck.vue +249 -249
  56. package/src/components/ManageHome/Home/UserModule.vue +367 -367
  57. package/src/components/ManageHome/ImportSupplygas/AddSupply.vue +206 -206
  58. package/src/components/ManageHome/ImportSupplygas/SuppleManagement.vue +43 -43
  59. package/src/components/ManageHome/ImportSupplygas/SupplySelect.vue +85 -85
  60. package/src/components/ManageHome/ImportSupplygas/UpdateSupply.vue +187 -187
  61. package/src/components/ManageHome/ManageHome.vue +292 -292
  62. package/src/components/ManageHome/Monitor/BuySub.vue +311 -311
  63. package/src/components/ManageHome/Monitor/Caveat.vue +300 -300
  64. package/src/components/ManageHome/Monitor/ComparedGas.vue +264 -264
  65. package/src/components/ManageHome/Monitor/MeterBrand.vue +211 -211
  66. package/src/components/ManageHome/Monitor/MonitorCenter.vue +132 -132
  67. package/src/components/ManageHome/Monitor/MonitorHome.vue +188 -188
  68. package/src/components/ManageHome/Monitor/NoBuyGas.vue +223 -223
  69. package/src/components/ManageHome/Monitor/NoContact.vue +233 -233
  70. package/src/components/ManageHome/Monitor/NoGas.vue +202 -202
  71. package/src/components/ManageHome/NetWork/LineInspection.vue +267 -267
  72. package/src/components/ManageHome/NetWork/NetDanger.vue +258 -258
  73. package/src/components/ManageHome/NetWork/NetHome.vue +84 -84
  74. package/src/components/ManageHome/NetWork/SupplyGas.vue +204 -204
  75. package/src/components/ManageHome/SecurityCheck/CheckHome.vue +94 -94
  76. package/src/components/ManageHome/SecurityCheck/CustomerType.vue +244 -244
  77. package/src/components/ManageHome/SecurityCheck/LatentDanger.vue +218 -218
  78. package/src/components/ManageHome/SecurityCheck/PlanStatistics.vue +231 -231
  79. package/src/components/ManageHome/SecurityCheck/StateStatistics.vue +237 -237
  80. package/src/components/ManageHome/SecurityCheck/TaskStatistics.vue +303 -303
  81. package/src/components/ManageHome/User/GasDistri.vue +271 -271
  82. package/src/components/ManageHome/User/InspecDistri.vue +272 -272
  83. package/src/components/ManageHome/User/SaleProportion.vue +309 -309
  84. package/src/components/ManageHome/User/UseHome.vue +155 -155
  85. package/src/components/ManageHome/User/UserGascontrast.vue +223 -223
  86. package/src/components/ManageHome/User/UserNumber.vue +519 -519
  87. package/src/components/ManageHome/User/UsernumIncrease.vue +243 -243
  88. package/src/components/ManageHome/loading.vue +23 -23
  89. package/src/components/ManageHomeCS/Cockpit.vue +43 -43
  90. package/src/components/ManageHomeCS/CustomerService/ContentmentStatistics.vue +161 -161
  91. package/src/components/ManageHomeCS/CustomerService/ExcepCollect.vue +201 -201
  92. package/src/components/ManageHomeCS/CustomerService/ReasonComplaint.vue +146 -146
  93. package/src/components/ManageHomeCS/CustomerService/ReasonConsultation.vue +148 -148
  94. package/src/components/ManageHomeCS/CustomerService/ServiceFix.vue +242 -242
  95. package/src/components/ManageHomeCS/CustomerService/ServiceHome.vue +176 -176
  96. package/src/components/ManageHomeCS/CustomerService/ServiceStatistics.vue +277 -277
  97. package/src/components/ManageHomeCS/CustomerService/TrafficStatistics.vue +226 -226
  98. package/src/components/ManageHomeCS/Drill/DrillData.vue +918 -918
  99. package/src/components/ManageHomeCS/Drill/DrillList.vue +320 -320
  100. package/src/components/ManageHomeCS/Drill/DrillPool.vue +129 -129
  101. package/src/components/ManageHomeCS/Home/CallCenter.vue +206 -206
  102. package/src/components/ManageHomeCS/Home/CallFix.vue +172 -172
  103. package/src/components/ManageHomeCS/Home/CallStatistics.vue +147 -147
  104. package/src/components/ManageHomeCS/Home/GasValue.vue +466 -466
  105. package/src/components/ManageHomeCS/Home/Home.vue +57 -57
  106. package/src/components/ManageHomeCS/Home/Monitor.vue +423 -423
  107. package/src/components/ManageHomeCS/Home/NetWork.vue +223 -223
  108. package/src/components/ManageHomeCS/Home/SafeCheck.vue +446 -446
  109. package/src/components/ManageHomeCS/Home/ShanxiMap.vue +432 -432
  110. package/src/components/ManageHomeCS/Home/UserModule.vue +511 -511
  111. package/src/components/ManageHomeCS/Home/YulinMap.vue +424 -424
  112. package/src/components/ManageHomeCS/ImportSupplygas/AddSupply.vue +206 -206
  113. package/src/components/ManageHomeCS/ImportSupplygas/SuppleManagement.vue +43 -43
  114. package/src/components/ManageHomeCS/ImportSupplygas/SupplySelect.vue +85 -85
  115. package/src/components/ManageHomeCS/ImportSupplygas/UpdateSupply.vue +187 -187
  116. package/src/components/ManageHomeCS/Monitor/BuySub.vue +339 -339
  117. package/src/components/ManageHomeCS/Monitor/Caveat.vue +301 -301
  118. package/src/components/ManageHomeCS/Monitor/ComparedGas.vue +276 -276
  119. package/src/components/ManageHomeCS/Monitor/MeterBrand.vue +220 -220
  120. package/src/components/ManageHomeCS/Monitor/MonitorCenter.vue +139 -139
  121. package/src/components/ManageHomeCS/Monitor/MonitorHome.vue +188 -188
  122. package/src/components/ManageHomeCS/Monitor/NoBuyGas.vue +218 -218
  123. package/src/components/ManageHomeCS/Monitor/NoContact.vue +217 -217
  124. package/src/components/ManageHomeCS/Monitor/NoGas.vue +214 -214
  125. package/src/components/ManageHomeCS/NetWork/LineInspection.vue +268 -268
  126. package/src/components/ManageHomeCS/NetWork/NetDanger.vue +258 -258
  127. package/src/components/ManageHomeCS/NetWork/NetHome.vue +106 -106
  128. package/src/components/ManageHomeCS/NetWork/NetWork.vue +222 -222
  129. package/src/components/ManageHomeCS/NetWork/NetWorkMap.vue +86 -86
  130. package/src/components/ManageHomeCS/NetWork/SupplyGas.vue +291 -291
  131. package/src/components/ManageHomeCS/NewHome/GasProperties.vue +314 -314
  132. package/src/components/ManageHomeCS/NewHome/NewManageHome.vue +182 -182
  133. package/src/components/ManageHomeCS/NewHome/TextBusiness.vue +267 -267
  134. package/src/components/ManageHomeCS/NewHome/TextChildsellgas.vue +209 -209
  135. package/src/components/ManageHomeCS/NewHome/TextProfit.vue +298 -298
  136. package/src/components/ManageHomeCS/NewHome/TextSellgas.vue +82 -82
  137. package/src/components/ManageHomeCS/NewHome/TextShanximap.vue +389 -389
  138. package/src/components/ManageHomeCS/NewHome/TextTotalsellgas.vue +406 -406
  139. package/src/components/ManageHomeCS/NewHome/TextUser.vue +378 -378
  140. package/src/components/ManageHomeCS/NewHome/yulin.vue +425 -425
  141. package/src/components/ManageHomeCS/Poor/PoorHome.vue +176 -176
  142. package/src/components/ManageHomeCS/SecurityCheck/CheckHome.vue +94 -94
  143. package/src/components/ManageHomeCS/SecurityCheck/CustomerType.vue +246 -246
  144. package/src/components/ManageHomeCS/SecurityCheck/LatentDanger.vue +220 -220
  145. package/src/components/ManageHomeCS/SecurityCheck/PlanStatistics.vue +306 -306
  146. package/src/components/ManageHomeCS/SecurityCheck/StateStatistics.vue +239 -239
  147. package/src/components/ManageHomeCS/SecurityCheck/TaskStatistics.vue +311 -311
  148. package/src/components/ManageHomeCS/User/FMYInspecDistri.vue +269 -269
  149. package/src/components/ManageHomeCS/User/GasDistri.vue +220 -220
  150. package/src/components/ManageHomeCS/User/MYInspecDistri.vue +269 -269
  151. package/src/components/ManageHomeCS/User/SaleProportion.vue +384 -384
  152. package/src/components/ManageHomeCS/User/UseHome.vue +162 -162
  153. package/src/components/ManageHomeCS/User/UserGascontrast.vue +221 -221
  154. package/src/components/ManageHomeCS/User/UserNumber.vue +600 -600
  155. package/src/components/ManageHomeCS/User/UsernumIncrease.vue +277 -277
  156. package/src/components/ManageHomeCS/loading.vue +39 -39
  157. package/src/components/ManageHomeCS/test.vue +88 -88
  158. package/src/components/MeterManage/ChangeMeterQuery.vue +82 -82
  159. package/src/components/MeterManage/ChargeQuery.vue +79 -79
  160. package/src/components/MeterManage/FillCardQuery.vue +80 -80
  161. package/src/components/MeterManage/FillGasQuery.vue +80 -80
  162. package/src/components/MeterManage/HandQuery.vue +72 -72
  163. package/src/components/MeterManage/MeterInfoManage.vue +107 -107
  164. package/src/components/MeterManage/MeterList.vue +336 -336
  165. package/src/components/MeterManage/MeterMsg.vue +181 -181
  166. package/src/components/MeterManage/OtherChargeQuery.vue +78 -78
  167. package/src/components/MeterManage/ReversalQuery.vue +77 -77
  168. package/src/components/MeterManage/TransferQuery.vue +72 -72
  169. package/src/components/SellReport/AmountGas.vue +257 -257
  170. package/src/components/SellReport/BankManager.vue +146 -146
  171. package/src/components/SellReport/BonSummary.vue +244 -244
  172. package/src/components/SellReport/BusinessClassify.vue +1 -1
  173. package/src/components/SellReport/BusinessMoneyReport.vue +268 -268
  174. package/src/components/SellReport/BusinessReport.vue +256 -256
  175. package/src/components/SellReport/CaiManageDayGas.vue +280 -280
  176. package/src/components/SellReport/ChManageBusSummary.vue +273 -273
  177. package/src/components/SellReport/ChManageHandSellMoney.vue +274 -274
  178. package/src/components/SellReport/ChManageMonthGas.vue +285 -285
  179. package/src/components/SellReport/ChOtherfee.vue +251 -251
  180. package/src/components/SellReport/ChSellReport.vue +251 -251
  181. package/src/components/SellReport/ChargeDayTable.vue +258 -258
  182. package/src/components/SellReport/ChargeMonthTable.vue +257 -257
  183. package/src/components/SellReport/ChargePrick.vue +50 -16
  184. package/src/components/SellReport/ChargeYearTable.vue +252 -252
  185. package/src/components/SellReport/CollectFee.vue +184 -184
  186. package/src/components/SellReport/Contrast.vue +188 -188
  187. package/src/components/SellReport/DayStairMoney.vue +256 -256
  188. package/src/components/SellReport/DepartmentPrick.vue +1 -2
  189. package/src/components/SellReport/DeptHomePage.vue +299 -299
  190. package/src/components/SellReport/FenxiangSell.vue +183 -183
  191. package/src/components/SellReport/FinanceSellType.vue +254 -0
  192. package/src/components/SellReport/FxGasTable.vue +220 -220
  193. package/src/components/SellReport/GasCollect.vue +174 -174
  194. package/src/components/SellReport/GasMeterBrand.vue +228 -228
  195. package/src/components/SellReport/GasPrice.vue +1 -1
  196. package/src/components/SellReport/GasPriceGroup.vue +228 -228
  197. package/src/components/SellReport/GasSummary.vue +257 -257
  198. package/src/components/SellReport/Gasc.vue +257 -257
  199. package/src/components/SellReport/GaspriceHas.vue +141 -141
  200. package/src/components/SellReport/GetUserNum.vue +240 -240
  201. package/src/components/SellReport/HandCollect.vue +189 -189
  202. package/src/components/SellReport/HandplanBili.vue +241 -241
  203. package/src/components/SellReport/HandplanUserCount.vue +227 -227
  204. package/src/components/SellReport/JinChengBusSummary.vue +182 -182
  205. package/src/components/SellReport/JinChengHandGas.vue +182 -182
  206. package/src/components/SellReport/JinChengOperSummary.vue +182 -182
  207. package/src/components/SellReport/JinChengSliceSumgas.vue +182 -182
  208. package/src/components/SellReport/ManageBusSummary.vue +25 -16
  209. package/src/components/SellReport/ManageBusTable.vue +207 -207
  210. package/src/components/SellReport/ManageGasFee.vue +247 -247
  211. package/src/components/SellReport/ManageGasFeeOperator.vue +236 -236
  212. package/src/components/SellReport/ManageGasPrice.vue +241 -241
  213. package/src/components/SellReport/ManageGasSumChangeTwo.vue +271 -271
  214. package/src/components/SellReport/ManageGasSumOtherCharge.vue +244 -244
  215. package/src/components/SellReport/ManageHandInputtor.vue +1 -1
  216. package/src/components/SellReport/ManageHandSellInputtor.vue +241 -241
  217. package/src/components/SellReport/ManageMonthGas.vue +249 -249
  218. package/src/components/SellReport/ManageNewGasPrice.vue +245 -245
  219. package/src/components/SellReport/ManageOtherCharge.vue +250 -250
  220. package/src/components/SellReport/ManageReceivable.vue +254 -254
  221. package/src/components/SellReport/ManageSellType.vue +1 -1
  222. package/src/components/SellReport/ManageUserCollect.vue +183 -183
  223. package/src/components/SellReport/ManageUserCount.vue +1 -1
  224. package/src/components/SellReport/MeterBill.vue +185 -185
  225. package/src/components/SellReport/MeterGasMoney.vue +226 -226
  226. package/src/components/SellReport/MeterInput.vue +250 -250
  227. package/src/components/SellReport/MeterPrice.vue +244 -244
  228. package/src/components/SellReport/MeterReader.vue +231 -231
  229. package/src/components/SellReport/MonthStairMoney.vue +256 -256
  230. package/src/components/SellReport/OperatorSellReport.vue +268 -268
  231. package/src/components/SellReport/OutletTable.vue +258 -258
  232. package/src/components/SellReport/OweAging.vue +174 -174
  233. package/src/components/SellReport/PaymentDistribute.vue +228 -228
  234. package/src/components/SellReport/PaymentMethod.vue +274 -274
  235. package/src/components/SellReport/QibiaoShouqi.vue +282 -282
  236. package/src/components/SellReport/ReportHistory.vue +80 -80
  237. package/src/components/SellReport/ReportPool.vue +60 -60
  238. package/src/components/SellReport/SaleMonthReport.vue +227 -227
  239. package/src/components/SellReport/Selling.vue +188 -188
  240. package/src/components/SellReport/SiteManager.vue +147 -147
  241. package/src/components/SellReport/UserClassify.vue +1 -1
  242. package/src/components/SellReport/UserStateStatistics.vue +188 -188
  243. package/src/components/SellReport/UsertypePie.vue +101 -101
  244. package/src/components/SellReport/WeiNanYuShou.vue +246 -246
  245. package/src/components/SellReport/XianYangDate.vue +227 -227
  246. package/src/components/SellReport/XianYangOperator.vue +228 -228
  247. package/src/components/SellReport/XyDateCharge.vue +227 -227
  248. package/src/components/SellReport/XyOperatorCharge.vue +256 -256
  249. package/src/components/SellReport/YuShouTable.vue +298 -298
  250. package/src/components/SellReport/YuShouTableTwo.vue +309 -309
  251. package/src/components/SellReport/chargeSchedule.vue +410 -410
  252. package/src/components/SellReport/jingwei/CardCharge.vue +142 -142
  253. package/src/components/SellReport/jingwei/MachineCharge.vue +141 -141
  254. package/src/components/SellReport/jingwei/PaymentNotice.vue +479 -479
  255. package/src/components/SellReport/jingwei/handplanReport.vue +280 -280
  256. package/src/components/SellReport/jingwei/widegt/PaymentNoticePrint.vue +198 -198
  257. package/src/components/SellReport/jingwei/widegt/handplanPrint.vue +143 -143
  258. package/src/components/SellReport/pengan/ManageBusPeng.vue +280 -280
  259. package/src/components/SellReport/pengan/ManageBusSummaryPeng.vue +241 -241
  260. package/src/components/SellReport/userholds.vue +257 -257
  261. package/src/components/WebReport/AbnormalInfo.vue +197 -197
  262. package/src/components/WebReport/AbnormalInfoEcharts.vue +120 -120
  263. package/src/components/WebReport/BatteryLow.vue +148 -148
  264. package/src/components/WebReport/BusinessHall.vue +85 -85
  265. package/src/components/WebReport/BussinessType.vue +137 -137
  266. package/src/components/WebReport/Communication.vue +131 -131
  267. package/src/components/WebReport/CompanyUser.vue +79 -79
  268. package/src/components/WebReport/EchartsBox.vue +110 -110
  269. package/src/components/WebReport/ElectroMagnetic.vue +142 -142
  270. package/src/components/WebReport/GaspriceHas.vue +141 -141
  271. package/src/components/WebReport/HandplanPrint.vue +167 -167
  272. package/src/components/WebReport/NotUpload.vue +165 -165
  273. package/src/components/WebReport/OweQuery.vue +169 -169
  274. package/src/components/WebReport/PaymentDistributed.vue +176 -176
  275. package/src/components/WebReport/Paymentpie.vue +157 -157
  276. package/src/components/WebReport/ReportWorklist.vue +220 -220
  277. package/src/components/WebReport/SellType.vue +89 -89
  278. package/src/components/WebReport/Telemanlist.vue +221 -221
  279. package/src/components/WebReport/UserGasAll.vue +214 -214
  280. package/src/components/WebReport/UserGasEcharts.vue +107 -107
  281. package/src/components/WebReport/UsertypePie.vue +105 -105
  282. package/src/components/WebReport/ValueEcharts.vue +99 -99
  283. package/src/components/WebReport/ValueInfo.vue +194 -194
  284. package/src/components/daping/DataManagement.vue +11 -22
  285. package/src/components/daping/ManageMain.vue +5 -2
  286. package/src/components/daping/RedactDaPing.vue +94 -80
  287. package/src/components/daping/SafecheckBarChart.vue +5 -1
  288. package/src/components/qinhua/BarChartLine.vue +288 -288
  289. package/src/components/qinhua/ManageMain.vue +162 -162
  290. package/src/components/qinhua/Ring.vue +165 -165
  291. package/src/components/qinhua/SafeCheckRing.vue +149 -149
  292. package/src/components/qinhua/SafecheckBarChart.vue +209 -209
  293. package/src/components/qinhua/Scada.vue +93 -93
  294. package/src/components/qinhua/SellEcharts.vue +2 -2
  295. package/src/components/safecheck/analysis/SafeHiddenAnaly.vue +932 -932
  296. package/src/components/safecheck/planCheck/chanceSituation.vue +149 -149
  297. package/src/components/safecheck/planCheck/checkFamily.vue +217 -217
  298. package/src/components/safecheck/planCheck/hidderDanger.vue +179 -179
  299. package/src/components/safecheck/planCheck/inFamily.vue +185 -185
  300. package/src/components/sale/businessquery/AccountQuery/TransactionSummary.vue +373 -373
  301. package/src/components/sale/businessquery/BalanceQuery.vue +456 -456
  302. package/src/components/sale/businessquery/BusinessManage.vue +3 -0
  303. package/src/components/sale/businessquery/ChangeMeterQuery.vue +15 -5
  304. package/src/components/sale/businessquery/FillGasQuery.vue +35 -1
  305. package/src/components/sale/businessquery/InfoOperateRecord.vue +291 -0
  306. package/src/components/sale/businessquery/InspectManage.vue +47 -47
  307. package/src/components/sale/businessquery/NewAccountQuery.vue +409 -409
  308. package/src/components/sale/businessquery/OtherChargeDetailQuery.vue +74 -74
  309. package/src/components/sale/businessquery/ResourceOperatingQuery.vue +317 -317
  310. package/src/components/sale/businessquery/TongjiManage.vue +74 -74
  311. package/src/components/sale/businessquery/UserTongjiQuery.vue +358 -358
  312. package/src/components/sale/businessquery/YearGasQuery.vue +422 -422
  313. package/src/components/sale/businessquery/analysisquery/AnalysisManage.vue +65 -65
  314. package/src/components/sale/businessquery/weChatBind.vue +361 -361
  315. package/src/components/sale/common/PrintData.vue +171 -171
  316. package/src/components/sale/common/PrintDataSelf.vue +225 -225
  317. package/src/components/sale/common/PrintTable.vue +228 -228
  318. package/src/components/sale/common/PrintTableSelf.vue +251 -251
  319. package/src/components/sale/common/TabButton.vue +155 -155
  320. package/src/components/sale/common/Tabs.vue +67 -67
  321. package/src/components/sale/common/handplanUser.vue +112 -112
  322. package/src/components/sale/config/DefaultPrint.js +6 -6
  323. package/src/components/sale/config/exportConfig.js +1 -1
  324. package/src/components/sale/config/tableConfig.js +48 -48
  325. package/src/components/sale/filesquery/detail/UserBaseInfo.vue +69 -69
  326. package/src/components/sale/filesquery/detail/UserDetail.vue +41 -41
  327. package/src/components/sale/filesquery/detail/UserOperInfo.vue +76 -76
  328. package/src/components/sale/filesquery/detail/oper/ChangeMessage.vue +46 -46
  329. package/src/components/sale/filesquery/detail/oper/ExchangeOper.vue +66 -66
  330. package/src/components/sale/filesquery/detail/oper/HandOper.vue +46 -46
  331. package/src/components/sale/filesquery/detail/oper/HandleMessage.vue +46 -46
  332. package/src/components/sale/filesquery/detail/oper/OtherCharge.vue +54 -54
  333. package/src/components/sale/filesquery/detail/oper/ReplaceCard.vue +51 -51
  334. package/src/components/sale/filesquery/detail/oper/SellOper.vue +56 -56
  335. package/src/components/sale/filesquery/detail/oper/TransferMessage.vue +55 -55
  336. package/src/components/sale/filesquery/filequerydetail/BlackListQueryDetail.vue +219 -219
  337. package/src/components/sale/filesquery/filequerydetail/ChangeMeterQueryDetail.vue +246 -246
  338. package/src/components/sale/filesquery/filequerydetail/ChargeQueryDetail.vue +239 -239
  339. package/src/components/sale/filesquery/filequerydetail/DeviceQueryDetail.vue +126 -126
  340. package/src/components/sale/filesquery/filequerydetail/DisableQueryDetail.vue +272 -272
  341. package/src/components/sale/filesquery/filequerydetail/EnableQueryDetail.vue +274 -274
  342. package/src/components/sale/filesquery/filequerydetail/FillCardQueryDetail.vue +80 -80
  343. package/src/components/sale/filesquery/filequerydetail/FillGasQueryDetail.vue +80 -80
  344. package/src/components/sale/filesquery/filequerydetail/HandQueryDetail.vue +302 -302
  345. package/src/components/sale/filesquery/filequerydetail/MeterQueryDetail.vue +158 -158
  346. package/src/components/sale/filesquery/filequerydetail/OtherChargeQueryDetail.vue +198 -198
  347. package/src/components/sale/filesquery/filequerydetail/RecordQueryDetail.vue +125 -125
  348. package/src/components/sale/filesquery/filequerydetail/SellingHandDetail.vue +280 -280
  349. package/src/components/sale/filesquery/filequerydetail/TransferQueryDetail.vue +160 -160
  350. package/src/components/sale/filesquery/filequerydetail/UserQueryDetail.vue +155 -155
  351. package/src/components/sale/report/aode/DayReport.vue +50 -50
  352. package/src/components/sale/report/aode/DayReportSummary.vue +75 -75
  353. package/src/components/sale/report/aode/MonthByChargeType.vue +446 -446
  354. package/src/components/sale/report/aode/MonthByUserType.vue +413 -413
  355. package/src/components/sale/report/aode/YearByChargeTpye.vue +215 -215
  356. package/src/components/sale/report/aode/YearByUserType.vue +272 -272
  357. package/src/components/sale/report/aode/life/LifeDayReport.vue +50 -50
  358. package/src/components/sale/report/aode/life/LifeDayReportList.vue +241 -241
  359. package/src/components/sale/report/aode/life/LifeDayReportSummary.vue +49 -49
  360. package/src/components/sale/report/aode/life/LifeMonthReport.vue +303 -303
  361. package/src/components/sale/report/aode/life/LifeYearReport.vue +175 -175
  362. package/src/components/sale/report/aode/widget/LifeDayReportListPrint.vue +189 -189
  363. package/src/components/sale/report/aode/widget/LifeMonthPrint.vue +153 -153
  364. package/src/components/sale/report/aode/widget/LifeYearPrint.vue +143 -143
  365. package/src/components/sale/report/aode/widget/MonthByChargePrint.vue +236 -236
  366. package/src/components/sale/report/aode/widget/MonthByUserPrint.vue +232 -232
  367. package/src/components/sale/report/aode/widget/YearByChargePrint.vue +203 -203
  368. package/src/components/sale/report/aode/widget/YearByUserPrint.vue +225 -225
  369. package/src/components/scada/CaculateGasConsumputionByDay/CaculateGasConsumputionByDay.vue +290 -290
  370. package/src/components/scada/ChartDisplay/ChartDisplayManage.vue +55 -55
  371. package/src/components/scada/ChartDisplay/ChartThreeDayContrast.vue +164 -164
  372. package/src/components/scada/CumulativeFlow/CumulativeFlowHeatPlant.vue +400 -400
  373. package/src/components/scada/CumulativeFlow/CumulativeFlowManage.vue +59 -59
  374. package/src/components/scada/CumulativeFlow/CumulativeFlowRegulatorStation.vue +504 -504
  375. package/src/components/scada/CumulativeFlow/CumulativeFlowStation.vue +248 -248
  376. package/src/components/scada/GasSupplyRunning/GasSupplyRunningByDay.vue +297 -297
  377. package/src/components/scada/InstantaneousFlow/InstantaneousFlowHeatPlant.vue +389 -389
  378. package/src/components/scada/InstantaneousFlow/InstantaneousFlowManage.vue +57 -57
  379. package/src/components/scada/InstantaneousFlow/InstantaneousFlowRegulatorStation.vue +503 -503
  380. package/src/components/scada/InstantaneousFlow/InstantaneousFlowStation.vue +244 -244
  381. package/src/components/scada/OnTimePressure/OnTimePressureHeatPlant.vue +356 -356
  382. package/src/components/scada/OnTimePressure/OnTimePressureManage.vue +51 -51
  383. package/src/components/scada/OnTimePressure/OnTimePressureRegulatorStation.vue +526 -526
  384. package/src/components/scada/ThreeDayContrast/ThreeDayContrastManage.vue +282 -282
  385. package/src/components/webmeter/DrillData/LargeScreenAnalysisEcharts.vue +710 -710
  386. package/src/components/webmeter/DrillData/LostContactAnalysis.vue +531 -531
  387. package/src/components/webmeter/DrillData/LostContactAnalysisManage.vue +30 -30
  388. package/src/components/webmeter/DrillData/LostContactEform.vue +190 -190
  389. package/src/components/webmeter/dataCollection/DataCollection.vue +676 -676
  390. package/src/components/webmeter/gasAnalysis/GasAnalysisEcharts.vue +144 -144
  391. package/src/components/webmeter/gasAnalysis/GasAnalysisSummary.vue +162 -162
  392. package/src/components/webmeter/handplan/NewWebMeterHandPlan.vue +745 -745
  393. package/src/components/webmeter/handplan/NewWebmeterHandPlanMain.vue +59 -59
  394. package/src/components/webmeter/indicatorStatisticsEchars.vue +204 -204
  395. package/src/components/webmeter/indicatorStatisticsMain.vue +257 -257
  396. package/src/components/webmeter/instruction/NewQueryInstruct.vue +445 -396
  397. package/src/components/webmeter/meterinfo/NewMeterList.vue +414 -414
  398. package/src/components/webmeter/meterinfo/NewMeterListMain.vue +53 -53
  399. package/src/components/webmeter/newwebmeter/NewException/NewExceptionEform.vue +149 -149
  400. package/src/components/webmeter/newwebmeter/NewException/NewExceptionEformTotal.vue +211 -211
  401. package/src/components/webmeter/newwebmeter/NewException/NewMeterException.vue +449 -449
  402. package/src/components/webmeter/newwebmeter/UserInstructEchartsList.vue +286 -286
  403. package/src/components/yulin/GuanWang.vue +24 -24
  404. package/src/components/yulin/SingleBarLine.vue +352 -352
  405. package/src/components/yulin/Weather.vue +157 -157
  406. package/src/expandcss.less +26 -26
  407. package/src/filiale/WEINAN/InspectListUser.vue +492 -492
  408. package/src/filiale/WEINAN/OtherChargeQuery.vue +521 -521
  409. package/src/filiale/alashan/SellingTable.vue +10 -7
  410. package/src/filiale/aode/ArchivesManage.vue +38 -38
  411. package/src/filiale/aode/BusinessManage.vue +94 -94
  412. package/src/filiale/aode/DefaultPrint.js +6 -6
  413. package/src/filiale/aode/HandplanQuery.vue +632 -632
  414. package/src/filiale/aode/Tabs.vue +67 -67
  415. package/src/filiale/aode/UserQuery.vue +599 -599
  416. package/src/filiale/aode/sale.js +17 -17
  417. package/src/filiale/ceshi/ArrearsQuery.vue +642 -642
  418. package/src/filiale/ceshi/ChManageBusSummary.vue +293 -293
  419. package/src/filiale/ceshi/CollectManage.vue +94 -94
  420. package/src/filiale/ceshi/MeterRateQuery.vue +633 -633
  421. package/src/filiale/ceshi/TabButton.vue +149 -149
  422. package/src/filiale/ceshi/Tabs.vue +69 -69
  423. package/src/filiale/ceshi/reportManage.js +5 -5
  424. package/src/filiale/ceshi/sale.js +11 -11
  425. package/src/filiale/gaomi/config/DefaultPrint.js +6 -6
  426. package/src/filiale/gaomi/config/tableConfig.js +47 -47
  427. package/src/filiale/gongyi/sale/businessquery/exportConfig.js +17 -17
  428. package/src/filiale/gongyi/sale/filesquery/MeterQuery.vue +718 -718
  429. package/src/filiale/liaoyuan/sale.js +11 -11
  430. package/src/filiale/macheng/config/DefaultPrint.js +12 -12
  431. package/src/filiale/qingtongxia/config/DefaultPrint.js +6 -6
  432. package/src/filiale/qingtongxia/sale.js +13 -13
  433. package/src/filiale/shaoguan/OtherChargeDetailQuery.vue +74 -74
  434. package/src/filiale/shaoguan/config/DefaultPrint.js +6 -6
  435. package/src/filiale/shennongjia/config/DefaultPrint.js +6 -6
  436. package/src/filiale/shennongjia/config/tableConfig.js +47 -47
  437. package/src/filiale/shennongjia/sale.js +10 -10
  438. package/src/filiale/tongchuan/ResSelectGroupNew.vue +176 -176
  439. package/src/filiale/tongchuan/ResSelectNew.vue +144 -144
  440. package/src/filiale/tongchuan/sale.js +12 -12
  441. package/src/plugins/GetLoginInfoService.js +505 -505
  442. package/src/plugins/LodopFuncs.js +124 -124
  443. package/src/plugins/getAllInputtor.js +29 -29
  444. package/src/reportManage.js +4 -0
  445. package/src/safeCheck.js +63 -63
  446. package/src/saleManage.js +522 -520
  447. package/src/stores/AppData.js +62 -62
  448. package/src/stores/DataSql.js +585 -585
  449. package/src/stores/DrillECharts.js +602 -602
  450. package/src/stores/DrillSql.js +888 -888
  451. package/src/stores/GetParames.js +15 -15
  452. package/src/stores/MagGetSaleParams.js +156 -156
  453. package/src/stores/MagLoadParams.js +63 -63
  454. package/src/stores/Util.js +132 -132
  455. package/src/stores/shanxi1.js +26 -26
  456. package/src/stores/yulin.js +27 -27
  457. package/src/webmeterManage.js +105 -105
  458. package/static/china.json +1 -1
  459. package/static/qh.json +2410 -2410
  460. package/static/res.json +58411 -58411
  461. package/static/shanxi1.json +1 -1
  462. package/static/yulin.json +1 -1
  463. package/static//345/261/261/344/270/234/347/234/201.json +1 -1
  464. package/test/unit/.eslintrc +5 -5
  465. package/test/unit/TestUtil.js +35 -35
  466. package/test/unit/context.html +20 -20
  467. package/test/unit/index.js +13 -13
  468. package/test/unit/init.js +11 -11
  469. package/test/unit/karma.conf.js +45 -45
  470. package/test/unit/specs/components/CallReport/Repair.spec.js +25 -25
  471. package/test/unit/specs/components/ManageBusiness/EquipmentQuery.spec.js +21 -21
  472. package/test/unit/specs/components/ManageBusiness/TableWithQuery.spec.js +21 -21
  473. package/test/unit/specs/components/ManageBusiness/UserQuery.spec.js +21 -21
  474. package/webstorm.config.js +13 -13
@@ -1,531 +1,531 @@
1
- <template>
2
- <div id='app1' class="basic-main" v-show="(!echarts)&&(!isActiveTotalForm)">
3
- <criteria-paged :model="model" :pager='true' v-ref:paged>
4
- <criteria partial='criteria' @condition-changed='$parent.search' v-ref:cri>
5
- <div novalidate class="form-horizontal select-overspread container-fluid auto" novalidate partial>
6
- <div class="row" >
7
- <!--<div class="form-group">-->
8
- <!--<input @keyup.enter="search" style="width:60%" type="text" class="input_search" v-model="model.f_username" placeholder='客户名称'-->
9
- <!--condition="f_user_name = '{}'" v-next-el='userid' v-el:username-->
10
- <!--:size="model.f_user_name ? model.f_user_name.length * 2 : 8">-->
11
- <!--</div>-->
12
- <div class="col-sm-2">
13
- <label class="font_normal_body">表&nbsp;钢&nbsp;号&nbsp;</label>
14
- <input @keyup.enter="search" style="width:60%" type="text" class="input_search" v-model="model.f_meternumber" placeholder='表钢号'
15
- condition="u.f_meternumber like '%{}%'" v-next-el='meternumber' v-el:meternumber
16
- >
17
- </div>
18
- <div class="col-sm-2">
19
- <label class="font_normal_body">组织机构</label>
20
- <res-select :initresid="$parent.$parent.orgid"
21
- style="width:60%"
22
- @res-select="$parent.$parent.getRes"
23
- restype='organization'>
24
- </res-select>
25
- </div>
26
- <div class="col-sm-2">
27
- <label class="font_normal_body">客户编号</label>
28
- <input @keyup.enter="search" style="width:60%" type="text" class="input_search" v-model="model.f_userinfo_code" placeholder='客户编号'
29
- condition="f_userinfo_code like '%{}%'" v-el:xq v-next-el='userinfocode' v-el:username
30
- >
31
- </div>
32
- <div class="col-sm-2">
33
- <label class="font_normal_body">客户名称</label>
34
- <input @keyup.enter="search" style="width:60%" type="text" class="input_search" v-model="model.f_user_name" placeholder='客户名称'
35
- condition="f_user_name like '%{}%'" v-el:xq v-next-el='username' v-el:username
36
- >
37
- </div>
38
-
39
-
40
- <div style="float:right">
41
- <button class="button_search button_spacing" @click="search()">查询</button>
42
- <button class="button_clear button_spacing" @click="$parent.$parent.clearmsg">清空</button>
43
- <export-excel :data="$parent.$parent.getCondition" class="button_export button_spacing"
44
- :field="$parent.$parent.getfield" :sumname="$parent.$parent.sumName"
45
- sqlurl="rs/logic/exportfile" sql-name="webmeter_getNewLoseQuery" template-name='失联分析'
46
- :choose-col="true"></export-excel>
47
- <!-- <button class="button_export button_spacing" @click="$parent.$parent.SaveAsFile('lostuserlist')">导出</button>-->
48
- <button class="button_export button_spacing" style="width: max-content" @click="$parent.$parent.showTotalForm()">显示汇总</button>
49
- <!-- <button class="button_search button_spacing" @click="$parent.$parent.showEcharts()">显示图表</button>-->
50
- <div style="float: right" class="button_spacing" :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.hidden()"></div>
51
- </div>
52
- </div>
53
- <div class="row" v-show="$parent.$parent.criteriaShow">
54
- <div class="col-sm-2">
55
- <label class="font_normal_body">客户地址</label>
56
- <input @keyup.enter="search" style="width:60%" type="text" class="input_search" v-model="model.f_area" placeholder='地址'
57
- condition="a.f_address like '%{}%'" v-el:xq v-next-el='address' v-el:area
58
- >
59
- </div>
60
- <div class="col-sm-2">
61
- <label class="font_normal_body">客户类型</label>
62
- <v-select style="width:60%" id="f_user_type"
63
- v-model="model.f_user_type"
64
- placeholder='客户类型'
65
- :value.sync="model.f_user_type"
66
- :options='$parent.$parent.usertypes'
67
- condition="u.f_user_type = '{}'"
68
- close-on-select>
69
- </v-select>
70
- </div>
71
- <div class="col-sm-2">
72
- <label class="font_normal_body">用气性质</label>
73
- <v-select style="width:60%" id="f_gasproperties"
74
- v-model="model.f_gasproperties"
75
- placeholder='用气性质'
76
- :value.sync="model.f_gasproperties"
77
- :options='$parent.$parent.Gasproperties'
78
- condition="u.f_gasproperties = '{}'"
79
- close-on-select>
80
- </v-select>
81
- </div>
82
-
83
- <!--<div class="col-sm-2">-->
84
- <!--<label class="font_normal_body">最新状态</label>-->
85
- <!-- <v-select style="width:60%" id="f_state"-->
86
- <!--v-model="model.f_state"-->
87
- <!--placeholder='最新状态'-->
88
- <!--:value.sync="model.f_state"-->
89
- <!--:options='$parent.$parent.getstate'-->
90
- <!--condition="f_state = '{}'"-->
91
- <!--close-on-select>-->
92
- <!--</v-select>-->
93
- <!--</div>-->
94
- <div class="col-sm-2">
95
- <label class="font_normal_body">上报区间</label>
96
- <datepicker style="width:60%" id="startdate" placeholder="开始时间"
97
- v-model="model.startDate"
98
- :value.sync="model.startDate"
99
- :disabled-days-of-Week="[]"
100
- :format="'yyyy-MM-dd HH:mm:ss'"
101
-
102
- :show-reset-button="reset">
103
- </datepicker>
104
- </div>
105
- <div class="col-sm-2">
106
- <label class="font_normal_body" >&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;至&nbsp;&nbsp;&nbsp;</label>
107
- <datepicker style="width:60%" id="enddate" placeholder="结束日期"
108
- v-model="model.endDate"
109
- :value.sync="model.endDate"
110
- :disabled-days-of-Week="[]"
111
- :format="'yyyy-MM-dd HH:mm:ss'"
112
-
113
- :show-reset-button="reset">
114
- </datepicker>
115
- </div>
116
- <div class="col-sm-2">
117
- <label class="font_normal_body">安装日期</label>
118
- <datepicker style="width:60%" id="start" placeholder="开始时间"
119
- v-model="model.startdate"
120
- :value.sync="model.startdate"
121
- :disabled-days-of-Week="[]"
122
- :format="'yyyy-MM-dd HH:mm:ss'"
123
- condition="u.f_gas_date >= '{}'"
124
- :show-reset-button="reset">
125
- </datepicker>
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;&nbsp;&nbsp;</label>
129
- <datepicker style="width:60%" id="end" placeholder="结束日期"
130
- v-model="model.enddate"
131
- :value.sync="model.enddate"
132
- :disabled-days-of-Week="[]"
133
- :format="'yyyy-MM-dd HH:mm:ss'"
134
- condition="u.f_gas_date <= '{}'"
135
- :show-reset-button="reset">
136
- </datepicker>
137
- </div>
138
- <div class="col-sm-2">
139
- <label class="font_normal_body">最长失联</label>
140
- <input @keyup.enter="search" style="width:60%" type="text" class="input_search" v-model="model.max_days1" placeholder='天数大于等于'
141
- condition="max_days >= {}" v-next-el='max_days' v-el:max_days
142
- >
143
- </div>
144
- <div class="col-sm-2">
145
- <label class="font_normal_body" style="word-break:keep-all;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;至&nbsp;&nbsp;&nbsp;</label>
146
- <input @keyup.enter="search" style="width:60%" type="text" class="input_search" v-model="model.max_days2" placeholder='天数小于等于'
147
- condition="max_days <= {}" v-next-el='max_days' v-el:max_days
148
- >
149
- </div>
150
- <div class="col-sm-2">
151
- <label class="font_normal_body">合计失联</label>
152
- <input @keyup.enter="search" style="width:60%" type="text" class="input_search" v-model="model.all_days1" placeholder='天数大于等于'
153
- condition="all_days >= {}" v-next-el='all_days' v-el:all_days
154
- >
155
- </div>
156
- <div class="col-sm-2">
157
- <label class="font_normal_body" style="word-break:keep-all;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;至&nbsp;&nbsp;&nbsp;</label>
158
- <input @keyup.enter="search" style="width:60%" type="text" class="input_search" v-model="model.all_days2" placeholder='天数小于等于'
159
- condition="all_days <= {}" v-next-el='all_days' v-el:all_days
160
- >
161
- </div>
162
- <!--<div class="col-sm-2">-->
163
- <!--<label class="font_normal_body">最新失联</label>-->
164
- <!--<input @keyup.enter="search" style="width:60%" type="text" class="input_search" v-model="model.new_days1" placeholder='天数大于等于'-->
165
- <!--condition="new_days >= {}" v-next-el='new_days' v-el:new_days-->
166
- <!--&gt;-->
167
- <!--</div>-->
168
- <!--<div class="col-sm-2">-->
169
- <!--<label class="font_normal_body" style="word-break:keep-all;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;至&nbsp;&nbsp;&nbsp;</label>-->
170
- <!--<input @keyup.enter="search" style="width:60%" type="text" class="input_search" v-model="model.new_days2" placeholder='天数小于等于'-->
171
- <!--condition="new_days <= {}" v-next-el='new_days' v-el:new_days-->
172
- <!--&gt;-->
173
- <!--</div>-->
174
-
175
- </div>
176
-
177
-
178
-
179
- <!--:top='40' :left='60' :right='40' :bottom='60'-->
180
- <!--:thead='"<th>序号</th>\n"+-->
181
- <!--"<th>档案编号</th>" +-->
182
- <!--" <th>档案标识</th>"+-->
183
- <!--"<th>客户名称</th>"+-->
184
- <!--"<th>表号</th"+-->
185
- <!--"<th>表具类型</th>"+-->
186
- <!--"<th>客户类型</th>"+-->
187
- <!--"<th>区域</th>"+-->
188
- <!--"<th>小区</th>"+-->
189
- <!--"<th>地址</th>"+-->
190
- <!--"<th>用气气量</th>"+-->
191
- <!--"<th>用气金额</th>"-->
192
- <!--+"<th>用气价格</th>"-->
193
- <!--+"<th>时间</th>"-->
194
- <!--+"<th>所属机构</th>"'-->
195
- <!--:fields='["$index+1","f_username","f_meternumber","f_usertype","f_save_money","f_operate_status","f_close_reason","f_area","f_districtname","f_address","id","yytdepa"]'>-->
196
- <!--</print-table>-->
197
- <!--<export-excel :data="{orderitem: 'lastinputdate desc', condition: '1=1'}"-->
198
- <!--:field="{f_username: '客户名称', f_meternumber: '表号',f_usertype:'客户类型',f_save_money:'剩余金额',-->
199
- <!--f_operate_status:'状态',f_close_reason:'关阀原因',f_area:'区域',f_districtname:'小区', f_address: '地址',id:'档案编号',yytdepa:'所属机构'}"-->
200
- <!--sqlurl="rs/sql/getUserGas"></export-excel>-->
201
-
202
- </div>
203
- </criteria>
204
- <data-grid id="lostuserlist" :model="model" partial='list' v-ref:grid class="list_area table_sy">
205
- <template partial='head'>
206
- <tr>
207
- <th style="text-align:center">
208
- <nobr>序号</nobr>
209
- </th>
210
- <th style="text-align:center">
211
- <nobr>组织机构</nobr>
212
- </th>
213
- <!--<th rowspan="2" style="text-align:center"><nobr>客户编号</nobr></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" title="指查询时间区间内,连续失联最长的天数">
236
- <nobr>最长失联天数</nobr>
237
- </th>
238
- <th style="text-align:center" title="指查询时间区间内,共计失联的总天数">
239
- <nobr>合计失联天数</nobr>
240
- </th>
241
- <th style="text-align:center">
242
- <nobr>最长失联类型</nobr>
243
- </th>
244
- <th style="text-align:center">
245
- <nobr>合计失联类型</nobr>
246
- </th>
247
- <th style="text-align:center" title="指查询时间区间内,首次上报的日期">
248
- <nobr>期初上报日期</nobr>
249
- </th>
250
- <th style="text-align:center" title="指查询时间区间内,最后上报的日期">
251
- <nobr>期末上报日期</nobr>
252
- </th>
253
- <th style="text-align:center">
254
- <nobr>期间上报次数</nobr>
255
- </th>
256
- <!--<th style="text-align:center" title="指该表具最后一次上报日期到当前日期相差天数">-->
257
- <!--<nobr>最新失联天数</nobr>-->
258
- <!--</th>-->
259
- <!--<th style="text-align:center" title="指该表具最新的失联情况">-->
260
- <!--<nobr>最新状态</nobr>-->
261
- <!--</th>-->
262
-
263
- </tr>
264
-
265
- </template>
266
- <template partial='body'>
267
- <td style="text-align:center">{{$index+1}}</td>
268
- <!--<td style="text-align:center">{{row.f_userfiles_id}}</td>-->
269
- <td style="text-align:center"><nobr>{{row.f_orgname}}</nobr></td>
270
- <td style="text-align:center"><nobr>{{row.f_meternumber}}</nobr></td>
271
- <td style="text-align:center">{{row.f_userinfo_code}}</td>
272
- <td style="text-align:center"><nobr>{{row.f_user_name}}</nobr></td>
273
- <td>
274
- <nobr>{{row.f_address}}</nobr>
275
- </td>
276
- <td style="text-align:center">
277
- <nobr>{{row.f_gas_date}}</nobr>
278
- </td>
279
- <td style="text-align:center">{{row.f_user_type}}</td>
280
- <td style="text-align:center">{{row.f_gasproperties}}</td>
281
- <td style="text-align:center">{{row.max_days}}</td>
282
- <td style="text-align:center">{{row.all_days}}</td>
283
- <td style="text-align:center">
284
- <nobr>{{row.max_days_type}}</nobr>
285
- </td>
286
- <td style="text-align:center">
287
- <nobr>{{row.all_days_type}}</nobr>
288
- </td>
289
- <td style="text-align:center">
290
- <nobr>{{row.min_insert_date}}</nobr>
291
- </td>
292
- <td style="text-align:center">
293
- <nobr>{{row.max_insert_date}}</nobr>
294
- </td>
295
- <td style="text-align:center">{{row.c}}</td>
296
- <!--<td style="text-align:center">{{row.new_days}}</td>-->
297
- <!--<td style="text-align:center">{{row.f_state}}</td>-->
298
-
299
- </template>
300
- </data-grid>
301
- </criteria-paged>
302
- </div>
303
- <div v-show="echarts" style="height: 40px;width: 100%;">
304
- <div style="display: inline-block;">
305
- <button class="button_search button_spacing" @click="notShowEcharts()">隐藏图表</button>
306
- </div>
307
- <div class="mystyle" style="display: inline-block;">
308
- <label class="font_normal_body">图表统计项</label>
309
- <v-select style="width:60%" id="Groupname" v-model="groupname"
310
- placeholder='分组项'
311
- value-single="true"
312
- :value.sync="groupname"
313
- :options='getgroupname'
314
- close-on-select></v-select>
315
- </div>
316
- </div>
317
- <div class="span" v-show="echarts" style="width: 100%;height: 90%;">
318
- <lost-contact-echarts :groupname="groupname[0]" :condition="condition" :startdate="startDate"
319
- :enddate="endDate" :echarts="echarts"></lost-contact-echarts>
320
- </div>
321
- <!-- <div v-show="isActiveTotalForm" style="height: 40px;width: 100%;">-->
322
- <!-- <button class="button_search button_spacing" @click="notShowTotalForm()">隐藏汇总</button>-->
323
- <!-- </div>-->
324
- <div class="span" v-show="isActiveTotalForm" style="width: 100%;height: 90%;">
325
- <lost-contact-eform :condition="condition" :startdate="startDate"
326
- :enddate="endDate"></lost-contact-eform>
327
- </div>
328
- </template>
329
-
330
- <script>
331
- import {PagedList} from 'vue-client'
332
- import UserGasEcharts from './UserGasEcharts'
333
- import * as Util from '../../../Util'
334
- import getLodop from '../../../plugins/LodopFuncs'
335
- import plugins from '../../../plugins/GetLoginInfoService'
336
- export default {
337
- title: '失联分析',
338
- props: ['data'],
339
- components: {UserGasEcharts},
340
- data() {
341
- return {
342
- model: new PagedList('rs/sql/webmeter_getNewLoseQuery', 20, {
343
- startDate: 'this.model.startDate',
344
- endDate: 'this.model.endDate'
345
- }),
346
- getfield:{"f_orgname":"组织机构","f_meternumber":"表钢号",
347
- "f_userinfo_code":"客户编号","f_user_name":"客户名称",
348
- "f_address":"客户地址",
349
- "f_gas_date":"安装日期","f_user_type":"客户类型",
350
- "f_gasproperties":"用气性质","max_days":"最长失联天数",
351
- "all_days":"合计失联天数",
352
- "max_days_type":"最长失联类型","all_days_type":"合计失联类型",
353
- "min_insert_date":"期初上报日期","max_insert_date":"期末上报日期",
354
- "c":"期间上报次数"},
355
- reportStr: null,
356
- show: false,
357
- startDate: '',
358
- endDate: '',
359
- criteriaShow:false,
360
- outlets: [],
361
- operator: [],
362
- filename: '',
363
- orgCondtionStr: '(' + this.$login.f.orgid + ')',
364
- echarts: false,
365
- orgid:[this.$login.f.orgid],
366
- searchshow: false,
367
- isActiveTotalForm: false,
368
- condition: '1=1',
369
- groupname: ['max_days_type'],
370
- getgroupname: [
371
- {label: '客户类型', value: 'f_user_type'},
372
- {label: '用气性质', value: 'f_gasproperties'},
373
- {label: '分公司', value: 'f_orgname'},
374
- {label: '最长失联天数', value: 'max_days_type'},
375
- {label: '合计失联天数', value: 'all_days_type'}
376
- ],
377
- obj: {
378
- userid: this.$login.f.id,
379
- source: `tool.getFullTree(this.getRights().where(row.getType() == $organization$))`,
380
- res: this.$login.f.f_fengongsi,
381
- resids: this.$login.f.f_orgid
382
- }
383
- }
384
- },
385
- ready() {
386
- this.$refs.paged.$refs.cri.model.startDate = Util.toStandardDateString() + ' 00:00:00'
387
- this.$refs.paged.$refs.cri.model.endDate = Util.toStandardDateString() + ' 23:59:59'
388
- this.$refs.paged.$refs.cri.search()
389
- },
390
- methods: {
391
- hidden(){
392
- this.criteriaShow = !this.criteriaShow
393
- },
394
- clickshow() {
395
- this.searchshow = !this.searchshow
396
- },
397
- search(args) {
398
- this.startDate = this.$refs.paged.$refs.cri.model.startDate
399
- this.endDate = this.$refs.paged.$refs.cri.model.endDate
400
- if (this.endDate == '' || this.startDate == '') {
401
- return this.$showMessage("时间区间的开始和结束时间不能为空!")
402
- }
403
- if (this.orgCondtionStr){
404
- this.condition = this.$refs.paged.$refs.cri.condition + `and u.f_orgid in ${this.orgCondtionStr}`
405
- }
406
- else
407
- this.condition = this.$refs.paged.$refs.cri.condition
408
- args.condition = this.condition
409
- this.model.search(args.condition, args.model)
410
- },
411
- getRes(obj) {
412
- this.orgCondtionStr = plugins.convertToIn(obj)
413
- },
414
- // SaveAsFile(str) {
415
- // this.$showMessage('您是否需要导出本页数据?', ['confirm', 'cancel']).then((res) => {
416
- // if (res === 'confirm') {
417
- // let style = '<style>' +
418
- // 'td {border-width: 1px;padding: 2px;border-style: solid; border-color:black; border-collapse:collapse;} .tdright{text-align: right;} .tdcenter{text-align: center;}</style>';
419
- // let strHtml = style + document.getElementById(str).innerHTML;
420
- // console.log(strHtml);
421
- // let LODOP = getLodop();
422
- // LODOP.PRINT_INIT('');
423
- // LODOP.ADD_PRINT_TABLE(5, 5, '99%', '100%', strHtml);
424
- // LODOP.SAVE_TO_FILE('失联分析.xls')
425
- // }
426
- // })
427
- // },
428
- clearmsg() {
429
- this.$refs.paged.$refs.cri.model = {}
430
- },
431
- close() {
432
- this.show = false
433
- },
434
- // 显示柱状图
435
- showEcharts() {
436
- this.echarts = true
437
- this.isActiveTotalForm = false
438
- },
439
- notShowTotalForm() {
440
- this.echarts = false
441
- this.isActiveTotalForm = false
442
- },
443
- // 不显示柱状图
444
- notShowEcharts() {
445
- this.echarts = false
446
- this.isActiveTotalForm = false
447
- },
448
- // 显示汇总数据表格
449
- showTotalForm() {
450
- this.echarts = false
451
- this.isActiveTotalForm = true
452
- }
453
- },
454
- watch: {
455
- 'data'(val) {
456
- if (val.f_files_path) {
457
- this.getFileContent(val.f_files_path)
458
- } else {
459
- this.reportStr = null
460
- }
461
- }
462
- },
463
- computed: {
464
- // usertypes () {
465
- // return this.$appdate.getParams("客户类型")
466
- // },
467
- getCondition() {
468
- var con=""
469
- if (this.orgCondtionStr) {
470
- con= `${this.$refs.paged.$refs.cri.condition} and u.f_orgid in ${this.orgCondtionStr}`
471
- }
472
- else{
473
- con= `${this.$refs.paged.$refs.cri.condition} `
474
- }
475
- return {
476
- condition: con ,
477
- startDate:`${this.$refs.paged.$refs.cri.model.startDate}`,
478
- endDate:`${this.$refs.paged.$refs.cri.model.endDate}`
479
- }
480
-
481
- },
482
- usertypes() {
483
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]
484
- },
485
- Gasproperties() {
486
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('用气性质')]
487
- },
488
- f_outlets() {
489
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('网点查询用')]
490
- },
491
- valveStatus() {
492
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('气表类型')]
493
- },
494
- getstate() {
495
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('最新状态')]
496
- }
497
- }
498
- }
499
- </script>
500
- <style>
501
- .form-input-group label {
502
- text-align: right;
503
- width: auto;
504
- }
505
-
506
- .mystyle {
507
- float: right;
508
- padding-right: 10%;
509
- }
510
-
511
- .mystyle1 {
512
- padding-top: 10px;
513
-
514
- }
515
-
516
- .mystyle2 {
517
- width: 100%;
518
- height: 35px;
519
- /*background: #00A3F0;*/
520
- padding-left: 15px;
521
- float: left;
522
- }
523
-
524
- .datapanel {
525
- color: #333;
526
- background-color: white;
527
- box-shadow: darkgrey 0.5px 0.5px 0.5px 0.5px;
528
- padding: 10px 30px 10px 30px;
529
- border-radius: 15px;
530
- }
531
- </style>
1
+ <template>
2
+ <div id='app1' class="basic-main" v-show="(!echarts)&&(!isActiveTotalForm)">
3
+ <criteria-paged :model="model" :pager='true' v-ref:paged>
4
+ <criteria partial='criteria' @condition-changed='$parent.search' v-ref:cri>
5
+ <div novalidate class="form-horizontal select-overspread container-fluid auto" novalidate partial>
6
+ <div class="row" >
7
+ <!--<div class="form-group">-->
8
+ <!--<input @keyup.enter="search" style="width:60%" type="text" class="input_search" v-model="model.f_username" placeholder='客户名称'-->
9
+ <!--condition="f_user_name = '{}'" v-next-el='userid' v-el:username-->
10
+ <!--:size="model.f_user_name ? model.f_user_name.length * 2 : 8">-->
11
+ <!--</div>-->
12
+ <div class="col-sm-2">
13
+ <label class="font_normal_body">表&nbsp;钢&nbsp;号&nbsp;</label>
14
+ <input @keyup.enter="search" style="width:60%" type="text" class="input_search" v-model="model.f_meternumber" placeholder='表钢号'
15
+ condition="u.f_meternumber like '%{}%'" v-next-el='meternumber' v-el:meternumber
16
+ >
17
+ </div>
18
+ <div class="col-sm-2">
19
+ <label class="font_normal_body">组织机构</label>
20
+ <res-select :initresid="$parent.$parent.orgid"
21
+ style="width:60%"
22
+ @res-select="$parent.$parent.getRes"
23
+ restype='organization'>
24
+ </res-select>
25
+ </div>
26
+ <div class="col-sm-2">
27
+ <label class="font_normal_body">客户编号</label>
28
+ <input @keyup.enter="search" style="width:60%" type="text" class="input_search" v-model="model.f_userinfo_code" placeholder='客户编号'
29
+ condition="f_userinfo_code like '%{}%'" v-el:xq v-next-el='userinfocode' v-el:username
30
+ >
31
+ </div>
32
+ <div class="col-sm-2">
33
+ <label class="font_normal_body">客户名称</label>
34
+ <input @keyup.enter="search" style="width:60%" type="text" class="input_search" v-model="model.f_user_name" placeholder='客户名称'
35
+ condition="f_user_name like '%{}%'" v-el:xq v-next-el='username' v-el:username
36
+ >
37
+ </div>
38
+
39
+
40
+ <div style="float:right">
41
+ <button class="button_search button_spacing" @click="search()">查询</button>
42
+ <button class="button_clear button_spacing" @click="$parent.$parent.clearmsg">清空</button>
43
+ <export-excel :data="$parent.$parent.getCondition" class="button_export button_spacing"
44
+ :field="$parent.$parent.getfield" :sumname="$parent.$parent.sumName"
45
+ sqlurl="rs/logic/exportfile" sql-name="webmeter_getNewLoseQuery" template-name='失联分析'
46
+ :choose-col="true"></export-excel>
47
+ <!-- <button class="button_export button_spacing" @click="$parent.$parent.SaveAsFile('lostuserlist')">导出</button>-->
48
+ <button class="button_export button_spacing" style="width: max-content" @click="$parent.$parent.showTotalForm()">显示汇总</button>
49
+ <!-- <button class="button_search button_spacing" @click="$parent.$parent.showEcharts()">显示图表</button>-->
50
+ <div style="float: right" class="button_spacing" :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.hidden()"></div>
51
+ </div>
52
+ </div>
53
+ <div class="row" v-show="$parent.$parent.criteriaShow">
54
+ <div class="col-sm-2">
55
+ <label class="font_normal_body">客户地址</label>
56
+ <input @keyup.enter="search" style="width:60%" type="text" class="input_search" v-model="model.f_area" placeholder='地址'
57
+ condition="a.f_address like '%{}%'" v-el:xq v-next-el='address' v-el:area
58
+ >
59
+ </div>
60
+ <div class="col-sm-2">
61
+ <label class="font_normal_body">客户类型</label>
62
+ <v-select style="width:60%" id="f_user_type"
63
+ v-model="model.f_user_type"
64
+ placeholder='客户类型'
65
+ :value.sync="model.f_user_type"
66
+ :options='$parent.$parent.usertypes'
67
+ condition="u.f_user_type = '{}'"
68
+ close-on-select>
69
+ </v-select>
70
+ </div>
71
+ <div class="col-sm-2">
72
+ <label class="font_normal_body">用气性质</label>
73
+ <v-select style="width:60%" id="f_gasproperties"
74
+ v-model="model.f_gasproperties"
75
+ placeholder='用气性质'
76
+ :value.sync="model.f_gasproperties"
77
+ :options='$parent.$parent.Gasproperties'
78
+ condition="u.f_gasproperties = '{}'"
79
+ close-on-select>
80
+ </v-select>
81
+ </div>
82
+
83
+ <!--<div class="col-sm-2">-->
84
+ <!--<label class="font_normal_body">最新状态</label>-->
85
+ <!-- <v-select style="width:60%" id="f_state"-->
86
+ <!--v-model="model.f_state"-->
87
+ <!--placeholder='最新状态'-->
88
+ <!--:value.sync="model.f_state"-->
89
+ <!--:options='$parent.$parent.getstate'-->
90
+ <!--condition="f_state = '{}'"-->
91
+ <!--close-on-select>-->
92
+ <!--</v-select>-->
93
+ <!--</div>-->
94
+ <div class="col-sm-2">
95
+ <label class="font_normal_body">上报区间</label>
96
+ <datepicker style="width:60%" id="startdate" placeholder="开始时间"
97
+ v-model="model.startDate"
98
+ :value.sync="model.startDate"
99
+ :disabled-days-of-Week="[]"
100
+ :format="'yyyy-MM-dd HH:mm:ss'"
101
+
102
+ :show-reset-button="reset">
103
+ </datepicker>
104
+ </div>
105
+ <div class="col-sm-2">
106
+ <label class="font_normal_body" >&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;至&nbsp;&nbsp;&nbsp;</label>
107
+ <datepicker style="width:60%" id="enddate" placeholder="结束日期"
108
+ v-model="model.endDate"
109
+ :value.sync="model.endDate"
110
+ :disabled-days-of-Week="[]"
111
+ :format="'yyyy-MM-dd HH:mm:ss'"
112
+
113
+ :show-reset-button="reset">
114
+ </datepicker>
115
+ </div>
116
+ <div class="col-sm-2">
117
+ <label class="font_normal_body">安装日期</label>
118
+ <datepicker style="width:60%" id="start" placeholder="开始时间"
119
+ v-model="model.startdate"
120
+ :value.sync="model.startdate"
121
+ :disabled-days-of-Week="[]"
122
+ :format="'yyyy-MM-dd HH:mm:ss'"
123
+ condition="u.f_gas_date >= '{}'"
124
+ :show-reset-button="reset">
125
+ </datepicker>
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;&nbsp;&nbsp;</label>
129
+ <datepicker style="width:60%" id="end" placeholder="结束日期"
130
+ v-model="model.enddate"
131
+ :value.sync="model.enddate"
132
+ :disabled-days-of-Week="[]"
133
+ :format="'yyyy-MM-dd HH:mm:ss'"
134
+ condition="u.f_gas_date <= '{}'"
135
+ :show-reset-button="reset">
136
+ </datepicker>
137
+ </div>
138
+ <div class="col-sm-2">
139
+ <label class="font_normal_body">最长失联</label>
140
+ <input @keyup.enter="search" style="width:60%" type="text" class="input_search" v-model="model.max_days1" placeholder='天数大于等于'
141
+ condition="max_days >= {}" v-next-el='max_days' v-el:max_days
142
+ >
143
+ </div>
144
+ <div class="col-sm-2">
145
+ <label class="font_normal_body" style="word-break:keep-all;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;至&nbsp;&nbsp;&nbsp;</label>
146
+ <input @keyup.enter="search" style="width:60%" type="text" class="input_search" v-model="model.max_days2" placeholder='天数小于等于'
147
+ condition="max_days <= {}" v-next-el='max_days' v-el:max_days
148
+ >
149
+ </div>
150
+ <div class="col-sm-2">
151
+ <label class="font_normal_body">合计失联</label>
152
+ <input @keyup.enter="search" style="width:60%" type="text" class="input_search" v-model="model.all_days1" placeholder='天数大于等于'
153
+ condition="all_days >= {}" v-next-el='all_days' v-el:all_days
154
+ >
155
+ </div>
156
+ <div class="col-sm-2">
157
+ <label class="font_normal_body" style="word-break:keep-all;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;至&nbsp;&nbsp;&nbsp;</label>
158
+ <input @keyup.enter="search" style="width:60%" type="text" class="input_search" v-model="model.all_days2" placeholder='天数小于等于'
159
+ condition="all_days <= {}" v-next-el='all_days' v-el:all_days
160
+ >
161
+ </div>
162
+ <!--<div class="col-sm-2">-->
163
+ <!--<label class="font_normal_body">最新失联</label>-->
164
+ <!--<input @keyup.enter="search" style="width:60%" type="text" class="input_search" v-model="model.new_days1" placeholder='天数大于等于'-->
165
+ <!--condition="new_days >= {}" v-next-el='new_days' v-el:new_days-->
166
+ <!--&gt;-->
167
+ <!--</div>-->
168
+ <!--<div class="col-sm-2">-->
169
+ <!--<label class="font_normal_body" style="word-break:keep-all;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;至&nbsp;&nbsp;&nbsp;</label>-->
170
+ <!--<input @keyup.enter="search" style="width:60%" type="text" class="input_search" v-model="model.new_days2" placeholder='天数小于等于'-->
171
+ <!--condition="new_days <= {}" v-next-el='new_days' v-el:new_days-->
172
+ <!--&gt;-->
173
+ <!--</div>-->
174
+
175
+ </div>
176
+
177
+
178
+
179
+ <!--:top='40' :left='60' :right='40' :bottom='60'-->
180
+ <!--:thead='"<th>序号</th>\n"+-->
181
+ <!--"<th>档案编号</th>" +-->
182
+ <!--" <th>档案标识</th>"+-->
183
+ <!--"<th>客户名称</th>"+-->
184
+ <!--"<th>表号</th"+-->
185
+ <!--"<th>表具类型</th>"+-->
186
+ <!--"<th>客户类型</th>"+-->
187
+ <!--"<th>区域</th>"+-->
188
+ <!--"<th>小区</th>"+-->
189
+ <!--"<th>地址</th>"+-->
190
+ <!--"<th>用气气量</th>"+-->
191
+ <!--"<th>用气金额</th>"-->
192
+ <!--+"<th>用气价格</th>"-->
193
+ <!--+"<th>时间</th>"-->
194
+ <!--+"<th>所属机构</th>"'-->
195
+ <!--:fields='["$index+1","f_username","f_meternumber","f_usertype","f_save_money","f_operate_status","f_close_reason","f_area","f_districtname","f_address","id","yytdepa"]'>-->
196
+ <!--</print-table>-->
197
+ <!--<export-excel :data="{orderitem: 'lastinputdate desc', condition: '1=1'}"-->
198
+ <!--:field="{f_username: '客户名称', f_meternumber: '表号',f_usertype:'客户类型',f_save_money:'剩余金额',-->
199
+ <!--f_operate_status:'状态',f_close_reason:'关阀原因',f_area:'区域',f_districtname:'小区', f_address: '地址',id:'档案编号',yytdepa:'所属机构'}"-->
200
+ <!--sqlurl="rs/sql/getUserGas"></export-excel>-->
201
+
202
+ </div>
203
+ </criteria>
204
+ <data-grid id="lostuserlist" :model="model" partial='list' v-ref:grid class="list_area table_sy">
205
+ <template partial='head'>
206
+ <tr>
207
+ <th style="text-align:center">
208
+ <nobr>序号</nobr>
209
+ </th>
210
+ <th style="text-align:center">
211
+ <nobr>组织机构</nobr>
212
+ </th>
213
+ <!--<th rowspan="2" style="text-align:center"><nobr>客户编号</nobr></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" title="指查询时间区间内,连续失联最长的天数">
236
+ <nobr>最长失联天数</nobr>
237
+ </th>
238
+ <th style="text-align:center" title="指查询时间区间内,共计失联的总天数">
239
+ <nobr>合计失联天数</nobr>
240
+ </th>
241
+ <th style="text-align:center">
242
+ <nobr>最长失联类型</nobr>
243
+ </th>
244
+ <th style="text-align:center">
245
+ <nobr>合计失联类型</nobr>
246
+ </th>
247
+ <th style="text-align:center" title="指查询时间区间内,首次上报的日期">
248
+ <nobr>期初上报日期</nobr>
249
+ </th>
250
+ <th style="text-align:center" title="指查询时间区间内,最后上报的日期">
251
+ <nobr>期末上报日期</nobr>
252
+ </th>
253
+ <th style="text-align:center">
254
+ <nobr>期间上报次数</nobr>
255
+ </th>
256
+ <!--<th style="text-align:center" title="指该表具最后一次上报日期到当前日期相差天数">-->
257
+ <!--<nobr>最新失联天数</nobr>-->
258
+ <!--</th>-->
259
+ <!--<th style="text-align:center" title="指该表具最新的失联情况">-->
260
+ <!--<nobr>最新状态</nobr>-->
261
+ <!--</th>-->
262
+
263
+ </tr>
264
+
265
+ </template>
266
+ <template partial='body'>
267
+ <td style="text-align:center">{{$index+1}}</td>
268
+ <!--<td style="text-align:center">{{row.f_userfiles_id}}</td>-->
269
+ <td style="text-align:center"><nobr>{{row.f_orgname}}</nobr></td>
270
+ <td style="text-align:center"><nobr>{{row.f_meternumber}}</nobr></td>
271
+ <td style="text-align:center">{{row.f_userinfo_code}}</td>
272
+ <td style="text-align:center"><nobr>{{row.f_user_name}}</nobr></td>
273
+ <td>
274
+ <nobr>{{row.f_address}}</nobr>
275
+ </td>
276
+ <td style="text-align:center">
277
+ <nobr>{{row.f_gas_date}}</nobr>
278
+ </td>
279
+ <td style="text-align:center">{{row.f_user_type}}</td>
280
+ <td style="text-align:center">{{row.f_gasproperties}}</td>
281
+ <td style="text-align:center">{{row.max_days}}</td>
282
+ <td style="text-align:center">{{row.all_days}}</td>
283
+ <td style="text-align:center">
284
+ <nobr>{{row.max_days_type}}</nobr>
285
+ </td>
286
+ <td style="text-align:center">
287
+ <nobr>{{row.all_days_type}}</nobr>
288
+ </td>
289
+ <td style="text-align:center">
290
+ <nobr>{{row.min_insert_date}}</nobr>
291
+ </td>
292
+ <td style="text-align:center">
293
+ <nobr>{{row.max_insert_date}}</nobr>
294
+ </td>
295
+ <td style="text-align:center">{{row.c}}</td>
296
+ <!--<td style="text-align:center">{{row.new_days}}</td>-->
297
+ <!--<td style="text-align:center">{{row.f_state}}</td>-->
298
+
299
+ </template>
300
+ </data-grid>
301
+ </criteria-paged>
302
+ </div>
303
+ <div v-show="echarts" style="height: 40px;width: 100%;">
304
+ <div style="display: inline-block;">
305
+ <button class="button_search button_spacing" @click="notShowEcharts()">隐藏图表</button>
306
+ </div>
307
+ <div class="mystyle" style="display: inline-block;">
308
+ <label class="font_normal_body">图表统计项</label>
309
+ <v-select style="width:60%" id="Groupname" v-model="groupname"
310
+ placeholder='分组项'
311
+ value-single="true"
312
+ :value.sync="groupname"
313
+ :options='getgroupname'
314
+ close-on-select></v-select>
315
+ </div>
316
+ </div>
317
+ <div class="span" v-show="echarts" style="width: 100%;height: 90%;">
318
+ <lost-contact-echarts :groupname="groupname[0]" :condition="condition" :startdate="startDate"
319
+ :enddate="endDate" :echarts="echarts"></lost-contact-echarts>
320
+ </div>
321
+ <!-- <div v-show="isActiveTotalForm" style="height: 40px;width: 100%;">-->
322
+ <!-- <button class="button_search button_spacing" @click="notShowTotalForm()">隐藏汇总</button>-->
323
+ <!-- </div>-->
324
+ <div class="span" v-show="isActiveTotalForm" style="width: 100%;height: 90%;">
325
+ <lost-contact-eform :condition="condition" :startdate="startDate"
326
+ :enddate="endDate"></lost-contact-eform>
327
+ </div>
328
+ </template>
329
+
330
+ <script>
331
+ import {PagedList} from 'vue-client'
332
+ import UserGasEcharts from './UserGasEcharts'
333
+ import * as Util from '../../../Util'
334
+ import getLodop from '../../../plugins/LodopFuncs'
335
+ import plugins from '../../../plugins/GetLoginInfoService'
336
+ export default {
337
+ title: '失联分析',
338
+ props: ['data'],
339
+ components: {UserGasEcharts},
340
+ data() {
341
+ return {
342
+ model: new PagedList('rs/sql/webmeter_getNewLoseQuery', 20, {
343
+ startDate: 'this.model.startDate',
344
+ endDate: 'this.model.endDate'
345
+ }),
346
+ getfield:{"f_orgname":"组织机构","f_meternumber":"表钢号",
347
+ "f_userinfo_code":"客户编号","f_user_name":"客户名称",
348
+ "f_address":"客户地址",
349
+ "f_gas_date":"安装日期","f_user_type":"客户类型",
350
+ "f_gasproperties":"用气性质","max_days":"最长失联天数",
351
+ "all_days":"合计失联天数",
352
+ "max_days_type":"最长失联类型","all_days_type":"合计失联类型",
353
+ "min_insert_date":"期初上报日期","max_insert_date":"期末上报日期",
354
+ "c":"期间上报次数"},
355
+ reportStr: null,
356
+ show: false,
357
+ startDate: '',
358
+ endDate: '',
359
+ criteriaShow:false,
360
+ outlets: [],
361
+ operator: [],
362
+ filename: '',
363
+ orgCondtionStr: '(' + this.$login.f.orgid + ')',
364
+ echarts: false,
365
+ orgid:[this.$login.f.orgid],
366
+ searchshow: false,
367
+ isActiveTotalForm: false,
368
+ condition: '1=1',
369
+ groupname: ['max_days_type'],
370
+ getgroupname: [
371
+ {label: '客户类型', value: 'f_user_type'},
372
+ {label: '用气性质', value: 'f_gasproperties'},
373
+ {label: '分公司', value: 'f_orgname'},
374
+ {label: '最长失联天数', value: 'max_days_type'},
375
+ {label: '合计失联天数', value: 'all_days_type'}
376
+ ],
377
+ obj: {
378
+ userid: this.$login.f.id,
379
+ source: `tool.getFullTree(this.getRights().where(row.getType() == $organization$))`,
380
+ res: this.$login.f.f_fengongsi,
381
+ resids: this.$login.f.f_orgid
382
+ }
383
+ }
384
+ },
385
+ ready() {
386
+ this.$refs.paged.$refs.cri.model.startDate = Util.toStandardDateString() + ' 00:00:00'
387
+ this.$refs.paged.$refs.cri.model.endDate = Util.toStandardDateString() + ' 23:59:59'
388
+ this.$refs.paged.$refs.cri.search()
389
+ },
390
+ methods: {
391
+ hidden(){
392
+ this.criteriaShow = !this.criteriaShow
393
+ },
394
+ clickshow() {
395
+ this.searchshow = !this.searchshow
396
+ },
397
+ search(args) {
398
+ this.startDate = this.$refs.paged.$refs.cri.model.startDate
399
+ this.endDate = this.$refs.paged.$refs.cri.model.endDate
400
+ if (this.endDate == '' || this.startDate == '') {
401
+ return this.$showMessage("时间区间的开始和结束时间不能为空!")
402
+ }
403
+ if (this.orgCondtionStr){
404
+ this.condition = this.$refs.paged.$refs.cri.condition + `and u.f_orgid in ${this.orgCondtionStr}`
405
+ }
406
+ else
407
+ this.condition = this.$refs.paged.$refs.cri.condition
408
+ args.condition = this.condition
409
+ this.model.search(args.condition, args.model)
410
+ },
411
+ getRes(obj) {
412
+ this.orgCondtionStr = plugins.convertToIn(obj)
413
+ },
414
+ // SaveAsFile(str) {
415
+ // this.$showMessage('您是否需要导出本页数据?', ['confirm', 'cancel']).then((res) => {
416
+ // if (res === 'confirm') {
417
+ // let style = '<style>' +
418
+ // 'td {border-width: 1px;padding: 2px;border-style: solid; border-color:black; border-collapse:collapse;} .tdright{text-align: right;} .tdcenter{text-align: center;}</style>';
419
+ // let strHtml = style + document.getElementById(str).innerHTML;
420
+ // console.log(strHtml);
421
+ // let LODOP = getLodop();
422
+ // LODOP.PRINT_INIT('');
423
+ // LODOP.ADD_PRINT_TABLE(5, 5, '99%', '100%', strHtml);
424
+ // LODOP.SAVE_TO_FILE('失联分析.xls')
425
+ // }
426
+ // })
427
+ // },
428
+ clearmsg() {
429
+ this.$refs.paged.$refs.cri.model = {}
430
+ },
431
+ close() {
432
+ this.show = false
433
+ },
434
+ // 显示柱状图
435
+ showEcharts() {
436
+ this.echarts = true
437
+ this.isActiveTotalForm = false
438
+ },
439
+ notShowTotalForm() {
440
+ this.echarts = false
441
+ this.isActiveTotalForm = false
442
+ },
443
+ // 不显示柱状图
444
+ notShowEcharts() {
445
+ this.echarts = false
446
+ this.isActiveTotalForm = false
447
+ },
448
+ // 显示汇总数据表格
449
+ showTotalForm() {
450
+ this.echarts = false
451
+ this.isActiveTotalForm = true
452
+ }
453
+ },
454
+ watch: {
455
+ 'data'(val) {
456
+ if (val.f_files_path) {
457
+ this.getFileContent(val.f_files_path)
458
+ } else {
459
+ this.reportStr = null
460
+ }
461
+ }
462
+ },
463
+ computed: {
464
+ // usertypes () {
465
+ // return this.$appdate.getParams("客户类型")
466
+ // },
467
+ getCondition() {
468
+ var con=""
469
+ if (this.orgCondtionStr) {
470
+ con= `${this.$refs.paged.$refs.cri.condition} and u.f_orgid in ${this.orgCondtionStr}`
471
+ }
472
+ else{
473
+ con= `${this.$refs.paged.$refs.cri.condition} `
474
+ }
475
+ return {
476
+ condition: con ,
477
+ startDate:`${this.$refs.paged.$refs.cri.model.startDate}`,
478
+ endDate:`${this.$refs.paged.$refs.cri.model.endDate}`
479
+ }
480
+
481
+ },
482
+ usertypes() {
483
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]
484
+ },
485
+ Gasproperties() {
486
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('用气性质')]
487
+ },
488
+ f_outlets() {
489
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('网点查询用')]
490
+ },
491
+ valveStatus() {
492
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('气表类型')]
493
+ },
494
+ getstate() {
495
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('最新状态')]
496
+ }
497
+ }
498
+ }
499
+ </script>
500
+ <style>
501
+ .form-input-group label {
502
+ text-align: right;
503
+ width: auto;
504
+ }
505
+
506
+ .mystyle {
507
+ float: right;
508
+ padding-right: 10%;
509
+ }
510
+
511
+ .mystyle1 {
512
+ padding-top: 10px;
513
+
514
+ }
515
+
516
+ .mystyle2 {
517
+ width: 100%;
518
+ height: 35px;
519
+ /*background: #00A3F0;*/
520
+ padding-left: 15px;
521
+ float: left;
522
+ }
523
+
524
+ .datapanel {
525
+ color: #333;
526
+ background-color: white;
527
+ box-shadow: darkgrey 0.5px 0.5px 0.5px 0.5px;
528
+ padding: 10px 30px 10px 30px;
529
+ border-radius: 15px;
530
+ }
531
+ </style>