manage-client 3.1.58 → 3.2.1

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 (454) 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.2.1/executionHistory/executionHistory.bin +0 -0
  6. package/.gradle/5.2.1/executionHistory/executionHistory.lock +0 -0
  7. package/.gradle/5.2.1/fileChanges/last-build.bin +0 -0
  8. package/.gradle/5.2.1/fileHashes/fileHashes.bin +0 -0
  9. package/.gradle/5.2.1/fileHashes/fileHashes.lock +0 -0
  10. package/.gradle/5.2.1/gc.properties +0 -0
  11. package/.gradle/buildOutputCleanup/cache.properties +2 -2
  12. package/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
  13. package/.project +18 -18
  14. package/CHANGELOG.md +15 -15
  15. package/DOC//345/212/237/350/203/275/350/257/264/346/230/216.md +13 -13
  16. package/DOC//347/211/210/346/234/254/344/277/241/346/201/257.md +8 -8
  17. package/ManageClient.iml +13 -13
  18. package/README.md +38 -38
  19. package/build/dev-server.js +174 -174
  20. package/build/webpack.base.conf.js +82 -82
  21. package/build.gradle +13 -13
  22. package/config/dev.env.js +6 -6
  23. package/config/index.js +40 -40
  24. package/config/prod.env.js +3 -3
  25. package/config/test.env.js +6 -6
  26. package/gradle/wrapper/gradle-wrapper.properties +5 -5
  27. package/gradlew.bat +100 -100
  28. package/index.html +28 -28
  29. package/package.json +1 -1
  30. package/release.bat +5 -5
  31. package/src/ManageHome.js +269 -269
  32. package/src/Staff/StaffCompileList.vue +334 -334
  33. package/src/Staff/StaffList.vue +161 -161
  34. package/src/Staff/StaffListManage.vue +49 -49
  35. package/src/Util.js +367 -367
  36. package/src/components/BasisEcharts/BarChart.vue +247 -247
  37. package/src/components/BasisEcharts/LineChart.vue +243 -243
  38. package/src/components/ManageHome/CustomerService/ContentmentStatistics.vue +135 -135
  39. package/src/components/ManageHome/CustomerService/ExcepCollect.vue +174 -174
  40. package/src/components/ManageHome/CustomerService/ReasonComplaint.vue +116 -116
  41. package/src/components/ManageHome/CustomerService/ReasonConsultation.vue +115 -115
  42. package/src/components/ManageHome/CustomerService/ServiceFix.vue +155 -155
  43. package/src/components/ManageHome/CustomerService/ServiceHome.vue +179 -179
  44. package/src/components/ManageHome/CustomerService/ServiceStatistics.vue +147 -147
  45. package/src/components/ManageHome/CustomerService/TrafficStatistics.vue +160 -160
  46. package/src/components/ManageHome/Drill/DrillData.vue +791 -791
  47. package/src/components/ManageHome/Drill/DrillList.vue +320 -320
  48. package/src/components/ManageHome/Drill/DrillPool.vue +129 -129
  49. package/src/components/ManageHome/Home/CallCenter.vue +124 -124
  50. package/src/components/ManageHome/Home/CallFix.vue +172 -172
  51. package/src/components/ManageHome/Home/CallStatistics.vue +147 -147
  52. package/src/components/ManageHome/Home/GasValue.vue +233 -233
  53. package/src/components/ManageHome/Home/Home.vue +138 -138
  54. package/src/components/ManageHome/Home/Monitor.vue +329 -329
  55. package/src/components/ManageHome/Home/NetWork.vue +202 -202
  56. package/src/components/ManageHome/Home/SafeCheck.vue +249 -249
  57. package/src/components/ManageHome/Home/UserModule.vue +367 -367
  58. package/src/components/ManageHome/ImportSupplygas/AddSupply.vue +206 -206
  59. package/src/components/ManageHome/ImportSupplygas/SuppleManagement.vue +43 -43
  60. package/src/components/ManageHome/ImportSupplygas/SupplySelect.vue +85 -85
  61. package/src/components/ManageHome/ImportSupplygas/UpdateSupply.vue +187 -187
  62. package/src/components/ManageHome/ManageHome.vue +292 -292
  63. package/src/components/ManageHome/Monitor/BuySub.vue +311 -311
  64. package/src/components/ManageHome/Monitor/Caveat.vue +300 -300
  65. package/src/components/ManageHome/Monitor/ComparedGas.vue +264 -264
  66. package/src/components/ManageHome/Monitor/MeterBrand.vue +211 -211
  67. package/src/components/ManageHome/Monitor/MonitorCenter.vue +132 -132
  68. package/src/components/ManageHome/Monitor/MonitorHome.vue +188 -188
  69. package/src/components/ManageHome/Monitor/NoBuyGas.vue +223 -223
  70. package/src/components/ManageHome/Monitor/NoContact.vue +233 -233
  71. package/src/components/ManageHome/Monitor/NoGas.vue +202 -202
  72. package/src/components/ManageHome/NetWork/LineInspection.vue +267 -267
  73. package/src/components/ManageHome/NetWork/NetDanger.vue +258 -258
  74. package/src/components/ManageHome/NetWork/NetHome.vue +84 -84
  75. package/src/components/ManageHome/NetWork/SupplyGas.vue +204 -204
  76. package/src/components/ManageHome/SecurityCheck/CheckHome.vue +94 -94
  77. package/src/components/ManageHome/SecurityCheck/CustomerType.vue +244 -244
  78. package/src/components/ManageHome/SecurityCheck/LatentDanger.vue +218 -218
  79. package/src/components/ManageHome/SecurityCheck/PlanStatistics.vue +231 -231
  80. package/src/components/ManageHome/SecurityCheck/StateStatistics.vue +237 -237
  81. package/src/components/ManageHome/SecurityCheck/TaskStatistics.vue +303 -303
  82. package/src/components/ManageHome/User/GasDistri.vue +271 -271
  83. package/src/components/ManageHome/User/InspecDistri.vue +272 -272
  84. package/src/components/ManageHome/User/SaleProportion.vue +309 -309
  85. package/src/components/ManageHome/User/UseHome.vue +155 -155
  86. package/src/components/ManageHome/User/UserGascontrast.vue +223 -223
  87. package/src/components/ManageHome/User/UserNumber.vue +519 -519
  88. package/src/components/ManageHome/User/UsernumIncrease.vue +243 -243
  89. package/src/components/ManageHome/loading.vue +23 -23
  90. package/src/components/ManageHomeCS/Cockpit.vue +43 -43
  91. package/src/components/ManageHomeCS/CustomerService/ContentmentStatistics.vue +161 -161
  92. package/src/components/ManageHomeCS/CustomerService/ExcepCollect.vue +201 -201
  93. package/src/components/ManageHomeCS/CustomerService/ReasonComplaint.vue +146 -146
  94. package/src/components/ManageHomeCS/CustomerService/ReasonConsultation.vue +148 -148
  95. package/src/components/ManageHomeCS/CustomerService/ServiceFix.vue +242 -242
  96. package/src/components/ManageHomeCS/CustomerService/ServiceHome.vue +176 -176
  97. package/src/components/ManageHomeCS/CustomerService/ServiceStatistics.vue +277 -277
  98. package/src/components/ManageHomeCS/CustomerService/TrafficStatistics.vue +226 -226
  99. package/src/components/ManageHomeCS/Drill/DrillData.vue +918 -918
  100. package/src/components/ManageHomeCS/Drill/DrillList.vue +320 -320
  101. package/src/components/ManageHomeCS/Drill/DrillPool.vue +129 -129
  102. package/src/components/ManageHomeCS/Home/CallCenter.vue +206 -206
  103. package/src/components/ManageHomeCS/Home/CallFix.vue +172 -172
  104. package/src/components/ManageHomeCS/Home/CallStatistics.vue +147 -147
  105. package/src/components/ManageHomeCS/Home/GasValue.vue +466 -466
  106. package/src/components/ManageHomeCS/Home/Home.vue +57 -57
  107. package/src/components/ManageHomeCS/Home/Monitor.vue +423 -423
  108. package/src/components/ManageHomeCS/Home/NetWork.vue +223 -223
  109. package/src/components/ManageHomeCS/Home/SafeCheck.vue +446 -446
  110. package/src/components/ManageHomeCS/Home/ShanxiMap.vue +432 -432
  111. package/src/components/ManageHomeCS/Home/UserModule.vue +511 -511
  112. package/src/components/ManageHomeCS/Home/YulinMap.vue +424 -424
  113. package/src/components/ManageHomeCS/ImportSupplygas/AddSupply.vue +206 -206
  114. package/src/components/ManageHomeCS/ImportSupplygas/SuppleManagement.vue +43 -43
  115. package/src/components/ManageHomeCS/ImportSupplygas/SupplySelect.vue +85 -85
  116. package/src/components/ManageHomeCS/ImportSupplygas/UpdateSupply.vue +187 -187
  117. package/src/components/ManageHomeCS/Monitor/BuySub.vue +339 -339
  118. package/src/components/ManageHomeCS/Monitor/Caveat.vue +301 -301
  119. package/src/components/ManageHomeCS/Monitor/ComparedGas.vue +276 -276
  120. package/src/components/ManageHomeCS/Monitor/MeterBrand.vue +220 -220
  121. package/src/components/ManageHomeCS/Monitor/MonitorCenter.vue +139 -139
  122. package/src/components/ManageHomeCS/Monitor/MonitorHome.vue +188 -188
  123. package/src/components/ManageHomeCS/Monitor/NoBuyGas.vue +218 -218
  124. package/src/components/ManageHomeCS/Monitor/NoContact.vue +217 -217
  125. package/src/components/ManageHomeCS/Monitor/NoGas.vue +214 -214
  126. package/src/components/ManageHomeCS/NetWork/LineInspection.vue +268 -268
  127. package/src/components/ManageHomeCS/NetWork/NetDanger.vue +258 -258
  128. package/src/components/ManageHomeCS/NetWork/NetHome.vue +106 -106
  129. package/src/components/ManageHomeCS/NetWork/NetWork.vue +222 -222
  130. package/src/components/ManageHomeCS/NetWork/NetWorkMap.vue +86 -86
  131. package/src/components/ManageHomeCS/NetWork/SupplyGas.vue +291 -291
  132. package/src/components/ManageHomeCS/NewHome/GasProperties.vue +314 -314
  133. package/src/components/ManageHomeCS/NewHome/NewManageHome.vue +182 -182
  134. package/src/components/ManageHomeCS/NewHome/TextBusiness.vue +267 -267
  135. package/src/components/ManageHomeCS/NewHome/TextChildsellgas.vue +209 -209
  136. package/src/components/ManageHomeCS/NewHome/TextProfit.vue +298 -298
  137. package/src/components/ManageHomeCS/NewHome/TextSellgas.vue +82 -82
  138. package/src/components/ManageHomeCS/NewHome/TextShanximap.vue +389 -389
  139. package/src/components/ManageHomeCS/NewHome/TextTotalsellgas.vue +406 -406
  140. package/src/components/ManageHomeCS/NewHome/TextUser.vue +378 -378
  141. package/src/components/ManageHomeCS/NewHome/yulin.vue +425 -425
  142. package/src/components/ManageHomeCS/Poor/PoorHome.vue +176 -176
  143. package/src/components/ManageHomeCS/SecurityCheck/CheckHome.vue +94 -94
  144. package/src/components/ManageHomeCS/SecurityCheck/CustomerType.vue +246 -246
  145. package/src/components/ManageHomeCS/SecurityCheck/LatentDanger.vue +220 -220
  146. package/src/components/ManageHomeCS/SecurityCheck/PlanStatistics.vue +306 -306
  147. package/src/components/ManageHomeCS/SecurityCheck/StateStatistics.vue +239 -239
  148. package/src/components/ManageHomeCS/SecurityCheck/TaskStatistics.vue +311 -311
  149. package/src/components/ManageHomeCS/User/FMYInspecDistri.vue +269 -269
  150. package/src/components/ManageHomeCS/User/GasDistri.vue +220 -220
  151. package/src/components/ManageHomeCS/User/MYInspecDistri.vue +269 -269
  152. package/src/components/ManageHomeCS/User/SaleProportion.vue +384 -384
  153. package/src/components/ManageHomeCS/User/UseHome.vue +162 -162
  154. package/src/components/ManageHomeCS/User/UserGascontrast.vue +221 -221
  155. package/src/components/ManageHomeCS/User/UserNumber.vue +600 -600
  156. package/src/components/ManageHomeCS/User/UsernumIncrease.vue +277 -277
  157. package/src/components/ManageHomeCS/loading.vue +39 -39
  158. package/src/components/ManageHomeCS/test.vue +88 -88
  159. package/src/components/MeterManage/ChangeMeterQuery.vue +82 -82
  160. package/src/components/MeterManage/ChargeQuery.vue +79 -79
  161. package/src/components/MeterManage/FillCardQuery.vue +80 -80
  162. package/src/components/MeterManage/FillGasQuery.vue +80 -80
  163. package/src/components/MeterManage/HandQuery.vue +72 -72
  164. package/src/components/MeterManage/MeterInfoManage.vue +107 -107
  165. package/src/components/MeterManage/MeterList.vue +336 -336
  166. package/src/components/MeterManage/MeterMsg.vue +181 -181
  167. package/src/components/MeterManage/OtherChargeQuery.vue +78 -78
  168. package/src/components/MeterManage/ReversalQuery.vue +77 -77
  169. package/src/components/MeterManage/TransferQuery.vue +72 -72
  170. package/src/components/SellReport/AmountGas.vue +257 -257
  171. package/src/components/SellReport/BankManager.vue +146 -146
  172. package/src/components/SellReport/BonSummary.vue +244 -244
  173. package/src/components/SellReport/BusinessMoneyReport.vue +268 -268
  174. package/src/components/SellReport/BusinessReport.vue +256 -256
  175. package/src/components/SellReport/CaiManageDayGas.vue +280 -280
  176. package/src/components/SellReport/ChManageBusSummary.vue +273 -273
  177. package/src/components/SellReport/ChManageHandSellMoney.vue +274 -274
  178. package/src/components/SellReport/ChManageMonthGas.vue +285 -285
  179. package/src/components/SellReport/ChOtherfee.vue +251 -251
  180. package/src/components/SellReport/ChSellReport.vue +251 -251
  181. package/src/components/SellReport/ChargeDayTable.vue +258 -258
  182. package/src/components/SellReport/ChargeMonthTable.vue +257 -257
  183. package/src/components/SellReport/ChargeYearTable.vue +252 -252
  184. package/src/components/SellReport/CollectFee.vue +184 -184
  185. package/src/components/SellReport/Contrast.vue +188 -188
  186. package/src/components/SellReport/DayStairMoney.vue +256 -256
  187. package/src/components/SellReport/DeptHomePage.vue +299 -299
  188. package/src/components/SellReport/FenxiangSell.vue +183 -183
  189. package/src/components/SellReport/FxGasTable.vue +220 -220
  190. package/src/components/SellReport/GasCollect.vue +174 -174
  191. package/src/components/SellReport/GasMeterBrand.vue +228 -228
  192. package/src/components/SellReport/GasPriceGroup.vue +228 -228
  193. package/src/components/SellReport/GasSummary.vue +257 -257
  194. package/src/components/SellReport/Gasc.vue +257 -257
  195. package/src/components/SellReport/GaspriceHas.vue +141 -141
  196. package/src/components/SellReport/GetUserNum.vue +240 -240
  197. package/src/components/SellReport/HandCollect.vue +189 -189
  198. package/src/components/SellReport/HandplanBili.vue +241 -241
  199. package/src/components/SellReport/HandplanUserCount.vue +227 -227
  200. package/src/components/SellReport/JinChengBusSummary.vue +182 -182
  201. package/src/components/SellReport/JinChengHandGas.vue +182 -182
  202. package/src/components/SellReport/JinChengOperSummary.vue +182 -182
  203. package/src/components/SellReport/JinChengSliceSumgas.vue +182 -182
  204. package/src/components/SellReport/ManageBusTable.vue +207 -207
  205. package/src/components/SellReport/ManageGasFee.vue +247 -247
  206. package/src/components/SellReport/ManageGasFeeOperator.vue +236 -236
  207. package/src/components/SellReport/ManageGasPrice.vue +241 -241
  208. package/src/components/SellReport/ManageGasSumChangeTwo.vue +271 -271
  209. package/src/components/SellReport/ManageGasSumOtherCharge.vue +244 -244
  210. package/src/components/SellReport/ManageHandSellInputtor.vue +241 -241
  211. package/src/components/SellReport/ManageMonthGas.vue +249 -249
  212. package/src/components/SellReport/ManageNewGasPrice.vue +245 -245
  213. package/src/components/SellReport/ManageReceivable.vue +254 -254
  214. package/src/components/SellReport/ManageUserCollect.vue +183 -183
  215. package/src/components/SellReport/MeterBill.vue +185 -185
  216. package/src/components/SellReport/MeterGasMoney.vue +226 -226
  217. package/src/components/SellReport/MeterInput.vue +250 -250
  218. package/src/components/SellReport/MeterPrice.vue +244 -244
  219. package/src/components/SellReport/MeterReader.vue +231 -231
  220. package/src/components/SellReport/MonthStairMoney.vue +256 -256
  221. package/src/components/SellReport/OperatorSellReport.vue +268 -268
  222. package/src/components/SellReport/OutletTable.vue +258 -258
  223. package/src/components/SellReport/OweAging.vue +174 -174
  224. package/src/components/SellReport/PaymentDistribute.vue +228 -228
  225. package/src/components/SellReport/PaymentMethod.vue +274 -274
  226. package/src/components/SellReport/QibiaoShouqi.vue +282 -282
  227. package/src/components/SellReport/ReportHistory.vue +80 -80
  228. package/src/components/SellReport/ReportPool.vue +60 -60
  229. package/src/components/SellReport/Selling.vue +188 -188
  230. package/src/components/SellReport/SiteManager.vue +147 -147
  231. package/src/components/SellReport/UserStateStatistics.vue +188 -188
  232. package/src/components/SellReport/UsertypePie.vue +101 -101
  233. package/src/components/SellReport/WeiNanYuShou.vue +246 -246
  234. package/src/components/SellReport/XianYangDate.vue +227 -227
  235. package/src/components/SellReport/XianYangOperator.vue +228 -228
  236. package/src/components/SellReport/XyDateCharge.vue +227 -227
  237. package/src/components/SellReport/XyOperatorCharge.vue +256 -256
  238. package/src/components/SellReport/YuShouTable.vue +298 -298
  239. package/src/components/SellReport/YuShouTableTwo.vue +309 -309
  240. package/src/components/SellReport/chargeSchedule.vue +410 -410
  241. package/src/components/SellReport/jingwei/CardCharge.vue +142 -142
  242. package/src/components/SellReport/jingwei/MachineCharge.vue +141 -141
  243. package/src/components/SellReport/jingwei/PaymentNotice.vue +479 -479
  244. package/src/components/SellReport/jingwei/handplanReport.vue +280 -280
  245. package/src/components/SellReport/jingwei/widegt/PaymentNoticePrint.vue +198 -198
  246. package/src/components/SellReport/jingwei/widegt/handplanPrint.vue +143 -143
  247. package/src/components/SellReport/pengan/ManageBusPeng.vue +280 -280
  248. package/src/components/SellReport/pengan/ManageBusSummaryPeng.vue +241 -241
  249. package/src/components/SellReport/userholds.vue +257 -257
  250. package/src/components/WebReport/AbnormalInfo.vue +197 -197
  251. package/src/components/WebReport/AbnormalInfoEcharts.vue +120 -120
  252. package/src/components/WebReport/BatteryLow.vue +148 -148
  253. package/src/components/WebReport/BusinessHall.vue +85 -85
  254. package/src/components/WebReport/BussinessType.vue +137 -137
  255. package/src/components/WebReport/Communication.vue +131 -131
  256. package/src/components/WebReport/CompanyUser.vue +79 -79
  257. package/src/components/WebReport/EchartsBox.vue +110 -110
  258. package/src/components/WebReport/ElectroMagnetic.vue +142 -142
  259. package/src/components/WebReport/GaspriceHas.vue +141 -141
  260. package/src/components/WebReport/HandplanPrint.vue +167 -167
  261. package/src/components/WebReport/NotUpload.vue +165 -165
  262. package/src/components/WebReport/OweQuery.vue +169 -169
  263. package/src/components/WebReport/PaymentDistributed.vue +176 -176
  264. package/src/components/WebReport/Paymentpie.vue +157 -157
  265. package/src/components/WebReport/ReportWorklist.vue +220 -220
  266. package/src/components/WebReport/SellType.vue +89 -89
  267. package/src/components/WebReport/Telemanlist.vue +221 -221
  268. package/src/components/WebReport/UserGasAll.vue +214 -214
  269. package/src/components/WebReport/UserGasEcharts.vue +107 -107
  270. package/src/components/WebReport/UsertypePie.vue +105 -105
  271. package/src/components/WebReport/ValueEcharts.vue +99 -99
  272. package/src/components/WebReport/ValueInfo.vue +194 -194
  273. package/src/components/qinhua/BarChartLine.vue +288 -288
  274. package/src/components/qinhua/ManageMain.vue +162 -162
  275. package/src/components/qinhua/Ring.vue +165 -165
  276. package/src/components/qinhua/SafeCheckRing.vue +149 -149
  277. package/src/components/qinhua/SafecheckBarChart.vue +209 -209
  278. package/src/components/qinhua/Scada.vue +93 -93
  279. package/src/components/safecheck/analysis/SafeHiddenAnaly.vue +932 -932
  280. package/src/components/safecheck/planCheck/chanceSituation.vue +149 -149
  281. package/src/components/safecheck/planCheck/checkFamily.vue +217 -217
  282. package/src/components/safecheck/planCheck/hidderDanger.vue +179 -179
  283. package/src/components/safecheck/planCheck/inFamily.vue +185 -185
  284. package/src/components/sale/businessquery/AccountQuery/TransactionSummary.vue +373 -373
  285. package/src/components/sale/businessquery/BalanceQuery.vue +456 -456
  286. package/src/components/sale/businessquery/CardHandplanQuery.vue +444 -444
  287. package/src/components/sale/businessquery/InspectManage.vue +47 -47
  288. package/src/components/sale/businessquery/NewAccountQuery.vue +409 -409
  289. package/src/components/sale/businessquery/OtherChargeDetailQuery.vue +74 -74
  290. package/src/components/sale/businessquery/ResourceOperatingQuery.vue +317 -317
  291. package/src/components/sale/businessquery/TongjiManage.vue +74 -74
  292. package/src/components/sale/businessquery/UserTongjiQuery.vue +358 -358
  293. package/src/components/sale/businessquery/YearGasQuery.vue +422 -422
  294. package/src/components/sale/businessquery/analysisquery/AnalysisManage.vue +65 -65
  295. package/src/components/sale/businessquery/weChatBind.vue +361 -361
  296. package/src/components/sale/common/PrintData.vue +171 -171
  297. package/src/components/sale/common/PrintDataSelf.vue +225 -225
  298. package/src/components/sale/common/PrintTable.vue +228 -228
  299. package/src/components/sale/common/PrintTableSelf.vue +251 -251
  300. package/src/components/sale/common/TabButton.vue +155 -155
  301. package/src/components/sale/common/Tabs.vue +67 -67
  302. package/src/components/sale/common/handplanUser.vue +112 -112
  303. package/src/components/sale/config/DefaultPrint.js +6 -6
  304. package/src/components/sale/config/tableConfig.js +48 -48
  305. package/src/components/sale/filesquery/detail/UserBaseInfo.vue +69 -69
  306. package/src/components/sale/filesquery/detail/UserDetail.vue +41 -41
  307. package/src/components/sale/filesquery/detail/UserOperInfo.vue +76 -76
  308. package/src/components/sale/filesquery/detail/oper/ChangeMessage.vue +46 -46
  309. package/src/components/sale/filesquery/detail/oper/ExchangeOper.vue +66 -66
  310. package/src/components/sale/filesquery/detail/oper/HandOper.vue +46 -46
  311. package/src/components/sale/filesquery/detail/oper/HandleMessage.vue +46 -46
  312. package/src/components/sale/filesquery/detail/oper/OtherCharge.vue +54 -54
  313. package/src/components/sale/filesquery/detail/oper/ReplaceCard.vue +51 -51
  314. package/src/components/sale/filesquery/detail/oper/SellOper.vue +56 -56
  315. package/src/components/sale/filesquery/detail/oper/TransferMessage.vue +55 -55
  316. package/src/components/sale/filesquery/filequerydetail/BlackListQueryDetail.vue +219 -219
  317. package/src/components/sale/filesquery/filequerydetail/ChangeMeterQueryDetail.vue +246 -246
  318. package/src/components/sale/filesquery/filequerydetail/ChargeQueryDetail.vue +239 -239
  319. package/src/components/sale/filesquery/filequerydetail/DeviceQueryDetail.vue +126 -126
  320. package/src/components/sale/filesquery/filequerydetail/DisableQueryDetail.vue +272 -272
  321. package/src/components/sale/filesquery/filequerydetail/EnableQueryDetail.vue +274 -274
  322. package/src/components/sale/filesquery/filequerydetail/FillCardQueryDetail.vue +80 -80
  323. package/src/components/sale/filesquery/filequerydetail/FillGasQueryDetail.vue +80 -80
  324. package/src/components/sale/filesquery/filequerydetail/HandQueryDetail.vue +302 -302
  325. package/src/components/sale/filesquery/filequerydetail/MeterQueryDetail.vue +158 -158
  326. package/src/components/sale/filesquery/filequerydetail/OtherChargeQueryDetail.vue +198 -198
  327. package/src/components/sale/filesquery/filequerydetail/RecordQueryDetail.vue +125 -125
  328. package/src/components/sale/filesquery/filequerydetail/SellingHandDetail.vue +280 -280
  329. package/src/components/sale/filesquery/filequerydetail/TransferQueryDetail.vue +160 -160
  330. package/src/components/sale/filesquery/filequerydetail/UserQueryDetail.vue +155 -155
  331. package/src/components/sale/report/aode/DayReport.vue +50 -50
  332. package/src/components/sale/report/aode/DayReportSummary.vue +75 -75
  333. package/src/components/sale/report/aode/MonthByChargeType.vue +446 -446
  334. package/src/components/sale/report/aode/MonthByUserType.vue +413 -413
  335. package/src/components/sale/report/aode/YearByChargeTpye.vue +215 -215
  336. package/src/components/sale/report/aode/YearByUserType.vue +272 -272
  337. package/src/components/sale/report/aode/life/LifeDayReport.vue +50 -50
  338. package/src/components/sale/report/aode/life/LifeDayReportList.vue +241 -241
  339. package/src/components/sale/report/aode/life/LifeDayReportSummary.vue +49 -49
  340. package/src/components/sale/report/aode/life/LifeMonthReport.vue +303 -303
  341. package/src/components/sale/report/aode/life/LifeYearReport.vue +175 -175
  342. package/src/components/sale/report/aode/widget/LifeDayReportListPrint.vue +189 -189
  343. package/src/components/sale/report/aode/widget/LifeMonthPrint.vue +153 -153
  344. package/src/components/sale/report/aode/widget/LifeYearPrint.vue +143 -143
  345. package/src/components/sale/report/aode/widget/MonthByChargePrint.vue +236 -236
  346. package/src/components/sale/report/aode/widget/MonthByUserPrint.vue +232 -232
  347. package/src/components/sale/report/aode/widget/YearByChargePrint.vue +203 -203
  348. package/src/components/sale/report/aode/widget/YearByUserPrint.vue +225 -225
  349. package/src/components/scada/CaculateGasConsumputionByDay/CaculateGasConsumputionByDay.vue +290 -290
  350. package/src/components/scada/ChartDisplay/ChartDisplayManage.vue +55 -55
  351. package/src/components/scada/ChartDisplay/ChartThreeDayContrast.vue +164 -164
  352. package/src/components/scada/CumulativeFlow/CumulativeFlowHeatPlant.vue +400 -400
  353. package/src/components/scada/CumulativeFlow/CumulativeFlowManage.vue +59 -59
  354. package/src/components/scada/CumulativeFlow/CumulativeFlowRegulatorStation.vue +504 -504
  355. package/src/components/scada/CumulativeFlow/CumulativeFlowStation.vue +248 -248
  356. package/src/components/scada/GasSupplyRunning/GasSupplyRunningByDay.vue +297 -297
  357. package/src/components/scada/InstantaneousFlow/InstantaneousFlowHeatPlant.vue +389 -389
  358. package/src/components/scada/InstantaneousFlow/InstantaneousFlowManage.vue +57 -57
  359. package/src/components/scada/InstantaneousFlow/InstantaneousFlowRegulatorStation.vue +503 -503
  360. package/src/components/scada/InstantaneousFlow/InstantaneousFlowStation.vue +244 -244
  361. package/src/components/scada/OnTimePressure/OnTimePressureHeatPlant.vue +356 -356
  362. package/src/components/scada/OnTimePressure/OnTimePressureManage.vue +51 -51
  363. package/src/components/scada/OnTimePressure/OnTimePressureRegulatorStation.vue +526 -526
  364. package/src/components/scada/ThreeDayContrast/ThreeDayContrastManage.vue +282 -282
  365. package/src/components/webmeter/DrillData/LargeScreenAnalysisEcharts.vue +710 -710
  366. package/src/components/webmeter/DrillData/LostContactAnalysis.vue +531 -531
  367. package/src/components/webmeter/DrillData/LostContactAnalysisManage.vue +30 -30
  368. package/src/components/webmeter/DrillData/LostContactEform.vue +190 -190
  369. package/src/components/webmeter/dataCollection/DataCollection.vue +676 -676
  370. package/src/components/webmeter/gasAnalysis/GasAnalysisEcharts.vue +144 -144
  371. package/src/components/webmeter/gasAnalysis/GasAnalysisSummary.vue +162 -162
  372. package/src/components/webmeter/handplan/NewWebMeterHandPlan.vue +745 -745
  373. package/src/components/webmeter/handplan/NewWebmeterHandPlanMain.vue +59 -59
  374. package/src/components/webmeter/indicatorStatisticsEchars.vue +204 -204
  375. package/src/components/webmeter/indicatorStatisticsMain.vue +257 -257
  376. package/src/components/webmeter/meterinfo/NewMeterList.vue +414 -414
  377. package/src/components/webmeter/meterinfo/NewMeterListMain.vue +53 -53
  378. package/src/components/webmeter/newwebmeter/NewException/NewExceptionEform.vue +149 -149
  379. package/src/components/webmeter/newwebmeter/NewException/NewExceptionEformTotal.vue +211 -211
  380. package/src/components/webmeter/newwebmeter/NewException/NewMeterException.vue +449 -449
  381. package/src/components/webmeter/newwebmeter/UserInstructEchartsList.vue +6 -6
  382. package/src/components/yulin/GuanWang.vue +24 -24
  383. package/src/components/yulin/SingleBarLine.vue +352 -352
  384. package/src/components/yulin/Weather.vue +157 -157
  385. package/src/expandcss.less +26 -26
  386. package/src/filiale/WEINAN/InspectListUser.vue +492 -492
  387. package/src/filiale/WEINAN/OtherChargeQuery.vue +521 -521
  388. package/src/filiale/aode/ArchivesManage.vue +38 -38
  389. package/src/filiale/aode/BusinessManage.vue +94 -94
  390. package/src/filiale/aode/DefaultPrint.js +6 -6
  391. package/src/filiale/aode/HandplanQuery.vue +632 -632
  392. package/src/filiale/aode/Tabs.vue +67 -67
  393. package/src/filiale/aode/UserQuery.vue +599 -599
  394. package/src/filiale/aode/sale.js +17 -17
  395. package/src/filiale/ceshi/ArrearsQuery.vue +642 -642
  396. package/src/filiale/ceshi/ChManageBusSummary.vue +293 -293
  397. package/src/filiale/ceshi/CollectManage.vue +94 -94
  398. package/src/filiale/ceshi/MeterRateQuery.vue +633 -633
  399. package/src/filiale/ceshi/TabButton.vue +149 -149
  400. package/src/filiale/ceshi/Tabs.vue +69 -69
  401. package/src/filiale/ceshi/reportManage.js +5 -5
  402. package/src/filiale/ceshi/sale.js +11 -11
  403. package/src/filiale/gaomi/config/DefaultPrint.js +6 -6
  404. package/src/filiale/gaomi/config/tableConfig.js +47 -47
  405. package/src/filiale/gongyi/sale/businessquery/exportConfig.js +17 -17
  406. package/src/filiale/gongyi/sale/filesquery/MeterQuery.vue +718 -718
  407. package/src/filiale/liaoyuan/sale.js +11 -11
  408. package/src/filiale/macheng/config/DefaultPrint.js +12 -12
  409. package/src/filiale/qingtongxia/config/DefaultPrint.js +6 -6
  410. package/src/filiale/qingtongxia/sale.js +13 -13
  411. package/src/filiale/shaoguan/ChargeQuery.vue +1034 -1034
  412. package/src/filiale/shaoguan/OtherChargeDetailQuery.vue +74 -74
  413. package/src/filiale/shaoguan/config/DefaultPrint.js +6 -6
  414. package/src/filiale/shennongjia/config/DefaultPrint.js +6 -6
  415. package/src/filiale/shennongjia/config/tableConfig.js +47 -47
  416. package/src/filiale/shennongjia/sale.js +10 -10
  417. package/src/filiale/tongchuan/FillGasQuery.vue +508 -508
  418. package/src/filiale/tongchuan/ReportList.vue +18 -2
  419. package/src/filiale/tongchuan/ResSelectNew.vue +144 -144
  420. package/src/filiale/tongchuan/reportManage.js +6 -6
  421. package/src/filiale/tongchuan/sale.js +16 -14
  422. package/src/main.js +66 -66
  423. package/src/plugins/GetLoginInfoService.js +505 -505
  424. package/src/plugins/LodopFuncs.js +124 -124
  425. package/src/plugins/getAllInputtor.js +29 -29
  426. package/src/safeCheck.js +63 -63
  427. package/src/stores/AppData.js +62 -62
  428. package/src/stores/DataSql.js +585 -585
  429. package/src/stores/DrillECharts.js +602 -602
  430. package/src/stores/DrillSql.js +888 -888
  431. package/src/stores/GetParames.js +15 -15
  432. package/src/stores/MagGetSaleParams.js +156 -156
  433. package/src/stores/MagLoadParams.js +63 -63
  434. package/src/stores/Util.js +132 -132
  435. package/src/stores/shanxi1.js +26 -26
  436. package/src/stores/yulin.js +27 -27
  437. package/src/webmeterManage.js +105 -105
  438. package/static/china.json +1 -1
  439. package/static/qh.json +2410 -2410
  440. package/static/res.json +58411 -58411
  441. package/static/shanxi1.json +1 -1
  442. package/static/yulin.json +1 -1
  443. package/static//345/261/261/344/270/234/347/234/201.json +1 -1
  444. package/test/unit/.eslintrc +5 -5
  445. package/test/unit/TestUtil.js +35 -35
  446. package/test/unit/context.html +20 -20
  447. package/test/unit/index.js +13 -13
  448. package/test/unit/init.js +11 -11
  449. package/test/unit/karma.conf.js +45 -45
  450. package/test/unit/specs/components/CallReport/Repair.spec.js +25 -25
  451. package/test/unit/specs/components/ManageBusiness/EquipmentQuery.spec.js +21 -21
  452. package/test/unit/specs/components/ManageBusiness/TableWithQuery.spec.js +21 -21
  453. package/test/unit/specs/components/ManageBusiness/UserQuery.spec.js +21 -21
  454. package/webstorm.config.js +13 -13
@@ -1,492 +1,492 @@
1
- <template>
2
- <div id="unit" class="flex-row">
3
- <div class="basic-main">
4
- <div class="flex" v-if="!show">
5
- <criteria-paged :model="model" v-ref:paged>
6
- <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
7
- <div novalidate class="form-horizontal select-overspread container-fluid auto" partial >
8
- <div class="row">
9
- <div class="col-sm-2">
10
- <label class="font_normal_body">&emsp;&emsp;公司</label>
11
- <right-tree @re-res="$parent.$parent.getorg"
12
- :initresid='$parent.$parent.org'></right-tree>
13
- </div>
14
- <div v-if="$parent.$parent.meter_classify == '卡表'" class="col-sm-2 flex-row" style="white-space: nowrap">
15
- <label class="font_normal_body">未购天数大于</label>
16
- <div class="row">
17
- <input type="text" style="width:30%" class="input_search" v-model="model.diffdaymin"
18
- condition="diffday >= {} " placeholder="">
19
- <label class="font_normal_body"> 小于 </label>
20
- <input type="text" style="width:30%" class="input_search" v-model="model.diffdaymax"
21
- condition="diffday <= {} " placeholder="">
22
- </div>
23
-
24
- </div>
25
- <div v-if="$parent.$parent.meter_classify == '机表'" class="col-sm-2 flex-row" style="white-space: nowrap">
26
- <label class="font_normal_body">未抄天数大于</label>
27
- <div class="row">
28
- <input type="text" style="width:30%" class="input_search" v-model="model.handdiffdaymin"
29
- condition="diffday >= {} " placeholder="">
30
- <label class="font_normal_body"> 小于 </label>
31
- <input type="text" style="width:30%" class="input_search" v-model="model.handdiffdaymax"
32
- condition="diffday <= {} " placeholder="">
33
- </div>
34
-
35
- </div>
36
- <div class="col-sm-2 ">
37
- <label class="font_normal_body">起始时间</label>
38
- <datepicker id="startDate" placeholder="起始时间"
39
- v-model="model.startDate"
40
- style="width:60%"
41
- :value.sync="model.startDate"
42
- :disabled-days-of-Week="[]"
43
- :format="'yyyy-MM-dd'"
44
- :show-reset-button="reset">
45
- </datepicker>
46
- </div>
47
- <div class="col-sm-2 ">
48
- <label class="font_normal_body">截止时间</label>
49
- <datepicker id="endDate" placeholder="截止时间"
50
- v-model="model.endDate"
51
- style="width:60%"
52
- :value.sync="model.endDate"
53
- :disabled-days-of-Week="[]"
54
- :format="'yyyy-MM-dd'"
55
- :show-reset-button="reset">
56
- </datepicker>
57
- </div>
58
-
59
- <div class="span" style="float:right;">
60
- <button class="btn button_search" @click="search()">查询</button>
61
- <button class="btn button_clear" @click="$parent.$parent.clear()">清空</button>
62
- <export-excel :data="$parent.$parent.getCondition"
63
- :field="$parent.$parent.getfield"
64
- :footer="$parent.$parent.footer"
65
- :header="$parent.$parent.other"
66
- sqlurl="rs/logic/exportfile"
67
- :sql-name="$parent.$parent.sqlName"
68
- template-name='用户稽查导出' :choose-col="true"></export-excel>
69
- <print-data :model="$parent.model" :field="$parent.$parent.getfield" :defaultfield="$parent.$parent.defaultfield" print-name="稽查查询打印" :sumsmodel="$parent.$parent.sumsmodel" ></print-data>
70
- <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>
71
-
72
- </div>
73
- </div>
74
- <div class="row" v-show="$parent.$parent.criteriaShow">
75
-
76
- <div class="col-sm-2 form-group">
77
- <label class="font_normal_body">气表品牌</label>
78
- <v-select :value.sync="model.f_meter_brand"
79
- v-model="model.f_meter_brand"
80
- :options='$parent.$parent.meterbrands' placeholder='请选择'
81
- condition="f_meter_brand = '{}'"
82
- close-on-select></v-select>
83
- </div>
84
-
85
- <div v-if="$parent.$parent.meter_classify == '机表'" class="col-sm-2 flex-row" style="white-space: nowrap" >
86
- <label class="font_normal_body">抄表次数</label>
87
-
88
- <div class="row">
89
- <input type="text" style="width:30%" class="input_search" v-model="model.handmin"
90
- condition="cishu >= {} " placeholder="">
91
- <label class="font_normal_body"> ≤ x ≤ </label>
92
- <input type="text" style="width:30%" class="input_search" v-model="model.handmax"
93
- condition="cishu <= {} " placeholder="">
94
- </div>
95
-
96
- </div>
97
- <div v-if="$parent.$parent.meter_classify == '卡表'" class="col-sm-2 flex-row" style="white-space: nowrap" >
98
- <label class="font_normal_body">总购气量大于</label>
99
-
100
- <div class="row">
101
- <input type="text" style="width:30%" class="input_search" v-model="model.pregasmin"
102
- condition="pregas >= {} " placeholder="">
103
- <label class="font_normal_body"> 小于 </label>
104
- <input type="text" style="width:30%" class="input_search" v-model="model.pregasmax"
105
- condition="pregas <= {} " placeholder="">
106
- </div>
107
-
108
-
109
- </div>
110
- <div v-if="$parent.$parent.meter_classify == '机表'" class="col-sm-2 flex-row" style="white-space: nowrap" >
111
- <label class="font_normal_body">总用气量</label>
112
- <div class="row">
113
- <input type="text" style="width:30%" class="input_search" v-model="model.pregasusemin"
114
- condition="pregas >= {} " placeholder="">
115
- <label class="font_normal_body"> ≤ x ≤ </label>
116
- <input type="text" style="width:30%" class="input_search" v-model="model.pregasusemax"
117
- condition="pregas <= {} " placeholder="">
118
- </div>
119
- </div>
120
- <div class="col-sm-2 form-group">
121
- <label class="font_normal_body">客户类型</label>
122
- <v-select :value.sync="model.f_user_type"
123
- @change="$parent.$parent.userTypeChange()"
124
- :options='$parent.$parent.usertypes' placeholder='请选择' v-model="model.f_user_type"
125
- condition="f_user_type = '{}'"
126
- close-on-select></v-select>
127
- </div>
128
- <div class="col-sm-2 form-group">
129
- <label class="font_normal_body">用气性质</label>
130
- <v-select :value.sync="model.f_gasproperties" v-model="model.f_gasproperties"
131
- :options='$parent.$parent.gasproperties' placeholder='请选择'
132
- condition="f_gasproperties = '{}'"
133
- close-on-select></v-select>
134
- </div>
135
- <div class="col-sm-2 form-group">
136
- <label class="font_normal_body">气价类型</label>
137
- <v-select :value.sync="model.pricetype" v-model="model.pricetype"
138
- placeholder='气价类型' :options="$parent.$parent.pricetypes"
139
- close-on-select v-ref:type>
140
- </v-select>
141
- </div>
142
- <div class="col-sm-2 form-group">
143
- <label class="font_normal_body">气价名称</label>
144
- <v-select :value.sync="model.f_price_name"
145
- v-model="model.f_price_name"
146
- :options="$parent.$parent.getPricenames"
147
- condition="f_price_name = '{}'"
148
- close-on-select></v-select>
149
- </div>
150
-
151
- <div class="col-sm-2 form-group">
152
- <label class="font_normal_body">&nbsp;&nbsp;&nbsp;小区&nbsp;&nbsp;&nbsp;</label>
153
- <v-select :value.sync="model.f_residential_area"
154
- class="select_list select"
155
- v-model="model.f_residential_area"
156
- style="width: 60%"
157
- multiple
158
- condition="f_residential_area in {}"
159
- :options='$parent.$parent.residentialArea' placeholder='选择小区'
160
- close-on-select>
161
-
162
- </v-select>
163
- </div>
164
- <div v-if="$parent.$parent.meter_classify == '卡表'" class="col-sm-2 flex-row" style="white-space: nowrap" >
165
- <label class="font_normal_body">总购次数大于</label>
166
- <div class="row">
167
- <input type="text" style="width:30%" class="input_search" v-model="model.cishumin"
168
- condition="cishu >= {} " placeholder="">
169
- <label class="font_normal_body"> 小于 </label>
170
- <input type="text" style="width:30%" class="input_search" v-model="model.cishumax"
171
- condition="cishu <= {} " placeholder="">
172
- </div>
173
- </div>
174
-
175
- </div>
176
-
177
- </div>
178
- </criteria>
179
- <data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid>
180
- <template partial='head'>
181
- <tr>
182
- <th><nobr>序号</nobr></th>
183
- <th><nobr>客户编号</nobr></th>
184
- <th><nobr>客户电话</nobr></th>
185
- <th><nobr>表号</nobr></th>
186
- <th><nobr>客户名称</nobr></th>
187
- <th><nobr>地址</nobr></th>
188
- <th><nobr>小区</nobr></th>
189
- <th><nobr>用户类型</nobr></th>
190
- <th><nobr>用气性质</nobr></th>
191
- <th><nobr>表具状态</nobr></th>
192
- <th><nobr>气表品牌</nobr></th>
193
- <th><nobr>气价名称</nobr></th>
194
- <th><nobr>最后购气日期</nobr></th>
195
- <th v-show="$parent.$parent.$parent.meter_classify == '卡表'"><nobr>总购气次数</nobr></th>
196
- <th v-show="$parent.$parent.$parent.meter_classify == '机表'"><nobr>总抄表次数</nobr></th>
197
-
198
- <th v-show="$parent.$parent.$parent.meter_classify == '卡表'"><nobr>总购气量</nobr></th>
199
- <th v-show="$parent.$parent.$parent.meter_classify == '机表'"><nobr>总用气量</nobr></th>
200
-
201
- <th v-show="$parent.$parent.$parent.meter_classify == '卡表'"><nobr>累计未购气天数</nobr></th>
202
- <th v-show="$parent.$parent.$parent.meter_classify == '机表'"><nobr>累计未抄表天数</nobr></th>
203
- <th><nobr>组织机构</nobr></th>
204
- </tr>
205
- </template>
206
- <template partial='body'>
207
- <td style="text-align: center;"><nobr>{{$index+1}}</nobr></td>
208
- <td style="text-align: center;"><nobr>
209
- <span @click="$parent.$parent.$parent.showmsg(row)"><a>{{row.f_userinfo_code}}</a></span>
210
- </nobr> </td>
211
- <td style="text-align: center;"><nobr>{{row.f_user_phone}}</nobr></td>
212
- <td style="text-align: center;"><nobr>{{row.f_meternumber}}</nobr></td>
213
- <th style="text-align: center;"><nobr>{{row.f_user_name}}</nobr></th>
214
- <th style="text-align: center;"><nobr>{{row.f_address}}</nobr></th>
215
- <th style="text-align: center;"><nobr>{{row.f_residential_area}}</nobr></th>
216
- <th style="text-align: center;"><nobr>{{row.f_user_type}}</nobr></th>
217
- <th style="text-align: center;"><nobr>{{row.f_gasproperties}}</nobr></th>
218
- <th style="text-align: center;"><nobr>{{row.f_table_state}}</nobr></th>
219
- <th style="text-align: center;"><nobr>{{row.f_meter_brand}}</nobr></th>
220
- <th style="text-align: center;"><nobr>{{row.f_price_name}}</nobr></th>
221
- <th style="text-align: center;"><nobr>{{row.delivery_date}}</nobr></th>
222
-
223
- <th style="text-align: center;"><nobr>{{row.cishu}}</nobr></th>
224
- <th style="text-align: center;"><nobr>{{row.pregas}}</nobr></th>
225
- <!-- <th style="text-align: center;"><nobr>{{row.sellcishu}}</nobr></th>-->
226
- <!-- <th style="text-align: center;"><nobr>{{row.sellpregas}}</nobr></th>-->
227
- <th style="text-align: center;"><nobr>{{row.diffday}}</nobr></th>
228
- <th style="text-align: center;"><nobr>{{row.f_orgname}}</nobr></th>
229
- </template>
230
- </data-grid>
231
- </criteria-paged>
232
- <table class="table-hover">
233
- <tr style="position: relative" class="table-bordered">
234
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">汇总信息</td>
235
- <td v-if="meter_classify == '卡表'" style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">总购气量合计:&emsp;&emsp;{{sumsmodel.pregas}}</td>
236
- <!-- <td v-if="meter_classify == '卡表'" style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">阶段购气量合计:&emsp;&emsp;{{sumsmodel.sellpregas}}</td>-->
237
- <td v-if="meter_classify == '机表'" style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">总抄表气量合计:&emsp;&emsp;{{sumsmodel.pregas}}</td>
238
- <!-- <td v-if="meter_classify == '机表'" style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">阶段抄表气量合计:&emsp;{{sumsmodel.sellpregas}}</td>-->
239
- </tr>
240
- </table>
241
- </div>
242
- <div v-if="show">
243
- <user-info-detail-manage-new :f_userinfo_id="rowdata.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage-new>
244
- </div>
245
- </div></div>
246
- </template>
247
- <script>
248
- /**
249
- *用户档案查询列表以及添加操作组件
250
- */
251
- import { PagedList } from 'vue-client'
252
- import Vue from 'vue'
253
- import plugin from 'system-clients/src/plugins/GetLoginInfoService'
254
-
255
- let readySomething = async function (self) {
256
-
257
- self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString()
258
-
259
- // await self.$refs.paged.$refs.cri.search()
260
- self.sumsmodel = self.$refs.paged.$refs.grid.model.sums
261
- await self.$MagLoadParams.loadParam()
262
- self.initParams()
263
- }
264
- export default {
265
- title: '用户稽查',
266
- data () {
267
- return {
268
- other:[],
269
- footer:[],
270
- org:[this.$login.f.orgid],
271
- criteriaShow: false,
272
- meter_classify:'卡表',
273
- gasproperties:[],
274
- prices: [],
275
- f_filialeid: this.$login.f.f_orgid,
276
- filialeNameStr: null,
277
- filialeCodeStr: `and f_orgid = ${this.$login.f.orgid}`,
278
- userid: this.$login.f.id,
279
- source: `tool.getFullTree(this.getRights().where(row.getType() == $organization$))`,
280
- getfield:{"f_userinfo_code":"客户编号","f_user_phone":"用户电话","f_meternumber":"表号","f_user_name":"客户名称","f_address":"地址","f_user_type":"用户类型",
281
- "f_gasproperties":"用气性质","f_table_state":"表具状态","f_meter_brand":"气表品牌","f_price_name":"气价名称",
282
- "delivery_date":"最后购气日期","cishu":"总购气次数","pregas":"总购气量",
283
- "diffday":"未购气总天数"},
284
- model: new PagedList('rs/sql/inspectList_weinan', 50,{endDate:'this.model.endDate',startDate:'this.model.startDate'},{pregas: 0}),
285
- rows: null,
286
- residentialArea: [],
287
- //orgid:'',
288
- meterbrands:[],
289
- show:false,
290
- sqlName:'inspectList_weinan',
291
- rowdata:{},
292
- sumsmodel: {},
293
- config: {
294
- defaultPrint: ['f_userinfo_code','f_user_id']
295
- },
296
- defaultfield: [],
297
- }
298
- },
299
- watch:{
300
- meter_classify(val){
301
- if(val == '卡表') {
302
- this.url = 'rs/sql/inspectList_weinan'
303
- this.sqlName = 'inspectList_weinan'
304
- this.getfield = {"f_userinfo_code":"客户编号","f_meternumber":"表号","f_user_name":"客户名称","f_address":"地址","f_user_type":"用户类型",
305
- "f_gasproperties":"用气性质","f_table_state":"表具状态","f_meter_brand":"气表品牌","f_price_name":"气价名称",
306
- "delivery_date":"最后购气日期","cishu":"总购气次数","pregas":"总购气量",
307
- "diffday":"累计未购气天数"}
308
- }else{
309
- this.url = 'rs/sql/handinspectList'
310
- this.sqlName = 'handinspectList'
311
- this.getfield = {"f_userinfo_code":"客户编号","f_meternumber":"表号","f_user_name":"客户名称","f_address":"地址","f_user_type":"用户类型",
312
- "f_gasproperties":"用气性质","f_table_state":"表具状态","f_meter_brand":"气表品牌","f_price_name":"气价名称",
313
- "delivery_date":"最后抄表日期","cishu":"总抄表次数","pregas":"抄表气量",
314
- "diffday":"累计未抄表天数"}
315
- }
316
- this.clear()
317
- },
318
- sumsmodel:{
319
- handler: function(val) {
320
- this.getotherfooter();
321
- },
322
- deep: true
323
- }
324
- },
325
- ready () {
326
-
327
- this.getaddress()
328
- readySomething(this).then(() => {
329
- this.$emit('ready')
330
- }).catch((error) => {
331
- this.$emit('error', error)
332
- })
333
- },
334
- methods: {
335
- async getaddress(){
336
- var data = await this.$resetpost('rs/sql/manage_getarealist?pageNo=1&pageSize=99999', {
337
- data: {
338
- condition: `1=1 and s.f_orgid = '${this.$login.f.orgid}'`
339
- },
340
- }, {resolveMsg: null, rejectMsg: '获取小区失败!'})
341
- console.log('小区',data)
342
- let house = [{label: '全部', value: ''}]
343
- for (let row of data.data){
344
- house.push({label: row.f_residential_area, value: row.f_residential_area})
345
- }
346
- this.residentialArea = house
347
- },
348
- initParams() {
349
- // 初始化气表品牌
350
- let brandArr = []
351
- this.$MagGetSaleParam.getGasbrand().forEach((item) => {
352
- let temp = {}
353
- temp.label = item.label
354
- temp.value = item.value.f_meter_brand
355
- brandArr.push(temp)
356
- })
357
- this.meterbrands = [{label: '全部', value: ''}, ...brandArr]
358
- //初始化气表价格
359
- this.prices = this.$MagGetSaleParam.getPrices();
360
- },
361
- getotherfooter(){
362
- // this.$refs.paged.$refs.cri.$refs.exports.otherData=[];
363
- // this.$refs.paged.$refs.cri.$refs.exports.footerData=[];
364
- this.other=[];
365
- this.footer=[];
366
- let exportdata = this.getCondition;
367
- let otherInData=[];
368
- otherInData.push(`导出时间: ${this.$login.toStandardTimeString()}`);
369
- let footerData=[],exportfield=this.getfield;
370
- footerData.push("合计");
371
- let self = this;
372
- for(var field in self.sumsmodel){
373
- footerData.push(`${exportfield[field]}合计:${self.sumsmodel[field]}`);
374
- }
375
- this.footer.push(footerData);
376
- this.other.push(otherInData);
377
- },
378
- getorg (obj) {
379
- if(obj.resids.length>0){
380
- this.filialeCodeStr =" and f_orgid in " + plugin.convertToIn(obj.resids)
381
- }
382
- else{
383
- this.filialeCodeStr= " and f_orgid = " + this.$login.f.orgid
384
- }
385
- },
386
-
387
- userTypeChange () {
388
- this.gasproperties=[]
389
- if(this.$refs.paged.$refs.cri.model !==null) {
390
- this.$refs.paged.$refs.cri.model.f_gasproperties=''
391
- this.gasproperties = this.$appdata.getParam(this.$refs.paged.$refs.cri.model.f_user_type[0])
392
- }
393
- else{
394
- this.gasproperties =[{label: '全部', value: ''}]
395
- }
396
- },
397
-
398
- cancel() {
399
- this.show = false
400
- },
401
- showmsg(obj){
402
- this.rowdata=obj
403
- this.show=true
404
- },
405
- search () {
406
- this.$refs.paged.$refs.cri.search()
407
- },
408
- selfSearch (args) {
409
- this.model.url = this.meter_classify === '卡表' ? 'rs/sql/inspectList_weinan': 'rs/sql/handinspectList'
410
- args.condition = args.condition+ ` ${this.filialeCodeStr}`
411
- // console.log("拼接的condition", args.condition, this.model)
412
- this.model.search(args.condition, args.model)
413
- },
414
- hidden(){
415
- this.criteriaShow = !this.criteriaShow
416
- },
417
-
418
- clear(){
419
- Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
420
- if(key != 'startDate' && key != 'endDate')
421
- this.$refs.paged.$refs.cri.model[key] = []
422
- })
423
- this.$refs.paged.$refs.cri.model.endDate = this.$login.toStandardDateString()
424
- }
425
- },
426
- computed: {
427
- usertypes() {
428
- return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('用户类型')]
429
- },
430
- pricetypes() {
431
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('气价类型')]
432
- },
433
- getPricenames() {
434
- let f_user_type = this.$refs.paged.$refs.cri.model.f_user_type;
435
- let f_gasproperties = this.$refs.paged.$refs.cri.model.f_gasproperties;
436
- let pricetype = this.$refs.paged.$refs.cri.model.pricetype;
437
- console.log("打印一下:",f_user_type,f_gasproperties,pricetype,this.$login.f.orgid,this.prices)
438
- if(this.$refs.paged.$refs.cri.model !==null) {
439
- let rs = []
440
- let priceArr = []
441
- if ( pricetype.length >0) {
442
- let params = {
443
- f_price_type: pricetype[0],
444
- filter: this.$login.f.orgid,
445
- prices: this.prices
446
- }
447
- this.$MagGetSaleParam.getPrice(params).forEach((item) => {
448
- let temp = {}
449
- temp.label = item.label
450
- temp.value = item.value.f_price_name
451
- priceArr.push(temp)
452
- })
453
- rs = [{label: '全部', value: ''}, ...priceArr]
454
- }
455
- if (rs.length === 0) {
456
- console.log('rs读出来是空')
457
- this.$refs.paged.$refs.cri.model.f_price_name = ''
458
- }
459
- return rs
460
- }
461
- },
462
- tablestate () {
463
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('气表状态')]
464
- },
465
- f_meter_classify(){
466
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('表类型')]
467
- // return [{label: '卡表', value: '卡表'}]
468
- },
469
-
470
- getCondition () {
471
- let result = {
472
- condition: '',
473
- diffDay:' 1=1 ',
474
- endDate: this.$refs.paged.$refs.cri.model.endDate,
475
- startDate: this.$refs.paged.$refs.cri.model.startDate,
476
- }
477
- result.condition = this.$refs.paged.$refs.cri.condition + this.filialeCodeStr
478
-
479
- return result
480
- }
481
- }
482
- }
483
- </script>
484
- <style media="screen">
485
- .divtext {
486
- min-width: 50px;
487
- max-width: 200px;
488
- border: 1px solid green;
489
- display: inline-block;
490
- }
491
- </style>
492
-
1
+ <template>
2
+ <div id="unit" class="flex-row">
3
+ <div class="basic-main">
4
+ <div class="flex" v-if="!show">
5
+ <criteria-paged :model="model" v-ref:paged>
6
+ <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
7
+ <div novalidate class="form-horizontal select-overspread container-fluid auto" partial >
8
+ <div class="row">
9
+ <div class="col-sm-2">
10
+ <label class="font_normal_body">&emsp;&emsp;公司</label>
11
+ <right-tree @re-res="$parent.$parent.getorg"
12
+ :initresid='$parent.$parent.org'></right-tree>
13
+ </div>
14
+ <div v-if="$parent.$parent.meter_classify == '卡表'" class="col-sm-2 flex-row" style="white-space: nowrap">
15
+ <label class="font_normal_body">未购天数大于</label>
16
+ <div class="row">
17
+ <input type="text" style="width:30%" class="input_search" v-model="model.diffdaymin"
18
+ condition="diffday >= {} " placeholder="">
19
+ <label class="font_normal_body"> 小于 </label>
20
+ <input type="text" style="width:30%" class="input_search" v-model="model.diffdaymax"
21
+ condition="diffday <= {} " placeholder="">
22
+ </div>
23
+
24
+ </div>
25
+ <div v-if="$parent.$parent.meter_classify == '机表'" class="col-sm-2 flex-row" style="white-space: nowrap">
26
+ <label class="font_normal_body">未抄天数大于</label>
27
+ <div class="row">
28
+ <input type="text" style="width:30%" class="input_search" v-model="model.handdiffdaymin"
29
+ condition="diffday >= {} " placeholder="">
30
+ <label class="font_normal_body"> 小于 </label>
31
+ <input type="text" style="width:30%" class="input_search" v-model="model.handdiffdaymax"
32
+ condition="diffday <= {} " placeholder="">
33
+ </div>
34
+
35
+ </div>
36
+ <div class="col-sm-2 ">
37
+ <label class="font_normal_body">起始时间</label>
38
+ <datepicker id="startDate" placeholder="起始时间"
39
+ v-model="model.startDate"
40
+ style="width:60%"
41
+ :value.sync="model.startDate"
42
+ :disabled-days-of-Week="[]"
43
+ :format="'yyyy-MM-dd'"
44
+ :show-reset-button="reset">
45
+ </datepicker>
46
+ </div>
47
+ <div class="col-sm-2 ">
48
+ <label class="font_normal_body">截止时间</label>
49
+ <datepicker id="endDate" placeholder="截止时间"
50
+ v-model="model.endDate"
51
+ style="width:60%"
52
+ :value.sync="model.endDate"
53
+ :disabled-days-of-Week="[]"
54
+ :format="'yyyy-MM-dd'"
55
+ :show-reset-button="reset">
56
+ </datepicker>
57
+ </div>
58
+
59
+ <div class="span" style="float:right;">
60
+ <button class="btn button_search" @click="search()">查询</button>
61
+ <button class="btn button_clear" @click="$parent.$parent.clear()">清空</button>
62
+ <export-excel :data="$parent.$parent.getCondition"
63
+ :field="$parent.$parent.getfield"
64
+ :footer="$parent.$parent.footer"
65
+ :header="$parent.$parent.other"
66
+ sqlurl="rs/logic/exportfile"
67
+ :sql-name="$parent.$parent.sqlName"
68
+ template-name='用户稽查导出' :choose-col="true"></export-excel>
69
+ <print-data :model="$parent.model" :field="$parent.$parent.getfield" :defaultfield="$parent.$parent.defaultfield" print-name="稽查查询打印" :sumsmodel="$parent.$parent.sumsmodel" ></print-data>
70
+ <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>
71
+
72
+ </div>
73
+ </div>
74
+ <div class="row" v-show="$parent.$parent.criteriaShow">
75
+
76
+ <div class="col-sm-2 form-group">
77
+ <label class="font_normal_body">气表品牌</label>
78
+ <v-select :value.sync="model.f_meter_brand"
79
+ v-model="model.f_meter_brand"
80
+ :options='$parent.$parent.meterbrands' placeholder='请选择'
81
+ condition="f_meter_brand = '{}'"
82
+ close-on-select></v-select>
83
+ </div>
84
+
85
+ <div v-if="$parent.$parent.meter_classify == '机表'" class="col-sm-2 flex-row" style="white-space: nowrap" >
86
+ <label class="font_normal_body">抄表次数</label>
87
+
88
+ <div class="row">
89
+ <input type="text" style="width:30%" class="input_search" v-model="model.handmin"
90
+ condition="cishu >= {} " placeholder="">
91
+ <label class="font_normal_body"> ≤ x ≤ </label>
92
+ <input type="text" style="width:30%" class="input_search" v-model="model.handmax"
93
+ condition="cishu <= {} " placeholder="">
94
+ </div>
95
+
96
+ </div>
97
+ <div v-if="$parent.$parent.meter_classify == '卡表'" class="col-sm-2 flex-row" style="white-space: nowrap" >
98
+ <label class="font_normal_body">总购气量大于</label>
99
+
100
+ <div class="row">
101
+ <input type="text" style="width:30%" class="input_search" v-model="model.pregasmin"
102
+ condition="pregas >= {} " placeholder="">
103
+ <label class="font_normal_body"> 小于 </label>
104
+ <input type="text" style="width:30%" class="input_search" v-model="model.pregasmax"
105
+ condition="pregas <= {} " placeholder="">
106
+ </div>
107
+
108
+
109
+ </div>
110
+ <div v-if="$parent.$parent.meter_classify == '机表'" class="col-sm-2 flex-row" style="white-space: nowrap" >
111
+ <label class="font_normal_body">总用气量</label>
112
+ <div class="row">
113
+ <input type="text" style="width:30%" class="input_search" v-model="model.pregasusemin"
114
+ condition="pregas >= {} " placeholder="">
115
+ <label class="font_normal_body"> ≤ x ≤ </label>
116
+ <input type="text" style="width:30%" class="input_search" v-model="model.pregasusemax"
117
+ condition="pregas <= {} " placeholder="">
118
+ </div>
119
+ </div>
120
+ <div class="col-sm-2 form-group">
121
+ <label class="font_normal_body">客户类型</label>
122
+ <v-select :value.sync="model.f_user_type"
123
+ @change="$parent.$parent.userTypeChange()"
124
+ :options='$parent.$parent.usertypes' placeholder='请选择' v-model="model.f_user_type"
125
+ condition="f_user_type = '{}'"
126
+ close-on-select></v-select>
127
+ </div>
128
+ <div class="col-sm-2 form-group">
129
+ <label class="font_normal_body">用气性质</label>
130
+ <v-select :value.sync="model.f_gasproperties" v-model="model.f_gasproperties"
131
+ :options='$parent.$parent.gasproperties' placeholder='请选择'
132
+ condition="f_gasproperties = '{}'"
133
+ close-on-select></v-select>
134
+ </div>
135
+ <div class="col-sm-2 form-group">
136
+ <label class="font_normal_body">气价类型</label>
137
+ <v-select :value.sync="model.pricetype" v-model="model.pricetype"
138
+ placeholder='气价类型' :options="$parent.$parent.pricetypes"
139
+ close-on-select v-ref:type>
140
+ </v-select>
141
+ </div>
142
+ <div class="col-sm-2 form-group">
143
+ <label class="font_normal_body">气价名称</label>
144
+ <v-select :value.sync="model.f_price_name"
145
+ v-model="model.f_price_name"
146
+ :options="$parent.$parent.getPricenames"
147
+ condition="f_price_name = '{}'"
148
+ close-on-select></v-select>
149
+ </div>
150
+
151
+ <div class="col-sm-2 form-group">
152
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;小区&nbsp;&nbsp;&nbsp;</label>
153
+ <v-select :value.sync="model.f_residential_area"
154
+ class="select_list select"
155
+ v-model="model.f_residential_area"
156
+ style="width: 60%"
157
+ multiple
158
+ condition="f_residential_area in {}"
159
+ :options='$parent.$parent.residentialArea' placeholder='选择小区'
160
+ close-on-select>
161
+
162
+ </v-select>
163
+ </div>
164
+ <div v-if="$parent.$parent.meter_classify == '卡表'" class="col-sm-2 flex-row" style="white-space: nowrap" >
165
+ <label class="font_normal_body">总购次数大于</label>
166
+ <div class="row">
167
+ <input type="text" style="width:30%" class="input_search" v-model="model.cishumin"
168
+ condition="cishu >= {} " placeholder="">
169
+ <label class="font_normal_body"> 小于 </label>
170
+ <input type="text" style="width:30%" class="input_search" v-model="model.cishumax"
171
+ condition="cishu <= {} " placeholder="">
172
+ </div>
173
+ </div>
174
+
175
+ </div>
176
+
177
+ </div>
178
+ </criteria>
179
+ <data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid>
180
+ <template partial='head'>
181
+ <tr>
182
+ <th><nobr>序号</nobr></th>
183
+ <th><nobr>客户编号</nobr></th>
184
+ <th><nobr>客户电话</nobr></th>
185
+ <th><nobr>表号</nobr></th>
186
+ <th><nobr>客户名称</nobr></th>
187
+ <th><nobr>地址</nobr></th>
188
+ <th><nobr>小区</nobr></th>
189
+ <th><nobr>用户类型</nobr></th>
190
+ <th><nobr>用气性质</nobr></th>
191
+ <th><nobr>表具状态</nobr></th>
192
+ <th><nobr>气表品牌</nobr></th>
193
+ <th><nobr>气价名称</nobr></th>
194
+ <th><nobr>最后购气日期</nobr></th>
195
+ <th v-show="$parent.$parent.$parent.meter_classify == '卡表'"><nobr>总购气次数</nobr></th>
196
+ <th v-show="$parent.$parent.$parent.meter_classify == '机表'"><nobr>总抄表次数</nobr></th>
197
+
198
+ <th v-show="$parent.$parent.$parent.meter_classify == '卡表'"><nobr>总购气量</nobr></th>
199
+ <th v-show="$parent.$parent.$parent.meter_classify == '机表'"><nobr>总用气量</nobr></th>
200
+
201
+ <th v-show="$parent.$parent.$parent.meter_classify == '卡表'"><nobr>累计未购气天数</nobr></th>
202
+ <th v-show="$parent.$parent.$parent.meter_classify == '机表'"><nobr>累计未抄表天数</nobr></th>
203
+ <th><nobr>组织机构</nobr></th>
204
+ </tr>
205
+ </template>
206
+ <template partial='body'>
207
+ <td style="text-align: center;"><nobr>{{$index+1}}</nobr></td>
208
+ <td style="text-align: center;"><nobr>
209
+ <span @click="$parent.$parent.$parent.showmsg(row)"><a>{{row.f_userinfo_code}}</a></span>
210
+ </nobr> </td>
211
+ <td style="text-align: center;"><nobr>{{row.f_user_phone}}</nobr></td>
212
+ <td style="text-align: center;"><nobr>{{row.f_meternumber}}</nobr></td>
213
+ <th style="text-align: center;"><nobr>{{row.f_user_name}}</nobr></th>
214
+ <th style="text-align: center;"><nobr>{{row.f_address}}</nobr></th>
215
+ <th style="text-align: center;"><nobr>{{row.f_residential_area}}</nobr></th>
216
+ <th style="text-align: center;"><nobr>{{row.f_user_type}}</nobr></th>
217
+ <th style="text-align: center;"><nobr>{{row.f_gasproperties}}</nobr></th>
218
+ <th style="text-align: center;"><nobr>{{row.f_table_state}}</nobr></th>
219
+ <th style="text-align: center;"><nobr>{{row.f_meter_brand}}</nobr></th>
220
+ <th style="text-align: center;"><nobr>{{row.f_price_name}}</nobr></th>
221
+ <th style="text-align: center;"><nobr>{{row.delivery_date}}</nobr></th>
222
+
223
+ <th style="text-align: center;"><nobr>{{row.cishu}}</nobr></th>
224
+ <th style="text-align: center;"><nobr>{{row.pregas}}</nobr></th>
225
+ <!-- <th style="text-align: center;"><nobr>{{row.sellcishu}}</nobr></th>-->
226
+ <!-- <th style="text-align: center;"><nobr>{{row.sellpregas}}</nobr></th>-->
227
+ <th style="text-align: center;"><nobr>{{row.diffday}}</nobr></th>
228
+ <th style="text-align: center;"><nobr>{{row.f_orgname}}</nobr></th>
229
+ </template>
230
+ </data-grid>
231
+ </criteria-paged>
232
+ <table class="table-hover">
233
+ <tr style="position: relative" class="table-bordered">
234
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">汇总信息</td>
235
+ <td v-if="meter_classify == '卡表'" style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">总购气量合计:&emsp;&emsp;{{sumsmodel.pregas}}</td>
236
+ <!-- <td v-if="meter_classify == '卡表'" style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">阶段购气量合计:&emsp;&emsp;{{sumsmodel.sellpregas}}</td>-->
237
+ <td v-if="meter_classify == '机表'" style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">总抄表气量合计:&emsp;&emsp;{{sumsmodel.pregas}}</td>
238
+ <!-- <td v-if="meter_classify == '机表'" style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">阶段抄表气量合计:&emsp;{{sumsmodel.sellpregas}}</td>-->
239
+ </tr>
240
+ </table>
241
+ </div>
242
+ <div v-if="show">
243
+ <user-info-detail-manage-new :f_userinfo_id="rowdata.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage-new>
244
+ </div>
245
+ </div></div>
246
+ </template>
247
+ <script>
248
+ /**
249
+ *用户档案查询列表以及添加操作组件
250
+ */
251
+ import { PagedList } from 'vue-client'
252
+ import Vue from 'vue'
253
+ import plugin from 'system-clients/src/plugins/GetLoginInfoService'
254
+
255
+ let readySomething = async function (self) {
256
+
257
+ self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString()
258
+
259
+ // await self.$refs.paged.$refs.cri.search()
260
+ self.sumsmodel = self.$refs.paged.$refs.grid.model.sums
261
+ await self.$MagLoadParams.loadParam()
262
+ self.initParams()
263
+ }
264
+ export default {
265
+ title: '用户稽查',
266
+ data () {
267
+ return {
268
+ other:[],
269
+ footer:[],
270
+ org:[this.$login.f.orgid],
271
+ criteriaShow: false,
272
+ meter_classify:'卡表',
273
+ gasproperties:[],
274
+ prices: [],
275
+ f_filialeid: this.$login.f.f_orgid,
276
+ filialeNameStr: null,
277
+ filialeCodeStr: `and f_orgid = ${this.$login.f.orgid}`,
278
+ userid: this.$login.f.id,
279
+ source: `tool.getFullTree(this.getRights().where(row.getType() == $organization$))`,
280
+ getfield:{"f_userinfo_code":"客户编号","f_user_phone":"用户电话","f_meternumber":"表号","f_user_name":"客户名称","f_address":"地址","f_user_type":"用户类型",
281
+ "f_gasproperties":"用气性质","f_table_state":"表具状态","f_meter_brand":"气表品牌","f_price_name":"气价名称",
282
+ "delivery_date":"最后购气日期","cishu":"总购气次数","pregas":"总购气量",
283
+ "diffday":"未购气总天数"},
284
+ model: new PagedList('rs/sql/inspectList_weinan', 50,{endDate:'this.model.endDate',startDate:'this.model.startDate'},{pregas: 0}),
285
+ rows: null,
286
+ residentialArea: [],
287
+ //orgid:'',
288
+ meterbrands:[],
289
+ show:false,
290
+ sqlName:'inspectList_weinan',
291
+ rowdata:{},
292
+ sumsmodel: {},
293
+ config: {
294
+ defaultPrint: ['f_userinfo_code','f_user_id']
295
+ },
296
+ defaultfield: [],
297
+ }
298
+ },
299
+ watch:{
300
+ meter_classify(val){
301
+ if(val == '卡表') {
302
+ this.url = 'rs/sql/inspectList_weinan'
303
+ this.sqlName = 'inspectList_weinan'
304
+ this.getfield = {"f_userinfo_code":"客户编号","f_meternumber":"表号","f_user_name":"客户名称","f_address":"地址","f_user_type":"用户类型",
305
+ "f_gasproperties":"用气性质","f_table_state":"表具状态","f_meter_brand":"气表品牌","f_price_name":"气价名称",
306
+ "delivery_date":"最后购气日期","cishu":"总购气次数","pregas":"总购气量",
307
+ "diffday":"累计未购气天数"}
308
+ }else{
309
+ this.url = 'rs/sql/handinspectList'
310
+ this.sqlName = 'handinspectList'
311
+ this.getfield = {"f_userinfo_code":"客户编号","f_meternumber":"表号","f_user_name":"客户名称","f_address":"地址","f_user_type":"用户类型",
312
+ "f_gasproperties":"用气性质","f_table_state":"表具状态","f_meter_brand":"气表品牌","f_price_name":"气价名称",
313
+ "delivery_date":"最后抄表日期","cishu":"总抄表次数","pregas":"抄表气量",
314
+ "diffday":"累计未抄表天数"}
315
+ }
316
+ this.clear()
317
+ },
318
+ sumsmodel:{
319
+ handler: function(val) {
320
+ this.getotherfooter();
321
+ },
322
+ deep: true
323
+ }
324
+ },
325
+ ready () {
326
+
327
+ this.getaddress()
328
+ readySomething(this).then(() => {
329
+ this.$emit('ready')
330
+ }).catch((error) => {
331
+ this.$emit('error', error)
332
+ })
333
+ },
334
+ methods: {
335
+ async getaddress(){
336
+ var data = await this.$resetpost('rs/sql/manage_getarealist?pageNo=1&pageSize=99999', {
337
+ data: {
338
+ condition: `1=1 and s.f_orgid = '${this.$login.f.orgid}'`
339
+ },
340
+ }, {resolveMsg: null, rejectMsg: '获取小区失败!'})
341
+ console.log('小区',data)
342
+ let house = [{label: '全部', value: ''}]
343
+ for (let row of data.data){
344
+ house.push({label: row.f_residential_area, value: row.f_residential_area})
345
+ }
346
+ this.residentialArea = house
347
+ },
348
+ initParams() {
349
+ // 初始化气表品牌
350
+ let brandArr = []
351
+ this.$MagGetSaleParam.getGasbrand().forEach((item) => {
352
+ let temp = {}
353
+ temp.label = item.label
354
+ temp.value = item.value.f_meter_brand
355
+ brandArr.push(temp)
356
+ })
357
+ this.meterbrands = [{label: '全部', value: ''}, ...brandArr]
358
+ //初始化气表价格
359
+ this.prices = this.$MagGetSaleParam.getPrices();
360
+ },
361
+ getotherfooter(){
362
+ // this.$refs.paged.$refs.cri.$refs.exports.otherData=[];
363
+ // this.$refs.paged.$refs.cri.$refs.exports.footerData=[];
364
+ this.other=[];
365
+ this.footer=[];
366
+ let exportdata = this.getCondition;
367
+ let otherInData=[];
368
+ otherInData.push(`导出时间: ${this.$login.toStandardTimeString()}`);
369
+ let footerData=[],exportfield=this.getfield;
370
+ footerData.push("合计");
371
+ let self = this;
372
+ for(var field in self.sumsmodel){
373
+ footerData.push(`${exportfield[field]}合计:${self.sumsmodel[field]}`);
374
+ }
375
+ this.footer.push(footerData);
376
+ this.other.push(otherInData);
377
+ },
378
+ getorg (obj) {
379
+ if(obj.resids.length>0){
380
+ this.filialeCodeStr =" and f_orgid in " + plugin.convertToIn(obj.resids)
381
+ }
382
+ else{
383
+ this.filialeCodeStr= " and f_orgid = " + this.$login.f.orgid
384
+ }
385
+ },
386
+
387
+ userTypeChange () {
388
+ this.gasproperties=[]
389
+ if(this.$refs.paged.$refs.cri.model !==null) {
390
+ this.$refs.paged.$refs.cri.model.f_gasproperties=''
391
+ this.gasproperties = this.$appdata.getParam(this.$refs.paged.$refs.cri.model.f_user_type[0])
392
+ }
393
+ else{
394
+ this.gasproperties =[{label: '全部', value: ''}]
395
+ }
396
+ },
397
+
398
+ cancel() {
399
+ this.show = false
400
+ },
401
+ showmsg(obj){
402
+ this.rowdata=obj
403
+ this.show=true
404
+ },
405
+ search () {
406
+ this.$refs.paged.$refs.cri.search()
407
+ },
408
+ selfSearch (args) {
409
+ this.model.url = this.meter_classify === '卡表' ? 'rs/sql/inspectList_weinan': 'rs/sql/handinspectList'
410
+ args.condition = args.condition+ ` ${this.filialeCodeStr}`
411
+ // console.log("拼接的condition", args.condition, this.model)
412
+ this.model.search(args.condition, args.model)
413
+ },
414
+ hidden(){
415
+ this.criteriaShow = !this.criteriaShow
416
+ },
417
+
418
+ clear(){
419
+ Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
420
+ if(key != 'startDate' && key != 'endDate')
421
+ this.$refs.paged.$refs.cri.model[key] = []
422
+ })
423
+ this.$refs.paged.$refs.cri.model.endDate = this.$login.toStandardDateString()
424
+ }
425
+ },
426
+ computed: {
427
+ usertypes() {
428
+ return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('用户类型')]
429
+ },
430
+ pricetypes() {
431
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('气价类型')]
432
+ },
433
+ getPricenames() {
434
+ let f_user_type = this.$refs.paged.$refs.cri.model.f_user_type;
435
+ let f_gasproperties = this.$refs.paged.$refs.cri.model.f_gasproperties;
436
+ let pricetype = this.$refs.paged.$refs.cri.model.pricetype;
437
+ console.log("打印一下:",f_user_type,f_gasproperties,pricetype,this.$login.f.orgid,this.prices)
438
+ if(this.$refs.paged.$refs.cri.model !==null) {
439
+ let rs = []
440
+ let priceArr = []
441
+ if ( pricetype.length >0) {
442
+ let params = {
443
+ f_price_type: pricetype[0],
444
+ filter: this.$login.f.orgid,
445
+ prices: this.prices
446
+ }
447
+ this.$MagGetSaleParam.getPrice(params).forEach((item) => {
448
+ let temp = {}
449
+ temp.label = item.label
450
+ temp.value = item.value.f_price_name
451
+ priceArr.push(temp)
452
+ })
453
+ rs = [{label: '全部', value: ''}, ...priceArr]
454
+ }
455
+ if (rs.length === 0) {
456
+ console.log('rs读出来是空')
457
+ this.$refs.paged.$refs.cri.model.f_price_name = ''
458
+ }
459
+ return rs
460
+ }
461
+ },
462
+ tablestate () {
463
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('气表状态')]
464
+ },
465
+ f_meter_classify(){
466
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('表类型')]
467
+ // return [{label: '卡表', value: '卡表'}]
468
+ },
469
+
470
+ getCondition () {
471
+ let result = {
472
+ condition: '',
473
+ diffDay:' 1=1 ',
474
+ endDate: this.$refs.paged.$refs.cri.model.endDate,
475
+ startDate: this.$refs.paged.$refs.cri.model.startDate,
476
+ }
477
+ result.condition = this.$refs.paged.$refs.cri.condition + this.filialeCodeStr
478
+
479
+ return result
480
+ }
481
+ }
482
+ }
483
+ </script>
484
+ <style media="screen">
485
+ .divtext {
486
+ min-width: 50px;
487
+ max-width: 200px;
488
+ border: 1px solid green;
489
+ display: inline-block;
490
+ }
491
+ </style>
492
+