manage-client 3.2.75 → 3.2.76-aode

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 (858) hide show
  1. package/.babelrc +5 -5
  2. package/.classpath +6 -6
  3. package/.editorconfig +9 -9
  4. package/.eslintrc.js +1 -5
  5. package/.project +18 -18
  6. package/CHANGELOG.md +0 -2
  7. package/ManageClient.iml +2 -2
  8. package/README.md +38 -38
  9. package/build/dev-server.js +37 -20
  10. package/build/package.json +2 -2
  11. package/build/webpack.base.conf.js +79 -82
  12. package/build.gradle +1 -1
  13. package/client.iml +15 -0
  14. package/config/dev.env.js +6 -6
  15. package/config/index.js +1 -3
  16. package/config/prod.env.js +3 -3
  17. package/config/test.env.js +6 -6
  18. package/package.json +9 -9
  19. package/release.bat +5 -5
  20. package/src/App.vue +2 -2
  21. package/src/Util.js +383 -367
  22. package/src/components/ManageHome/Home/Monitor.vue +4 -4
  23. package/src/components/ManageHome/Home/UserModule.vue +3 -3
  24. package/src/components/ManageHome/Monitor/NoContact.vue +0 -1
  25. package/src/components/ManageHomeCS/CustomerService/ContentmentStatistics.vue +6 -6
  26. package/src/components/ManageHomeCS/CustomerService/ExcepCollect.vue +5 -5
  27. package/src/components/ManageHomeCS/CustomerService/ReasonComplaint.vue +3 -33
  28. package/src/components/ManageHomeCS/CustomerService/ReasonConsultation.vue +3 -36
  29. package/src/components/ManageHomeCS/CustomerService/ServiceFix.vue +9 -56
  30. package/src/components/ManageHomeCS/CustomerService/ServiceHome.vue +21 -20
  31. package/src/components/ManageHomeCS/CustomerService/ServiceStatistics.vue +34 -138
  32. package/src/components/ManageHomeCS/Drill/DrillData.vue +36 -162
  33. package/src/components/ManageHomeCS/Drill/DrillList.vue +4 -4
  34. package/src/components/ManageHomeCS/Home/CallCenter.vue +19 -34
  35. package/src/components/ManageHomeCS/Home/GasValue.vue +34 -123
  36. package/src/components/ManageHomeCS/Home/Home.vue +2 -4
  37. package/src/components/ManageHomeCS/Home/Monitor.vue +4 -12
  38. package/src/components/ManageHomeCS/Home/NetWork.vue +18 -18
  39. package/src/components/ManageHomeCS/Home/SafeCheck.vue +16 -19
  40. package/src/components/ManageHomeCS/Home/UserModule.vue +42 -26
  41. package/src/components/ManageHomeCS/ManageHome.vue +4 -10
  42. package/src/components/ManageHomeCS/Monitor/Caveat.vue +11 -11
  43. package/src/components/ManageHomeCS/Monitor/ComparedGas.vue +7 -19
  44. package/src/components/ManageHomeCS/Monitor/MeterBrand.vue +3 -2
  45. package/src/components/ManageHomeCS/Monitor/MonitorCenter.vue +7 -10
  46. package/src/components/ManageHomeCS/Monitor/MonitorHome.vue +4 -4
  47. package/src/components/ManageHomeCS/Monitor/NoBuyGas.vue +30 -15
  48. package/src/components/ManageHomeCS/Monitor/NoContact.vue +62 -33
  49. package/src/components/ManageHomeCS/Monitor/NoGas.vue +20 -22
  50. package/src/components/ManageHomeCS/NetWork/LineInspection.vue +3 -3
  51. package/src/components/ManageHomeCS/NetWork/NetDanger.vue +3 -3
  52. package/src/components/ManageHomeCS/NetWork/NetHome.vue +7 -5
  53. package/src/components/ManageHomeCS/NetWork/NetWork.vue +3 -3
  54. package/src/components/ManageHomeCS/NewHome/NewManageHome.vue +16 -134
  55. package/src/components/ManageHomeCS/NewHome/TextBusiness.vue +271 -198
  56. package/src/components/ManageHomeCS/NewHome/TextChildsellgas.vue +135 -138
  57. package/src/components/ManageHomeCS/NewHome/TextProfit.vue +100 -123
  58. package/src/components/ManageHomeCS/NewHome/TextSellgas.vue +47 -50
  59. package/src/components/ManageHomeCS/NewHome/TextShanximap.vue +332 -332
  60. package/src/components/ManageHomeCS/NewHome/TextTotalsellgas.vue +22 -25
  61. package/src/components/ManageHomeCS/NewHome/TextUser.vue +70 -150
  62. package/src/components/ManageHomeCS/NewHome/shanxi.vue +321 -126
  63. package/src/components/ManageHomeCS/SecurityCheck/CustomerType.vue +7 -7
  64. package/src/components/ManageHomeCS/SecurityCheck/LatentDanger.vue +206 -163
  65. package/src/components/ManageHomeCS/SecurityCheck/PlanStatistics.vue +2 -2
  66. package/src/components/ManageHomeCS/User/GasDistri.vue +295 -172
  67. package/src/components/ManageHomeCS/User/InspecDistri.vue +348 -0
  68. package/src/components/ManageHomeCS/User/SaleProportion.vue +5 -53
  69. package/src/components/ManageHomeCS/User/UseHome.vue +4 -12
  70. package/src/components/ManageHomeCS/User/UserGascontrast.vue +13 -10
  71. package/src/components/ManageHomeCS/User/UserNumber.vue +9 -10
  72. package/src/components/ManageHomeCS/User/UsernumIncrease.vue +5 -5
  73. package/src/components/MeterManage/ChangeMeterQuery.vue +82 -82
  74. package/src/components/MeterManage/HandQuery.vue +72 -72
  75. package/src/components/MeterManage/MeterList.vue +336 -336
  76. package/src/components/MeterManage/ReversalQuery.vue +77 -77
  77. package/src/components/SellReport/BonSummary.vue +109 -105
  78. package/src/components/SellReport/BusSummary.vue +238 -0
  79. package/src/components/SellReport/ChargeBill.vue +164 -222
  80. package/src/components/SellReport/CollectFee.vue +1 -1
  81. package/src/components/SellReport/Contrast.vue +1 -1
  82. package/src/components/SellReport/FenxiangSell.vue +1 -1
  83. package/src/components/SellReport/GasCollect.vue +1 -1
  84. package/src/components/SellReport/GasPrice.vue +89 -150
  85. package/src/components/SellReport/GaspriceHas.vue +141 -141
  86. package/src/components/SellReport/GetSummary.vue +186 -0
  87. package/src/components/SellReport/GetUserNum.vue +138 -212
  88. package/src/components/SellReport/HandCollect.vue +1 -1
  89. package/src/components/SellReport/HandplanBili.vue +38 -206
  90. package/src/components/SellReport/JinChengBusSummary.vue +1 -1
  91. package/src/components/SellReport/JinChengHandGas.vue +1 -1
  92. package/src/components/SellReport/JinChengOperSummary.vue +1 -1
  93. package/src/components/SellReport/JinChengSliceSumgas.vue +1 -1
  94. package/src/components/SellReport/ManageBusSummary.vue +241 -224
  95. package/src/components/SellReport/ManageGasPrice.vue +110 -103
  96. package/src/components/SellReport/ManageHandInputtor.vue +19 -59
  97. package/src/components/SellReport/ManageMonthGas.vue +49 -117
  98. package/src/components/SellReport/ManageNewGasPrice.vue +1 -6
  99. package/src/components/SellReport/ManageSellType.vue +53 -154
  100. package/src/components/SellReport/ManageUserCollect.vue +1 -7
  101. package/src/components/SellReport/MeterBill.vue +1 -1
  102. package/src/components/SellReport/MeterInput.vue +162 -227
  103. package/src/components/SellReport/MeterReader.vue +157 -185
  104. package/src/components/SellReport/OweAging.vue +1 -1
  105. package/src/components/SellReport/QTXManageBusSummary.vue +9 -11
  106. package/src/components/SellReport/RefundQuery.vue +237 -0
  107. package/src/components/SellReport/ReportItems.vue +18 -229
  108. package/src/components/SellReport/ReportPool.vue +6 -26
  109. package/src/components/SellReport/Selling.vue +1 -1
  110. package/src/components/SellReport/UsertypePie.vue +0 -2
  111. package/src/components/SellReport/VolumeStatistics.vue +226 -0
  112. package/src/components/SellReport/YuShou.vue +185 -0
  113. package/src/components/SellReport/jingwei/CardCharge.vue +6 -6
  114. package/src/components/SellReport/jingwei/MachineCharge.vue +6 -6
  115. package/src/components/SellReport/jingwei/PaymentNotice.vue +84 -247
  116. package/src/components/SellReport/jingwei/handplanReport.vue +19 -78
  117. package/src/components/TelReport/TrafficAssess.vue +99 -0
  118. package/src/components/TelReport/TrafficBasic.vue +117 -0
  119. package/src/components/TelReport/ZhiHuanservice.vue +36 -51
  120. package/src/components/WebReport/AbnormalInfoEcharts.vue +120 -120
  121. package/src/components/WebReport/Communication.vue +131 -131
  122. package/src/components/WebReport/CompanyUser.vue +79 -79
  123. package/src/components/WebReport/EchartsBox.vue +3 -3
  124. package/src/components/WebReport/GaspriceHas.vue +141 -141
  125. package/src/components/WebReport/ReportWorklist.vue +220 -220
  126. package/src/components/WebReport/SellType.vue +89 -89
  127. package/src/components/WebReport/Telemanlist.vue +221 -221
  128. package/src/components/WebReport/UserGasAll.vue +214 -214
  129. package/src/components/WebReport/UserGasEcharts.vue +107 -107
  130. package/src/components/WebReport/ValueEcharts.vue +99 -99
  131. package/src/components/sale/businessquery/BusinessManage.vue +93 -161
  132. package/src/components/sale/businessquery/ChangeMeterQuery.vue +667 -645
  133. package/src/components/sale/businessquery/ChargeQuery.vue +663 -1276
  134. package/src/components/sale/businessquery/DeductionGas.vue +149 -0
  135. package/src/components/sale/businessquery/DisableQuery.vue +315 -462
  136. package/src/components/sale/businessquery/EnableQuery.vue +315 -419
  137. package/src/components/sale/businessquery/FillCardQuery.vue +436 -497
  138. package/src/components/sale/businessquery/FillGasQuery.vue +435 -522
  139. package/src/components/sale/businessquery/HandplanQuery.vue +705 -1327
  140. package/src/components/sale/businessquery/InspectListGas.vue +456 -535
  141. package/src/components/sale/businessquery/InspectListUser.vue +94 -147
  142. package/src/components/sale/businessquery/InspectManage.vue +9 -22
  143. package/src/components/sale/businessquery/NewAccountQuery.vue +506 -409
  144. package/src/components/sale/businessquery/OtherChargeDetailQuery.vue +0 -4
  145. package/src/components/sale/businessquery/OtherChargeQuery.vue +406 -645
  146. package/src/components/sale/businessquery/QueryUserState.vue +313 -0
  147. package/src/components/sale/businessquery/ReverseQuery.vue +347 -413
  148. package/src/components/sale/businessquery/SellingHand.vue +35 -112
  149. package/src/components/sale/businessquery/TransferQuery.vue +363 -429
  150. package/src/components/sale/businessquery/errorHandplanQuery.vue +22 -32
  151. package/src/components/sale/businessquery/{ResourceOperatingQuery.vue → ncpushQuery.vue} +114 -127
  152. package/src/{filiale/shaoguan/sale/businessquery/ExemptQuery.vue → components/sale/businessquery/toolCardMakeQuery.vue} +340 -314
  153. package/src/components/sale/common/TabButton.vue +3 -9
  154. package/src/components/sale/common/Tabs.vue +1 -1
  155. package/src/components/sale/config/DefaultPrint.js +6 -6
  156. package/src/components/sale/config/exportConfig.js +271 -925
  157. package/src/components/sale/filesquery/ArchivesManage.vue +10 -32
  158. package/src/components/sale/filesquery/{PriceChangeQuery.vue → ChangeUserQuery.vue} +396 -369
  159. package/src/components/sale/filesquery/DeviceQuery.vue +329 -542
  160. package/src/components/sale/filesquery/MeterQuery.vue +593 -937
  161. package/src/components/sale/filesquery/UserQuery.vue +556 -933
  162. package/src/components/sale/filesquery/detail/oper/ChangeMessage.vue +46 -46
  163. package/src/components/sale/filesquery/detail/oper/HandOper.vue +46 -46
  164. package/src/components/sale/filesquery/detail/oper/HandleMessage.vue +46 -46
  165. package/src/components/sale/filesquery/filequerydetail/BlackListQueryDetail.vue +219 -219
  166. package/src/components/sale/filesquery/filequerydetail/DeviceQueryDetail.vue +1 -1
  167. package/src/components/sale/filesquery/filequerydetail/DisableQueryDetail.vue +272 -272
  168. package/src/components/sale/filesquery/filequerydetail/EnableQueryDetail.vue +274 -274
  169. package/src/components/sale/ncpush/ncUserLoad.vue +176 -0
  170. package/src/components/sale/ncpush/ncpushmanage/NCpushList.vue +497 -0
  171. package/src/components/sale/ncpush/ncpushmanage/NCpushManage.vue +50 -0
  172. package/src/components/sale/ncpush/ncpushmanage/NCpushSummary.vue +110 -0
  173. package/src/components/sale/ncpush/ncrecord/pushRecordQuery.vue +252 -0
  174. package/src/components/sale/ncpush/ncrecord/pushbilldatalist.vue +166 -0
  175. package/src/components/sale/ncpush/ncrecord/pushdaydatalist.vue +298 -0
  176. package/src/components/sale/ncpush/pushconfirmManage.vue +271 -0
  177. package/src/components/sale/ncpush/pushconfirmadd.vue +420 -0
  178. package/src/components/sale/ncpush/pushconfirmlist.vue +414 -0
  179. package/src/components/sale/ncpush/pushconfirmmergelist.vue +480 -0
  180. package/src/components/sale/report/aode/DayReport.vue +2 -2
  181. package/src/components/sale/report/aode/DayReportList.vue +272 -90
  182. package/src/components/sale/report/aode/DayReportSummary.vue +67 -30
  183. package/src/components/sale/report/aode/MonthByChargeType.vue +526 -446
  184. package/src/components/sale/report/aode/MonthByUserType.vue +562 -413
  185. package/src/components/sale/report/aode/YearByChargeTpye.vue +254 -215
  186. package/src/components/sale/report/aode/YearByUserType.vue +342 -272
  187. package/src/components/sale/{businessquery/pricechangeRecordQuery.vue → report/aode/iot/FarawayQuery.vue} +401 -409
  188. package/src/components/sale/report/aode/iot/ReportQuery.vue +387 -0
  189. package/src/components/sale/report/aode/life/LifeDayReportList.vue +115 -32
  190. package/src/components/sale/report/aode/life/LifeMonthReport.vue +199 -15
  191. package/src/components/sale/report/aode/life/LifeYearReport.vue +47 -6
  192. package/src/components/sale/report/aode/othercharge/OtherDayReport.vue +50 -0
  193. package/src/components/sale/report/aode/othercharge/OtherDayReportList.vue +414 -0
  194. package/src/components/sale/report/aode/othercharge/OtherDayReportListPrint.vue +240 -0
  195. package/src/components/sale/report/aode/othercharge/OtherDayReportSummary.vue +68 -0
  196. package/src/components/sale/report/aode/userbuyQuery.vue +477 -0
  197. package/src/components/sale/report/aode/widget/DayReportListPrint.vue +147 -87
  198. package/src/components/sale/report/aode/widget/LifeDayReportListPrint.vue +45 -1
  199. package/src/components/sale/report/aode/widget/LifeMonthPrint.vue +21 -4
  200. package/src/components/sale/report/aode/widget/LifeYearPrint.vue +21 -4
  201. package/src/components/sale/report/aode/widget/MonthByChargePrint.vue +35 -25
  202. package/src/components/sale/report/aode/widget/MonthByUserPrint.vue +24 -24
  203. package/src/components/valueaddinfo/ValueAddinfoQuery.vue +425 -0
  204. package/src/components/valueaddinfo/renewalvalueAddUserQuery.vue +371 -0
  205. package/src/components/valueaddinfo/valueAddCountQuery.vue +315 -0
  206. package/src/components/valueaddinfo/valueAddUserQuery.vue +404 -0
  207. package/src/components/webmeter/ArreasuserQuery.vue +193 -0
  208. package/src/components/webmeter/DrillData/LostContactAnalysis.vue +531 -531
  209. package/src/components/webmeter/DrillData/LostContactAnalysisList.vue +548 -633
  210. package/src/components/webmeter/DrillData/LostContactEcharts.vue +14 -32
  211. package/src/{filiale/WEINAN/UserGasAll.vue → components/webmeter/DrillData/NewUserGasAll.vue} +568 -577
  212. package/src/components/webmeter/DrillData/UserGasAll.vue +190 -282
  213. package/src/components/webmeter/DrillData/UserGasEcharts.vue +10 -21
  214. package/src/components/webmeter/DrillData/UserGasEform.vue +7 -8
  215. package/src/components/webmeter/DrillData/UserLostContactAnalysis.vue +507 -585
  216. package/src/components/webmeter/EasyExcelExportCk.vue +396 -0
  217. package/src/components/webmeter/IOTArrears/arrears.vue +324 -0
  218. package/src/components/webmeter/IOTArrears/iotRechargeAudit.vue +377 -0
  219. package/src/components/webmeter/IOTArrears/valueConfig.js +14 -0
  220. package/src/{filiale/aode/HandplanQuery.vue → components/webmeter/NewWebmeterHandplanQuery.vue} +605 -632
  221. package/src/components/webmeter/OperatorCount.vue +189 -0
  222. package/src/{filiale/meihekou/CardHandplanQuery.vue → components/webmeter/WebmeterHandplanQuery.vue} +640 -612
  223. package/src/components/webmeter/WebmeterHandplanQuery2CK.vue +663 -0
  224. package/src/components/webmeter/dataCollection/DataCollection.vue +630 -676
  225. package/src/components/webmeter/gasAnalysis/GasAnalysisEcharts.vue +144 -144
  226. package/src/components/webmeter/gasAnalysis/GasAnalysisManage.vue +303 -303
  227. package/src/components/webmeter/gasAnalysis/GasAnalysisSummary.vue +162 -162
  228. package/src/components/webmeter/handplan/NewWebMeterHandPlan.vue +745 -745
  229. package/src/components/webmeter/newwebmeter/NewException/NewExceptionEcharsTotal.vue +573 -149
  230. package/src/components/webmeter/newwebmeter/NewException/NewExceptionEform.vue +149 -149
  231. package/src/components/webmeter/newwebmeter/NewException/NewMeterException.vue +449 -449
  232. package/src/components/webmeter/newwebmeter/NewException/TotalExceptionByMeter.vue +492 -607
  233. package/src/components/webmeter/newwebmeter/NewWebUserHand.vue +325 -0
  234. package/src/components/webmeter/newwebmeter/ReportDataQuery.vue +283 -0
  235. package/src/components/webmeter/newwebmeter/UserGasEchartsList.vue +31 -70
  236. package/src/components/webmeter/newwebmeter/UserGasList.vue +295 -439
  237. package/src/components/webmeter/newwebmeter/UserInstructEchartsList.vue +50 -6
  238. package/src/components/webmeter/newwebmeter/UserInstructList.vue +311 -332
  239. package/src/components/webmeter/newwebmeter/signAnalysisEcharts.vue +18 -26
  240. package/src/components/webmeter/newwebmeter/signAnalysisEform.vue +1 -1
  241. package/src/components/webmeter/newwebmeter/signAnalysisListMain.vue +386 -387
  242. package/src/components/webmeter/report/ReportList.vue +211 -420
  243. package/src/index.js +1 -3
  244. package/src/main.js +8 -18
  245. package/src/newmanage.js +4 -241
  246. package/src/plugins/LodopFuncs.js +124 -124
  247. package/src/reportManage.js +29 -357
  248. package/src/saleManage.js +142 -432
  249. package/src/stores/DrillECharts.js +13 -14
  250. package/src/stores/DrillSql.js +72 -285
  251. package/src/stores/GetParames.js +15 -15
  252. package/src/stores/MagGetSaleParams.js +8 -26
  253. package/src/stores/Util.js +132 -132
  254. package/src/webmeterManage.js +99 -119
  255. package/static/mainicon/jiezhang.png +0 -0
  256. package/test/unit/.eslintrc +5 -5
  257. package/test/unit/TestUtil.js +35 -35
  258. package/test/unit/context.html +20 -20
  259. package/test/unit/index.js +13 -13
  260. package/test/unit/init.js +11 -11
  261. package/test/unit/karma.conf.js +45 -45
  262. package/test/unit/specs/components/CallReport/Repair.spec.js +25 -25
  263. package/test/unit/specs/components/ManageBusiness/EquipmentQuery.spec.js +21 -21
  264. package/test/unit/specs/components/ManageBusiness/TableWithQuery.spec.js +21 -21
  265. package/test/unit/specs/components/ManageBusiness/UserQuery.spec.js +21 -21
  266. package/.gradle/4.4/fileChanges/last-build.bin +0 -0
  267. package/.gradle/4.4/fileHashes/fileHashes.bin +0 -0
  268. package/.gradle/4.4/fileHashes/fileHashes.lock +0 -0
  269. package/.gradle/6.1/executionHistory/executionHistory.bin +0 -0
  270. package/.gradle/6.1/executionHistory/executionHistory.lock +0 -0
  271. package/.gradle/6.1/fileChanges/last-build.bin +0 -0
  272. package/.gradle/6.1/fileHashes/fileHashes.bin +0 -0
  273. package/.gradle/6.1/fileHashes/fileHashes.lock +0 -0
  274. package/.gradle/6.1/gc.properties +0 -0
  275. package/.gradle/6.1.1/executionHistory/executionHistory.bin +0 -0
  276. package/.gradle/6.1.1/executionHistory/executionHistory.lock +0 -0
  277. package/.gradle/6.1.1/fileChanges/last-build.bin +0 -0
  278. package/.gradle/6.1.1/fileHashes/fileHashes.bin +0 -0
  279. package/.gradle/6.1.1/fileHashes/fileHashes.lock +0 -0
  280. package/.gradle/6.1.1/gc.properties +0 -0
  281. package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
  282. package/.gradle/buildOutputCleanup/cache.properties +0 -2
  283. package/.gradle/checksums/checksums.lock +0 -0
  284. package/.gradle/vcs-1/gc.properties +0 -0
  285. package/DOC/excel/346/226/207/346/241/243//345/257/274/345/205/245/345/234/260/345/235/200/346/250/241/346/235/277.xlsx +0 -0
  286. package/DOC/excel/346/226/207/346/241/243//346/211/271/351/207/217/345/273/272/346/241/243/346/250/241/346/235/277.xlsx +0 -0
  287. package/gradle/wrapper/gradle-wrapper.jar +0 -0
  288. package/gradle/wrapper/gradle-wrapper.properties +0 -5
  289. package/gradlew +0 -0
  290. package/gradlew.bat +0 -100
  291. package/src/components/BasisEcharts/BarChart.vue +0 -247
  292. package/src/components/BasisEcharts/LineChart.vue +0 -243
  293. package/src/components/BasisEcharts/RingChart.vue +0 -196
  294. package/src/components/ManageHomeCS/Home/YulinMap.vue +0 -424
  295. package/src/components/ManageHomeCS/NewHome/GasProperties.vue +0 -314
  296. package/src/components/ManageHomeCS/NewHome/yulin.vue +0 -425
  297. package/src/components/ManageHomeCS/Poor/MonthData.vue +0 -316
  298. package/src/components/ManageHomeCS/Poor/MonthData1.vue +0 -290
  299. package/src/components/ManageHomeCS/Poor/PoorHome.vue +0 -176
  300. package/src/components/ManageHomeCS/Poor/SeasonData.vue +0 -312
  301. package/src/components/ManageHomeCS/Poor/SeasonData1.vue +0 -289
  302. package/src/components/ManageHomeCS/Poor/WeekData.vue +0 -305
  303. package/src/components/ManageHomeCS/Poor/WeekData1.vue +0 -296
  304. package/src/components/ManageHomeCS/Poor/YearData.vue +0 -310
  305. package/src/components/ManageHomeCS/User/FMYInspecDistri.vue +0 -269
  306. package/src/components/ManageHomeCS/User/MYInspecDistri.vue +0 -269
  307. package/src/components/ManageHomeCS/liaoyuan/CustomerService/ContentmentStatistics.vue +0 -280
  308. package/src/components/ManageHomeCS/liaoyuan/NewHome/NewManageHome.vue +0 -124
  309. package/src/components/ManageHomeCS/liaoyuan/NewHome/TextBusiness.vue +0 -340
  310. package/src/components/ManageHomeCS/liaoyuan/NewHome/TextChildsellgas.vue +0 -276
  311. package/src/components/ManageHomeCS/liaoyuan/NewHome/TextProfit.vue +0 -331
  312. package/src/components/ManageHomeCS/liaoyuan/NewHome/TextSellgas.vue +0 -140
  313. package/src/components/ManageHomeCS/liaoyuan/NewHome/TextShanximap.vue +0 -394
  314. package/src/components/ManageHomeCS/liaoyuan/NewHome/TextTotalsellgas.vue +0 -418
  315. package/src/components/ManageHomeCS/liaoyuan/NewHome/TextUser.vue +0 -327
  316. package/src/components/ManageHomeCS/liaoyuan/NewHome/baoding.vue +0 -382
  317. package/src/components/ManageHomeCS/liaoyuan/NewHome/shanxi.vue +0 -437
  318. package/src/components/ManageHomeCS/liaoyuan/User/GasDistri.vue +0 -369
  319. package/src/components/ManageHomeCS/predict/PredictAir.vue +0 -322
  320. package/src/components/ManageHomeCS/predict/PredictGas.vue +0 -419
  321. package/src/components/ManageHomeCS/predict/PredictHome.vue +0 -84
  322. package/src/components/SellReport/AmountGas.vue +0 -257
  323. package/src/components/SellReport/BusinessClassify.vue +0 -290
  324. package/src/components/SellReport/BusinessMoneyReport.vue +0 -268
  325. package/src/components/SellReport/BusinessReport.vue +0 -256
  326. package/src/components/SellReport/CaiManageDayGas.vue +0 -280
  327. package/src/components/SellReport/ChManageBusSummary.vue +0 -273
  328. package/src/components/SellReport/ChManageHandSellMoney.vue +0 -274
  329. package/src/components/SellReport/ChManageMonthGas.vue +0 -285
  330. package/src/components/SellReport/ChOtherfee.vue +0 -251
  331. package/src/components/SellReport/ChSellReport.vue +0 -251
  332. package/src/components/SellReport/ChargeDayReport.vue +0 -428
  333. package/src/components/SellReport/ChargeDayTable.vue +0 -258
  334. package/src/components/SellReport/ChargeMonthTable.vue +0 -257
  335. package/src/components/SellReport/ChargePrick.vue +0 -205
  336. package/src/components/SellReport/ChargeYearTable.vue +0 -252
  337. package/src/components/SellReport/CivilGasReport.vue +0 -194
  338. package/src/components/SellReport/DayStairMoney.vue +0 -256
  339. package/src/components/SellReport/DepartmentPrick.vue +0 -288
  340. package/src/components/SellReport/DeptHomePage.vue +0 -299
  341. package/src/components/SellReport/FinanceSellType.vue +0 -254
  342. package/src/components/SellReport/FxGasTable.vue +0 -220
  343. package/src/components/SellReport/GYReportWH.vue +0 -181
  344. package/src/components/SellReport/GasBaozhuangFee.vue +0 -237
  345. package/src/components/SellReport/GasMeterBrand.vue +0 -228
  346. package/src/components/SellReport/GasMoneyPublicReport.vue +0 -263
  347. package/src/components/SellReport/GasMoneyReport.vue +0 -254
  348. package/src/components/SellReport/GasPriceGroup.vue +0 -228
  349. package/src/components/SellReport/GasSummary.vue +0 -257
  350. package/src/components/SellReport/Gasc.vue +0 -257
  351. package/src/components/SellReport/HandplanUserCount.vue +0 -227
  352. package/src/components/SellReport/ManageBusOtherTable.vue +0 -219
  353. package/src/components/SellReport/ManageBusTable.vue +0 -207
  354. package/src/components/SellReport/ManageDayGas.vue +0 -246
  355. package/src/components/SellReport/ManageGasFee.vue +0 -247
  356. package/src/components/SellReport/ManageGasFeeOperator.vue +0 -236
  357. package/src/components/SellReport/ManageGasSumChange.vue +0 -265
  358. package/src/components/SellReport/ManageGasSumChangeTwo.vue +0 -271
  359. package/src/components/SellReport/ManageGasSumOtherCharge.vue +0 -244
  360. package/src/components/SellReport/ManageHandSellInputtor.vue +0 -241
  361. package/src/components/SellReport/ManageOtherCharge.vue +0 -250
  362. package/src/components/SellReport/ManageReceivable.vue +0 -254
  363. package/src/components/SellReport/ManageUserCount.vue +0 -347
  364. package/src/components/SellReport/MarketMonth.vue +0 -297
  365. package/src/components/SellReport/MeterGasMoney.vue +0 -226
  366. package/src/components/SellReport/MeterPrice.vue +0 -244
  367. package/src/components/SellReport/MonthStairMoney.vue +0 -256
  368. package/src/components/SellReport/NonResidentGas.vue +0 -203
  369. package/src/components/SellReport/OperatorCheckoutReport.vue +0 -237
  370. package/src/components/SellReport/OperatorCheckoutTwo.vue +0 -263
  371. package/src/components/SellReport/OperatorSellReport.vue +0 -268
  372. package/src/components/SellReport/OtherChargePublicReport.vue +0 -262
  373. package/src/components/SellReport/OutletTable.vue +0 -258
  374. package/src/components/SellReport/PaymentDistribute.vue +0 -228
  375. package/src/components/SellReport/PaymentMethod.vue +0 -274
  376. package/src/components/SellReport/PriceReportWH.vue +0 -180
  377. package/src/components/SellReport/QibiaoShouqi.vue +0 -242
  378. package/src/components/SellReport/ReportComponrnt/TieAnAccount.vue +0 -501
  379. package/src/components/SellReport/ReportItemsSpecial.vue +0 -246
  380. package/src/components/SellReport/ReportPoolSpecial.vue +0 -60
  381. package/src/components/SellReport/SYReportWH.vue +0 -181
  382. package/src/components/SellReport/SaleMonthReport.vue +0 -153
  383. package/src/components/SellReport/SellBySelfHelp.vue +0 -263
  384. package/src/components/SellReport/SellDepReport.vue +0 -266
  385. package/src/components/SellReport/SellingTable.vue +0 -220
  386. package/src/components/SellReport/UnCivilGasReport.vue +0 -194
  387. package/src/components/SellReport/UserBalanceReport.vue +0 -180
  388. package/src/components/SellReport/UserClassify.vue +0 -271
  389. package/src/components/SellReport/UserGasFillCard.vue +0 -441
  390. package/src/components/SellReport/UserSellingGas.vue +0 -228
  391. package/src/components/SellReport/UserStateStatistics.vue +0 -188
  392. package/src/components/SellReport/WeiNanYuShou.vue +0 -246
  393. package/src/components/SellReport/XianYangCharge.vue +0 -226
  394. package/src/components/SellReport/XianYangDate.vue +0 -227
  395. package/src/components/SellReport/XianYangOperator.vue +0 -228
  396. package/src/components/SellReport/XiaoShouReport.vue +0 -251
  397. package/src/components/SellReport/XyDateCharge.vue +0 -227
  398. package/src/components/SellReport/XyOperatorCharge.vue +0 -256
  399. package/src/components/SellReport/YuShouTable.vue +0 -298
  400. package/src/components/SellReport/YuShouTableTwo.vue +0 -309
  401. package/src/components/SellReport/chargeSchedule.vue +0 -410
  402. package/src/components/SellReport/jingwei/ManageHandSellMoney.vue +0 -247
  403. package/src/components/SellReport/jingwei/ManageMonthSellType.vue +0 -247
  404. package/src/components/SellReport/pengan/ManageBusPeng.vue +0 -280
  405. package/src/components/SellReport/pengan/ManageBusSummaryPeng.vue +0 -241
  406. package/src/components/SellReport/tongchuan/ReportGasType.vue +0 -235
  407. package/src/components/SellReport/userholds.vue +0 -257
  408. package/src/components/daping/BarChart.vue +0 -256
  409. package/src/components/daping/BarChartLine.vue +0 -284
  410. package/src/components/daping/CallCenter.vue +0 -366
  411. package/src/components/daping/DataManagement.vue +0 -537
  412. package/src/components/daping/DataManagement1.vue +0 -345
  413. package/src/components/daping/DataStatistics.vue +0 -241
  414. package/src/components/daping/ExpireMeter.vue +0 -272
  415. package/src/components/daping/GMap.vue +0 -636
  416. package/src/components/daping/ManageMain.vue +0 -270
  417. package/src/components/daping/NetWork.vue +0 -238
  418. package/src/components/daping/Pie.vue +0 -171
  419. package/src/components/daping/RedactDaPing.vue +0 -486
  420. package/src/components/daping/ResidentsSecurity.vue +0 -132
  421. package/src/components/daping/Ring.vue +0 -212
  422. package/src/components/daping/SafeCheck.vue +0 -446
  423. package/src/components/daping/SafeCheckRing.vue +0 -166
  424. package/src/components/daping/SafecheckBarChart.vue +0 -233
  425. package/src/components/daping/Scada.vue +0 -198
  426. package/src/components/daping/SellBarEcharts.vue +0 -220
  427. package/src/components/daping/SellEcharts.vue +0 -219
  428. package/src/components/daping/Style/qinhuaStyle.less +0 -224
  429. package/src/components/daping/Style//346/261/211/344/273/252/350/217/261/345/277/203/344/275/223/347/256/200.ttf +0 -0
  430. package/src/components/daping/WuHaiMap.vue +0 -420
  431. package/src/components/daping/XianMap.vue +0 -275
  432. package/src/components/daping/js/AMap.js +0 -19
  433. package/src/components/daping/js/BMap.js +0 -13
  434. package/src/components/daping/json/mapStyle.json +0 -1299
  435. package/src/components/daping/json/xian.json +0 -1
  436. package/src/components/daping/qinHuaMap.vue +0 -338
  437. package/src/components/qinhua/BarChart.vue +0 -258
  438. package/src/components/qinhua/BarChartLine.vue +0 -288
  439. package/src/components/qinhua/ManageMain.vue +0 -162
  440. package/src/components/qinhua/Pie.vue +0 -139
  441. package/src/components/qinhua/Ring.vue +0 -165
  442. package/src/components/qinhua/SafeCheckRing.vue +0 -149
  443. package/src/components/qinhua/SafecheckBarChart.vue +0 -209
  444. package/src/components/qinhua/Scada.vue +0 -93
  445. package/src/components/qinhua/SellEcharts.vue +0 -115
  446. package/src/components/qinhua/Style/qinhuaStyle.less +0 -223
  447. package/src/components/qinhua/qinHuaMap.vue +0 -414
  448. package/src/components/sale/businessquery/AccountQuery/AccountListManage.vue +0 -69
  449. package/src/components/sale/businessquery/AccountQuery/ExpectGasList.vue +0 -504
  450. package/src/components/sale/businessquery/AccountQuery/GasReimbursementRate.vue +0 -431
  451. package/src/components/sale/businessquery/AccountQuery/IncomeGapQuery.vue +0 -329
  452. package/src/components/sale/businessquery/AccountQuery/OverdueList.vue +0 -361
  453. package/src/components/sale/businessquery/AccountQuery/PreGasList.vue +0 -371
  454. package/src/components/sale/businessquery/AccountQuery/SellingGasList.vue +0 -404
  455. package/src/components/sale/businessquery/AccountQuery/TransactionSummary.vue +0 -373
  456. package/src/components/sale/businessquery/AreaChargeQuery.vue +0 -380
  457. package/src/components/sale/businessquery/AreaGeneralQuery.vue +0 -638
  458. package/src/components/sale/businessquery/ArrearsQuery.vue +0 -924
  459. package/src/components/sale/businessquery/BalanceQuery.vue +0 -456
  460. package/src/components/sale/businessquery/BalanceTable.vue +0 -476
  461. package/src/components/sale/businessquery/BusinesQuery.vue +0 -369
  462. package/src/components/sale/businessquery/CancellationQuery.vue +0 -387
  463. package/src/components/sale/businessquery/CardHandplanQuery.vue +0 -448
  464. package/src/components/sale/businessquery/ChangeUserQuery.vue +0 -369
  465. package/src/components/sale/businessquery/CollectManage.vue +0 -138
  466. package/src/components/sale/businessquery/CommunityPaymen.vue +0 -303
  467. package/src/components/sale/businessquery/DepositDetail.vue +0 -664
  468. package/src/components/sale/businessquery/FMYGasQuery.vue +0 -724
  469. package/src/components/sale/businessquery/GasInspection.vue +0 -572
  470. package/src/components/sale/businessquery/GasLossQuery.vue +0 -561
  471. package/src/components/sale/businessquery/GroupChargeQuery.vue +0 -450
  472. package/src/components/sale/businessquery/HandBookQuery.vue +0 -689
  473. package/src/components/sale/businessquery/HandGasPropertiesQuery.vue +0 -663
  474. package/src/components/sale/businessquery/HandPeopleQuery.vue +0 -715
  475. package/src/components/sale/businessquery/HandRateQuery.vue +0 -520
  476. package/src/components/sale/businessquery/Handgasquery.vue +0 -476
  477. package/src/components/sale/businessquery/InfoOperateRecord.vue +0 -291
  478. package/src/components/sale/businessquery/MonthGasQuery.vue +0 -477
  479. package/src/components/sale/businessquery/MoveMeterQuery.vue +0 -363
  480. package/src/components/sale/businessquery/NoBusinessQuery.vue +0 -778
  481. package/src/components/sale/businessquery/PlotSummaryQuery.vue +0 -494
  482. package/src/components/sale/businessquery/PriceChange.vue +0 -420
  483. package/src/components/sale/businessquery/PricetypeGasMoney.vue +0 -417
  484. package/src/components/sale/businessquery/PrickBillQuery.vue +0 -332
  485. package/src/components/sale/businessquery/PrivilegeQuery.vue +0 -350
  486. package/src/components/sale/businessquery/ProceedsOper.vue +0 -417
  487. package/src/components/sale/businessquery/ReceiptQuery.vue +0 -831
  488. package/src/components/sale/businessquery/RecordQuery.vue +0 -430
  489. package/src/components/sale/businessquery/ResidentialArrearsQuery.vue +0 -418
  490. package/src/components/sale/businessquery/ResidentialQuery.vue +0 -418
  491. package/src/components/sale/businessquery/SalesGasClassification.vue +0 -168
  492. package/src/components/sale/businessquery/SellOrgnameQuery.vue +0 -674
  493. package/src/components/sale/businessquery/SellPeopleQuery.vue +0 -754
  494. package/src/components/sale/businessquery/SendbookQuery.vue +0 -360
  495. package/src/components/sale/businessquery/SuspiciousUserQuery.vue +0 -427
  496. package/src/components/sale/businessquery/TongjiManage.vue +0 -74
  497. package/src/components/sale/businessquery/UserInsured.vue +0 -410
  498. package/src/components/sale/businessquery/UserSellHeadDetail.vue +0 -578
  499. package/src/components/sale/businessquery/UserTongjiQuery.vue +0 -358
  500. package/src/components/sale/businessquery/YearGasQuery.vue +0 -422
  501. package/src/components/sale/businessquery/YingShouMingXi.vue +0 -525
  502. package/src/components/sale/businessquery/YonghuJieyu.vue +0 -352
  503. package/src/components/sale/businessquery/analysisquery/AnalysisManage.vue +0 -65
  504. package/src/components/sale/businessquery/analysisquery/CardHandAnalysis.vue +0 -584
  505. package/src/components/sale/businessquery/gasPriceQuery.vue +0 -351
  506. package/src/components/sale/businessquery/iotStateSearch/iotStateQuery.vue +0 -308
  507. package/src/components/sale/businessquery/overDueQuery.vue +0 -431
  508. package/src/components/sale/businessquery/priceadjustQuery.vue +0 -497
  509. package/src/components/sale/businessquery/usergas.vue +0 -311
  510. package/src/components/sale/businessquery/weChatBind.vue +0 -361
  511. package/src/components/sale/businessquery/yucunDetails.vue +0 -344
  512. package/src/components/sale/common/PrintData.vue +0 -171
  513. package/src/components/sale/common/PrintDataSelf.vue +0 -225
  514. package/src/components/sale/common/PrintTable.vue +0 -228
  515. package/src/components/sale/common/PrintTableSelf.vue +0 -251
  516. package/src/components/sale/common/handplanUser.vue +0 -112
  517. package/src/components/sale/config/tableConfig.js +0 -48
  518. package/src/components/sale/filesquery/FireQuery.vue +0 -485
  519. package/src/components/sale/filesquery/RecordInfoQuery.vue +0 -1268
  520. package/src/components/sale/filesquery/UserDeviceQuery.vue +0 -402
  521. package/src/components/scada/CaculateGasConsumputionByDay/CaculateGasConsumputionByDay.vue +0 -290
  522. package/src/components/scada/ChartDisplay/ChartDisplayManage.vue +0 -55
  523. package/src/components/scada/ChartDisplay/ChartThreeDayContrast.vue +0 -164
  524. package/src/components/scada/CumulativeFlow/CumulativeFlowHeatPlant.vue +0 -400
  525. package/src/components/scada/CumulativeFlow/CumulativeFlowManage.vue +0 -59
  526. package/src/components/scada/CumulativeFlow/CumulativeFlowRegulatorStation.vue +0 -504
  527. package/src/components/scada/CumulativeFlow/CumulativeFlowStation.vue +0 -248
  528. package/src/components/scada/GasSupplyRunning/GasSupplyRunningByDay.vue +0 -297
  529. package/src/components/scada/InstantaneousFlow/InstantaneousFlowHeatPlant.vue +0 -389
  530. package/src/components/scada/InstantaneousFlow/InstantaneousFlowManage.vue +0 -57
  531. package/src/components/scada/InstantaneousFlow/InstantaneousFlowRegulatorStation.vue +0 -503
  532. package/src/components/scada/InstantaneousFlow/InstantaneousFlowStation.vue +0 -244
  533. package/src/components/scada/OnTimePressure/OnTimePressureHeatPlant.vue +0 -356
  534. package/src/components/scada/OnTimePressure/OnTimePressureManage.vue +0 -51
  535. package/src/components/scada/OnTimePressure/OnTimePressureRegulatorStation.vue +0 -526
  536. package/src/components/scada/ThreeDayContrast/ThreeDayContrastManage.vue +0 -282
  537. package/src/components/statistical/DendrogramManage.vue +0 -239
  538. package/src/components/statistical/DendrogramsManage.vue +0 -308
  539. package/src/components/statistical/StatisticalAnalysis.vue +0 -252
  540. package/src/components/webmeter/DrillData/GetNoMetereadData.vue +0 -370
  541. package/src/components/webmeter/WebmeterAnalyse.vue +0 -52
  542. package/src/components/webmeter/WebmeterQuery.vue +0 -61
  543. package/src/components/webmeter/gasStatistics/GasStatistics.vue +0 -467
  544. package/src/components/webmeter/instruction/NewQueryInstruct.vue +0 -446
  545. package/src/components/webmeter/instruction/NewQueryInstructMain.vue +0 -48
  546. package/src/components/webmeter/meterinfo/NewMeterList.vue +0 -414
  547. package/src/components/webmeter/meterinfo/NewMeterListMain.vue +0 -53
  548. package/src/components/webmeter/newwebmeter/ArrearageQuery.vue +0 -307
  549. package/src/components/webmeter/newwebmeter/NewException/MeterExceptionList.vue +0 -506
  550. package/src/components/webmeter/newwebmeter/NewException/NewContactEcharts.vue +0 -171
  551. package/src/components/webmeter/newwebmeter/NewException/NewEchartsAll.vue +0 -111
  552. package/src/components/webmeter/newwebmeter/NewException/NewGasEcharts.vue +0 -208
  553. package/src/components/webmeter/newwebmeter/NewException/NewHandplanEcharts.vue +0 -213
  554. package/src/components/webmeter/newwebmeter/NewException/NewInstructEcharts.vue +0 -240
  555. package/src/components/webmeter/newwebmeter/PriceInstructDetail.vue +0 -374
  556. package/src/components/webmeter/newwebmeter/PriceInstructList.vue +0 -332
  557. package/src/components/webmeter/newwebmeter/PriceInstructManage.vue +0 -44
  558. package/src/components/webmeter/recharge/RechargeList.vue +0 -343
  559. package/src/components/webmeter/reportdata/ReportDataQuery.vue +0 -249
  560. package/src/components/yulin/GuanWang.vue +0 -24
  561. package/src/components/yulin/NetInfo.vue +0 -330
  562. package/src/components/yulin/SingleBarLine.vue +0 -352
  563. package/src/components/yulin/Trend.vue +0 -336
  564. package/src/components/yulin/Weather.vue +0 -157
  565. package/src/filiale/WEINAN/BankManager.vue +0 -169
  566. package/src/filiale/WEINAN/BusinessManage.vue +0 -152
  567. package/src/filiale/WEINAN/ChangeMeterQuery.vue +0 -606
  568. package/src/filiale/WEINAN/ChargeQuery.vue +0 -848
  569. package/src/filiale/WEINAN/EchartsBox.vue +0 -110
  570. package/src/filiale/WEINAN/FillGasQuery.vue +0 -457
  571. package/src/filiale/WEINAN/InspectListUser.vue +0 -492
  572. package/src/filiale/WEINAN/MeterQuery.vue +0 -946
  573. package/src/filiale/WEINAN/OtherChargeQuery.vue +0 -521
  574. package/src/filiale/WEINAN/RecordInfoQuery.vue +0 -1195
  575. package/src/filiale/WEINAN/ReportDataQuery.vue +0 -325
  576. package/src/filiale/WEINAN/SiteManager.vue +0 -191
  577. package/src/filiale/WEINAN/UserGasEcharts.vue +0 -281
  578. package/src/filiale/WEINAN/UserGasList.vue +0 -438
  579. package/src/filiale/WEINAN/config/DefaultPrint.js +0 -6
  580. package/src/filiale/WEINAN/config/exportConfig.js +0 -833
  581. package/src/filiale/WEINAN/config/tableConfig.js +0 -20
  582. package/src/filiale/WEINAN/manage/ChangeMeterQuery.vue +0 -606
  583. package/src/filiale/WEINAN/reportManage.js +0 -13
  584. package/src/filiale/WEINAN/sale.js +0 -36
  585. package/src/filiale/alashan/SellingTable.vue +0 -234
  586. package/src/filiale/alashan/reportManage.js +0 -10
  587. package/src/filiale/aode/ArchivesManage.vue +0 -38
  588. package/src/filiale/aode/BusinessManage.vue +0 -94
  589. package/src/filiale/aode/DefaultPrint.js +0 -6
  590. package/src/filiale/aode/Tabs.vue +0 -67
  591. package/src/filiale/aode/UserQuery.vue +0 -599
  592. package/src/filiale/aode/exportConfig.js +0 -249
  593. package/src/filiale/aode/sale.js +0 -17
  594. package/src/filiale/ceshi/ArrearsQuery.vue +0 -642
  595. package/src/filiale/ceshi/ChManageBusSummary.vue +0 -293
  596. package/src/filiale/ceshi/CollectManage.vue +0 -94
  597. package/src/filiale/ceshi/MeterRateQuery.vue +0 -633
  598. package/src/filiale/ceshi/TabButton.vue +0 -149
  599. package/src/filiale/ceshi/Tabs.vue +0 -69
  600. package/src/filiale/ceshi/exportConfig.js +0 -267
  601. package/src/filiale/ceshi/reportManage.js +0 -5
  602. package/src/filiale/ceshi/sale.js +0 -11
  603. package/src/filiale/gaomi/ChargeQuery.vue +0 -1221
  604. package/src/filiale/gaomi/DisableQuery.vue +0 -426
  605. package/src/filiale/gaomi/MeterQuery.vue +0 -848
  606. package/src/filiale/gaomi/RecordInfoQuery.vue +0 -988
  607. package/src/filiale/gaomi/UserQuery.vue +0 -815
  608. package/src/filiale/gaomi/config/DefaultPrint.js +0 -6
  609. package/src/filiale/gaomi/config/exportConfig.js +0 -791
  610. package/src/filiale/gaomi/config/tableConfig.js +0 -47
  611. package/src/filiale/gaomi/sale.js +0 -17
  612. package/src/filiale/gaomi/usergas.vue +0 -342
  613. package/src/filiale/gongyi/sale/businessquery/ArrearsQuery.vue +0 -709
  614. package/src/filiale/gongyi/sale/businessquery/BusinessManage.vue +0 -128
  615. package/src/filiale/gongyi/sale/businessquery/ChangeMeterQuery.vue +0 -627
  616. package/src/filiale/gongyi/sale/businessquery/FMYGasQuery.vue +0 -565
  617. package/src/filiale/gongyi/sale/businessquery/HandplanQuery.vue +0 -1103
  618. package/src/filiale/gongyi/sale/businessquery/MonthGasQuery.vue +0 -459
  619. package/src/filiale/gongyi/sale/businessquery/OtherChargeQuery.vue +0 -591
  620. package/src/filiale/gongyi/sale/businessquery/WebMeterMonthGasQuery.vue +0 -597
  621. package/src/filiale/gongyi/sale/businessquery/exportConfig.js +0 -17
  622. package/src/filiale/gongyi/sale/filesquery/MeterQuery.vue +0 -718
  623. package/src/filiale/gongyi/sale/filesquery/RecordInfoQuery.vue +0 -884
  624. package/src/filiale/gongyi/sale/filesquery/UserQuery.vue +0 -703
  625. package/src/filiale/gongyi/sale.js +0 -27
  626. package/src/filiale/jingwei/ChargeQuery.vue +0 -1241
  627. package/src/filiale/jingwei/RecordInfoQuery.vue +0 -1163
  628. package/src/filiale/jingwei/sale.js +0 -8
  629. package/src/filiale/jingzhou/ChargeQuery.vue +0 -1243
  630. package/src/filiale/jingzhou/HandplanQuery.vue +0 -1286
  631. package/src/filiale/jingzhou/config/DefaultPrint.js +0 -6
  632. package/src/filiale/jingzhou/config/exportConfig.js +0 -861
  633. package/src/filiale/jingzhou/config/tableConfig.js +0 -48
  634. package/src/filiale/jingzhou/sale.js +0 -12
  635. package/src/filiale/konggang/exportConfig.js +0 -26
  636. package/src/filiale/konggang/sale/DayReportList.vue +0 -370
  637. package/src/filiale/konggang/sale/DayReportListPrint.vue +0 -260
  638. package/src/filiale/konggang/sale/DayReportSummary.vue +0 -75
  639. package/src/filiale/konggang/sale.js +0 -9
  640. package/src/filiale/liaoyuan/ArrearsQuery.vue +0 -945
  641. package/src/filiale/liaoyuan/ChargeQuery.vue +0 -1284
  642. package/src/filiale/liaoyuan/MeterQuery.vue +0 -905
  643. package/src/filiale/liaoyuan/RecordInfoQuery.vue +0 -1163
  644. package/src/filiale/liaoyuan/ReportList.vue +0 -421
  645. package/src/filiale/liaoyuan/exportConfig.js +0 -718
  646. package/src/filiale/liaoyuan/sale.js +0 -11
  647. package/src/filiale/macheng/ArrearsQuery.vue +0 -823
  648. package/src/filiale/macheng/ChargeQuery.vue +0 -1071
  649. package/src/filiale/macheng/FMYGasQuery.vue +0 -730
  650. package/src/filiale/macheng/HandplanQuery.vue +0 -1057
  651. package/src/filiale/macheng/MeterQuery.vue +0 -933
  652. package/src/filiale/macheng/RecordInfoQuery.vue +0 -1023
  653. package/src/filiale/macheng/config/DefaultPrint.js +0 -12
  654. package/src/filiale/macheng/config/exportConfig.js +0 -67
  655. package/src/filiale/macheng/sale.js +0 -11
  656. package/src/filiale/meihekou/ArrearsQuery.vue +0 -915
  657. package/src/filiale/meihekou/BusinessManage.vue +0 -151
  658. package/src/filiale/meihekou/ChargeQuery.vue +0 -1260
  659. package/src/filiale/meihekou/DeviceQuery.vue +0 -545
  660. package/src/filiale/meihekou/HandplanQuery.vue +0 -1229
  661. package/src/filiale/meihekou/OtherChargeDetailQuery.vue +0 -74
  662. package/src/filiale/meihekou/OtherChargeQuery.vue +0 -613
  663. package/src/filiale/meihekou/RecordInfoQuery.vue +0 -1168
  664. package/src/filiale/meihekou/UserGasEform.vue +0 -267
  665. package/src/filiale/meihekou/UserQuery.vue +0 -773
  666. package/src/filiale/meihekou/YingShouMingXi.vue +0 -538
  667. package/src/filiale/meihekou/config/DefaultPrint.js +0 -6
  668. package/src/filiale/meihekou/config/exportConfig.js +0 -831
  669. package/src/filiale/meihekou/config/tableConfig.js +0 -48
  670. package/src/filiale/meihekou/sale.js +0 -31
  671. package/src/filiale/pingxiang/ChangeUserQuery.vue +0 -342
  672. package/src/filiale/pingxiang/config/DefaultPrint.js +0 -6
  673. package/src/filiale/pingxiang/config/exportConfig.js +0 -814
  674. package/src/filiale/pingxiang/sale.js +0 -9
  675. package/src/filiale/qianneng/ArrearsQuery.vue +0 -853
  676. package/src/filiale/qianneng/OtherChargeDetailQuery.vue +0 -74
  677. package/src/filiale/qianneng/OtherChargeQuery.vue +0 -634
  678. package/src/filiale/qianneng/exportConfig.js +0 -35
  679. package/src/filiale/qianneng/sale.js +0 -10
  680. package/src/filiale/qingtongxia/ArrearsQuery.vue +0 -825
  681. package/src/filiale/qingtongxia/ChargeQuery.vue +0 -1199
  682. package/src/filiale/qingtongxia/MeterQuery.vue +0 -851
  683. package/src/filiale/qingtongxia/RecordInfoQuery.vue +0 -980
  684. package/src/filiale/qingtongxia/SellPeopleQuery.vue +0 -680
  685. package/src/filiale/qingtongxia/config/DefaultPrint.js +0 -6
  686. package/src/filiale/qingtongxia/config/exportConfig.js +0 -712
  687. package/src/filiale/qingtongxia/sale.js +0 -13
  688. package/src/filiale/rongcheng/ArrearsQuery.vue +0 -729
  689. package/src/filiale/rongcheng/ChargeQuery.vue +0 -1035
  690. package/src/filiale/rongcheng/MonthGasQuery.vue +0 -463
  691. package/src/filiale/rongcheng/RecordInfoQuery.vue +0 -874
  692. package/src/filiale/rongcheng/UserQuery.vue +0 -827
  693. package/src/filiale/rongcheng/exportConfig.js +0 -257
  694. package/src/filiale/rongcheng/sale.js +0 -19
  695. package/src/filiale/rongchuang/ChargeQuery.vue +0 -1207
  696. package/src/filiale/rongchuang/PrintData.vue +0 -239
  697. package/src/filiale/rongchuang/PrintTable.vue +0 -241
  698. package/src/filiale/rongchuang/SellingTable.vue +0 -250
  699. package/src/filiale/rongchuang/exportConfig.js +0 -812
  700. package/src/filiale/rongchuang/reportManage.js +0 -11
  701. package/src/filiale/rongchuang/sale.js +0 -13
  702. package/src/filiale/shaoguan/ArrearsQuery.vue +0 -840
  703. package/src/filiale/shaoguan/BusinessManage.vue +0 -162
  704. package/src/filiale/shaoguan/ChargeQuery.vue +0 -1034
  705. package/src/filiale/shaoguan/HandplanQuery.vue +0 -1312
  706. package/src/filiale/shaoguan/OtherChargeDetailQuery.vue +0 -74
  707. package/src/filiale/shaoguan/OtherChargeQuery.vue +0 -596
  708. package/src/filiale/shaoguan/RecordInfoQuery.vue +0 -1108
  709. package/src/filiale/shaoguan/TransferQuery.vue +0 -403
  710. package/src/filiale/shaoguan/config/DefaultPrint.js +0 -6
  711. package/src/filiale/shaoguan/config/exportConfig.js +0 -444
  712. package/src/filiale/shaoguan/errorHandplanQuery.vue +0 -385
  713. package/src/filiale/shaoguan/overDueQuery.vue +0 -418
  714. package/src/filiale/shaoguan/sale/businessquery/ChangeUserQuery.vue +0 -357
  715. package/src/filiale/shaoguan/sale/businessquery/FMYGasQuery.vue +0 -687
  716. package/src/filiale/shaoguan/sale/businessquery/PaymentChangeQuery.vue +0 -338
  717. package/src/filiale/shaoguan/sale/businessquery/ReconcileQuery.vue +0 -426
  718. package/src/filiale/shaoguan/sale/businessquery/oldList.vue +0 -41
  719. package/src/filiale/shaoguan/sale/businessquery/oldMeterList.vue +0 -295
  720. package/src/filiale/shaoguan/sale.js +0 -35
  721. package/src/filiale/shennongjia/ChargeQuery.vue +0 -1095
  722. package/src/filiale/shennongjia/config/DefaultPrint.js +0 -6
  723. package/src/filiale/shennongjia/config/exportConfig.js +0 -401
  724. package/src/filiale/shennongjia/config/tableConfig.js +0 -47
  725. package/src/filiale/shennongjia/sale.js +0 -10
  726. package/src/filiale/tongchuan/ChargeQuery.vue +0 -1319
  727. package/src/filiale/tongchuan/DeviceQuery.vue +0 -581
  728. package/src/filiale/tongchuan/FillGasQuery.vue +0 -524
  729. package/src/filiale/tongchuan/GasPrice.vue +0 -255
  730. package/src/filiale/tongchuan/HandplanQuery.vue +0 -1327
  731. package/src/filiale/tongchuan/ManageBusSummary.vue +0 -240
  732. package/src/filiale/tongchuan/MeterQuery.vue +0 -970
  733. package/src/filiale/tongchuan/PriceChangeQuery.vue +0 -408
  734. package/src/filiale/tongchuan/ReportList.vue +0 -472
  735. package/src/filiale/tongchuan/ResSelectGroupNew.vue +0 -181
  736. package/src/filiale/tongchuan/ResSelectNew.vue +0 -144
  737. package/src/filiale/tongchuan/UserDeviceQuery.vue +0 -441
  738. package/src/filiale/tongchuan/UserQuery.vue +0 -947
  739. package/src/filiale/tongchuan/config/DefaultPrint.js +0 -6
  740. package/src/filiale/tongchuan/config/exportConfig.js +0 -857
  741. package/src/filiale/tongchuan/reportManage.js +0 -6
  742. package/src/filiale/tongchuan/sale.js +0 -25
  743. package/src/filiale/wuan/ChargeQuery.vue +0 -1234
  744. package/src/filiale/wuan/sale.js +0 -10
  745. package/src/filiale/wuhai/BusinessManage.vue +0 -171
  746. package/src/filiale/wuhai/ChargeQuery.vue +0 -1251
  747. package/src/filiale/wuhai/common/TabButton.vue +0 -155
  748. package/src/filiale/wuhai/common/Tabs.vue +0 -67
  749. package/src/filiale/wuhai/sale.js +0 -12
  750. package/src/filiale/zhongsheng/ChargeQuery.vue +0 -1255
  751. package/src/filiale/zhongsheng/UserGasAll.vue +0 -625
  752. package/src/filiale/zhongsheng/config/exportConfig.js +0 -899
  753. package/src/filiale/zhongsheng/sale.js +0 -10
  754. package/src/filiale/zhoukou/CardHandplanQuery.vue +0 -457
  755. package/src/filiale/zhoukou/OtherChargeQuery.vue +0 -614
  756. package/src/filiale/zhoukou/TransferQuery.vue +0 -404
  757. package/src/filiale/zhoukou/sale.js +0 -15
  758. package/src/plugins/getAllInputtor.js +0 -29
  759. package/src/plugins/transformer.js +0 -117
  760. package/src/stores/yulin.js +0 -27
  761. package/static/NewManageHome/NewManageHome/01.png +0 -0
  762. package/static/NewManageHome/NewManageHome/02.png +0 -0
  763. package/static/NewManageHome/NewManageHome/03.png +0 -0
  764. package/static/NewManageHome/NewManageHome/04.png +0 -0
  765. package/static/NewManageHome/NewManageHome/1.gif +0 -0
  766. package/static/NewManageHome/NewManageHome/2.gif +0 -0
  767. package/static/NewManageHome/NewManageHome/3.gif +0 -0
  768. package/static/NewManageHome/NewManageHome/5gif.gif +0 -0
  769. package/static/NewManageHome/NewManageHome/6gif.gif +0 -0
  770. package/static/NewManageHome/NewManageHome/7.gif +0 -0
  771. package/static/NewManageHome/NewManageHome/8.gif +0 -0
  772. package/static/NewManageHome/NewManageHome/9.gif +0 -0
  773. package/static/NewManageHome/NewManageHome/background_qinhua.png +0 -0
  774. package/static/NewManageHome/NewManageHome/green.png +0 -0
  775. package/static/NewManageHome/NewManageHome/map.png +0 -0
  776. package/static/NewManageHome/NewManageHome/map1.png +0 -0
  777. package/static/NewManageHome/NewManageHome/mpa.png +0 -0
  778. package/static/NewManageHome/NewManageHome/sell_1.png +0 -0
  779. package/static/NewManageHome/NewManageHome/sell_2.png +0 -0
  780. package/static/NewManageHome/NewManageHome/title.png +0 -0
  781. package/static/NewManageHome/NewManageHome/title_left.png +0 -0
  782. package/static/NewManageHome/NewManageHome/title_right.png +0 -0
  783. package/static/NewManageHome/NewManageHome//345/210/206/345/205/254/345/217/270/345/271/264/345/272/246/350/264/255/350/277/233/351/207/217.png +0 -0
  784. package/static/NewManageHome/NewManageHome//345/212/240/350/275/275.gif +0 -0
  785. package/static/NewManageHome/NewManageHome//345/212/250/346/225/210.gif +0 -0
  786. package/static/NewManageHome/NewManageHome//345/215/203/351/230/263/345/216/2771.png +0 -0
  787. package/static/NewManageHome/NewManageHome//345/215/203/351/230/263/345/216/2772.png +0 -0
  788. package/static/NewManageHome/NewManageHome//345/215/242/346/260/217/345/216/2771.png +0 -0
  789. package/static/NewManageHome/NewManageHome//345/215/242/346/260/217/345/216/2772.png +0 -0
  790. package/static/NewManageHome/NewManageHome//345/217/263/344/270/212.png +0 -0
  791. package/static/NewManageHome/NewManageHome//345/217/263/344/270/213.png +0 -0
  792. package/static/NewManageHome/NewManageHome//345/233/272/345/256/232/350/265/204/344/272/247.png +0 -0
  793. package/static/NewManageHome/NewManageHome//345/233/276/345/261/2020.png +0 -0
  794. package/static/NewManageHome/NewManageHome//345/233/276/345/261/20212.png +0 -0
  795. package/static/NewManageHome/NewManageHome//345/233/276/345/261/2024.png +0 -0
  796. package/static/NewManageHome/NewManageHome//345/233/276/345/261/2025.png +0 -0
  797. package/static/NewManageHome/NewManageHome//345/233/276/345/261/202527.png +0 -0
  798. package/static/NewManageHome/NewManageHome//345/234/206/350/247/222/347/237/251/345/275/2421163.png +0 -0
  799. package/static/NewManageHome/NewManageHome//345/237/216/344/270/2341.png +0 -0
  800. package/static/NewManageHome/NewManageHome//345/237/216/344/270/2342.png +0 -0
  801. package/static/NewManageHome/NewManageHome//345/237/216/345/214/2271.png +0 -0
  802. package/static/NewManageHome/NewManageHome//345/237/216/345/214/2272.png +0 -0
  803. package/static/NewManageHome/NewManageHome//345/237/216/345/215/2271.png +0 -0
  804. package/static/NewManageHome/NewManageHome//345/237/216/345/215/2272.png +0 -0
  805. package/static/NewManageHome/NewManageHome//345/237/216/350/245/2771.png +0 -0
  806. package/static/NewManageHome/NewManageHome//345/237/216/350/245/2772.png +0 -0
  807. package/static/NewManageHome/NewManageHome//345/267/246/344/270/212.png +0 -0
  808. package/static/NewManageHome/NewManageHome//345/267/246/344/270/213.png +0 -0
  809. package/static/NewManageHome/NewManageHome//345/271/263/345/210/251/345/216/2771.png +0 -0
  810. package/static/NewManageHome/NewManageHome//345/271/263/345/210/251/345/216/2772.png +0 -0
  811. package/static/NewManageHome/NewManageHome//346/200/273/345/205/254/345/217/270/351/224/200/345/224/256/350/266/213/345/212/277.png +0 -0
  812. package/static/NewManageHome/NewManageHome//347/224/250/346/210/267.png +0 -0
  813. package/static/NewManageHome/NewManageHome//347/237/251/345/275/2421173/346/213/267/350/264/235.png +0 -0
  814. package/static/NewManageHome/NewManageHome//347/237/251/345/275/2421186.png +0 -0
  815. package/static/NewManageHome/NewManageHome//347/237/251/345/275/2421186/346/213/267/350/264/235.png +0 -0
  816. package/static/NewManageHome/NewManageHome//347/237/251/345/275/24211/346/213/267/350/264/2353.png +0 -0
  817. package/static/NewManageHome/NewManageHome//347/237/251/345/275/24211/346/213/267/350/264/2356.png +0 -0
  818. package/static/NewManageHome/NewManageHome//347/237/251/345/275/24211/346/213/267/350/264/2357.png +0 -0
  819. package/static/NewManageHome/NewManageHome//347/237/251/345/275/24211/346/213/267/350/264/2359.png +0 -0
  820. package/static/NewManageHome/NewManageHome//347/237/251/345/275/24216/346/213/267/350/264/23511.png +0 -0
  821. package/static/NewManageHome/NewManageHome//347/237/251/345/275/24216/346/213/267/350/264/23516.png +0 -0
  822. package/static/NewManageHome/NewManageHome//347/237/251/345/275/24216/346/213/267/350/264/23522.png +0 -0
  823. package/static/NewManageHome/NewManageHome//347/237/251/345/275/2426/346/213/267/350/264/2353.png +0 -0
  824. package/static/NewManageHome/NewManageHome//347/237/251/345/275/2426/346/213/267/350/264/2354.png +0 -0
  825. package/static/NewManageHome/NewManageHome//347/273/20420.png +0 -0
  826. package/static/NewManageHome/NewManageHome//347/273/20437.png +0 -0
  827. package/static/NewManageHome/NewManageHome//347/273/20443.png +0 -0
  828. package/static/NewManageHome/NewManageHome//347/273/20445.png +0 -0
  829. package/static/NewManageHome/NewManageHome//350/203/214/346/231/2571.png +0 -0
  830. package/static/NewManageHome/NewManageHome//350/220/245/344/270/232/346/224/266/345/205/245.png +0 -0
  831. package/static/NewManageHome/NewManageHome//351/224/200/345/224/256/346/260/224/351/207/217.png +0 -0
  832. package/static/NewManageHome/background_qinhua.png +0 -0
  833. package/static/NewManageHome/green.png +0 -0
  834. package/static/NewManageHome/sell_1.png +0 -0
  835. package/static/NewManageHome/sell_2.png +0 -0
  836. package/static/NewManageHome/title.png +0 -0
  837. package/static/NewManageHome/title_left.png +0 -0
  838. package/static/NewManageHome/title_right.png +0 -0
  839. package/static/NewManageHome/title_wuhai.png +0 -0
  840. package/static/NewManageHome/title_wujie1.png +0 -0
  841. package/static/NewManageHome//345/217/263/344/270/212.png +0 -0
  842. package/static/NewManageHome//345/217/263/344/270/213.png +0 -0
  843. package/static/NewManageHome//345/233/276/345/261/2024.png +0 -0
  844. package/static/NewManageHome//345/233/276/345/261/2025.png +0 -0
  845. package/static/NewManageHome//345/233/276/345/261/202527.png +0 -0
  846. package/static/NewManageHome//345/267/246/344/270/212.png +0 -0
  847. package/static/NewManageHome//345/267/246/344/270/213.png +0 -0
  848. package/static/NewManageHome//347/237/251/345/275/2426/346/213/267/350/264/2353.png +0 -0
  849. package/static/NewManageHome//347/237/251/345/275/2426/346/213/267/350/264/2354.png +0 -0
  850. package/static/NewManageHome//347/273/20437.png +0 -0
  851. package/static/NewManageHome//347/273/20443.png +0 -0
  852. package/static/NewManageHome//347/273/20445.png +0 -0
  853. package/static/newStyle/position.png +0 -0
  854. package/static/qh.json +0 -2410
  855. package/static/wuhai.json +0 -1610
  856. package/static/yulin.json +0 -1
  857. package/static//345/261/261/344/270/234/347/234/201.json +0 -1
  858. package/webstorm.config.js +0 -13
package/src/Util.js CHANGED
@@ -1,367 +1,383 @@
1
- import Vue from 'vue'
2
- // 登录后获取的所有数据,需要自行获取
3
- export var f
4
-
5
- export function getAttendanceState (item, timeToWork, timeToGo) {
6
- item.f_state = ''
7
- if (!item.f_signin_time || !item.f_knockoff_time) {
8
- item.f_state = '缺勤'
9
- } else {
10
- let signin_time = item.f_signin_time.substring(11, 16)
11
- let knockoff_time = item.f_knockoff_time.substring(11, 16)
12
- if (signin_time > timeToWork) {
13
- item.f_state = '迟到'
14
- }
15
- if (knockoff_time < timeToGo) {
16
- item.f_state = item.f_state + '早退'
17
- }
18
- }
19
- if (!item.f_state) {
20
- item.f_state = '正常'
21
- }
22
- }
23
-
24
- export function toStandardYearMonth () {
25
- let dt = new Date()
26
- let month = dt.getMonth() + 1
27
- return dt.getFullYear() + '-' + (month < 10 ? '0' + month : month)
28
- }
29
- export function toStandardYearMonth1 () {
30
- let dt = new Date()
31
- let month = dt.getMonth() + 1
32
- return dt.getFullYear() + (month < 10 ? '0' + month : month)
33
- }
34
-
35
- export function toStandardDateString () {
36
- let dt = new Date()
37
- let month = dt.getMonth() + 1
38
- let date = dt.getDate()
39
- return dt.getFullYear() + '-' + (month < 10 ? '0' + month : month) + '-' + (date < 10 ? '0' + date : date)
40
- }
41
-
42
- export function toStartAndEndDateString () {
43
- let dt = new Date()
44
- let month = dt.getMonth() + 1
45
- // let date = dt.getDate()
46
- return [dt.getFullYear() + '-' + (month < 10 ? '0' + month : month) + '-01',
47
- dt.getFullYear() + '-' + (month < 10 ? '0' + month : month) + '-' + (new Date(dt.getFullYear(), month, 0).getDate())]
48
- // return dt.getFullYear() + '-' + (month < 10 ? '0' + month : month) + '-' + (date < 10 ? '0' + date : date)
49
- }
50
-
51
- export function toStandardTimeString () {
52
- let dt = new Date()
53
- let month = dt.getMonth() + 1
54
- let date = dt.getDate()
55
- let hour = dt.getHours()
56
- let min = dt.getMinutes()
57
- let sec = dt.getSeconds()
58
- return dt.getFullYear() + '-' + (month < 10 ? '0' + month : month) + '-' + (date < 10 ? '0' + date : date) +
59
- ' ' + (hour < 10 ? '0' + hour : hour) + ':' + (min < 10 ? '0' + min : min) + ':' + (sec < 10 ? '0' + sec : sec)
60
- }
61
-
62
- export function to3339TimeString () {
63
- let dt = new Date()
64
- let month = dt.getMonth() + 1
65
- let date = dt.getDate()
66
- let hour = dt.getHours()
67
- let min = dt.getMinutes()
68
- let sec = dt.getSeconds()
69
- return dt.getFullYear() + '-' + (month < 10 ? '0' + month : month) + '-' + (date < 10 ? '0' + date : date) +
70
- 'T' + (hour < 10 ? '0' + hour : hour) + ':' + (min < 10 ? '0' + min : min) + ':' + (sec < 10 ? '0' + sec : sec)
71
- }
72
-
73
- export function parse3339String (strDate) {
74
- return new Date(
75
- strDate.substr(0, 4), strDate.substr(5, 2) - 1, strDate.substr(8, 2),
76
- strDate.substr(11, 2), strDate.substr(14, 2), strDate.substr(17, 2)
77
- )
78
- }
79
-
80
- export function format3339TimeString (dt) {
81
- let month = dt.getMonth() + 1
82
- let date = dt.getDate()
83
- let hour = dt.getHours()
84
- let min = dt.getMinutes()
85
- let sec = dt.getSeconds()
86
- return dt.getFullYear() + '-' + (month < 10 ? '0' + month : month) + '-' + (date < 10 ? '0' + date : date)
87
- + 'T' + (hour < 10 ? '0' + hour : hour) + ':' + (min < 10 ? '0' + min : min) + ':' + (sec < 10 ? '0' + sec : sec)
88
- }
89
-
90
- export function guid () {
91
- let buf = new Uint16Array(8)
92
- window.crypto.getRandomValues(buf)
93
- let S4 = function (num) {
94
- let ret = num.toString(16)
95
- while (ret.length < 4) {
96
- ret = '0' + ret
97
- }
98
- return ret
99
- }
100
- return (S4(buf[0]) + S4(buf[1]) + S4(buf[2]) + S4(buf[3]) + S4(buf[4]) + S4(buf[5]) + S4(buf[6]) + S4(buf[7]))
101
- }
102
-
103
- export function choices (role, param, hasBlank = false, blankHint = '请选择') {
104
- if (role == 'view') {
105
- Vue.getParams(param, [null])
106
- } else {
107
- let result = []
108
- if (hasBlank)
109
- result.push({label: blankHint, value: null})
110
- if (!Vue.param || !Vue.param[param])
111
- result.push({label: '请在系统设置里更新参数', value: '请在系统设置里更新参数'})
112
- else {
113
- let p = Vue.param[param]
114
- p.forEach(function (item) {
115
- result.push({label: item.name, value: item.name})
116
- })
117
- }
118
- return result
119
- }
120
- }
121
-
122
- export function required (param) {
123
- if (typeof param === 'number' && param == 0)
124
- return false
125
- if (!param)
126
- return true
127
- param = param + ''
128
- param = param.trim()
129
- if (!param)
130
- return true
131
- return false
132
- }
133
-
134
- export function isInt (n) {
135
- return !window.isNaN(n) && n % 1 === 0
136
- }
137
-
138
- export function isFloat (n) {
139
- return !window.isNaN(n)
140
- }
141
-
142
- // this will convert all true/false to boolean
143
- export function booleanFilter (paper) {
144
- for (let key in paper) {
145
- if (!paper.hasOwnProperty(key))
146
- continue
147
- if (typeof paper[key] == 'object' && paper[key] != null) {
148
- booleanFilter(paper[key])
149
- } else {
150
- if (paper[key] === 'true' || paper[key] == 'false')
151
- paper[key] = (paper[key] === 'true')
152
- }
153
- }
154
- }
155
- // recursively traverse through each path
156
- export function ratifyPics (paper) {
157
- for (let key in paper) {
158
- if (key.endsWith('_path')) {
159
- if (!paper[key]) {
160
- paper[key] = 'rs/db/file/nopic.png'
161
- } else {
162
- paper[key] = 'rs/db/file/' + paper[key]
163
- }
164
- } else if (paper[key] !== null && typeof (paper[key]) == 'object') {
165
- ratifyPics(paper[key])
166
- }
167
- }
168
- }
169
-
170
- // load script and other stuff
171
- export function loadscript (type, fileName) {
172
- return new Promise((resolve, reject) => {
173
- let element
174
- if (type == 'css') {
175
- element = document.createElement('link')
176
- element.setAttribute('rel', 'stylesheet')
177
- element.setAttribute('type', 'text/css')
178
- element.setAttribute('href', fileName)
179
- } else if (type == 'js') {
180
- element = document.createElement('script')
181
- element.setAttribute('type', 'text/javascript')
182
- element.setAttribute('src', fileName)
183
- }
184
- if (element) {
185
- element.setAttribute('async', '')
186
- element.setAttribute('defer', '')
187
- element.addEventListener('load', function () {
188
- resolve(element)
189
- }, false)
190
- element.addEventListener('error', function () {
191
- reject(element)
192
- }, false)
193
- document.body.appendChild(element)
194
- }
195
- })
196
- }
197
- // 不能选择器中截取掉多余的字符
198
- export function orgName (name) {
199
- return name.substring(10)
200
- }
201
-
202
- export function getNowDate (name) {
203
- // 求取当前时间的工具
204
- let myweekday = ''
205
- let year = ''
206
- let mydate = new Date()
207
- myweekday = mydate.getDay()
208
- let mymonth = mydate.getMonth() + 1
209
- let myday = mydate.getDate()
210
- let myyear = mydate.getYear()
211
- year = (myyear > 200) ? myyear : 1900 + myyear
212
- let week = ['星期日', '星期一', '星期二', '星期三', '星期四', '星期五', '星期日', '星期六']
213
- // document.write("<font color=#ffffff>今天是 "+year+"年"+mymonth+"月"+myday+"日 "+weekday+"</font>");
214
- return year + '年' + mymonth + '月' + myday + '日 ' + week[myweekday]
215
- }
216
-
217
- export function addDate (date, days) {
218
- // 求取当前时间的工具
219
- let endDate = new Date(date)
220
- endDate = endDate.valueOf()
221
- endDate = endDate + days * 24 * 60 * 60 * 1000
222
- endDate = new Date(endDate)
223
- let month = endDate.getMonth() + 1
224
- let day = endDate.getDate()
225
- let hour = endDate.getHours()
226
- let min = endDate.getMinutes()
227
- let sec = endDate.getSeconds()
228
- return endDate.getFullYear() + '-' + (month < 10 ? '0' + month : month) + '-' + (day < 10 ? '0' + day : day) +
229
- ' ' + (hour < 10 ? '0' + hour : hour) + ':' + (min < 10 ? '0' + min : min) + ':' + (sec < 10 ? '0' + sec : sec)
230
- // return a
231
- }
232
-
233
- // 通过地址栏的参数获取参数内容
234
- export function getUrlParames (param) {
235
- var query = window.location.search
236
- var iLen = param.length
237
- var iStart = query.indexOf(param)
238
- if (iStart === -1) {
239
- return ''
240
- }
241
- iStart += iLen + 1
242
- var iEnd = query.indexOf('&', iStart)
243
- if (iEnd === -1) {
244
- return query.substring(iStart)
245
- }
246
- return query.substring(iStart, iEnd)
247
- }
248
-
249
- // 从地址栏获取加密的参数
250
- export function getUrlCompileParames (param) {
251
- var query = uncompileStr(window.location.search.slice(1, window.location.search.length))
252
- var iLen = param.length
253
- var iStart = query.indexOf(param)
254
- if (iStart === -1) {
255
- return ''
256
- }
257
- iStart += iLen + 1
258
- var iEnd = query.indexOf('&', iStart)
259
- if (iEnd === -1) {
260
- return query.substring(iStart)
261
- }
262
- return query.substring(iStart, iEnd)
263
- }
264
-
265
- // 对字符串进行加密
266
- export function compileStr (code) {
267
- let c = String.fromCharCode(code.charCodeAt(0) + code.length)
268
- for (let i = 1; i < code.length; i++) {
269
- c += String.fromCharCode(code.charCodeAt(i) + code.charCodeAt(i - 1))
270
- }
271
- return escape(c)
272
- }
273
- // 字符串进行解密
274
- export function uncompileStr (code) {
275
- code = unescape(code)
276
- let c = String.fromCharCode(code.charCodeAt(0) - code.length)
277
- for (var i = 1; i < code.length; i++) {
278
- c += String.fromCharCode(code.charCodeAt(i) - c.charCodeAt(i - 1))
279
- }
280
- return c
281
- }
282
-
283
- export function dateDescripte (date) {
284
- let nowTime = new Date().getTime()
285
- let oldTime = new Date(date).getTime()
286
- let timeDiff = nowTime - oldTime
287
- // 规则说明
288
- // 小于等于2分钟为刚刚
289
- // 大于2分钟小于等于1小时为取整的分钟前(例如:35分钟前)
290
- // 大于1小时小于等于24小时为取整的小时前(例如:15小时前)
291
- // 大于24小时小于等于30天为取整的天前(例如:12天前)
292
- // 大于30天小于等于12月为取整的月前,月份统一为30天一月,不做额外处理(例如:3个月前)
293
- // 大于365取整的年前,(例如:2年前)
294
- let minute = 1000 * 60
295
- let hour = minute * 60
296
- let day = hour * 24
297
- let month = day * 30
298
- let year = month * 12
299
- let des = ''
300
- if (timeDiff <= minute * 2) {
301
- des = '刚刚'
302
- } else if (minute * 2 < timeDiff && timeDiff < hour) {
303
- des = `${Math.floor(timeDiff / minute)}分钟前`
304
- } else if (hour < timeDiff && timeDiff <= day) {
305
- des = `${Math.floor(timeDiff / hour)}小时前`
306
- } else if (day < timeDiff && timeDiff <= month) {
307
- des = `${Math.floor(timeDiff / day)}天前`
308
- } else if (month < timeDiff && timeDiff <= year) {
309
- des = `${Math.floor(timeDiff / month)}个月前`
310
- } else if (year < timeDiff) {
311
- des = `${Math.floor(timeDiff / year)}年前`
312
- }
313
- return des
314
- }
315
-
316
- export function nextMonth20 (date) {
317
- let ds = date.split('-')
318
- let nextMonth = ds[1] - 0 + 1
319
- return ds[0] + '-' + (nextMonth < 10 ? '0' + nextMonth : nextMonth) + '-20 00:00:00'
320
- }
321
- //
322
- export function dateSwitch(fmt,dateStr,times){
323
- let date=new Date(dateStr).getTime()+times
324
- return this.dateFormat(fmt,new Date(date))
325
- }
326
- // 时间格式化
327
- export function dateFormat(fmt, date) {
328
- let ret;
329
- const opt = {
330
- "y+": date.getFullYear().toString(), // 年
331
- "M+": (date.getMonth() + 1).toString(), // 月
332
- "d+": date.getDate().toString(), // 日
333
- "h+": date.getHours().toString(), // 时
334
- "m+": date.getMinutes().toString(), // 分
335
- "s+": date.getSeconds().toString() // 秒
336
- // 有其他格式化字符需求可以继续添加,必须转化成字符串
337
- }
338
- for (let k in opt) {
339
- ret = new RegExp("(" + k + ")").exec(fmt);
340
- if (ret) {
341
- fmt = fmt.replace(ret[1], (ret[1].length == 1) ? (opt[k]) : (opt[k].padStart(ret[1].length, "0")))
342
- }
343
- }
344
- return fmt
345
- }
346
- // export function getNowDate () {
347
- // // 求取当前时间的工具
348
- // let myweekday = ''
349
- // let year = ''
350
- // let mydate = new Date()
351
- // myweekday = mydate.getDay()
352
- // let mymonth = mydate.getMonth() + 1
353
- // let myday = mydate.getDate()
354
- // let myyear = mydate.getYear()
355
- // year = (myyear > 200) ? myyear : 1900 + myyear
356
- // let week = ['星期日','星期一','星期二','星期三','星期四','星期五','星期日','星期六']
357
- // let weekday = week[myweekday]
358
- //
359
- // // document.write("<font color=#ffffff>今天是 "+year+"年"+mymonth+"月"+myday+"日 "+weekday+"</font>");
360
- // return year + '年' + mymonth + '月' + myday + '日 ' + weekday
361
- // }
362
- //
363
- // export function getImgsrc (name) {
364
- // return "http://127.0.0.1:8081/images/"+name+".gif"
365
- // }
366
- //
367
- // export var f;
1
+ import Vue from 'vue'
2
+ // 登录后获取的所有数据,需要自行获取
3
+ export var f
4
+
5
+ export function getAttendanceState (item, timeToWork, timeToGo) {
6
+ item.f_state = ''
7
+ if (!item.f_signin_time || !item.f_knockoff_time) {
8
+ item.f_state = '缺勤'
9
+ } else {
10
+ let signin_time = item.f_signin_time.substring(11, 16)
11
+ let knockoff_time = item.f_knockoff_time.substring(11, 16)
12
+ if (signin_time > timeToWork) {
13
+ item.f_state = '迟到'
14
+ }
15
+ if (knockoff_time < timeToGo) {
16
+ item.f_state = item.f_state + '早退'
17
+ }
18
+ }
19
+ if (!item.f_state) {
20
+ item.f_state = '正常'
21
+ }
22
+ }
23
+
24
+ export function toStandardYearMonth () {
25
+ let dt = new Date()
26
+ let month = dt.getMonth() + 1
27
+ return dt.getFullYear() + '-' + (month < 10 ? '0' + month : month)
28
+ }
29
+ export function toStandardYearMonth1 () {
30
+ let dt = new Date()
31
+ let month = dt.getMonth() + 1
32
+ return dt.getFullYear() + (month < 10 ? '0' + month : month)
33
+ }
34
+
35
+ export function toStandardDateString () {
36
+ let dt = new Date()
37
+ let month = dt.getMonth() + 1
38
+ let date = dt.getDate()
39
+ return dt.getFullYear() + '-' + (month < 10 ? '0' + month : month) + '-' + (date < 10 ? '0' + date : date)
40
+ }
41
+
42
+ export function toStartAndEndDateString () {
43
+ let dt = new Date()
44
+ let month = dt.getMonth() + 1
45
+ // let date = dt.getDate()
46
+ return [dt.getFullYear() + '-' + (month < 10 ? '0' + month : month) + '-01',
47
+ dt.getFullYear() + '-' + (month < 10 ? '0' + month : month) + '-' + (new Date(dt.getFullYear(), month, 0).getDate())]
48
+ // return dt.getFullYear() + '-' + (month < 10 ? '0' + month : month) + '-' + (date < 10 ? '0' + date : date)
49
+ }
50
+
51
+ export function toStandardTimeString () {
52
+ let dt = new Date()
53
+ let month = dt.getMonth() + 1
54
+ let date = dt.getDate()
55
+ let hour = dt.getHours()
56
+ let min = dt.getMinutes()
57
+ let sec = dt.getSeconds()
58
+ return dt.getFullYear() + '-' + (month < 10 ? '0' + month : month) + '-' + (date < 10 ? '0' + date : date) +
59
+ ' ' + (hour < 10 ? '0' + hour : hour) + ':' + (min < 10 ? '0' + min : min) + ':' + (sec < 10 ? '0' + sec : sec)
60
+ }
61
+
62
+ export function to3339TimeString () {
63
+ let dt = new Date()
64
+ let month = dt.getMonth() + 1
65
+ let date = dt.getDate()
66
+ let hour = dt.getHours()
67
+ let min = dt.getMinutes()
68
+ let sec = dt.getSeconds()
69
+ return dt.getFullYear() + '-' + (month < 10 ? '0' + month : month) + '-' + (date < 10 ? '0' + date : date) +
70
+ 'T' + (hour < 10 ? '0' + hour : hour) + ':' + (min < 10 ? '0' + min : min) + ':' + (sec < 10 ? '0' + sec : sec)
71
+ }
72
+
73
+ export function parse3339String (strDate) {
74
+ return new Date(
75
+ strDate.substr(0, 4), strDate.substr(5, 2) - 1, strDate.substr(8, 2),
76
+ strDate.substr(11, 2), strDate.substr(14, 2), strDate.substr(17, 2)
77
+ )
78
+ }
79
+
80
+ export function format3339TimeString (dt) {
81
+ let month = dt.getMonth() + 1
82
+ let date = dt.getDate()
83
+ let hour = dt.getHours()
84
+ let min = dt.getMinutes()
85
+ let sec = dt.getSeconds()
86
+ return dt.getFullYear() + '-' + (month < 10 ? '0' + month : month) + '-' + (date < 10 ? '0' + date : date)
87
+ + 'T' + (hour < 10 ? '0' + hour : hour) + ':' + (min < 10 ? '0' + min : min) + ':' + (sec < 10 ? '0' + sec : sec)
88
+ }
89
+
90
+ export function guid () {
91
+ let buf = new Uint16Array(8)
92
+ window.crypto.getRandomValues(buf)
93
+ let S4 = function (num) {
94
+ let ret = num.toString(16)
95
+ while (ret.length < 4) {
96
+ ret = '0' + ret
97
+ }
98
+ return ret
99
+ }
100
+ return (S4(buf[0]) + S4(buf[1]) + S4(buf[2]) + S4(buf[3]) + S4(buf[4]) + S4(buf[5]) + S4(buf[6]) + S4(buf[7]))
101
+ }
102
+
103
+ export function choices (role, param, hasBlank = false, blankHint = '请选择') {
104
+ if (role == 'view') {
105
+ Vue.getParams(param, [null])
106
+ } else {
107
+ let result = []
108
+ if (hasBlank)
109
+ result.push({label: blankHint, value: null})
110
+ if (!Vue.param || !Vue.param[param])
111
+ result.push({label: '请在系统设置里更新参数', value: '请在系统设置里更新参数'})
112
+ else {
113
+ let p = Vue.param[param]
114
+ p.forEach(function (item) {
115
+ result.push({label: item.name, value: item.name})
116
+ })
117
+ }
118
+ return result
119
+ }
120
+ }
121
+
122
+ export function required (param) {
123
+ if (typeof param === 'number' && param == 0)
124
+ return false
125
+ if (!param)
126
+ return true
127
+ param = param + ''
128
+ param = param.trim()
129
+ if (!param)
130
+ return true
131
+ return false
132
+ }
133
+
134
+ export function isInt (n) {
135
+ return !window.isNaN(n) && n % 1 === 0
136
+ }
137
+
138
+ export function isFloat (n) {
139
+ return !window.isNaN(n)
140
+ }
141
+
142
+ // this will convert all true/false to boolean
143
+ export function booleanFilter (paper) {
144
+ for (let key in paper) {
145
+ if (!paper.hasOwnProperty(key))
146
+ continue
147
+ if (typeof paper[key] == 'object' && paper[key] != null) {
148
+ booleanFilter(paper[key])
149
+ } else {
150
+ if (paper[key] === 'true' || paper[key] == 'false')
151
+ paper[key] = (paper[key] === 'true')
152
+ }
153
+ }
154
+ }
155
+ // recursively traverse through each path
156
+ export function ratifyPics (paper) {
157
+ for (let key in paper) {
158
+ if (key.endsWith('_path')) {
159
+ if (!paper[key]) {
160
+ paper[key] = 'rs/db/file/nopic.png'
161
+ } else {
162
+ paper[key] = 'rs/db/file/' + paper[key]
163
+ }
164
+ } else if (paper[key] !== null && typeof (paper[key]) == 'object') {
165
+ ratifyPics(paper[key])
166
+ }
167
+ }
168
+ }
169
+
170
+ // load script and other stuff
171
+ export function loadscript (type, fileName) {
172
+ return new Promise((resolve, reject) => {
173
+ let element
174
+ if (type == 'css') {
175
+ element = document.createElement('link')
176
+ element.setAttribute('rel', 'stylesheet')
177
+ element.setAttribute('type', 'text/css')
178
+ element.setAttribute('href', fileName)
179
+ } else if (type == 'js') {
180
+ element = document.createElement('script')
181
+ element.setAttribute('type', 'text/javascript')
182
+ element.setAttribute('src', fileName)
183
+ }
184
+ if (element) {
185
+ element.setAttribute('async', '')
186
+ element.setAttribute('defer', '')
187
+ element.addEventListener('load', function () {
188
+ resolve(element)
189
+ }, false)
190
+ element.addEventListener('error', function () {
191
+ reject(element)
192
+ }, false)
193
+ document.body.appendChild(element)
194
+ }
195
+ })
196
+ }
197
+ // 不能选择器中截取掉多余的字符
198
+ export function orgName (name) {
199
+ return name.substring(10)
200
+ }
201
+
202
+ export function getNowDate (name) {
203
+ // 求取当前时间的工具
204
+ let myweekday = ''
205
+ let year = ''
206
+ let mydate = new Date()
207
+ myweekday = mydate.getDay()
208
+ let mymonth = mydate.getMonth() + 1
209
+ let myday = mydate.getDate()
210
+ let myyear = mydate.getYear()
211
+ year = (myyear > 200) ? myyear : 1900 + myyear
212
+ let week = ['星期日', '星期一', '星期二', '星期三', '星期四', '星期五', '星期日', '星期六']
213
+ // document.write("<font color=#ffffff>今天是 "+year+"年"+mymonth+"月"+myday+"日 "+weekday+"</font>");
214
+ return year + '年' + mymonth + '月' + myday + '日 ' + week[myweekday]
215
+ }
216
+ export function GetPreMonthDay(date, monthNum) {
217
+ var dateArr = date.split('-');
218
+ var year = dateArr[0]; //获取当前日期的年份
219
+ var month = dateArr[1]; //获取当前日期的月份
220
+ var day = dateArr[2]; //获取当前日期的日
221
+ var days = new Date(year, month, 0);
222
+ days = days.getDate(); //获取当前日期中月的天数
223
+ var year2 = year;
224
+ var month2 = parseInt(month) - monthNum;
225
+ if (month2 <= 0) {
226
+ var absM = Math.abs(month2);
227
+ year2 = parseInt(year2) - Math.ceil(absM / 12 == 0 ? 1 : parseInt(absM) / 12);
228
+ month2 = 12 - (absM % 12);
229
+ }
230
+ var day2 = day;
231
+ var days2 = new Date(year2, month2, 0);
232
+ days2 = days2.getDate();
233
+ if (day2 > days2) {
234
+ day2 = days2;
235
+ }
236
+ if (month2 < 10) {
237
+ month2 = '0' + month2;
238
+ }
239
+ var t2 = year2 + '-' + month2
240
+ return t2;
241
+ }
242
+
243
+ export function addDate (date, days) {
244
+ // 求取当前时间的工具
245
+ let endDate = new Date(date)
246
+ endDate = endDate.valueOf()
247
+ endDate = endDate + days * 24 * 60 * 60 * 1000
248
+ endDate = new Date(endDate)
249
+ let month = endDate.getMonth() + 1
250
+ let day = endDate.getDate()
251
+ let hour = endDate.getHours()
252
+ let min = endDate.getMinutes()
253
+ let sec = endDate.getSeconds()
254
+ return endDate.getFullYear() + '-' + (month < 10 ? '0' + month : month) + '-' + (day < 10 ? '0' + day : day) +
255
+ ' ' + (hour < 10 ? '0' + hour : hour) + ':' + (min < 10 ? '0' + min : min) + ':' + (sec < 10 ? '0' + sec : sec)
256
+ // return a
257
+ }
258
+
259
+ // 通过地址栏的参数获取参数内容
260
+ export function getUrlParames (param) {
261
+ var query = window.location.search
262
+ var iLen = param.length
263
+ var iStart = query.indexOf(param)
264
+ if (iStart === -1) {
265
+ return ''
266
+ }
267
+ iStart += iLen + 1
268
+ var iEnd = query.indexOf('&', iStart)
269
+ if (iEnd === -1) {
270
+ return query.substring(iStart)
271
+ }
272
+ return query.substring(iStart, iEnd)
273
+ }
274
+
275
+ // 从地址栏获取加密的参数
276
+ export function getUrlCompileParames (param) {
277
+ var query = uncompileStr(window.location.search.slice(1, window.location.search.length))
278
+ var iLen = param.length
279
+ var iStart = query.indexOf(param)
280
+ if (iStart === -1) {
281
+ return ''
282
+ }
283
+ iStart += iLen + 1
284
+ var iEnd = query.indexOf('&', iStart)
285
+ if (iEnd === -1) {
286
+ return query.substring(iStart)
287
+ }
288
+ return query.substring(iStart, iEnd)
289
+ }
290
+
291
+ // 对字符串进行加密
292
+ export function compileStr (code) {
293
+ let c = String.fromCharCode(code.charCodeAt(0) + code.length)
294
+ for (let i = 1; i < code.length; i++) {
295
+ c += String.fromCharCode(code.charCodeAt(i) + code.charCodeAt(i - 1))
296
+ }
297
+ return escape(c)
298
+ }
299
+ // 字符串进行解密
300
+ export function uncompileStr (code) {
301
+ code = unescape(code)
302
+ let c = String.fromCharCode(code.charCodeAt(0) - code.length)
303
+ for (var i = 1; i < code.length; i++) {
304
+ c += String.fromCharCode(code.charCodeAt(i) - c.charCodeAt(i - 1))
305
+ }
306
+ return c
307
+ }
308
+
309
+ //计算日期间隔天数
310
+ export function getDaysBetween(startDate, enDate) {
311
+ const sDate = Date.parse(startDate)
312
+ const eDate = Date.parse(enDate)
313
+ if (sDate > eDate) {
314
+ return 0
315
+ }
316
+ if (sDate === eDate) {
317
+ return 1
318
+ }
319
+ const days = (eDate - sDate) / (1 * 24 * 60 * 60 * 1000)
320
+ return days
321
+ }
322
+
323
+ export function dateDescripte (date) {
324
+ let nowTime = new Date().getTime()
325
+ let oldTime = new Date(date).getTime()
326
+ let timeDiff = nowTime - oldTime
327
+ // 规则说明
328
+ // 小于等于2分钟为刚刚
329
+ // 大于2分钟小于等于1小时为取整的分钟前(例如:35分钟前)
330
+ // 大于1小时小于等于24小时为取整的小时前(例如:15小时前)
331
+ // 大于24小时小于等于30天为取整的天前(例如:12天前)
332
+ // 大于30天小于等于12月为取整的月前,月份统一为30天一月,不做额外处理(例如:3个月前)
333
+ // 大于365取整的年前,(例如:2年前)
334
+ let minute = 1000 * 60
335
+ let hour = minute * 60
336
+ let day = hour * 24
337
+ let month = day * 30
338
+ let year = month * 12
339
+ let des = ''
340
+ if (timeDiff <= minute * 2) {
341
+ des = '刚刚'
342
+ } else if (minute * 2 < timeDiff && timeDiff < hour) {
343
+ des = `${Math.floor(timeDiff / minute)}分钟前`
344
+ } else if (hour < timeDiff && timeDiff <= day) {
345
+ des = `${Math.floor(timeDiff / hour)}小时前`
346
+ } else if (day < timeDiff && timeDiff <= month) {
347
+ des = `${Math.floor(timeDiff / day)}天前`
348
+ } else if (month < timeDiff && timeDiff <= year) {
349
+ des = `${Math.floor(timeDiff / month)}个月前`
350
+ } else if (year < timeDiff) {
351
+ des = `${Math.floor(timeDiff / year)}年前`
352
+ }
353
+ return des
354
+ }
355
+
356
+ export function nextMonth20 (date) {
357
+ let ds = date.split('-')
358
+ let nextMonth = ds[1] - 0 + 1
359
+ return ds[0] + '-' + (nextMonth < 10 ? '0' + nextMonth : nextMonth) + '-20 00:00:00'
360
+ }
361
+
362
+ // export function getNowDate () {
363
+ // // 求取当前时间的工具
364
+ // let myweekday = ''
365
+ // let year = ''
366
+ // let mydate = new Date()
367
+ // myweekday = mydate.getDay()
368
+ // let mymonth = mydate.getMonth() + 1
369
+ // let myday = mydate.getDate()
370
+ // let myyear = mydate.getYear()
371
+ // year = (myyear > 200) ? myyear : 1900 + myyear
372
+ // let week = ['星期日','星期一','星期二','星期三','星期四','星期五','星期日','星期六']
373
+ // let weekday = week[myweekday]
374
+ //
375
+ // // document.write("<font color=#ffffff>今天是 "+year+"年"+mymonth+"月"+myday+"日 "+weekday+"</font>");
376
+ // return year + '年' + mymonth + '月' + myday + '日 ' + weekday
377
+ // }
378
+ //
379
+ // export function getImgsrc (name) {
380
+ // return "http://127.0.0.1:8081/images/"+name+".gif"
381
+ // }
382
+ //
383
+ // export var f;