manage-client 3.1.54 → 3.1.58

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 (482) 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/{7.1 → 4.4}/fileChanges/last-build.bin +0 -0
  6. package/.gradle/{buildOutputCleanup/outputFiles.bin → 4.4/fileHashes/fileHashes.bin} +0 -0
  7. package/.gradle/4.4/fileHashes/fileHashes.lock +0 -0
  8. package/.gradle/{7.1 → 6.1}/executionHistory/executionHistory.bin +0 -0
  9. package/.gradle/6.1/executionHistory/executionHistory.lock +0 -0
  10. package/.gradle/6.1/fileChanges/last-build.bin +0 -0
  11. package/.gradle/{7.1 → 6.1}/fileHashes/fileHashes.bin +0 -0
  12. package/.gradle/6.1/fileHashes/fileHashes.lock +0 -0
  13. package/.gradle/{7.1/dependencies-accessors → 6.1}/gc.properties +0 -0
  14. package/.gradle/buildOutputCleanup/cache.properties +2 -2
  15. package/.project +18 -18
  16. package/CHANGELOG.md +15 -15
  17. package/DOC//345/212/237/350/203/275/350/257/264/346/230/216.md +13 -13
  18. package/DOC//347/211/210/346/234/254/344/277/241/346/201/257.md +8 -8
  19. package/ManageClient.iml +13 -13
  20. package/README.md +38 -38
  21. package/build/dev-server.js +174 -174
  22. package/build/webpack.base.conf.js +82 -82
  23. package/build.gradle +13 -13
  24. package/config/dev.env.js +6 -6
  25. package/config/index.js +40 -40
  26. package/config/prod.env.js +3 -3
  27. package/config/test.env.js +6 -6
  28. package/gradle/wrapper/gradle-wrapper.properties +5 -5
  29. package/gradlew.bat +100 -100
  30. package/index.html +28 -28
  31. package/package.json +1 -1
  32. package/release.bat +5 -5
  33. package/src/ManageHome.js +269 -269
  34. package/src/Staff/StaffCompileList.vue +334 -334
  35. package/src/Staff/StaffList.vue +161 -161
  36. package/src/Staff/StaffListManage.vue +49 -49
  37. package/src/Util.js +367 -367
  38. package/src/components/BasisEcharts/BarChart.vue +247 -247
  39. package/src/components/BasisEcharts/LineChart.vue +243 -243
  40. package/src/components/ManageHome/CustomerService/ContentmentStatistics.vue +135 -135
  41. package/src/components/ManageHome/CustomerService/ExcepCollect.vue +174 -174
  42. package/src/components/ManageHome/CustomerService/ReasonComplaint.vue +116 -116
  43. package/src/components/ManageHome/CustomerService/ReasonConsultation.vue +115 -115
  44. package/src/components/ManageHome/CustomerService/ServiceFix.vue +155 -155
  45. package/src/components/ManageHome/CustomerService/ServiceHome.vue +179 -179
  46. package/src/components/ManageHome/CustomerService/ServiceStatistics.vue +147 -147
  47. package/src/components/ManageHome/CustomerService/TrafficStatistics.vue +160 -160
  48. package/src/components/ManageHome/Drill/DrillData.vue +791 -791
  49. package/src/components/ManageHome/Drill/DrillList.vue +320 -320
  50. package/src/components/ManageHome/Drill/DrillPool.vue +129 -129
  51. package/src/components/ManageHome/Home/CallCenter.vue +124 -124
  52. package/src/components/ManageHome/Home/CallFix.vue +172 -172
  53. package/src/components/ManageHome/Home/CallStatistics.vue +147 -147
  54. package/src/components/ManageHome/Home/GasValue.vue +233 -233
  55. package/src/components/ManageHome/Home/Home.vue +138 -138
  56. package/src/components/ManageHome/Home/Monitor.vue +329 -329
  57. package/src/components/ManageHome/Home/NetWork.vue +202 -202
  58. package/src/components/ManageHome/Home/SafeCheck.vue +249 -249
  59. package/src/components/ManageHome/Home/UserModule.vue +367 -367
  60. package/src/components/ManageHome/ImportSupplygas/AddSupply.vue +206 -206
  61. package/src/components/ManageHome/ImportSupplygas/SuppleManagement.vue +43 -43
  62. package/src/components/ManageHome/ImportSupplygas/SupplySelect.vue +85 -85
  63. package/src/components/ManageHome/ImportSupplygas/UpdateSupply.vue +187 -187
  64. package/src/components/ManageHome/ManageHome.vue +292 -292
  65. package/src/components/ManageHome/Monitor/BuySub.vue +311 -311
  66. package/src/components/ManageHome/Monitor/Caveat.vue +300 -300
  67. package/src/components/ManageHome/Monitor/ComparedGas.vue +264 -264
  68. package/src/components/ManageHome/Monitor/MeterBrand.vue +211 -211
  69. package/src/components/ManageHome/Monitor/MonitorCenter.vue +132 -132
  70. package/src/components/ManageHome/Monitor/MonitorHome.vue +188 -188
  71. package/src/components/ManageHome/Monitor/NoBuyGas.vue +223 -223
  72. package/src/components/ManageHome/Monitor/NoContact.vue +233 -233
  73. package/src/components/ManageHome/Monitor/NoGas.vue +202 -202
  74. package/src/components/ManageHome/NetWork/LineInspection.vue +267 -267
  75. package/src/components/ManageHome/NetWork/NetDanger.vue +258 -258
  76. package/src/components/ManageHome/NetWork/NetHome.vue +84 -84
  77. package/src/components/ManageHome/NetWork/SupplyGas.vue +204 -204
  78. package/src/components/ManageHome/SecurityCheck/CheckHome.vue +94 -94
  79. package/src/components/ManageHome/SecurityCheck/CustomerType.vue +244 -244
  80. package/src/components/ManageHome/SecurityCheck/LatentDanger.vue +218 -218
  81. package/src/components/ManageHome/SecurityCheck/PlanStatistics.vue +231 -231
  82. package/src/components/ManageHome/SecurityCheck/StateStatistics.vue +237 -237
  83. package/src/components/ManageHome/SecurityCheck/TaskStatistics.vue +303 -303
  84. package/src/components/ManageHome/User/GasDistri.vue +271 -271
  85. package/src/components/ManageHome/User/InspecDistri.vue +272 -272
  86. package/src/components/ManageHome/User/SaleProportion.vue +309 -309
  87. package/src/components/ManageHome/User/UseHome.vue +155 -155
  88. package/src/components/ManageHome/User/UserGascontrast.vue +223 -223
  89. package/src/components/ManageHome/User/UserNumber.vue +519 -519
  90. package/src/components/ManageHome/User/UsernumIncrease.vue +243 -243
  91. package/src/components/ManageHome/loading.vue +23 -23
  92. package/src/components/ManageHomeCS/Cockpit.vue +43 -43
  93. package/src/components/ManageHomeCS/CustomerService/ContentmentStatistics.vue +161 -161
  94. package/src/components/ManageHomeCS/CustomerService/ExcepCollect.vue +201 -201
  95. package/src/components/ManageHomeCS/CustomerService/ReasonComplaint.vue +146 -146
  96. package/src/components/ManageHomeCS/CustomerService/ReasonConsultation.vue +148 -148
  97. package/src/components/ManageHomeCS/CustomerService/ServiceFix.vue +242 -242
  98. package/src/components/ManageHomeCS/CustomerService/ServiceHome.vue +176 -176
  99. package/src/components/ManageHomeCS/CustomerService/ServiceStatistics.vue +277 -277
  100. package/src/components/ManageHomeCS/CustomerService/TrafficStatistics.vue +226 -226
  101. package/src/components/ManageHomeCS/Drill/DrillData.vue +918 -918
  102. package/src/components/ManageHomeCS/Drill/DrillList.vue +320 -320
  103. package/src/components/ManageHomeCS/Drill/DrillPool.vue +129 -129
  104. package/src/components/ManageHomeCS/Home/CallCenter.vue +206 -206
  105. package/src/components/ManageHomeCS/Home/CallFix.vue +172 -172
  106. package/src/components/ManageHomeCS/Home/CallStatistics.vue +147 -147
  107. package/src/components/ManageHomeCS/Home/GasValue.vue +466 -466
  108. package/src/components/ManageHomeCS/Home/Home.vue +57 -57
  109. package/src/components/ManageHomeCS/Home/Monitor.vue +423 -423
  110. package/src/components/ManageHomeCS/Home/NetWork.vue +223 -223
  111. package/src/components/ManageHomeCS/Home/SafeCheck.vue +446 -446
  112. package/src/components/ManageHomeCS/Home/ShanxiMap.vue +432 -432
  113. package/src/components/ManageHomeCS/Home/UserModule.vue +511 -511
  114. package/src/components/ManageHomeCS/Home/YulinMap.vue +424 -424
  115. package/src/components/ManageHomeCS/ImportSupplygas/AddSupply.vue +206 -206
  116. package/src/components/ManageHomeCS/ImportSupplygas/SuppleManagement.vue +43 -43
  117. package/src/components/ManageHomeCS/ImportSupplygas/SupplySelect.vue +85 -85
  118. package/src/components/ManageHomeCS/ImportSupplygas/UpdateSupply.vue +187 -187
  119. package/src/components/ManageHomeCS/Monitor/BuySub.vue +339 -339
  120. package/src/components/ManageHomeCS/Monitor/Caveat.vue +301 -301
  121. package/src/components/ManageHomeCS/Monitor/ComparedGas.vue +276 -276
  122. package/src/components/ManageHomeCS/Monitor/MeterBrand.vue +220 -220
  123. package/src/components/ManageHomeCS/Monitor/MonitorCenter.vue +139 -139
  124. package/src/components/ManageHomeCS/Monitor/MonitorHome.vue +188 -188
  125. package/src/components/ManageHomeCS/Monitor/NoBuyGas.vue +218 -218
  126. package/src/components/ManageHomeCS/Monitor/NoContact.vue +217 -217
  127. package/src/components/ManageHomeCS/Monitor/NoGas.vue +214 -214
  128. package/src/components/ManageHomeCS/NetWork/LineInspection.vue +268 -268
  129. package/src/components/ManageHomeCS/NetWork/NetDanger.vue +258 -258
  130. package/src/components/ManageHomeCS/NetWork/NetHome.vue +106 -106
  131. package/src/components/ManageHomeCS/NetWork/NetWork.vue +222 -222
  132. package/src/components/ManageHomeCS/NetWork/NetWorkMap.vue +86 -86
  133. package/src/components/ManageHomeCS/NetWork/SupplyGas.vue +291 -291
  134. package/src/components/ManageHomeCS/NewHome/GasProperties.vue +314 -314
  135. package/src/components/ManageHomeCS/NewHome/NewManageHome.vue +182 -182
  136. package/src/components/ManageHomeCS/NewHome/TextBusiness.vue +267 -267
  137. package/src/components/ManageHomeCS/NewHome/TextChildsellgas.vue +209 -209
  138. package/src/components/ManageHomeCS/NewHome/TextProfit.vue +298 -298
  139. package/src/components/ManageHomeCS/NewHome/TextSellgas.vue +82 -82
  140. package/src/components/ManageHomeCS/NewHome/TextShanximap.vue +389 -389
  141. package/src/components/ManageHomeCS/NewHome/TextTotalsellgas.vue +406 -406
  142. package/src/components/ManageHomeCS/NewHome/TextUser.vue +378 -378
  143. package/src/components/ManageHomeCS/NewHome/yulin.vue +425 -425
  144. package/src/components/ManageHomeCS/Poor/PoorHome.vue +176 -176
  145. package/src/components/ManageHomeCS/SecurityCheck/CheckHome.vue +94 -94
  146. package/src/components/ManageHomeCS/SecurityCheck/CustomerType.vue +246 -246
  147. package/src/components/ManageHomeCS/SecurityCheck/LatentDanger.vue +220 -220
  148. package/src/components/ManageHomeCS/SecurityCheck/PlanStatistics.vue +306 -306
  149. package/src/components/ManageHomeCS/SecurityCheck/StateStatistics.vue +239 -239
  150. package/src/components/ManageHomeCS/SecurityCheck/TaskStatistics.vue +311 -311
  151. package/src/components/ManageHomeCS/User/FMYInspecDistri.vue +269 -269
  152. package/src/components/ManageHomeCS/User/GasDistri.vue +220 -220
  153. package/src/components/ManageHomeCS/User/MYInspecDistri.vue +269 -269
  154. package/src/components/ManageHomeCS/User/SaleProportion.vue +384 -384
  155. package/src/components/ManageHomeCS/User/UseHome.vue +162 -162
  156. package/src/components/ManageHomeCS/User/UserGascontrast.vue +221 -221
  157. package/src/components/ManageHomeCS/User/UserNumber.vue +600 -600
  158. package/src/components/ManageHomeCS/User/UsernumIncrease.vue +277 -277
  159. package/src/components/ManageHomeCS/loading.vue +39 -39
  160. package/src/components/ManageHomeCS/test.vue +88 -88
  161. package/src/components/MeterManage/ChangeMeterQuery.vue +82 -82
  162. package/src/components/MeterManage/ChargeQuery.vue +79 -79
  163. package/src/components/MeterManage/FillCardQuery.vue +80 -80
  164. package/src/components/MeterManage/FillGasQuery.vue +80 -80
  165. package/src/components/MeterManage/HandQuery.vue +72 -72
  166. package/src/components/MeterManage/MeterInfoManage.vue +107 -107
  167. package/src/components/MeterManage/MeterList.vue +336 -336
  168. package/src/components/MeterManage/MeterMsg.vue +181 -181
  169. package/src/components/MeterManage/OtherChargeQuery.vue +78 -78
  170. package/src/components/MeterManage/ReversalQuery.vue +77 -77
  171. package/src/components/MeterManage/TransferQuery.vue +72 -72
  172. package/src/components/SellReport/AmountGas.vue +257 -257
  173. package/src/components/SellReport/BankManager.vue +146 -146
  174. package/src/components/SellReport/BonSummary.vue +244 -244
  175. package/src/components/SellReport/BusinessMoneyReport.vue +268 -268
  176. package/src/components/SellReport/BusinessReport.vue +256 -256
  177. package/src/components/SellReport/CaiManageDayGas.vue +280 -280
  178. package/src/components/SellReport/ChManageBusSummary.vue +273 -273
  179. package/src/components/SellReport/ChManageHandSellMoney.vue +274 -274
  180. package/src/components/SellReport/ChManageMonthGas.vue +285 -285
  181. package/src/components/SellReport/ChOtherfee.vue +251 -251
  182. package/src/components/SellReport/ChSellReport.vue +251 -251
  183. package/src/components/SellReport/ChargeDayTable.vue +258 -258
  184. package/src/components/SellReport/ChargeMonthTable.vue +257 -257
  185. package/src/components/SellReport/ChargeYearTable.vue +252 -252
  186. package/src/components/SellReport/CollectFee.vue +184 -184
  187. package/src/components/SellReport/Contrast.vue +188 -188
  188. package/src/components/SellReport/DayStairMoney.vue +256 -256
  189. package/src/components/SellReport/DeptHomePage.vue +299 -299
  190. package/src/components/SellReport/FenxiangSell.vue +183 -183
  191. package/src/components/SellReport/FxGasTable.vue +220 -220
  192. package/src/components/SellReport/GasCollect.vue +174 -174
  193. package/src/components/SellReport/GasMeterBrand.vue +228 -228
  194. package/src/components/SellReport/GasPriceGroup.vue +228 -228
  195. package/src/components/SellReport/GasSummary.vue +257 -257
  196. package/src/components/SellReport/Gasc.vue +257 -257
  197. package/src/components/SellReport/GaspriceHas.vue +141 -141
  198. package/src/components/SellReport/GetUserNum.vue +240 -240
  199. package/src/components/SellReport/HandCollect.vue +189 -189
  200. package/src/components/SellReport/HandplanBili.vue +241 -241
  201. package/src/components/SellReport/HandplanUserCount.vue +227 -227
  202. package/src/components/SellReport/JinChengBusSummary.vue +182 -182
  203. package/src/components/SellReport/JinChengHandGas.vue +182 -182
  204. package/src/components/SellReport/JinChengOperSummary.vue +182 -182
  205. package/src/components/SellReport/JinChengSliceSumgas.vue +182 -182
  206. package/src/components/SellReport/ManageBusTable.vue +207 -207
  207. package/src/components/SellReport/ManageGasFee.vue +247 -247
  208. package/src/components/SellReport/ManageGasFeeOperator.vue +236 -236
  209. package/src/components/SellReport/ManageGasPrice.vue +241 -241
  210. package/src/components/SellReport/ManageGasSumChangeTwo.vue +271 -271
  211. package/src/components/SellReport/ManageGasSumOtherCharge.vue +244 -244
  212. package/src/components/SellReport/ManageHandSellInputtor.vue +241 -241
  213. package/src/components/SellReport/ManageMonthGas.vue +249 -249
  214. package/src/components/SellReport/ManageNewGasPrice.vue +245 -245
  215. package/src/components/SellReport/ManageReceivable.vue +254 -254
  216. package/src/components/SellReport/ManageUserCollect.vue +183 -183
  217. package/src/components/SellReport/MeterBill.vue +185 -185
  218. package/src/components/SellReport/MeterGasMoney.vue +226 -226
  219. package/src/components/SellReport/MeterInput.vue +250 -250
  220. package/src/components/SellReport/MeterPrice.vue +244 -244
  221. package/src/components/SellReport/MeterReader.vue +231 -231
  222. package/src/components/SellReport/MonthStairMoney.vue +256 -256
  223. package/src/components/SellReport/OperatorCheckoutTwo.vue +28 -2
  224. package/src/components/SellReport/OperatorSellReport.vue +268 -268
  225. package/src/components/SellReport/OutletTable.vue +258 -258
  226. package/src/components/SellReport/OweAging.vue +174 -174
  227. package/src/components/SellReport/PaymentDistribute.vue +228 -228
  228. package/src/components/SellReport/PaymentMethod.vue +274 -274
  229. package/src/components/SellReport/QibiaoShouqi.vue +282 -282
  230. package/src/components/SellReport/ReportHistory.vue +80 -80
  231. package/src/components/SellReport/ReportItems.vue +241 -241
  232. package/src/components/SellReport/ReportPool.vue +60 -60
  233. package/src/components/SellReport/Selling.vue +188 -188
  234. package/src/components/SellReport/SiteManager.vue +147 -147
  235. package/src/components/SellReport/UserStateStatistics.vue +188 -188
  236. package/src/components/SellReport/UsertypePie.vue +101 -101
  237. package/src/components/SellReport/WeiNanYuShou.vue +246 -246
  238. package/src/components/SellReport/XianYangDate.vue +227 -227
  239. package/src/components/SellReport/XianYangOperator.vue +228 -228
  240. package/src/components/SellReport/XyDateCharge.vue +227 -227
  241. package/src/components/SellReport/XyOperatorCharge.vue +256 -256
  242. package/src/components/SellReport/YuShouTable.vue +298 -298
  243. package/src/components/SellReport/YuShouTableTwo.vue +309 -309
  244. package/src/components/SellReport/chargeSchedule.vue +410 -410
  245. package/src/components/SellReport/jingwei/CardCharge.vue +142 -142
  246. package/src/components/SellReport/jingwei/MachineCharge.vue +141 -141
  247. package/src/components/SellReport/jingwei/PaymentNotice.vue +479 -479
  248. package/src/components/SellReport/jingwei/handplanReport.vue +280 -280
  249. package/src/components/SellReport/jingwei/widegt/PaymentNoticePrint.vue +198 -198
  250. package/src/components/SellReport/jingwei/widegt/handplanPrint.vue +143 -143
  251. package/src/components/SellReport/pengan/ManageBusPeng.vue +280 -280
  252. package/src/components/SellReport/pengan/ManageBusSummaryPeng.vue +241 -241
  253. package/src/components/SellReport/userholds.vue +257 -257
  254. package/src/components/WebReport/AbnormalInfo.vue +197 -197
  255. package/src/components/WebReport/AbnormalInfoEcharts.vue +120 -120
  256. package/src/components/WebReport/BatteryLow.vue +148 -148
  257. package/src/components/WebReport/BusinessHall.vue +85 -85
  258. package/src/components/WebReport/BussinessType.vue +137 -137
  259. package/src/components/WebReport/Communication.vue +131 -131
  260. package/src/components/WebReport/CompanyUser.vue +79 -79
  261. package/src/components/WebReport/EchartsBox.vue +110 -110
  262. package/src/components/WebReport/ElectroMagnetic.vue +142 -142
  263. package/src/components/WebReport/GaspriceHas.vue +141 -141
  264. package/src/components/WebReport/HandplanPrint.vue +167 -167
  265. package/src/components/WebReport/NotUpload.vue +165 -165
  266. package/src/components/WebReport/OweQuery.vue +169 -169
  267. package/src/components/WebReport/PaymentDistributed.vue +176 -176
  268. package/src/components/WebReport/Paymentpie.vue +157 -157
  269. package/src/components/WebReport/ReportWorklist.vue +220 -220
  270. package/src/components/WebReport/SellType.vue +89 -89
  271. package/src/components/WebReport/Telemanlist.vue +221 -221
  272. package/src/components/WebReport/UserGasAll.vue +214 -214
  273. package/src/components/WebReport/UserGasEcharts.vue +107 -107
  274. package/src/components/WebReport/UsertypePie.vue +105 -105
  275. package/src/components/WebReport/ValueEcharts.vue +99 -99
  276. package/src/components/WebReport/ValueInfo.vue +194 -194
  277. package/src/components/qinhua/BarChartLine.vue +288 -288
  278. package/src/components/qinhua/ManageMain.vue +162 -162
  279. package/src/components/qinhua/Ring.vue +165 -165
  280. package/src/components/qinhua/SafeCheckRing.vue +149 -149
  281. package/src/components/qinhua/SafecheckBarChart.vue +209 -209
  282. package/src/components/qinhua/Scada.vue +93 -93
  283. package/src/components/safecheck/analysis/SafeHiddenAnaly.vue +932 -932
  284. package/src/components/safecheck/planCheck/chanceSituation.vue +149 -149
  285. package/src/components/safecheck/planCheck/checkFamily.vue +217 -217
  286. package/src/components/safecheck/planCheck/hidderDanger.vue +179 -179
  287. package/src/components/safecheck/planCheck/inFamily.vue +185 -185
  288. package/src/components/sale/businessquery/AccountQuery/ExpectGasList.vue +7 -3
  289. package/src/components/sale/businessquery/AccountQuery/PreGasList.vue +11 -3
  290. package/src/components/sale/businessquery/AccountQuery/SellingGasList.vue +17 -11
  291. package/src/components/sale/businessquery/AccountQuery/TransactionSummary.vue +373 -373
  292. package/src/components/sale/businessquery/BalanceQuery.vue +456 -456
  293. package/src/components/sale/businessquery/CardHandplanQuery.vue +444 -444
  294. package/src/components/sale/businessquery/FillGasQuery.vue +491 -491
  295. package/src/components/sale/businessquery/InspectManage.vue +47 -47
  296. package/src/components/sale/businessquery/NewAccountQuery.vue +409 -409
  297. package/src/components/sale/businessquery/OtherChargeDetailQuery.vue +74 -74
  298. package/src/components/sale/businessquery/ResourceOperatingQuery.vue +317 -317
  299. package/src/components/sale/businessquery/TongjiManage.vue +74 -74
  300. package/src/components/sale/businessquery/UserTongjiQuery.vue +358 -358
  301. package/src/components/sale/businessquery/YearGasQuery.vue +422 -422
  302. package/src/components/sale/businessquery/analysisquery/AnalysisManage.vue +65 -65
  303. package/src/components/sale/businessquery/weChatBind.vue +361 -361
  304. package/src/components/sale/common/PrintData.vue +171 -171
  305. package/src/components/sale/common/PrintDataSelf.vue +225 -225
  306. package/src/components/sale/common/PrintTable.vue +228 -228
  307. package/src/components/sale/common/PrintTableSelf.vue +251 -251
  308. package/src/components/sale/common/TabButton.vue +155 -155
  309. package/src/components/sale/common/Tabs.vue +67 -67
  310. package/src/components/sale/common/handplanUser.vue +112 -112
  311. package/src/components/sale/config/DefaultPrint.js +6 -6
  312. package/src/components/sale/config/tableConfig.js +48 -48
  313. package/src/components/sale/filesquery/DeviceQuery.vue +524 -524
  314. package/src/components/sale/filesquery/detail/UserBaseInfo.vue +69 -69
  315. package/src/components/sale/filesquery/detail/UserDetail.vue +41 -41
  316. package/src/components/sale/filesquery/detail/UserOperInfo.vue +76 -76
  317. package/src/components/sale/filesquery/detail/oper/ChangeMessage.vue +46 -46
  318. package/src/components/sale/filesquery/detail/oper/ExchangeOper.vue +66 -66
  319. package/src/components/sale/filesquery/detail/oper/HandOper.vue +46 -46
  320. package/src/components/sale/filesquery/detail/oper/HandleMessage.vue +46 -46
  321. package/src/components/sale/filesquery/detail/oper/OtherCharge.vue +54 -54
  322. package/src/components/sale/filesquery/detail/oper/ReplaceCard.vue +51 -51
  323. package/src/components/sale/filesquery/detail/oper/SellOper.vue +56 -56
  324. package/src/components/sale/filesquery/detail/oper/TransferMessage.vue +55 -55
  325. package/src/components/sale/filesquery/filequerydetail/BlackListQueryDetail.vue +219 -219
  326. package/src/components/sale/filesquery/filequerydetail/ChangeMeterQueryDetail.vue +246 -246
  327. package/src/components/sale/filesquery/filequerydetail/ChargeQueryDetail.vue +239 -239
  328. package/src/components/sale/filesquery/filequerydetail/DeviceQueryDetail.vue +126 -126
  329. package/src/components/sale/filesquery/filequerydetail/DisableQueryDetail.vue +272 -272
  330. package/src/components/sale/filesquery/filequerydetail/EnableQueryDetail.vue +274 -274
  331. package/src/components/sale/filesquery/filequerydetail/FillCardQueryDetail.vue +80 -80
  332. package/src/components/sale/filesquery/filequerydetail/FillGasQueryDetail.vue +80 -80
  333. package/src/components/sale/filesquery/filequerydetail/HandQueryDetail.vue +302 -302
  334. package/src/components/sale/filesquery/filequerydetail/MeterQueryDetail.vue +158 -158
  335. package/src/components/sale/filesquery/filequerydetail/OtherChargeQueryDetail.vue +198 -198
  336. package/src/components/sale/filesquery/filequerydetail/RecordQueryDetail.vue +125 -125
  337. package/src/components/sale/filesquery/filequerydetail/SellingHandDetail.vue +280 -280
  338. package/src/components/sale/filesquery/filequerydetail/TransferQueryDetail.vue +160 -160
  339. package/src/components/sale/filesquery/filequerydetail/UserQueryDetail.vue +155 -155
  340. package/src/components/sale/report/aode/DayReport.vue +50 -50
  341. package/src/components/sale/report/aode/DayReportSummary.vue +75 -75
  342. package/src/components/sale/report/aode/MonthByChargeType.vue +446 -446
  343. package/src/components/sale/report/aode/MonthByUserType.vue +413 -413
  344. package/src/components/sale/report/aode/YearByChargeTpye.vue +215 -215
  345. package/src/components/sale/report/aode/YearByUserType.vue +272 -272
  346. package/src/components/sale/report/aode/life/LifeDayReport.vue +50 -50
  347. package/src/components/sale/report/aode/life/LifeDayReportList.vue +241 -241
  348. package/src/components/sale/report/aode/life/LifeDayReportSummary.vue +49 -49
  349. package/src/components/sale/report/aode/life/LifeMonthReport.vue +303 -303
  350. package/src/components/sale/report/aode/life/LifeYearReport.vue +175 -175
  351. package/src/components/sale/report/aode/widget/LifeDayReportListPrint.vue +189 -189
  352. package/src/components/sale/report/aode/widget/LifeMonthPrint.vue +153 -153
  353. package/src/components/sale/report/aode/widget/LifeYearPrint.vue +143 -143
  354. package/src/components/sale/report/aode/widget/MonthByChargePrint.vue +236 -236
  355. package/src/components/sale/report/aode/widget/MonthByUserPrint.vue +232 -232
  356. package/src/components/sale/report/aode/widget/YearByChargePrint.vue +203 -203
  357. package/src/components/sale/report/aode/widget/YearByUserPrint.vue +225 -225
  358. package/src/components/scada/CaculateGasConsumputionByDay/CaculateGasConsumputionByDay.vue +290 -290
  359. package/src/components/scada/ChartDisplay/ChartDisplayManage.vue +55 -55
  360. package/src/components/scada/ChartDisplay/ChartThreeDayContrast.vue +164 -164
  361. package/src/components/scada/CumulativeFlow/CumulativeFlowHeatPlant.vue +400 -400
  362. package/src/components/scada/CumulativeFlow/CumulativeFlowManage.vue +59 -59
  363. package/src/components/scada/CumulativeFlow/CumulativeFlowRegulatorStation.vue +504 -504
  364. package/src/components/scada/CumulativeFlow/CumulativeFlowStation.vue +248 -248
  365. package/src/components/scada/GasSupplyRunning/GasSupplyRunningByDay.vue +297 -297
  366. package/src/components/scada/InstantaneousFlow/InstantaneousFlowHeatPlant.vue +389 -389
  367. package/src/components/scada/InstantaneousFlow/InstantaneousFlowManage.vue +57 -57
  368. package/src/components/scada/InstantaneousFlow/InstantaneousFlowRegulatorStation.vue +503 -503
  369. package/src/components/scada/InstantaneousFlow/InstantaneousFlowStation.vue +244 -244
  370. package/src/components/scada/OnTimePressure/OnTimePressureHeatPlant.vue +356 -356
  371. package/src/components/scada/OnTimePressure/OnTimePressureManage.vue +51 -51
  372. package/src/components/scada/OnTimePressure/OnTimePressureRegulatorStation.vue +526 -526
  373. package/src/components/scada/ThreeDayContrast/ThreeDayContrastManage.vue +282 -282
  374. package/src/components/webmeter/DrillData/LargeScreenAnalysisEcharts.vue +710 -710
  375. package/src/components/webmeter/DrillData/LostContactAnalysis.vue +531 -531
  376. package/src/components/webmeter/DrillData/LostContactAnalysisManage.vue +30 -30
  377. package/src/components/webmeter/DrillData/LostContactEform.vue +190 -190
  378. package/src/components/webmeter/DrillData/UserGasAll.vue +1 -1
  379. package/src/components/webmeter/dataCollection/DataCollection.vue +676 -676
  380. package/src/components/webmeter/gasAnalysis/GasAnalysisEcharts.vue +144 -144
  381. package/src/components/webmeter/gasAnalysis/GasAnalysisSummary.vue +162 -162
  382. package/src/components/webmeter/handplan/NewWebMeterHandPlan.vue +745 -745
  383. package/src/components/webmeter/handplan/NewWebmeterHandPlanMain.vue +59 -59
  384. package/src/components/webmeter/indicatorStatisticsEchars.vue +204 -204
  385. package/src/components/webmeter/indicatorStatisticsMain.vue +257 -257
  386. package/src/components/webmeter/meterinfo/NewMeterList.vue +414 -414
  387. package/src/components/webmeter/meterinfo/NewMeterListMain.vue +53 -53
  388. package/src/components/webmeter/newwebmeter/NewException/NewExceptionEform.vue +149 -149
  389. package/src/components/webmeter/newwebmeter/NewException/NewExceptionEformTotal.vue +211 -211
  390. package/src/components/webmeter/newwebmeter/NewException/NewMeterException.vue +449 -449
  391. package/src/components/webmeter/newwebmeter/NewException/TotalExceptionByMeter.vue +1 -1
  392. package/src/components/webmeter/newwebmeter/UserGasList.vue +1 -1
  393. package/src/components/yulin/GuanWang.vue +24 -24
  394. package/src/components/yulin/SingleBarLine.vue +352 -352
  395. package/src/components/yulin/Weather.vue +157 -157
  396. package/src/expandcss.less +26 -26
  397. package/src/filiale/WEINAN/InspectListUser.vue +492 -492
  398. package/src/filiale/WEINAN/OtherChargeQuery.vue +521 -521
  399. package/src/filiale/WEINAN/ReportDataQuery.vue +3 -3
  400. package/src/filiale/WEINAN/config/tableConfig.js +6 -23
  401. package/src/filiale/aode/ArchivesManage.vue +38 -38
  402. package/src/filiale/aode/BusinessManage.vue +94 -94
  403. package/src/filiale/aode/DefaultPrint.js +6 -6
  404. package/src/filiale/aode/HandplanQuery.vue +632 -632
  405. package/src/filiale/aode/Tabs.vue +67 -67
  406. package/src/filiale/aode/UserQuery.vue +599 -599
  407. package/src/filiale/aode/sale.js +17 -17
  408. package/src/filiale/ceshi/ArrearsQuery.vue +642 -642
  409. package/src/filiale/ceshi/ChManageBusSummary.vue +293 -293
  410. package/src/filiale/ceshi/CollectManage.vue +94 -94
  411. package/src/filiale/ceshi/MeterRateQuery.vue +633 -633
  412. package/src/filiale/ceshi/TabButton.vue +149 -149
  413. package/src/filiale/ceshi/Tabs.vue +69 -69
  414. package/src/filiale/ceshi/reportManage.js +5 -5
  415. package/src/filiale/ceshi/sale.js +11 -11
  416. package/src/filiale/gaomi/config/DefaultPrint.js +6 -6
  417. package/src/filiale/gaomi/config/tableConfig.js +47 -47
  418. package/src/filiale/gongyi/sale/businessquery/exportConfig.js +17 -17
  419. package/src/filiale/gongyi/sale/filesquery/MeterQuery.vue +718 -718
  420. package/src/filiale/jingwei/ChargeQuery.vue +1241 -1241
  421. package/src/filiale/liaoyuan/ChargeQuery.vue +1284 -1284
  422. package/src/filiale/liaoyuan/exportConfig.js +718 -718
  423. package/src/filiale/liaoyuan/sale.js +11 -11
  424. package/src/filiale/macheng/config/DefaultPrint.js +12 -12
  425. package/src/filiale/meihekou/CardHandplanQuery.vue +541 -541
  426. package/src/filiale/meihekou/config/exportConfig.js +804 -804
  427. package/src/filiale/qingtongxia/config/DefaultPrint.js +6 -6
  428. package/src/filiale/qingtongxia/sale.js +13 -13
  429. package/src/filiale/shaoguan/ChargeQuery.vue +1 -1
  430. package/src/filiale/shaoguan/HandplanQuery.vue +6 -0
  431. package/src/filiale/shaoguan/OtherChargeDetailQuery.vue +74 -74
  432. package/src/filiale/shaoguan/OtherChargeQuery.vue +596 -596
  433. package/src/filiale/shaoguan/config/DefaultPrint.js +6 -6
  434. package/src/filiale/shaoguan/config/exportConfig.js +1 -1
  435. package/src/filiale/shaoguan/sale/businessquery/oldList.vue +41 -41
  436. package/src/filiale/shaoguan/sale/businessquery/oldMeterList.vue +290 -290
  437. package/src/filiale/shaoguan/sale.js +35 -35
  438. package/src/filiale/shennongjia/config/DefaultPrint.js +6 -6
  439. package/src/filiale/shennongjia/config/tableConfig.js +47 -47
  440. package/src/filiale/shennongjia/sale.js +10 -10
  441. package/src/filiale/tongchuan/FillGasQuery.vue +508 -508
  442. package/src/filiale/tongchuan/ReportList.vue +456 -456
  443. package/src/filiale/tongchuan/ResSelectNew.vue +144 -144
  444. package/src/filiale/tongchuan/reportManage.js +6 -6
  445. package/src/main.js +1 -1
  446. package/src/plugins/GetLoginInfoService.js +505 -505
  447. package/src/plugins/LodopFuncs.js +124 -124
  448. package/src/plugins/getAllInputtor.js +29 -29
  449. package/src/safeCheck.js +63 -63
  450. package/src/stores/AppData.js +62 -62
  451. package/src/stores/DataSql.js +585 -585
  452. package/src/stores/DrillECharts.js +602 -602
  453. package/src/stores/DrillSql.js +888 -888
  454. package/src/stores/GetParames.js +15 -15
  455. package/src/stores/MagGetSaleParams.js +156 -156
  456. package/src/stores/MagLoadParams.js +63 -63
  457. package/src/stores/Util.js +132 -132
  458. package/src/stores/shanxi1.js +26 -26
  459. package/src/stores/yulin.js +27 -27
  460. package/src/webmeterManage.js +105 -105
  461. package/static/china.json +1 -1
  462. package/static/qh.json +2410 -2410
  463. package/static/res.json +58411 -58411
  464. package/static/shanxi1.json +1 -1
  465. package/static/yulin.json +1 -1
  466. package/static//345/261/261/344/270/234/347/234/201.json +1 -1
  467. package/test/unit/.eslintrc +5 -5
  468. package/test/unit/TestUtil.js +35 -35
  469. package/test/unit/context.html +20 -20
  470. package/test/unit/index.js +13 -13
  471. package/test/unit/init.js +11 -11
  472. package/test/unit/karma.conf.js +45 -45
  473. package/test/unit/specs/components/CallReport/Repair.spec.js +25 -25
  474. package/test/unit/specs/components/ManageBusiness/EquipmentQuery.spec.js +21 -21
  475. package/test/unit/specs/components/ManageBusiness/TableWithQuery.spec.js +21 -21
  476. package/test/unit/specs/components/ManageBusiness/UserQuery.spec.js +21 -21
  477. package/webstorm.config.js +13 -13
  478. package/.gradle/7.1/dependencies-accessors/dependencies-accessors.lock +0 -0
  479. package/.gradle/7.1/executionHistory/executionHistory.lock +0 -0
  480. package/.gradle/7.1/fileHashes/fileHashes.lock +0 -0
  481. package/.gradle/7.1/gc.properties +0 -0
  482. package/.gradle/configuration-cache/gc.properties +0 -0
@@ -1,227 +1,227 @@
1
- <template>
2
- <div class="basic-main" style="height: 100%">
3
- <criteria-paged :model="model" :pager='false' v-ref:paged>
4
- <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:criteria>
5
- <p class="bg-info text-center" style="padding: 8px;">咸阳日期汇总表</p>
6
- <div class="form-group" v-if="!$parent.$parent.data.f_files_path"></div>
7
- <div novalidate class="form-horizontal select-overspread container-fluid auto" partial >
8
- <div class="row">
9
- <div class="col-sm-4" >
10
- <label class="font_normal_body" for="startDate">开始日期:</label>
11
- <datepicker id="startDate" placeholder="开始日期" style="width: 60%"
12
- v-model="model.startDate"
13
- :value.sync="model.startDate"
14
- :disabled-days-of-Week="[]"
15
- :format="'yyyy-MM-dd HH:mm:ss'"
16
- :show-reset-button="reset">
17
- </datepicker>
18
- </div>
19
- <div class="col-sm-4" >
20
- <label class="font_normal_body" for="endDate">结束日期:</label>
21
- <datepicker id="endDate" placeholder="结束日期" style="width: 60%"
22
- v-model="model.endDate"
23
- :value.sync="model.endDate"
24
- :disabled-days-of-Week="[]"
25
- :format="'yyyy-MM-dd HH:mm:ss'"
26
- :show-reset-button="reset">
27
- </datepicker>
28
- </div>
29
- <div class="col-sm-4">
30
- <label class="font_normal_body">&nbsp;&nbsp;&nbsp;公司&nbsp;&nbsp;&nbsp;</label>
31
- <right-tree @re-res="$parent.$parent.getRes"></right-tree>
32
- </div>
33
-
34
- </div>
35
- <div class="span" style = "float:right;">
36
- <button class="button_search" @click="$parent.$parent.searchData()">查询</button>
37
- <report-print id='gasprice' top='3cm' left='0' width='100%' height='100%' :preview="true"></report-print>
38
- <report-excel id='gasprice'></report-excel>
39
- </div>
40
- </div>
41
- </criteria>
42
- <div partial='list' v-el:handcollect id='gasprice' style="overflow-y: scroll">
43
- <table class='tableprint' style="margin: 0px auto" v-if="!$parent.data.f_files_path">
44
- <thead>
45
- <tr>
46
- <th colspan='9' style="font-weight: normal; text-align: left;">
47
- <h3 style="text-align: center">咸阳日期汇总表</h3>
48
- </th>
49
- </tr>
50
- <tr>
51
- <th colspan='8' style="font-weight: normal; text-align: center;">
52
- 开始时间:{{model.model.startDate}}&nbsp;&nbsp;&nbsp;
53
- 结束时间:{{ model.model.endDate }}
54
- </th>
55
- </tr>
56
- <tr>
57
- <th colspan='8' style="font-weight: normal; text-align: center;">
58
- 打印时间:{{{$parent.printTime}}}
59
- </th>
60
- </tr>
61
- <tr>
62
- <th colspan='8' style="font-weight: normal; text-align: center;">
63
- <div>
64
- <span v-show="$parent.orgname.trim()!=''">公司:{{$parent.orgname}}</span>
65
- <span v-show="$parent.depname.trim()!=''"> 部门:{{$parent.depname}}</span>
66
- <span v-show="$parent.operatorname.trim()!=''">人员:{{$parent.operatorname}}</span>
67
- </div>
68
- </th>
69
- </tr>
70
- </thead>
71
- <tr>
72
- <td colspan='12'>
73
- {{{ model.data.substring(26,model.data.length-8) }}}
74
- </td>
75
- </tr>
76
- <tfoot>
77
- <tr style="text-align: left">
78
- <th colspan='3'>财务审核:</th>
79
- <th colspan='3'>收款审核:</th>
80
- <th colspan='3'>收款员:</th>
81
- </tr>
82
- </tfoot>
83
- </table>
84
- {{{ $parent.reportStr}}}
85
- </div>
86
- </criteria-paged>
87
- <modal :show.sync="show" v-ref:modal small backdrop="false">
88
- <header slot="modal-header" class="modal-header">
89
- <h4 class="modal-title">输入文件名称</h4>
90
- </header>
91
- <article slot="modal-body" class="modal-body">
92
- <div class="form-group">
93
- <input type="text" class="form-control" v-model="filename" placeholder='保存的文件名'>
94
- </div>
95
- </article>
96
- <footer slot="modal-footer" class="modal-footer">
97
- <button v-show="show" type="button" class="btn btn-default" @click='close'>取消</button>
98
- <button v-show="show" type="button" class="btn btn-success" @click='confirm(filename)'>确认</button>
99
- </footer>
100
- </modal>
101
- </div>
102
- </template>
103
-
104
- <script>
105
- import { DataModel } from 'vue-client'
106
- import co from 'co'
107
- let saveFile = function * (self) {
108
- // 线验证文件是否重名
109
- let count = yield self.$resetpost('rs/sql/manageSingleTable',
110
- {data: {tablename: 't_report_record', condition: `f_files_name = '${self.filename}'`}},
111
- {resolveMsg: null, rejectMsg: null})
112
- if (count.data.length > 0) {
113
- self.$showAlert('无法保存,文件名重名', 'warning', 3000)
114
- return
115
- }
116
- let saveBack = yield self.$resetpost('rs/logic/saveReport', {f_files_content: self.$refs.paged.$els.handcollect.innerHTML,
117
- f_files_name: self.filename, f_files_type: self.data.f_report_type, f_component_name: 'manage-bus-summary',
118
- f_operator: this.$login.f.name, f_query_month: `${self.model.model.startDate}-${self.model.model.endDate}`,
119
- f_outlets: this.$login.f.depname})
120
- if (saveBack.data.status === 'succeed') {
121
- self.show = false
122
- self.filename = ''
123
- // 后台保存完成,通知刷新
124
- self.$dispatch('save-success', self.filename)
125
- }
126
- }
127
- export default {
128
- title: '咸阳日期汇总表',
129
- props: ['data'],
130
- data () {
131
- return {
132
- printTime: this.$login.toStandardTimeString(),
133
- depresid: [],
134
- userresid: [],
135
- f_orgid: this.$login.f.orgid,
136
- f_depid: this.$login.f.depids,
137
- f_operatorid: this.$login.f.id,
138
- operatorid: [],
139
- depid: [],
140
- orgname: '',
141
- depname: '',
142
- operatorname: '',
143
- f_inputtor:[],
144
- f_user_type:'',
145
- orgCondtionStr: '1=1',
146
- model: new DataModel('rs/report/xianyangDate', {startDate: 'this.model.startDate', endDate: 'this.model.endDate',
147
- f_orgid: 'this.model.f_orgid'}),
148
- reportStr: null,
149
- show: false
150
- }
151
- },
152
- ready () {
153
- this.$refs.paged.$refs.criteria.model.startDate = this.$login.toStandardDateString() + ' 00:00:00'
154
- this.$refs.paged.$refs.criteria.model.endDate = this.$login.toStandardDateString() + ' 23:59:59'
155
- this.$refs.paged.$refs.criteria.search()
156
- console.log(this.$login.f)
157
- },
158
- methods: {
159
- searchData () {
160
- this.$refs.paged.$refs.criteria.search()
161
- },
162
- selfSearch (args) {
163
- let orgcondition = 's.f_orgid = ' + this.f_orgid
164
- this.$refs.paged.$refs.criteria.model.f_orgid = orgcondition
165
- this.$refs.paged.search(args)
166
- },
167
- getRes (obj) {
168
- this.orgname = obj.res[0]
169
- this.depresid = obj.resids
170
- this.f_orgid = obj.resids
171
- },
172
- getdep (obj, val) {
173
- // this.depname = val[0]
174
- this.userresid = obj
175
- this.f_depid = obj
176
- },
177
- getuser ( obj, val) {
178
- this.operatorname = val[0]
179
- this.f_operatorid = obj
180
- },
181
- // 根据文件路径获取储存的报表内容
182
- getFileContent (path) {
183
- this.$resetpost('rs/logic/getReportFileContent', {f_files_path: path}, {resolveMsg: null, rejectMsg: null}).then((res) => {
184
- this.reportStr = res.data.filecontent
185
- this.model.state = '正确'
186
- })
187
- },
188
- confirm () {
189
- if (!this.filename || this.filename === '') {
190
- this.$showAlert('无法保存,文件名不能为空', 'warning', 3000)
191
- }
192
- let saveGen = saveFile(this)
193
- co(saveGen)
194
- },
195
- close () {
196
- this.show = false
197
- },
198
- // 将报表保存成文件
199
- confirmReport () {
200
- this.show = true
201
- this.filename = this.data.f_report_name + this.$login.toStandardDateString()
202
- },
203
- },
204
- watch: {
205
- 'data' (val) {
206
- if (val.f_files_path) {
207
- this.getFileContent(val.f_files_path)
208
- } else {
209
- this.reportStr = null
210
- }
211
- }
212
- },
213
- computed: {
214
- usertypes() {
215
- return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('用户类型')]
216
- },
217
- inputtor() {
218
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('抄表员')]
219
- },
220
- }
221
- }
222
- </script>
223
- <style scoped>
224
- .noborder{
225
- border: none;
226
- }
227
- </style>
1
+ <template>
2
+ <div class="basic-main" style="height: 100%">
3
+ <criteria-paged :model="model" :pager='false' v-ref:paged>
4
+ <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:criteria>
5
+ <p class="bg-info text-center" style="padding: 8px;">咸阳日期汇总表</p>
6
+ <div class="form-group" v-if="!$parent.$parent.data.f_files_path"></div>
7
+ <div novalidate class="form-horizontal select-overspread container-fluid auto" partial >
8
+ <div class="row">
9
+ <div class="col-sm-4" >
10
+ <label class="font_normal_body" for="startDate">开始日期:</label>
11
+ <datepicker id="startDate" placeholder="开始日期" style="width: 60%"
12
+ v-model="model.startDate"
13
+ :value.sync="model.startDate"
14
+ :disabled-days-of-Week="[]"
15
+ :format="'yyyy-MM-dd HH:mm:ss'"
16
+ :show-reset-button="reset">
17
+ </datepicker>
18
+ </div>
19
+ <div class="col-sm-4" >
20
+ <label class="font_normal_body" for="endDate">结束日期:</label>
21
+ <datepicker id="endDate" placeholder="结束日期" style="width: 60%"
22
+ v-model="model.endDate"
23
+ :value.sync="model.endDate"
24
+ :disabled-days-of-Week="[]"
25
+ :format="'yyyy-MM-dd HH:mm:ss'"
26
+ :show-reset-button="reset">
27
+ </datepicker>
28
+ </div>
29
+ <div class="col-sm-4">
30
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;公司&nbsp;&nbsp;&nbsp;</label>
31
+ <right-tree @re-res="$parent.$parent.getRes"></right-tree>
32
+ </div>
33
+
34
+ </div>
35
+ <div class="span" style = "float:right;">
36
+ <button class="button_search" @click="$parent.$parent.searchData()">查询</button>
37
+ <report-print id='gasprice' top='3cm' left='0' width='100%' height='100%' :preview="true"></report-print>
38
+ <report-excel id='gasprice'></report-excel>
39
+ </div>
40
+ </div>
41
+ </criteria>
42
+ <div partial='list' v-el:handcollect id='gasprice' style="overflow-y: scroll">
43
+ <table class='tableprint' style="margin: 0px auto" v-if="!$parent.data.f_files_path">
44
+ <thead>
45
+ <tr>
46
+ <th colspan='9' style="font-weight: normal; text-align: left;">
47
+ <h3 style="text-align: center">咸阳日期汇总表</h3>
48
+ </th>
49
+ </tr>
50
+ <tr>
51
+ <th colspan='8' style="font-weight: normal; text-align: center;">
52
+ 开始时间:{{model.model.startDate}}&nbsp;&nbsp;&nbsp;
53
+ 结束时间:{{ model.model.endDate }}
54
+ </th>
55
+ </tr>
56
+ <tr>
57
+ <th colspan='8' style="font-weight: normal; text-align: center;">
58
+ 打印时间:{{{$parent.printTime}}}
59
+ </th>
60
+ </tr>
61
+ <tr>
62
+ <th colspan='8' style="font-weight: normal; text-align: center;">
63
+ <div>
64
+ <span v-show="$parent.orgname.trim()!=''">公司:{{$parent.orgname}}</span>
65
+ <span v-show="$parent.depname.trim()!=''"> 部门:{{$parent.depname}}</span>
66
+ <span v-show="$parent.operatorname.trim()!=''">人员:{{$parent.operatorname}}</span>
67
+ </div>
68
+ </th>
69
+ </tr>
70
+ </thead>
71
+ <tr>
72
+ <td colspan='12'>
73
+ {{{ model.data.substring(26,model.data.length-8) }}}
74
+ </td>
75
+ </tr>
76
+ <tfoot>
77
+ <tr style="text-align: left">
78
+ <th colspan='3'>财务审核:</th>
79
+ <th colspan='3'>收款审核:</th>
80
+ <th colspan='3'>收款员:</th>
81
+ </tr>
82
+ </tfoot>
83
+ </table>
84
+ {{{ $parent.reportStr}}}
85
+ </div>
86
+ </criteria-paged>
87
+ <modal :show.sync="show" v-ref:modal small backdrop="false">
88
+ <header slot="modal-header" class="modal-header">
89
+ <h4 class="modal-title">输入文件名称</h4>
90
+ </header>
91
+ <article slot="modal-body" class="modal-body">
92
+ <div class="form-group">
93
+ <input type="text" class="form-control" v-model="filename" placeholder='保存的文件名'>
94
+ </div>
95
+ </article>
96
+ <footer slot="modal-footer" class="modal-footer">
97
+ <button v-show="show" type="button" class="btn btn-default" @click='close'>取消</button>
98
+ <button v-show="show" type="button" class="btn btn-success" @click='confirm(filename)'>确认</button>
99
+ </footer>
100
+ </modal>
101
+ </div>
102
+ </template>
103
+
104
+ <script>
105
+ import { DataModel } from 'vue-client'
106
+ import co from 'co'
107
+ let saveFile = function * (self) {
108
+ // 线验证文件是否重名
109
+ let count = yield self.$resetpost('rs/sql/manageSingleTable',
110
+ {data: {tablename: 't_report_record', condition: `f_files_name = '${self.filename}'`}},
111
+ {resolveMsg: null, rejectMsg: null})
112
+ if (count.data.length > 0) {
113
+ self.$showAlert('无法保存,文件名重名', 'warning', 3000)
114
+ return
115
+ }
116
+ let saveBack = yield self.$resetpost('rs/logic/saveReport', {f_files_content: self.$refs.paged.$els.handcollect.innerHTML,
117
+ f_files_name: self.filename, f_files_type: self.data.f_report_type, f_component_name: 'manage-bus-summary',
118
+ f_operator: this.$login.f.name, f_query_month: `${self.model.model.startDate}-${self.model.model.endDate}`,
119
+ f_outlets: this.$login.f.depname})
120
+ if (saveBack.data.status === 'succeed') {
121
+ self.show = false
122
+ self.filename = ''
123
+ // 后台保存完成,通知刷新
124
+ self.$dispatch('save-success', self.filename)
125
+ }
126
+ }
127
+ export default {
128
+ title: '咸阳日期汇总表',
129
+ props: ['data'],
130
+ data () {
131
+ return {
132
+ printTime: this.$login.toStandardTimeString(),
133
+ depresid: [],
134
+ userresid: [],
135
+ f_orgid: this.$login.f.orgid,
136
+ f_depid: this.$login.f.depids,
137
+ f_operatorid: this.$login.f.id,
138
+ operatorid: [],
139
+ depid: [],
140
+ orgname: '',
141
+ depname: '',
142
+ operatorname: '',
143
+ f_inputtor:[],
144
+ f_user_type:'',
145
+ orgCondtionStr: '1=1',
146
+ model: new DataModel('rs/report/xianyangDate', {startDate: 'this.model.startDate', endDate: 'this.model.endDate',
147
+ f_orgid: 'this.model.f_orgid'}),
148
+ reportStr: null,
149
+ show: false
150
+ }
151
+ },
152
+ ready () {
153
+ this.$refs.paged.$refs.criteria.model.startDate = this.$login.toStandardDateString() + ' 00:00:00'
154
+ this.$refs.paged.$refs.criteria.model.endDate = this.$login.toStandardDateString() + ' 23:59:59'
155
+ this.$refs.paged.$refs.criteria.search()
156
+ console.log(this.$login.f)
157
+ },
158
+ methods: {
159
+ searchData () {
160
+ this.$refs.paged.$refs.criteria.search()
161
+ },
162
+ selfSearch (args) {
163
+ let orgcondition = 's.f_orgid = ' + this.f_orgid
164
+ this.$refs.paged.$refs.criteria.model.f_orgid = orgcondition
165
+ this.$refs.paged.search(args)
166
+ },
167
+ getRes (obj) {
168
+ this.orgname = obj.res[0]
169
+ this.depresid = obj.resids
170
+ this.f_orgid = obj.resids
171
+ },
172
+ getdep (obj, val) {
173
+ // this.depname = val[0]
174
+ this.userresid = obj
175
+ this.f_depid = obj
176
+ },
177
+ getuser ( obj, val) {
178
+ this.operatorname = val[0]
179
+ this.f_operatorid = obj
180
+ },
181
+ // 根据文件路径获取储存的报表内容
182
+ getFileContent (path) {
183
+ this.$resetpost('rs/logic/getReportFileContent', {f_files_path: path}, {resolveMsg: null, rejectMsg: null}).then((res) => {
184
+ this.reportStr = res.data.filecontent
185
+ this.model.state = '正确'
186
+ })
187
+ },
188
+ confirm () {
189
+ if (!this.filename || this.filename === '') {
190
+ this.$showAlert('无法保存,文件名不能为空', 'warning', 3000)
191
+ }
192
+ let saveGen = saveFile(this)
193
+ co(saveGen)
194
+ },
195
+ close () {
196
+ this.show = false
197
+ },
198
+ // 将报表保存成文件
199
+ confirmReport () {
200
+ this.show = true
201
+ this.filename = this.data.f_report_name + this.$login.toStandardDateString()
202
+ },
203
+ },
204
+ watch: {
205
+ 'data' (val) {
206
+ if (val.f_files_path) {
207
+ this.getFileContent(val.f_files_path)
208
+ } else {
209
+ this.reportStr = null
210
+ }
211
+ }
212
+ },
213
+ computed: {
214
+ usertypes() {
215
+ return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('用户类型')]
216
+ },
217
+ inputtor() {
218
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('抄表员')]
219
+ },
220
+ }
221
+ }
222
+ </script>
223
+ <style scoped>
224
+ .noborder{
225
+ border: none;
226
+ }
227
+ </style>