manage-client 3.2.5 → 3.2.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (467) hide show
  1. package/.babelrc +5 -5
  2. package/.classpath +6 -6
  3. package/.editorconfig +9 -9
  4. package/.eslintrc.js +20 -20
  5. package/.gradle/buildOutputCleanup/cache.properties +2 -2
  6. package/.project +18 -18
  7. package/CHANGELOG.md +15 -15
  8. package/DOC//345/212/237/350/203/275/350/257/264/346/230/216.md +13 -13
  9. package/DOC//347/211/210/346/234/254/344/277/241/346/201/257.md +8 -8
  10. package/ManageClient.iml +13 -13
  11. package/README.md +38 -38
  12. package/build/dev-server.js +174 -174
  13. package/build/webpack.base.conf.js +82 -82
  14. package/build.gradle +13 -13
  15. package/config/dev.env.js +6 -6
  16. package/config/index.js +40 -40
  17. package/config/prod.env.js +3 -3
  18. package/config/test.env.js +6 -6
  19. package/gradle/wrapper/gradle-wrapper.properties +5 -5
  20. package/gradlew.bat +100 -100
  21. package/index.html +28 -28
  22. package/package.json +1 -1
  23. package/release.bat +5 -5
  24. package/src/ManageHome.js +269 -269
  25. package/src/Staff/StaffCompileList.vue +334 -334
  26. package/src/Staff/StaffList.vue +161 -161
  27. package/src/Staff/StaffListManage.vue +49 -49
  28. package/src/Util.js +367 -367
  29. package/src/components/BasisEcharts/BarChart.vue +247 -247
  30. package/src/components/BasisEcharts/LineChart.vue +243 -243
  31. package/src/components/ManageHome/CustomerService/ContentmentStatistics.vue +135 -135
  32. package/src/components/ManageHome/CustomerService/ExcepCollect.vue +174 -174
  33. package/src/components/ManageHome/CustomerService/ReasonComplaint.vue +116 -116
  34. package/src/components/ManageHome/CustomerService/ReasonConsultation.vue +115 -115
  35. package/src/components/ManageHome/CustomerService/ServiceFix.vue +155 -155
  36. package/src/components/ManageHome/CustomerService/ServiceHome.vue +179 -179
  37. package/src/components/ManageHome/CustomerService/ServiceStatistics.vue +147 -147
  38. package/src/components/ManageHome/CustomerService/TrafficStatistics.vue +160 -160
  39. package/src/components/ManageHome/Drill/DrillData.vue +791 -791
  40. package/src/components/ManageHome/Drill/DrillList.vue +320 -320
  41. package/src/components/ManageHome/Drill/DrillPool.vue +129 -129
  42. package/src/components/ManageHome/Home/CallCenter.vue +124 -124
  43. package/src/components/ManageHome/Home/CallFix.vue +172 -172
  44. package/src/components/ManageHome/Home/CallStatistics.vue +147 -147
  45. package/src/components/ManageHome/Home/GasValue.vue +233 -233
  46. package/src/components/ManageHome/Home/Home.vue +138 -138
  47. package/src/components/ManageHome/Home/Monitor.vue +329 -329
  48. package/src/components/ManageHome/Home/NetWork.vue +202 -202
  49. package/src/components/ManageHome/Home/SafeCheck.vue +249 -249
  50. package/src/components/ManageHome/Home/UserModule.vue +367 -367
  51. package/src/components/ManageHome/ImportSupplygas/AddSupply.vue +206 -206
  52. package/src/components/ManageHome/ImportSupplygas/SuppleManagement.vue +43 -43
  53. package/src/components/ManageHome/ImportSupplygas/SupplySelect.vue +85 -85
  54. package/src/components/ManageHome/ImportSupplygas/UpdateSupply.vue +187 -187
  55. package/src/components/ManageHome/ManageHome.vue +292 -292
  56. package/src/components/ManageHome/Monitor/BuySub.vue +311 -311
  57. package/src/components/ManageHome/Monitor/Caveat.vue +300 -300
  58. package/src/components/ManageHome/Monitor/ComparedGas.vue +264 -264
  59. package/src/components/ManageHome/Monitor/MeterBrand.vue +211 -211
  60. package/src/components/ManageHome/Monitor/MonitorCenter.vue +132 -132
  61. package/src/components/ManageHome/Monitor/MonitorHome.vue +188 -188
  62. package/src/components/ManageHome/Monitor/NoBuyGas.vue +223 -223
  63. package/src/components/ManageHome/Monitor/NoContact.vue +233 -233
  64. package/src/components/ManageHome/Monitor/NoGas.vue +202 -202
  65. package/src/components/ManageHome/NetWork/LineInspection.vue +267 -267
  66. package/src/components/ManageHome/NetWork/NetDanger.vue +258 -258
  67. package/src/components/ManageHome/NetWork/NetHome.vue +84 -84
  68. package/src/components/ManageHome/NetWork/SupplyGas.vue +204 -204
  69. package/src/components/ManageHome/SecurityCheck/CheckHome.vue +94 -94
  70. package/src/components/ManageHome/SecurityCheck/CustomerType.vue +244 -244
  71. package/src/components/ManageHome/SecurityCheck/LatentDanger.vue +218 -218
  72. package/src/components/ManageHome/SecurityCheck/PlanStatistics.vue +231 -231
  73. package/src/components/ManageHome/SecurityCheck/StateStatistics.vue +237 -237
  74. package/src/components/ManageHome/SecurityCheck/TaskStatistics.vue +303 -303
  75. package/src/components/ManageHome/User/GasDistri.vue +271 -271
  76. package/src/components/ManageHome/User/InspecDistri.vue +272 -272
  77. package/src/components/ManageHome/User/SaleProportion.vue +309 -309
  78. package/src/components/ManageHome/User/UseHome.vue +155 -155
  79. package/src/components/ManageHome/User/UserGascontrast.vue +223 -223
  80. package/src/components/ManageHome/User/UserNumber.vue +519 -519
  81. package/src/components/ManageHome/User/UsernumIncrease.vue +243 -243
  82. package/src/components/ManageHome/loading.vue +23 -23
  83. package/src/components/ManageHomeCS/Cockpit.vue +43 -43
  84. package/src/components/ManageHomeCS/CustomerService/ContentmentStatistics.vue +161 -161
  85. package/src/components/ManageHomeCS/CustomerService/ExcepCollect.vue +201 -201
  86. package/src/components/ManageHomeCS/CustomerService/ReasonComplaint.vue +146 -146
  87. package/src/components/ManageHomeCS/CustomerService/ReasonConsultation.vue +148 -148
  88. package/src/components/ManageHomeCS/CustomerService/ServiceFix.vue +242 -242
  89. package/src/components/ManageHomeCS/CustomerService/ServiceHome.vue +176 -176
  90. package/src/components/ManageHomeCS/CustomerService/ServiceStatistics.vue +277 -277
  91. package/src/components/ManageHomeCS/CustomerService/TrafficStatistics.vue +226 -226
  92. package/src/components/ManageHomeCS/Drill/DrillData.vue +918 -918
  93. package/src/components/ManageHomeCS/Drill/DrillList.vue +320 -320
  94. package/src/components/ManageHomeCS/Drill/DrillPool.vue +129 -129
  95. package/src/components/ManageHomeCS/Home/CallCenter.vue +206 -206
  96. package/src/components/ManageHomeCS/Home/CallFix.vue +172 -172
  97. package/src/components/ManageHomeCS/Home/CallStatistics.vue +147 -147
  98. package/src/components/ManageHomeCS/Home/GasValue.vue +466 -466
  99. package/src/components/ManageHomeCS/Home/Home.vue +57 -57
  100. package/src/components/ManageHomeCS/Home/Monitor.vue +423 -423
  101. package/src/components/ManageHomeCS/Home/NetWork.vue +223 -223
  102. package/src/components/ManageHomeCS/Home/SafeCheck.vue +446 -446
  103. package/src/components/ManageHomeCS/Home/ShanxiMap.vue +432 -432
  104. package/src/components/ManageHomeCS/Home/UserModule.vue +511 -511
  105. package/src/components/ManageHomeCS/Home/YulinMap.vue +424 -424
  106. package/src/components/ManageHomeCS/ImportSupplygas/AddSupply.vue +206 -206
  107. package/src/components/ManageHomeCS/ImportSupplygas/SuppleManagement.vue +43 -43
  108. package/src/components/ManageHomeCS/ImportSupplygas/SupplySelect.vue +85 -85
  109. package/src/components/ManageHomeCS/ImportSupplygas/UpdateSupply.vue +187 -187
  110. package/src/components/ManageHomeCS/Monitor/BuySub.vue +339 -339
  111. package/src/components/ManageHomeCS/Monitor/Caveat.vue +301 -301
  112. package/src/components/ManageHomeCS/Monitor/ComparedGas.vue +276 -276
  113. package/src/components/ManageHomeCS/Monitor/MeterBrand.vue +220 -220
  114. package/src/components/ManageHomeCS/Monitor/MonitorCenter.vue +139 -139
  115. package/src/components/ManageHomeCS/Monitor/MonitorHome.vue +188 -188
  116. package/src/components/ManageHomeCS/Monitor/NoBuyGas.vue +218 -218
  117. package/src/components/ManageHomeCS/Monitor/NoContact.vue +217 -217
  118. package/src/components/ManageHomeCS/Monitor/NoGas.vue +214 -214
  119. package/src/components/ManageHomeCS/NetWork/LineInspection.vue +268 -268
  120. package/src/components/ManageHomeCS/NetWork/NetDanger.vue +258 -258
  121. package/src/components/ManageHomeCS/NetWork/NetHome.vue +106 -106
  122. package/src/components/ManageHomeCS/NetWork/NetWork.vue +222 -222
  123. package/src/components/ManageHomeCS/NetWork/NetWorkMap.vue +86 -86
  124. package/src/components/ManageHomeCS/NetWork/SupplyGas.vue +291 -291
  125. package/src/components/ManageHomeCS/NewHome/GasProperties.vue +314 -314
  126. package/src/components/ManageHomeCS/NewHome/NewManageHome.vue +182 -182
  127. package/src/components/ManageHomeCS/NewHome/TextBusiness.vue +267 -267
  128. package/src/components/ManageHomeCS/NewHome/TextChildsellgas.vue +209 -209
  129. package/src/components/ManageHomeCS/NewHome/TextProfit.vue +298 -298
  130. package/src/components/ManageHomeCS/NewHome/TextSellgas.vue +82 -82
  131. package/src/components/ManageHomeCS/NewHome/TextShanximap.vue +389 -389
  132. package/src/components/ManageHomeCS/NewHome/TextTotalsellgas.vue +406 -406
  133. package/src/components/ManageHomeCS/NewHome/TextUser.vue +378 -378
  134. package/src/components/ManageHomeCS/NewHome/yulin.vue +425 -425
  135. package/src/components/ManageHomeCS/Poor/PoorHome.vue +176 -176
  136. package/src/components/ManageHomeCS/SecurityCheck/CheckHome.vue +94 -94
  137. package/src/components/ManageHomeCS/SecurityCheck/CustomerType.vue +246 -246
  138. package/src/components/ManageHomeCS/SecurityCheck/LatentDanger.vue +220 -220
  139. package/src/components/ManageHomeCS/SecurityCheck/PlanStatistics.vue +306 -306
  140. package/src/components/ManageHomeCS/SecurityCheck/StateStatistics.vue +239 -239
  141. package/src/components/ManageHomeCS/SecurityCheck/TaskStatistics.vue +311 -311
  142. package/src/components/ManageHomeCS/User/FMYInspecDistri.vue +269 -269
  143. package/src/components/ManageHomeCS/User/GasDistri.vue +220 -220
  144. package/src/components/ManageHomeCS/User/MYInspecDistri.vue +269 -269
  145. package/src/components/ManageHomeCS/User/SaleProportion.vue +384 -384
  146. package/src/components/ManageHomeCS/User/UseHome.vue +162 -162
  147. package/src/components/ManageHomeCS/User/UserGascontrast.vue +221 -221
  148. package/src/components/ManageHomeCS/User/UserNumber.vue +600 -600
  149. package/src/components/ManageHomeCS/User/UsernumIncrease.vue +277 -277
  150. package/src/components/ManageHomeCS/loading.vue +39 -39
  151. package/src/components/ManageHomeCS/test.vue +88 -88
  152. package/src/components/MeterManage/ChangeMeterQuery.vue +82 -82
  153. package/src/components/MeterManage/ChargeQuery.vue +79 -79
  154. package/src/components/MeterManage/FillCardQuery.vue +80 -80
  155. package/src/components/MeterManage/FillGasQuery.vue +80 -80
  156. package/src/components/MeterManage/HandQuery.vue +72 -72
  157. package/src/components/MeterManage/MeterInfoManage.vue +107 -107
  158. package/src/components/MeterManage/MeterList.vue +336 -336
  159. package/src/components/MeterManage/MeterMsg.vue +181 -181
  160. package/src/components/MeterManage/OtherChargeQuery.vue +78 -78
  161. package/src/components/MeterManage/ReversalQuery.vue +77 -77
  162. package/src/components/MeterManage/TransferQuery.vue +72 -72
  163. package/src/components/SellReport/AmountGas.vue +257 -257
  164. package/src/components/SellReport/BankManager.vue +146 -146
  165. package/src/components/SellReport/BonSummary.vue +244 -244
  166. package/src/components/SellReport/BusinessMoneyReport.vue +268 -268
  167. package/src/components/SellReport/BusinessReport.vue +256 -256
  168. package/src/components/SellReport/CaiManageDayGas.vue +280 -280
  169. package/src/components/SellReport/ChManageBusSummary.vue +273 -273
  170. package/src/components/SellReport/ChManageHandSellMoney.vue +274 -274
  171. package/src/components/SellReport/ChManageMonthGas.vue +285 -285
  172. package/src/components/SellReport/ChOtherfee.vue +251 -251
  173. package/src/components/SellReport/ChSellReport.vue +251 -251
  174. package/src/components/SellReport/ChargeBill.vue +244 -244
  175. package/src/components/SellReport/ChargeDayTable.vue +258 -258
  176. package/src/components/SellReport/ChargeMonthTable.vue +257 -257
  177. package/src/components/SellReport/ChargeYearTable.vue +252 -252
  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/DeptHomePage.vue +299 -299
  182. package/src/components/SellReport/FenxiangSell.vue +183 -183
  183. package/src/components/SellReport/FxGasTable.vue +220 -220
  184. package/src/components/SellReport/GasCollect.vue +174 -174
  185. package/src/components/SellReport/GasMeterBrand.vue +228 -228
  186. package/src/components/SellReport/GasPriceGroup.vue +228 -228
  187. package/src/components/SellReport/GasSummary.vue +257 -257
  188. package/src/components/SellReport/Gasc.vue +257 -257
  189. package/src/components/SellReport/GaspriceHas.vue +141 -141
  190. package/src/components/SellReport/GetUserNum.vue +240 -240
  191. package/src/components/SellReport/HandCollect.vue +189 -189
  192. package/src/components/SellReport/HandplanBili.vue +241 -241
  193. package/src/components/SellReport/HandplanUserCount.vue +227 -227
  194. package/src/components/SellReport/JinChengBusSummary.vue +182 -182
  195. package/src/components/SellReport/JinChengHandGas.vue +182 -182
  196. package/src/components/SellReport/JinChengOperSummary.vue +182 -182
  197. package/src/components/SellReport/JinChengSliceSumgas.vue +182 -182
  198. package/src/components/SellReport/ManageBusTable.vue +207 -207
  199. package/src/components/SellReport/ManageGasFee.vue +247 -247
  200. package/src/components/SellReport/ManageGasFeeOperator.vue +236 -236
  201. package/src/components/SellReport/ManageGasPrice.vue +241 -241
  202. package/src/components/SellReport/ManageGasSumChange.vue +265 -265
  203. package/src/components/SellReport/ManageGasSumChangeTwo.vue +271 -271
  204. package/src/components/SellReport/ManageGasSumOtherCharge.vue +244 -244
  205. package/src/components/SellReport/ManageHandSellInputtor.vue +241 -241
  206. package/src/components/SellReport/ManageMonthGas.vue +249 -249
  207. package/src/components/SellReport/ManageNewGasPrice.vue +245 -245
  208. package/src/components/SellReport/ManageReceivable.vue +254 -254
  209. package/src/components/SellReport/ManageUserCollect.vue +183 -183
  210. package/src/components/SellReport/MeterBill.vue +185 -185
  211. package/src/components/SellReport/MeterGasMoney.vue +226 -226
  212. package/src/components/SellReport/MeterInput.vue +250 -250
  213. package/src/components/SellReport/MeterPrice.vue +244 -244
  214. package/src/components/SellReport/MeterReader.vue +231 -231
  215. package/src/components/SellReport/MonthStairMoney.vue +256 -256
  216. package/src/components/SellReport/NonResidentGas.vue +244 -244
  217. package/src/components/SellReport/OperatorSellReport.vue +268 -268
  218. package/src/components/SellReport/OutletTable.vue +258 -258
  219. package/src/components/SellReport/OweAging.vue +174 -174
  220. package/src/components/SellReport/PaymentDistribute.vue +228 -228
  221. package/src/components/SellReport/PaymentMethod.vue +274 -274
  222. package/src/components/SellReport/QTXManageBusSummary.vue +236 -236
  223. package/src/components/SellReport/QibiaoShouqi.vue +282 -282
  224. package/src/components/SellReport/ReportHistory.vue +80 -80
  225. package/src/components/SellReport/ReportPool.vue +60 -60
  226. package/src/components/SellReport/SellDepReport.vue +266 -266
  227. package/src/components/SellReport/Selling.vue +188 -188
  228. package/src/components/SellReport/SiteManager.vue +147 -147
  229. package/src/components/SellReport/UserGasFillCard.vue +441 -441
  230. package/src/components/SellReport/UserSellingGas.vue +251 -251
  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/InspectManage.vue +47 -47
  287. package/src/components/sale/businessquery/NewAccountQuery.vue +409 -409
  288. package/src/components/sale/businessquery/OtherChargeDetailQuery.vue +74 -74
  289. package/src/components/sale/businessquery/ResourceOperatingQuery.vue +317 -317
  290. package/src/components/sale/businessquery/TongjiManage.vue +74 -74
  291. package/src/components/sale/businessquery/UserTongjiQuery.vue +358 -358
  292. package/src/components/sale/businessquery/YearGasQuery.vue +422 -422
  293. package/src/components/sale/businessquery/analysisquery/AnalysisManage.vue +65 -65
  294. package/src/components/sale/businessquery/weChatBind.vue +361 -361
  295. package/src/components/sale/common/PrintData.vue +171 -171
  296. package/src/components/sale/common/PrintDataSelf.vue +225 -225
  297. package/src/components/sale/common/PrintTable.vue +228 -228
  298. package/src/components/sale/common/PrintTableSelf.vue +251 -251
  299. package/src/components/sale/common/TabButton.vue +155 -155
  300. package/src/components/sale/common/Tabs.vue +67 -67
  301. package/src/components/sale/common/handplanUser.vue +112 -112
  302. package/src/components/sale/config/DefaultPrint.js +6 -6
  303. package/src/components/sale/config/tableConfig.js +48 -48
  304. package/src/components/sale/filesquery/detail/UserBaseInfo.vue +69 -69
  305. package/src/components/sale/filesquery/detail/UserDetail.vue +41 -41
  306. package/src/components/sale/filesquery/detail/UserOperInfo.vue +76 -76
  307. package/src/components/sale/filesquery/detail/oper/ChangeMessage.vue +46 -46
  308. package/src/components/sale/filesquery/detail/oper/ExchangeOper.vue +66 -66
  309. package/src/components/sale/filesquery/detail/oper/HandOper.vue +46 -46
  310. package/src/components/sale/filesquery/detail/oper/HandleMessage.vue +46 -46
  311. package/src/components/sale/filesquery/detail/oper/OtherCharge.vue +54 -54
  312. package/src/components/sale/filesquery/detail/oper/ReplaceCard.vue +51 -51
  313. package/src/components/sale/filesquery/detail/oper/SellOper.vue +56 -56
  314. package/src/components/sale/filesquery/detail/oper/TransferMessage.vue +55 -55
  315. package/src/components/sale/filesquery/filequerydetail/BlackListQueryDetail.vue +219 -219
  316. package/src/components/sale/filesquery/filequerydetail/ChangeMeterQueryDetail.vue +246 -246
  317. package/src/components/sale/filesquery/filequerydetail/ChargeQueryDetail.vue +239 -239
  318. package/src/components/sale/filesquery/filequerydetail/DeviceQueryDetail.vue +126 -126
  319. package/src/components/sale/filesquery/filequerydetail/DisableQueryDetail.vue +272 -272
  320. package/src/components/sale/filesquery/filequerydetail/EnableQueryDetail.vue +274 -274
  321. package/src/components/sale/filesquery/filequerydetail/FillCardQueryDetail.vue +80 -80
  322. package/src/components/sale/filesquery/filequerydetail/FillGasQueryDetail.vue +80 -80
  323. package/src/components/sale/filesquery/filequerydetail/HandQueryDetail.vue +302 -302
  324. package/src/components/sale/filesquery/filequerydetail/MeterQueryDetail.vue +158 -158
  325. package/src/components/sale/filesquery/filequerydetail/OtherChargeQueryDetail.vue +198 -198
  326. package/src/components/sale/filesquery/filequerydetail/RecordQueryDetail.vue +125 -125
  327. package/src/components/sale/filesquery/filequerydetail/SellingHandDetail.vue +280 -280
  328. package/src/components/sale/filesquery/filequerydetail/TransferQueryDetail.vue +160 -160
  329. package/src/components/sale/filesquery/filequerydetail/UserQueryDetail.vue +155 -155
  330. package/src/components/sale/report/aode/DayReport.vue +50 -50
  331. package/src/components/sale/report/aode/DayReportSummary.vue +75 -75
  332. package/src/components/sale/report/aode/MonthByChargeType.vue +446 -446
  333. package/src/components/sale/report/aode/MonthByUserType.vue +413 -413
  334. package/src/components/sale/report/aode/YearByChargeTpye.vue +215 -215
  335. package/src/components/sale/report/aode/YearByUserType.vue +272 -272
  336. package/src/components/sale/report/aode/life/LifeDayReport.vue +50 -50
  337. package/src/components/sale/report/aode/life/LifeDayReportList.vue +241 -241
  338. package/src/components/sale/report/aode/life/LifeDayReportSummary.vue +49 -49
  339. package/src/components/sale/report/aode/life/LifeMonthReport.vue +303 -303
  340. package/src/components/sale/report/aode/life/LifeYearReport.vue +175 -175
  341. package/src/components/sale/report/aode/widget/LifeDayReportListPrint.vue +189 -189
  342. package/src/components/sale/report/aode/widget/LifeMonthPrint.vue +153 -153
  343. package/src/components/sale/report/aode/widget/LifeYearPrint.vue +143 -143
  344. package/src/components/sale/report/aode/widget/MonthByChargePrint.vue +236 -236
  345. package/src/components/sale/report/aode/widget/MonthByUserPrint.vue +232 -232
  346. package/src/components/sale/report/aode/widget/YearByChargePrint.vue +203 -203
  347. package/src/components/sale/report/aode/widget/YearByUserPrint.vue +225 -225
  348. package/src/components/scada/CaculateGasConsumputionByDay/CaculateGasConsumputionByDay.vue +290 -290
  349. package/src/components/scada/ChartDisplay/ChartDisplayManage.vue +55 -55
  350. package/src/components/scada/ChartDisplay/ChartThreeDayContrast.vue +164 -164
  351. package/src/components/scada/CumulativeFlow/CumulativeFlowHeatPlant.vue +400 -400
  352. package/src/components/scada/CumulativeFlow/CumulativeFlowManage.vue +59 -59
  353. package/src/components/scada/CumulativeFlow/CumulativeFlowRegulatorStation.vue +504 -504
  354. package/src/components/scada/CumulativeFlow/CumulativeFlowStation.vue +248 -248
  355. package/src/components/scada/GasSupplyRunning/GasSupplyRunningByDay.vue +297 -297
  356. package/src/components/scada/InstantaneousFlow/InstantaneousFlowHeatPlant.vue +389 -389
  357. package/src/components/scada/InstantaneousFlow/InstantaneousFlowManage.vue +57 -57
  358. package/src/components/scada/InstantaneousFlow/InstantaneousFlowRegulatorStation.vue +503 -503
  359. package/src/components/scada/InstantaneousFlow/InstantaneousFlowStation.vue +244 -244
  360. package/src/components/scada/OnTimePressure/OnTimePressureHeatPlant.vue +356 -356
  361. package/src/components/scada/OnTimePressure/OnTimePressureManage.vue +51 -51
  362. package/src/components/scada/OnTimePressure/OnTimePressureRegulatorStation.vue +526 -526
  363. package/src/components/scada/ThreeDayContrast/ThreeDayContrastManage.vue +282 -282
  364. package/src/components/webmeter/DrillData/LargeScreenAnalysisEcharts.vue +710 -710
  365. package/src/components/webmeter/DrillData/LostContactAnalysis.vue +531 -531
  366. package/src/components/webmeter/DrillData/LostContactAnalysisManage.vue +30 -30
  367. package/src/components/webmeter/DrillData/LostContactEform.vue +190 -190
  368. package/src/components/webmeter/DrillData/UserGasAll.vue +6 -7
  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/instruction/NewQueryInstruct.vue +10 -12
  377. package/src/components/webmeter/meterinfo/NewMeterList.vue +414 -414
  378. package/src/components/webmeter/meterinfo/NewMeterListMain.vue +53 -53
  379. package/src/components/webmeter/newwebmeter/NewException/NewExceptionEform.vue +149 -149
  380. package/src/components/webmeter/newwebmeter/NewException/NewExceptionEformTotal.vue +211 -211
  381. package/src/components/webmeter/newwebmeter/NewException/NewMeterException.vue +449 -449
  382. package/src/components/webmeter/newwebmeter/UserGasEchartsList.vue +1 -0
  383. package/src/components/webmeter/report/ReportList.vue +14 -13
  384. package/src/components/yulin/GuanWang.vue +24 -24
  385. package/src/components/yulin/SingleBarLine.vue +352 -352
  386. package/src/components/yulin/Weather.vue +157 -157
  387. package/src/expandcss.less +26 -26
  388. package/src/filiale/WEINAN/InspectListUser.vue +492 -492
  389. package/src/filiale/WEINAN/OtherChargeQuery.vue +521 -521
  390. package/src/filiale/WEINAN/config/tableConfig.js +2 -0
  391. package/src/filiale/aode/ArchivesManage.vue +38 -38
  392. package/src/filiale/aode/BusinessManage.vue +94 -94
  393. package/src/filiale/aode/DefaultPrint.js +6 -6
  394. package/src/filiale/aode/HandplanQuery.vue +632 -632
  395. package/src/filiale/aode/Tabs.vue +67 -67
  396. package/src/filiale/aode/UserQuery.vue +599 -599
  397. package/src/filiale/aode/sale.js +17 -17
  398. package/src/filiale/ceshi/ArrearsQuery.vue +642 -642
  399. package/src/filiale/ceshi/ChManageBusSummary.vue +293 -293
  400. package/src/filiale/ceshi/CollectManage.vue +94 -94
  401. package/src/filiale/ceshi/MeterRateQuery.vue +633 -633
  402. package/src/filiale/ceshi/TabButton.vue +149 -149
  403. package/src/filiale/ceshi/Tabs.vue +69 -69
  404. package/src/filiale/ceshi/reportManage.js +5 -5
  405. package/src/filiale/ceshi/sale.js +11 -11
  406. package/src/filiale/gaomi/config/DefaultPrint.js +6 -6
  407. package/src/filiale/gaomi/config/tableConfig.js +47 -47
  408. package/src/filiale/gongyi/sale/businessquery/exportConfig.js +17 -17
  409. package/src/filiale/gongyi/sale/filesquery/MeterQuery.vue +718 -718
  410. package/src/filiale/liaoyuan/sale.js +11 -11
  411. package/src/filiale/macheng/config/DefaultPrint.js +12 -12
  412. package/src/filiale/qingtongxia/config/DefaultPrint.js +6 -6
  413. package/src/filiale/qingtongxia/sale.js +13 -13
  414. package/src/filiale/shaoguan/OtherChargeDetailQuery.vue +74 -74
  415. package/src/filiale/shaoguan/RecordInfoQuery.vue +87 -79
  416. package/src/filiale/shaoguan/config/DefaultPrint.js +6 -6
  417. package/src/filiale/shennongjia/config/DefaultPrint.js +6 -6
  418. package/src/filiale/shennongjia/config/tableConfig.js +47 -47
  419. package/src/filiale/shennongjia/sale.js +10 -10
  420. package/src/filiale/tongchuan/config/exportConfig.js +1 -1
  421. package/src/filiale/wuhai/ChargeQuery.vue +1247 -0
  422. package/src/filiale/wuhai/sale.js +10 -0
  423. package/src/main.js +1 -1
  424. package/src/plugins/GetLoginInfoService.js +505 -505
  425. package/src/plugins/LodopFuncs.js +124 -124
  426. package/src/plugins/getAllInputtor.js +29 -29
  427. package/src/safeCheck.js +63 -63
  428. package/src/stores/AppData.js +62 -62
  429. package/src/stores/DataSql.js +585 -585
  430. package/src/stores/DrillECharts.js +602 -602
  431. package/src/stores/DrillSql.js +888 -888
  432. package/src/stores/GetParames.js +15 -15
  433. package/src/stores/MagGetSaleParams.js +156 -156
  434. package/src/stores/MagLoadParams.js +63 -63
  435. package/src/stores/Util.js +132 -132
  436. package/src/stores/shanxi1.js +26 -26
  437. package/src/stores/yulin.js +27 -27
  438. package/src/webmeterManage.js +105 -105
  439. package/static/china.json +1 -1
  440. package/static/qh.json +2410 -2410
  441. package/static/res.json +58411 -58411
  442. package/static/shanxi1.json +1 -1
  443. package/static/yulin.json +1 -1
  444. package/static//345/261/261/344/270/234/347/234/201.json +1 -1
  445. package/test/unit/.eslintrc +5 -5
  446. package/test/unit/TestUtil.js +35 -35
  447. package/test/unit/context.html +20 -20
  448. package/test/unit/index.js +13 -13
  449. package/test/unit/init.js +11 -11
  450. package/test/unit/karma.conf.js +45 -45
  451. package/test/unit/specs/components/CallReport/Repair.spec.js +25 -25
  452. package/test/unit/specs/components/ManageBusiness/EquipmentQuery.spec.js +21 -21
  453. package/test/unit/specs/components/ManageBusiness/TableWithQuery.spec.js +21 -21
  454. package/test/unit/specs/components/ManageBusiness/UserQuery.spec.js +21 -21
  455. package/webstorm.config.js +13 -13
  456. package/.gradle/6.1.1/fileContent/fileContent.lock +0 -0
  457. package/.gradle/7.1/dependencies-accessors/dependencies-accessors.lock +0 -0
  458. package/.gradle/7.1/dependencies-accessors/gc.properties +0 -0
  459. package/.gradle/7.1/executionHistory/executionHistory.bin +0 -0
  460. package/.gradle/7.1/executionHistory/executionHistory.lock +0 -0
  461. package/.gradle/7.1/fileChanges/last-build.bin +0 -0
  462. package/.gradle/7.1/fileHashes/fileHashes.bin +0 -0
  463. package/.gradle/7.1/fileHashes/fileHashes.lock +0 -0
  464. package/.gradle/7.1/gc.properties +0 -0
  465. package/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
  466. package/build/libs/ManageClient-3.1.0-17.jar +0 -0
  467. package/build/tmp/jar/MANIFEST.MF +0 -2
@@ -1,745 +1,745 @@
1
- <template>
2
- <div class="flex" style="flex:1;" @keyup.enter="search1">
3
- <criteria-paged :model="model" v-ref:paged>
4
- <criteria @condition-changed='$parent.search' partial='criteria' v-ref:criteria>
5
- <div class="form-horizontal select-overspread container-fluid auto" novalidate partial
6
- v-show="$parent.$parent.isdeal">
7
- <div class="row" width="100%">
8
- <div class="col-sm-2 form-group">
9
- <label class="font_normal_body">表&emsp;&emsp;号</label>
10
- <input style="width:60%" class="input_search" condition="mr.f_meternumber like '%{}%'"
11
- placeholder='表号'
12
- type="text"
13
- v-model="model.f_meternumber"
14
- >
15
- </div>
16
- <div class="col-sm-2 form-group">
17
- <label class="font_normal_body">客户编号</label>
18
- <input style="width:60%" class="input_search" condition="u.f_userinfo_code like '%{}%'"
19
- placeholder='客户编号'
20
- type="text"
21
- v-model="model.f_userinfo_code">
22
- </div>
23
- <div class="col-sm-2 form-group">
24
- <label class="font_normal_body">客户名称</label>
25
- <input style="width:60%" class="input_search" condition="mr.f_user_name like '%{}%'" placeholder='客户名称'
26
- type="text"
27
- v-model="model.f_user_name">
28
- </div>
29
- <div class="col-sm-3 form-group button-range">
30
- <button @click="search()" class="button_search button_spacing" v-el:cba>查询</button>
31
- <button @click="$parent.$parent.clearmsg" class="button_clear button_spacing">清空</button>
32
- <!--<label class="font_normal_body"></label>
33
- <button class="btn btn-success width-100" @click="$parent.$parent.SaveAsFile('webmeterhandplan')">导出</button>-->
34
- <!-- </div>-->
35
- <!-- <div class="col-sm-2 form-group form-group">-->
36
- <export-excel
37
- :choose-col="true"
38
- :data="{condition: $parent.$parent.condition}"
39
- :field="$parent.$parent.getfield" sql-name="manage_getNewAllWebHandPlan" sqlurl="rs/logic/exportfile"
40
- template-name='数据采集'></export-excel>
41
- <div style="float: right" class="button_spacing"
42
- :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
43
- @click="$parent.$parent.hidden()"></div>
44
- <!-- <span style="padding-left: 30px; ">-->
45
- <!-- <report-excel class="btn btn-success" id="grid"></report-excel>-->
46
- <!-- </span>-->
47
- </div>
48
- </div>
49
- <div class="row" v-show="$parent.$parent.criteriaShow">
50
- <div class="col-sm-2 form-group">
51
- <label class="font_normal_body">用气地址</label>
52
- <input style="width:60%" class="input_search" condition="u.f_address like '%{}%'" placeholder='用气地址'
53
- type="text"
54
- v-model="model.f_address"
55
- >
56
- </div>
57
- <div class="col-sm-2 form-group">
58
- <label class="font_normal_body">用户类型</label>
59
- <v-select :options="$parent.$parent.Gasusertype" :value.sync="model.f_user_type"
60
- close-on-select
61
- style="width:60%"
62
- condition="ui.f_user_type = '{}'"
63
- placeholder='用户类型'
64
- v-model="model.f_user_type"
65
- value-single="true"
66
- >
67
- </v-select>
68
- </div>
69
- <div class="col-sm-2 form-group">
70
- <label class="font_normal_body">用气性质</label>
71
- <v-select :options="$parent.$parent.Gasproperties" :value.sync="model.f_gasproperties"
72
- close-on-select
73
- style="width:60%"
74
- condition="ui.f_gasproperties = '{}'"
75
- placeholder='用气性质'
76
- v-model="model.f_gasproperties"
77
- value-single="true">
78
- </v-select>
79
- </div>
80
- <!--<div class="col-sm-2 form-group">
81
- <label class="font_normal_body">阀门状态</label>
82
- <v-select placeholder='阀门状态' close-on-select
83
- v-model="model.f_valvestate"
84
- :value.sync="model.f_valvestate"
85
- condition="mr.f_valvestate like '%{}%'"
86
- :options="$parent.$parent.Valvestates">
87
- </v-select>
88
- </div>-->
89
- <!--<div class="col-sm-2 form-group">
90
- <label class="font_normal_body">上报类型</label>
91
- <v-select placeholder='上报类型' close-on-select
92
- v-model="model.f_upload_type"
93
- :value.sync="model.f_upload_type"
94
- :options="$parent.$parent.Getuploadtype"
95
- condition="mr.f_upload_type = '{}'"
96
- >
97
- </v-select>
98
- </div>-->
99
- <div class="col-sm-2 form-group">
100
- <label class="font_normal_body" style="word-break:keep-all;">上报时间</label>
101
- <datepicker :format="'yyyy-MM-dd HH:mm:ss'"
102
- :value.sync="model.startDate"
103
- style="width:60%"
104
- condition="mr.f_insert_date >= '{}'"
105
- placeholder="起始时间"
106
- v-model="model.startDate"
107
- ></datepicker>
108
- </div>
109
- <div class="col-sm-2 form-group">
110
- <label class="font_normal_body" style="word-break:keep-all;">&emsp;&ensp;至&emsp;</label>
111
- <datepicker :format="'yyyy-MM-dd HH:mm:ss'"
112
- :value.sync="model.endDate"
113
- style="width:60%"
114
- condition="mr.f_insert_date <= '{}'"
115
- placeholder="结束时间"
116
- v-model="model.endDate"
117
- ></datepicker>
118
- </div>
119
- <div class="col-sm-2 form-group">
120
- <label class="font_normal_body" style="word-break:keep-all;">安装时间</label>
121
- <datepicker :format="'yyyy-MM-dd HH:mm:ss'"
122
- :value.sync="model.startDate1"
123
- style="width:60%"
124
- condition="ui.f_gas_date >= '{}'"
125
- placeholder="起始时间"
126
- v-model="model.startDate1"
127
- ></datepicker>
128
- </div>
129
- <div class="col-sm-2 form-group">
130
- <label class="font_normal_body" style="word-break:keep-all;">&emsp;&ensp;至&emsp;</label>
131
- <datepicker :format="'yyyy-MM-dd HH:mm:ss'"
132
- :value.sync="model.endDate1"
133
- style="width:60%"
134
- condition="ui.f_gas_date <= '{}'"
135
- placeholder="结束时间"
136
- v-model="model.endDate1"
137
- ></datepicker>
138
- </div>
139
- <!--<div class="col-sm-2 form-group">-->
140
- <!--<label class="font_normal_body">故障状态</label>-->
141
- <!--<v-select placeholder='故障状态'-->
142
- <!--v-model="model.faultstate"-->
143
- <!--multiple-->
144
- <!--:value.sync="model.faultstate"-->
145
- <!--:options="$parent.$parent.FaultStates">-->
146
- <!--</v-select>-->
147
- <!--</div>-->
148
- <div class="col-sm-2 form-group">
149
- <label class="font_normal_body">用&ensp;气&ensp;量</label>
150
- <input style="width:60%" class="input_search" condition="h.f_oughtamount >= '{}'" placeholder='最小气量' type="text"
151
- v-el:start_gas v-model="model.start_gas" v-next-el='start_gas'>
152
- </div>
153
- <div class="col-sm-2 form-group">
154
- <label class="font_normal_body" style="word-break:keep-all;">&emsp;&ensp;至&emsp;</label>
155
- <input style="width:60%" class="input_search" condition="h.f_oughtamount <= '{}'" placeholder='最大气量' type="text"
156
- v-el:end_gas v-el:xq v-model="model.end_gas" v-next-el='end_gas'
157
- >
158
- </div>
159
- <div class="col-sm-2 form-group">
160
- <label class="font_normal_body">剩余金额</label>
161
- <input style="width:60%" class="input_search" condition="h.f_curbalance >= '{}'"
162
- placeholder='最小金额'
163
- type="text"
164
- v-model="model.start_f_balance">
165
- </div>
166
- <div class="col-sm-2 form-group">
167
- <label class="font_normal_body">&emsp;&ensp;至&emsp;</label>
168
- <input style="width:60%" class="input_search" condition="h.f_curbalance <= '{}'"
169
- placeholder='最大金额'
170
- type="text"
171
- v-model="model.end_f_balance"
172
- >
173
- </div>
174
- <!--<div class="col-sm-2 form-group" >
175
- <label class="font_normal_body">标记名称</label>
176
- <v-select placeholder='标记名称' close-on-select
177
- v-model="model.f_parameter_name"
178
- :value.sync="model.f_parameter_name"
179
- :options="$parent.$parent.parameterName"
180
- condition="p.f_parameter_name = '{}'">
181
- </v-select>
182
- </div>-->
183
- <!--<div class="col-sm-2 form-group" >
184
- <label class="font_normal_body" style="word-break:keep-all;">操作时间</label>
185
- <datepicker placeholder="起始时间"
186
- :value.sync="model.startDate2"
187
- v-model="model.startDate2"
188
- :format="'yyyy-MM-dd HH:mm:ss'"
189
- condition="p.f_parameter_date >= '{}'"
190
- ></datepicker>
191
- </div>
192
- <div class="col-sm-2 form-group" >
193
- <label class="font_normal_body" style="word-break:keep-all;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;至&nbsp;&nbsp;&nbsp;</label>
194
- <datepicker placeholder="结束时间"
195
- :value.sync="model.endDate2"
196
- v-model="model.endDate2"
197
- :format="'yyyy-MM-dd HH:mm:ss'"
198
- condition="p.f_parameter_date <= '{}'"
199
- ></datepicker>
200
- </div>-->
201
- <!--<div class="col-sm-2 form-group" >
202
- <label class="font_normal_body">标记状态</label>
203
- <v-select placeholder='标记状态' close-on-select
204
- v-model="model.f_parameter_state"
205
- :value.sync="model.f_parameter_state"
206
- :options="$parent.$parent.getSignStatus"
207
- condition="p.f_parameter_state {}">
208
- </v-select>
209
- </div>-->
210
- <div class="col-sm-2 form-group form-fix-width">
211
- <label class="font_normal_body" >使用公司</label>
212
- <res-select :initresid="$parent.$parent.orgid"
213
- style="width:60%"
214
- @res-select="$parent.$parent.getRes"
215
- restype='organization'>
216
- </res-select>
217
- </div>
218
- </div>
219
- </div>
220
- </criteria>
221
- <data-grid :model="model" class="list_area table_sy" id="webmeterhandplan" partial='list' v-ref:grid>
222
- <template partial='head'>
223
- <tr>
224
- <th style="text-align:center" v-show="!$parent.$parent.$parent.isdeal">
225
- <nobr>操作</nobr>
226
- </th>
227
- <th style="text-align:center">
228
- <nobr>组织机构</nobr>
229
- </th>
230
- <th style="text-align:center">
231
- <nobr>客户编号</nobr>
232
- </th>
233
- <th style="text-align:center">
234
- <nobr>用户类型</nobr>
235
- </th>
236
- <th style="text-align:center">
237
- <nobr>用气性质</nobr>
238
- </th>
239
- <!--<th style="text-align:center"><nobr>用气属性</nobr></th>-->
240
- <th style="text-align:center">
241
- <nobr>客户名称</nobr>
242
- </th>
243
- <th style="text-align:center">
244
- <nobr>用气地址</nobr>
245
- </th>
246
- <th style="text-align:center">
247
- <nobr>安装时间</nobr>
248
- </th>
249
- <th style="text-align:center">
250
- <nobr>表号</nobr>
251
- </th>
252
- <th style="text-align:center">
253
- <nobr>气表品牌</nobr>
254
- </th>
255
- <th style="text-align:center">
256
- <nobr>气表型号</nobr>
257
- </th>
258
- <!--<th style="text-align:center"><nobr>期初余额</nobr></th>-->
259
- <th style="text-align:center">
260
- <nobr>上次抄表底数</nobr>
261
- </th>
262
- <th style="text-align:center">
263
- <nobr>本次抄表底数</nobr>
264
- </th>
265
- <th style="text-align:center">
266
- <nobr>本次用气量(m³)</nobr>
267
- </th>
268
- <!--<th style="text-align:center"><nobr>气价(元/m³)</nobr></th>-->
269
- <!--<th style="text-align:center"><nobr>24小时用气量</nobr></th>-->
270
- <th style="text-align:center">
271
- <nobr>本次用气金额(元)</nobr>
272
- </th>
273
- <th style="text-align:center">
274
- <nobr>剩余金额</nobr>
275
- </th>
276
- <!--<th style="text-align:center"><nobr>上报类型</nobr></th>-->
277
- <th style="text-align:center">
278
- <nobr>上报时间</nobr>
279
- </th>
280
- <th style="text-align:center"><nobr>信号强度</nobr></th>
281
- <th style="text-align:center"><nobr>电压</nobr></th>
282
- <!--<th style="text-align:center"><nobr>信噪比</nobr></th>-->
283
- <th style="text-align:center"><nobr>阀门状态</nobr></th>
284
- <!--<th style="text-align:center"><nobr>磁干扰</nobr></th>
285
- <th style="text-align:center"><nobr>周期关阀</nobr></th>
286
- <th style="text-align:center"><nobr>过流保护关阀</nobr></th>
287
- <th style="text-align:center"><nobr>关阀走气</nobr></th>
288
- <th style="text-align:center"><nobr>拆表报警</nobr></th>
289
- <th style="text-align:center"><nobr>外部晶振标志</nobr></th>
290
- <th style="text-align:center"><nobr>软件版本号</nobr></th>-->
291
- <!--<th style="text-align:center"><nobr>本次上报日期</nobr></th>
292
- <th style="text-align:center"><nobr>上次上报日期</nobr></th>-->
293
- <!--<th style="text-align:center"><nobr>上次表状态</nobr></th>
294
- <th style="text-align:center"><nobr>本次表状态</nobr></th>
295
- <th style="text-align:center"><nobr>标记状态</nobr></th>
296
- <th style="text-align:center"><nobr>标记时间</nobr></th>-->
297
- </tr>
298
- </template>
299
- <template partial='body' partial='list' v-ref:grid>
300
- <tr>
301
- <td style="text-align:center" v-show="!$parent.$parent.$parent.isdeal">
302
- <button-link @click="$parent.$parent.$parent.handchange(row)" class="btn btn-link" type="button">处理
303
- </button-link>
304
- </td>
305
- <td style="text-align:center">
306
- <nobr>{{row.f_orgname}}</nobr>
307
- </td>
308
- <td style="text-align:center">
309
- <nobr>{{row.f_userinfo_code}}</nobr>
310
- </td>
311
- <td style="text-align:center">
312
- <nobr>{{row.f_user_type}}</nobr>
313
- </td>
314
- <td style="text-align:center">
315
- <nobr>{{row.f_gasproperties}}</nobr>
316
- </td>
317
- <td style="text-align:center">
318
- <nobr>{{row.f_user_name}}</nobr>
319
- </td>
320
- <td>
321
- <nobr>{{row.f_address}}</nobr>
322
- </td>
323
- <td style="text-align:center">
324
- <nobr>{{row.f_gas_date}}</nobr>
325
- </td>
326
- <td style="text-align:center">
327
- <nobr>{{row.f_meternumber}}</nobr>
328
- </td>
329
- <td style="text-align:center">
330
- <nobr>{{row.f_meter_brand}}</nobr>
331
- </td>
332
- <td style="text-align:center">
333
- <nobr>{{row.f_meter_style}}</nobr>
334
- </td>
335
- <!--<td style="text-align:center"><nobr>{{row.f_curbalance}}</nobr></td>-->
336
- <td style="text-align:center">{{row.f_last_tablebase}}</td>
337
- <td style="text-align:center">{{row.f_tablebase}}</td>
338
- <td style="text-align:center">{{row.f_oughtamount}}</td>
339
- <!--<td style="text-align:center"><nobr>{{row.f_price}}</nobr></td>-->
340
- <td style="text-align:center">{{row.f_oughtfee}}</td>
341
- <td style="text-align:center">
342
- <nobr>{{row.f_curbalance}}</nobr>
343
- </td>
344
- <!--<td style="text-align:center;width: 170px;"><nobr>{{row.f_upload_type}}</nobr></td>-->
345
-
346
- <td style="text-align:center">
347
- <nobr>{{row.f_insert_date}}</nobr>
348
- </td>
349
- <td style="text-align:center" >
350
- <img :title='row.f_signal' v-if="row.f_signal>-80"
351
- src="../../../../static/WebMetericon/1.png"
352
- height="12" width="24"/>
353
- <img :title='row.f_signal' v-if="row.f_signal>-100&&row.f_signal<=-80"
354
- src="../../../../static/WebMetericon/2.png"
355
- height="12" width="24"/>
356
- <img :title='row.f_signal' v-if="row.f_signal>-120&&row.f_signal<=-100"
357
- src="../../../../static/WebMetericon/3.png"
358
- height="12" width="24"/>
359
- <img :title='row.f_signal' v-if="row.f_signal<=-120"
360
- src="../../../../static/WebMetericon/4.png"
361
- height="12" width="24"/>
362
- </td>
363
- <td style="text-align:center" >
364
- <img :title='row.f_batterylevel' v-if="row.f_batterylevel>=6.00"
365
- src="../../../../static/WebMetericon/01.png"
366
- height="12" width="24"/>
367
- <img :title='row.f_batterylevel' v-if="row.f_batterylevel>=5.00&&row.f_batterylevel<6.00"
368
- src="../../../../static/WebMetericon/02.png"
369
- height="12" width="24"/>
370
- <img :title='row.f_batterylevel' v-if="row.f_batterylevel>=4.00&&row.f_batterylevel<5.00"
371
- src="../../../../static/WebMetericon/03.png"
372
- height="12" width="24"/>
373
- <img :title='row.f_batterylevel' v-if="row.f_batterylevel<4.00"
374
- src="../../../../static/WebMetericon/04.png"
375
- height="12" width="24"/>
376
- </td>
377
- <td style="text-align:center;width: 51px">{{row.f_valvestate==1?'关阀':'开阀'}}</td>
378
- <!--<td style="text-align:center;width: 51px">
379
- <img :title='故障' v-if="row.f_magneticinterference==1"
380
- src="../../../../static/WebMetericon/guzhang.png"
381
- height="12" width="12"/>
382
- <img :title='正常' v-if="row.f_magneticinterference==0"
383
- src="../../../../static/WebMetericon/zhengchang.png"
384
- height="12" width="17"/>
385
- </td>
386
- <td style="text-align:center;width: 51px">
387
- <img :title='关阀' v-if="row.f_cycleshutvalue==1"
388
- src="../../../../static/WebMetericon/guzhang.png"
389
- height="12" width="12"/>
390
- <img :title='正常' v-if="row.f_cycleshutvalue==0"
391
- src="../../../../static/WebMetericon/zhengchang.png"
392
- height="12" width="17"/>
393
- </td>
394
- <td style="text-align:center;width: 51px">
395
- <img :title='关阀' v-if="row.f_overcurrentprotection==1"
396
- src="../../../../static/WebMetericon/guzhang.png"
397
- height="12" width="12"/>
398
- <img :title='正常' v-if="row.f_overcurrentprotection==0"
399
- src="../../../../static/WebMetericon/zhengchang.png"
400
- height="12" width="17"/>
401
- </td>
402
- <td style="text-align:center;width: 51px">
403
- <img :title='走气' v-if="row.f_leakageflag==1"
404
- src="../../../../static/WebMetericon/guzhang.png"
405
- height="12" width="12"/>
406
- <img :title='正常' v-if="row.f_leakageflag==0"
407
- src="../../../../static/WebMetericon/zhengchang.png"
408
- height="12" width="17"/>
409
- </td>
410
- <td style="text-align:center;width: 51px">
411
- <img :title='拆表' v-if="row.f_splitalarm==='1'"
412
- src="../../../../static/WebMetericon/guzhang.png"
413
- height="12" width="12"/>
414
- <img :title='正常' v-if="row.f_splitalarm==='0'"
415
- src="../../../../static/WebMetericon/zhengchang.png"
416
- height="12" width="17"/>
417
- </td>
418
- <td style="text-align:center;width: 51px">
419
- <img :title='停止' v-if="row.f_xtipllstopflag==='1'"
420
- src="../../../../static/WebMetericon/guzhang.png"
421
- height="12" width="12"/>
422
- <img :title='正常' v-if="row.f_xtipllstopflag==='0'"
423
- src="../../../../static/WebMetericon/zhengchang.png"
424
- height="12" width="17"/>
425
- </td>
426
- <td style="text-align:center"><nobr>{{row.f_software_version}}</nobr></td>-->
427
- <!--<td style="text-align:center;width: 170px;"><nobr>{{row.f_hand_date}}</nobr></td>
428
- <td style="text-align:center"><nobr>{{row.f_last_hand_date}}</nobr></td>-->
429
- <!--<td style="text-align:center"><nobr>{{row.f_last_meter_state_msg}}</nobr></td>
430
- <td style="text-align:center"><nobr>{{row.f_table_msg}}</nobr></td>
431
- <td style="text-align:center"><nobr>{{row.f_parameter_state}}</nobr></td>
432
- <td style="text-align:center"><nobr>{{row.f_parameter_date}}</nobr></td>-->
433
- </tr>
434
- </template>
435
- <template partial='foot'></template>
436
- </data-grid>
437
- </criteria-paged>
438
- </div>
439
- <!--异常抄表录入-->
440
- <modal :show.sync="handshow" backdrop="false" v-ref:modal>
441
- <header class="modal-header" slot="modal-header">
442
- <button @click="handchange()" class="close" type="button"><span>&times;</span></button>
443
- <h4 class="modal-title">表号{{handExce.exceobj.f_meternumber}}</h4>
444
- </header>
445
- <article class="modal-body" slot="modal-body">
446
- <div class="col-sm-12">
447
- <label class="font_normal_body">上报异常类型</label>
448
- <textarea class="ver-textarea" style="width:60%" class="input_search" name="name"
449
- placeholder='上报异常类型' rows="2"
450
- style="width: 100%"
451
- v-model='handExce.f_error_type'></textarea>
452
- </div>
453
- <div class="col-sm-12 form-group form-fix-width">
454
- <label class="font_normal_body">异常描述</label>
455
- <textarea class="ver-textarea" style="width:60%" class="input_search" name="name"
456
- placeholder='上报异常类型'
457
- rows="2" style="width: 100%"
458
- v-model='handExce.f_error_msg'></textarea>
459
- </div>
460
- </article>
461
- <footer class="modal-footer" slot="modal-footer">
462
- <button @click='handchange()' class="btn btn-default" type="button" v-show="handshow">取消</button>
463
- <button @click='saveException' class="btn btn-success" type="button" v-show="handshow">确认</button>
464
- </footer>
465
- </modal>
466
- </template>
467
-
468
- <script>
469
- import {PagedList} from 'vue-client'
470
- import getLodop from '../../../plugins/LodopFuncs'
471
- import plugins from '../../../plugins/GetLoginInfoService'
472
-
473
- let readyGen = async function (self) {
474
- await self.$getConfig(self, 'HandManager')
475
- console.log('指令查看config', self.config)
476
- self.getfield = self.config.excelHeaders
477
- // self.reflash()
478
- }
479
-
480
- export default {
481
- title: '数据采集',
482
- data() {
483
- return {
484
- model: new PagedList('rs/sql/manage_getNewAllWebHandPlan', 50),
485
- row: null,
486
- // 搜索显示开关
487
- searchshow: true,
488
- // 抄表录入开关
489
- handshow: false,
490
- condition: '',
491
- criteriaShow: false,
492
- orgCondtionStr: '(' + this.$login.f.orgid + ')',
493
- orgid: [this.$login.f.orgid],
494
- getfield: {},
495
- config: {
496
- excelHeaders: {
497
- 'f_orgname': '公司',
498
- 'f_userinfo_code': '客户编号',
499
- 'f_address': '客户地址',
500
- 'f_user_name': '客户名称',
501
- 'f_user_type': '用户类型',
502
- 'f_gasproperties': '用气性质',
503
- 'f_gas_date': '安装时间',
504
- 'f_meternumber': '表号',
505
- 'f_meter_brand': '气表品牌',
506
- // 'f_position': '安装位置',
507
- 'f_meter_style': '气表型号',
508
- /*'f_curbalance': '期初余额',*/
509
- 'f_last_tablebase': '上次抄表底数',
510
- 'f_tablebase': '本次抄表底数',
511
- 'f_oughtamount': '本次用气量(m³)',
512
- 'f_oughtfee': '本次用气金额(元)',
513
- 'f_curbalance': '剩余金额',
514
- 'f_insert_date': '上报时间',
515
- 'f_signal': '信号强度',
516
- 'f_batterylevel': '电压',
517
- 'f_valvestate': '阀门状态'
518
-
519
- }
520
- },
521
- Gasproperties: [],
522
- isdeal: true,
523
- getSignStatus: [
524
- {label: '全部', value: ''},
525
- {label: '已标记', value: 'is not null'},
526
- {label: '未标记', value: 'is null'}
527
- ],
528
-
529
- handExce: {
530
- //异常对象
531
- exceobj: {},
532
- //异常类型
533
- f_error_type: "",
534
- //异常描述
535
- f_error_msg: '',
536
- },
537
- show: false,
538
- }
539
- },
540
- props: ['searchobj', 'isdeal'],
541
- ready() {
542
- /*this.$refs.paged.$refs.criteria.model.startDate = Util.toStandardDateString() + ' 00:00:00'
543
- this.$refs.paged.$refs.criteria.model.endDate = Util.toStandardDateString() + ' 23:59:59'*/
544
- // this.$refs.paged.$refs.criteria.model.startDate1 = Util.toStandardDateString() + ' 00:00:00'
545
- // this.$refs.paged.$refs.criteria.model.endDate1 = Util.toStandardDateString() + ' 23:59:59'
546
- //初始化用户类型,用气性质,用气属性下拉框
547
- this.search({'condition': '1=1'})
548
- readyGen(this)
549
- },
550
- methods: {
551
- search1(){
552
- this.$refs.paged.$refs.criteria.search()
553
- },
554
- // 跳转处理页面
555
- dealmsg(val) {
556
- val.model = this.model.model
557
- this.$emit('deal-msg', val)
558
- },
559
- // 查询开关
560
- hidden() {
561
- this.criteriaShow = !this.criteriaShow
562
- },
563
- // 异常开关
564
- handchange(val) {
565
- if (val) {
566
- console.log("开启弹窗")
567
- this.handExce.exceobj = val
568
- } else {
569
- console.log("返回置空")
570
- this.handExce = {}
571
- }
572
- this.handshow = !this.handshow
573
- },
574
- // 保存输入
575
- saveException() {
576
- // 准备数据
577
- var Exejson = {}
578
- // 抄表记录id
579
- Exejson.data_id = this.handExce.exceobj.id
580
- // 异常表档案ID
581
- Exejson.f_userfiles_id = this.handExce.exceobj.f_userfiles_id
582
- // 异常户档案ID
583
- Exejson.f_userinfo_id = this.handExce.exceobj.f_userinfo_id
584
- // 异常表号
585
- Exejson.f_meternumber = this.handExce.exceobj.f_meternumber
586
- // 分公司
587
- Exejson.f_orgname = this.handExce.exceobj.f_orgname
588
- // 分公司编号
589
- Exejson.f_orgid = this.handExce.exceobj.f_orgid
590
- // 营业网点
591
- Exejson.f_outlets = this.handExce.exceobj.f_outlets
592
- // 组织机构
593
- Exejson.f_orgstr = this.handExce.exceobj.f_orgstr
594
- // 异常类型
595
- Exejson.f_error_type = this.handExce.f_error_type
596
- // 异常说明
597
- Exejson.f_error_msg = this.handExce.f_error_msg
598
- console.log("提交异常数据")
599
- console.log(Exejson)
600
- let param = {
601
- tablename: 't_exception',
602
- basedata: Exejson
603
- }
604
- try {
605
- this.$resetpost('rs/logic/saveTable', param, {resolveMsg: null, rejectMsg: null}).then((req) => {
606
- console.log(val)
607
- this.handExce = {}
608
- console.log("提交成功")
609
- }).then(() => {
610
- this.$showMessage("异常保存成功!")
611
- })
612
- } catch (e) {
613
- this.handExce = {}
614
- console.log("提交失败")
615
- this.$showMessage("异常保存失败!")
616
- }
617
- this.handshow = false
618
- },
619
- /*DealSignal(val){
620
- console.log(val.model.f_signal)
621
- if(val.model&&val.model.f_signal) {
622
- if (val.model.f_signal == '信号正常') {
623
- val.condition = val.condition + " and " + "f_signal>-100 "
624
- }
625
- if (val.model.f_signal == '信号异常') {
626
- val.condition = val.condition + " and " + "f_signal<-100 "
627
- }
628
- }
629
- return val
630
- },*/
631
- /*DealFaults(val){
632
- if (val.model&&val.model.faultstate){
633
- console.log(val.model.faultstate)
634
- val.model.faultstate.forEach((item) =>{
635
- if (item=='磁干扰'){
636
- val.condition=val.condition+" and "+"f_magneticInterference=1 "
637
- }
638
- if (item=='周期关阀'){
639
- val.condition=val.condition+" and "+"f_cycleShutValue=1 "
640
- }
641
- if (item=='过流保护关阀'){
642
- val.condition=val.condition+" and "+"f_overCurrentProtection=1 "
643
- }
644
- if (item=='关阀走气'){
645
- val.condition=val.condition+" and "+"f_leakageFlag=1 "
646
- }
647
- if(item=='拆表报警'){
648
- val.condition=val.condition+" and "+"f_SplitAlarm=1 "
649
- }
650
- })
651
- }
652
- return val
653
- },*/
654
- SaveAsFile(str) {
655
- this.$showMessage('您是否需要导出本页数据?', ['confirm', 'cancel']).then((res) => {
656
- if (res === 'confirm') {
657
- let style = '<style>' +
658
- 'td {border-width: 1px;padding: 2px;border-style: solid; border-color:black; border-collapse:collapse;} .tdright{text-align: right;} .tdcenter{text-align: center;}</style>';
659
- let strHtml = style + document.getElementById(str).innerHTML;
660
- console.log(strHtml);
661
- let LODOP = getLodop();
662
- LODOP.PRINT_INIT('');
663
- LODOP.ADD_PRINT_TABLE(5, 5, '99%', '100%', strHtml);
664
- LODOP.SAVE_TO_FILE('抄表查看.xls')
665
- }
666
- })
667
- },
668
- clearmsg() {
669
- this.$refs.paged.$refs.criteria.model = {}
670
- },
671
- search(args) {
672
- if (this.orgCondtionStr)
673
- args.condition = args.condition + `and ui.f_orgid in ${this.orgCondtionStr}`
674
- this.model.search(args.condition, args.model)
675
- },
676
- getRes(obj) {
677
- this.orgCondtionStr = plugins.convertToIn(obj)
678
-
679
- console.log('++++++++++++++++++', this.orgCondtionStr)
680
- },
681
- },
682
-
683
- watch: {
684
- // 监听查询对象
685
- 'searchobj'(val) {
686
- if (this.searchobj != null) {
687
- this.$refs.paged.$refs.criteria.model.f_meternumber = this.searchobj.f_meternumber
688
- /* this.$refs.paged.$refs.criteria.model.startDate = this.searchobj.model.startDate
689
- this.$refs.paged.$refs.criteria.model.endDate = this.searchobj.model.endDate*/
690
- this.$refs.paged.$refs.criteria.search()
691
- }
692
- }
693
- },
694
- computed: {
695
- // 上报异常类型
696
- Excestates() {
697
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('上报异常类型')]
698
- },
699
- Gasproperties() {
700
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('用气性质')]
701
- },
702
- Gasusertype() {
703
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]
704
- },
705
- Getuploadtype() {
706
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('上报类型')]
707
- },
708
- //标记状态
709
- parameterState() {
710
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('标记状态')]
711
- },
712
- //标记名称
713
- parameterName() {
714
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('标记名称')]
715
- },
716
- // 故障状态
717
- FaultStates() {
718
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('故障状态')]
719
- // return [
720
- // {label: '磁干扰', value: '磁干扰'},
721
- // {label: '周期关阀', value: '周期关阀'},
722
- // {label: '过流保护关阀', value: '过流保护关阀'},
723
- // {label: '关阀走气', value: '关阀走气'},
724
- // {label: '拆表报警', value: '拆表报警'},
725
- // ]
726
- },
727
- SignalStates() {
728
- return [
729
- {label: '全部', value: '全部'},
730
- {label: '信号正常', value: '信号正常'},
731
- {label: '信号异常', value: '信号异常'},
732
- ]
733
- }
734
- }
735
- }
736
- </script>
737
- <style>
738
- .datapanel {
739
- color: #333;
740
- background-color: white;
741
- box-shadow: darkgrey 0.5px 0.5px 0.5px 0.5px;
742
- padding: 10px 30px 10px 30px;
743
- border-radius: 15px;
744
- }
745
- </style>
1
+ <template>
2
+ <div class="flex" style="flex:1;" @keyup.enter="search1">
3
+ <criteria-paged :model="model" v-ref:paged>
4
+ <criteria @condition-changed='$parent.search' partial='criteria' v-ref:criteria>
5
+ <div class="form-horizontal select-overspread container-fluid auto" novalidate partial
6
+ v-show="$parent.$parent.isdeal">
7
+ <div class="row" width="100%">
8
+ <div class="col-sm-2 form-group">
9
+ <label class="font_normal_body">表&emsp;&emsp;号</label>
10
+ <input style="width:60%" class="input_search" condition="mr.f_meternumber like '%{}%'"
11
+ placeholder='表号'
12
+ type="text"
13
+ v-model="model.f_meternumber"
14
+ >
15
+ </div>
16
+ <div class="col-sm-2 form-group">
17
+ <label class="font_normal_body">客户编号</label>
18
+ <input style="width:60%" class="input_search" condition="u.f_userinfo_code like '%{}%'"
19
+ placeholder='客户编号'
20
+ type="text"
21
+ v-model="model.f_userinfo_code">
22
+ </div>
23
+ <div class="col-sm-2 form-group">
24
+ <label class="font_normal_body">客户名称</label>
25
+ <input style="width:60%" class="input_search" condition="mr.f_user_name like '%{}%'" placeholder='客户名称'
26
+ type="text"
27
+ v-model="model.f_user_name">
28
+ </div>
29
+ <div class="col-sm-3 form-group button-range">
30
+ <button @click="search()" class="button_search button_spacing" v-el:cba>查询</button>
31
+ <button @click="$parent.$parent.clearmsg" class="button_clear button_spacing">清空</button>
32
+ <!--<label class="font_normal_body"></label>
33
+ <button class="btn btn-success width-100" @click="$parent.$parent.SaveAsFile('webmeterhandplan')">导出</button>-->
34
+ <!-- </div>-->
35
+ <!-- <div class="col-sm-2 form-group form-group">-->
36
+ <export-excel
37
+ :choose-col="true"
38
+ :data="{condition: $parent.$parent.condition}"
39
+ :field="$parent.$parent.getfield" sql-name="manage_getNewAllWebHandPlan" sqlurl="rs/logic/exportfile"
40
+ template-name='数据采集'></export-excel>
41
+ <div style="float: right" class="button_spacing"
42
+ :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
43
+ @click="$parent.$parent.hidden()"></div>
44
+ <!-- <span style="padding-left: 30px; ">-->
45
+ <!-- <report-excel class="btn btn-success" id="grid"></report-excel>-->
46
+ <!-- </span>-->
47
+ </div>
48
+ </div>
49
+ <div class="row" v-show="$parent.$parent.criteriaShow">
50
+ <div class="col-sm-2 form-group">
51
+ <label class="font_normal_body">用气地址</label>
52
+ <input style="width:60%" class="input_search" condition="u.f_address like '%{}%'" placeholder='用气地址'
53
+ type="text"
54
+ v-model="model.f_address"
55
+ >
56
+ </div>
57
+ <div class="col-sm-2 form-group">
58
+ <label class="font_normal_body">用户类型</label>
59
+ <v-select :options="$parent.$parent.Gasusertype" :value.sync="model.f_user_type"
60
+ close-on-select
61
+ style="width:60%"
62
+ condition="ui.f_user_type = '{}'"
63
+ placeholder='用户类型'
64
+ v-model="model.f_user_type"
65
+ value-single="true"
66
+ >
67
+ </v-select>
68
+ </div>
69
+ <div class="col-sm-2 form-group">
70
+ <label class="font_normal_body">用气性质</label>
71
+ <v-select :options="$parent.$parent.Gasproperties" :value.sync="model.f_gasproperties"
72
+ close-on-select
73
+ style="width:60%"
74
+ condition="ui.f_gasproperties = '{}'"
75
+ placeholder='用气性质'
76
+ v-model="model.f_gasproperties"
77
+ value-single="true">
78
+ </v-select>
79
+ </div>
80
+ <!--<div class="col-sm-2 form-group">
81
+ <label class="font_normal_body">阀门状态</label>
82
+ <v-select placeholder='阀门状态' close-on-select
83
+ v-model="model.f_valvestate"
84
+ :value.sync="model.f_valvestate"
85
+ condition="mr.f_valvestate like '%{}%'"
86
+ :options="$parent.$parent.Valvestates">
87
+ </v-select>
88
+ </div>-->
89
+ <!--<div class="col-sm-2 form-group">
90
+ <label class="font_normal_body">上报类型</label>
91
+ <v-select placeholder='上报类型' close-on-select
92
+ v-model="model.f_upload_type"
93
+ :value.sync="model.f_upload_type"
94
+ :options="$parent.$parent.Getuploadtype"
95
+ condition="mr.f_upload_type = '{}'"
96
+ >
97
+ </v-select>
98
+ </div>-->
99
+ <div class="col-sm-2 form-group">
100
+ <label class="font_normal_body" style="word-break:keep-all;">上报时间</label>
101
+ <datepicker :format="'yyyy-MM-dd HH:mm:ss'"
102
+ :value.sync="model.startDate"
103
+ style="width:60%"
104
+ condition="mr.f_insert_date >= '{}'"
105
+ placeholder="起始时间"
106
+ v-model="model.startDate"
107
+ ></datepicker>
108
+ </div>
109
+ <div class="col-sm-2 form-group">
110
+ <label class="font_normal_body" style="word-break:keep-all;">&emsp;&ensp;至&emsp;</label>
111
+ <datepicker :format="'yyyy-MM-dd HH:mm:ss'"
112
+ :value.sync="model.endDate"
113
+ style="width:60%"
114
+ condition="mr.f_insert_date <= '{}'"
115
+ placeholder="结束时间"
116
+ v-model="model.endDate"
117
+ ></datepicker>
118
+ </div>
119
+ <div class="col-sm-2 form-group">
120
+ <label class="font_normal_body" style="word-break:keep-all;">安装时间</label>
121
+ <datepicker :format="'yyyy-MM-dd HH:mm:ss'"
122
+ :value.sync="model.startDate1"
123
+ style="width:60%"
124
+ condition="ui.f_gas_date >= '{}'"
125
+ placeholder="起始时间"
126
+ v-model="model.startDate1"
127
+ ></datepicker>
128
+ </div>
129
+ <div class="col-sm-2 form-group">
130
+ <label class="font_normal_body" style="word-break:keep-all;">&emsp;&ensp;至&emsp;</label>
131
+ <datepicker :format="'yyyy-MM-dd HH:mm:ss'"
132
+ :value.sync="model.endDate1"
133
+ style="width:60%"
134
+ condition="ui.f_gas_date <= '{}'"
135
+ placeholder="结束时间"
136
+ v-model="model.endDate1"
137
+ ></datepicker>
138
+ </div>
139
+ <!--<div class="col-sm-2 form-group">-->
140
+ <!--<label class="font_normal_body">故障状态</label>-->
141
+ <!--<v-select placeholder='故障状态'-->
142
+ <!--v-model="model.faultstate"-->
143
+ <!--multiple-->
144
+ <!--:value.sync="model.faultstate"-->
145
+ <!--:options="$parent.$parent.FaultStates">-->
146
+ <!--</v-select>-->
147
+ <!--</div>-->
148
+ <div class="col-sm-2 form-group">
149
+ <label class="font_normal_body">用&ensp;气&ensp;量</label>
150
+ <input style="width:60%" class="input_search" condition="h.f_oughtamount >= '{}'" placeholder='最小气量' type="text"
151
+ v-el:start_gas v-model="model.start_gas" v-next-el='start_gas'>
152
+ </div>
153
+ <div class="col-sm-2 form-group">
154
+ <label class="font_normal_body" style="word-break:keep-all;">&emsp;&ensp;至&emsp;</label>
155
+ <input style="width:60%" class="input_search" condition="h.f_oughtamount <= '{}'" placeholder='最大气量' type="text"
156
+ v-el:end_gas v-el:xq v-model="model.end_gas" v-next-el='end_gas'
157
+ >
158
+ </div>
159
+ <div class="col-sm-2 form-group">
160
+ <label class="font_normal_body">剩余金额</label>
161
+ <input style="width:60%" class="input_search" condition="h.f_curbalance >= '{}'"
162
+ placeholder='最小金额'
163
+ type="text"
164
+ v-model="model.start_f_balance">
165
+ </div>
166
+ <div class="col-sm-2 form-group">
167
+ <label class="font_normal_body">&emsp;&ensp;至&emsp;</label>
168
+ <input style="width:60%" class="input_search" condition="h.f_curbalance <= '{}'"
169
+ placeholder='最大金额'
170
+ type="text"
171
+ v-model="model.end_f_balance"
172
+ >
173
+ </div>
174
+ <!--<div class="col-sm-2 form-group" >
175
+ <label class="font_normal_body">标记名称</label>
176
+ <v-select placeholder='标记名称' close-on-select
177
+ v-model="model.f_parameter_name"
178
+ :value.sync="model.f_parameter_name"
179
+ :options="$parent.$parent.parameterName"
180
+ condition="p.f_parameter_name = '{}'">
181
+ </v-select>
182
+ </div>-->
183
+ <!--<div class="col-sm-2 form-group" >
184
+ <label class="font_normal_body" style="word-break:keep-all;">操作时间</label>
185
+ <datepicker placeholder="起始时间"
186
+ :value.sync="model.startDate2"
187
+ v-model="model.startDate2"
188
+ :format="'yyyy-MM-dd HH:mm:ss'"
189
+ condition="p.f_parameter_date >= '{}'"
190
+ ></datepicker>
191
+ </div>
192
+ <div class="col-sm-2 form-group" >
193
+ <label class="font_normal_body" style="word-break:keep-all;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;至&nbsp;&nbsp;&nbsp;</label>
194
+ <datepicker placeholder="结束时间"
195
+ :value.sync="model.endDate2"
196
+ v-model="model.endDate2"
197
+ :format="'yyyy-MM-dd HH:mm:ss'"
198
+ condition="p.f_parameter_date <= '{}'"
199
+ ></datepicker>
200
+ </div>-->
201
+ <!--<div class="col-sm-2 form-group" >
202
+ <label class="font_normal_body">标记状态</label>
203
+ <v-select placeholder='标记状态' close-on-select
204
+ v-model="model.f_parameter_state"
205
+ :value.sync="model.f_parameter_state"
206
+ :options="$parent.$parent.getSignStatus"
207
+ condition="p.f_parameter_state {}">
208
+ </v-select>
209
+ </div>-->
210
+ <div class="col-sm-2 form-group form-fix-width">
211
+ <label class="font_normal_body" >使用公司</label>
212
+ <res-select :initresid="$parent.$parent.orgid"
213
+ style="width:60%"
214
+ @res-select="$parent.$parent.getRes"
215
+ restype='organization'>
216
+ </res-select>
217
+ </div>
218
+ </div>
219
+ </div>
220
+ </criteria>
221
+ <data-grid :model="model" class="list_area table_sy" id="webmeterhandplan" partial='list' v-ref:grid>
222
+ <template partial='head'>
223
+ <tr>
224
+ <th style="text-align:center" v-show="!$parent.$parent.$parent.isdeal">
225
+ <nobr>操作</nobr>
226
+ </th>
227
+ <th style="text-align:center">
228
+ <nobr>组织机构</nobr>
229
+ </th>
230
+ <th style="text-align:center">
231
+ <nobr>客户编号</nobr>
232
+ </th>
233
+ <th style="text-align:center">
234
+ <nobr>用户类型</nobr>
235
+ </th>
236
+ <th style="text-align:center">
237
+ <nobr>用气性质</nobr>
238
+ </th>
239
+ <!--<th style="text-align:center"><nobr>用气属性</nobr></th>-->
240
+ <th style="text-align:center">
241
+ <nobr>客户名称</nobr>
242
+ </th>
243
+ <th style="text-align:center">
244
+ <nobr>用气地址</nobr>
245
+ </th>
246
+ <th style="text-align:center">
247
+ <nobr>安装时间</nobr>
248
+ </th>
249
+ <th style="text-align:center">
250
+ <nobr>表号</nobr>
251
+ </th>
252
+ <th style="text-align:center">
253
+ <nobr>气表品牌</nobr>
254
+ </th>
255
+ <th style="text-align:center">
256
+ <nobr>气表型号</nobr>
257
+ </th>
258
+ <!--<th style="text-align:center"><nobr>期初余额</nobr></th>-->
259
+ <th style="text-align:center">
260
+ <nobr>上次抄表底数</nobr>
261
+ </th>
262
+ <th style="text-align:center">
263
+ <nobr>本次抄表底数</nobr>
264
+ </th>
265
+ <th style="text-align:center">
266
+ <nobr>本次用气量(m³)</nobr>
267
+ </th>
268
+ <!--<th style="text-align:center"><nobr>气价(元/m³)</nobr></th>-->
269
+ <!--<th style="text-align:center"><nobr>24小时用气量</nobr></th>-->
270
+ <th style="text-align:center">
271
+ <nobr>本次用气金额(元)</nobr>
272
+ </th>
273
+ <th style="text-align:center">
274
+ <nobr>剩余金额</nobr>
275
+ </th>
276
+ <!--<th style="text-align:center"><nobr>上报类型</nobr></th>-->
277
+ <th style="text-align:center">
278
+ <nobr>上报时间</nobr>
279
+ </th>
280
+ <th style="text-align:center"><nobr>信号强度</nobr></th>
281
+ <th style="text-align:center"><nobr>电压</nobr></th>
282
+ <!--<th style="text-align:center"><nobr>信噪比</nobr></th>-->
283
+ <th style="text-align:center"><nobr>阀门状态</nobr></th>
284
+ <!--<th style="text-align:center"><nobr>磁干扰</nobr></th>
285
+ <th style="text-align:center"><nobr>周期关阀</nobr></th>
286
+ <th style="text-align:center"><nobr>过流保护关阀</nobr></th>
287
+ <th style="text-align:center"><nobr>关阀走气</nobr></th>
288
+ <th style="text-align:center"><nobr>拆表报警</nobr></th>
289
+ <th style="text-align:center"><nobr>外部晶振标志</nobr></th>
290
+ <th style="text-align:center"><nobr>软件版本号</nobr></th>-->
291
+ <!--<th style="text-align:center"><nobr>本次上报日期</nobr></th>
292
+ <th style="text-align:center"><nobr>上次上报日期</nobr></th>-->
293
+ <!--<th style="text-align:center"><nobr>上次表状态</nobr></th>
294
+ <th style="text-align:center"><nobr>本次表状态</nobr></th>
295
+ <th style="text-align:center"><nobr>标记状态</nobr></th>
296
+ <th style="text-align:center"><nobr>标记时间</nobr></th>-->
297
+ </tr>
298
+ </template>
299
+ <template partial='body' partial='list' v-ref:grid>
300
+ <tr>
301
+ <td style="text-align:center" v-show="!$parent.$parent.$parent.isdeal">
302
+ <button-link @click="$parent.$parent.$parent.handchange(row)" class="btn btn-link" type="button">处理
303
+ </button-link>
304
+ </td>
305
+ <td style="text-align:center">
306
+ <nobr>{{row.f_orgname}}</nobr>
307
+ </td>
308
+ <td style="text-align:center">
309
+ <nobr>{{row.f_userinfo_code}}</nobr>
310
+ </td>
311
+ <td style="text-align:center">
312
+ <nobr>{{row.f_user_type}}</nobr>
313
+ </td>
314
+ <td style="text-align:center">
315
+ <nobr>{{row.f_gasproperties}}</nobr>
316
+ </td>
317
+ <td style="text-align:center">
318
+ <nobr>{{row.f_user_name}}</nobr>
319
+ </td>
320
+ <td>
321
+ <nobr>{{row.f_address}}</nobr>
322
+ </td>
323
+ <td style="text-align:center">
324
+ <nobr>{{row.f_gas_date}}</nobr>
325
+ </td>
326
+ <td style="text-align:center">
327
+ <nobr>{{row.f_meternumber}}</nobr>
328
+ </td>
329
+ <td style="text-align:center">
330
+ <nobr>{{row.f_meter_brand}}</nobr>
331
+ </td>
332
+ <td style="text-align:center">
333
+ <nobr>{{row.f_meter_style}}</nobr>
334
+ </td>
335
+ <!--<td style="text-align:center"><nobr>{{row.f_curbalance}}</nobr></td>-->
336
+ <td style="text-align:center">{{row.f_last_tablebase}}</td>
337
+ <td style="text-align:center">{{row.f_tablebase}}</td>
338
+ <td style="text-align:center">{{row.f_oughtamount}}</td>
339
+ <!--<td style="text-align:center"><nobr>{{row.f_price}}</nobr></td>-->
340
+ <td style="text-align:center">{{row.f_oughtfee}}</td>
341
+ <td style="text-align:center">
342
+ <nobr>{{row.f_curbalance}}</nobr>
343
+ </td>
344
+ <!--<td style="text-align:center;width: 170px;"><nobr>{{row.f_upload_type}}</nobr></td>-->
345
+
346
+ <td style="text-align:center">
347
+ <nobr>{{row.f_insert_date}}</nobr>
348
+ </td>
349
+ <td style="text-align:center" >
350
+ <img :title='row.f_signal' v-if="row.f_signal>-80"
351
+ src="../../../../static/WebMetericon/1.png"
352
+ height="12" width="24"/>
353
+ <img :title='row.f_signal' v-if="row.f_signal>-100&&row.f_signal<=-80"
354
+ src="../../../../static/WebMetericon/2.png"
355
+ height="12" width="24"/>
356
+ <img :title='row.f_signal' v-if="row.f_signal>-120&&row.f_signal<=-100"
357
+ src="../../../../static/WebMetericon/3.png"
358
+ height="12" width="24"/>
359
+ <img :title='row.f_signal' v-if="row.f_signal<=-120"
360
+ src="../../../../static/WebMetericon/4.png"
361
+ height="12" width="24"/>
362
+ </td>
363
+ <td style="text-align:center" >
364
+ <img :title='row.f_batterylevel' v-if="row.f_batterylevel>=6.00"
365
+ src="../../../../static/WebMetericon/01.png"
366
+ height="12" width="24"/>
367
+ <img :title='row.f_batterylevel' v-if="row.f_batterylevel>=5.00&&row.f_batterylevel<6.00"
368
+ src="../../../../static/WebMetericon/02.png"
369
+ height="12" width="24"/>
370
+ <img :title='row.f_batterylevel' v-if="row.f_batterylevel>=4.00&&row.f_batterylevel<5.00"
371
+ src="../../../../static/WebMetericon/03.png"
372
+ height="12" width="24"/>
373
+ <img :title='row.f_batterylevel' v-if="row.f_batterylevel<4.00"
374
+ src="../../../../static/WebMetericon/04.png"
375
+ height="12" width="24"/>
376
+ </td>
377
+ <td style="text-align:center;width: 51px">{{row.f_valvestate==1?'关阀':'开阀'}}</td>
378
+ <!--<td style="text-align:center;width: 51px">
379
+ <img :title='故障' v-if="row.f_magneticinterference==1"
380
+ src="../../../../static/WebMetericon/guzhang.png"
381
+ height="12" width="12"/>
382
+ <img :title='正常' v-if="row.f_magneticinterference==0"
383
+ src="../../../../static/WebMetericon/zhengchang.png"
384
+ height="12" width="17"/>
385
+ </td>
386
+ <td style="text-align:center;width: 51px">
387
+ <img :title='关阀' v-if="row.f_cycleshutvalue==1"
388
+ src="../../../../static/WebMetericon/guzhang.png"
389
+ height="12" width="12"/>
390
+ <img :title='正常' v-if="row.f_cycleshutvalue==0"
391
+ src="../../../../static/WebMetericon/zhengchang.png"
392
+ height="12" width="17"/>
393
+ </td>
394
+ <td style="text-align:center;width: 51px">
395
+ <img :title='关阀' v-if="row.f_overcurrentprotection==1"
396
+ src="../../../../static/WebMetericon/guzhang.png"
397
+ height="12" width="12"/>
398
+ <img :title='正常' v-if="row.f_overcurrentprotection==0"
399
+ src="../../../../static/WebMetericon/zhengchang.png"
400
+ height="12" width="17"/>
401
+ </td>
402
+ <td style="text-align:center;width: 51px">
403
+ <img :title='走气' v-if="row.f_leakageflag==1"
404
+ src="../../../../static/WebMetericon/guzhang.png"
405
+ height="12" width="12"/>
406
+ <img :title='正常' v-if="row.f_leakageflag==0"
407
+ src="../../../../static/WebMetericon/zhengchang.png"
408
+ height="12" width="17"/>
409
+ </td>
410
+ <td style="text-align:center;width: 51px">
411
+ <img :title='拆表' v-if="row.f_splitalarm==='1'"
412
+ src="../../../../static/WebMetericon/guzhang.png"
413
+ height="12" width="12"/>
414
+ <img :title='正常' v-if="row.f_splitalarm==='0'"
415
+ src="../../../../static/WebMetericon/zhengchang.png"
416
+ height="12" width="17"/>
417
+ </td>
418
+ <td style="text-align:center;width: 51px">
419
+ <img :title='停止' v-if="row.f_xtipllstopflag==='1'"
420
+ src="../../../../static/WebMetericon/guzhang.png"
421
+ height="12" width="12"/>
422
+ <img :title='正常' v-if="row.f_xtipllstopflag==='0'"
423
+ src="../../../../static/WebMetericon/zhengchang.png"
424
+ height="12" width="17"/>
425
+ </td>
426
+ <td style="text-align:center"><nobr>{{row.f_software_version}}</nobr></td>-->
427
+ <!--<td style="text-align:center;width: 170px;"><nobr>{{row.f_hand_date}}</nobr></td>
428
+ <td style="text-align:center"><nobr>{{row.f_last_hand_date}}</nobr></td>-->
429
+ <!--<td style="text-align:center"><nobr>{{row.f_last_meter_state_msg}}</nobr></td>
430
+ <td style="text-align:center"><nobr>{{row.f_table_msg}}</nobr></td>
431
+ <td style="text-align:center"><nobr>{{row.f_parameter_state}}</nobr></td>
432
+ <td style="text-align:center"><nobr>{{row.f_parameter_date}}</nobr></td>-->
433
+ </tr>
434
+ </template>
435
+ <template partial='foot'></template>
436
+ </data-grid>
437
+ </criteria-paged>
438
+ </div>
439
+ <!--异常抄表录入-->
440
+ <modal :show.sync="handshow" backdrop="false" v-ref:modal>
441
+ <header class="modal-header" slot="modal-header">
442
+ <button @click="handchange()" class="close" type="button"><span>&times;</span></button>
443
+ <h4 class="modal-title">表号{{handExce.exceobj.f_meternumber}}</h4>
444
+ </header>
445
+ <article class="modal-body" slot="modal-body">
446
+ <div class="col-sm-12">
447
+ <label class="font_normal_body">上报异常类型</label>
448
+ <textarea class="ver-textarea" style="width:60%" class="input_search" name="name"
449
+ placeholder='上报异常类型' rows="2"
450
+ style="width: 100%"
451
+ v-model='handExce.f_error_type'></textarea>
452
+ </div>
453
+ <div class="col-sm-12 form-group form-fix-width">
454
+ <label class="font_normal_body">异常描述</label>
455
+ <textarea class="ver-textarea" style="width:60%" class="input_search" name="name"
456
+ placeholder='上报异常类型'
457
+ rows="2" style="width: 100%"
458
+ v-model='handExce.f_error_msg'></textarea>
459
+ </div>
460
+ </article>
461
+ <footer class="modal-footer" slot="modal-footer">
462
+ <button @click='handchange()' class="btn btn-default" type="button" v-show="handshow">取消</button>
463
+ <button @click='saveException' class="btn btn-success" type="button" v-show="handshow">确认</button>
464
+ </footer>
465
+ </modal>
466
+ </template>
467
+
468
+ <script>
469
+ import {PagedList} from 'vue-client'
470
+ import getLodop from '../../../plugins/LodopFuncs'
471
+ import plugins from '../../../plugins/GetLoginInfoService'
472
+
473
+ let readyGen = async function (self) {
474
+ await self.$getConfig(self, 'HandManager')
475
+ console.log('指令查看config', self.config)
476
+ self.getfield = self.config.excelHeaders
477
+ // self.reflash()
478
+ }
479
+
480
+ export default {
481
+ title: '数据采集',
482
+ data() {
483
+ return {
484
+ model: new PagedList('rs/sql/manage_getNewAllWebHandPlan', 50),
485
+ row: null,
486
+ // 搜索显示开关
487
+ searchshow: true,
488
+ // 抄表录入开关
489
+ handshow: false,
490
+ condition: '',
491
+ criteriaShow: false,
492
+ orgCondtionStr: '(' + this.$login.f.orgid + ')',
493
+ orgid: [this.$login.f.orgid],
494
+ getfield: {},
495
+ config: {
496
+ excelHeaders: {
497
+ 'f_orgname': '公司',
498
+ 'f_userinfo_code': '客户编号',
499
+ 'f_address': '客户地址',
500
+ 'f_user_name': '客户名称',
501
+ 'f_user_type': '用户类型',
502
+ 'f_gasproperties': '用气性质',
503
+ 'f_gas_date': '安装时间',
504
+ 'f_meternumber': '表号',
505
+ 'f_meter_brand': '气表品牌',
506
+ // 'f_position': '安装位置',
507
+ 'f_meter_style': '气表型号',
508
+ /*'f_curbalance': '期初余额',*/
509
+ 'f_last_tablebase': '上次抄表底数',
510
+ 'f_tablebase': '本次抄表底数',
511
+ 'f_oughtamount': '本次用气量(m³)',
512
+ 'f_oughtfee': '本次用气金额(元)',
513
+ 'f_curbalance': '剩余金额',
514
+ 'f_insert_date': '上报时间',
515
+ 'f_signal': '信号强度',
516
+ 'f_batterylevel': '电压',
517
+ 'f_valvestate': '阀门状态'
518
+
519
+ }
520
+ },
521
+ Gasproperties: [],
522
+ isdeal: true,
523
+ getSignStatus: [
524
+ {label: '全部', value: ''},
525
+ {label: '已标记', value: 'is not null'},
526
+ {label: '未标记', value: 'is null'}
527
+ ],
528
+
529
+ handExce: {
530
+ //异常对象
531
+ exceobj: {},
532
+ //异常类型
533
+ f_error_type: "",
534
+ //异常描述
535
+ f_error_msg: '',
536
+ },
537
+ show: false,
538
+ }
539
+ },
540
+ props: ['searchobj', 'isdeal'],
541
+ ready() {
542
+ /*this.$refs.paged.$refs.criteria.model.startDate = Util.toStandardDateString() + ' 00:00:00'
543
+ this.$refs.paged.$refs.criteria.model.endDate = Util.toStandardDateString() + ' 23:59:59'*/
544
+ // this.$refs.paged.$refs.criteria.model.startDate1 = Util.toStandardDateString() + ' 00:00:00'
545
+ // this.$refs.paged.$refs.criteria.model.endDate1 = Util.toStandardDateString() + ' 23:59:59'
546
+ //初始化用户类型,用气性质,用气属性下拉框
547
+ this.search({'condition': '1=1'})
548
+ readyGen(this)
549
+ },
550
+ methods: {
551
+ search1(){
552
+ this.$refs.paged.$refs.criteria.search()
553
+ },
554
+ // 跳转处理页面
555
+ dealmsg(val) {
556
+ val.model = this.model.model
557
+ this.$emit('deal-msg', val)
558
+ },
559
+ // 查询开关
560
+ hidden() {
561
+ this.criteriaShow = !this.criteriaShow
562
+ },
563
+ // 异常开关
564
+ handchange(val) {
565
+ if (val) {
566
+ console.log("开启弹窗")
567
+ this.handExce.exceobj = val
568
+ } else {
569
+ console.log("返回置空")
570
+ this.handExce = {}
571
+ }
572
+ this.handshow = !this.handshow
573
+ },
574
+ // 保存输入
575
+ saveException() {
576
+ // 准备数据
577
+ var Exejson = {}
578
+ // 抄表记录id
579
+ Exejson.data_id = this.handExce.exceobj.id
580
+ // 异常表档案ID
581
+ Exejson.f_userfiles_id = this.handExce.exceobj.f_userfiles_id
582
+ // 异常户档案ID
583
+ Exejson.f_userinfo_id = this.handExce.exceobj.f_userinfo_id
584
+ // 异常表号
585
+ Exejson.f_meternumber = this.handExce.exceobj.f_meternumber
586
+ // 分公司
587
+ Exejson.f_orgname = this.handExce.exceobj.f_orgname
588
+ // 分公司编号
589
+ Exejson.f_orgid = this.handExce.exceobj.f_orgid
590
+ // 营业网点
591
+ Exejson.f_outlets = this.handExce.exceobj.f_outlets
592
+ // 组织机构
593
+ Exejson.f_orgstr = this.handExce.exceobj.f_orgstr
594
+ // 异常类型
595
+ Exejson.f_error_type = this.handExce.f_error_type
596
+ // 异常说明
597
+ Exejson.f_error_msg = this.handExce.f_error_msg
598
+ console.log("提交异常数据")
599
+ console.log(Exejson)
600
+ let param = {
601
+ tablename: 't_exception',
602
+ basedata: Exejson
603
+ }
604
+ try {
605
+ this.$resetpost('rs/logic/saveTable', param, {resolveMsg: null, rejectMsg: null}).then((req) => {
606
+ console.log(val)
607
+ this.handExce = {}
608
+ console.log("提交成功")
609
+ }).then(() => {
610
+ this.$showMessage("异常保存成功!")
611
+ })
612
+ } catch (e) {
613
+ this.handExce = {}
614
+ console.log("提交失败")
615
+ this.$showMessage("异常保存失败!")
616
+ }
617
+ this.handshow = false
618
+ },
619
+ /*DealSignal(val){
620
+ console.log(val.model.f_signal)
621
+ if(val.model&&val.model.f_signal) {
622
+ if (val.model.f_signal == '信号正常') {
623
+ val.condition = val.condition + " and " + "f_signal>-100 "
624
+ }
625
+ if (val.model.f_signal == '信号异常') {
626
+ val.condition = val.condition + " and " + "f_signal<-100 "
627
+ }
628
+ }
629
+ return val
630
+ },*/
631
+ /*DealFaults(val){
632
+ if (val.model&&val.model.faultstate){
633
+ console.log(val.model.faultstate)
634
+ val.model.faultstate.forEach((item) =>{
635
+ if (item=='磁干扰'){
636
+ val.condition=val.condition+" and "+"f_magneticInterference=1 "
637
+ }
638
+ if (item=='周期关阀'){
639
+ val.condition=val.condition+" and "+"f_cycleShutValue=1 "
640
+ }
641
+ if (item=='过流保护关阀'){
642
+ val.condition=val.condition+" and "+"f_overCurrentProtection=1 "
643
+ }
644
+ if (item=='关阀走气'){
645
+ val.condition=val.condition+" and "+"f_leakageFlag=1 "
646
+ }
647
+ if(item=='拆表报警'){
648
+ val.condition=val.condition+" and "+"f_SplitAlarm=1 "
649
+ }
650
+ })
651
+ }
652
+ return val
653
+ },*/
654
+ SaveAsFile(str) {
655
+ this.$showMessage('您是否需要导出本页数据?', ['confirm', 'cancel']).then((res) => {
656
+ if (res === 'confirm') {
657
+ let style = '<style>' +
658
+ 'td {border-width: 1px;padding: 2px;border-style: solid; border-color:black; border-collapse:collapse;} .tdright{text-align: right;} .tdcenter{text-align: center;}</style>';
659
+ let strHtml = style + document.getElementById(str).innerHTML;
660
+ console.log(strHtml);
661
+ let LODOP = getLodop();
662
+ LODOP.PRINT_INIT('');
663
+ LODOP.ADD_PRINT_TABLE(5, 5, '99%', '100%', strHtml);
664
+ LODOP.SAVE_TO_FILE('抄表查看.xls')
665
+ }
666
+ })
667
+ },
668
+ clearmsg() {
669
+ this.$refs.paged.$refs.criteria.model = {}
670
+ },
671
+ search(args) {
672
+ if (this.orgCondtionStr)
673
+ args.condition = args.condition + `and ui.f_orgid in ${this.orgCondtionStr}`
674
+ this.model.search(args.condition, args.model)
675
+ },
676
+ getRes(obj) {
677
+ this.orgCondtionStr = plugins.convertToIn(obj)
678
+
679
+ console.log('++++++++++++++++++', this.orgCondtionStr)
680
+ },
681
+ },
682
+
683
+ watch: {
684
+ // 监听查询对象
685
+ 'searchobj'(val) {
686
+ if (this.searchobj != null) {
687
+ this.$refs.paged.$refs.criteria.model.f_meternumber = this.searchobj.f_meternumber
688
+ /* this.$refs.paged.$refs.criteria.model.startDate = this.searchobj.model.startDate
689
+ this.$refs.paged.$refs.criteria.model.endDate = this.searchobj.model.endDate*/
690
+ this.$refs.paged.$refs.criteria.search()
691
+ }
692
+ }
693
+ },
694
+ computed: {
695
+ // 上报异常类型
696
+ Excestates() {
697
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('上报异常类型')]
698
+ },
699
+ Gasproperties() {
700
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('用气性质')]
701
+ },
702
+ Gasusertype() {
703
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]
704
+ },
705
+ Getuploadtype() {
706
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('上报类型')]
707
+ },
708
+ //标记状态
709
+ parameterState() {
710
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('标记状态')]
711
+ },
712
+ //标记名称
713
+ parameterName() {
714
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('标记名称')]
715
+ },
716
+ // 故障状态
717
+ FaultStates() {
718
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('故障状态')]
719
+ // return [
720
+ // {label: '磁干扰', value: '磁干扰'},
721
+ // {label: '周期关阀', value: '周期关阀'},
722
+ // {label: '过流保护关阀', value: '过流保护关阀'},
723
+ // {label: '关阀走气', value: '关阀走气'},
724
+ // {label: '拆表报警', value: '拆表报警'},
725
+ // ]
726
+ },
727
+ SignalStates() {
728
+ return [
729
+ {label: '全部', value: '全部'},
730
+ {label: '信号正常', value: '信号正常'},
731
+ {label: '信号异常', value: '信号异常'},
732
+ ]
733
+ }
734
+ }
735
+ }
736
+ </script>
737
+ <style>
738
+ .datapanel {
739
+ color: #333;
740
+ background-color: white;
741
+ box-shadow: darkgrey 0.5px 0.5px 0.5px 0.5px;
742
+ padding: 10px 30px 10px 30px;
743
+ border-radius: 15px;
744
+ }
745
+ </style>