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
@@ -13,17 +13,17 @@ import {HttpResetClass } from 'vue-client'
13
13
  let getData = function * (self) {
14
14
  let load = new HttpResetClass()
15
15
  load.load('POST', 'rs/sql/userfilesvalues',
16
- {data: {startDate: self.startdate, endDate: self.enddate, f_orgid: self.orgid}},
17
- {resolveMsg: null, rejectMsg: null})
18
- .then((res) => {
19
- self.texttile = '用户类型'
20
- // let arrparams = []
21
- console.log('获取数据。。', res.data)
22
- let org = []
23
- //let name = []
24
- let minyongvalue=[]
25
- let feiminyongvalue=[]
26
- for (var i = 0; i < res.data.length; i++) {
16
+ {data: {startDate: self.startdate, endDate: self.enddate, f_orgid: self.orgid}},
17
+ {resolveMsg: null, rejectMsg: null})
18
+ .then((res) => {
19
+ self.texttile = '用户类型'
20
+ // let arrparams = []
21
+ console.log('获取数据。。', res.data)
22
+ let org = []
23
+ //let name = []
24
+ let minyongvalue=[]
25
+ let feiminyongvalue=[]
26
+ for (var i = 0; i < res.data.length; i++) {
27
27
  if (!org.includes(res.data[i].org)) {
28
28
  org.push(res.data[i].org)
29
29
  }
@@ -32,9 +32,9 @@ let getData = function * (self) {
32
32
  }else{
33
33
  feiminyongvalue[org.indexOf(res.data[i].org)]= res.data[i].number
34
34
  }
35
- }
36
- self.set(org,minyongvalue,feiminyongvalue)
37
- })
35
+ }
36
+ self.set(org,minyongvalue,feiminyongvalue)
37
+ })
38
38
  }
39
39
  export default {
40
40
  props: {
@@ -49,98 +49,98 @@ export default {
49
49
  orgid: {
50
50
  type: String
51
51
  }
52
- },
53
- data () {
54
- title: '银行管理'
55
- return {
56
- texttile: '',
57
- xc: '',
52
+ },
53
+ data () {
54
+ title: '银行管理'
55
+ return {
56
+ texttile: '',
57
+ xc: '',
58
58
 
59
- minyongvalue: [],
60
- feiminyongvalue: []
61
- }
62
- },
63
- methods: {
64
- set (org,minyongvalue,feiminyongvalue) {
65
- this.xc = echarts.init(document.getElementById('bm'))
66
- this.xc.setOption({
67
- title : {
68
- text: '新增用户散列图',
69
- subtext: '数据查询来源',
70
- x: 'left'
71
- },
72
- tooltip : {
73
- trigger: 'axis'
74
- },
75
- legend: {
76
- x: 'left',
77
- y: 'bottom',
78
- data: ['民用','非民用']
79
- },
80
- toolbox: {
81
- show : true,
82
- feature : {
83
- dataView : {show: true, readOnly: false},
84
- magicType : {show: true, type: ['line', 'bar']},
85
- restore : {show: true},
86
- saveAsImage : {show: true}
87
- }
88
- },
89
- calculable : true,
90
- xAxis : [
91
- {
92
- type : 'category',
93
- data : org
94
- }
95
- ],
96
- yAxis : [
97
- {
98
- type : 'value'
99
- }
100
- ],
101
- series : [
102
- {
103
- name:'民用',
104
- type:'bar',
105
- data:minyongvalue,
106
- markLine : {
107
- data : [
108
- {type : 'average', name: '平均值'}
109
- ]
59
+ minyongvalue: [],
60
+ feiminyongvalue: []
61
+ }
62
+ },
63
+ methods: {
64
+ set (org,minyongvalue,feiminyongvalue) {
65
+ this.xc = echarts.init(document.getElementById('bm'))
66
+ this.xc.setOption({
67
+ title : {
68
+ text: '新增用户散列图',
69
+ subtext: '数据查询来源',
70
+ x: 'left'
71
+ },
72
+ tooltip : {
73
+ trigger: 'axis'
74
+ },
75
+ legend: {
76
+ x: 'left',
77
+ y: 'bottom',
78
+ data: ['民用','非民用']
79
+ },
80
+ toolbox: {
81
+ show : true,
82
+ feature : {
83
+ dataView : {show: true, readOnly: false},
84
+ magicType : {show: true, type: ['line', 'bar']},
85
+ restore : {show: true},
86
+ saveAsImage : {show: true}
110
87
  }
111
88
  },
112
- {
113
- name:'非民用',
114
- type:'bar',
115
- data:feiminyongvalue,
116
- markLine : {
117
- data : [
118
- {type : 'average', name : '平均值'}
119
- ]
89
+ calculable : true,
90
+ xAxis : [
91
+ {
92
+ type : 'category',
93
+ data : org
120
94
  }
121
- }
122
- ]
123
- })
124
- },
125
- searchdata () {
126
- let getGen =getData(this)
127
- co(getGen)
128
- }
129
- },
130
- ready () {
131
- this.searchdata()
132
- },
133
- watch: {
134
- 'startdate' (val) {
135
- this.searchdata()
136
- },
137
- 'enddate' (val) {
138
- this.searchdata()
139
- },
140
- 'orgid' (val) {
141
- this.searchdata()
142
- }
143
- }
95
+ ],
96
+ yAxis : [
97
+ {
98
+ type : 'value'
99
+ }
100
+ ],
101
+ series : [
102
+ {
103
+ name:'民用',
104
+ type:'bar',
105
+ data:minyongvalue,
106
+ markLine : {
107
+ data : [
108
+ {type : 'average', name: '平均值'}
109
+ ]
110
+ }
111
+ },
112
+ {
113
+ name:'非民用',
114
+ type:'bar',
115
+ data:feiminyongvalue,
116
+ markLine : {
117
+ data : [
118
+ {type : 'average', name : '平均值'}
119
+ ]
120
+ }
121
+ }
122
+ ]
123
+ })
124
+ },
125
+ searchdata () {
126
+ let getGen =getData(this)
127
+ co(getGen)
128
+ }
129
+ },
130
+ ready () {
131
+ this.searchdata()
132
+ },
133
+ watch: {
134
+ 'startdate' (val) {
135
+ this.searchdata()
136
+ },
137
+ 'enddate' (val) {
138
+ this.searchdata()
139
+ },
140
+ 'orgid' (val) {
141
+ this.searchdata()
142
+ }
143
+ }
144
144
 
145
145
  }
146
146
  </script>
@@ -0,0 +1,274 @@
1
+ <template>
2
+ <div class="basic-main" style="height: 98%">
3
+ <criteria-paged :model="model" :pager='false' v-ref:paged>
4
+ <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:criteria>
5
+ <p class="bg-info text-center" style="padding: 8px;">卡表抄表气价报表</p>
6
+ <div class="form-group" v-if="!$parent.$parent.data.f_files_path"></div>
7
+ <div novalidate class="form-horizontal select-overspread container-fluid auto" partial >
8
+ <div class="row">
9
+ <div class="col-sm-4" >
10
+ <label class="font_normal_body" for="startDate">开始日期:</label>
11
+ <datepicker id="startDate" placeholder="开始日期" style="width: 60%"
12
+ v-model="model.startDate"
13
+ :value.sync="model.startDate"
14
+ :disabled-days-of-Week="[]"
15
+ :format="'yyyy-MM-dd HH:mm:ss'"
16
+ :show-reset-button="reset">
17
+ </datepicker>
18
+ </div>
19
+ <div class="col-sm-4" >
20
+ <label class="font_normal_body" for="endDate">结束日期:</label>
21
+ <datepicker id="endDate" placeholder="结束日期" style="width: 60%"
22
+ v-model="model.endDate"
23
+ :value.sync="model.endDate"
24
+ :disabled-days-of-Week="[]"
25
+ :format="'yyyy-MM-dd HH:mm:ss'"
26
+ :show-reset-button="reset">
27
+ </datepicker>
28
+ </div>
29
+ <div class="col-sm-4">
30
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;公司&nbsp;&nbsp;&nbsp; </label>
31
+ <right-tree @re-res="$parent.$parent.getRes"></right-tree>
32
+ </div>
33
+ <div class="col-sm-4">
34
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;部门&nbsp;&nbsp;&nbsp; </label>
35
+ <res-select restype='department'
36
+ @res-select="$parent.$parent.getdep"
37
+ :parentresid="$parent.$parent.depresid"
38
+ :initresid='$parent.$parent.depid'>
39
+ </res-select>
40
+
41
+ </div>
42
+ <div class="col-sm-4">
43
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;人员&nbsp;&nbsp;&nbsp; </label>
44
+ <res-select restype='user'
45
+ @res-select="$parent.$parent.getuser"
46
+ :parentresid="$parent.$parent.userresid"
47
+ :initresid='$parent.$parent.operatorid'>
48
+ </res-select>
49
+ </div>
50
+ <div class="col-sm-4 form-group">
51
+ <label class="font_normal_body">气表品牌</label>
52
+ <v-select :value.sync="model.f_meter_classify" multiple
53
+ :options='$parent.$parent.metertypes' placeholder='请选择' v-model="model.f_meter_classify"
54
+ condition="f_meter_classify in {}"
55
+ close-on-select></v-select>
56
+ </div>
57
+ </div>
58
+ <div class="span" style = "float:right;">
59
+ <button class="button_search" @click="$parent.$parent.searchData()">查询</button>
60
+ <report-print id='gasprice' top='3cm' left='0' width='100%' height='100%' :preview="true"></report-print>
61
+ <report-excel id='gasprice'></report-excel>
62
+ </div>
63
+ </div>
64
+ </criteria>
65
+ <div partial='list' v-el:handcollect id='gasprice' style="overflow-y: scroll">
66
+ <table class='tableprint' style="margin: 0px auto" v-if="!$parent.data.f_files_path">
67
+ <thead>
68
+ <tr>
69
+ <th colspan='9' style="font-weight: normal; text-align: left;">
70
+ <h3 style="text-align: center">卡表抄表气价报表</h3>
71
+ </th>
72
+ </tr>
73
+ <tr>
74
+ <th colspan='9' style="font-weight: normal; text-align: center;">
75
+ 开始时间:{{model.model.startDate}}<br>
76
+ 结束时间:{{ model.model.endDate }}<br>
77
+ 打印时间:{{{$parent.printTime}}}
78
+ </th>
79
+ </tr>
80
+ <tr>
81
+ <th colspan='9' style="font-weight: normal; text-align: center;">
82
+ <div>
83
+ <span v-show="$parent.orgname.trim()!=''">公司:{{$parent.orgname}}</span>
84
+ <span v-show="$parent.depname.trim()!=''"> 部门:{{$parent.depname}}</span>
85
+ <span v-show="$parent.operatorname.trim()!=''">人员:{{$parent.operatorname}}</span>
86
+ </div>
87
+ </th>
88
+ </tr>
89
+ </thead>
90
+ <tr>
91
+ <td colspan='9'>
92
+ {{{ model.data.substring(26,model.data.length-8) }}}
93
+ </td>
94
+ </tr>
95
+ <tfoot>
96
+ <tr style="text-align: left">
97
+ <th colspan='3'>财务审核:</th>
98
+ <th colspan='3'>收款审核:</th>
99
+ <th colspan='3'>收款员:</th>
100
+ </tr>
101
+ </tfoot>
102
+ </table>
103
+ {{{ $parent.reportStr}}}
104
+ </div>
105
+ </criteria-paged>
106
+ <modal :show.sync="show" v-ref:modal small backdrop="false">
107
+ <header slot="modal-header" class="modal-header">
108
+ <h4 class="modal-title">输入文件名称</h4>
109
+ </header>
110
+ <article slot="modal-body" class="modal-body">
111
+ <div class="form-group">
112
+ <input type="text" class="form-control" v-model="filename" placeholder='保存的文件名'>
113
+ </div>
114
+ </article>
115
+ <footer slot="modal-footer" class="modal-footer">
116
+ <button v-show="show" type="button" class="btn btn-default" @click='close'>取消</button>
117
+ <button v-show="show" type="button" class="btn btn-success" @click='confirm(filename)'>确认</button>
118
+ </footer>
119
+ </modal>
120
+ </div>
121
+ </template>
122
+
123
+ <script>
124
+ import { DataModel } from 'vue-client'
125
+ import co from 'co'
126
+ let saveFile = function * (self) {
127
+ // 线验证文件是否重名
128
+ let count = yield self.$resetpost('rs/sql/manageSingleTable',
129
+ {data: {tablename: 't_report_record', condition: `f_files_name = '${self.filename}'`}},
130
+ {resolveMsg: null, rejectMsg: null})
131
+ if (count.data.length > 0) {
132
+ self.$showAlert('无法保存,文件名重名', 'warning', 3000)
133
+ return
134
+ }
135
+ let saveBack = yield self.$resetpost('rs/logic/saveReport', {f_files_content: self.$refs.paged.$els.handcollect.innerHTML,
136
+ f_files_name: self.filename, f_files_type: self.data.f_report_type, f_component_name: 'manage-bus-summary',
137
+ f_operator: this.$login.f.name, f_query_month: `${self.model.model.startDate}-${self.model.model.endDate}`,
138
+ f_outlets: this.$login.f.depname})
139
+ if (saveBack.data.status === 'succeed') {
140
+ self.show = false
141
+ self.filename = ''
142
+ // 后台保存完成,通知刷新
143
+ self.$dispatch('save-success', self.filename)
144
+ }
145
+ }
146
+ export default {
147
+ title: '卡表抄表气价报表',
148
+ props: ['data'],
149
+ data () {
150
+ return {
151
+ printTime: this.$login.toStandardTimeString(),
152
+ depresid: [],
153
+ userresid: [],
154
+ f_orgid: this.$login.f.orgid,
155
+ f_depid: this.$login.f.depids,
156
+ f_operatorid: this.$login.f.id,
157
+ operatorid: [],
158
+ depid: [],
159
+ orgname: '',
160
+ depname: '',
161
+ operatorname: '',
162
+ orgCondtionStr: '1=1',
163
+ model: new DataModel('rs/report/Cardapplysgas', {startDate: 'this.model.startDate', endDate: 'this.model.endDate',
164
+ f_orgid: 'this.model.f_orgid'}),
165
+ reportStr: null,
166
+ show: false,
167
+ }
168
+ },
169
+ ready () {
170
+ this.$refs.paged.$refs.criteria.model.startDate = this.$login.toStandardDateString() + ' 00:00:00'
171
+ this.$refs.paged.$refs.criteria.model.endDate = this.$login.toStandardDateString() + ' 23:59:59'
172
+ // this.$refs.paged.$refs.criteria.search()
173
+ console.log(this.$login.f)
174
+ },
175
+ methods: {
176
+ searchData () {
177
+ this.$refs.paged.$refs.criteria.search()
178
+ },
179
+ selfSearch (args) {
180
+ this.printTime = this.$login.toStandardTimeString()
181
+ console.log("condition:" + args.condition)
182
+ let orgcondition = '1=1'
183
+ if (this.f_orgid[0]) {
184
+ orgcondition += ' and s.f_orgid in (' + this.f_orgid + ')'
185
+ }
186
+ let deps = ''
187
+ let i = 0
188
+ let depss = ''
189
+ if (this.f_depid[0]) {
190
+ for ( i; i< this.f_depid.length; i++ )
191
+ deps += `'${this.f_depid[i]}',`
192
+ depss = deps.toString().substring(1,deps.length-2)
193
+ orgcondition += " and s.f_depid in ( '" + depss + "' ) "
194
+ }else {
195
+ depss = ''
196
+ }
197
+ console.log("所选部门:" + depss)
198
+
199
+ let opes = ''
200
+ let j = 0
201
+ let opess = ''
202
+ if(this.f_operatorid[0]) {
203
+ for ( j; j< this.f_operatorid.length; j++ )
204
+ opes += `'${this.f_operatorid[j]}',`
205
+ opess = opes.toString().substring(1,opes.length-2)
206
+ orgcondition += "and s.f_operatorid in ( '" + opess + "' ) "
207
+ }else {
208
+ opess = ''
209
+ }
210
+ console.log("所选人员:" + opess)
211
+
212
+ this.$refs.paged.$refs.criteria.model.f_orgid = orgcondition + " and " + args.condition
213
+ this.$refs.paged.search(args)
214
+ },
215
+ getRes (obj) {
216
+ this.orgname = obj.res[0]
217
+ this.depresid = obj.resids
218
+ this.f_orgid = obj.resids
219
+ this.userresid = obj.resids
220
+ },
221
+ getdep (obj, val) {
222
+ this.depname = val
223
+ // this.userresid = obj
224
+ this.f_depid = obj
225
+ },
226
+ getuser ( obj, val) {
227
+ this.operatorname = val
228
+ this.f_operatorid = obj
229
+ },
230
+
231
+ // 根据文件路径获取储存的报表内容
232
+ getFileContent (path) {
233
+ this.$resetpost('rs/logic/getReportFileContent', {f_files_path: path}, {resolveMsg: null, rejectMsg: null}).then((res) => {
234
+ this.reportStr = res.data.filecontent
235
+ this.model.state = '正确'
236
+ })
237
+ },
238
+ confirm () {
239
+ if (!this.filename || this.filename === '') {
240
+ this.$showAlert('无法保存,文件名不能为空', 'warning', 3000)
241
+ }
242
+ let saveGen = saveFile(this)
243
+ co(saveGen)
244
+ },
245
+ close () {
246
+ this.show = false
247
+ },
248
+ // 将报表保存成文件
249
+ confirmReport () {
250
+ this.show = true
251
+ this.filename = this.data.f_report_name + this.$login.toStandardDateString()
252
+ },
253
+ },
254
+ watch: {
255
+ 'data' (val) {
256
+ if (val.f_files_path) {
257
+ this.getFileContent(val.f_files_path)
258
+ } else {
259
+ this.reportStr = null
260
+ }
261
+ }
262
+ },
263
+ computed: {
264
+ metertypes() {
265
+ return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('气表品牌')]
266
+ }
267
+ }
268
+ }
269
+ </script>
270
+ <style scoped>
271
+ .noborder{
272
+ border: none;
273
+ }
274
+ </style>