manage-client 3.2.8 → 3.2.9

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 (447) 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 -176
  13. package/build/webpack.base.conf.js +82 -82
  14. package/build.gradle +13 -13
  15. package/config/dev.env.js +6 -6
  16. package/config/index.js +40 -40
  17. package/config/prod.env.js +3 -3
  18. package/config/test.env.js +6 -6
  19. package/gradle/wrapper/gradle-wrapper.properties +5 -5
  20. package/gradlew.bat +100 -100
  21. package/index.html +28 -28
  22. package/package.json +1 -1
  23. package/release.bat +5 -5
  24. package/src/ManageHome.js +269 -269
  25. package/src/Staff/StaffCompileList.vue +334 -334
  26. package/src/Staff/StaffList.vue +161 -161
  27. package/src/Staff/StaffListManage.vue +49 -49
  28. package/src/Util.js +367 -367
  29. package/src/components/BasisEcharts/LineChart.vue +243 -243
  30. package/src/components/ManageHome/CustomerService/ContentmentStatistics.vue +135 -135
  31. package/src/components/ManageHome/CustomerService/ExcepCollect.vue +174 -174
  32. package/src/components/ManageHome/CustomerService/ReasonComplaint.vue +116 -116
  33. package/src/components/ManageHome/CustomerService/ReasonConsultation.vue +115 -115
  34. package/src/components/ManageHome/CustomerService/ServiceFix.vue +155 -155
  35. package/src/components/ManageHome/CustomerService/ServiceHome.vue +179 -179
  36. package/src/components/ManageHome/CustomerService/ServiceStatistics.vue +147 -147
  37. package/src/components/ManageHome/CustomerService/TrafficStatistics.vue +160 -160
  38. package/src/components/ManageHome/Drill/DrillData.vue +791 -791
  39. package/src/components/ManageHome/Drill/DrillList.vue +320 -320
  40. package/src/components/ManageHome/Drill/DrillPool.vue +129 -129
  41. package/src/components/ManageHome/Home/CallCenter.vue +124 -124
  42. package/src/components/ManageHome/Home/CallFix.vue +172 -172
  43. package/src/components/ManageHome/Home/CallStatistics.vue +147 -147
  44. package/src/components/ManageHome/Home/GasValue.vue +233 -233
  45. package/src/components/ManageHome/Home/Home.vue +138 -138
  46. package/src/components/ManageHome/Home/Monitor.vue +329 -329
  47. package/src/components/ManageHome/Home/NetWork.vue +202 -202
  48. package/src/components/ManageHome/Home/SafeCheck.vue +249 -249
  49. package/src/components/ManageHome/Home/UserModule.vue +367 -367
  50. package/src/components/ManageHome/ImportSupplygas/AddSupply.vue +206 -206
  51. package/src/components/ManageHome/ImportSupplygas/SuppleManagement.vue +43 -43
  52. package/src/components/ManageHome/ImportSupplygas/SupplySelect.vue +85 -85
  53. package/src/components/ManageHome/ImportSupplygas/UpdateSupply.vue +187 -187
  54. package/src/components/ManageHome/ManageHome.vue +292 -292
  55. package/src/components/ManageHome/Monitor/BuySub.vue +311 -311
  56. package/src/components/ManageHome/Monitor/Caveat.vue +300 -300
  57. package/src/components/ManageHome/Monitor/ComparedGas.vue +264 -264
  58. package/src/components/ManageHome/Monitor/MeterBrand.vue +211 -211
  59. package/src/components/ManageHome/Monitor/MonitorCenter.vue +132 -132
  60. package/src/components/ManageHome/Monitor/MonitorHome.vue +188 -188
  61. package/src/components/ManageHome/Monitor/NoBuyGas.vue +223 -223
  62. package/src/components/ManageHome/Monitor/NoContact.vue +233 -233
  63. package/src/components/ManageHome/Monitor/NoGas.vue +202 -202
  64. package/src/components/ManageHome/NetWork/LineInspection.vue +267 -267
  65. package/src/components/ManageHome/NetWork/NetDanger.vue +258 -258
  66. package/src/components/ManageHome/NetWork/NetHome.vue +84 -84
  67. package/src/components/ManageHome/NetWork/SupplyGas.vue +204 -204
  68. package/src/components/ManageHome/SecurityCheck/CheckHome.vue +94 -94
  69. package/src/components/ManageHome/SecurityCheck/CustomerType.vue +244 -244
  70. package/src/components/ManageHome/SecurityCheck/LatentDanger.vue +218 -218
  71. package/src/components/ManageHome/SecurityCheck/PlanStatistics.vue +231 -231
  72. package/src/components/ManageHome/SecurityCheck/StateStatistics.vue +237 -237
  73. package/src/components/ManageHome/SecurityCheck/TaskStatistics.vue +303 -303
  74. package/src/components/ManageHome/User/GasDistri.vue +271 -271
  75. package/src/components/ManageHome/User/InspecDistri.vue +272 -272
  76. package/src/components/ManageHome/User/SaleProportion.vue +309 -309
  77. package/src/components/ManageHome/User/UseHome.vue +155 -155
  78. package/src/components/ManageHome/User/UserGascontrast.vue +223 -223
  79. package/src/components/ManageHome/User/UserNumber.vue +519 -519
  80. package/src/components/ManageHome/User/UsernumIncrease.vue +243 -243
  81. package/src/components/ManageHome/loading.vue +23 -23
  82. package/src/components/ManageHomeCS/Cockpit.vue +43 -43
  83. package/src/components/ManageHomeCS/CustomerService/ContentmentStatistics.vue +161 -161
  84. package/src/components/ManageHomeCS/CustomerService/ExcepCollect.vue +201 -201
  85. package/src/components/ManageHomeCS/CustomerService/ReasonComplaint.vue +146 -146
  86. package/src/components/ManageHomeCS/CustomerService/ReasonConsultation.vue +148 -148
  87. package/src/components/ManageHomeCS/CustomerService/ServiceFix.vue +242 -242
  88. package/src/components/ManageHomeCS/CustomerService/ServiceHome.vue +176 -176
  89. package/src/components/ManageHomeCS/CustomerService/ServiceStatistics.vue +277 -277
  90. package/src/components/ManageHomeCS/CustomerService/TrafficStatistics.vue +226 -226
  91. package/src/components/ManageHomeCS/Drill/DrillData.vue +918 -918
  92. package/src/components/ManageHomeCS/Drill/DrillList.vue +320 -320
  93. package/src/components/ManageHomeCS/Drill/DrillPool.vue +129 -129
  94. package/src/components/ManageHomeCS/Home/CallCenter.vue +206 -206
  95. package/src/components/ManageHomeCS/Home/CallFix.vue +172 -172
  96. package/src/components/ManageHomeCS/Home/CallStatistics.vue +147 -147
  97. package/src/components/ManageHomeCS/Home/GasValue.vue +466 -466
  98. package/src/components/ManageHomeCS/Home/Home.vue +57 -57
  99. package/src/components/ManageHomeCS/Home/Monitor.vue +423 -423
  100. package/src/components/ManageHomeCS/Home/NetWork.vue +223 -223
  101. package/src/components/ManageHomeCS/Home/SafeCheck.vue +446 -446
  102. package/src/components/ManageHomeCS/Home/ShanxiMap.vue +432 -432
  103. package/src/components/ManageHomeCS/Home/UserModule.vue +511 -511
  104. package/src/components/ManageHomeCS/Home/YulinMap.vue +424 -424
  105. package/src/components/ManageHomeCS/ImportSupplygas/AddSupply.vue +206 -206
  106. package/src/components/ManageHomeCS/ImportSupplygas/SuppleManagement.vue +43 -43
  107. package/src/components/ManageHomeCS/ImportSupplygas/SupplySelect.vue +85 -85
  108. package/src/components/ManageHomeCS/ImportSupplygas/UpdateSupply.vue +187 -187
  109. package/src/components/ManageHomeCS/Monitor/BuySub.vue +339 -339
  110. package/src/components/ManageHomeCS/Monitor/Caveat.vue +301 -301
  111. package/src/components/ManageHomeCS/Monitor/ComparedGas.vue +276 -276
  112. package/src/components/ManageHomeCS/Monitor/MeterBrand.vue +220 -220
  113. package/src/components/ManageHomeCS/Monitor/MonitorCenter.vue +139 -139
  114. package/src/components/ManageHomeCS/Monitor/MonitorHome.vue +188 -188
  115. package/src/components/ManageHomeCS/Monitor/NoBuyGas.vue +218 -218
  116. package/src/components/ManageHomeCS/Monitor/NoContact.vue +217 -217
  117. package/src/components/ManageHomeCS/Monitor/NoGas.vue +214 -214
  118. package/src/components/ManageHomeCS/NetWork/LineInspection.vue +268 -268
  119. package/src/components/ManageHomeCS/NetWork/NetDanger.vue +258 -258
  120. package/src/components/ManageHomeCS/NetWork/NetHome.vue +106 -106
  121. package/src/components/ManageHomeCS/NetWork/NetWork.vue +222 -222
  122. package/src/components/ManageHomeCS/NetWork/NetWorkMap.vue +86 -86
  123. package/src/components/ManageHomeCS/NetWork/SupplyGas.vue +291 -291
  124. package/src/components/ManageHomeCS/NewHome/GasProperties.vue +314 -314
  125. package/src/components/ManageHomeCS/NewHome/NewManageHome.vue +182 -182
  126. package/src/components/ManageHomeCS/NewHome/TextBusiness.vue +267 -267
  127. package/src/components/ManageHomeCS/NewHome/TextChildsellgas.vue +209 -209
  128. package/src/components/ManageHomeCS/NewHome/TextProfit.vue +298 -298
  129. package/src/components/ManageHomeCS/NewHome/TextSellgas.vue +82 -82
  130. package/src/components/ManageHomeCS/NewHome/TextShanximap.vue +389 -389
  131. package/src/components/ManageHomeCS/NewHome/TextTotalsellgas.vue +406 -406
  132. package/src/components/ManageHomeCS/NewHome/TextUser.vue +378 -378
  133. package/src/components/ManageHomeCS/NewHome/yulin.vue +425 -425
  134. package/src/components/ManageHomeCS/Poor/PoorHome.vue +176 -176
  135. package/src/components/ManageHomeCS/SecurityCheck/CheckHome.vue +94 -94
  136. package/src/components/ManageHomeCS/SecurityCheck/CustomerType.vue +246 -246
  137. package/src/components/ManageHomeCS/SecurityCheck/LatentDanger.vue +220 -220
  138. package/src/components/ManageHomeCS/SecurityCheck/PlanStatistics.vue +306 -306
  139. package/src/components/ManageHomeCS/SecurityCheck/StateStatistics.vue +239 -239
  140. package/src/components/ManageHomeCS/SecurityCheck/TaskStatistics.vue +311 -311
  141. package/src/components/ManageHomeCS/User/FMYInspecDistri.vue +269 -269
  142. package/src/components/ManageHomeCS/User/GasDistri.vue +220 -220
  143. package/src/components/ManageHomeCS/User/MYInspecDistri.vue +269 -269
  144. package/src/components/ManageHomeCS/User/SaleProportion.vue +384 -384
  145. package/src/components/ManageHomeCS/User/UseHome.vue +162 -162
  146. package/src/components/ManageHomeCS/User/UserGascontrast.vue +221 -221
  147. package/src/components/ManageHomeCS/User/UserNumber.vue +600 -600
  148. package/src/components/ManageHomeCS/User/UsernumIncrease.vue +277 -277
  149. package/src/components/ManageHomeCS/loading.vue +39 -39
  150. package/src/components/ManageHomeCS/test.vue +88 -88
  151. package/src/components/MeterManage/ChangeMeterQuery.vue +82 -82
  152. package/src/components/MeterManage/ChargeQuery.vue +79 -79
  153. package/src/components/MeterManage/FillCardQuery.vue +80 -80
  154. package/src/components/MeterManage/FillGasQuery.vue +80 -80
  155. package/src/components/MeterManage/HandQuery.vue +72 -72
  156. package/src/components/MeterManage/MeterInfoManage.vue +107 -107
  157. package/src/components/MeterManage/MeterList.vue +336 -336
  158. package/src/components/MeterManage/MeterMsg.vue +181 -181
  159. package/src/components/MeterManage/OtherChargeQuery.vue +78 -78
  160. package/src/components/MeterManage/ReversalQuery.vue +77 -77
  161. package/src/components/MeterManage/TransferQuery.vue +72 -72
  162. package/src/components/SellReport/BankManager.vue +146 -146
  163. package/src/components/SellReport/CaiManageDayGas.vue +280 -280
  164. package/src/components/SellReport/ChManageBusSummary.vue +273 -273
  165. package/src/components/SellReport/ChManageHandSellMoney.vue +274 -274
  166. package/src/components/SellReport/ChManageMonthGas.vue +285 -285
  167. package/src/components/SellReport/ChOtherfee.vue +251 -251
  168. package/src/components/SellReport/CollectFee.vue +184 -184
  169. package/src/components/SellReport/Contrast.vue +188 -188
  170. package/src/components/SellReport/DayStairMoney.vue +256 -256
  171. package/src/components/SellReport/FenxiangSell.vue +183 -183
  172. package/src/components/SellReport/FxGasTable.vue +220 -220
  173. package/src/components/SellReport/GasBaozhuangFee.vue +237 -237
  174. package/src/components/SellReport/GasCollect.vue +174 -174
  175. package/src/components/SellReport/GaspriceHas.vue +141 -141
  176. package/src/components/SellReport/HandCollect.vue +189 -189
  177. package/src/components/SellReport/JinChengBusSummary.vue +182 -182
  178. package/src/components/SellReport/JinChengHandGas.vue +182 -182
  179. package/src/components/SellReport/JinChengOperSummary.vue +182 -182
  180. package/src/components/SellReport/JinChengSliceSumgas.vue +182 -182
  181. package/src/components/SellReport/ManageBusTable.vue +207 -207
  182. package/src/components/SellReport/ManageGasFee.vue +247 -247
  183. package/src/components/SellReport/ManageGasFeeOperator.vue +236 -236
  184. package/src/components/SellReport/ManageHandSellInputtor.vue +241 -241
  185. package/src/components/SellReport/ManageMonthGas.vue +249 -249
  186. package/src/components/SellReport/ManageNewGasPrice.vue +245 -245
  187. package/src/components/SellReport/ManageReceivable.vue +254 -254
  188. package/src/components/SellReport/ManageUserCollect.vue +183 -183
  189. package/src/components/SellReport/MeterBill.vue +185 -185
  190. package/src/components/SellReport/MeterGasMoney.vue +226 -226
  191. package/src/components/SellReport/MeterInput.vue +250 -250
  192. package/src/components/SellReport/MonthStairMoney.vue +256 -256
  193. package/src/components/SellReport/OweAging.vue +174 -174
  194. package/src/components/SellReport/QibiaoShouqi.vue +282 -282
  195. package/src/components/SellReport/ReportHistory.vue +80 -80
  196. package/src/components/SellReport/ReportPool.vue +60 -60
  197. package/src/components/SellReport/Selling.vue +188 -188
  198. package/src/components/SellReport/SellingTable.vue +220 -220
  199. package/src/components/SellReport/SiteManager.vue +147 -147
  200. package/src/components/SellReport/UserStateStatistics.vue +188 -188
  201. package/src/components/SellReport/UsertypePie.vue +101 -101
  202. package/src/components/SellReport/XianYangDate.vue +227 -227
  203. package/src/components/SellReport/XianYangOperator.vue +228 -228
  204. package/src/components/SellReport/XyDateCharge.vue +227 -227
  205. package/src/components/SellReport/XyOperatorCharge.vue +256 -256
  206. package/src/components/SellReport/YuShouTableTwo.vue +309 -309
  207. package/src/components/SellReport/jingwei/CardCharge.vue +142 -142
  208. package/src/components/SellReport/jingwei/MachineCharge.vue +141 -141
  209. package/src/components/SellReport/jingwei/PaymentNotice.vue +479 -479
  210. package/src/components/SellReport/jingwei/handplanReport.vue +280 -280
  211. package/src/components/SellReport/jingwei/widegt/PaymentNoticePrint.vue +198 -198
  212. package/src/components/SellReport/jingwei/widegt/handplanPrint.vue +143 -143
  213. package/src/components/SellReport/pengan/ManageBusSummaryPeng.vue +241 -241
  214. package/src/components/WebReport/AbnormalInfo.vue +197 -197
  215. package/src/components/WebReport/AbnormalInfoEcharts.vue +120 -120
  216. package/src/components/WebReport/BatteryLow.vue +148 -148
  217. package/src/components/WebReport/BusinessHall.vue +85 -85
  218. package/src/components/WebReport/BussinessType.vue +137 -137
  219. package/src/components/WebReport/Communication.vue +131 -131
  220. package/src/components/WebReport/CompanyUser.vue +79 -79
  221. package/src/components/WebReport/EchartsBox.vue +110 -110
  222. package/src/components/WebReport/ElectroMagnetic.vue +142 -142
  223. package/src/components/WebReport/GaspriceHas.vue +141 -141
  224. package/src/components/WebReport/HandplanPrint.vue +167 -167
  225. package/src/components/WebReport/NotUpload.vue +165 -165
  226. package/src/components/WebReport/OweQuery.vue +169 -169
  227. package/src/components/WebReport/PaymentDistributed.vue +176 -176
  228. package/src/components/WebReport/Paymentpie.vue +157 -157
  229. package/src/components/WebReport/ReportWorklist.vue +220 -220
  230. package/src/components/WebReport/SellType.vue +89 -89
  231. package/src/components/WebReport/Telemanlist.vue +221 -221
  232. package/src/components/WebReport/UserGasAll.vue +214 -214
  233. package/src/components/WebReport/UserGasEcharts.vue +107 -107
  234. package/src/components/WebReport/UsertypePie.vue +105 -105
  235. package/src/components/WebReport/ValueEcharts.vue +99 -99
  236. package/src/components/WebReport/ValueInfo.vue +194 -194
  237. package/src/components/daping/GMap.vue +636 -636
  238. package/src/components/qinhua/BarChartLine.vue +288 -288
  239. package/src/components/qinhua/ManageMain.vue +162 -162
  240. package/src/components/qinhua/Ring.vue +165 -165
  241. package/src/components/qinhua/SafeCheckRing.vue +149 -149
  242. package/src/components/qinhua/SafecheckBarChart.vue +209 -209
  243. package/src/components/qinhua/Scada.vue +93 -93
  244. package/src/components/safecheck/analysis/SafeHiddenAnaly.vue +932 -932
  245. package/src/components/safecheck/planCheck/chanceSituation.vue +149 -149
  246. package/src/components/safecheck/planCheck/checkFamily.vue +217 -217
  247. package/src/components/safecheck/planCheck/hidderDanger.vue +179 -179
  248. package/src/components/safecheck/planCheck/inFamily.vue +185 -185
  249. package/src/components/sale/businessquery/AccountQuery/ExpectGasList.vue +504 -504
  250. package/src/components/sale/businessquery/AccountQuery/PreGasList.vue +371 -371
  251. package/src/components/sale/businessquery/AccountQuery/SellingGasList.vue +404 -404
  252. package/src/components/sale/businessquery/AccountQuery/TransactionSummary.vue +373 -373
  253. package/src/components/sale/businessquery/BalanceQuery.vue +456 -456
  254. package/src/components/sale/businessquery/FMYGasQuery.vue +713 -713
  255. package/src/components/sale/businessquery/InspectManage.vue +47 -47
  256. package/src/components/sale/businessquery/MonthGasQuery.vue +467 -467
  257. package/src/components/sale/businessquery/NewAccountQuery.vue +409 -409
  258. package/src/components/sale/businessquery/OtherChargeDetailQuery.vue +74 -74
  259. package/src/components/sale/businessquery/OtherChargeQuery.vue +619 -619
  260. package/src/components/sale/businessquery/ProceedsOper.vue +417 -417
  261. package/src/components/sale/businessquery/ResourceOperatingQuery.vue +317 -317
  262. package/src/components/sale/businessquery/TongjiManage.vue +74 -74
  263. package/src/components/sale/businessquery/UserTongjiQuery.vue +358 -358
  264. package/src/components/sale/businessquery/YearGasQuery.vue +422 -422
  265. package/src/components/sale/businessquery/YingShouMingXi.vue +525 -525
  266. package/src/components/sale/businessquery/analysisquery/AnalysisManage.vue +65 -65
  267. package/src/components/sale/businessquery/weChatBind.vue +361 -361
  268. package/src/components/sale/common/PrintData.vue +171 -171
  269. package/src/components/sale/common/PrintDataSelf.vue +225 -225
  270. package/src/components/sale/common/PrintTable.vue +228 -228
  271. package/src/components/sale/common/PrintTableSelf.vue +251 -251
  272. package/src/components/sale/common/TabButton.vue +155 -155
  273. package/src/components/sale/common/Tabs.vue +67 -67
  274. package/src/components/sale/common/handplanUser.vue +112 -112
  275. package/src/components/sale/config/DefaultPrint.js +6 -6
  276. package/src/components/sale/config/exportConfig.js +885 -885
  277. package/src/components/sale/config/tableConfig.js +48 -48
  278. package/src/components/sale/filesquery/detail/UserBaseInfo.vue +69 -69
  279. package/src/components/sale/filesquery/detail/UserDetail.vue +41 -41
  280. package/src/components/sale/filesquery/detail/UserOperInfo.vue +76 -76
  281. package/src/components/sale/filesquery/detail/oper/ChangeMessage.vue +46 -46
  282. package/src/components/sale/filesquery/detail/oper/ExchangeOper.vue +66 -66
  283. package/src/components/sale/filesquery/detail/oper/HandOper.vue +46 -46
  284. package/src/components/sale/filesquery/detail/oper/HandleMessage.vue +46 -46
  285. package/src/components/sale/filesquery/detail/oper/OtherCharge.vue +54 -54
  286. package/src/components/sale/filesquery/detail/oper/ReplaceCard.vue +51 -51
  287. package/src/components/sale/filesquery/detail/oper/SellOper.vue +56 -56
  288. package/src/components/sale/filesquery/detail/oper/TransferMessage.vue +55 -55
  289. package/src/components/sale/filesquery/filequerydetail/BlackListQueryDetail.vue +219 -219
  290. package/src/components/sale/filesquery/filequerydetail/ChangeMeterQueryDetail.vue +246 -246
  291. package/src/components/sale/filesquery/filequerydetail/ChargeQueryDetail.vue +239 -239
  292. package/src/components/sale/filesquery/filequerydetail/DeviceQueryDetail.vue +126 -126
  293. package/src/components/sale/filesquery/filequerydetail/DisableQueryDetail.vue +272 -272
  294. package/src/components/sale/filesquery/filequerydetail/EnableQueryDetail.vue +274 -274
  295. package/src/components/sale/filesquery/filequerydetail/FillCardQueryDetail.vue +80 -80
  296. package/src/components/sale/filesquery/filequerydetail/FillGasQueryDetail.vue +80 -80
  297. package/src/components/sale/filesquery/filequerydetail/HandQueryDetail.vue +302 -302
  298. package/src/components/sale/filesquery/filequerydetail/MeterQueryDetail.vue +158 -158
  299. package/src/components/sale/filesquery/filequerydetail/OtherChargeQueryDetail.vue +198 -198
  300. package/src/components/sale/filesquery/filequerydetail/RecordQueryDetail.vue +125 -125
  301. package/src/components/sale/filesquery/filequerydetail/SellingHandDetail.vue +280 -280
  302. package/src/components/sale/filesquery/filequerydetail/TransferQueryDetail.vue +160 -160
  303. package/src/components/sale/filesquery/filequerydetail/UserQueryDetail.vue +155 -155
  304. package/src/components/sale/report/aode/DayReport.vue +50 -50
  305. package/src/components/sale/report/aode/DayReportSummary.vue +75 -75
  306. package/src/components/sale/report/aode/MonthByChargeType.vue +446 -446
  307. package/src/components/sale/report/aode/MonthByUserType.vue +413 -413
  308. package/src/components/sale/report/aode/YearByChargeTpye.vue +215 -215
  309. package/src/components/sale/report/aode/YearByUserType.vue +272 -272
  310. package/src/components/sale/report/aode/life/LifeDayReport.vue +50 -50
  311. package/src/components/sale/report/aode/life/LifeDayReportList.vue +241 -241
  312. package/src/components/sale/report/aode/life/LifeDayReportSummary.vue +49 -49
  313. package/src/components/sale/report/aode/life/LifeMonthReport.vue +303 -303
  314. package/src/components/sale/report/aode/life/LifeYearReport.vue +175 -175
  315. package/src/components/sale/report/aode/widget/LifeDayReportListPrint.vue +189 -189
  316. package/src/components/sale/report/aode/widget/LifeMonthPrint.vue +153 -153
  317. package/src/components/sale/report/aode/widget/LifeYearPrint.vue +143 -143
  318. package/src/components/sale/report/aode/widget/MonthByChargePrint.vue +236 -236
  319. package/src/components/sale/report/aode/widget/MonthByUserPrint.vue +232 -232
  320. package/src/components/sale/report/aode/widget/YearByChargePrint.vue +203 -203
  321. package/src/components/sale/report/aode/widget/YearByUserPrint.vue +225 -225
  322. package/src/components/scada/CaculateGasConsumputionByDay/CaculateGasConsumputionByDay.vue +290 -290
  323. package/src/components/scada/ChartDisplay/ChartDisplayManage.vue +55 -55
  324. package/src/components/scada/ChartDisplay/ChartThreeDayContrast.vue +164 -164
  325. package/src/components/scada/CumulativeFlow/CumulativeFlowHeatPlant.vue +400 -400
  326. package/src/components/scada/CumulativeFlow/CumulativeFlowManage.vue +59 -59
  327. package/src/components/scada/CumulativeFlow/CumulativeFlowRegulatorStation.vue +504 -504
  328. package/src/components/scada/CumulativeFlow/CumulativeFlowStation.vue +248 -248
  329. package/src/components/scada/GasSupplyRunning/GasSupplyRunningByDay.vue +297 -297
  330. package/src/components/scada/InstantaneousFlow/InstantaneousFlowHeatPlant.vue +389 -389
  331. package/src/components/scada/InstantaneousFlow/InstantaneousFlowManage.vue +57 -57
  332. package/src/components/scada/InstantaneousFlow/InstantaneousFlowRegulatorStation.vue +503 -503
  333. package/src/components/scada/InstantaneousFlow/InstantaneousFlowStation.vue +244 -244
  334. package/src/components/scada/OnTimePressure/OnTimePressureHeatPlant.vue +356 -356
  335. package/src/components/scada/OnTimePressure/OnTimePressureManage.vue +51 -51
  336. package/src/components/scada/OnTimePressure/OnTimePressureRegulatorStation.vue +526 -526
  337. package/src/components/scada/ThreeDayContrast/ThreeDayContrastManage.vue +282 -282
  338. package/src/components/webmeter/DrillData/LargeScreenAnalysisEcharts.vue +710 -710
  339. package/src/components/webmeter/DrillData/LostContactAnalysis.vue +531 -531
  340. package/src/components/webmeter/DrillData/LostContactAnalysisList.vue +633 -633
  341. package/src/components/webmeter/DrillData/LostContactAnalysisManage.vue +30 -30
  342. package/src/components/webmeter/DrillData/LostContactEcharts.vue +177 -177
  343. package/src/components/webmeter/DrillData/LostContactEform.vue +190 -190
  344. package/src/components/webmeter/DrillData/UserGasEform.vue +227 -227
  345. package/src/components/webmeter/DrillData/UserLostContactAnalysis.vue +585 -585
  346. package/src/components/webmeter/dataCollection/DataCollection.vue +676 -676
  347. package/src/components/webmeter/gasAnalysis/GasAnalysisEcharts.vue +144 -144
  348. package/src/components/webmeter/gasAnalysis/GasAnalysisSummary.vue +162 -162
  349. package/src/components/webmeter/handplan/NewWebMeterHandPlan.vue +745 -745
  350. package/src/components/webmeter/handplan/NewWebmeterHandPlanMain.vue +59 -59
  351. package/src/components/webmeter/indicatorStatisticsEchars.vue +204 -204
  352. package/src/components/webmeter/indicatorStatisticsMain.vue +257 -257
  353. package/src/components/webmeter/instruction/NewQueryInstruct.vue +2 -2
  354. package/src/components/webmeter/meterinfo/NewMeterList.vue +414 -414
  355. package/src/components/webmeter/meterinfo/NewMeterListMain.vue +53 -53
  356. package/src/components/webmeter/newwebmeter/NewException/NewExceptionEform.vue +149 -149
  357. package/src/components/webmeter/newwebmeter/NewException/NewExceptionEformTotal.vue +211 -211
  358. package/src/components/webmeter/newwebmeter/NewException/NewMeterException.vue +449 -449
  359. package/src/components/webmeter/newwebmeter/NewException/TotalExceptionByMeter.vue +607 -607
  360. package/src/components/webmeter/newwebmeter/UserGasEchartsList.vue +284 -284
  361. package/src/components/webmeter/newwebmeter/UserGasList.vue +438 -438
  362. package/src/components/webmeter/newwebmeter/UserInstructEchartsList.vue +242 -242
  363. package/src/components/webmeter/newwebmeter/signAnalysisEcharts.vue +266 -266
  364. package/src/components/webmeter/newwebmeter/signAnalysisEform.vue +175 -175
  365. package/src/components/webmeter/newwebmeter/signAnalysisListMain.vue +387 -387
  366. package/src/components/yulin/GuanWang.vue +24 -24
  367. package/src/components/yulin/SingleBarLine.vue +352 -352
  368. package/src/components/yulin/Weather.vue +157 -157
  369. package/src/expandcss.less +26 -26
  370. package/src/filiale/WEINAN/EchartsBox.vue +110 -110
  371. package/src/filiale/WEINAN/InspectListUser.vue +492 -492
  372. package/src/filiale/WEINAN/OtherChargeQuery.vue +521 -521
  373. package/src/filiale/WEINAN/SiteManager.vue +191 -191
  374. package/src/filiale/WEINAN/reportManage.js +12 -12
  375. package/src/filiale/alashan/reportManage.js +10 -10
  376. package/src/filiale/aode/ArchivesManage.vue +38 -38
  377. package/src/filiale/aode/BusinessManage.vue +94 -94
  378. package/src/filiale/aode/DefaultPrint.js +6 -6
  379. package/src/filiale/aode/HandplanQuery.vue +632 -632
  380. package/src/filiale/aode/Tabs.vue +67 -67
  381. package/src/filiale/aode/UserQuery.vue +599 -599
  382. package/src/filiale/aode/sale.js +17 -17
  383. package/src/filiale/ceshi/ArrearsQuery.vue +642 -642
  384. package/src/filiale/ceshi/ChManageBusSummary.vue +293 -293
  385. package/src/filiale/ceshi/CollectManage.vue +94 -94
  386. package/src/filiale/ceshi/MeterRateQuery.vue +633 -633
  387. package/src/filiale/ceshi/TabButton.vue +149 -149
  388. package/src/filiale/ceshi/Tabs.vue +69 -69
  389. package/src/filiale/ceshi/reportManage.js +5 -5
  390. package/src/filiale/ceshi/sale.js +11 -11
  391. package/src/filiale/gaomi/config/DefaultPrint.js +6 -6
  392. package/src/filiale/gaomi/config/tableConfig.js +47 -47
  393. package/src/filiale/gongyi/sale/businessquery/exportConfig.js +17 -17
  394. package/src/filiale/gongyi/sale/filesquery/MeterQuery.vue +718 -718
  395. package/src/filiale/jingzhou/ChargeQuery.vue +1243 -1243
  396. package/src/filiale/jingzhou/config/exportConfig.js +861 -861
  397. package/src/filiale/liaoyuan/sale.js +11 -11
  398. package/src/filiale/macheng/config/DefaultPrint.js +12 -12
  399. package/src/filiale/meihekou/UserGasEform.vue +267 -267
  400. package/src/filiale/meihekou/sale.js +26 -26
  401. package/src/filiale/qingtongxia/config/DefaultPrint.js +6 -6
  402. package/src/filiale/qingtongxia/sale.js +13 -13
  403. package/src/filiale/rongchuang/SellingTable.vue +250 -250
  404. package/src/filiale/rongchuang/reportManage.js +11 -11
  405. package/src/filiale/shaoguan/OtherChargeDetailQuery.vue +74 -74
  406. package/src/filiale/shaoguan/config/DefaultPrint.js +6 -6
  407. package/src/filiale/shennongjia/config/DefaultPrint.js +6 -6
  408. package/src/filiale/shennongjia/config/tableConfig.js +47 -47
  409. package/src/filiale/shennongjia/sale.js +10 -10
  410. package/src/filiale/tongchuan/sale.js +16 -19
  411. package/src/filiale/wuhai/ChargeQuery.vue +1247 -0
  412. package/src/filiale/wuhai/sale.js +10 -0
  413. package/src/main.js +66 -66
  414. package/src/plugins/GetLoginInfoService.js +505 -505
  415. package/src/plugins/LodopFuncs.js +124 -124
  416. package/src/plugins/getAllInputtor.js +29 -29
  417. package/src/safeCheck.js +63 -63
  418. package/src/stores/AppData.js +62 -62
  419. package/src/stores/DataSql.js +585 -585
  420. package/src/stores/DrillECharts.js +602 -602
  421. package/src/stores/DrillSql.js +888 -888
  422. package/src/stores/GetParames.js +15 -15
  423. package/src/stores/MagGetSaleParams.js +156 -156
  424. package/src/stores/MagLoadParams.js +63 -63
  425. package/src/stores/Util.js +132 -132
  426. package/src/stores/shanxi1.js +26 -26
  427. package/src/stores/yulin.js +27 -27
  428. package/src/webmeterManage.js +105 -105
  429. package/static/china.json +1 -1
  430. package/static/qh.json +2410 -2410
  431. package/static/res.json +58411 -58411
  432. package/static/shanxi1.json +1 -1
  433. package/static/wuhai.json +1610 -1610
  434. package/static/yulin.json +1 -1
  435. package/static//345/261/261/344/270/234/347/234/201.json +1 -1
  436. package/test/unit/.eslintrc +5 -5
  437. package/test/unit/TestUtil.js +35 -35
  438. package/test/unit/context.html +20 -20
  439. package/test/unit/index.js +13 -13
  440. package/test/unit/init.js +11 -11
  441. package/test/unit/karma.conf.js +45 -45
  442. package/test/unit/specs/components/CallReport/Repair.spec.js +25 -25
  443. package/test/unit/specs/components/ManageBusiness/EquipmentQuery.spec.js +21 -21
  444. package/test/unit/specs/components/ManageBusiness/TableWithQuery.spec.js +21 -21
  445. package/test/unit/specs/components/ManageBusiness/UserQuery.spec.js +21 -21
  446. package/webstorm.config.js +13 -13
  447. package/src/filiale/tongchuan/CriteriaPaged.vue +0 -49
@@ -1,282 +1,282 @@
1
- <template>
2
- <div id="unit" class="flex-row">
3
- <div class="basic-main" @keyup.enter="search">
4
- <div class="flex" v-if="!show">
5
- <criteria-paged :model="model" v-ref:paged :pager="false" @sort="sort">
6
- <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri >
7
- <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
8
- <div class="row">
9
- <div class="col-sm-2 form-group">
10
- <label class="font_normal_body">场站名称</label>
11
- <v-select
12
- :value.sync="currentStation"
13
- :options='$parent.$parent.stationName' placeholder='请选择'
14
- @change="$parent.$parent.stationNameChange"
15
- v-model="currentStation"
16
- close-on-select ></v-select>
17
- </div>
18
- <div class="span" style="float:right;">
19
- <button class="button_search button_spacing" @click="search()">查询</button>
20
- <button class="button_search button_spacing" @click="$parent.$parent.exportToExcel()">导出为Excel</button>
21
-
22
- <!--<export-excel :data="$parent.$parent.getCondition" :footer="$parent.$parent.footer"-->
23
- <!--:field="$parent.$parent.getfield" :header="$parent.$parent.other"-->
24
- <!--:defaultselect="$parent.$parent.defaultexport"-->
25
- <!--sqlurl="rs/logic/threeDayContrastExport" sql-name="chargeQuery" template-name='收费查询导出'-->
26
-
27
- <!--:choose-col="true">-->
28
- <!--</export-excel>-->
29
- </div>
30
- </div>
31
- </div>
32
- </criteria>
33
- <data-grid :model="model" partial='list' class="list_area table_sy" >
34
- <template partial='head'>
35
- <tr>
36
- <th rowspan="2">{{this.currentStation}}</th>
37
- <th >09:00</th>
38
- <th >10:00</th>
39
- <th >11:00</th>
40
- <th >12:00</th>
41
- <th >13:00</th>
42
- <th >14:00</th>
43
- <th >15:00</th>
44
- <th >16:00</th>
45
- <th >17:00</th>
46
- <th >18:00</th>
47
- <th >19:00</th>
48
- <th >20:00</th>
49
- <th >21:00</th>
50
- <th >22:00</th>
51
- <th >23:00</th>
52
- <th >00:00</th>
53
- <th >01:00</th>
54
- <th >02:00</th>
55
- <th >03:00</th>
56
- <th >04:00</th>
57
- <th >05:00</th>
58
- <th >06:00</th>
59
- <th >07:00</th>
60
- <th >08:00</th>
61
- </tr>
62
- </template>
63
- <template partial='body'>
64
- <td style="text-align: center;">
65
- <nobr>{{row.year_month_day}}</nobr>
66
- </td>
67
- <td style="text-align: center;">
68
- <nobr>{{row.data09}}</nobr>
69
- </td>
70
- <td style="text-align: center;">
71
- <nobr>{{row.data10}}</nobr>
72
- </td>
73
- <td style="text-align: center;">
74
- <nobr>{{row.data11}}</nobr>
75
- </td>
76
- <td style="text-align: center;">
77
- <nobr>{{row.data12}}</nobr>
78
- </td>
79
- <td style="text-align: center;">
80
- <nobr>{{row.data13}}</nobr>
81
- </td>
82
- <td style="text-align: center;">
83
- <nobr>{{row.data14}}</nobr>
84
- </td>
85
- <td style="text-align: center;">
86
- <nobr>{{row.data15}}</nobr>
87
- </td>
88
- <td style="text-align: center;">
89
- <nobr>{{row.data16}}</nobr>
90
- </td>
91
- <td style="text-align: center;">
92
- <nobr>{{row.data17}}</nobr>
93
- </td>
94
- <td style="text-align: center;">
95
- <nobr>{{row.data18}}</nobr>
96
- </td>
97
- <td style="text-align: center;">
98
- <nobr>{{row.data19}}</nobr>
99
- </td>
100
- <td style="text-align: center;">
101
- <nobr>{{row.data20}}</nobr>
102
- </td>
103
- <td style="text-align: center;">
104
- <nobr>{{row.data21}}</nobr>
105
- </td>
106
- <td style="text-align: center;">
107
- <nobr>{{row.data22}}</nobr>
108
- </td>
109
- <td style="text-align: center;">
110
- <nobr>{{row.data23}}</nobr>
111
- </td>
112
- <td style="text-align: center;">
113
- <nobr>{{row.data00}}</nobr>
114
- </td>
115
- <td style="text-align: center;">
116
- <nobr>{{row.data01}}</nobr>
117
- </td>
118
- <td style="text-align: center;">
119
- <nobr>{{row.data02}}</nobr>
120
- </td>
121
- <td style="text-align: center;">
122
- <nobr>{{row.data03}}</nobr>
123
- </td>
124
- <td style="text-align: center;">
125
- <nobr>{{row.data04}}</nobr>
126
- </td>
127
- <td style="text-align: center;">
128
- <nobr>{{row.data05}}</nobr>
129
- </td>
130
- <td style="text-align: center;">
131
- <nobr>{{row.data06}}</nobr>
132
- </td>
133
- <td style="text-align: center;">
134
- <nobr>{{row.data07}}</nobr>
135
- </td>
136
- <td style="text-align: center;">
137
- <nobr>{{row.data08}}</nobr>
138
- </td>
139
-
140
-
141
- </template>
142
- </data-grid>
143
- </criteria-paged>
144
- </div>
145
- </div>
146
- </div>
147
- </template>
148
-
149
- <script>
150
- import TabButton from "../../sale/common/TabButton";
151
- import Tabs from "../../sale/common/Tabs";
152
- import {addDate, toStandardDateString, toStandardTimeString} from "../../../Util";
153
- import {PagedList} from "vue-client";
154
-
155
-
156
- export default {
157
- name: "ThreeDayContrastManage",
158
- title:'三日对比量',
159
- components: {Tabs, TabButton},
160
- data(){
161
- return{
162
- currentStation:'',
163
- //下拉框
164
- stationName:[],
165
- model: new PagedList('rs/sql/get3DayContrast',24,{stationName:'this.model.currentStation',beginDate:'this.model.startDate',endDate:'this.model.endDate'})
166
- }
167
- },
168
- ready(){
169
- // 初始化变量
170
- this.initVariable();
171
- //初始化场站名
172
- this.initStationName();
173
- },
174
- methods:{
175
- exportToExcel(){
176
- this.$resetpost('rs/logic/threeDayContrastExport',{raw_data:this.model.rows,stationName:this.currentStation})
177
- },
178
- reset(){
179
- //客户对日期的定义是非自然日,将自然日中的数据合并
180
- let data = this.model.rows;
181
- let length = data.length;
182
- for(let i=length-1;i>0;i--){
183
- let a =data[i].year_month_day;
184
- let b =addDate(data[i-1].year_month_day,1).substr(0,10);
185
- if(a===b){
186
- for(let index in data[i]){
187
- let indexToNum = parseInt(index.substr(4,2));
188
- if(indexToNum>=9 && indexToNum <= 23){
189
- data[i][index] = data[i-1][index];
190
- }
191
- }
192
- }
193
- }
194
- let today = toStandardDateString();
195
- let theDayBeforeThreeDay = addDate(today,-3).substr(0,10);
196
- if(data[0].year_month_day === theDayBeforeThreeDay)
197
- data.splice(0,1)
198
- },
199
- inputDefocus(row,column,newData,stationName,childStationName,lineName){
200
- if(typeof newData=='string')
201
- newData = parseFloat(newData);
202
- let index = this.hasModelBackupTime(row.time); //判断修改了哪个数据
203
- if(index !== null ){
204
- let oldData = this.modelBackup.rows[index][column];
205
- if(oldData !== newData){
206
- //如果更改了数据,修改数据,增加log
207
- let operatorTime = toStandardTimeString();
208
- let field= '';
209
- if(column.indexOf('in')>=0)
210
- field = 'f_input_pressure';
211
- else if (column.indexOf('out')>=0)
212
- field = 'f_output_pressure';
213
- this.$resetpost('rs/logic/modifyData',{stationName:stationName, childStationName:childStationName, lineName:lineName,
214
- f_create_time:row.time, oldData:oldData,newData:newData,operatorTime:operatorTime,field:field,
215
- operatorName:this.$login.f.ename, operatorId:this.$login.f.loginid
216
- });
217
- //重新查询
218
- this.search();
219
- }
220
- }
221
- //将rows内数据格式化为number
222
- for(let i in this.model.rows){
223
- let rowsData = this.model.rows[i];
224
- for(let j in rowsData){
225
- if(j!=='time' && typeof rowsData[j] == 'string')
226
- rowsData[j] = parseInt(rowsData[j]);
227
- }
228
- }
229
- },
230
- async initStationName(){
231
- await this.$resetpost('rs/sql/getAllStationName',{data:{}},{resolveMsg:null},{rejectMsg:"获取场站名称失败"}).then(resolve => {
232
- let tempName = [];
233
- this.stationName = [{label: '请选择', value: ''}];
234
- //获取所有场站名称
235
- for(let i in resolve.data){
236
- let data = resolve.data[i];
237
- let temp = {label:"",value:""};
238
- temp.label = temp.value = data.f_name;
239
- tempName.push(temp);
240
- }
241
- this.stationName = [this.stationName,...tempName]
242
- console.log("this.stationName=",this.stationName)
243
- })
244
- },
245
- async selfSearch(args){
246
- this.initVariable();
247
- await this.model.search(null, args.model)
248
- this.reset();
249
- console.log(this.model);
250
- },
251
- stationNameChange(val){
252
- this.currentStation = val[0];
253
- this.initVariable();
254
- this.search()
255
- },
256
- async search(){
257
- this.initVariable();
258
- await this.model.search(null,this.model);
259
- this.reset();
260
- console.log(this.model);
261
- },
262
- initVariable(){
263
- //计算起始日期及结束日期
264
- this.$refs.paged.$refs.cri.model.endDate = toStandardDateString()+' 08:00:00';
265
- this.$refs.paged.$refs.cri.model.startDate = addDate(this.$refs.paged.$refs.cri.model.endDate,-3);
266
- this.$refs.paged.$refs.cri.model.endDate = this.$refs.paged.$refs.cri.model.endDate.substr(this.$refs.paged.$refs.cri.model.endDate,10)+' 08:00:00';
267
- this.$refs.paged.$refs.cri.model.currentStation = this.currentStation;
268
- //this.model中存一份,方便搜索
269
- this.model.startDate = this.$refs.paged.$refs.cri.model.startDate;
270
- this.model.endDate = this.$refs.paged.$refs.cri.model.endDate;
271
- this.model.currentStation = this.currentStation?this.currentStation:'';
272
- }
273
- },
274
- computed:{
275
-
276
- }
277
- }
278
- </script>
279
-
280
- <style scoped>
281
-
282
- </style>
1
+ <template>
2
+ <div id="unit" class="flex-row">
3
+ <div class="basic-main" @keyup.enter="search">
4
+ <div class="flex" v-if="!show">
5
+ <criteria-paged :model="model" v-ref:paged :pager="false" @sort="sort">
6
+ <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri >
7
+ <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
8
+ <div class="row">
9
+ <div class="col-sm-2 form-group">
10
+ <label class="font_normal_body">场站名称</label>
11
+ <v-select
12
+ :value.sync="currentStation"
13
+ :options='$parent.$parent.stationName' placeholder='请选择'
14
+ @change="$parent.$parent.stationNameChange"
15
+ v-model="currentStation"
16
+ close-on-select ></v-select>
17
+ </div>
18
+ <div class="span" style="float:right;">
19
+ <button class="button_search button_spacing" @click="search()">查询</button>
20
+ <button class="button_search button_spacing" @click="$parent.$parent.exportToExcel()">导出为Excel</button>
21
+
22
+ <!--<export-excel :data="$parent.$parent.getCondition" :footer="$parent.$parent.footer"-->
23
+ <!--:field="$parent.$parent.getfield" :header="$parent.$parent.other"-->
24
+ <!--:defaultselect="$parent.$parent.defaultexport"-->
25
+ <!--sqlurl="rs/logic/threeDayContrastExport" sql-name="chargeQuery" template-name='收费查询导出'-->
26
+
27
+ <!--:choose-col="true">-->
28
+ <!--</export-excel>-->
29
+ </div>
30
+ </div>
31
+ </div>
32
+ </criteria>
33
+ <data-grid :model="model" partial='list' class="list_area table_sy" >
34
+ <template partial='head'>
35
+ <tr>
36
+ <th rowspan="2">{{this.currentStation}}</th>
37
+ <th >09:00</th>
38
+ <th >10:00</th>
39
+ <th >11:00</th>
40
+ <th >12:00</th>
41
+ <th >13:00</th>
42
+ <th >14:00</th>
43
+ <th >15:00</th>
44
+ <th >16:00</th>
45
+ <th >17:00</th>
46
+ <th >18:00</th>
47
+ <th >19:00</th>
48
+ <th >20:00</th>
49
+ <th >21:00</th>
50
+ <th >22:00</th>
51
+ <th >23:00</th>
52
+ <th >00:00</th>
53
+ <th >01:00</th>
54
+ <th >02:00</th>
55
+ <th >03:00</th>
56
+ <th >04:00</th>
57
+ <th >05:00</th>
58
+ <th >06:00</th>
59
+ <th >07:00</th>
60
+ <th >08:00</th>
61
+ </tr>
62
+ </template>
63
+ <template partial='body'>
64
+ <td style="text-align: center;">
65
+ <nobr>{{row.year_month_day}}</nobr>
66
+ </td>
67
+ <td style="text-align: center;">
68
+ <nobr>{{row.data09}}</nobr>
69
+ </td>
70
+ <td style="text-align: center;">
71
+ <nobr>{{row.data10}}</nobr>
72
+ </td>
73
+ <td style="text-align: center;">
74
+ <nobr>{{row.data11}}</nobr>
75
+ </td>
76
+ <td style="text-align: center;">
77
+ <nobr>{{row.data12}}</nobr>
78
+ </td>
79
+ <td style="text-align: center;">
80
+ <nobr>{{row.data13}}</nobr>
81
+ </td>
82
+ <td style="text-align: center;">
83
+ <nobr>{{row.data14}}</nobr>
84
+ </td>
85
+ <td style="text-align: center;">
86
+ <nobr>{{row.data15}}</nobr>
87
+ </td>
88
+ <td style="text-align: center;">
89
+ <nobr>{{row.data16}}</nobr>
90
+ </td>
91
+ <td style="text-align: center;">
92
+ <nobr>{{row.data17}}</nobr>
93
+ </td>
94
+ <td style="text-align: center;">
95
+ <nobr>{{row.data18}}</nobr>
96
+ </td>
97
+ <td style="text-align: center;">
98
+ <nobr>{{row.data19}}</nobr>
99
+ </td>
100
+ <td style="text-align: center;">
101
+ <nobr>{{row.data20}}</nobr>
102
+ </td>
103
+ <td style="text-align: center;">
104
+ <nobr>{{row.data21}}</nobr>
105
+ </td>
106
+ <td style="text-align: center;">
107
+ <nobr>{{row.data22}}</nobr>
108
+ </td>
109
+ <td style="text-align: center;">
110
+ <nobr>{{row.data23}}</nobr>
111
+ </td>
112
+ <td style="text-align: center;">
113
+ <nobr>{{row.data00}}</nobr>
114
+ </td>
115
+ <td style="text-align: center;">
116
+ <nobr>{{row.data01}}</nobr>
117
+ </td>
118
+ <td style="text-align: center;">
119
+ <nobr>{{row.data02}}</nobr>
120
+ </td>
121
+ <td style="text-align: center;">
122
+ <nobr>{{row.data03}}</nobr>
123
+ </td>
124
+ <td style="text-align: center;">
125
+ <nobr>{{row.data04}}</nobr>
126
+ </td>
127
+ <td style="text-align: center;">
128
+ <nobr>{{row.data05}}</nobr>
129
+ </td>
130
+ <td style="text-align: center;">
131
+ <nobr>{{row.data06}}</nobr>
132
+ </td>
133
+ <td style="text-align: center;">
134
+ <nobr>{{row.data07}}</nobr>
135
+ </td>
136
+ <td style="text-align: center;">
137
+ <nobr>{{row.data08}}</nobr>
138
+ </td>
139
+
140
+
141
+ </template>
142
+ </data-grid>
143
+ </criteria-paged>
144
+ </div>
145
+ </div>
146
+ </div>
147
+ </template>
148
+
149
+ <script>
150
+ import TabButton from "../../sale/common/TabButton";
151
+ import Tabs from "../../sale/common/Tabs";
152
+ import {addDate, toStandardDateString, toStandardTimeString} from "../../../Util";
153
+ import {PagedList} from "vue-client";
154
+
155
+
156
+ export default {
157
+ name: "ThreeDayContrastManage",
158
+ title:'三日对比量',
159
+ components: {Tabs, TabButton},
160
+ data(){
161
+ return{
162
+ currentStation:'',
163
+ //下拉框
164
+ stationName:[],
165
+ model: new PagedList('rs/sql/get3DayContrast',24,{stationName:'this.model.currentStation',beginDate:'this.model.startDate',endDate:'this.model.endDate'})
166
+ }
167
+ },
168
+ ready(){
169
+ // 初始化变量
170
+ this.initVariable();
171
+ //初始化场站名
172
+ this.initStationName();
173
+ },
174
+ methods:{
175
+ exportToExcel(){
176
+ this.$resetpost('rs/logic/threeDayContrastExport',{raw_data:this.model.rows,stationName:this.currentStation})
177
+ },
178
+ reset(){
179
+ //客户对日期的定义是非自然日,将自然日中的数据合并
180
+ let data = this.model.rows;
181
+ let length = data.length;
182
+ for(let i=length-1;i>0;i--){
183
+ let a =data[i].year_month_day;
184
+ let b =addDate(data[i-1].year_month_day,1).substr(0,10);
185
+ if(a===b){
186
+ for(let index in data[i]){
187
+ let indexToNum = parseInt(index.substr(4,2));
188
+ if(indexToNum>=9 && indexToNum <= 23){
189
+ data[i][index] = data[i-1][index];
190
+ }
191
+ }
192
+ }
193
+ }
194
+ let today = toStandardDateString();
195
+ let theDayBeforeThreeDay = addDate(today,-3).substr(0,10);
196
+ if(data[0].year_month_day === theDayBeforeThreeDay)
197
+ data.splice(0,1)
198
+ },
199
+ inputDefocus(row,column,newData,stationName,childStationName,lineName){
200
+ if(typeof newData=='string')
201
+ newData = parseFloat(newData);
202
+ let index = this.hasModelBackupTime(row.time); //判断修改了哪个数据
203
+ if(index !== null ){
204
+ let oldData = this.modelBackup.rows[index][column];
205
+ if(oldData !== newData){
206
+ //如果更改了数据,修改数据,增加log
207
+ let operatorTime = toStandardTimeString();
208
+ let field= '';
209
+ if(column.indexOf('in')>=0)
210
+ field = 'f_input_pressure';
211
+ else if (column.indexOf('out')>=0)
212
+ field = 'f_output_pressure';
213
+ this.$resetpost('rs/logic/modifyData',{stationName:stationName, childStationName:childStationName, lineName:lineName,
214
+ f_create_time:row.time, oldData:oldData,newData:newData,operatorTime:operatorTime,field:field,
215
+ operatorName:this.$login.f.ename, operatorId:this.$login.f.loginid
216
+ });
217
+ //重新查询
218
+ this.search();
219
+ }
220
+ }
221
+ //将rows内数据格式化为number
222
+ for(let i in this.model.rows){
223
+ let rowsData = this.model.rows[i];
224
+ for(let j in rowsData){
225
+ if(j!=='time' && typeof rowsData[j] == 'string')
226
+ rowsData[j] = parseInt(rowsData[j]);
227
+ }
228
+ }
229
+ },
230
+ async initStationName(){
231
+ await this.$resetpost('rs/sql/getAllStationName',{data:{}},{resolveMsg:null},{rejectMsg:"获取场站名称失败"}).then(resolve => {
232
+ let tempName = [];
233
+ this.stationName = [{label: '请选择', value: ''}];
234
+ //获取所有场站名称
235
+ for(let i in resolve.data){
236
+ let data = resolve.data[i];
237
+ let temp = {label:"",value:""};
238
+ temp.label = temp.value = data.f_name;
239
+ tempName.push(temp);
240
+ }
241
+ this.stationName = [this.stationName,...tempName]
242
+ console.log("this.stationName=",this.stationName)
243
+ })
244
+ },
245
+ async selfSearch(args){
246
+ this.initVariable();
247
+ await this.model.search(null, args.model)
248
+ this.reset();
249
+ console.log(this.model);
250
+ },
251
+ stationNameChange(val){
252
+ this.currentStation = val[0];
253
+ this.initVariable();
254
+ this.search()
255
+ },
256
+ async search(){
257
+ this.initVariable();
258
+ await this.model.search(null,this.model);
259
+ this.reset();
260
+ console.log(this.model);
261
+ },
262
+ initVariable(){
263
+ //计算起始日期及结束日期
264
+ this.$refs.paged.$refs.cri.model.endDate = toStandardDateString()+' 08:00:00';
265
+ this.$refs.paged.$refs.cri.model.startDate = addDate(this.$refs.paged.$refs.cri.model.endDate,-3);
266
+ this.$refs.paged.$refs.cri.model.endDate = this.$refs.paged.$refs.cri.model.endDate.substr(this.$refs.paged.$refs.cri.model.endDate,10)+' 08:00:00';
267
+ this.$refs.paged.$refs.cri.model.currentStation = this.currentStation;
268
+ //this.model中存一份,方便搜索
269
+ this.model.startDate = this.$refs.paged.$refs.cri.model.startDate;
270
+ this.model.endDate = this.$refs.paged.$refs.cri.model.endDate;
271
+ this.model.currentStation = this.currentStation?this.currentStation:'';
272
+ }
273
+ },
274
+ computed:{
275
+
276
+ }
277
+ }
278
+ </script>
279
+
280
+ <style scoped>
281
+
282
+ </style>