manage-client 3.2.11 → 3.2.15

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 (444) hide show
  1. package/.babelrc +5 -5
  2. package/.classpath +6 -6
  3. package/.editorconfig +9 -9
  4. package/.eslintrc.js +20 -20
  5. package/.gradle/5.4.1/fileChanges/last-build.bin +0 -0
  6. package/.gradle/5.4.1/fileHashes/fileHashes.lock +0 -0
  7. package/.gradle/5.4.1/gc.properties +0 -0
  8. package/.gradle/buildOutputCleanup/cache.properties +2 -2
  9. package/.project +18 -18
  10. package/CHANGELOG.md +15 -15
  11. package/DOC//345/212/237/350/203/275/350/257/264/346/230/216.md +13 -13
  12. package/DOC//347/211/210/346/234/254/344/277/241/346/201/257.md +8 -8
  13. package/ManageClient.iml +13 -13
  14. package/README.md +38 -38
  15. package/build/dev-server.js +25 -8
  16. package/build/webpack.base.conf.js +82 -82
  17. package/build.gradle +13 -13
  18. package/config/dev.env.js +6 -6
  19. package/config/index.js +40 -40
  20. package/config/prod.env.js +3 -3
  21. package/config/test.env.js +6 -6
  22. package/gradle/wrapper/gradle-wrapper.properties +5 -5
  23. package/gradlew.bat +100 -100
  24. package/index.html +28 -28
  25. package/package.json +1 -1
  26. package/release.bat +5 -5
  27. package/src/.idea/misc.xml +9 -0
  28. package/src/.idea/modules.xml +8 -0
  29. package/src/.idea/src.iml +9 -0
  30. package/src/.idea/vcs.xml +6 -0
  31. package/src/.idea/workspace.xml +93 -0
  32. package/src/ManageHome.js +269 -269
  33. package/src/Staff/StaffCompileList.vue +334 -334
  34. package/src/Staff/StaffList.vue +161 -161
  35. package/src/Staff/StaffListManage.vue +49 -49
  36. package/src/Util.js +367 -367
  37. package/src/components/BasisEcharts/BarChart.vue +247 -247
  38. package/src/components/BasisEcharts/LineChart.vue +243 -243
  39. package/src/components/ManageHome/CustomerService/ContentmentStatistics.vue +135 -135
  40. package/src/components/ManageHome/CustomerService/ExcepCollect.vue +174 -174
  41. package/src/components/ManageHome/CustomerService/ReasonComplaint.vue +116 -116
  42. package/src/components/ManageHome/CustomerService/ReasonConsultation.vue +115 -115
  43. package/src/components/ManageHome/CustomerService/ServiceFix.vue +155 -155
  44. package/src/components/ManageHome/CustomerService/ServiceHome.vue +179 -179
  45. package/src/components/ManageHome/CustomerService/ServiceStatistics.vue +147 -147
  46. package/src/components/ManageHome/CustomerService/TrafficStatistics.vue +160 -160
  47. package/src/components/ManageHome/Drill/DrillData.vue +791 -791
  48. package/src/components/ManageHome/Drill/DrillList.vue +320 -320
  49. package/src/components/ManageHome/Drill/DrillPool.vue +129 -129
  50. package/src/components/ManageHome/Home/CallCenter.vue +124 -124
  51. package/src/components/ManageHome/Home/CallFix.vue +172 -172
  52. package/src/components/ManageHome/Home/CallStatistics.vue +147 -147
  53. package/src/components/ManageHome/Home/GasValue.vue +233 -233
  54. package/src/components/ManageHome/Home/Home.vue +138 -138
  55. package/src/components/ManageHome/Home/Monitor.vue +329 -329
  56. package/src/components/ManageHome/Home/NetWork.vue +202 -202
  57. package/src/components/ManageHome/Home/SafeCheck.vue +249 -249
  58. package/src/components/ManageHome/Home/UserModule.vue +367 -367
  59. package/src/components/ManageHome/ImportSupplygas/AddSupply.vue +206 -206
  60. package/src/components/ManageHome/ImportSupplygas/SuppleManagement.vue +43 -43
  61. package/src/components/ManageHome/ImportSupplygas/SupplySelect.vue +85 -85
  62. package/src/components/ManageHome/ImportSupplygas/UpdateSupply.vue +187 -187
  63. package/src/components/ManageHome/ManageHome.vue +292 -292
  64. package/src/components/ManageHome/Monitor/BuySub.vue +311 -311
  65. package/src/components/ManageHome/Monitor/Caveat.vue +300 -300
  66. package/src/components/ManageHome/Monitor/ComparedGas.vue +264 -264
  67. package/src/components/ManageHome/Monitor/MeterBrand.vue +211 -211
  68. package/src/components/ManageHome/Monitor/MonitorCenter.vue +132 -132
  69. package/src/components/ManageHome/Monitor/MonitorHome.vue +188 -188
  70. package/src/components/ManageHome/Monitor/NoBuyGas.vue +223 -223
  71. package/src/components/ManageHome/Monitor/NoContact.vue +233 -233
  72. package/src/components/ManageHome/Monitor/NoGas.vue +202 -202
  73. package/src/components/ManageHome/NetWork/LineInspection.vue +267 -267
  74. package/src/components/ManageHome/NetWork/NetDanger.vue +258 -258
  75. package/src/components/ManageHome/NetWork/NetHome.vue +84 -84
  76. package/src/components/ManageHome/NetWork/SupplyGas.vue +204 -204
  77. package/src/components/ManageHome/SecurityCheck/CheckHome.vue +94 -94
  78. package/src/components/ManageHome/SecurityCheck/CustomerType.vue +244 -244
  79. package/src/components/ManageHome/SecurityCheck/LatentDanger.vue +218 -218
  80. package/src/components/ManageHome/SecurityCheck/PlanStatistics.vue +231 -231
  81. package/src/components/ManageHome/SecurityCheck/StateStatistics.vue +237 -237
  82. package/src/components/ManageHome/SecurityCheck/TaskStatistics.vue +303 -303
  83. package/src/components/ManageHome/User/GasDistri.vue +271 -271
  84. package/src/components/ManageHome/User/InspecDistri.vue +272 -272
  85. package/src/components/ManageHome/User/SaleProportion.vue +309 -309
  86. package/src/components/ManageHome/User/UseHome.vue +155 -155
  87. package/src/components/ManageHome/User/UserGascontrast.vue +223 -223
  88. package/src/components/ManageHome/User/UserNumber.vue +519 -519
  89. package/src/components/ManageHome/User/UsernumIncrease.vue +243 -243
  90. package/src/components/ManageHome/loading.vue +23 -23
  91. package/src/components/ManageHomeCS/Cockpit.vue +43 -43
  92. package/src/components/ManageHomeCS/CustomerService/ContentmentStatistics.vue +161 -161
  93. package/src/components/ManageHomeCS/CustomerService/ExcepCollect.vue +201 -201
  94. package/src/components/ManageHomeCS/CustomerService/ReasonComplaint.vue +146 -146
  95. package/src/components/ManageHomeCS/CustomerService/ReasonConsultation.vue +148 -148
  96. package/src/components/ManageHomeCS/CustomerService/ServiceFix.vue +242 -242
  97. package/src/components/ManageHomeCS/CustomerService/ServiceHome.vue +176 -176
  98. package/src/components/ManageHomeCS/CustomerService/ServiceStatistics.vue +277 -277
  99. package/src/components/ManageHomeCS/CustomerService/TrafficStatistics.vue +226 -226
  100. package/src/components/ManageHomeCS/Drill/DrillData.vue +918 -918
  101. package/src/components/ManageHomeCS/Drill/DrillList.vue +320 -320
  102. package/src/components/ManageHomeCS/Drill/DrillPool.vue +129 -129
  103. package/src/components/ManageHomeCS/Home/CallCenter.vue +206 -206
  104. package/src/components/ManageHomeCS/Home/CallFix.vue +172 -172
  105. package/src/components/ManageHomeCS/Home/CallStatistics.vue +147 -147
  106. package/src/components/ManageHomeCS/Home/GasValue.vue +466 -466
  107. package/src/components/ManageHomeCS/Home/Home.vue +57 -57
  108. package/src/components/ManageHomeCS/Home/Monitor.vue +423 -423
  109. package/src/components/ManageHomeCS/Home/NetWork.vue +223 -223
  110. package/src/components/ManageHomeCS/Home/SafeCheck.vue +446 -446
  111. package/src/components/ManageHomeCS/Home/ShanxiMap.vue +432 -432
  112. package/src/components/ManageHomeCS/Home/UserModule.vue +511 -511
  113. package/src/components/ManageHomeCS/Home/YulinMap.vue +424 -424
  114. package/src/components/ManageHomeCS/ImportSupplygas/AddSupply.vue +206 -206
  115. package/src/components/ManageHomeCS/ImportSupplygas/SuppleManagement.vue +43 -43
  116. package/src/components/ManageHomeCS/ImportSupplygas/SupplySelect.vue +85 -85
  117. package/src/components/ManageHomeCS/ImportSupplygas/UpdateSupply.vue +187 -187
  118. package/src/components/ManageHomeCS/Monitor/BuySub.vue +339 -339
  119. package/src/components/ManageHomeCS/Monitor/Caveat.vue +301 -301
  120. package/src/components/ManageHomeCS/Monitor/ComparedGas.vue +276 -276
  121. package/src/components/ManageHomeCS/Monitor/MeterBrand.vue +220 -220
  122. package/src/components/ManageHomeCS/Monitor/MonitorCenter.vue +139 -139
  123. package/src/components/ManageHomeCS/Monitor/MonitorHome.vue +188 -188
  124. package/src/components/ManageHomeCS/Monitor/NoBuyGas.vue +218 -218
  125. package/src/components/ManageHomeCS/Monitor/NoContact.vue +217 -217
  126. package/src/components/ManageHomeCS/Monitor/NoGas.vue +214 -214
  127. package/src/components/ManageHomeCS/NetWork/LineInspection.vue +268 -268
  128. package/src/components/ManageHomeCS/NetWork/NetDanger.vue +258 -258
  129. package/src/components/ManageHomeCS/NetWork/NetHome.vue +106 -106
  130. package/src/components/ManageHomeCS/NetWork/NetWork.vue +222 -222
  131. package/src/components/ManageHomeCS/NetWork/NetWorkMap.vue +86 -86
  132. package/src/components/ManageHomeCS/NetWork/SupplyGas.vue +291 -291
  133. package/src/components/ManageHomeCS/NewHome/GasProperties.vue +314 -314
  134. package/src/components/ManageHomeCS/NewHome/NewManageHome.vue +182 -182
  135. package/src/components/ManageHomeCS/NewHome/TextBusiness.vue +267 -267
  136. package/src/components/ManageHomeCS/NewHome/TextChildsellgas.vue +209 -209
  137. package/src/components/ManageHomeCS/NewHome/TextProfit.vue +298 -298
  138. package/src/components/ManageHomeCS/NewHome/TextSellgas.vue +82 -82
  139. package/src/components/ManageHomeCS/NewHome/TextShanximap.vue +389 -389
  140. package/src/components/ManageHomeCS/NewHome/TextTotalsellgas.vue +406 -406
  141. package/src/components/ManageHomeCS/NewHome/TextUser.vue +378 -378
  142. package/src/components/ManageHomeCS/NewHome/yulin.vue +425 -425
  143. package/src/components/ManageHomeCS/Poor/PoorHome.vue +176 -176
  144. package/src/components/ManageHomeCS/SecurityCheck/CheckHome.vue +94 -94
  145. package/src/components/ManageHomeCS/SecurityCheck/CustomerType.vue +246 -246
  146. package/src/components/ManageHomeCS/SecurityCheck/LatentDanger.vue +220 -220
  147. package/src/components/ManageHomeCS/SecurityCheck/PlanStatistics.vue +306 -306
  148. package/src/components/ManageHomeCS/SecurityCheck/StateStatistics.vue +239 -239
  149. package/src/components/ManageHomeCS/SecurityCheck/TaskStatistics.vue +311 -311
  150. package/src/components/ManageHomeCS/User/FMYInspecDistri.vue +269 -269
  151. package/src/components/ManageHomeCS/User/GasDistri.vue +220 -220
  152. package/src/components/ManageHomeCS/User/MYInspecDistri.vue +269 -269
  153. package/src/components/ManageHomeCS/User/SaleProportion.vue +384 -384
  154. package/src/components/ManageHomeCS/User/UseHome.vue +162 -162
  155. package/src/components/ManageHomeCS/User/UserGascontrast.vue +221 -221
  156. package/src/components/ManageHomeCS/User/UserNumber.vue +600 -600
  157. package/src/components/ManageHomeCS/User/UsernumIncrease.vue +277 -277
  158. package/src/components/ManageHomeCS/loading.vue +39 -39
  159. package/src/components/ManageHomeCS/test.vue +88 -88
  160. package/src/components/MeterManage/ChangeMeterQuery.vue +82 -82
  161. package/src/components/MeterManage/ChargeQuery.vue +79 -79
  162. package/src/components/MeterManage/FillCardQuery.vue +80 -80
  163. package/src/components/MeterManage/FillGasQuery.vue +80 -80
  164. package/src/components/MeterManage/HandQuery.vue +72 -72
  165. package/src/components/MeterManage/MeterInfoManage.vue +107 -107
  166. package/src/components/MeterManage/MeterList.vue +336 -336
  167. package/src/components/MeterManage/MeterMsg.vue +181 -181
  168. package/src/components/MeterManage/OtherChargeQuery.vue +78 -78
  169. package/src/components/MeterManage/ReversalQuery.vue +77 -77
  170. package/src/components/MeterManage/TransferQuery.vue +72 -72
  171. package/src/components/SellReport/BankManager.vue +146 -146
  172. package/src/components/SellReport/CaiManageDayGas.vue +280 -280
  173. package/src/components/SellReport/ChManageBusSummary.vue +273 -273
  174. package/src/components/SellReport/ChManageHandSellMoney.vue +274 -274
  175. package/src/components/SellReport/ChManageMonthGas.vue +285 -285
  176. package/src/components/SellReport/ChOtherfee.vue +251 -251
  177. package/src/components/SellReport/CivilGasReport.vue +194 -0
  178. package/src/components/SellReport/CollectFee.vue +184 -184
  179. package/src/components/SellReport/Contrast.vue +188 -188
  180. package/src/components/SellReport/DayStairMoney.vue +256 -256
  181. package/src/components/SellReport/FenxiangSell.vue +183 -183
  182. package/src/components/SellReport/FxGasTable.vue +220 -220
  183. package/src/components/SellReport/GasCollect.vue +174 -174
  184. package/src/components/SellReport/GaspriceHas.vue +141 -141
  185. package/src/components/SellReport/HandCollect.vue +189 -189
  186. package/src/components/SellReport/JinChengBusSummary.vue +182 -182
  187. package/src/components/SellReport/JinChengHandGas.vue +182 -182
  188. package/src/components/SellReport/JinChengOperSummary.vue +182 -182
  189. package/src/components/SellReport/JinChengSliceSumgas.vue +182 -182
  190. package/src/components/SellReport/ManageBusTable.vue +207 -207
  191. package/src/components/SellReport/ManageGasFee.vue +247 -247
  192. package/src/components/SellReport/ManageGasFeeOperator.vue +236 -236
  193. package/src/components/SellReport/ManageHandSellInputtor.vue +241 -241
  194. package/src/components/SellReport/ManageMonthGas.vue +249 -249
  195. package/src/components/SellReport/ManageNewGasPrice.vue +245 -245
  196. package/src/components/SellReport/ManageReceivable.vue +254 -254
  197. package/src/components/SellReport/ManageUserCollect.vue +183 -183
  198. package/src/components/SellReport/MeterBill.vue +185 -185
  199. package/src/components/SellReport/MeterGasMoney.vue +226 -226
  200. package/src/components/SellReport/MeterInput.vue +250 -250
  201. package/src/components/SellReport/MonthStairMoney.vue +256 -256
  202. package/src/components/SellReport/OweAging.vue +174 -174
  203. package/src/components/SellReport/QibiaoShouqi.vue +282 -282
  204. package/src/components/SellReport/ReportHistory.vue +80 -80
  205. package/src/components/SellReport/ReportPool.vue +60 -60
  206. package/src/components/SellReport/Selling.vue +188 -188
  207. package/src/components/SellReport/SiteManager.vue +147 -147
  208. package/src/components/SellReport/UnCivilGasReport.vue +194 -0
  209. package/src/components/SellReport/UserStateStatistics.vue +188 -188
  210. package/src/components/SellReport/UsertypePie.vue +101 -101
  211. package/src/components/SellReport/XianYangDate.vue +227 -227
  212. package/src/components/SellReport/XianYangOperator.vue +228 -228
  213. package/src/components/SellReport/XyDateCharge.vue +227 -227
  214. package/src/components/SellReport/XyOperatorCharge.vue +256 -256
  215. package/src/components/SellReport/YuShouTableTwo.vue +309 -309
  216. package/src/components/SellReport/jingwei/CardCharge.vue +142 -142
  217. package/src/components/SellReport/jingwei/MachineCharge.vue +141 -141
  218. package/src/components/SellReport/jingwei/PaymentNotice.vue +479 -479
  219. package/src/components/SellReport/jingwei/handplanReport.vue +280 -280
  220. package/src/components/SellReport/jingwei/widegt/PaymentNoticePrint.vue +198 -198
  221. package/src/components/SellReport/jingwei/widegt/handplanPrint.vue +143 -143
  222. package/src/components/SellReport/pengan/ManageBusSummaryPeng.vue +241 -241
  223. package/src/components/WebReport/AbnormalInfo.vue +197 -197
  224. package/src/components/WebReport/AbnormalInfoEcharts.vue +120 -120
  225. package/src/components/WebReport/BatteryLow.vue +148 -148
  226. package/src/components/WebReport/BusinessHall.vue +85 -85
  227. package/src/components/WebReport/BussinessType.vue +137 -137
  228. package/src/components/WebReport/Communication.vue +131 -131
  229. package/src/components/WebReport/CompanyUser.vue +79 -79
  230. package/src/components/WebReport/EchartsBox.vue +110 -110
  231. package/src/components/WebReport/ElectroMagnetic.vue +142 -142
  232. package/src/components/WebReport/GaspriceHas.vue +141 -141
  233. package/src/components/WebReport/HandplanPrint.vue +167 -167
  234. package/src/components/WebReport/NotUpload.vue +165 -165
  235. package/src/components/WebReport/OweQuery.vue +169 -169
  236. package/src/components/WebReport/PaymentDistributed.vue +176 -176
  237. package/src/components/WebReport/Paymentpie.vue +157 -157
  238. package/src/components/WebReport/ReportWorklist.vue +220 -220
  239. package/src/components/WebReport/SellType.vue +89 -89
  240. package/src/components/WebReport/Telemanlist.vue +221 -221
  241. package/src/components/WebReport/UserGasAll.vue +214 -214
  242. package/src/components/WebReport/UserGasEcharts.vue +107 -107
  243. package/src/components/WebReport/UsertypePie.vue +105 -105
  244. package/src/components/WebReport/ValueEcharts.vue +99 -99
  245. package/src/components/WebReport/ValueInfo.vue +194 -194
  246. package/src/components/qinhua/BarChartLine.vue +288 -288
  247. package/src/components/qinhua/ManageMain.vue +162 -162
  248. package/src/components/qinhua/Ring.vue +165 -165
  249. package/src/components/qinhua/SafeCheckRing.vue +149 -149
  250. package/src/components/qinhua/SafecheckBarChart.vue +209 -209
  251. package/src/components/qinhua/Scada.vue +93 -93
  252. package/src/components/safecheck/analysis/SafeHiddenAnaly.vue +932 -932
  253. package/src/components/safecheck/planCheck/chanceSituation.vue +149 -149
  254. package/src/components/safecheck/planCheck/checkFamily.vue +217 -217
  255. package/src/components/safecheck/planCheck/hidderDanger.vue +179 -179
  256. package/src/components/safecheck/planCheck/inFamily.vue +185 -185
  257. package/src/components/sale/businessquery/AccountQuery/TransactionSummary.vue +373 -373
  258. package/src/components/sale/businessquery/BalanceQuery.vue +456 -456
  259. package/src/components/sale/businessquery/BusinesQuery.vue +2 -3
  260. package/src/components/sale/businessquery/InspectManage.vue +47 -47
  261. package/src/components/sale/businessquery/NewAccountQuery.vue +409 -409
  262. package/src/components/sale/businessquery/NoBusinessQuery.vue +778 -778
  263. package/src/components/sale/businessquery/OtherChargeDetailQuery.vue +74 -74
  264. package/src/components/sale/businessquery/ResourceOperatingQuery.vue +317 -317
  265. package/src/components/sale/businessquery/SalesGasClassification.vue +168 -168
  266. package/src/components/sale/businessquery/TongjiManage.vue +74 -74
  267. package/src/components/sale/businessquery/UserTongjiQuery.vue +358 -358
  268. package/src/components/sale/businessquery/YearGasQuery.vue +422 -422
  269. package/src/components/sale/businessquery/analysisquery/AnalysisManage.vue +65 -65
  270. package/src/components/sale/businessquery/iotStateSearch/iotStateQuery.vue +308 -308
  271. package/src/components/sale/businessquery/weChatBind.vue +361 -361
  272. package/src/components/sale/common/PrintData.vue +171 -171
  273. package/src/components/sale/common/PrintDataSelf.vue +225 -225
  274. package/src/components/sale/common/PrintTable.vue +228 -228
  275. package/src/components/sale/common/PrintTableSelf.vue +251 -251
  276. package/src/components/sale/common/TabButton.vue +155 -155
  277. package/src/components/sale/common/Tabs.vue +67 -67
  278. package/src/components/sale/common/handplanUser.vue +112 -112
  279. package/src/components/sale/config/DefaultPrint.js +6 -6
  280. package/src/components/sale/config/exportConfig.js +887 -887
  281. package/src/components/sale/config/tableConfig.js +48 -48
  282. package/src/components/sale/filesquery/detail/UserBaseInfo.vue +69 -69
  283. package/src/components/sale/filesquery/detail/UserDetail.vue +41 -41
  284. package/src/components/sale/filesquery/detail/UserOperInfo.vue +76 -76
  285. package/src/components/sale/filesquery/detail/oper/ChangeMessage.vue +46 -46
  286. package/src/components/sale/filesquery/detail/oper/ExchangeOper.vue +66 -66
  287. package/src/components/sale/filesquery/detail/oper/HandOper.vue +46 -46
  288. package/src/components/sale/filesquery/detail/oper/HandleMessage.vue +46 -46
  289. package/src/components/sale/filesquery/detail/oper/OtherCharge.vue +54 -54
  290. package/src/components/sale/filesquery/detail/oper/ReplaceCard.vue +51 -51
  291. package/src/components/sale/filesquery/detail/oper/SellOper.vue +56 -56
  292. package/src/components/sale/filesquery/detail/oper/TransferMessage.vue +55 -55
  293. package/src/components/sale/filesquery/filequerydetail/BlackListQueryDetail.vue +219 -219
  294. package/src/components/sale/filesquery/filequerydetail/ChangeMeterQueryDetail.vue +246 -246
  295. package/src/components/sale/filesquery/filequerydetail/ChargeQueryDetail.vue +239 -239
  296. package/src/components/sale/filesquery/filequerydetail/DeviceQueryDetail.vue +126 -126
  297. package/src/components/sale/filesquery/filequerydetail/DisableQueryDetail.vue +272 -272
  298. package/src/components/sale/filesquery/filequerydetail/EnableQueryDetail.vue +274 -274
  299. package/src/components/sale/filesquery/filequerydetail/FillCardQueryDetail.vue +80 -80
  300. package/src/components/sale/filesquery/filequerydetail/FillGasQueryDetail.vue +80 -80
  301. package/src/components/sale/filesquery/filequerydetail/HandQueryDetail.vue +302 -302
  302. package/src/components/sale/filesquery/filequerydetail/MeterQueryDetail.vue +158 -158
  303. package/src/components/sale/filesquery/filequerydetail/OtherChargeQueryDetail.vue +198 -198
  304. package/src/components/sale/filesquery/filequerydetail/RecordQueryDetail.vue +125 -125
  305. package/src/components/sale/filesquery/filequerydetail/SellingHandDetail.vue +280 -280
  306. package/src/components/sale/filesquery/filequerydetail/TransferQueryDetail.vue +160 -160
  307. package/src/components/sale/filesquery/filequerydetail/UserQueryDetail.vue +155 -155
  308. package/src/components/sale/report/aode/DayReport.vue +50 -50
  309. package/src/components/sale/report/aode/DayReportSummary.vue +75 -75
  310. package/src/components/sale/report/aode/MonthByChargeType.vue +446 -446
  311. package/src/components/sale/report/aode/MonthByUserType.vue +413 -413
  312. package/src/components/sale/report/aode/YearByChargeTpye.vue +215 -215
  313. package/src/components/sale/report/aode/life/LifeDayReport.vue +50 -50
  314. package/src/components/sale/report/aode/life/LifeDayReportList.vue +241 -241
  315. package/src/components/sale/report/aode/life/LifeDayReportSummary.vue +49 -49
  316. package/src/components/sale/report/aode/life/LifeMonthReport.vue +303 -303
  317. package/src/components/sale/report/aode/life/LifeYearReport.vue +175 -175
  318. package/src/components/sale/report/aode/widget/LifeDayReportListPrint.vue +189 -189
  319. package/src/components/sale/report/aode/widget/LifeMonthPrint.vue +153 -153
  320. package/src/components/sale/report/aode/widget/LifeYearPrint.vue +143 -143
  321. package/src/components/sale/report/aode/widget/MonthByChargePrint.vue +236 -236
  322. package/src/components/sale/report/aode/widget/MonthByUserPrint.vue +232 -232
  323. package/src/components/sale/report/aode/widget/YearByChargePrint.vue +203 -203
  324. package/src/components/sale/report/aode/widget/YearByUserPrint.vue +225 -225
  325. package/src/components/scada/CaculateGasConsumputionByDay/CaculateGasConsumputionByDay.vue +290 -290
  326. package/src/components/scada/ChartDisplay/ChartDisplayManage.vue +55 -55
  327. package/src/components/scada/ChartDisplay/ChartThreeDayContrast.vue +164 -164
  328. package/src/components/scada/CumulativeFlow/CumulativeFlowHeatPlant.vue +400 -400
  329. package/src/components/scada/CumulativeFlow/CumulativeFlowManage.vue +59 -59
  330. package/src/components/scada/CumulativeFlow/CumulativeFlowRegulatorStation.vue +504 -504
  331. package/src/components/scada/CumulativeFlow/CumulativeFlowStation.vue +248 -248
  332. package/src/components/scada/GasSupplyRunning/GasSupplyRunningByDay.vue +297 -297
  333. package/src/components/scada/InstantaneousFlow/InstantaneousFlowHeatPlant.vue +389 -389
  334. package/src/components/scada/InstantaneousFlow/InstantaneousFlowManage.vue +57 -57
  335. package/src/components/scada/InstantaneousFlow/InstantaneousFlowRegulatorStation.vue +503 -503
  336. package/src/components/scada/InstantaneousFlow/InstantaneousFlowStation.vue +244 -244
  337. package/src/components/scada/OnTimePressure/OnTimePressureHeatPlant.vue +356 -356
  338. package/src/components/scada/OnTimePressure/OnTimePressureManage.vue +51 -51
  339. package/src/components/scada/OnTimePressure/OnTimePressureRegulatorStation.vue +526 -526
  340. package/src/components/scada/ThreeDayContrast/ThreeDayContrastManage.vue +282 -282
  341. package/src/components/webmeter/DrillData/LargeScreenAnalysisEcharts.vue +710 -710
  342. package/src/components/webmeter/DrillData/LostContactAnalysis.vue +531 -531
  343. package/src/components/webmeter/DrillData/LostContactAnalysisManage.vue +30 -30
  344. package/src/components/webmeter/DrillData/LostContactEform.vue +190 -190
  345. package/src/components/webmeter/dataCollection/DataCollection.vue +676 -676
  346. package/src/components/webmeter/gasAnalysis/GasAnalysisEcharts.vue +144 -144
  347. package/src/components/webmeter/gasAnalysis/GasAnalysisSummary.vue +162 -162
  348. package/src/components/webmeter/handplan/NewWebMeterHandPlan.vue +745 -745
  349. package/src/components/webmeter/handplan/NewWebmeterHandPlanMain.vue +59 -59
  350. package/src/components/webmeter/indicatorStatisticsEchars.vue +204 -204
  351. package/src/components/webmeter/indicatorStatisticsMain.vue +257 -257
  352. package/src/components/webmeter/meterinfo/NewMeterList.vue +414 -414
  353. package/src/components/webmeter/meterinfo/NewMeterListMain.vue +53 -53
  354. package/src/components/webmeter/newwebmeter/NewException/NewExceptionEform.vue +149 -149
  355. package/src/components/webmeter/newwebmeter/NewException/NewExceptionEformTotal.vue +211 -211
  356. package/src/components/webmeter/newwebmeter/NewException/NewGasEcharts.vue +4 -5
  357. package/src/components/webmeter/newwebmeter/NewException/NewMeterException.vue +449 -449
  358. package/src/components/yulin/GuanWang.vue +24 -24
  359. package/src/components/yulin/SingleBarLine.vue +352 -352
  360. package/src/components/yulin/Weather.vue +157 -157
  361. package/src/expandcss.less +26 -26
  362. package/src/filiale/WEINAN/InspectListUser.vue +492 -492
  363. package/src/filiale/WEINAN/ReportDataQuery.vue +249 -249
  364. package/src/filiale/WEINAN/UserGasAll.vue +577 -0
  365. package/src/filiale/WEINAN/UserGasEcharts.vue +281 -0
  366. package/src/filiale/WEINAN/config/tableConfig.js +20 -20
  367. package/src/filiale/WEINAN/sale.js +5 -1
  368. package/src/filiale/aode/ArchivesManage.vue +38 -38
  369. package/src/filiale/aode/BusinessManage.vue +94 -94
  370. package/src/filiale/aode/DefaultPrint.js +6 -6
  371. package/src/filiale/aode/HandplanQuery.vue +632 -632
  372. package/src/filiale/aode/Tabs.vue +67 -67
  373. package/src/filiale/aode/UserQuery.vue +599 -599
  374. package/src/filiale/aode/sale.js +17 -17
  375. package/src/filiale/ceshi/ArrearsQuery.vue +642 -642
  376. package/src/filiale/ceshi/ChManageBusSummary.vue +293 -293
  377. package/src/filiale/ceshi/CollectManage.vue +94 -94
  378. package/src/filiale/ceshi/MeterRateQuery.vue +633 -633
  379. package/src/filiale/ceshi/TabButton.vue +149 -149
  380. package/src/filiale/ceshi/Tabs.vue +69 -69
  381. package/src/filiale/ceshi/reportManage.js +5 -5
  382. package/src/filiale/ceshi/sale.js +11 -11
  383. package/src/filiale/gaomi/config/DefaultPrint.js +6 -6
  384. package/src/filiale/gaomi/config/tableConfig.js +47 -47
  385. package/src/filiale/gongyi/sale/businessquery/exportConfig.js +17 -17
  386. package/src/filiale/gongyi/sale/filesquery/MeterQuery.vue +718 -718
  387. package/src/filiale/jingwei/RecordInfoQuery.vue +1142 -1142
  388. package/src/filiale/liaoyuan/sale.js +11 -11
  389. package/src/filiale/macheng/config/DefaultPrint.js +12 -12
  390. package/src/filiale/meihekou/CardHandplanQuery.vue +618 -541
  391. package/src/filiale/meihekou/RecordInfoQuery.vue +1158 -1158
  392. package/src/filiale/meihekou/UserQuery.vue +773 -773
  393. package/src/filiale/meihekou/config/exportConfig.js +804 -804
  394. package/src/filiale/pingxiang/sale.js +9 -9
  395. package/src/filiale/qingtongxia/config/DefaultPrint.js +6 -6
  396. package/src/filiale/rongcheng/UserQuery.vue +827 -827
  397. package/src/filiale/shaoguan/HandplanQuery.vue +1314 -1314
  398. package/src/filiale/shaoguan/OtherChargeDetailQuery.vue +74 -74
  399. package/src/filiale/shaoguan/TransferQuery.vue +403 -403
  400. package/src/filiale/shaoguan/config/DefaultPrint.js +6 -6
  401. package/src/filiale/shaoguan/config/exportConfig.js +433 -433
  402. package/src/filiale/shaoguan/errorHandplanQuery.vue +366 -366
  403. package/src/filiale/shaoguan/sale/businessquery/ExemptQuery.vue +314 -314
  404. package/src/filiale/shaoguan/sale/businessquery/FMYGasQuery.vue +687 -687
  405. package/src/filiale/shaoguan/sale/businessquery/PaymentChangeQuery.vue +338 -338
  406. package/src/filiale/shaoguan/sale/businessquery/ReconcileQuery.vue +426 -426
  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/config/exportConfig.js +857 -857
  411. package/src/main.js +4 -4
  412. package/src/plugins/GetLoginInfoService.js +505 -505
  413. package/src/plugins/LodopFuncs.js +124 -124
  414. package/src/plugins/getAllInputtor.js +29 -29
  415. package/src/reportManage.js +8 -0
  416. package/src/safeCheck.js +63 -63
  417. package/src/stores/AppData.js +62 -62
  418. package/src/stores/DataSql.js +585 -585
  419. package/src/stores/DrillECharts.js +602 -602
  420. package/src/stores/DrillSql.js +888 -888
  421. package/src/stores/GetParames.js +15 -15
  422. package/src/stores/MagGetSaleParams.js +156 -156
  423. package/src/stores/MagLoadParams.js +63 -63
  424. package/src/stores/Util.js +132 -132
  425. package/src/stores/shanxi1.js +26 -26
  426. package/src/stores/yulin.js +27 -27
  427. package/src/webmeterManage.js +105 -105
  428. package/static/china.json +1 -1
  429. package/static/qh.json +2410 -2410
  430. package/static/res.json +58411 -58411
  431. package/static/shanxi1.json +1 -1
  432. package/static/yulin.json +1 -1
  433. package/static//345/261/261/344/270/234/347/234/201.json +1 -1
  434. package/test/unit/.eslintrc +5 -5
  435. package/test/unit/TestUtil.js +35 -35
  436. package/test/unit/context.html +20 -20
  437. package/test/unit/index.js +13 -13
  438. package/test/unit/init.js +11 -11
  439. package/test/unit/karma.conf.js +45 -45
  440. package/test/unit/specs/components/CallReport/Repair.spec.js +25 -25
  441. package/test/unit/specs/components/ManageBusiness/EquipmentQuery.spec.js +21 -21
  442. package/test/unit/specs/components/ManageBusiness/TableWithQuery.spec.js +21 -21
  443. package/test/unit/specs/components/ManageBusiness/UserQuery.spec.js +21 -21
  444. package/webstorm.config.js +13 -13
@@ -1,1314 +1,1314 @@
1
- <template>
2
- <div id="unit" class="flex-row">
3
- <div class="basic-main" @keyup.enter="search" v-if="!show">
4
- <div class="flex">
5
-
6
- <criteria-paged :model="model" v-ref:paged>
7
- <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
8
- <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
9
- <div class="row">
10
- <res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
11
-
12
- <div class="span" style="float:right;">
13
- <button class="button_search button_spacing" @click="search()">查询</button>
14
- <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
15
-
16
- <button class="btn btn-default" @click="$parent.$parent.Fileinput()" v-show="$parent.$parent.authArr.includes('送反盘权限')">反盘导入</button>
17
- <export-excel :data="$parent.$parent.getCondition"
18
- :field="$parent.$parent.getBankfield" :header="$parent.$parent.other" v-show="$parent.$parent.authArr.includes('送反盘权限')"
19
- sqlurl="rs/logic/offerexportfile" sql-name="newhandplanQuery_shaoguan" template-name='送盘导出' btn-name="送盘导出"
20
- :choose-col="true"></export-excel>
21
- <export-excel :data="$parent.$parent.getCondition" :footer="$parent.$parent.footer"
22
- :field="$parent.$parent.getfield" :header="$parent.$parent.other"
23
- sqlurl="rs/logic/exportfile" sql-name="handplanQuery" template-name='抄表查询导出'
24
- :choose-col="true"></export-excel>
25
- <print-data :sum-field="$parent.$parent.getfield" :model="$parent.model" :field="$parent.$parent.getfield"
26
- :defaultfield="$parent.$parent.defaultfield" print-name="抄表查询打印"
27
- titletable="抄表查询"
28
- :sumsmodel="$parent.$parent.sumsmodel"></print-data>
29
-
30
- <div style="float: right" class="button_spacing" :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.hidden()"></div>
31
- </div>
32
- </div>
33
- <div class="row" v-show="$parent.$parent.criteriaShow">
34
- <div class="col-sm-2 form-group">
35
- <label for="startDate" class="font_normal_body">录入日期</label>
36
- <datepicker id="startDate" placeholder="开始日期" style="width:60%"
37
- v-model="model.startDate"
38
- :value.sync="model.startDate"
39
- :format="'yyyy-MM-dd HH:mm:ss'"
40
- :show-reset-button="true"
41
- condition="f_input_date >= '{}'">
42
- </datepicker>
43
- </div>
44
- <div class="col-sm-2 form-group">
45
- <label for="endDate" class="font_normal_body">&nbsp;&nbsp;&nbsp;&nbsp;至&nbsp;&nbsp;&nbsp;&nbsp;&ensp;</label>
46
- <datepicker id="endDate" placeholder="结束日期" style="width:60%"
47
- v-model="model.endDate"
48
- :value.sync="model.endDate"
49
- :format="'yyyy-MM-dd HH:mm:ss'"
50
- :show-reset-button="true"
51
- condition="f_input_date <= '{}'">
52
- </datepicker>
53
- </div>
54
- <div class="col-sm-2 form-group">
55
- <label class="font_normal_body">客户编号</label>
56
- <input type="text" style="width:60%" class="input_search" v-model="model.f_userinfo_code"
57
- condition="f_userinfo_code = '{}' " placeholder="客户编号">
58
- </div>
59
- <div class="col-sm-2 form-group">
60
- <label class="font_normal_body">客户名称</label>
61
- <input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
62
- condition="f_user_name like '%{}%'" placeholder="客户名称">
63
- </div>
64
-
65
- <div class="col-sm-2 form-group">
66
- <label class="font_normal_body">小区名称</label>
67
- <v-select :value.sync="model.f_residential_area"
68
- class="select_list select"
69
- enter-push
70
- multiple = "true"
71
- v-model="model.f_residential_area"
72
- style="width: 60%"
73
- :options='$parent.$parent.residentialArea' placeholder='选择小区'
74
- close-on-select>
75
-
76
- </v-select>
77
- </div>
78
- <div class="col-sm-2 form-group">
79
- <label class="font_normal_body">楼&emsp;栋&emsp;</label>
80
- <input type="text" style="width:60%" class="input_search" v-model="model.f_building"
81
- condition="f_building like '%{}%'" placeholder="楼栋">
82
- </div>
83
- <div class="col-sm-2 form-group">
84
- <label class="font_normal_body">客户地址</label>
85
- <input type="text" style="width:60%" class="input_search" v-model="model.f_address"
86
- condition="f_address like '%{}%'" placeholder='客户地址'>
87
- </div>
88
- <div class="col-sm-2 form-group">
89
- <label class="font_normal_body">抄表状态</label>
90
- <v-select :value.sync="model.f_meter_state"
91
- v-model="model.f_meter_state"
92
- :options='$parent.$parent.meterstate' placeholder='请选择'
93
- condition="f_meter_state = '{}'"
94
- close-on-select></v-select>
95
- </div>
96
- <div class="col-sm-2 form-group">
97
- <label class="font_normal_body">表单状态</label>
98
- <v-select :value.sync="model.f_hand_state"
99
- v-model="model.f_hand_state"
100
- :options='$parent.$parent.handstate' placeholder='请选择'
101
- condition="f_hand_state = '{}'"
102
- close-on-select></v-select>
103
- </div>
104
- <div class="col-sm-2 form-group">
105
- <label class="font_normal_body">录入人员</label>
106
- <input type="text" style="width:60%" class="input_search" v-model="model.f_input_person"
107
- condition="f_input_person like '%{}%'" placeholder='录入人员'>
108
- </div>
109
- <div class="col-sm-2 form-group">
110
- <label class="font_normal_body">是否缴费</label>
111
- <v-select :value.sync="model.f_whether_pay"
112
- v-model="model.f_whether_pay"
113
- :options='$parent.$parent.whetherPay' placeholder='请选择'
114
- condition="f_whether_pay = '{}'"
115
- close-on-select></v-select>
116
- </div>
117
- <div class="col-sm-2 form-group">
118
- <label class="font_normal_body" >收款方式</label>
119
- <v-select :value.sync="model.f_payment" multiple
120
- v-model="model.f_payment"
121
- :options='$parent.$parent.dypayment' placeholder='请选择'
122
- condition="f_dypayment in {}"
123
- close-on-select></v-select>
124
- </div>
125
- <div class="col-sm-2 form-group">
126
- <label class="font_normal_body">&ensp;壁挂炉&ensp;</label>
127
- <v-select :value.sync="model.f_bgl"
128
- v-model="model.f_bgl"
129
- :options='$parent.$parent.bgl' placeholder='请选择'
130
- condition="f_bgl = '{}'"
131
- close-on-select></v-select>
132
- </div>
133
- <div class="col-sm-2 form-group">
134
- <label class="font_normal_body">客户类型</label>
135
- <v-select :value.sync="model.f_user_type"
136
- @change="$parent.$parent.userTypeChange()"
137
- :options='$parent.$parent.usertypes' placeholder='请选择' v-model="model.f_user_type"
138
- condition="f_user_type = '{}'"
139
- close-on-select></v-select>
140
- </div>
141
- <div class="col-sm-2 form-group">
142
- <label class="font_normal_body">用气性质</label>
143
- <v-select :value.sync="model.f_gasproperties" v-model="model.f_gasproperties"
144
- :options='$parent.$parent.gasproperties' placeholder='请选择'
145
- condition="f_gasproperties = '{}'"
146
- close-on-select></v-select>
147
- </div>
148
- <div class="col-sm-2 form-group">
149
- <label class="font_normal_body">气价类型</label>
150
- <v-select :value.sync="model.pricetype" v-model="model.pricetype"
151
- placeholder='气价类型' :options="$parent.$parent.pricetypes"
152
- close-on-select v-ref:type>
153
- </v-select>
154
- </div>
155
- <div class="col-sm-2 form-group">
156
- <label class="font_normal_body">气价名称</label>
157
- <v-select :value.sync="model.f_price_name"
158
- v-model="model.f_price_name"
159
- :options="$parent.$parent.getPricenames"
160
- condition="f_price_name = '{}'"
161
- close-on-select></v-select>
162
- </div>
163
- <div class="col-sm-2 form-group">
164
- <label class="font_normal_body">下账状态</label>
165
- <v-select :value.sync="model.f_accounts_state"
166
- :options='$parent.$parent.accountsState' placeholder='请选择' v-model="model.f_accounts_state"
167
- condition="f_accounts_state = '{}'"
168
- close-on-select></v-select>
169
- </div>
170
- <div class="col-sm-2 form-group">
171
- <label class="font_normal_body">气表类型</label>
172
- <v-select :value.sync="model.f_meter_classify" multiple
173
- :options='$parent.$parent.metertypes' placeholder='请选择' v-model="model.f_meter_classify"
174
- condition="f_meter_classify in {}"
175
- close-on-select></v-select>
176
- </div>
177
- <div class="col-sm-2 form-group">
178
- <label class="font_normal_body">气表品牌</label>
179
- <v-select :value.sync="model.f_meter_brand" multiple
180
- v-model="model.f_meter_brand"
181
- :options='$parent.$parent.meterbrands' placeholder='请选择'
182
- condition="f_meter_brand in {}"
183
- close-on-select></v-select>
184
- </div>
185
- <div class="col-sm-2 form-group">
186
- <label class="font_normal_body">用&ensp;气&ensp;量</label>
187
- <input type="text" style="width:30%" class="input_search" title="大于等于"
188
- v-model="model.f_oughtamount_big" condition="f_oughtamount >= {}" placeholder='大于等于'>
189
- <input type="text" style="width:30%" class="input_search" title="小于等于"
190
- v-model="model.f_oughtamount_small" condition="f_oughtamount <= {}" placeholder='小于等于'>
191
- </div>
192
- <!-- <div class="col-sm-2 form-group">-->
193
- <!-- <label class="font_normal_body">气价名称</label>-->
194
- <!-- <v-select :value.sync="model.f_price_name" v-model="model.f_price_name" :options="$parent.$parent.prices"-->
195
- <!-- condition="f_price_name = '{}'" close-on-select></v-select>-->
196
- <!-- </div>-->
197
- <div class="col-sm-2 form-group">
198
- <label class="font_normal_body">&ensp;表&ensp;号&ensp;&ensp;</label>
199
- <input type="text" style="width:60%" class="input_search" v-model="model.f_meternumber"
200
- condition="f_meternumber = '{}' " placeholder="表号">
201
- </div>
202
- <div class="col-sm-2 form-group">
203
- <label for="startDate" class="font_normal_body">下发日期</label>
204
- <datepicker id="handStartDate" placeholder="开始日期" style="width:60%"
205
- v-model="model.handStartDate"
206
- :value.sync="model.handStartDate"
207
- :format="'yyyy-MM-dd 00:00:00'"
208
- :show-reset-button="true"
209
- condition="f_hand_date >= '{}'">
210
- </datepicker>
211
- </div>
212
- <div class="col-sm-2 form-group">
213
- <label for="endDate" class="font_normal_body">&nbsp;&nbsp;&nbsp;&nbsp;至&nbsp;&nbsp;&nbsp;&nbsp;</label>
214
- <datepicker id="handEndDate" placeholder="结束日期" style="width:60%"
215
- v-model="model.handEndDate"
216
- :value.sync="model.handEndDate"
217
- :format="'yyyy-MM-dd 23:59:59'"
218
- :show-reset-button="true"
219
- condition="f_hand_date <= '{}'">
220
- </datepicker>
221
- </div>
222
- <div class="col-sm-2 form-group">
223
- <label class="font_normal_body" >抄&nbsp;&nbsp;表&nbsp;员</label>
224
- <v-select :value.sync="model.f_inputtor"
225
- v-model="model.f_inputtor"
226
- :options='$parent.$parent.inputtores' placeholder='请选择'
227
- condition="f_inputtor = '{}'"
228
- close-on-select :search="false">
229
- </v-select>
230
- </div>
231
- <!--表册片区-->
232
- <div class="col-sm-2 form-group">
233
- <label class="font_normal_body">表册片区</label>
234
- <v-select :value.sync="model.f_book_slice_area" v-model="model.f_book_slice_area"
235
- @change="$parent.$parent.inputtorchange"
236
- :options='$parent.$parent.bookSlice' placeholder='片区/表册'
237
- style="width:60%"
238
- close-on-select
239
- condition="f_book_slice_area = '{}'"></v-select>
240
- </div>
241
- <div class="col-sm-2 form-group">
242
- <label class="font_normal_body">抄&ensp;表&ensp;册</label>
243
- <v-select :value.sync="model.f_meter_book" v-model="model.f_meter_book"
244
- :options='$parent.$parent.meterbooks' placeholder='抄表册'
245
- style="width:60%"
246
- close-on-select
247
- condition="f_meter_book_num = '{}'"></v-select>
248
- </div>
249
- <div class="col-sm-2 form-group" >
250
- <label for="belongmonth" class="font_normal_body" >所属年月</label>
251
- <datepicker placeholder="所属年月" style="width:60%"
252
- v-model="model.belongmonth"
253
- :value.sync="model.belongmonth"
254
- :format="'yyyy-MM'"
255
- :show-reset-button="true"
256
- condition="belongmonth = '{}'"
257
- :select-month="true">
258
- </datepicker>
259
- </div>
260
- <div class="col-sm-2 form-group">
261
- <label class="font_normal_body">银行名称</label>
262
- <v-select :value.sync="model.f_bank_name" v-model="model.f_bank_name"
263
- :options='$parent.$parent.banklist' placeholder='银行名称'
264
- style="width:60%"
265
- close-on-select
266
- condition="f_bank_name = '{}'"></v-select>
267
- </div>
268
- <div class="col-sm-2 form-group">
269
- <label for="startDate" class="font_normal_body">收费日期</label>
270
- <datepicker id="handStartDate" placeholder="开始日期" style="width:60%"
271
- v-model="model.sellStartDate"
272
- :value.sync="model.sellStartDate"
273
- :format="'yyyy-MM-dd 00:00:00'"
274
- :show-reset-button="true"
275
- condition="f_sellinggas_operate_date >= '{}'">
276
- </datepicker>
277
- </div>
278
- <div class="col-sm-2 form-group">
279
- <label for="endDate" class="font_normal_body">&nbsp;&nbsp;&nbsp;&nbsp;至&nbsp;&nbsp;&nbsp;&nbsp;</label>
280
- <datepicker id="handEndDate" placeholder="结束日期" style="width:60%"
281
- v-model="model.sellEndDate"
282
- :value.sync="model.sellEndDate"
283
- :format="'yyyy-MM-dd 23:59:59'"
284
- :show-reset-button="true"
285
- condition="f_sellinggas_operate_date <= '{}'">
286
- </datepicker>
287
- </div>
288
- </div>
289
- </div>
290
- </criteria>
291
-
292
- <data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid :classname="$parent.classname">
293
- <template partial='head'>
294
- <tr>
295
- <th>
296
- <nobr>客户编号</nobr>
297
- </th>
298
- <th>
299
- <nobr>客户名称</nobr>
300
- </th>
301
- <th>
302
- <nobr>片区</nobr>
303
- </th>
304
- <th>
305
- <nobr>小区</nobr>
306
- </th>
307
- <th>
308
- <nobr>表册片区</nobr>
309
- </th>
310
- <th>
311
- <nobr>客户地址</nobr>
312
- </th>
313
- <th>
314
- <nobr>客户手机</nobr>
315
- </th>
316
- <th>
317
- <nobr>表号</nobr>
318
- </th>
319
- <th>
320
- <nobr>数据年月</nobr>
321
- </th>
322
- <th>
323
- <nobr>上期底数</nobr>
324
- </th>
325
- <th>
326
- <nobr>本期底数</nobr>
327
- </th>
328
- <th>
329
- <nobr>用气量</nobr>
330
- </th>
331
- <th>
332
- <nobr>滞纳金</nobr>
333
- </th>
334
- <th>
335
- <nobr>用气金额</nobr>
336
- </th>
337
- <th>
338
- <nobr>已交金额</nobr>
339
- </th>
340
- <th>
341
- <nobr>优惠金额</nobr>
342
- </th>
343
- <th>
344
- <nobr>上期余额</nobr>
345
- </th>
346
- <th>
347
- <nobr>本期余额</nobr>
348
- </th>
349
- <th>
350
- <nobr>下账状态</nobr>
351
- </th>
352
- <th>
353
- <nobr>收费时间</nobr>
354
- </th>
355
- <th>
356
- <nobr>收费人员</nobr>
357
- </th>
358
- <th>
359
- <nobr>冲正时间</nobr>
360
- </th>
361
- <th>
362
- <nobr>冲正人员</nobr>
363
- </th>
364
- <th>
365
- <nobr>下发日期</nobr>
366
- </th>
367
- <th>
368
- <nobr>所属年月</nobr>
369
- </th>
370
- <th>
371
- <nobr>录入日期</nobr>
372
- </th>
373
- <th>
374
- <nobr>气价名称</nobr>
375
- </th>
376
- <th>
377
- <nobr>一阶气量</nobr>
378
- </th>
379
- <th>
380
- <nobr>一阶单价</nobr>
381
- </th>
382
- <th>
383
- <nobr>一阶气费</nobr>
384
- </th>
385
- <th>
386
- <nobr>二阶气量</nobr>
387
- </th>
388
- <th>
389
- <nobr>二阶单价</nobr>
390
- </th>
391
- <th>
392
- <nobr>二阶气费</nobr>
393
- </th>
394
- <th>
395
- <nobr>三阶气量</nobr>
396
- </th>
397
- <th>
398
- <nobr>三阶单价</nobr>
399
- </th>
400
- <th>
401
- <nobr>三阶气费</nobr>
402
- </th>
403
- <th>
404
- <nobr>天数</nobr>
405
- </th>
406
- <th>
407
- <nobr>抄表员</nobr>
408
- </th>
409
- <th>
410
- <nobr>录入人员</nobr>
411
- </th>
412
- <th>
413
- <nobr>是否缴费</nobr>
414
- </th>
415
-
416
- <th>
417
- <nobr>抄表状态</nobr>
418
- </th>
419
- <th>
420
- <nobr>状态</nobr>
421
- </th>
422
- <th>
423
- <nobr>下发人员</nobr>
424
- </th>
425
- <th>
426
- <nobr>部门</nobr>
427
- </th>
428
- <th>
429
- <nobr>公司</nobr>
430
- </th>
431
- <th><nobr>附件</nobr></th>
432
- </tr>
433
- </template>
434
- <template partial='body'>
435
- <td style="text-align: center;">
436
- <nobr>
437
- <span @click="$parent.$parent.$parent.dealmsg(row)"><a>{{row.f_userinfo_code}}</a></span></nobr>
438
- </td>
439
- <td style="text-align: center;">
440
- <nobr>{{row.f_user_name}}</nobr>
441
- </td>
442
- <td style="text-align: center;">
443
- <nobr>{{row.f_zones}}</nobr>
444
- </td>
445
- <td style="text-align: center;">
446
- <nobr>{{row.f_residential_area}}</nobr>
447
- </td>
448
- <td style="text-align: center;">
449
- <nobr>{{row.f_book_slice_area}}</nobr>
450
- </td>
451
- <td style="text-align: center;">
452
- <nobr>{{row.f_address}}</nobr>
453
- </td>
454
-
455
- <td style="text-align: center;">
456
- <nobr>{{row.phone}}</nobr>
457
- </td>
458
- <td style="text-align: center;">
459
- <nobr>{{row.f_meternumber}}</nobr>
460
- </td>
461
- <td style="text-align: center;">
462
- <nobr>{{row.ym_data}}</nobr>
463
- </td>
464
- <td style="text-align: center;">
465
- <nobr>{{row.f_last_tablebase}}</nobr>
466
- </td>
467
- <td style="text-align: center;">
468
- <nobr>{{row.f_tablebase}}</nobr>
469
- </td>
470
- <td style="text-align: center;">
471
- <nobr>{{row.f_oughtamount}}</nobr>
472
- </td>
473
- <td style="text-align: center;">
474
- <nobr>{{row.overdue}}</nobr>
475
- </td>
476
- <td style="text-align: center;">
477
- <nobr>{{row.f_oughtfee}}</nobr>
478
- </td>
479
- <td style="text-align: center;">
480
- <nobr>{{row.f_debt_money}}</nobr>
481
- </td>
482
- <td style="text-align: center;">
483
- <nobr>{{row.f_privilege_money}}</nobr>
484
- </td>
485
- <td style="text-align: center;">
486
- <nobr>{{row.f_balance}}</nobr>
487
- </td>
488
- <td style="text-align: center;">
489
- <nobr>{{row.f_curbalance}}</nobr>
490
- </td>
491
- <td style="text-align: center;">
492
- <nobr>{{row.f_accounts_state}}</nobr>
493
- </td>
494
- <td style="text-align: center;">
495
- <nobr>{{row.f_sellinggas_operate_date}}</nobr>
496
- </td>
497
- <td style="text-align: center;">
498
- <nobr>{{row.f_sell_operator}}</nobr>
499
- </td>
500
- <td style="text-align: center;">
501
- <nobr>{{row.f_corrhand_date}}</nobr>
502
- </td>
503
- <td style="text-align: center;">
504
- <nobr>{{row.f_corrhand_operator}}</nobr>
505
- </td>
506
- <td style="text-align: center;">
507
- <nobr>{{row.f_hand_date}}</nobr>
508
- </td>
509
- <td>
510
- <nobr>{{row.belongmonth}}</nobr>
511
- </td>
512
- <td style="text-align: center;">
513
- <nobr>{{row.f_input_date}}</nobr>
514
- </td>
515
- <td style="text-align: center;">
516
- <nobr>{{row.f_price_name}}</nobr>
517
- </td>
518
- <td style="text-align: center;">
519
- <nobr>{{row.f_stair1amount}}</nobr>
520
- </td>
521
- <td style="text-align: center;">
522
- <nobr>{{row.f_stair1price}}</nobr>
523
- </td>
524
- <td style="text-align: center;">
525
- <nobr>{{row.f_stair1fee}}</nobr>
526
- </td>
527
- <td style="text-align: center;">
528
- <nobr>{{row.f_stair2amount}}</nobr>
529
- </td>
530
- <td style="text-align: center;">
531
- <nobr>{{row.f_stair2price}}</nobr>
532
- </td>
533
- <td style="text-align: center;">
534
- <nobr>{{row.f_stair2fee}}</nobr>
535
- </td>
536
- <td style="text-align: center;">
537
- <nobr>{{row.f_stair3amount}}</nobr>
538
- </td>
539
- <td style="text-align: center;">
540
- <nobr>{{row.f_stair3price}}</nobr>
541
- </td>
542
- <td style="text-align: center;">
543
- <nobr>{{row.f_stair3fee}}</nobr>
544
- </td>
545
- <td style="text-align: center;">
546
- <nobr>{{row.dd}}</nobr>
547
- </td>
548
- <td style="text-align: center;">
549
- <nobr>{{row.f_inputtor}}</nobr>
550
- </td>
551
- <td style="text-align: center;">
552
- <nobr>{{row.f_input_person}}</nobr>
553
- </td>
554
- <td style="text-align: center;">
555
- <nobr>{{row.f_whether_pay}}</nobr>
556
- </td>
557
-
558
- <td style="text-align: center;">
559
- <nobr>{{row.f_meter_state}}</nobr>
560
- </td>
561
- <td style="text-align: center;">
562
- <nobr>{{row.f_hand_state}}</nobr>
563
- </td>
564
- <td style="text-align: center;">
565
- <nobr>{{row.f_operator}}</nobr>
566
- </td>
567
- <td style="text-align: center;">
568
- <nobr>{{row.f_depname}}</nobr>
569
- </td>
570
- <td style="text-align: center;">
571
- <nobr>{{row.f_orgname}}</nobr>
572
- </td>
573
- <td style="text-align: center;"><nobr>
574
- <button class="button_search button_spacing width-60" @click.stop="$parent.$parent.$parent.view(row)">查看</button>
575
- <button v-if="row.f_notified_path" class="button_search button_spacing width-60" @click.stop="$parent.$parent.$parent.imgShow(row.f_notified_path)">图像识别</button>
576
- </nobr></td>
577
- </template>
578
- <template partial='foot'></template>
579
- </data-grid>
580
- </criteria-paged>
581
-
582
- <table class="table-hover">
583
- <tr style="position: relative;margin-top: -16px;" class="table-bordered">
584
- <td
585
- style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">
586
- 汇总信息
587
- </td>
588
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
589
- 用气量合计:&emsp;{{sumsmodel.f_oughtamount}}
590
- </td>
591
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
592
- 气费合计:&emsp;{{sumsmodel.f_oughtfee}}
593
- </td>
594
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
595
- 一阶气量合计:&emsp;{{sumsmodel.f_stair1amount}}
596
- </td>
597
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
598
- 一阶气费合计:&emsp;{{sumsmodel.f_stair1fee}}
599
- </td>
600
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
601
- 二阶气量合计:&emsp;{{sumsmodel.f_stair2amount}}
602
- </td>
603
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
604
- 二阶气费合计:&emsp;{{sumsmodel.f_stair2fee}}
605
- </td>
606
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
607
- 三阶气量合计:&emsp;{{sumsmodel.f_stair3amount}}
608
- </td>
609
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
610
- 三阶气费合计:&emsp;{{sumsmodel.f_stair3fee}}
611
- </td>
612
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
613
- 剩余气量合计:&emsp;{{sumsmodel.f_surplus_gas}}
614
- </td>
615
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
616
- 扣减气量合计:&emsp;{{sumsmodel.f_haircut_gas}}
617
- </td>
618
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
619
- 应交气量合计:&emsp;{{sumsmodel.f_oughtamount}}
620
- </td>
621
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
622
- 已交气量合计:&emsp;{{sumsmodel.alloughtfee}}
623
- </td>
624
- </tr>
625
- </table>
626
- </div>
627
- <modal :show.sync="batchmoneyShow" width="500px" title="反盘导入" v-ref:modal large backdrop="false">
628
- <article slot="modal-body" class="modal-body">
629
- <file-upload class="my-file-uploader" name="useraddressUploadFile" action="rs/file/uploadFile" tagname="确定" multiple v-ref:file></file-upload>
630
- </article>
631
- <footer slot="modal-footer" class="modal-footer">
632
- </footer>
633
- </modal>
634
- </div>
635
- <div class="flex" v-if="show">
636
- <user-info-detail-manage-new :f_userinfo_id="rowdata.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage-new>
637
- </div>
638
- <modal :show.sync="showupload" v-if="showupload" width="80%" style="width:auto;" v-ref:modal middle backdrop="false">
639
- <article slot="modal-body">
640
- <upload :blodid="selected.f_userinfo_id" :businessid="selected.id" v-ref:upload isupload="false" takeimg="false" fusetype="机表抄表" :isremark="false" style="width:auto" ></upload>
641
- </article>
642
- <footer slot="modal-footer" class="modal-footer">
643
- </footer>
644
- </modal>
645
- <modal :show.sync="imgshow" v-ref:modal backdrop="true">
646
- <header slot="modal-header" class="modal-header">
647
- 抄表图像识别照片
648
- </header>
649
- <article slot="modal-body" class="modal-body">
650
- <div class="from-group">
651
- <img-self :src="imgfilename" width="500" height="500"></img-self>
652
- </div>
653
- </article>
654
- </modal>
655
-
656
- <modal :show.sync="progressShow" v-ref:modal backdrop="true" width="50%" style="width:auto;" >
657
- <header slot="modal-header" class="modal-header">
658
- 反盘导入
659
- </header>
660
- <article slot="modal-body" class="modal-body">
661
- <div class="progress" style="margin: 20px" >
662
- <div class="progress-bar progress-bar-success progress-bar-striped active" :style="{width: percent+'%'}">
663
- {{percent}}%
664
- </div>
665
- </div>
666
- </article>
667
- <footer slot="modal-footer" class="modal-footer">
668
- <button type="button" class="btn btn-default" @click='progressclose'>关闭</button>
669
- </footer>
670
- </modal>
671
- <work-busy :is-busy="iswork" v-show="iswork"></work-busy>
672
- </div>
673
- </template>
674
-
675
- <script>
676
- import {PagedList, HttpResetClass} from 'vue-client'
677
- import defaultPrint from './config/DefaultPrint'
678
- import exportConfig from './config/exportConfig'
679
- import axios from 'axios'
680
-
681
- let readySomething = async function (self) {
682
- //加载抄表册
683
- self.$MagGetSaleParam.initinputtor();
684
- self.getinputtores();
685
- self.initmeterbook();
686
- // await self.$LoadParams.loadMeterBook(self.f_filialeid)
687
- // self.loadMeterBooks()
688
- self.$refs.paged.$refs.cri.model.startDate = self.data ? self.data.startDate : self.$login.toStandardDateString() + ' 00:00:00'
689
- self.$refs.paged.$refs.cri.model.endDate = self.data ? self.data.endDate : self.$login.toStandardDateString() + ' 23:59:59'
690
- // self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString() + ' 00:00:00'
691
- // self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString() + ' 23:59:59'
692
- // await self.$refs.paged.$refs.cri.search()
693
- await self.$getConfig(self, 'HandplanQuery')
694
- self.defaultfield = [...self.defaultfield, ...self.config.defaultPrint]
695
- await self.$MagLoadParams.loadParam()
696
- // await self.$MagLoadParams.loadParam()
697
- self.initParams()
698
- console.log('开始查询')
699
- self.sumsmodel = self.$refs.paged.$refs.grid.model.sums
700
- }
701
- export default {
702
- props:['data'],
703
- title: '机表抄表查询',
704
- data() {
705
- return {
706
- iswork:false,
707
- other:[],
708
- footer:[],
709
- data: {},
710
- model: new PagedList('rs/sql/handplanQuery', 20, {}, {
711
- f_oughtamount: 0,
712
- f_oughtfee: 0,
713
- f_stair1amount: 0,
714
- f_stair1fee: 0,
715
- f_stair2amount: 0,
716
- f_stair2fee: 0,
717
- f_stair3amount: 0,
718
- f_stair3fee: 0,
719
- f_surplus_gas: 0,
720
- f_haircut_gas: 0,
721
- alloughtfee:0
722
- }),
723
- initres: {
724
- org:[this.$login.f.orgid],
725
- dep:[],
726
- user:[],
727
- },
728
- show:false,
729
- rowdata:{},
730
- criteriaShow: false,
731
- residentialArea: [],
732
- orgCondtionStr: '',
733
- modelval: [],
734
- gasproperties:[],
735
- inputtouPerson: [],
736
- meterbrands: [],
737
- printshow: false,
738
- f_filialeid: this.$login.f.f_orgid,
739
- all: false,
740
- fields: {},
741
- thead: '',
742
- tfoot: '',
743
- showupload:false,
744
- selected:{},
745
-
746
- // 下拉框
747
-
748
- //合计数据
749
- sumsmodel: {},
750
- defaultfield: [],
751
- config: {
752
- defaultPrint: ['f_userinfo_code', 'f_address', 'f_user_name', 'f_meternumber']
753
- },
754
- dypayment:[{label:"全部",value:""},{label:"银行代扣",value:"银行代扣",},{label:"现金缴费",value:"现金缴费"}],
755
- batchmoneyShow:false,
756
- prices: [],
757
- bgl:[{label: '全部', value: ''},{label: '有', value: '1'},{label: '无', value: '0'}],
758
- meterbooks:[{label: '全部',value: ''}], //抄表册
759
- tempfalg :false,
760
- lastorgstr:'',
761
- allorgid:[],
762
- inputtores:[{label: '全部',value: ''}], //抄表员
763
- //表册片区
764
- bookSlice:[{label: '全部',value: ''}],
765
- imgshow:false,
766
- imgfilename:'',
767
- percent:0,
768
- progressShow:false,
769
- uuida:'',
770
- timer:'',
771
- }
772
- },
773
- ready() {
774
- this.getaddress()
775
- readySomething(this).then(() => {
776
- this.$emit('ready')
777
- }).catch((error) => {
778
- this.$emit('error', error)
779
- })
780
- },
781
- methods: {
782
- getuuid(){
783
- let uuidA = '';
784
- var s = [];
785
- var hexDigits = '0123456789abcdef';
786
- for (var i = 0; i < 36; i++) {
787
- s[i] = hexDigits.substr(Math.floor(Math.random() * 0x10), 1);
788
- }
789
- s[14] = '4';
790
- s[19] = hexDigits.substr((s[19] & 0x3) | 0x8, 1);
791
- s[8] = s[13] = s[18] = s[23] = '-';
792
- uuidA = s.join('');
793
- this.uuida = uuidA;
794
- },
795
- progressclose(){
796
- this.progressShow = false;
797
- if(this.timer != null){
798
- clearInterval(this.timer);
799
- }
800
- },
801
- async initmeterbook(orgstr){
802
- if(orgstr == null ){
803
- orgstr = this.f_filialeid;
804
- }
805
- //获取新的抄表册,先去清理所有的抄表册
806
- this.$GetSaleParam.meterbooks = [];
807
- //开始加载新的抄表册
808
- await this.$LoadParams.loadMeterBook(orgstr)
809
- this.meterbooks = [{label: '全部', value: ''}, ...this.$GetSaleParam.getMeterBooks()]
810
- },
811
- //初始化片区
812
- async initSlice (val) {
813
- if (val) {
814
- let getAllArea = await this.$resetpost('/rs/search', {
815
- source: 'this.getParentByType($organization$).getAllChildrens().where(row.getType() == $zone$)',
816
- userid: this.$login.f.id
817
- }, {resolveMsg: null, rejectMsg: '获取片区出错!!!'})
818
- let arr = getAllArea.data.filter((res) => {
819
- return res.parentid == val
820
- })
821
- this.bookSlice = []
822
- arr.forEach((res) => {
823
- this.bookSlice.push({label: res.name, value: res.name})
824
- })
825
- }
826
- },
827
- //表册片区和抄表册关联
828
- async inputtorchange(){
829
- this.$set('$refs.paged.$refs.cri.model.f_meter_book',[]);
830
- /*let val1=this.$refs.paged.$refs.cri.model.f_meter_book*/
831
- let val2=this.$refs.paged.$refs.cri.model.f_book_slice_area
832
- if((val2.length>0)){
833
- let condition = ` 1=1 and f_orgid ='${this.f_filialeid}' and f_book_state='有效' `
834
- /*if (val1[0]){
835
- condition = condition+ ` and f_meter_book = '${val1[0]}' `
836
- }*/
837
- if(val2[0]) {
838
- condition = condition + ` and f_book_slice_area = '${val2}' `
839
- }
840
- let param={
841
- items:'*',
842
- tablename:'t_meter_book',
843
- condition:condition,
844
- orderitem:'id'
845
- }
846
- let getMeterBooks = await this.$resetpost('rs/sql/singleTable_OrderBy', {data: param}, {resolveMsg: null, rejectMsg: '获取营收参数出错!!!'})
847
- if (getMeterBooks.data) {
848
- if(getMeterBooks.data.length >0){
849
- let rs = [];
850
- getMeterBooks.data.forEach((item)=>{
851
- let temp = {
852
- label:item.f_book_name,
853
- value:item.id
854
- };
855
- rs.push(temp);
856
-
857
- })
858
- this.meterbooks = [{label: '全部',value: ''}, ...rs];
859
- }else{
860
- this.meterbooks = [{label: '全部',value: ''}];
861
- }
862
- }
863
- }else{
864
- this.meterbooks = [{label: '全部',value: ''}];
865
- this.initmeterbook();
866
- }
867
- },
868
- async initmeterbook(orgstr){
869
- if(orgstr == null ){
870
- orgstr = this.f_filialeid;
871
- }
872
- //获取新的抄表册,先去清理所有的抄表册
873
- this.$GetSaleParam.meterbooks = [];
874
- //开始加载新的抄表册
875
- await this.$LoadParams.loadMeterBook(orgstr)
876
- this.meterbooks = [{label: '全部', value: ''}, ...this.$GetSaleParam.getMeterBooks()]
877
- },
878
-
879
- async getinputtores () {
880
- // 获取抄表员
881
- let rs = []
882
- if (this.$login.f.f_gasman.length > 0) {
883
- for (let i = 0; i < this.$login.f.f_gasman.length; i++) {
884
- let temp = {
885
- label: this.$login.f.f_gasman[i].name,
886
- value: this.$login.f.f_gasman[i].name
887
- }
888
- rs.push(temp)
889
- }
890
- }
891
- this.inputtores = [{label: '全部', value: ''}, ...rs]
892
- this.inputtores.push({label: "微信公众号", value: "微信公众号"})
893
- },
894
- async updateParams() {
895
- await this.$MagLoadParams.loadParam(this.f_filialeid)
896
- this.inputtores = [];
897
- this.inputtores.push({label: "全部", value: ""})
898
- this.initSlice(this.f_filialeid)
899
- if(this.allorgid!=null){
900
- this.allorgid.forEach((res)=>{
901
- this.inputtores = this.inputtores.concat(this.$MagGetSaleParam.getresinputtor(res));
902
- })
903
- }
904
- this.initParams()
905
- },
906
- view(row){
907
- this.showupload = true
908
- this.selected= row
909
- },
910
- imgclose(){
911
- this.imgshow = false
912
- },
913
- imgShow(val){
914
- this.imgfilename = `rs/image/file/`+val
915
- this.imgshow = true
916
- },
917
- initParams() {
918
- // 初始化气表品牌
919
- let brandArr = []
920
- this.$MagGetSaleParam.getGasbrand().forEach((item) => {
921
- let temp = {}
922
- temp.label = item.label
923
- temp.value = item.value.f_meter_brand
924
- brandArr.push(temp)
925
- })
926
- this.meterbrands = [{label: '全部', value: ''}, ...brandArr]
927
- //初始化气价
928
- let result = []
929
- this.$MagGetSaleParam.prices.forEach((item) => {
930
- if (item.f_state === '有效' && this.$login.f.orgid == item.f_filialeid) {
931
- let value = {
932
- label: item.f_price_name,
933
- value: item.f_price_name
934
- }
935
- result.push(value)
936
- }
937
- })
938
- let hash = {}
939
- result = result.reduce((item, next) => {
940
- hash[next.label] ? '' : hash[next.label] = true && item.push(next)
941
- return item
942
- }, [])
943
- this.prices = Array.from(new Set(result))
944
- },
945
- getotherfooter(){
946
- // this.$refs.paged.$refs.cri.$refs.exports.otherData=[];
947
- // this.$refs.paged.$refs.cri.$refs.exports.footerData=[];
948
- this.other=[];
949
- this.footer=[];
950
- let exportdata = this.getCondition;
951
- let otherInData=[];
952
- otherInData.push(`导出时间: ${this.$login.toStandardTimeString()}`);
953
- let footerData=[],exportfield=this.getfield;
954
- footerData.push("合计");
955
- let self = this;
956
- for(var field in self.sumsmodel){
957
- footerData.push(`${exportfield[field]}合计:${self.sumsmodel[field]}`);
958
- }
959
- this.footer.push(footerData);
960
- this.other.push(otherInData);
961
- },
962
- async getaddress(){
963
- let HttpReset = new HttpResetClass()
964
- var data = await HttpReset.load('POST', 'rs/sql/manage_getarealist', {
965
- data: {
966
- condition: `1=1 and s.f_orgid = '${this.$login.f.orgid}'`
967
- }
968
- }, {resolveMsg: null, rejectMsg: '获取小区失败!'})
969
- console.log('小区',data)
970
- let house = [{label: '全部', value: ''}]
971
- for (let row of data.data){
972
- house.push({label: row.f_residential_area, value: row.f_residential_area})
973
- }
974
- this.residentialArea = house
975
- },
976
- Fileinput(){
977
- this.batchmoneyShow=true;
978
- },
979
- search(){
980
- this.$refs.paged.$refs.cri.search()
981
- },
982
- cancel() {
983
- this.show = false
984
- },
985
- selfSearch(args) {
986
- if (this.data) {
987
- this.$parent.$parent.$parent.data.startDate=this.$refs.paged.$refs.cri.model.startDate
988
- this.$parent.$parent.$parent.data.endDate=this.$refs.paged.$refs.cri.model.endDate
989
- }
990
- this.area = this.$refs.paged.$refs.cri.model.f_residential_area
991
- if(this.area.length !== 0){
992
- let str = JSON.stringify(this.area)
993
- str = str.replace(/"/g,`'`)
994
- str = str.replace(/\[/g,``)
995
- str = str.replace(/\]/g,``)
996
- //查询多个小区时条件
997
- args.condition += ` and f_residential_area in ( ${str} )`
998
- }
999
- //抄表员查询条件
1000
- this.inputtouPerson = this.$refs.paged.$refs.cri.model.f_inputtor
1001
- if(this.inputtouPerson.length !== 0){
1002
- let str = JSON.stringify(this.inputtouPerson)
1003
- str = str.replace(/"/g,`'`)
1004
- str = str.replace(/\[/g,``)
1005
- str = str.replace(/\]/g,``)
1006
- //查询多个抄表员时条件
1007
- args.condition += ` and f_inputtor in ( ${str} )`
1008
- }
1009
-
1010
- args.condition = `${args.condition} ` + this.orgCondtionStr
1011
- this.model.search(args.condition, args.model)
1012
- this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
1013
- },
1014
- clear() {
1015
- //清空部门和人员
1016
- this.$refs.paged.$refs.cri.$refs.sel.$children[1].selectres = []
1017
- //部门和人员变为全选
1018
- this.$refs.paged.$refs.cri.$refs.sel.$children[1].$children[0].isSelectAll = false
1019
- this.$refs.paged.$refs.cri.$refs.sel.$children[2].$children[0].isSelectAll = false
1020
- Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
1021
- this.$refs.paged.$refs.cri.model[key] = []
1022
- })
1023
- this.$refs.paged.$refs.cri.model.f_meter_classify = []
1024
- },
1025
- show() {
1026
- this.criteriaShow = true
1027
- },
1028
- hidden() {
1029
- this.criteriaShow = !this.criteriaShow
1030
- },
1031
- async getRes(condition,obj) {
1032
- this.orgCondtionStr = condition
1033
-
1034
- },
1035
- stamp() {
1036
- this.all = false
1037
- //默认选择要打印的列
1038
- this.modelval = defaultPrint.config
1039
- this.fields = this.getfield
1040
- this.printshow = true
1041
- this.put()
1042
- },
1043
- put() {
1044
- // 对Modelval进行排序
1045
- this.sortModelval()
1046
- this.thead = `<tr><th colspan=${this.modelval.length}>抄表查询统计报表</th></tr><tr>`
1047
- for (let key of this.modelval) {
1048
- this.thead += '<th>' + this.fields[key] + '</th>'
1049
- }
1050
- this.thead += '</tr>'
1051
- },
1052
- print() {
1053
- this.$refs.print.PrintAsFile()
1054
- this.printshow = false
1055
- },
1056
- dealmsg(val) {
1057
- this.rowdata=val
1058
- this.show=true
1059
- val.model = this.model.model
1060
- this.$dispatch('deal-msg', val)
1061
- },
1062
- close() {
1063
- this.printshow = false
1064
- this.all = false
1065
- },
1066
-
1067
- userTypeChange () {
1068
- this.gasproperties=[]
1069
- if(this.$refs.paged.$refs.cri.model !==null) {
1070
- this.$refs.paged.$refs.cri.model.f_gasproperties=''
1071
- this.gasproperties = this.$appdata.getParam(this.$refs.paged.$refs.cri.model.f_user_type[0])
1072
- }
1073
- else{
1074
- this.gasproperties =[{label: '全部', value: ''}]
1075
- }
1076
- },
1077
- // 对选择的列进行排序
1078
- sortModelval() {
1079
- let sortModel = []
1080
- Object.keys(this.fields).forEach((key) => {
1081
- if (this.modelval.includes(key)) {
1082
- sortModel.push(key)
1083
- }
1084
- })
1085
- this.modelval = sortModel
1086
- }
1087
- },
1088
- watch: {
1089
- 'model.rows'(val) {
1090
- if(val.length === 0){
1091
- this.sumsmodel = {}
1092
- }
1093
- },
1094
- async 'orgCondtionStr'(val) {
1095
- this.$refs.paged.$refs.cri.model.f_inputtor=[]
1096
- this.$refs.paged.$refs.cri.model.f_book_slice_area=[]
1097
- this.$refs.paged.$refs.cri.model.f_meter_book = []
1098
- this.meterbooks = [{label: '全部',value: ''}];
1099
- if(this.lastorgstr != val){
1100
- this.tempfalg = true;
1101
- this.lastorgstr = val;
1102
- }
1103
- if(this.tempfalg && val != null && val!='' && val.indexOf("(")>-1){
1104
- this.tempfalg = false;
1105
- let a = val.substring(val.indexOf("(")+2)
1106
- await this.initmeterbook(a.substring(0,a.indexOf(")")-1));
1107
- }
1108
- let res = val.match(/'(.*?)'/)
1109
- console.log('正则提取:',res && res[1])
1110
- if (res) {
1111
- this.f_filialeid = res[1]
1112
- if(res.input !=null){
1113
- let resorgid = res.input.substring(res.input.indexOf("'"));
1114
- if(resorgid!= null && resorgid!=''){
1115
- resorgid = resorgid.substring(0,resorgid.lastIndexOf("'")+1);
1116
- // resorgid = resorgid.replaceAll("'","");
1117
- resorgid = resorgid.replace(/'/g,"");
1118
- this.allorgid = resorgid.split(",")
1119
- }
1120
- }
1121
- this.updateParams()
1122
- }
1123
- },
1124
- 'all'(val) {
1125
- if (val) {
1126
- this.modelval = this.bodyData
1127
- } else {
1128
- this.modelval = defaultPrint.config
1129
- this.put()
1130
- }
1131
- },
1132
- 'modelval.length'() {
1133
- this.put()
1134
- },
1135
- sumsmodel:{
1136
- handler: function(val) {
1137
- this.getotherfooter();
1138
- },
1139
- deep: true
1140
- }
1141
- },
1142
- computed: {
1143
- payment() {
1144
- return [...this.$appdata.getParam('付款方式查询')]
1145
- },
1146
- authArr () {
1147
- return this.$login.r ? this.$login.r : []
1148
- },
1149
- metertypes() {
1150
- return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('气表类型')]
1151
- },
1152
- banklist() {
1153
- return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('银行名称')]
1154
- },
1155
- getCondition() {
1156
- return {
1157
- startDate: this.$refs.paged.$refs.cri.model.startDate,
1158
- endDate: this.$refs.paged.$refs.cri.model.endDate,
1159
- condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr}
1160
- },
1161
- getfield() {
1162
- return exportConfig.handplanConfig
1163
- },
1164
- getBankfield(){
1165
- return exportConfig.batchBankConfig
1166
- },
1167
- usertypes() {
1168
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]
1169
- },
1170
- accountsState() {
1171
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('下账状态')]
1172
- },
1173
- meterstate() {
1174
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('抄表状态')]
1175
- },
1176
- handstate() {
1177
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('表单状态')]
1178
- },
1179
- // inputtor() {
1180
- // return [{label: '全部', value: ''}, ...this.$appdata.getParam('抄表员')]
1181
- // },
1182
- pricetypes() {
1183
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('气价类型')]
1184
- },
1185
- getPricenames() {
1186
- let f_user_type = this.$refs.paged.$refs.cri.model.f_user_type;
1187
- let f_gasproperties = this.$refs.paged.$refs.cri.model.f_gasproperties;
1188
- let pricetype = this.$refs.paged.$refs.cri.model.pricetype;
1189
- console.log("打印一下:",f_user_type,f_gasproperties,pricetype,this.f_filialeid,this.prices)
1190
- if(this.$refs.paged.$refs.cri.model !==null) {
1191
- let rs = []
1192
- let priceArr = []
1193
- if ( pricetype.length >0) {
1194
- let params = {
1195
- f_price_type: pricetype[0],
1196
- filter: this.f_filialeid,
1197
- prices: this.prices
1198
- }
1199
- this.$MagGetSaleParam.getPrice(params).forEach((item) => {
1200
- let temp = {}
1201
- temp.label = item.label
1202
- temp.value = item.value.f_price_name
1203
- priceArr.push(temp)
1204
- })
1205
- rs = [{label: '全部', value: ''}, ...priceArr]
1206
- }
1207
- if (rs.length === 0) {
1208
- console.log('rs读出来是空')
1209
- this.$refs.paged.$refs.cri.model.f_price_name = ''
1210
- }
1211
- return rs
1212
- }
1213
- },
1214
- inputtor () {
1215
- // 获取抄表员
1216
- console.log('获取抄表员', this.$login.f)
1217
- let rs = []
1218
- if (this.$login.f.f_gasman.length > 0) {
1219
- for (let i = 0; i < this.$login.f.f_gasman.length; i++) {
1220
- let temp = {
1221
- label: this.$login.f.f_gasman[i].name,
1222
- value: this.$login.f.f_gasman[i].name
1223
- }
1224
- rs.push(temp)
1225
- }
1226
- }
1227
-
1228
- return [{label: '全部', value: ''}, ...rs]
1229
- },
1230
- whetherPay() {
1231
- return [{label: '全部', value: ''},{label: '是', value: '是'},{label: '否', value: '否'}]
1232
- },
1233
- },
1234
- events:{
1235
- 'onFileUpload': async function (file, res) {
1236
- let res1=await this.$resetpost('rs/sql/manageSingleTable', {
1237
- data: {
1238
- tablename: 't_singlevalue',
1239
- condition: `f_filialeids = ${this.$login.f.orgid} and name='反盘状态'`
1240
- }},{ resolveMsg: null, rejectMsg: null})
1241
- console.log("看看res1,",res1.data[0])
1242
- if (res1.data[0].value === '导入中') {
1243
- this.$showAlert(`数据正在导入中,请稍后再试`, 'warning', 3000);
1244
- this.batchmoneyShow=false
1245
- return
1246
- }
1247
- debugger
1248
- //更新状态
1249
- let bankreverse={
1250
- id:res1.data[0].id,
1251
- value:'导入中'
1252
- }
1253
- await this.$resetpost('rs/entity/t_singlevalue', bankreverse,{ resolveMsg: null, rejectMsg: null})
1254
-
1255
- //导入逻辑开始
1256
- if (this.batchmoneyShow) {
1257
- this.percent = 0;
1258
- this.getuuid();
1259
- let param = {
1260
- filepath: res.f_downloadpath,
1261
- f_operator: this.$login.f.name,
1262
- f_operatorid: this.$login.f.id,
1263
- f_orgid: this.$login.f.orgid,
1264
- f_orgname: this.$login.f.orgs,
1265
- f_depid: this.$login.f.depids,
1266
- f_depname: this.$login.f.deps,
1267
- uuid: this.uuida,
1268
- id:res1.data[0].id
1269
- }
1270
- this.batchmoneyShow = false;
1271
- try{
1272
- await this.$resetpost('rs/logic/SumSettleFileImport', {data: param}, {
1273
- resolveMsg: null,
1274
- rejectMsg: null
1275
- },1000)
1276
- }catch (e) {
1277
- }
1278
- let getparam = {
1279
- uuid: this.uuida
1280
- }
1281
- let self = this;
1282
- this.progressShow = true;
1283
- this.timer = setInterval(function () {
1284
- self.$resetpost('/rs/logic/getBatchOperaPro', {data: getparam}, {
1285
- resolveMsg: null,
1286
- rejectMsg: null
1287
- }, 0).then((res) => {
1288
- if (res.data) {
1289
- if (res.data.speed) {
1290
- if (res.data.speed >= 100) {
1291
- clearInterval(self.timer);
1292
- if (res.data.speed) {
1293
- self.percent = 99;
1294
- }
1295
- setTimeout(() => {
1296
- self.percent = 100;
1297
- self.progressclose();
1298
- self.$showMessage(`导入成功! 累计导入:${res.data.totalsum}, 成功:${res.data.successsum},失败:${res.data.errorsum}(包含之前导入${res.data.aftersum}),失败数据请在稽查查询中错误查询进行查看!!`);
1299
- }, 600);
1300
- } else {
1301
- self.percent = res.data.speed
1302
- }
1303
- } else {
1304
- self.percent = 0;
1305
- }
1306
- }
1307
- });
1308
- }, 3000);
1309
- }
1310
- }
1311
-
1312
- }
1313
- }
1314
- </script>
1
+ <template>
2
+ <div id="unit" class="flex-row">
3
+ <div class="basic-main" @keyup.enter="search" v-if="!show">
4
+ <div class="flex">
5
+
6
+ <criteria-paged :model="model" v-ref:paged>
7
+ <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
8
+ <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
9
+ <div class="row">
10
+ <res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
11
+
12
+ <div class="span" style="float:right;">
13
+ <button class="button_search button_spacing" @click="search()">查询</button>
14
+ <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
15
+
16
+ <button class="btn btn-default" @click="$parent.$parent.Fileinput()" v-show="$parent.$parent.authArr.includes('送反盘权限')">反盘导入</button>
17
+ <export-excel :data="$parent.$parent.getCondition"
18
+ :field="$parent.$parent.getBankfield" :header="$parent.$parent.other" v-show="$parent.$parent.authArr.includes('送反盘权限')"
19
+ sqlurl="rs/logic/offerexportfile" sql-name="newhandplanQuery_shaoguan" template-name='送盘导出' btn-name="送盘导出"
20
+ :choose-col="true"></export-excel>
21
+ <export-excel :data="$parent.$parent.getCondition" :footer="$parent.$parent.footer"
22
+ :field="$parent.$parent.getfield" :header="$parent.$parent.other"
23
+ sqlurl="rs/logic/exportfile" sql-name="handplanQuery" template-name='抄表查询导出'
24
+ :choose-col="true"></export-excel>
25
+ <print-data :sum-field="$parent.$parent.getfield" :model="$parent.model" :field="$parent.$parent.getfield"
26
+ :defaultfield="$parent.$parent.defaultfield" print-name="抄表查询打印"
27
+ titletable="抄表查询"
28
+ :sumsmodel="$parent.$parent.sumsmodel"></print-data>
29
+
30
+ <div style="float: right" class="button_spacing" :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.hidden()"></div>
31
+ </div>
32
+ </div>
33
+ <div class="row" v-show="$parent.$parent.criteriaShow">
34
+ <div class="col-sm-2 form-group">
35
+ <label for="startDate" class="font_normal_body">录入日期</label>
36
+ <datepicker id="startDate" placeholder="开始日期" style="width:60%"
37
+ v-model="model.startDate"
38
+ :value.sync="model.startDate"
39
+ :format="'yyyy-MM-dd HH:mm:ss'"
40
+ :show-reset-button="true"
41
+ condition="f_input_date >= '{}'">
42
+ </datepicker>
43
+ </div>
44
+ <div class="col-sm-2 form-group">
45
+ <label for="endDate" class="font_normal_body">&nbsp;&nbsp;&nbsp;&nbsp;至&nbsp;&nbsp;&nbsp;&nbsp;&ensp;</label>
46
+ <datepicker id="endDate" placeholder="结束日期" style="width:60%"
47
+ v-model="model.endDate"
48
+ :value.sync="model.endDate"
49
+ :format="'yyyy-MM-dd HH:mm:ss'"
50
+ :show-reset-button="true"
51
+ condition="f_input_date <= '{}'">
52
+ </datepicker>
53
+ </div>
54
+ <div class="col-sm-2 form-group">
55
+ <label class="font_normal_body">客户编号</label>
56
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_userinfo_code"
57
+ condition="f_userinfo_code = '{}' " placeholder="客户编号">
58
+ </div>
59
+ <div class="col-sm-2 form-group">
60
+ <label class="font_normal_body">客户名称</label>
61
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
62
+ condition="f_user_name like '%{}%'" placeholder="客户名称">
63
+ </div>
64
+
65
+ <div class="col-sm-2 form-group">
66
+ <label class="font_normal_body">小区名称</label>
67
+ <v-select :value.sync="model.f_residential_area"
68
+ class="select_list select"
69
+ enter-push
70
+ multiple = "true"
71
+ v-model="model.f_residential_area"
72
+ style="width: 60%"
73
+ :options='$parent.$parent.residentialArea' placeholder='选择小区'
74
+ close-on-select>
75
+
76
+ </v-select>
77
+ </div>
78
+ <div class="col-sm-2 form-group">
79
+ <label class="font_normal_body">楼&emsp;栋&emsp;</label>
80
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_building"
81
+ condition="f_building like '%{}%'" placeholder="楼栋">
82
+ </div>
83
+ <div class="col-sm-2 form-group">
84
+ <label class="font_normal_body">客户地址</label>
85
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_address"
86
+ condition="f_address like '%{}%'" placeholder='客户地址'>
87
+ </div>
88
+ <div class="col-sm-2 form-group">
89
+ <label class="font_normal_body">抄表状态</label>
90
+ <v-select :value.sync="model.f_meter_state"
91
+ v-model="model.f_meter_state"
92
+ :options='$parent.$parent.meterstate' placeholder='请选择'
93
+ condition="f_meter_state = '{}'"
94
+ close-on-select></v-select>
95
+ </div>
96
+ <div class="col-sm-2 form-group">
97
+ <label class="font_normal_body">表单状态</label>
98
+ <v-select :value.sync="model.f_hand_state"
99
+ v-model="model.f_hand_state"
100
+ :options='$parent.$parent.handstate' placeholder='请选择'
101
+ condition="f_hand_state = '{}'"
102
+ close-on-select></v-select>
103
+ </div>
104
+ <div class="col-sm-2 form-group">
105
+ <label class="font_normal_body">录入人员</label>
106
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_input_person"
107
+ condition="f_input_person like '%{}%'" placeholder='录入人员'>
108
+ </div>
109
+ <div class="col-sm-2 form-group">
110
+ <label class="font_normal_body">是否缴费</label>
111
+ <v-select :value.sync="model.f_whether_pay"
112
+ v-model="model.f_whether_pay"
113
+ :options='$parent.$parent.whetherPay' placeholder='请选择'
114
+ condition="f_whether_pay = '{}'"
115
+ close-on-select></v-select>
116
+ </div>
117
+ <div class="col-sm-2 form-group">
118
+ <label class="font_normal_body" >收款方式</label>
119
+ <v-select :value.sync="model.f_payment" multiple
120
+ v-model="model.f_payment"
121
+ :options='$parent.$parent.dypayment' placeholder='请选择'
122
+ condition="f_dypayment in {}"
123
+ close-on-select></v-select>
124
+ </div>
125
+ <div class="col-sm-2 form-group">
126
+ <label class="font_normal_body">&ensp;壁挂炉&ensp;</label>
127
+ <v-select :value.sync="model.f_bgl"
128
+ v-model="model.f_bgl"
129
+ :options='$parent.$parent.bgl' placeholder='请选择'
130
+ condition="f_bgl = '{}'"
131
+ close-on-select></v-select>
132
+ </div>
133
+ <div class="col-sm-2 form-group">
134
+ <label class="font_normal_body">客户类型</label>
135
+ <v-select :value.sync="model.f_user_type"
136
+ @change="$parent.$parent.userTypeChange()"
137
+ :options='$parent.$parent.usertypes' placeholder='请选择' v-model="model.f_user_type"
138
+ condition="f_user_type = '{}'"
139
+ close-on-select></v-select>
140
+ </div>
141
+ <div class="col-sm-2 form-group">
142
+ <label class="font_normal_body">用气性质</label>
143
+ <v-select :value.sync="model.f_gasproperties" v-model="model.f_gasproperties"
144
+ :options='$parent.$parent.gasproperties' placeholder='请选择'
145
+ condition="f_gasproperties = '{}'"
146
+ close-on-select></v-select>
147
+ </div>
148
+ <div class="col-sm-2 form-group">
149
+ <label class="font_normal_body">气价类型</label>
150
+ <v-select :value.sync="model.pricetype" v-model="model.pricetype"
151
+ placeholder='气价类型' :options="$parent.$parent.pricetypes"
152
+ close-on-select v-ref:type>
153
+ </v-select>
154
+ </div>
155
+ <div class="col-sm-2 form-group">
156
+ <label class="font_normal_body">气价名称</label>
157
+ <v-select :value.sync="model.f_price_name"
158
+ v-model="model.f_price_name"
159
+ :options="$parent.$parent.getPricenames"
160
+ condition="f_price_name = '{}'"
161
+ close-on-select></v-select>
162
+ </div>
163
+ <div class="col-sm-2 form-group">
164
+ <label class="font_normal_body">下账状态</label>
165
+ <v-select :value.sync="model.f_accounts_state"
166
+ :options='$parent.$parent.accountsState' placeholder='请选择' v-model="model.f_accounts_state"
167
+ condition="f_accounts_state = '{}'"
168
+ close-on-select></v-select>
169
+ </div>
170
+ <div class="col-sm-2 form-group">
171
+ <label class="font_normal_body">气表类型</label>
172
+ <v-select :value.sync="model.f_meter_classify" multiple
173
+ :options='$parent.$parent.metertypes' placeholder='请选择' v-model="model.f_meter_classify"
174
+ condition="f_meter_classify in {}"
175
+ close-on-select></v-select>
176
+ </div>
177
+ <div class="col-sm-2 form-group">
178
+ <label class="font_normal_body">气表品牌</label>
179
+ <v-select :value.sync="model.f_meter_brand" multiple
180
+ v-model="model.f_meter_brand"
181
+ :options='$parent.$parent.meterbrands' placeholder='请选择'
182
+ condition="f_meter_brand in {}"
183
+ close-on-select></v-select>
184
+ </div>
185
+ <div class="col-sm-2 form-group">
186
+ <label class="font_normal_body">用&ensp;气&ensp;量</label>
187
+ <input type="text" style="width:30%" class="input_search" title="大于等于"
188
+ v-model="model.f_oughtamount_big" condition="f_oughtamount >= {}" placeholder='大于等于'>
189
+ <input type="text" style="width:30%" class="input_search" title="小于等于"
190
+ v-model="model.f_oughtamount_small" condition="f_oughtamount <= {}" placeholder='小于等于'>
191
+ </div>
192
+ <!-- <div class="col-sm-2 form-group">-->
193
+ <!-- <label class="font_normal_body">气价名称</label>-->
194
+ <!-- <v-select :value.sync="model.f_price_name" v-model="model.f_price_name" :options="$parent.$parent.prices"-->
195
+ <!-- condition="f_price_name = '{}'" close-on-select></v-select>-->
196
+ <!-- </div>-->
197
+ <div class="col-sm-2 form-group">
198
+ <label class="font_normal_body">&ensp;表&ensp;号&ensp;&ensp;</label>
199
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_meternumber"
200
+ condition="f_meternumber = '{}' " placeholder="表号">
201
+ </div>
202
+ <div class="col-sm-2 form-group">
203
+ <label for="startDate" class="font_normal_body">下发日期</label>
204
+ <datepicker id="handStartDate" placeholder="开始日期" style="width:60%"
205
+ v-model="model.handStartDate"
206
+ :value.sync="model.handStartDate"
207
+ :format="'yyyy-MM-dd 00:00:00'"
208
+ :show-reset-button="true"
209
+ condition="f_hand_date >= '{}'">
210
+ </datepicker>
211
+ </div>
212
+ <div class="col-sm-2 form-group">
213
+ <label for="endDate" class="font_normal_body">&nbsp;&nbsp;&nbsp;&nbsp;至&nbsp;&nbsp;&nbsp;&nbsp;</label>
214
+ <datepicker id="handEndDate" placeholder="结束日期" style="width:60%"
215
+ v-model="model.handEndDate"
216
+ :value.sync="model.handEndDate"
217
+ :format="'yyyy-MM-dd 23:59:59'"
218
+ :show-reset-button="true"
219
+ condition="f_hand_date <= '{}'">
220
+ </datepicker>
221
+ </div>
222
+ <div class="col-sm-2 form-group">
223
+ <label class="font_normal_body" >抄&nbsp;&nbsp;表&nbsp;员</label>
224
+ <v-select :value.sync="model.f_inputtor"
225
+ v-model="model.f_inputtor"
226
+ :options='$parent.$parent.inputtores' placeholder='请选择'
227
+ condition="f_inputtor = '{}'"
228
+ close-on-select :search="false">
229
+ </v-select>
230
+ </div>
231
+ <!--表册片区-->
232
+ <div class="col-sm-2 form-group">
233
+ <label class="font_normal_body">表册片区</label>
234
+ <v-select :value.sync="model.f_book_slice_area" v-model="model.f_book_slice_area"
235
+ @change="$parent.$parent.inputtorchange"
236
+ :options='$parent.$parent.bookSlice' placeholder='片区/表册'
237
+ style="width:60%"
238
+ close-on-select
239
+ condition="f_book_slice_area = '{}'"></v-select>
240
+ </div>
241
+ <div class="col-sm-2 form-group">
242
+ <label class="font_normal_body">抄&ensp;表&ensp;册</label>
243
+ <v-select :value.sync="model.f_meter_book" v-model="model.f_meter_book"
244
+ :options='$parent.$parent.meterbooks' placeholder='抄表册'
245
+ style="width:60%"
246
+ close-on-select
247
+ condition="f_meter_book_num = '{}'"></v-select>
248
+ </div>
249
+ <div class="col-sm-2 form-group" >
250
+ <label for="belongmonth" class="font_normal_body" >所属年月</label>
251
+ <datepicker placeholder="所属年月" style="width:60%"
252
+ v-model="model.belongmonth"
253
+ :value.sync="model.belongmonth"
254
+ :format="'yyyy-MM'"
255
+ :show-reset-button="true"
256
+ condition="belongmonth = '{}'"
257
+ :select-month="true">
258
+ </datepicker>
259
+ </div>
260
+ <div class="col-sm-2 form-group">
261
+ <label class="font_normal_body">银行名称</label>
262
+ <v-select :value.sync="model.f_bank_name" v-model="model.f_bank_name"
263
+ :options='$parent.$parent.banklist' placeholder='银行名称'
264
+ style="width:60%"
265
+ close-on-select
266
+ condition="f_bank_name = '{}'"></v-select>
267
+ </div>
268
+ <div class="col-sm-2 form-group">
269
+ <label for="startDate" class="font_normal_body">收费日期</label>
270
+ <datepicker id="handStartDate" placeholder="开始日期" style="width:60%"
271
+ v-model="model.sellStartDate"
272
+ :value.sync="model.sellStartDate"
273
+ :format="'yyyy-MM-dd 00:00:00'"
274
+ :show-reset-button="true"
275
+ condition="f_sellinggas_operate_date >= '{}'">
276
+ </datepicker>
277
+ </div>
278
+ <div class="col-sm-2 form-group">
279
+ <label for="endDate" class="font_normal_body">&nbsp;&nbsp;&nbsp;&nbsp;至&nbsp;&nbsp;&nbsp;&nbsp;</label>
280
+ <datepicker id="handEndDate" placeholder="结束日期" style="width:60%"
281
+ v-model="model.sellEndDate"
282
+ :value.sync="model.sellEndDate"
283
+ :format="'yyyy-MM-dd 23:59:59'"
284
+ :show-reset-button="true"
285
+ condition="f_sellinggas_operate_date <= '{}'">
286
+ </datepicker>
287
+ </div>
288
+ </div>
289
+ </div>
290
+ </criteria>
291
+
292
+ <data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid :classname="$parent.classname">
293
+ <template partial='head'>
294
+ <tr>
295
+ <th>
296
+ <nobr>客户编号</nobr>
297
+ </th>
298
+ <th>
299
+ <nobr>客户名称</nobr>
300
+ </th>
301
+ <th>
302
+ <nobr>片区</nobr>
303
+ </th>
304
+ <th>
305
+ <nobr>小区</nobr>
306
+ </th>
307
+ <th>
308
+ <nobr>表册片区</nobr>
309
+ </th>
310
+ <th>
311
+ <nobr>客户地址</nobr>
312
+ </th>
313
+ <th>
314
+ <nobr>客户手机</nobr>
315
+ </th>
316
+ <th>
317
+ <nobr>表号</nobr>
318
+ </th>
319
+ <th>
320
+ <nobr>数据年月</nobr>
321
+ </th>
322
+ <th>
323
+ <nobr>上期底数</nobr>
324
+ </th>
325
+ <th>
326
+ <nobr>本期底数</nobr>
327
+ </th>
328
+ <th>
329
+ <nobr>用气量</nobr>
330
+ </th>
331
+ <th>
332
+ <nobr>滞纳金</nobr>
333
+ </th>
334
+ <th>
335
+ <nobr>用气金额</nobr>
336
+ </th>
337
+ <th>
338
+ <nobr>已交金额</nobr>
339
+ </th>
340
+ <th>
341
+ <nobr>优惠金额</nobr>
342
+ </th>
343
+ <th>
344
+ <nobr>上期余额</nobr>
345
+ </th>
346
+ <th>
347
+ <nobr>本期余额</nobr>
348
+ </th>
349
+ <th>
350
+ <nobr>下账状态</nobr>
351
+ </th>
352
+ <th>
353
+ <nobr>收费时间</nobr>
354
+ </th>
355
+ <th>
356
+ <nobr>收费人员</nobr>
357
+ </th>
358
+ <th>
359
+ <nobr>冲正时间</nobr>
360
+ </th>
361
+ <th>
362
+ <nobr>冲正人员</nobr>
363
+ </th>
364
+ <th>
365
+ <nobr>下发日期</nobr>
366
+ </th>
367
+ <th>
368
+ <nobr>所属年月</nobr>
369
+ </th>
370
+ <th>
371
+ <nobr>录入日期</nobr>
372
+ </th>
373
+ <th>
374
+ <nobr>气价名称</nobr>
375
+ </th>
376
+ <th>
377
+ <nobr>一阶气量</nobr>
378
+ </th>
379
+ <th>
380
+ <nobr>一阶单价</nobr>
381
+ </th>
382
+ <th>
383
+ <nobr>一阶气费</nobr>
384
+ </th>
385
+ <th>
386
+ <nobr>二阶气量</nobr>
387
+ </th>
388
+ <th>
389
+ <nobr>二阶单价</nobr>
390
+ </th>
391
+ <th>
392
+ <nobr>二阶气费</nobr>
393
+ </th>
394
+ <th>
395
+ <nobr>三阶气量</nobr>
396
+ </th>
397
+ <th>
398
+ <nobr>三阶单价</nobr>
399
+ </th>
400
+ <th>
401
+ <nobr>三阶气费</nobr>
402
+ </th>
403
+ <th>
404
+ <nobr>天数</nobr>
405
+ </th>
406
+ <th>
407
+ <nobr>抄表员</nobr>
408
+ </th>
409
+ <th>
410
+ <nobr>录入人员</nobr>
411
+ </th>
412
+ <th>
413
+ <nobr>是否缴费</nobr>
414
+ </th>
415
+
416
+ <th>
417
+ <nobr>抄表状态</nobr>
418
+ </th>
419
+ <th>
420
+ <nobr>状态</nobr>
421
+ </th>
422
+ <th>
423
+ <nobr>下发人员</nobr>
424
+ </th>
425
+ <th>
426
+ <nobr>部门</nobr>
427
+ </th>
428
+ <th>
429
+ <nobr>公司</nobr>
430
+ </th>
431
+ <th><nobr>附件</nobr></th>
432
+ </tr>
433
+ </template>
434
+ <template partial='body'>
435
+ <td style="text-align: center;">
436
+ <nobr>
437
+ <span @click="$parent.$parent.$parent.dealmsg(row)"><a>{{row.f_userinfo_code}}</a></span></nobr>
438
+ </td>
439
+ <td style="text-align: center;">
440
+ <nobr>{{row.f_user_name}}</nobr>
441
+ </td>
442
+ <td style="text-align: center;">
443
+ <nobr>{{row.f_zones}}</nobr>
444
+ </td>
445
+ <td style="text-align: center;">
446
+ <nobr>{{row.f_residential_area}}</nobr>
447
+ </td>
448
+ <td style="text-align: center;">
449
+ <nobr>{{row.f_book_slice_area}}</nobr>
450
+ </td>
451
+ <td style="text-align: center;">
452
+ <nobr>{{row.f_address}}</nobr>
453
+ </td>
454
+
455
+ <td style="text-align: center;">
456
+ <nobr>{{row.phone}}</nobr>
457
+ </td>
458
+ <td style="text-align: center;">
459
+ <nobr>{{row.f_meternumber}}</nobr>
460
+ </td>
461
+ <td style="text-align: center;">
462
+ <nobr>{{row.ym_data}}</nobr>
463
+ </td>
464
+ <td style="text-align: center;">
465
+ <nobr>{{row.f_last_tablebase}}</nobr>
466
+ </td>
467
+ <td style="text-align: center;">
468
+ <nobr>{{row.f_tablebase}}</nobr>
469
+ </td>
470
+ <td style="text-align: center;">
471
+ <nobr>{{row.f_oughtamount}}</nobr>
472
+ </td>
473
+ <td style="text-align: center;">
474
+ <nobr>{{row.overdue}}</nobr>
475
+ </td>
476
+ <td style="text-align: center;">
477
+ <nobr>{{row.f_oughtfee}}</nobr>
478
+ </td>
479
+ <td style="text-align: center;">
480
+ <nobr>{{row.f_debt_money}}</nobr>
481
+ </td>
482
+ <td style="text-align: center;">
483
+ <nobr>{{row.f_privilege_money}}</nobr>
484
+ </td>
485
+ <td style="text-align: center;">
486
+ <nobr>{{row.f_balance}}</nobr>
487
+ </td>
488
+ <td style="text-align: center;">
489
+ <nobr>{{row.f_curbalance}}</nobr>
490
+ </td>
491
+ <td style="text-align: center;">
492
+ <nobr>{{row.f_accounts_state}}</nobr>
493
+ </td>
494
+ <td style="text-align: center;">
495
+ <nobr>{{row.f_sellinggas_operate_date}}</nobr>
496
+ </td>
497
+ <td style="text-align: center;">
498
+ <nobr>{{row.f_sell_operator}}</nobr>
499
+ </td>
500
+ <td style="text-align: center;">
501
+ <nobr>{{row.f_corrhand_date}}</nobr>
502
+ </td>
503
+ <td style="text-align: center;">
504
+ <nobr>{{row.f_corrhand_operator}}</nobr>
505
+ </td>
506
+ <td style="text-align: center;">
507
+ <nobr>{{row.f_hand_date}}</nobr>
508
+ </td>
509
+ <td>
510
+ <nobr>{{row.belongmonth}}</nobr>
511
+ </td>
512
+ <td style="text-align: center;">
513
+ <nobr>{{row.f_input_date}}</nobr>
514
+ </td>
515
+ <td style="text-align: center;">
516
+ <nobr>{{row.f_price_name}}</nobr>
517
+ </td>
518
+ <td style="text-align: center;">
519
+ <nobr>{{row.f_stair1amount}}</nobr>
520
+ </td>
521
+ <td style="text-align: center;">
522
+ <nobr>{{row.f_stair1price}}</nobr>
523
+ </td>
524
+ <td style="text-align: center;">
525
+ <nobr>{{row.f_stair1fee}}</nobr>
526
+ </td>
527
+ <td style="text-align: center;">
528
+ <nobr>{{row.f_stair2amount}}</nobr>
529
+ </td>
530
+ <td style="text-align: center;">
531
+ <nobr>{{row.f_stair2price}}</nobr>
532
+ </td>
533
+ <td style="text-align: center;">
534
+ <nobr>{{row.f_stair2fee}}</nobr>
535
+ </td>
536
+ <td style="text-align: center;">
537
+ <nobr>{{row.f_stair3amount}}</nobr>
538
+ </td>
539
+ <td style="text-align: center;">
540
+ <nobr>{{row.f_stair3price}}</nobr>
541
+ </td>
542
+ <td style="text-align: center;">
543
+ <nobr>{{row.f_stair3fee}}</nobr>
544
+ </td>
545
+ <td style="text-align: center;">
546
+ <nobr>{{row.dd}}</nobr>
547
+ </td>
548
+ <td style="text-align: center;">
549
+ <nobr>{{row.f_inputtor}}</nobr>
550
+ </td>
551
+ <td style="text-align: center;">
552
+ <nobr>{{row.f_input_person}}</nobr>
553
+ </td>
554
+ <td style="text-align: center;">
555
+ <nobr>{{row.f_whether_pay}}</nobr>
556
+ </td>
557
+
558
+ <td style="text-align: center;">
559
+ <nobr>{{row.f_meter_state}}</nobr>
560
+ </td>
561
+ <td style="text-align: center;">
562
+ <nobr>{{row.f_hand_state}}</nobr>
563
+ </td>
564
+ <td style="text-align: center;">
565
+ <nobr>{{row.f_operator}}</nobr>
566
+ </td>
567
+ <td style="text-align: center;">
568
+ <nobr>{{row.f_depname}}</nobr>
569
+ </td>
570
+ <td style="text-align: center;">
571
+ <nobr>{{row.f_orgname}}</nobr>
572
+ </td>
573
+ <td style="text-align: center;"><nobr>
574
+ <button class="button_search button_spacing width-60" @click.stop="$parent.$parent.$parent.view(row)">查看</button>
575
+ <button v-if="row.f_notified_path" class="button_search button_spacing width-60" @click.stop="$parent.$parent.$parent.imgShow(row.f_notified_path)">图像识别</button>
576
+ </nobr></td>
577
+ </template>
578
+ <template partial='foot'></template>
579
+ </data-grid>
580
+ </criteria-paged>
581
+
582
+ <table class="table-hover">
583
+ <tr style="position: relative;margin-top: -16px;" class="table-bordered">
584
+ <td
585
+ style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">
586
+ 汇总信息
587
+ </td>
588
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
589
+ 用气量合计:&emsp;{{sumsmodel.f_oughtamount}}
590
+ </td>
591
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
592
+ 气费合计:&emsp;{{sumsmodel.f_oughtfee}}
593
+ </td>
594
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
595
+ 一阶气量合计:&emsp;{{sumsmodel.f_stair1amount}}
596
+ </td>
597
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
598
+ 一阶气费合计:&emsp;{{sumsmodel.f_stair1fee}}
599
+ </td>
600
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
601
+ 二阶气量合计:&emsp;{{sumsmodel.f_stair2amount}}
602
+ </td>
603
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
604
+ 二阶气费合计:&emsp;{{sumsmodel.f_stair2fee}}
605
+ </td>
606
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
607
+ 三阶气量合计:&emsp;{{sumsmodel.f_stair3amount}}
608
+ </td>
609
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
610
+ 三阶气费合计:&emsp;{{sumsmodel.f_stair3fee}}
611
+ </td>
612
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
613
+ 剩余气量合计:&emsp;{{sumsmodel.f_surplus_gas}}
614
+ </td>
615
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
616
+ 扣减气量合计:&emsp;{{sumsmodel.f_haircut_gas}}
617
+ </td>
618
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
619
+ 应交气量合计:&emsp;{{sumsmodel.f_oughtamount}}
620
+ </td>
621
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
622
+ 已交气量合计:&emsp;{{sumsmodel.alloughtfee}}
623
+ </td>
624
+ </tr>
625
+ </table>
626
+ </div>
627
+ <modal :show.sync="batchmoneyShow" width="500px" title="反盘导入" v-ref:modal large backdrop="false">
628
+ <article slot="modal-body" class="modal-body">
629
+ <file-upload class="my-file-uploader" name="useraddressUploadFile" action="rs/file/uploadFile" tagname="确定" multiple v-ref:file></file-upload>
630
+ </article>
631
+ <footer slot="modal-footer" class="modal-footer">
632
+ </footer>
633
+ </modal>
634
+ </div>
635
+ <div class="flex" v-if="show">
636
+ <user-info-detail-manage-new :f_userinfo_id="rowdata.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage-new>
637
+ </div>
638
+ <modal :show.sync="showupload" v-if="showupload" width="80%" style="width:auto;" v-ref:modal middle backdrop="false">
639
+ <article slot="modal-body">
640
+ <upload :blodid="selected.f_userinfo_id" :businessid="selected.id" v-ref:upload isupload="false" takeimg="false" fusetype="机表抄表" :isremark="false" style="width:auto" ></upload>
641
+ </article>
642
+ <footer slot="modal-footer" class="modal-footer">
643
+ </footer>
644
+ </modal>
645
+ <modal :show.sync="imgshow" v-ref:modal backdrop="true">
646
+ <header slot="modal-header" class="modal-header">
647
+ 抄表图像识别照片
648
+ </header>
649
+ <article slot="modal-body" class="modal-body">
650
+ <div class="from-group">
651
+ <img-self :src="imgfilename" width="500" height="500"></img-self>
652
+ </div>
653
+ </article>
654
+ </modal>
655
+
656
+ <modal :show.sync="progressShow" v-ref:modal backdrop="true" width="50%" style="width:auto;" >
657
+ <header slot="modal-header" class="modal-header">
658
+ 反盘导入
659
+ </header>
660
+ <article slot="modal-body" class="modal-body">
661
+ <div class="progress" style="margin: 20px" >
662
+ <div class="progress-bar progress-bar-success progress-bar-striped active" :style="{width: percent+'%'}">
663
+ {{percent}}%
664
+ </div>
665
+ </div>
666
+ </article>
667
+ <footer slot="modal-footer" class="modal-footer">
668
+ <button type="button" class="btn btn-default" @click='progressclose'>关闭</button>
669
+ </footer>
670
+ </modal>
671
+ <work-busy :is-busy="iswork" v-show="iswork"></work-busy>
672
+ </div>
673
+ </template>
674
+
675
+ <script>
676
+ import {PagedList, HttpResetClass} from 'vue-client'
677
+ import defaultPrint from './config/DefaultPrint'
678
+ import exportConfig from './config/exportConfig'
679
+ import axios from 'axios'
680
+
681
+ let readySomething = async function (self) {
682
+ //加载抄表册
683
+ self.$MagGetSaleParam.initinputtor();
684
+ self.getinputtores();
685
+ self.initmeterbook();
686
+ // await self.$LoadParams.loadMeterBook(self.f_filialeid)
687
+ // self.loadMeterBooks()
688
+ self.$refs.paged.$refs.cri.model.startDate = self.data ? self.data.startDate : self.$login.toStandardDateString() + ' 00:00:00'
689
+ self.$refs.paged.$refs.cri.model.endDate = self.data ? self.data.endDate : self.$login.toStandardDateString() + ' 23:59:59'
690
+ // self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString() + ' 00:00:00'
691
+ // self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString() + ' 23:59:59'
692
+ // await self.$refs.paged.$refs.cri.search()
693
+ await self.$getConfig(self, 'HandplanQuery')
694
+ self.defaultfield = [...self.defaultfield, ...self.config.defaultPrint]
695
+ await self.$MagLoadParams.loadParam()
696
+ // await self.$MagLoadParams.loadParam()
697
+ self.initParams()
698
+ console.log('开始查询')
699
+ self.sumsmodel = self.$refs.paged.$refs.grid.model.sums
700
+ }
701
+ export default {
702
+ props:['data'],
703
+ title: '机表抄表查询',
704
+ data() {
705
+ return {
706
+ iswork:false,
707
+ other:[],
708
+ footer:[],
709
+ data: {},
710
+ model: new PagedList('rs/sql/handplanQuery', 20, {}, {
711
+ f_oughtamount: 0,
712
+ f_oughtfee: 0,
713
+ f_stair1amount: 0,
714
+ f_stair1fee: 0,
715
+ f_stair2amount: 0,
716
+ f_stair2fee: 0,
717
+ f_stair3amount: 0,
718
+ f_stair3fee: 0,
719
+ f_surplus_gas: 0,
720
+ f_haircut_gas: 0,
721
+ alloughtfee:0
722
+ }),
723
+ initres: {
724
+ org:[this.$login.f.orgid],
725
+ dep:[],
726
+ user:[],
727
+ },
728
+ show:false,
729
+ rowdata:{},
730
+ criteriaShow: false,
731
+ residentialArea: [],
732
+ orgCondtionStr: '',
733
+ modelval: [],
734
+ gasproperties:[],
735
+ inputtouPerson: [],
736
+ meterbrands: [],
737
+ printshow: false,
738
+ f_filialeid: this.$login.f.f_orgid,
739
+ all: false,
740
+ fields: {},
741
+ thead: '',
742
+ tfoot: '',
743
+ showupload:false,
744
+ selected:{},
745
+
746
+ // 下拉框
747
+
748
+ //合计数据
749
+ sumsmodel: {},
750
+ defaultfield: [],
751
+ config: {
752
+ defaultPrint: ['f_userinfo_code', 'f_address', 'f_user_name', 'f_meternumber']
753
+ },
754
+ dypayment:[{label:"全部",value:""},{label:"银行代扣",value:"银行代扣",},{label:"现金缴费",value:"现金缴费"}],
755
+ batchmoneyShow:false,
756
+ prices: [],
757
+ bgl:[{label: '全部', value: ''},{label: '有', value: '1'},{label: '无', value: '0'}],
758
+ meterbooks:[{label: '全部',value: ''}], //抄表册
759
+ tempfalg :false,
760
+ lastorgstr:'',
761
+ allorgid:[],
762
+ inputtores:[{label: '全部',value: ''}], //抄表员
763
+ //表册片区
764
+ bookSlice:[{label: '全部',value: ''}],
765
+ imgshow:false,
766
+ imgfilename:'',
767
+ percent:0,
768
+ progressShow:false,
769
+ uuida:'',
770
+ timer:'',
771
+ }
772
+ },
773
+ ready() {
774
+ this.getaddress()
775
+ readySomething(this).then(() => {
776
+ this.$emit('ready')
777
+ }).catch((error) => {
778
+ this.$emit('error', error)
779
+ })
780
+ },
781
+ methods: {
782
+ getuuid(){
783
+ let uuidA = '';
784
+ var s = [];
785
+ var hexDigits = '0123456789abcdef';
786
+ for (var i = 0; i < 36; i++) {
787
+ s[i] = hexDigits.substr(Math.floor(Math.random() * 0x10), 1);
788
+ }
789
+ s[14] = '4';
790
+ s[19] = hexDigits.substr((s[19] & 0x3) | 0x8, 1);
791
+ s[8] = s[13] = s[18] = s[23] = '-';
792
+ uuidA = s.join('');
793
+ this.uuida = uuidA;
794
+ },
795
+ progressclose(){
796
+ this.progressShow = false;
797
+ if(this.timer != null){
798
+ clearInterval(this.timer);
799
+ }
800
+ },
801
+ async initmeterbook(orgstr){
802
+ if(orgstr == null ){
803
+ orgstr = this.f_filialeid;
804
+ }
805
+ //获取新的抄表册,先去清理所有的抄表册
806
+ this.$GetSaleParam.meterbooks = [];
807
+ //开始加载新的抄表册
808
+ await this.$LoadParams.loadMeterBook(orgstr)
809
+ this.meterbooks = [{label: '全部', value: ''}, ...this.$GetSaleParam.getMeterBooks()]
810
+ },
811
+ //初始化片区
812
+ async initSlice (val) {
813
+ if (val) {
814
+ let getAllArea = await this.$resetpost('/rs/search', {
815
+ source: 'this.getParentByType($organization$).getAllChildrens().where(row.getType() == $zone$)',
816
+ userid: this.$login.f.id
817
+ }, {resolveMsg: null, rejectMsg: '获取片区出错!!!'})
818
+ let arr = getAllArea.data.filter((res) => {
819
+ return res.parentid == val
820
+ })
821
+ this.bookSlice = []
822
+ arr.forEach((res) => {
823
+ this.bookSlice.push({label: res.name, value: res.name})
824
+ })
825
+ }
826
+ },
827
+ //表册片区和抄表册关联
828
+ async inputtorchange(){
829
+ this.$set('$refs.paged.$refs.cri.model.f_meter_book',[]);
830
+ /*let val1=this.$refs.paged.$refs.cri.model.f_meter_book*/
831
+ let val2=this.$refs.paged.$refs.cri.model.f_book_slice_area
832
+ if((val2.length>0)){
833
+ let condition = ` 1=1 and f_orgid ='${this.f_filialeid}' and f_book_state='有效' `
834
+ /*if (val1[0]){
835
+ condition = condition+ ` and f_meter_book = '${val1[0]}' `
836
+ }*/
837
+ if(val2[0]) {
838
+ condition = condition + ` and f_book_slice_area = '${val2}' `
839
+ }
840
+ let param={
841
+ items:'*',
842
+ tablename:'t_meter_book',
843
+ condition:condition,
844
+ orderitem:'id'
845
+ }
846
+ let getMeterBooks = await this.$resetpost('rs/sql/singleTable_OrderBy', {data: param}, {resolveMsg: null, rejectMsg: '获取营收参数出错!!!'})
847
+ if (getMeterBooks.data) {
848
+ if(getMeterBooks.data.length >0){
849
+ let rs = [];
850
+ getMeterBooks.data.forEach((item)=>{
851
+ let temp = {
852
+ label:item.f_book_name,
853
+ value:item.id
854
+ };
855
+ rs.push(temp);
856
+
857
+ })
858
+ this.meterbooks = [{label: '全部',value: ''}, ...rs];
859
+ }else{
860
+ this.meterbooks = [{label: '全部',value: ''}];
861
+ }
862
+ }
863
+ }else{
864
+ this.meterbooks = [{label: '全部',value: ''}];
865
+ this.initmeterbook();
866
+ }
867
+ },
868
+ async initmeterbook(orgstr){
869
+ if(orgstr == null ){
870
+ orgstr = this.f_filialeid;
871
+ }
872
+ //获取新的抄表册,先去清理所有的抄表册
873
+ this.$GetSaleParam.meterbooks = [];
874
+ //开始加载新的抄表册
875
+ await this.$LoadParams.loadMeterBook(orgstr)
876
+ this.meterbooks = [{label: '全部', value: ''}, ...this.$GetSaleParam.getMeterBooks()]
877
+ },
878
+
879
+ async getinputtores () {
880
+ // 获取抄表员
881
+ let rs = []
882
+ if (this.$login.f.f_gasman.length > 0) {
883
+ for (let i = 0; i < this.$login.f.f_gasman.length; i++) {
884
+ let temp = {
885
+ label: this.$login.f.f_gasman[i].name,
886
+ value: this.$login.f.f_gasman[i].name
887
+ }
888
+ rs.push(temp)
889
+ }
890
+ }
891
+ this.inputtores = [{label: '全部', value: ''}, ...rs]
892
+ this.inputtores.push({label: "微信公众号", value: "微信公众号"})
893
+ },
894
+ async updateParams() {
895
+ await this.$MagLoadParams.loadParam(this.f_filialeid)
896
+ this.inputtores = [];
897
+ this.inputtores.push({label: "全部", value: ""})
898
+ this.initSlice(this.f_filialeid)
899
+ if(this.allorgid!=null){
900
+ this.allorgid.forEach((res)=>{
901
+ this.inputtores = this.inputtores.concat(this.$MagGetSaleParam.getresinputtor(res));
902
+ })
903
+ }
904
+ this.initParams()
905
+ },
906
+ view(row){
907
+ this.showupload = true
908
+ this.selected= row
909
+ },
910
+ imgclose(){
911
+ this.imgshow = false
912
+ },
913
+ imgShow(val){
914
+ this.imgfilename = `rs/image/file/`+val
915
+ this.imgshow = true
916
+ },
917
+ initParams() {
918
+ // 初始化气表品牌
919
+ let brandArr = []
920
+ this.$MagGetSaleParam.getGasbrand().forEach((item) => {
921
+ let temp = {}
922
+ temp.label = item.label
923
+ temp.value = item.value.f_meter_brand
924
+ brandArr.push(temp)
925
+ })
926
+ this.meterbrands = [{label: '全部', value: ''}, ...brandArr]
927
+ //初始化气价
928
+ let result = []
929
+ this.$MagGetSaleParam.prices.forEach((item) => {
930
+ if (item.f_state === '有效' && this.$login.f.orgid == item.f_filialeid) {
931
+ let value = {
932
+ label: item.f_price_name,
933
+ value: item.f_price_name
934
+ }
935
+ result.push(value)
936
+ }
937
+ })
938
+ let hash = {}
939
+ result = result.reduce((item, next) => {
940
+ hash[next.label] ? '' : hash[next.label] = true && item.push(next)
941
+ return item
942
+ }, [])
943
+ this.prices = Array.from(new Set(result))
944
+ },
945
+ getotherfooter(){
946
+ // this.$refs.paged.$refs.cri.$refs.exports.otherData=[];
947
+ // this.$refs.paged.$refs.cri.$refs.exports.footerData=[];
948
+ this.other=[];
949
+ this.footer=[];
950
+ let exportdata = this.getCondition;
951
+ let otherInData=[];
952
+ otherInData.push(`导出时间: ${this.$login.toStandardTimeString()}`);
953
+ let footerData=[],exportfield=this.getfield;
954
+ footerData.push("合计");
955
+ let self = this;
956
+ for(var field in self.sumsmodel){
957
+ footerData.push(`${exportfield[field]}合计:${self.sumsmodel[field]}`);
958
+ }
959
+ this.footer.push(footerData);
960
+ this.other.push(otherInData);
961
+ },
962
+ async getaddress(){
963
+ let HttpReset = new HttpResetClass()
964
+ var data = await HttpReset.load('POST', 'rs/sql/manage_getarealist', {
965
+ data: {
966
+ condition: `1=1 and s.f_orgid = '${this.$login.f.orgid}'`
967
+ }
968
+ }, {resolveMsg: null, rejectMsg: '获取小区失败!'})
969
+ console.log('小区',data)
970
+ let house = [{label: '全部', value: ''}]
971
+ for (let row of data.data){
972
+ house.push({label: row.f_residential_area, value: row.f_residential_area})
973
+ }
974
+ this.residentialArea = house
975
+ },
976
+ Fileinput(){
977
+ this.batchmoneyShow=true;
978
+ },
979
+ search(){
980
+ this.$refs.paged.$refs.cri.search()
981
+ },
982
+ cancel() {
983
+ this.show = false
984
+ },
985
+ selfSearch(args) {
986
+ if (this.data) {
987
+ this.$parent.$parent.$parent.data.startDate=this.$refs.paged.$refs.cri.model.startDate
988
+ this.$parent.$parent.$parent.data.endDate=this.$refs.paged.$refs.cri.model.endDate
989
+ }
990
+ this.area = this.$refs.paged.$refs.cri.model.f_residential_area
991
+ if(this.area.length !== 0){
992
+ let str = JSON.stringify(this.area)
993
+ str = str.replace(/"/g,`'`)
994
+ str = str.replace(/\[/g,``)
995
+ str = str.replace(/\]/g,``)
996
+ //查询多个小区时条件
997
+ args.condition += ` and f_residential_area in ( ${str} )`
998
+ }
999
+ //抄表员查询条件
1000
+ this.inputtouPerson = this.$refs.paged.$refs.cri.model.f_inputtor
1001
+ if(this.inputtouPerson.length !== 0){
1002
+ let str = JSON.stringify(this.inputtouPerson)
1003
+ str = str.replace(/"/g,`'`)
1004
+ str = str.replace(/\[/g,``)
1005
+ str = str.replace(/\]/g,``)
1006
+ //查询多个抄表员时条件
1007
+ args.condition += ` and f_inputtor in ( ${str} )`
1008
+ }
1009
+
1010
+ args.condition = `${args.condition} ` + this.orgCondtionStr
1011
+ this.model.search(args.condition, args.model)
1012
+ this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
1013
+ },
1014
+ clear() {
1015
+ //清空部门和人员
1016
+ this.$refs.paged.$refs.cri.$refs.sel.$children[1].selectres = []
1017
+ //部门和人员变为全选
1018
+ this.$refs.paged.$refs.cri.$refs.sel.$children[1].$children[0].isSelectAll = false
1019
+ this.$refs.paged.$refs.cri.$refs.sel.$children[2].$children[0].isSelectAll = false
1020
+ Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
1021
+ this.$refs.paged.$refs.cri.model[key] = []
1022
+ })
1023
+ this.$refs.paged.$refs.cri.model.f_meter_classify = []
1024
+ },
1025
+ show() {
1026
+ this.criteriaShow = true
1027
+ },
1028
+ hidden() {
1029
+ this.criteriaShow = !this.criteriaShow
1030
+ },
1031
+ async getRes(condition,obj) {
1032
+ this.orgCondtionStr = condition
1033
+
1034
+ },
1035
+ stamp() {
1036
+ this.all = false
1037
+ //默认选择要打印的列
1038
+ this.modelval = defaultPrint.config
1039
+ this.fields = this.getfield
1040
+ this.printshow = true
1041
+ this.put()
1042
+ },
1043
+ put() {
1044
+ // 对Modelval进行排序
1045
+ this.sortModelval()
1046
+ this.thead = `<tr><th colspan=${this.modelval.length}>抄表查询统计报表</th></tr><tr>`
1047
+ for (let key of this.modelval) {
1048
+ this.thead += '<th>' + this.fields[key] + '</th>'
1049
+ }
1050
+ this.thead += '</tr>'
1051
+ },
1052
+ print() {
1053
+ this.$refs.print.PrintAsFile()
1054
+ this.printshow = false
1055
+ },
1056
+ dealmsg(val) {
1057
+ this.rowdata=val
1058
+ this.show=true
1059
+ val.model = this.model.model
1060
+ this.$dispatch('deal-msg', val)
1061
+ },
1062
+ close() {
1063
+ this.printshow = false
1064
+ this.all = false
1065
+ },
1066
+
1067
+ userTypeChange () {
1068
+ this.gasproperties=[]
1069
+ if(this.$refs.paged.$refs.cri.model !==null) {
1070
+ this.$refs.paged.$refs.cri.model.f_gasproperties=''
1071
+ this.gasproperties = this.$appdata.getParam(this.$refs.paged.$refs.cri.model.f_user_type[0])
1072
+ }
1073
+ else{
1074
+ this.gasproperties =[{label: '全部', value: ''}]
1075
+ }
1076
+ },
1077
+ // 对选择的列进行排序
1078
+ sortModelval() {
1079
+ let sortModel = []
1080
+ Object.keys(this.fields).forEach((key) => {
1081
+ if (this.modelval.includes(key)) {
1082
+ sortModel.push(key)
1083
+ }
1084
+ })
1085
+ this.modelval = sortModel
1086
+ }
1087
+ },
1088
+ watch: {
1089
+ 'model.rows'(val) {
1090
+ if(val.length === 0){
1091
+ this.sumsmodel = {}
1092
+ }
1093
+ },
1094
+ async 'orgCondtionStr'(val) {
1095
+ this.$refs.paged.$refs.cri.model.f_inputtor=[]
1096
+ this.$refs.paged.$refs.cri.model.f_book_slice_area=[]
1097
+ this.$refs.paged.$refs.cri.model.f_meter_book = []
1098
+ this.meterbooks = [{label: '全部',value: ''}];
1099
+ if(this.lastorgstr != val){
1100
+ this.tempfalg = true;
1101
+ this.lastorgstr = val;
1102
+ }
1103
+ if(this.tempfalg && val != null && val!='' && val.indexOf("(")>-1){
1104
+ this.tempfalg = false;
1105
+ let a = val.substring(val.indexOf("(")+2)
1106
+ await this.initmeterbook(a.substring(0,a.indexOf(")")-1));
1107
+ }
1108
+ let res = val.match(/'(.*?)'/)
1109
+ console.log('正则提取:',res && res[1])
1110
+ if (res) {
1111
+ this.f_filialeid = res[1]
1112
+ if(res.input !=null){
1113
+ let resorgid = res.input.substring(res.input.indexOf("'"));
1114
+ if(resorgid!= null && resorgid!=''){
1115
+ resorgid = resorgid.substring(0,resorgid.lastIndexOf("'")+1);
1116
+ // resorgid = resorgid.replaceAll("'","");
1117
+ resorgid = resorgid.replace(/'/g,"");
1118
+ this.allorgid = resorgid.split(",")
1119
+ }
1120
+ }
1121
+ this.updateParams()
1122
+ }
1123
+ },
1124
+ 'all'(val) {
1125
+ if (val) {
1126
+ this.modelval = this.bodyData
1127
+ } else {
1128
+ this.modelval = defaultPrint.config
1129
+ this.put()
1130
+ }
1131
+ },
1132
+ 'modelval.length'() {
1133
+ this.put()
1134
+ },
1135
+ sumsmodel:{
1136
+ handler: function(val) {
1137
+ this.getotherfooter();
1138
+ },
1139
+ deep: true
1140
+ }
1141
+ },
1142
+ computed: {
1143
+ payment() {
1144
+ return [...this.$appdata.getParam('付款方式查询')]
1145
+ },
1146
+ authArr () {
1147
+ return this.$login.r ? this.$login.r : []
1148
+ },
1149
+ metertypes() {
1150
+ return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('气表类型')]
1151
+ },
1152
+ banklist() {
1153
+ return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('银行名称')]
1154
+ },
1155
+ getCondition() {
1156
+ return {
1157
+ startDate: this.$refs.paged.$refs.cri.model.startDate,
1158
+ endDate: this.$refs.paged.$refs.cri.model.endDate,
1159
+ condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr}
1160
+ },
1161
+ getfield() {
1162
+ return exportConfig.handplanConfig
1163
+ },
1164
+ getBankfield(){
1165
+ return exportConfig.batchBankConfig
1166
+ },
1167
+ usertypes() {
1168
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]
1169
+ },
1170
+ accountsState() {
1171
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('下账状态')]
1172
+ },
1173
+ meterstate() {
1174
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('抄表状态')]
1175
+ },
1176
+ handstate() {
1177
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('表单状态')]
1178
+ },
1179
+ // inputtor() {
1180
+ // return [{label: '全部', value: ''}, ...this.$appdata.getParam('抄表员')]
1181
+ // },
1182
+ pricetypes() {
1183
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('气价类型')]
1184
+ },
1185
+ getPricenames() {
1186
+ let f_user_type = this.$refs.paged.$refs.cri.model.f_user_type;
1187
+ let f_gasproperties = this.$refs.paged.$refs.cri.model.f_gasproperties;
1188
+ let pricetype = this.$refs.paged.$refs.cri.model.pricetype;
1189
+ console.log("打印一下:",f_user_type,f_gasproperties,pricetype,this.f_filialeid,this.prices)
1190
+ if(this.$refs.paged.$refs.cri.model !==null) {
1191
+ let rs = []
1192
+ let priceArr = []
1193
+ if ( pricetype.length >0) {
1194
+ let params = {
1195
+ f_price_type: pricetype[0],
1196
+ filter: this.f_filialeid,
1197
+ prices: this.prices
1198
+ }
1199
+ this.$MagGetSaleParam.getPrice(params).forEach((item) => {
1200
+ let temp = {}
1201
+ temp.label = item.label
1202
+ temp.value = item.value.f_price_name
1203
+ priceArr.push(temp)
1204
+ })
1205
+ rs = [{label: '全部', value: ''}, ...priceArr]
1206
+ }
1207
+ if (rs.length === 0) {
1208
+ console.log('rs读出来是空')
1209
+ this.$refs.paged.$refs.cri.model.f_price_name = ''
1210
+ }
1211
+ return rs
1212
+ }
1213
+ },
1214
+ inputtor () {
1215
+ // 获取抄表员
1216
+ console.log('获取抄表员', this.$login.f)
1217
+ let rs = []
1218
+ if (this.$login.f.f_gasman.length > 0) {
1219
+ for (let i = 0; i < this.$login.f.f_gasman.length; i++) {
1220
+ let temp = {
1221
+ label: this.$login.f.f_gasman[i].name,
1222
+ value: this.$login.f.f_gasman[i].name
1223
+ }
1224
+ rs.push(temp)
1225
+ }
1226
+ }
1227
+
1228
+ return [{label: '全部', value: ''}, ...rs]
1229
+ },
1230
+ whetherPay() {
1231
+ return [{label: '全部', value: ''},{label: '是', value: '是'},{label: '否', value: '否'}]
1232
+ },
1233
+ },
1234
+ events:{
1235
+ 'onFileUpload': async function (file, res) {
1236
+ let res1=await this.$resetpost('rs/sql/manageSingleTable', {
1237
+ data: {
1238
+ tablename: 't_singlevalue',
1239
+ condition: `f_filialeids = ${this.$login.f.orgid} and name='反盘状态'`
1240
+ }},{ resolveMsg: null, rejectMsg: null})
1241
+ console.log("看看res1,",res1.data[0])
1242
+ if (res1.data[0].value === '导入中') {
1243
+ this.$showAlert(`数据正在导入中,请稍后再试`, 'warning', 3000);
1244
+ this.batchmoneyShow=false
1245
+ return
1246
+ }
1247
+ debugger
1248
+ //更新状态
1249
+ let bankreverse={
1250
+ id:res1.data[0].id,
1251
+ value:'导入中'
1252
+ }
1253
+ await this.$resetpost('rs/entity/t_singlevalue', bankreverse,{ resolveMsg: null, rejectMsg: null})
1254
+
1255
+ //导入逻辑开始
1256
+ if (this.batchmoneyShow) {
1257
+ this.percent = 0;
1258
+ this.getuuid();
1259
+ let param = {
1260
+ filepath: res.f_downloadpath,
1261
+ f_operator: this.$login.f.name,
1262
+ f_operatorid: this.$login.f.id,
1263
+ f_orgid: this.$login.f.orgid,
1264
+ f_orgname: this.$login.f.orgs,
1265
+ f_depid: this.$login.f.depids,
1266
+ f_depname: this.$login.f.deps,
1267
+ uuid: this.uuida,
1268
+ id:res1.data[0].id
1269
+ }
1270
+ this.batchmoneyShow = false;
1271
+ try{
1272
+ await this.$resetpost('rs/logic/SumSettleFileImport', {data: param}, {
1273
+ resolveMsg: null,
1274
+ rejectMsg: null
1275
+ },1000)
1276
+ }catch (e) {
1277
+ }
1278
+ let getparam = {
1279
+ uuid: this.uuida
1280
+ }
1281
+ let self = this;
1282
+ this.progressShow = true;
1283
+ this.timer = setInterval(function () {
1284
+ self.$resetpost('/rs/logic/getBatchOperaPro', {data: getparam}, {
1285
+ resolveMsg: null,
1286
+ rejectMsg: null
1287
+ }, 0).then((res) => {
1288
+ if (res.data) {
1289
+ if (res.data.speed) {
1290
+ if (res.data.speed >= 100) {
1291
+ clearInterval(self.timer);
1292
+ if (res.data.speed) {
1293
+ self.percent = 99;
1294
+ }
1295
+ setTimeout(() => {
1296
+ self.percent = 100;
1297
+ self.progressclose();
1298
+ self.$showMessage(`导入成功! 累计导入:${res.data.totalsum}, 成功:${res.data.successsum},失败:${res.data.errorsum}(包含之前导入${res.data.aftersum}),失败数据请在稽查查询中错误查询进行查看!!`);
1299
+ }, 600);
1300
+ } else {
1301
+ self.percent = res.data.speed
1302
+ }
1303
+ } else {
1304
+ self.percent = 0;
1305
+ }
1306
+ }
1307
+ });
1308
+ }, 3000);
1309
+ }
1310
+ }
1311
+
1312
+ }
1313
+ }
1314
+ </script>