manage-client 3.2.102 → 3.2.103-03-cs

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 (255) hide show
  1. package/build/dev-server.js +4 -5
  2. package/build/webpack.base.conf.js +17 -17
  3. package/build/webpack.prod.conf.js +106 -23
  4. package/package.json +10 -4
  5. package/src/App.vue +1 -0
  6. package/src/ManageHome.js +2 -6
  7. package/src/components/SellReport/ApplyFillmoney.vue +228 -0
  8. package/src/components/SellReport/BankManager.vue +102 -102
  9. package/src/components/SellReport/Cardapplysgas.vue +274 -0
  10. package/src/components/SellReport/ESaleMonthReport.vue +221 -0
  11. package/src/components/SellReport/GFReportWH.vue +181 -0
  12. package/src/components/SellReport/GasPropertiesManager.vue +151 -0
  13. package/src/components/SellReport/LeftChart.vue +132 -0
  14. package/src/components/SellReport/ManageBusSummary.vue +77 -64
  15. package/src/components/SellReport/ManageBusSummarynopay.vue +237 -0
  16. package/src/components/SellReport/ManageMonthGas.vue +1 -1
  17. package/src/components/SellReport/ManageSellType.vue +1 -1
  18. package/src/components/SellReport/MarketAnjianChuli.vue +228 -0
  19. package/src/components/SellReport/MarketAnjianSituation.vue +228 -0
  20. package/src/components/SellReport/MarketMonthChart.vue +162 -0
  21. package/src/components/SellReport/MarketMonthMoney.vue +237 -0
  22. package/src/components/SellReport/MarketMonthgas.vue +244 -0
  23. package/src/components/SellReport/MarketanjianStyle.vue +228 -0
  24. package/src/components/SellReport/PriceReportWHwu.vue +180 -0
  25. package/src/components/SellReport/ReportHistoryShow.vue +51 -0
  26. package/src/components/SellReport/ReportItems.vue +161 -92
  27. package/src/components/SellReport/ReportPool.vue +91 -19
  28. package/src/components/SellReport/SellDepReport.vue +2 -1
  29. package/src/components/SellReport/Test.vue +862 -0
  30. package/src/components/SellReport/UserFillmoney.vue +420 -0
  31. package/src/components/SellReport/UserGasFillCard.vue +6 -6
  32. package/src/components/SellReport/applysFillmoney.vue +228 -0
  33. package/src/components/SellReport/tl_handgas.vue +244 -0
  34. package/src/components/SellReport/tl_handmoney.vue +244 -0
  35. package/src/components/WebReport/EchartsBox.vue +55 -34
  36. package/src/components/daping/CallCenter.vue +26 -14
  37. package/src/components/daping/DataManagement.vue +45 -39
  38. package/src/components/daping/SafeCheckRing.vue +2 -1
  39. package/src/components/daping/SafecheckBarChart.vue +17 -8
  40. package/src/components/daping/json/dataManage.json +30 -0
  41. package/src/components/qinhua/Pie.vue +18 -8
  42. package/src/components/sale/businessquery/AccountQuery/AccountListManage.vue +2 -2
  43. package/src/components/sale/businessquery/AccountQuery/OverdueList.vue +4 -4
  44. package/src/components/sale/businessquery/AccountQuery/keyUserGasRanking.vue +165 -0
  45. package/src/components/sale/businessquery/ArrearsQuery.vue +7 -5
  46. package/src/components/sale/businessquery/BalanceTable.vue +5 -1
  47. package/src/components/sale/businessquery/BusinesQuery.vue +6 -0
  48. package/src/components/sale/businessquery/BusinessManage.vue +18 -0
  49. package/src/components/sale/businessquery/CancellationQuery.vue +6 -0
  50. package/src/components/sale/businessquery/CardHandplanQuery.vue +7 -0
  51. package/src/components/sale/businessquery/ChangeMeterQuery.vue +13 -2
  52. package/src/components/sale/businessquery/ChargeQuery.vue +17 -9
  53. package/src/components/sale/businessquery/CollectManage.vue +13 -3
  54. package/src/components/sale/businessquery/CommunityPaymen.vue +3 -3
  55. package/src/components/sale/businessquery/DisableQuery.vue +36 -4
  56. package/src/components/sale/businessquery/EnableQuery.vue +8 -1
  57. package/src/components/sale/businessquery/FMYGasQuery.vue +6 -0
  58. package/src/components/sale/businessquery/FillCardQuery.vue +47 -7
  59. package/src/components/sale/businessquery/FillGasQuery.vue +29 -1
  60. package/src/components/sale/businessquery/GasLossQuery.vue +18 -0
  61. package/src/components/sale/businessquery/GroupChargeQuery.vue +6 -10
  62. package/src/components/sale/businessquery/HandBookTwoQuery.vue +700 -0
  63. package/src/components/sale/businessquery/HandGasPropertiesQuery.vue +5 -2
  64. package/src/components/sale/businessquery/HandplanQuery.vue +1 -1
  65. package/src/components/sale/businessquery/InspectListGas.vue +238 -246
  66. package/src/components/sale/businessquery/MonthGasQuery.vue +2 -2
  67. package/src/components/sale/businessquery/MoveMeterQuery.vue +10 -4
  68. package/src/components/sale/businessquery/NoBusinessQuery.vue +37 -38
  69. package/src/components/sale/businessquery/OtherChargeNopayQuery.vue +689 -0
  70. package/src/components/sale/businessquery/OtherChargeQuery.vue +7 -1
  71. package/src/components/sale/businessquery/PriceChange.vue +4 -0
  72. package/src/components/sale/businessquery/PrickBillQuery.vue +7 -1
  73. package/src/components/sale/businessquery/PrivilegeQuery.vue +6 -1
  74. package/src/components/sale/businessquery/ProceedsOper.vue +4 -4
  75. package/src/components/sale/businessquery/ReceiptQuery.vue +25 -14
  76. package/src/components/sale/businessquery/ResidentialCardQuery.vue +373 -0
  77. package/src/components/sale/businessquery/ReverseQuery.vue +7 -1
  78. package/src/components/sale/businessquery/SellOrgnameQuery.vue +2 -2
  79. package/src/components/sale/businessquery/SellPeopleQuery.vue +10 -15
  80. package/src/components/sale/businessquery/SendbookQuery.vue +6 -0
  81. package/src/components/sale/businessquery/SuspiciousUserQuery.vue +4 -0
  82. package/src/components/sale/businessquery/TransferQuery.vue +7 -1
  83. package/src/components/sale/businessquery/TransferRecordQuery.vue +179 -0
  84. package/src/components/sale/businessquery/UserSellHeadDetail.vue +4 -4
  85. package/src/components/sale/businessquery/overDueQuery.vue +12 -6
  86. package/src/components/sale/businessquery/priceadjustQuery.vue +6 -0
  87. package/src/components/sale/businessquery/pricechangeRecordQuery.vue +8 -2
  88. package/src/components/sale/businessquery/reportDetail.vue +256 -0
  89. package/src/components/sale/businessquery/sellingChargePrice.vue +4 -5
  90. package/src/components/sale/businessquery/yucunDetails.vue +6 -0
  91. package/src/components/sale/config/exportConfig.js +128 -52
  92. package/src/components/sale/config/tableConfig.js +54 -48
  93. package/src/components/sale/filesquery/MeterQuery.vue +30 -9
  94. package/src/components/sale/filesquery/RecordInfoQuery.vue +103 -92
  95. package/src/components/sale/filesquery/UserQuery.vue +6 -0
  96. package/src/components/sale/filesquery/filequerydetail/ChargeQueryDetail.vue +1 -1
  97. package/src/components/sale/report/aode/MonthByChargeType.vue +2 -1
  98. package/src/components/sale/report/aode/MonthByUserType.vue +2 -1
  99. package/src/components/sale/report/aode/YearByChargeTpye.vue +2 -1
  100. package/src/components/sale/report/aode/YearByUserType.vue +2 -1
  101. package/src/components/sale/resourcequery/LoginQuery.vue +245 -0
  102. package/src/components/sale/resourcequery/ResourceManage.vue +36 -0
  103. package/src/components/valueaddinfo/ValueAddinfoQuery.vue +420 -0
  104. package/src/components/valueaddinfo/renewalvalueAddUserQuery.vue +383 -0
  105. package/src/components/valueaddinfo/valueAddCountQuery.vue +315 -0
  106. package/src/components/valueaddinfo/valueAddUserQuery.vue +392 -0
  107. package/src/components/webmeter/DrillData/LostContactAnalysisList.vue +2 -1
  108. package/src/components/webmeter/DrillData/UserGasAll.vue +1 -1
  109. package/src/components/webmeter/DrillData/UserGasEform.vue +1 -1
  110. package/src/components/webmeter/DrillData/UserLostContactAnalysis.vue +4 -3
  111. package/src/components/webmeter/WebmeterQuery.vue +3 -0
  112. package/src/components/webmeter/gasAnalysis/WebmeterSettlementAnalysis.vue +432 -0
  113. package/src/components/webmeter/handplan/NewWebMeterHandPlan.vue +8 -1
  114. package/src/components/webmeter/instruction/NewQueryInstruct.vue +14 -1
  115. package/src/components/webmeter/meterinfo/NewMeterList.vue +10 -3
  116. package/src/components/webmeter/newwebmeter/NewException/MeterExceptionList.vue +560 -506
  117. package/src/components/webmeter/recharge/RechargeList.vue +1 -1
  118. package/src/components/webmeter/report/ReportList.vue +5 -5
  119. package/src/components/webmeter/reportdata/ReportDataQuery.vue +279 -279
  120. package/src/filiale/WEINAN/BusinessManage.vue +13 -5
  121. package/src/filiale/WEINAN/CancellationQuery.vue +422 -0
  122. package/src/filiale/WEINAN/ChargeQuery.vue +70 -76
  123. package/src/filiale/WEINAN/CollectManage.vue +148 -0
  124. package/src/filiale/WEINAN/DisableQuery.vue +523 -0
  125. package/src/filiale/WEINAN/EnableQuery.vue +456 -0
  126. package/src/filiale/WEINAN/FillGasQuery.vue +6 -2
  127. package/src/filiale/WEINAN/MeterQuery.vue +34 -7
  128. package/src/filiale/WEINAN/NewAccountQuery.vue +409 -0
  129. package/src/filiale/WEINAN/OtherChargeQuery.vue +8 -7
  130. package/src/filiale/WEINAN/RecordInfoQuery.vue +5 -2
  131. package/src/filiale/WEINAN/config/exportConfig.js +24 -33
  132. package/src/filiale/WEINAN/manage/ChangeMeterQuery.vue +46 -38
  133. package/src/filiale/WEINAN/sale.js +13 -4
  134. package/src/filiale/dongguan/components/SellReport/BankManager.vue +146 -0
  135. package/src/filiale/dongguan/components/SellReport/SiteManager.vue +147 -0
  136. package/src/filiale/dongguan/components/WebReport/BussinessType.vue +137 -0
  137. package/src/filiale/dongguan/components/WebReport/Paymentpie.vue +157 -0
  138. package/src/filiale/dongguan/reportManage.js +21 -0
  139. package/src/filiale/gaomi/MeterQuery.vue +37 -7
  140. package/src/filiale/gongyi/sale/filesquery/MeterQuery.vue +30 -7
  141. package/src/filiale/jingwei/RecordInfoQuery.vue +55 -33
  142. package/src/filiale/kelai/UserQuery.vue +963 -0
  143. package/src/filiale/kelai/exportConfig.js +1062 -0
  144. package/src/filiale/kelai/sale.js +8 -0
  145. package/src/filiale/liaoyuan/RecordInfoQuery.vue +3 -1
  146. package/src/filiale/liaoyuan/exportConfig.js +2 -1
  147. package/src/filiale/macheng/HandplanQuery.vue +6 -0
  148. package/src/filiale/macheng/MeterQuery.vue +28 -5
  149. package/src/filiale/macheng/MonthGasQuery.vue +2 -2
  150. package/src/filiale/macheng/RecordInfoQuery.vue +2 -2
  151. package/src/filiale/macheng/WebmeterSettlementAnalysis.vue +394 -0
  152. package/src/filiale/macheng/config/exportConfig.js +3 -3
  153. package/src/filiale/macheng/webmeterManage.js +9 -0
  154. package/src/filiale/meihekou/CardHandplanQuery.vue +1 -1
  155. package/src/filiale/meihekou/HandplanQuery.vue +9 -3
  156. package/src/filiale/meihekou/UserQuery.vue +14 -4
  157. package/src/filiale/qianneng/ArrearsQuery.vue +27 -7
  158. package/src/filiale/qianneng/BusinessManage.vue +182 -0
  159. package/src/filiale/qianneng/ChargeQuery.vue +194 -187
  160. package/src/filiale/qianneng/GasLossQuery.vue +632 -0
  161. package/src/filiale/qianneng/HandplanQuery.vue +221 -168
  162. package/src/filiale/qianneng/MeterQuery.vue +54 -1
  163. package/src/filiale/qianneng/OtherChargeQuery.vue +33 -31
  164. package/src/filiale/qianneng/SellDepReport.vue +27 -7
  165. package/src/filiale/qianneng/UserQuery.vue +938 -0
  166. package/src/filiale/qianneng/exportConfig.js +28 -35
  167. package/src/filiale/qianneng/sale.js +5 -1
  168. package/src/filiale/qingtongxia/MeterQuery.vue +30 -7
  169. package/src/filiale/qingtongxia/MonthGasQuery.vue +480 -0
  170. package/src/filiale/qingtongxia/RecordInfoQuery.vue +12 -4
  171. package/src/filiale/qingtongxia/SellPeopleQuery.vue +8 -13
  172. package/src/filiale/qingtongxia/sale.js +2 -0
  173. package/src/filiale/rizhao/ChargeQuery.vue +1295 -0
  174. package/src/filiale/rizhao/InspectListUser.vue +451 -0
  175. package/src/filiale/rizhao/sale.js +16 -0
  176. package/src/filiale/rongcheng/RecordInfoQuery.vue +1 -1
  177. package/src/filiale/rongcheng/exportConfig.js +2 -2
  178. package/src/filiale/shaoguan/ArrearsQuery.vue +15 -15
  179. package/src/filiale/shaoguan/TransferQuery.vue +8 -3
  180. package/src/filiale/shaoguan/config/exportConfig.js +2 -2
  181. package/src/filiale/tongchuan/ChargeQuery.vue +1319 -1319
  182. package/src/filiale/tongchuan/DeviceQuery.vue +1 -1
  183. package/src/filiale/tongchuan/FillGasQuery.vue +11 -2
  184. package/src/filiale/tongchuan/MeterQuery.vue +3 -5
  185. package/src/filiale/tongchuan/PriceChangeQuery.vue +1 -1
  186. package/src/filiale/tongchuan/ReportList.vue +29 -32
  187. package/src/filiale/tongchuan/UserDeviceQuery.vue +1 -1
  188. package/src/filiale/tongchuan/config/exportConfig.js +10 -19
  189. package/src/filiale/wuhai/ChargeQuery.vue +28 -11
  190. package/src/filiale/xinkang/ChargeQuery.vue +1308 -0
  191. package/src/filiale/xinkang/sale.js +10 -0
  192. package/src/filiale/zhongsheng/config/exportConfig.js +2 -2
  193. package/src/filiale/zhongyi/CallReport/CallReportMainPage.vue +116 -0
  194. package/src/filiale/zhongyi/CallReport/IncomingTelegram.vue +180 -0
  195. package/src/filiale/zhongyi/CallReport/PercentageComplete.vue +322 -0
  196. package/src/filiale/zhongyi/CallReport/PercentageCompleteEchart.vue +140 -0
  197. package/src/filiale/zhongyi/CallReport/RateBottom.vue +143 -0
  198. package/src/filiale/zhongyi/CallReport/RateTop.vue +144 -0
  199. package/src/filiale/zhongyi/CallReport/ScrollContent.vue +143 -0
  200. package/src/filiale/zhongyi/CallReport/ServiceStatus.vue +385 -0
  201. package/src/filiale/zhongyi/CallReport/SwiperTools.vue +161 -0
  202. package/src/filiale/zhongyi/CallReport/SwiperTools2.vue +143 -0
  203. package/src/filiale/zhongyi/CallReport/Time.vue +100 -0
  204. package/src/filiale/zhongyi/CallReport/Userinfo.vue +97 -0
  205. package/src/filiale/zhongyi/CallReport/WeatherData.vue +44 -0
  206. package/src/filiale/zhongyi/CallReport/WorkOrderPage.vue +181 -0
  207. package/src/filiale/zhongyi/GasStatistics.vue +499 -0
  208. package/src/filiale/zhongyi/MeterExceptionList.vue +599 -0
  209. package/src/filiale/zhongyi/sale.js +46 -0
  210. package/src/main.js +66 -66
  211. package/src/newmanage.js +116 -113
  212. package/src/reportManage.js +82 -9
  213. package/src/saleManage.js +599 -558
  214. package/src/webmeterManage.js +9 -8
  215. package/static/fonts/font.css +6 -0
  216. package/static/fonts//351/230/277/351/207/214/346/261/211/344/273/252/346/231/272/350/203/275/351/273/221/344/275/223.TTF +0 -0
  217. package/static/images/zhongyi/Pigeon.png +0 -0
  218. package/static/images/zhongyi/background.png +0 -0
  219. package/static/images/zhongyi/blueArrows.png +0 -0
  220. package/static/images/zhongyi/blueBall.png +0 -0
  221. package/static/images/zhongyi/blueLadder.png +0 -0
  222. package/static/images/zhongyi/blueLine.png +0 -0
  223. package/static/images/zhongyi/bluebg.png +0 -0
  224. package/static/images/zhongyi/bulebg2.png +0 -0
  225. package/static/images/zhongyi/chart-2@2x.png +0 -0
  226. package/static/images/zhongyi/cloudy.png +0 -0
  227. package/static/images/zhongyi/exclamationPoint.png +0 -0
  228. package/static/images/zhongyi/netHall.png +0 -0
  229. package/static/images/zhongyi/orangebg.png +0 -0
  230. package/static/images/zhongyi/phone1.png +0 -0
  231. package/static/images/zhongyi/phone2.png +0 -0
  232. package/static/images/zhongyi/phone3.png +0 -0
  233. package/static/images/zhongyi/phone4.png +0 -0
  234. package/static/images/zhongyi/phone5.png +0 -0
  235. package/static/images/zhongyi/refresh.png +0 -0
  236. package/static/images/zhongyi/ring.png +0 -0
  237. package/static/images/zhongyi/service1.png +0 -0
  238. package/static/images/zhongyi/service2.png +0 -0
  239. package/static/images/zhongyi/telephone1.png +0 -0
  240. package/static/images/zhongyi/telephone2.png +0 -0
  241. package/static/images/zhongyi/trumpet.png +0 -0
  242. package/static/images/zhongyi/weChat.png +0 -0
  243. package/static/images/zhongyi/workOrder.png +0 -0
  244. package/static/images/zhongyi/yellowArrows.png +0 -0
  245. package/static/images/zhongyi/yellowBall.png +0 -0
  246. package/static/images/zhongyi/yellowLadder.png +0 -0
  247. package/static/images/zhongyi/yellowbg.png +0 -0
  248. package/static/images/zhongyi//347/256/255/345/244/264 19 1 /346/213/267/350/264/235 2@2x.png +0 -0
  249. package/static/images/zhongyi//347/256/255/345/244/264 19 1 /346/213/267/350/264/235@2x.png +0 -0
  250. package/static/images/zhongyi//347/256/255/345/244/264 19 1.png +0 -0
  251. package/.gradle/3.5.1/file-changes/last-build.bin +0 -0
  252. package/.gradle/3.5.1/taskHistory/taskHistory.lock +0 -0
  253. package/.gradle/6.1/gc.properties +0 -0
  254. package/.gradle/buildOutputCleanup/built.bin +0 -0
  255. package/.gradle/buildOutputCleanup/cache.properties.lock +0 -1
@@ -0,0 +1,221 @@
1
+ <template>
2
+ <div class="basic-main" style="height: 100%">
3
+ <criteria-paged :model="model" :pager='false' v-ref:paged>
4
+ <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:criteria>
5
+ <div novalidate class="form-horizontal select-overspread container-fluid auto" partial >
6
+ <div class="row">
7
+ <div class="col-sm-2 form-group" >
8
+ <label class="font_normal_body" for="startDate">开始日期:</label>
9
+ <datepicker id="startDate" placeholder="开始日期" style="width: 60%"
10
+ v-model="model.startDate"
11
+ :value.sync="model.startDate"
12
+ :disabled-days-of-Week="[]"
13
+ :format="'yyyy-MM-dd HH:mm:ss'"
14
+ :show-reset-button="reset">
15
+ </datepicker>
16
+ </div>
17
+ <div class="col-sm-2 form-group" >
18
+ <label class="font_normal_body" for="endDate">结束日期:</label>
19
+ <datepicker id="endDate" placeholder="结束日期" style="width: 60%"
20
+ v-model="model.endDate"
21
+ :value.sync="model.endDate"
22
+ :disabled-days-of-Week="[]"
23
+ :format="'yyyy-MM-dd HH:mm:ss'"
24
+ :show-reset-button="reset">
25
+ </datepicker>
26
+ </div><!--
27
+ <div class="col-sm-2 form-group">
28
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;公司&nbsp;&nbsp;&nbsp; </label>
29
+ <right-tree @re-res="$parent.$parent.getRes" style="width: 60%"></right-tree>
30
+ </div>
31
+ <div class="col-sm-2 form-group">
32
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;部门&nbsp;&nbsp;&nbsp; </label>
33
+ <res-select restype='department'
34
+ is-mul="false"
35
+ @res-select="$parent.$parent.getdep"
36
+ :parentresid="$parent.$parent.depresid"
37
+ :initresid='$parent.$parent.depid'>
38
+ </res-select>
39
+
40
+ </div>
41
+ <div class="col-sm-2 form-group">
42
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;人员&nbsp;&nbsp;&nbsp; </label>
43
+ <res-select restype='user'
44
+ is-mul="false"
45
+ @res-select="$parent.$parent.getuser"
46
+ :parentresid="$parent.$parent.userresid"
47
+ :initresid='$parent.$parent.operatorid'>
48
+ </res-select>
49
+ </div>
50
+ -->
51
+ <res-select-group :show-component="$parent.$parent.resshow" :selectin="true" :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
52
+ </div>
53
+ <div class="span" style = "float:right;">
54
+ <button class="button_search" @click="$parent.$parent.searchData()">查询</button>
55
+ <report-print id='gasprice' top='3cm' left='0' width='100%' height='100%' :preview="true"></report-print>
56
+ <report-excel id='gasprice'></report-excel>
57
+ <div style="float: right" class="button_spacing" :class="{'button_shrink_top':$parent.$parent.criteriaShow,
58
+ 'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.hidden()"></div>
59
+ </div>
60
+ <div class="row" v-show="$parent.$parent.criteriaShow">
61
+ <div class="col-sm-2 form-group">
62
+ <label class="font_normal_body">收费状态</label>
63
+ <v-select :value.sync="$parent.$parent.f_state" multiple
64
+ v-model="$parent.$parent.f_state"
65
+ :options='$parent.$parent.charge_state' placeholder='请选择'
66
+ condition="f_state in {}"
67
+ close-on-select></v-select>
68
+ </div>
69
+ </div>
70
+ </div>
71
+ </criteria>
72
+ <div partial='list' v-el:handcollect id='gasprice' style="overflow-y: scroll">
73
+ <table class='tableprint' style="margin: 0px auto">
74
+ <thead>
75
+ <tr>
76
+ <th :colspan='$parent.spans' style="font-weight: normal; text-align: left;">
77
+ <h3 style="text-align: center">铜川售气占比报表</h3>
78
+ </th>
79
+ </tr>
80
+ <tr>
81
+ <th :colspan='$parent.spans' style="font-weight: normal; text-align: center;">
82
+ 开始时间:{{model.model.startDate}}&nbsp;&nbsp;&nbsp;
83
+ 结束时间:{{ model.model.endDate }}&nbsp;&nbsp;<br/>
84
+ <!--打印时间:{{{$parent.printTime}}}-->
85
+ 打印时间:{{$parent.printTime}}
86
+ <!--收费员:{{// $parent.operatorname}}-->
87
+ </th>
88
+ </tr>
89
+ <tr>
90
+ <th :colspan='$parent.spans' style="font-weight: normal; text-align: center;">
91
+ <div>
92
+ <span style="font-weight: normal;text-align: center;margin:5px 15px" v-show="$parent.orgname">公司:{{$parent.orgname}}</span>
93
+ <span v-show="$parent.depname"> 部门:{{$parent.depname}}</span>
94
+ <!-- <span style="font-weight: normal;text-align: center;margin:5px 15px" v-show="$refs.criteria.$refs.res.obj.operatornames[0]">人员:{{$parent.operatorname}}</span>-->
95
+ </div>
96
+ </th>
97
+ </tr>
98
+ </thead>
99
+ <tr>
100
+ <td :colspan='$parent.spans' class="noborder">
101
+ {{{ model.data.substring(26,model.data.length-8) }}}
102
+ </td>
103
+ </tr>
104
+ <tfoot>
105
+ <tr style="text-align: left">
106
+ <th :colspan='Math.floor($parent.spans/3)'>财务审核:</th>
107
+ <th :colspan='Math.floor($parent.spans/3)'>收款审核:</th>
108
+ <th :colspan='Math.floor($parent.spans/3)'>收款员:</th>
109
+ </tr>
110
+ </tfoot>
111
+ </table>
112
+ {{{ $parent.reportStr}}}
113
+ </div>
114
+ </criteria-paged>
115
+ </div>
116
+ </template>
117
+
118
+ <script>
119
+ import { DataModel } from 'vue-client'
120
+ import co from 'co'
121
+
122
+ export default {
123
+ title: '铜川售气占比报表',
124
+ props: ['data'],
125
+ data () {
126
+ return {
127
+ printTime: this.$login.toStandardTimeString(),
128
+ depresid: [],
129
+ userresid: [],
130
+ f_orgid: this.$login.f.orgid,
131
+ f_depid: this.$login.f.depids,
132
+ f_operatorid: this.$login.f.id,
133
+ operatorid: [],
134
+ depid: [],
135
+ orgname: '',
136
+ depname: '',
137
+ criteriaShow: false,
138
+ operatorname: '',
139
+ orgCondtionStr: '1=1',
140
+ f_state:['有效'],
141
+ model: new DataModel('rs/report/esaleMonthReport', {startDate: 'this.model.startDate', endDate: 'this.model.endDate',
142
+ f_orgid: 'this.model.f_orgid'}),
143
+ reportStr: null,
144
+ resshow:['company','department','operator'],
145
+ spans: 0,
146
+ initres: {
147
+ org: [this.$login.f.orgid],
148
+ dep: [],
149
+ user: []
150
+ }
151
+ }
152
+ },
153
+ ready () {
154
+ this.$refs.paged.$refs.criteria.model.startDate = this.$login.toStandardDateString() + ' 00:00:00'
155
+ this.$refs.paged.$refs.criteria.model.endDate = this.$login.toStandardDateString() + ' 23:59:59'
156
+ console.log(this.$login.f)
157
+ },
158
+ methods: {
159
+ searchData () {
160
+ this.$refs.paged.$refs.criteria.search()
161
+ },
162
+ selfSearch (args) {
163
+ this.printTime = this.$login.toStandardTimeString()
164
+ let orgcondition = '1=1'
165
+ let orgstr = this.orgCondtionStr
166
+ orgcondition = orgcondition + orgstr
167
+ /* if (this.f_orgid && this.f_orgid[0]) {
168
+ orgcondition += ' and f_orgid in (' + this.f_orgid + ')'
169
+ }
170
+ if (this.f_depid && this.f_depid[0]) {
171
+ orgcondition += ' and f_depid in (' + this.f_depid + ')'
172
+ }
173
+ if(this.f_operatorid && this.f_operatorid[0]) {
174
+ orgcondition += ' and f_operatorid in (' + this.f_operatorid + ')'
175
+ }*/
176
+ this.$refs.paged.$refs.criteria.model.f_orgid = orgcondition
177
+ this.$refs.paged.search(args)
178
+ },
179
+
180
+ hidden() {
181
+ this.criteriaShow = !this.criteriaShow
182
+ },
183
+ getRes (condition, obj) {
184
+ this.orgCondtionStr = condition
185
+ this.orgname = obj.orgnames[0]
186
+ this.depname = obj.depnames[0]
187
+ },
188
+ getdep (obj, val) {
189
+ this.depname = val[0]
190
+ this.userresid = obj
191
+ this.f_depid = obj
192
+ },
193
+ getuser ( obj, val) {
194
+ this.operatorname = val[0]
195
+ this.f_operatorid = obj
196
+ }
197
+ },
198
+ watch: {
199
+ 'model.data' (val) {
200
+ let len=0
201
+ let a=val.split('</tr>')
202
+ for(let i=0;i<a.length;i++){
203
+ if(a[i].split('</td>').length-1>len){
204
+ len=a[i].split('</td>').length-1
205
+ }
206
+ }
207
+ this.spans = len
208
+ }
209
+ },
210
+ computed: {
211
+ charge_state() {
212
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('收费状态')]
213
+ }
214
+ }
215
+ }
216
+ </script>
217
+ <style scoped>
218
+ .noborder{
219
+ border: none;
220
+ }
221
+ </style>
@@ -0,0 +1,181 @@
1
+ <template>
2
+ <div class="basic-main" style="height: 100%">
3
+ <criteria-paged :model="model" :pager='false' v-ref:paged>
4
+ <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:criteria>
5
+ <div novalidate class="form-horizontal select-overspread container-fluid auto" partial >
6
+ <div class="row">
7
+ <div class="col-sm-4" >
8
+ <label class="font_normal_body" for="startDate">开始日期:</label>
9
+ <datepicker id="startDate" placeholder="开始日期" style="width: 60%"
10
+ v-model="model.startDate"
11
+ :value.sync="model.startDate"
12
+ :disabled-days-of-Week="[]"
13
+ :format="'yyyy-MM-dd HH:mm:ss'"
14
+ :show-reset-button="reset">
15
+ </datepicker>
16
+ </div>
17
+ <div class="col-sm-4" >
18
+ <label class="font_normal_body" for="endDate">结束日期:</label>
19
+ <datepicker id="endDate" placeholder="结束日期" style="width: 60%"
20
+ v-model="model.endDate"
21
+ :value.sync="model.endDate"
22
+ :disabled-days-of-Week="[]"
23
+ :format="'yyyy-MM-dd HH:mm:ss'"
24
+ :show-reset-button="reset">
25
+ </datepicker>
26
+ </div>
27
+ <div class="col-sm-4 form-group" >
28
+ <label class="font_normal_body" for="org">公&emsp;&emsp;司:</label>
29
+ <right-tree id="org" @re-res="$parent.$parent.getRes" style="width: 60%"></right-tree>
30
+ </div>
31
+ <div class="col-sm-4 form-group">
32
+ <label class="font_normal_body" for="dep" >部&emsp;&emsp;门:</label>
33
+ <res-select id="dep" restype='department' style="width: 60%"
34
+ is-mul="false"
35
+ @res-select="$parent.$parent.getdep"
36
+ :parentresid="$parent.$parent.depresid"
37
+ :initresid='$parent.$parent.depid' >
38
+ </res-select>
39
+
40
+ </div>
41
+ <div class="col-sm-4 form-group">
42
+ <label class="font_normal_body" for="oper">人&emsp;&emsp;员:</label>
43
+ <res-select id="oper" restype='user' style="width: 60%"
44
+ is-mul="false"
45
+ @res-select="$parent.$parent.getuser"
46
+ :parentresid="$parent.$parent.userresid"
47
+ :initresid='$parent.$parent.operatorid'>
48
+ </res-select>
49
+ </div>
50
+ </div>
51
+ <div class="span" style = "float:right;">
52
+ <button class="button_search" @click="$parent.$parent.searchData()">查询</button>
53
+ <report-print id='gasprice' top='3cm' left='0' width='100%' height='100%' :preview="true"></report-print>
54
+ <report-excel id='gasprice'></report-excel>
55
+ </div>
56
+ </div>
57
+ </criteria>
58
+ <div partial='list' v-el:handcollect id='gasprice' style="overflow-y: scroll">
59
+ <table class='tableprint' style="margin: 0px auto">
60
+ <thead>
61
+ <tr>
62
+ <th :colspan='$parent.tablen' style="font-weight: normal; text-align: left;">
63
+ <h3 style="text-align: center">{{$parent.data.f_report_name}}</h3>
64
+ </th>
65
+ </tr>
66
+ <tr>
67
+ <th :colspan='$parent.tablen' style="font-weight: normal; text-align: center;">
68
+ 时间区间:{{$refs.criteria.model.startDate}} - {{ $refs.criteria.model.endDate }}<br/>
69
+ 打印时间:{{$parent.printTime}}
70
+ </th>
71
+ </tr>
72
+ <tr>
73
+ <th :colspan='$parent.tablen' style="font-weight: normal; text-align: center;">
74
+ <div>
75
+ <span v-show="$parent.orgname.trim()!=''">公司:{{$parent.orgname}}</span>
76
+ <span v-show="$parent.depname.trim()!=''"> 部门:{{$parent.depname}}</span>
77
+ <span v-show="$parent.operatorname.trim()!=''">人员:{{$parent.operatorname}}</span>
78
+ </div>
79
+ </th>
80
+ </tr>
81
+ </thead>
82
+ <tr>
83
+ <td :colspan='$parent.tablen' class="noborder">
84
+ {{{ model.data.substring(26,model.data.length-8) }}}
85
+ </td>
86
+ </tr>
87
+ <tfoot>
88
+ <tr style="text-align: left">
89
+ <th :colspan='Math.floor($parent.tablen/4)'>部门负责人:</th>
90
+ <th :colspan='Math.floor($parent.tablen/4)'>财务审核:</th>
91
+ <th :colspan='Math.round($parent.tablen/4)'>审核人:</th>
92
+ <th :colspan='Math.round($parent.tablen/4)'>制表人:</th>
93
+ </tr>
94
+ </tfoot>
95
+ </table>
96
+ </div>
97
+ </criteria-paged>
98
+ </div>
99
+ </template>
100
+
101
+ <script>
102
+ import { DataModel } from 'vue-client'
103
+
104
+ export default {
105
+ title: '报表',
106
+ props: ['data'],
107
+ data () {
108
+ return {
109
+ printTime: this.$login.toStandardTimeString(),
110
+ depresid: [],
111
+ userresid: [],
112
+ f_orgid: this.$login.f.orgid,
113
+ f_depid: this.$login.f.depids,
114
+ f_operatorid: this.$login.f.id,
115
+ operatorid: [],
116
+ depid: [],
117
+ tablen: 0,
118
+ orgname: '',
119
+ depname: '',
120
+ operatorname: '',
121
+ orgCondtionStr: '1=1',
122
+ model: new DataModel('rs/report/wuhai_gfreport', {startDate: 'this.model.startDate', endDate: 'this.model.endDate',
123
+ f_orgid: 'this.model.f_orgid'}),
124
+ reportStr: null,
125
+ show: false
126
+ }
127
+ },
128
+ ready () {
129
+ this.$refs.paged.$refs.criteria.model.startDate = this.$login.toStandardDateString() + ' 00:00:00'
130
+ this.$refs.paged.$refs.criteria.model.endDate = this.$login.toStandardDateString() + ' 23:59:59'
131
+ console.log(this.$login.f)
132
+ },
133
+ methods: {
134
+ searchData () {
135
+ this.$refs.paged.$refs.criteria.search()
136
+ },
137
+ selfSearch (args) {
138
+ this.printTime = this.$login.toStandardTimeString()
139
+ let orgcondition = '1=1'
140
+ if (this.f_orgid && this.f_orgid[0]) {
141
+ orgcondition += ' and f_orgid in (' + this.f_orgid + ')'
142
+ }
143
+ if (this.f_depid && this.f_depid[0]) {
144
+ orgcondition += ' and f_depid in (' + this.f_depid + ')'
145
+ }
146
+ if (this.f_operatorid && this.f_operatorid[0]) {
147
+ orgcondition += ' and f_operatorid in (' + this.f_operatorid + ')'
148
+ }
149
+ this.$refs.paged.$refs.criteria.model.f_orgid = orgcondition
150
+ this.$refs.paged.search(args)
151
+ },
152
+ getRes (obj) {
153
+ this.orgname = obj.res[0]
154
+ this.depresid = obj.resids
155
+ this.userresid = obj.resids
156
+ this.f_orgid = obj.resids
157
+ },
158
+ getdep (obj, val) {
159
+ this.depname = val[0]
160
+ // this.userresid = obj
161
+ this.f_depid = obj
162
+ },
163
+ getuser (obj, val) {
164
+ this.operatorname = val[0]
165
+ this.f_operatorid = obj
166
+ }
167
+ },
168
+ watch: {
169
+ 'model.data' (val) {
170
+ this.tablen = val.split('</tr>').map(item => item.split('</td>').length - 1).reduce((x, y) => x > y ? x : y)
171
+ }
172
+ },
173
+ computed: {
174
+ }
175
+ }
176
+ </script>
177
+ <style scoped>
178
+ .noborder{
179
+ border: none;
180
+ }
181
+ </style>
@@ -0,0 +1,151 @@
1
+ <template lang="html">
2
+ <div id="charts">
3
+ <div id="GasPropertiesManager">
4
+ <button class="button_export button_spacing" @click="change('f_user_type')">一级用气性质</button>
5
+ <button class="button_export button_spacing" @click="change('f_gasproperties')">二级用气性质</button>
6
+ </div>
7
+ <div id="sm" :style="{width:'100%',height:'98%'}"></div>
8
+ </div>
9
+ </template>
10
+
11
+ <script>
12
+ /* eslint-disable indent,key-spacing,no-labels */
13
+
14
+ import * as Util from '../../Util'
15
+ import co from 'co'
16
+ import echarts from 'echarts'
17
+ import {HttpResetClass} from 'vue-client'
18
+
19
+ let getData = function* (self) {
20
+ let load = new HttpResetClass()
21
+ load.load('POST', 'rs/sql/gasPropertiesStatistics',
22
+ {data: {startDate: self.startdate, endDate: self.enddate, f_orgid: self.orgid, groupkey: self.groupkey}},
23
+ {resolveMsg: null, rejectMsg: null})
24
+ .then((res) => {
25
+ self.texttile = '用户类型'
26
+ let arrparams = []
27
+ let numdata = []
28
+ let pricedata = []
29
+ for (var i = 0; i < res.data.length; i++) {
30
+ arrparams[i] = res.data[i].name
31
+ numdata[i] = res.data[i].num
32
+ pricedata[i] = res.data[i].money
33
+ }
34
+ self.set(arrparams, numdata, pricedata)
35
+ })
36
+ }
37
+ export default {
38
+ props: {
39
+ startdate: {
40
+ type: String,
41
+ default: Util.toStandardDateString()
42
+ },
43
+ enddate: {
44
+ type: String,
45
+ default: Util.toStandardDateString()
46
+ },
47
+ orgid: {
48
+ type: String
49
+ }
50
+ },
51
+ data () {
52
+ return {
53
+ texttile: '',
54
+ xc: '',
55
+ groupkey: 'f_user_type'
56
+ }
57
+ },
58
+ methods: {
59
+ change (type) {
60
+ this.groupkey = type
61
+ this.searchdata()
62
+ },
63
+ set (arrparams, numdata, pricedata) {
64
+ this.xc = echarts.init(document.getElementById('sm'))
65
+ this.xc.setOption({
66
+ title: {
67
+ text: '用气性质散列图',
68
+ subtext: '数据查询来源',
69
+ x: 'left'
70
+ },
71
+ tooltip: {
72
+ trigger: 'axis'
73
+ },
74
+ legend: {
75
+ x: 'left',
76
+ y: 'bottom',
77
+ data: ['条数', '用量']
78
+ },
79
+ toolbox: {
80
+ show: true,
81
+ feature: {
82
+ dataView: {show: true, readOnly: false},
83
+ magicType: {show: true, type: ['line', 'bar']},
84
+ restore: {show: true},
85
+ saveAsImage: {show: true}
86
+ }
87
+ },
88
+ calculable: true,
89
+ xAxis: [
90
+ {
91
+ type: 'category',
92
+ data: arrparams
93
+ }
94
+ ],
95
+ yAxis: [
96
+ {
97
+ type: 'value'
98
+ }
99
+ ],
100
+ series: [
101
+ {
102
+ name: '条数',
103
+ type: 'bar',
104
+ data: numdata,
105
+ markLine: {
106
+ data: [
107
+ {type: 'average', name: '平均值'}
108
+ ]
109
+ }
110
+ },
111
+ {
112
+ name: '用量',
113
+ type: 'bar',
114
+ data: pricedata,
115
+ markLine: {
116
+ data: [
117
+ {type: 'average', name: '平均值'}
118
+ ]
119
+ }
120
+ }
121
+ ]
122
+ })
123
+ },
124
+ searchdata () {
125
+ let getGen = getData(this)
126
+ co(getGen)
127
+ }
128
+ },
129
+ ready () {
130
+ this.searchdata()
131
+ },
132
+ watch: {
133
+ 'startdate' (val) {
134
+ this.searchdata()
135
+ },
136
+ 'enddate' (val) {
137
+ this.searchdata()
138
+ },
139
+ 'orgid' (val) {
140
+ this.searchdata()
141
+ }
142
+ }
143
+
144
+ }
145
+ </script>
146
+ <style lang="less">
147
+ #GasPropertiesManager {
148
+ display: flex;
149
+ justify-content: center;
150
+ }
151
+ </style>
@@ -0,0 +1,132 @@
1
+ <template>
2
+ <div :id="id" style="height:50%"></div>
3
+ </template>
4
+ <script>
5
+ import * as echarts from "echarts";
6
+ export default {
7
+ name: "LineEchart",
8
+ props: {
9
+ title: {
10
+ type: String,
11
+ },
12
+ id: {
13
+ type: String,
14
+ default: "main",
15
+ },
16
+ type: {
17
+ type: String,
18
+ default: "line",
19
+ },
20
+ color: {
21
+ type: Array,
22
+ default: function () {
23
+ return ["#9E87FF", '#73DDFF', '#fe9a8b', '#F56948', '#9E87FF',"#005aff", "pink", "#08b551", "red", "#f0b551", "black"];
24
+ },
25
+ },
26
+ param: {
27
+ type: Object,
28
+ default: function () {
29
+ return {
30
+ width: "1",
31
+ legendData: ["Email", "Union Ads", "Video Ads"],
32
+ xData: ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"],
33
+ yData: [
34
+ [120, 132, 101, 134, 90, 230, 210],
35
+ [220, 232, 301, 434, 290, 230, 210],
36
+ [920, 832, 501, 234, 590, 230, 210],
37
+ ],
38
+ };
39
+ },
40
+ },
41
+ },
42
+ data() {
43
+ return {};
44
+ },
45
+
46
+ ready() {
47
+ // this.initData();
48
+ },
49
+ watch:{
50
+ 'param'(val){
51
+ if(val){
52
+ this.initData();
53
+ }
54
+ }
55
+ },
56
+ methods: {
57
+ //组织单个Series
58
+ getSeries(name, width, color, data) {
59
+ return {
60
+ name: name,
61
+ type: "line",
62
+ lineStyle: {
63
+ width: width,
64
+ type: "line",
65
+ },
66
+ data: data,
67
+ };
68
+ },
69
+ setSeries() {
70
+ let arr = [];
71
+ for (let i = 0; i < this.param.yData.length; i++) {
72
+ let serie = this.getSeries(
73
+ this.param.legendData[i],
74
+ this.param.width,
75
+ this.color[i],
76
+ this.param.yData[i]
77
+ );
78
+ arr.push(serie);
79
+ }
80
+ return arr;
81
+ },
82
+ initData() {
83
+ var chartDom = document.getElementById(this.id);
84
+ var myChart = echarts.init(chartDom);
85
+ this.option = {
86
+ title: {
87
+ text: this.title,
88
+ },
89
+ tooltip: {
90
+ trigger: "axis",
91
+ position: function (pos, params, dom, rect, size) {
92
+ let yPos = '20%'
93
+ let xPos = 0
94
+ if (pos[0] < size.viewSize[0] / 2) {
95
+ xPos = pos[0] + 10
96
+ } else {
97
+ xPos = pos[0] - dom.offsetWidth - 10
98
+ }
99
+ return [xPos, yPos]
100
+ },
101
+ trigger: 'axis',
102
+ extraCssText: 'width:auto;height:auto;border:1px solid #015999;background:#032f53 ',
103
+ },
104
+ legend: {
105
+ data: this.param.legendData,
106
+ bottom: '0%',
107
+ left: 'center',
108
+ },
109
+ grid: {
110
+ left: "3%",
111
+ right: "4%",
112
+ bottom: "13%",
113
+ containLabel: true,
114
+ },
115
+ xAxis: {
116
+ type: "category",
117
+ boundaryGap: false,
118
+ data: this.param.xData,
119
+ },
120
+ yAxis: {
121
+ type: "value",
122
+ },
123
+ series: this.setSeries(),
124
+ };
125
+
126
+ this.option && myChart.setOption(this.option);
127
+ },
128
+ },
129
+ };
130
+ </script>
131
+
132
+ <style scoped></style>