manage-client 3.2.19 → 3.2.20

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 (73) hide show
  1. package/.gradle/4.4/fileHashes/fileHashes.bin +0 -0
  2. package/.gradle/4.4/fileHashes/fileHashes.lock +0 -0
  3. package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
  4. package/.gradle/buildOutputCleanup/cache.properties +2 -2
  5. package/build/dev-server.js +4 -2
  6. package/package.json +1 -1
  7. package/src/App.vue +28 -28
  8. package/src/components/BasisEcharts/BarChart.vue +247 -247
  9. package/src/components/SellReport/BonSummary.vue +178 -178
  10. package/src/components/SellReport/GasBaozhuangFee.vue +237 -237
  11. package/src/components/SellReport/ManageBusSummary.vue +219 -219
  12. package/src/components/SellReport/ManageGasPrice.vue +176 -176
  13. package/src/components/SellReport/NonResidentGas.vue +203 -203
  14. package/src/components/SellReport/OutletTable.vue +258 -258
  15. package/src/components/SellReport/ReportComponrnt/TieAnAccount.vue +501 -501
  16. package/src/components/SellReport/SaleMonthReport.vue +153 -153
  17. package/src/components/SellReport/SellingTable.vue +220 -220
  18. package/src/components/SellReport/UserSellingGas.vue +177 -177
  19. package/src/components/TelReport/ZhiHuanservice.vue +162 -162
  20. package/src/components/daping/GMap.vue +636 -636
  21. package/src/components/sale/businessquery/AccountQuery/ExpectGasList.vue +504 -504
  22. package/src/components/sale/businessquery/AccountQuery/PreGasList.vue +371 -371
  23. package/src/components/sale/businessquery/AccountQuery/SellingGasList.vue +404 -404
  24. package/src/components/sale/businessquery/FMYGasQuery.vue +713 -713
  25. package/src/components/sale/businessquery/MonthGasQuery.vue +467 -467
  26. package/src/components/sale/businessquery/OtherChargeQuery.vue +619 -619
  27. package/src/components/sale/businessquery/ProceedsOper.vue +417 -417
  28. package/src/components/sale/businessquery/YingShouMingXi.vue +525 -525
  29. package/src/components/sale/report/aode/DayReportList.vue +371 -371
  30. package/src/components/statistical/StatisticalAnalysis.vue +252 -252
  31. package/src/components/webmeter/DrillData/LostContactAnalysisList.vue +633 -633
  32. package/src/components/webmeter/DrillData/LostContactEcharts.vue +177 -177
  33. package/src/components/webmeter/DrillData/UserGasEform.vue +227 -227
  34. package/src/components/webmeter/DrillData/UserLostContactAnalysis.vue +585 -585
  35. package/src/components/webmeter/instruction/NewQueryInstruct.vue +443 -443
  36. package/src/components/webmeter/newwebmeter/NewException/NewGasEcharts.vue +208 -208
  37. package/src/components/webmeter/newwebmeter/NewException/TotalExceptionByMeter.vue +607 -607
  38. package/src/components/webmeter/newwebmeter/UserGasEchartsList.vue +284 -284
  39. package/src/components/webmeter/newwebmeter/UserGasList.vue +438 -438
  40. package/src/components/webmeter/newwebmeter/UserInstructEchartsList.vue +242 -242
  41. package/src/components/webmeter/newwebmeter/signAnalysisEcharts.vue +266 -266
  42. package/src/components/webmeter/newwebmeter/signAnalysisEform.vue +175 -175
  43. package/src/components/webmeter/newwebmeter/signAnalysisListMain.vue +387 -387
  44. package/src/components/webmeter/report/ReportList.vue +36 -22
  45. package/src/filiale/WEINAN/EchartsBox.vue +110 -110
  46. package/src/filiale/WEINAN/ReportDataQuery.vue +27 -0
  47. package/src/filiale/WEINAN/SiteManager.vue +191 -191
  48. package/src/filiale/WEINAN/UserGasAll.vue +577 -577
  49. package/src/filiale/WEINAN/UserGasEcharts.vue +281 -281
  50. package/src/filiale/WEINAN/UserGasList.vue +438 -438
  51. package/src/filiale/WEINAN/config/exportConfig.js +99 -83
  52. package/src/filiale/WEINAN/reportManage.js +12 -12
  53. package/src/filiale/WEINAN/sale.js +36 -36
  54. package/src/filiale/alashan/reportManage.js +10 -10
  55. package/src/filiale/jingzhou/ChargeQuery.vue +1243 -1243
  56. package/src/filiale/jingzhou/config/exportConfig.js +861 -861
  57. package/src/filiale/meihekou/UserGasEform.vue +267 -267
  58. package/src/filiale/meihekou/YingShouMingXi.vue +538 -538
  59. package/src/filiale/meihekou/config/exportConfig.js +831 -831
  60. package/src/filiale/meihekou/sale.js +29 -29
  61. package/src/filiale/rongchuang/SellingTable.vue +250 -250
  62. package/src/filiale/rongchuang/reportManage.js +11 -11
  63. package/src/filiale/shaoguan/RecordInfoQuery.vue +1108 -1108
  64. package/src/filiale/tongchuan/ManageBusSummary.vue +240 -240
  65. package/src/filiale/tongchuan/reportManage.js +5 -5
  66. package/src/main.js +66 -66
  67. package/static/wuhai.json +1610 -1610
  68. package/.gradle/4.4/fileContent/fileContent.lock +0 -0
  69. package/.gradle/4.4/taskHistory/taskHistory.bin +0 -0
  70. package/.gradle/4.4/taskHistory/taskHistory.lock +0 -0
  71. package/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
  72. package/build/libs/ManageClient-3.1.0-17.jar +0 -0
  73. package/build/tmp/jar/MANIFEST.MF +0 -2
@@ -88,7 +88,14 @@
88
88
  condition="ts.f_price_name = '{}'"
89
89
  close-on-select></v-select>
90
90
  </div>
91
-
91
+ <div class="col-sm-2 form-group">
92
+ <label class="font_normal_body">气表品牌</label>
93
+ <v-select :value.sync="model.f_meter_brand"
94
+ v-model="model.f_meter_brand"
95
+ :options="$parent.$parent.meterbrands"
96
+ condition="br.f_meter_brand = '{}'"
97
+ close-on-select></v-select>
98
+ </div>
92
99
  <div class="col-sm-2 form-group" >
93
100
  <label class="font_normal_body" >开始时间</label>
94
101
  <datepicker style="width: 60%" placeholder="大于等于"
@@ -218,10 +225,11 @@
218
225
  import exportConfig from '../../sale/config/exportConfig'
219
226
  import plugins from '../../../plugins/GetLoginInfoService'
220
227
  import defaultPrint from "../../sale/config/DefaultPrint";
228
+ import * as Util from '../../../Util'
221
229
 
222
230
  let readySomething = async function (self) {
223
231
  await self.$MagLoadParams.loadParam()
224
- self.initParams()
232
+ // self.initParams()
225
233
  self.sumsmodel = self.$refs.paged.$refs.grid.model.sums;
226
234
  }
227
235
  export default {
@@ -231,8 +239,8 @@
231
239
  show:false,
232
240
  detail24: false,
233
241
  org:[this.$login.f.orgid],
234
- orgcondition:' and f_filialeid = ' + this.$login.f.orgid,
235
- f_filialeid: this.$login.f.f_orgid,
242
+ orgcondition: '', //' and f_filialeid = ' + this.$login.f.orgid,
243
+ //f_filialeid: this.$login.f.f_orgid,
236
244
  detaillist: [],
237
245
  prices: [],
238
246
  gasproperties:[],
@@ -252,25 +260,28 @@
252
260
  }).catch((error) => {
253
261
  this.$emit('error', error)
254
262
  })
263
+ this.$refs.paged.$refs.criteria.model.f_start_date = Util.addDate(new Date(),-1).substring(0,10) + ' 00:00:00'
264
+ this.$refs.paged.$refs.criteria.model.f_end_date = Util.addDate(new Date(),-1).substring(0,10) + ' 23:59:59'
265
+ this.$refs.paged.$refs.criteria.search()
255
266
  },
256
267
  methods: {
257
- initParams() {
258
- // 初始化气表品牌
259
- let brandArr = []
260
- this.$MagGetSaleParam.getGasbrand().forEach((item) => {
261
- let temp = {}
262
- temp.label = item.label
263
- temp.value = item.value.f_meter_brand
264
- brandArr.push(temp)
265
- })
266
- this.meterbrands = [{label: '全部', value: ''}, ...brandArr]
267
- //初始化气表价格
268
- this.prices = this.$MagGetSaleParam.getPrices();
269
- },
270
- async updateParams() {
271
- await this.$MagLoadParams.loadParam(this.f_filialeid)
272
- this.initParams()
273
- },
268
+ // initParams() {
269
+ // // 初始化气表品牌
270
+ // let brandArr = []
271
+ // this.$MagGetSaleParam.getGasbrand().forEach((item) => {
272
+ // let temp = {}
273
+ // temp.label = item.label
274
+ // temp.value = item.value.f_meter_brand
275
+ // brandArr.push(temp)
276
+ // })
277
+ // this.meterbrands = [{label: '全部', value: ''}, ...brandArr]
278
+ // //初始化气表价格
279
+ // this.prices = this.$MagGetSaleParam.getPrices();
280
+ // },
281
+ // async updateParams() {
282
+ // await this.$MagLoadParams.loadParam(this.f_filialeid)
283
+ // this.initParams()
284
+ // },
274
285
  getorg(obj) {
275
286
  if(plugins.convertToIn(obj)!==null&&plugins.convertToIn(obj)!==''){
276
287
  this.orgcondition = " and m.f_orgid in " + plugins.convertToIn(obj)
@@ -344,7 +355,7 @@
344
355
  console.log('正则提取:',res && res[1])
345
356
  if (res) {
346
357
  this.f_filialeid = res[1]
347
- this.updateParams()
358
+ // this.updateParams()
348
359
  }
349
360
  }
350
361
  },
@@ -392,6 +403,9 @@
392
403
  pricetypes() {
393
404
  return [{label: '全部', value: ''}, ...this.$appdata.getParam('气价类型')]
394
405
  },
406
+ meterbrands() {
407
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('气表品牌')]
408
+ },
395
409
  getCondition () {
396
410
  var con = ""
397
411
  if (this.orgCondtionStr) {
@@ -1,110 +1,110 @@
1
- <template lang="html">
2
- <div :class="classname" v-if="jurisdiction.includes('首页')" :style="{width:width,height:height}">
3
- <div class="form-horizontal select-overspread container-fluid auto">
4
- <div class="row">
5
- <div class="col-sm-3 form-group">
6
- <label class="font_normal_body" for="startDate">开始日期:</label>
7
- <datepicker id="startDate" placeholder="开始日期"
8
- style="width:60%"
9
- v-model="model.startDate"
10
- :value.sync="model.startDate"
11
- :disabled-days-of-Week="[]"
12
- class="datepicker"
13
- :format="'yyyy-MM-dd'"
14
- :show-reset-button="reset">
15
- </datepicker>
16
- </div>
17
- <div class="col-sm-3 form-group">
18
- <label class="font_normal_body" for="endDate">结束日期:</label>
19
- <datepicker id="endDate" placeholder="结束日期"
20
- style="width:60%"
21
- class="datepicker"
22
- v-model="model.endDate"
23
- :value.sync="model.endDate"
24
- :disabled-days-of-Week="[]"
25
- :format="'yyyy-MM-dd'"
26
- :show-reset-button="reset">
27
- </datepicker>
28
- </div>
29
- <div class="col-sm-3 form-group">
30
- <label class="font_normal_body" for="endDate">使用公司:</label>
31
- <res-select restype='organization'
32
- @res-select="getRes"
33
- :initresid="model.id">
34
- </res-select>
35
- </div>
36
- </div>
37
- </div>
38
- <div style="height: 97%;">
39
- <div class="flex-row" style="flex: 1;border-bottom: 1px dashed #888;height: 48%">
40
- <div style="flex: 1;border-right: 1px dashed #888;width: 50%">
41
- <site-manager :startdate='model.startDate' :enddate='model.endDate' :orgid='model.orgid[0]'
42
- v-ref:pay></site-manager>
43
- </div>
44
- <div style="flex: 1;width: 50%">
45
- <bank-manager :startdate='model.startDate' :enddate='model.endDate' :orgid='model.orgid[0]'
46
- v-ref:pay></bank-manager>
47
- </div>
48
- </div>
49
- <div class="flex-row" style="flex: 1;height: 48%">
50
-
51
- <div class="flex-row" style="flex: 1;width: 50%;border-right: 1px dashed #888;">
52
- <div style="flex: 1;">
53
- <paymentpie :startdate='model.startDate' :enddate='model.endDate' :orgid='model.orgid[0]' v-ref:pay ></paymentpie>
54
- </div>
55
- <!-- <div style="flex: 1;">-->
56
- <!-- <usertype-pie :startdate='model.startDate' :enddate='model.endDate' :orgid='model.orgid[0]' v-ref:pay ></usertype-pie>-->
57
- <!-- </div>-->
58
- </div>
59
-
60
- <div style="flex: 1;width: 50%">
61
- <bussiness-type :startdate='model.startDate' :enddate='model.endDate' :orgid='model.orgid[0]' v-ref:pay ></bussiness-type>
62
- </div>
63
- </div>
64
- </div>
65
- </div>
66
-
67
- </template>
68
-
69
- <script>
70
- import * as Util from '../../Util'
71
-
72
- export default {
73
- props: {
74
- classname: {
75
- type: String,
76
- default: 'basic-main'
77
- },
78
- width: {
79
- type: String,
80
- default: '98.5%'
81
- },
82
- height: {
83
- type: String,
84
- default: '98%'
85
- }
86
- },
87
- data() {
88
- return {
89
- jurisdiction: this.$login.r,
90
- model: {
91
- id: [this.$login.f.orgid],
92
- orgid: [this.$login.f.orgid],
93
- startDate: Util.toStandardDateString(),
94
- endDate: Util.toStandardDateString()
95
- }
96
- }
97
- },
98
- methods: {
99
- searchdata() {
100
- this.$refs.pay.searchdata()
101
- },
102
- getRes(obj) {
103
- this.model.orgid = obj
104
- },
105
- }
106
- }
107
- </script>
108
-
109
- <style lang="css">
110
- </style>
1
+ <template lang="html">
2
+ <div :class="classname" v-if="jurisdiction.includes('首页')" :style="{width:width,height:height}">
3
+ <div class="form-horizontal select-overspread container-fluid auto">
4
+ <div class="row">
5
+ <div class="col-sm-3 form-group">
6
+ <label class="font_normal_body" for="startDate">开始日期:</label>
7
+ <datepicker id="startDate" placeholder="开始日期"
8
+ style="width:60%"
9
+ v-model="model.startDate"
10
+ :value.sync="model.startDate"
11
+ :disabled-days-of-Week="[]"
12
+ class="datepicker"
13
+ :format="'yyyy-MM-dd'"
14
+ :show-reset-button="reset">
15
+ </datepicker>
16
+ </div>
17
+ <div class="col-sm-3 form-group">
18
+ <label class="font_normal_body" for="endDate">结束日期:</label>
19
+ <datepicker id="endDate" placeholder="结束日期"
20
+ style="width:60%"
21
+ class="datepicker"
22
+ v-model="model.endDate"
23
+ :value.sync="model.endDate"
24
+ :disabled-days-of-Week="[]"
25
+ :format="'yyyy-MM-dd'"
26
+ :show-reset-button="reset">
27
+ </datepicker>
28
+ </div>
29
+ <div class="col-sm-3 form-group">
30
+ <label class="font_normal_body" for="endDate">使用公司:</label>
31
+ <res-select restype='organization'
32
+ @res-select="getRes"
33
+ :initresid="model.id">
34
+ </res-select>
35
+ </div>
36
+ </div>
37
+ </div>
38
+ <div style="height: 97%;">
39
+ <div class="flex-row" style="flex: 1;border-bottom: 1px dashed #888;height: 48%">
40
+ <div style="flex: 1;border-right: 1px dashed #888;width: 50%">
41
+ <site-manager :startdate='model.startDate' :enddate='model.endDate' :orgid='model.orgid[0]'
42
+ v-ref:pay></site-manager>
43
+ </div>
44
+ <div style="flex: 1;width: 50%">
45
+ <bank-manager :startdate='model.startDate' :enddate='model.endDate' :orgid='model.orgid[0]'
46
+ v-ref:pay></bank-manager>
47
+ </div>
48
+ </div>
49
+ <div class="flex-row" style="flex: 1;height: 48%">
50
+
51
+ <div class="flex-row" style="flex: 1;width: 50%;border-right: 1px dashed #888;">
52
+ <div style="flex: 1;">
53
+ <paymentpie :startdate='model.startDate' :enddate='model.endDate' :orgid='model.orgid[0]' v-ref:pay ></paymentpie>
54
+ </div>
55
+ <!-- <div style="flex: 1;">-->
56
+ <!-- <usertype-pie :startdate='model.startDate' :enddate='model.endDate' :orgid='model.orgid[0]' v-ref:pay ></usertype-pie>-->
57
+ <!-- </div>-->
58
+ </div>
59
+
60
+ <div style="flex: 1;width: 50%">
61
+ <bussiness-type :startdate='model.startDate' :enddate='model.endDate' :orgid='model.orgid[0]' v-ref:pay ></bussiness-type>
62
+ </div>
63
+ </div>
64
+ </div>
65
+ </div>
66
+
67
+ </template>
68
+
69
+ <script>
70
+ import * as Util from '../../Util'
71
+
72
+ export default {
73
+ props: {
74
+ classname: {
75
+ type: String,
76
+ default: 'basic-main'
77
+ },
78
+ width: {
79
+ type: String,
80
+ default: '98.5%'
81
+ },
82
+ height: {
83
+ type: String,
84
+ default: '98%'
85
+ }
86
+ },
87
+ data() {
88
+ return {
89
+ jurisdiction: this.$login.r,
90
+ model: {
91
+ id: [this.$login.f.orgid],
92
+ orgid: [this.$login.f.orgid],
93
+ startDate: Util.toStandardDateString(),
94
+ endDate: Util.toStandardDateString()
95
+ }
96
+ }
97
+ },
98
+ methods: {
99
+ searchdata() {
100
+ this.$refs.pay.searchdata()
101
+ },
102
+ getRes(obj) {
103
+ this.model.orgid = obj
104
+ },
105
+ }
106
+ }
107
+ </script>
108
+
109
+ <style lang="css">
110
+ </style>
@@ -33,6 +33,16 @@
33
33
  <div class="span" style="float:right;">
34
34
  <button class="button_search button_spacing" @click="search()">查询</button>
35
35
  <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
36
+ <export-excel :data="$parent.$parent.getCondition" :footer="$parent.$parent.footer"
37
+ :field="$parent.$parent.getfield" :header="$parent.$parent.other"
38
+ sqlurl="rs/logic/exportfile" sql-name="manage_getReportDataQuery" template-name='上报数据导出'
39
+ :choose-col="true">
40
+ </export-excel>
41
+
42
+ <print-data :sum-field="$parent.$parent.getfield" :model="$parent.model" :field="$parent.$parent.getfield"
43
+ :defaultfield="$parent.$parent.defaultfield"
44
+ titletable="上报数据打印"
45
+ ></print-data>
36
46
  <div style="float: right" class="button_spacing"
37
47
  :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
38
48
  @click="$parent.$parent.hidden()"></div>
@@ -121,8 +131,10 @@
121
131
  import tableConfig from './config/tableConfig'
122
132
  import plugins from '../../plugins/GetLoginInfoService'
123
133
  import plugin from 'system-clients/src/plugins/GetLoginInfoService'
134
+ import exportConfig from './config/exportConfig'
124
135
 
125
136
  let readySomething = async function (self) {
137
+ self.defaultfield = [...self.defaultfield, ...self.defaultConfig.defaultPrint]
126
138
  await self.$MagLoadParams.loadParam()
127
139
  self.initParams()
128
140
  // self.defaultfield = [...self.defaultfield, ...self.config.defaultPrint]
@@ -133,6 +145,9 @@
133
145
  return {
134
146
  model: new PagedList('rs/sql/manage_getReportDataQuery', 20, {}),
135
147
  criteriaShow: false,
148
+ defaultConfig: {
149
+ defaultPrint: []
150
+ },
136
151
  config: {
137
152
  fieldMapping: {
138
153
  f_userinfo_code: '客户编号',
@@ -148,6 +163,8 @@
148
163
  styles:false,
149
164
  headData: [],
150
165
  bodyData: [],
166
+ //默认打印列
167
+ defaultfield: [],
151
168
  orgCondtionStr: " and f_filialeid in (" + this.$login.f.orgid+")",
152
169
  resshow:['company'],
153
170
  org:[this.$login.f.orgid],
@@ -244,6 +261,16 @@
244
261
  metertypes() {
245
262
  return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('气表类型')]
246
263
  },
264
+ getCondition() {
265
+ return {
266
+ startDate: this.$refs.paged.$refs.cri.model.startDate,
267
+ endDate: this.$refs.paged.$refs.cri.model.endDate,
268
+ condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr
269
+ }
270
+ },
271
+ getfield() {
272
+ return exportConfig.ReportDataConfig
273
+ },
247
274
  }
248
275
  }
249
276
  </script>