manage-client 3.2.21 → 3.2.25

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 (75) hide show
  1. package/build/dev-server.js +4 -6
  2. package/gradle/wrapper/gradle-wrapper.properties +5 -5
  3. package/package.json +1 -1
  4. package/src/components/BasisEcharts/BarChart.vue +247 -247
  5. package/src/components/SellReport/BonSummary.vue +178 -178
  6. package/src/components/SellReport/GasBaozhuangFee.vue +237 -237
  7. package/src/components/SellReport/GasMoneyPublicReport.vue +263 -0
  8. package/src/components/SellReport/ManageBusSummary.vue +219 -219
  9. package/src/components/SellReport/ManageGasPrice.vue +176 -176
  10. package/src/components/SellReport/NonResidentGas.vue +203 -203
  11. package/src/components/SellReport/OtherChargePublicReport.vue +262 -0
  12. package/src/components/SellReport/OutletTable.vue +258 -258
  13. package/src/components/SellReport/QibiaoShouqi.vue +58 -98
  14. package/src/components/SellReport/ReportComponrnt/TieAnAccount.vue +501 -501
  15. package/src/components/SellReport/SaleMonthReport.vue +153 -153
  16. package/src/components/SellReport/SellingTable.vue +220 -220
  17. package/src/components/SellReport/UserSellingGas.vue +228 -177
  18. package/src/components/TelReport/ZhiHuanservice.vue +162 -162
  19. package/src/components/daping/GMap.vue +636 -636
  20. package/src/components/sale/businessquery/AccountQuery/ExpectGasList.vue +504 -504
  21. package/src/components/sale/businessquery/AccountQuery/PreGasList.vue +371 -371
  22. package/src/components/sale/businessquery/AccountQuery/SellingGasList.vue +404 -404
  23. package/src/components/sale/businessquery/FMYGasQuery.vue +713 -713
  24. package/src/components/sale/businessquery/InspectListUser.vue +433 -433
  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/businessquery/usergas.vue +1 -3
  30. package/src/components/sale/config/exportConfig.js +12 -1
  31. package/src/components/statistical/StatisticalAnalysis.vue +252 -252
  32. package/src/components/webmeter/DrillData/LostContactAnalysisList.vue +633 -633
  33. package/src/components/webmeter/DrillData/LostContactEcharts.vue +177 -177
  34. package/src/components/webmeter/DrillData/UserGasEform.vue +227 -227
  35. package/src/components/webmeter/DrillData/UserLostContactAnalysis.vue +585 -585
  36. package/src/components/webmeter/gasStatistics/GasStatistics.vue +467 -0
  37. package/src/components/webmeter/newwebmeter/ArrearageQuery.vue +307 -0
  38. package/src/components/webmeter/newwebmeter/NewException/NewGasEcharts.vue +208 -208
  39. package/src/components/webmeter/newwebmeter/NewException/TotalExceptionByMeter.vue +607 -607
  40. package/src/components/webmeter/newwebmeter/PriceInstructDetail.vue +374 -0
  41. package/src/components/webmeter/newwebmeter/PriceInstructList.vue +332 -0
  42. package/src/components/webmeter/newwebmeter/PriceInstructManage.vue +44 -0
  43. package/src/components/webmeter/newwebmeter/UserGasEchartsList.vue +284 -284
  44. package/src/components/webmeter/newwebmeter/UserGasList.vue +438 -438
  45. package/src/components/webmeter/newwebmeter/UserInstructEchartsList.vue +242 -242
  46. package/src/components/webmeter/newwebmeter/signAnalysisEcharts.vue +266 -266
  47. package/src/components/webmeter/newwebmeter/signAnalysisEform.vue +175 -175
  48. package/src/components/webmeter/newwebmeter/signAnalysisListMain.vue +387 -387
  49. package/src/components/webmeter/recharge/RechargeList.vue +343 -0
  50. package/src/components/webmeter/report/ReportList.vue +2 -16
  51. package/src/filiale/WEINAN/EchartsBox.vue +110 -110
  52. package/src/filiale/WEINAN/ReportDataQuery.vue +50 -1
  53. package/src/filiale/WEINAN/SiteManager.vue +191 -191
  54. package/src/filiale/WEINAN/UserGasAll.vue +577 -577
  55. package/src/filiale/WEINAN/UserGasEcharts.vue +281 -281
  56. package/src/filiale/WEINAN/UserGasList.vue +438 -438
  57. package/src/filiale/WEINAN/reportManage.js +12 -12
  58. package/src/filiale/WEINAN/sale.js +36 -36
  59. package/src/filiale/alashan/reportManage.js +10 -10
  60. package/src/filiale/jingzhou/ChargeQuery.vue +1243 -1243
  61. package/src/filiale/jingzhou/config/exportConfig.js +861 -861
  62. package/src/filiale/liaoyuan/ReportList.vue +421 -421
  63. package/src/filiale/macheng/RecordInfoQuery.vue +1023 -1029
  64. package/src/filiale/meihekou/UserGasEform.vue +267 -267
  65. package/src/filiale/meihekou/YingShouMingXi.vue +538 -538
  66. package/src/filiale/meihekou/config/exportConfig.js +831 -831
  67. package/src/filiale/meihekou/sale.js +29 -29
  68. package/src/filiale/rongchuang/SellingTable.vue +250 -250
  69. package/src/filiale/rongchuang/reportManage.js +11 -11
  70. package/src/filiale/tongchuan/ManageBusSummary.vue +240 -240
  71. package/src/filiale/tongchuan/reportManage.js +5 -5
  72. package/src/main.js +1 -1
  73. package/src/reportManage.js +8 -0
  74. package/src/webmeterManage.js +12 -0
  75. package/static/wuhai.json +1610 -1610
@@ -2,11 +2,9 @@
2
2
  <div class="basic-main" style="height: 100%">
3
3
  <criteria-paged :model="model" :pager='false' v-ref:paged>
4
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
5
  <div novalidate class="form-horizontal select-overspread container-fluid auto" partial >
8
6
  <div class="row">
9
- <div class="col-sm-4" >
7
+ <div class="col-sm-2 form-group" >
10
8
  <label class="font_normal_body" for="startDate">开始日期:</label>
11
9
  <datepicker id="startDate" placeholder="开始日期" style="width: 60%"
12
10
  v-model="model.startDate"
@@ -16,7 +14,7 @@
16
14
  :show-reset-button="reset">
17
15
  </datepicker>
18
16
  </div>
19
- <div class="col-sm-4" >
17
+ <div class="col-sm-2 form-group" >
20
18
  <label class="font_normal_body" for="endDate">结束日期:</label>
21
19
  <datepicker id="endDate" placeholder="结束日期" style="width: 60%"
22
20
  v-model="model.endDate"
@@ -26,36 +24,57 @@
26
24
  :show-reset-button="reset">
27
25
  </datepicker>
28
26
  </div>
29
- <div class="col-sm-4">
27
+ <div class="col-sm-2 form-group">
30
28
  <label class="font_normal_body">&nbsp;&nbsp;&nbsp;公司&nbsp;&nbsp;&nbsp; </label>
31
29
  <right-tree @re-res="$parent.$parent.getRes"></right-tree>
32
30
  </div>
33
- <div class="col-sm-4">
31
+ <div class="col-sm-2 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
+ </div>
40
+ <div class="col-sm-2 form-group">
41
+ <label class="font_normal_body" for="oper">人&emsp;&emsp;员:</label>
42
+ <res-select id="oper" restype='user' style="width: 60%"
43
+ is-mul="false"
44
+ @res-select="$parent.$parent.getuser"
45
+ :parentresid="$parent.$parent.userresid"
46
+ :initresid='$parent.$parent.operatorid'>
47
+ </res-select>
48
+ </div>
49
+ </div>
50
+ <div class="span" style = "float:right;">
51
+ <button class="button_search" @click="$parent.$parent.searchData()">查询</button>
52
+ <report-print id='gasprice' top='3cm' left='0' width='100%' height='100%' :preview="true"></report-print>
53
+ <report-excel id='gasprice'></report-excel>
54
+ <div style="float: right" class="button_spacing" :class="{'button_shrink_top':$parent.$parent.criteriaShow,
55
+ 'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.hidden()"></div>
56
+ </div>
57
+ <div class="row" v-show="$parent.$parent.criteriaShow">
58
+ <div class="col-sm-2 form-group">
34
59
  <label class="font_normal_body">气表类型</label>
35
60
  <v-select :value.sync="model.f_meter_type" multiple
36
61
  :options='$parent.$parent.metertypes' placeholder='请选择' v-model="model.f_meter_type"
37
- condition="biaoleixing in {}"
62
+ condition="f_meter_classify in {}"
38
63
  close-on-select></v-select>
39
64
  </div>
40
- <div class="col-sm-4">
65
+ <div class="col-sm-2 form-group">
41
66
  <label class="font_normal_body">气表品牌</label>
42
67
  <v-select :value.sync="model.f_meter_brand"
43
68
  v-model="model.f_meter_brand"
44
69
  :options='$parent.$parent.meterbrands' placeholder='请选择'
45
- condition="biaopinpai = '{}'"
70
+ condition="f_meter_brand = '{}'"
46
71
  close-on-select></v-select>
47
72
  </div>
48
73
  </div>
49
- <div class="span" style = "float:right;">
50
- <button class="button_search" @click="$parent.$parent.searchData()">查询</button>
51
- <report-print id='gasprice' top='3cm' left='0' width='100%' height='100%' :preview="true"></report-print>
52
- <report-excel id='gasprice'></report-excel>
53
- <!-- <div style="float: right" class="button_spacing" :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.hidden()"></div>-->
54
- </div>
55
74
  </div>
56
75
  </criteria>
57
76
  <div partial='list' v-el:handcollect id='gasprice' style="overflow-y: scroll">
58
- <table class='tableprint' style="margin: 0px auto" v-if="!$parent.data.f_files_path">
77
+ <table class='tableprint' style="margin: 0px auto">
59
78
  <thead>
60
79
  <tr>
61
80
  <th :colspan='$parent.tablen' style="font-weight: normal; text-align: left;">
@@ -89,49 +108,15 @@
89
108
  </tr>
90
109
  </tfoot>
91
110
  </table>
92
- {{{ $parent.reportStr}}}
93
111
  </div>
94
112
  </criteria-paged>
95
- <modal :show.sync="show" v-ref:modal small backdrop="false">
96
- <header slot="modal-header" class="modal-header">
97
- <h4 class="modal-title">输入文件名称</h4>
98
- </header>
99
- <article slot="modal-body" class="modal-body">
100
- <div class="form-group">
101
- <input type="text" class="form-control" v-model="filename" placeholder='保存的文件名'>
102
- </div>
103
- </article>
104
- <footer slot="modal-footer" class="modal-footer">
105
- <button v-show="show" type="button" class="btn btn-default" @click='close'>取消</button>
106
- <button v-show="show" type="button" class="btn btn-success" @click='confirm(filename)'>确认</button>
107
- </footer>
108
- </modal>
109
113
  </div>
110
114
  </template>
111
115
 
112
116
  <script>
113
117
  import {DataModel, HttpResetClass} from 'vue-client'
114
118
  import co from 'co'
115
- let saveFile = function * (self) {
116
- // 线验证文件是否重名
117
- let count = yield self.$resetpost('rs/sql/manageSingleTable',
118
- {data: {tablename: 't_report_record', condition: `f_files_name = '${self.filename}'`}},
119
- {resolveMsg: null, rejectMsg: null})
120
- if (count.data.length > 0) {
121
- self.$showAlert('无法保存,文件名重名', 'warning', 3000)
122
- return
123
- }
124
- let saveBack = yield self.$resetpost('rs/logic/saveReport', {f_files_content: self.$refs.paged.$els.handcollect.innerHTML,
125
- f_files_name: self.filename, f_files_type: self.data.f_report_type, f_component_name: 'manage-bus-summary',
126
- f_operator: this.$login.f.name, f_query_month: `${self.model.model.startDate}-${self.model.model.endDate}`,
127
- f_outlets: this.$login.f.depname})
128
- if (saveBack.data.status === 'succeed') {
129
- self.show = false
130
- self.filename = ''
131
- // 后台保存完成,通知刷新
132
- self.$dispatch('save-success', self.filename)
133
- }
134
- }
119
+
135
120
  export default {
136
121
  title: '气表售气量',
137
122
  props: ['data'],
@@ -199,29 +184,34 @@
199
184
  },
200
185
  selfSearch (args) {
201
186
  this.printTime = this.$login.toStandardTimeString()
202
- let orgcondition = ' f_orgid in (' + this.f_orgid + ')'
187
+ let orgcondition = '1=1'
188
+ if(this.f_orgid && this.f_orgid[0]) {
189
+ orgcondition += ' and f_orgid in (' + this.f_orgid + ')'
190
+ }
191
+ if (this.f_depid && this.f_depid[0]) {
192
+ orgcondition += ' and f_depid in (' + this.f_depid + ')'
193
+ }
194
+ if(this.f_operatorid && this.f_operatorid[0]) {
195
+ orgcondition += ' and f_operatorid in (' + this.f_operatorid + ')'
196
+ }
203
197
  this.$refs.paged.$refs.criteria.model.f_orgid = orgcondition
204
198
  this.$refs.paged.search(args)
205
199
  },
206
200
  getRes (obj) {
207
201
  this.orgname = obj.res[0]
208
202
  this.f_orgid = obj.resids
203
+ this.depresid = obj.resids
204
+ this.userresid = obj.resids
209
205
  this.initParams()
210
206
  },
211
-
212
- // 根据文件路径获取储存的报表内容
213
- getFileContent (path) {
214
- this.$resetpost('rs/logic/getReportFileContent', {f_files_path: path}, {resolveMsg: null, rejectMsg: null}).then((res) => {
215
- this.reportStr = res.data.filecontent
216
- this.model.state = '正确'
217
- })
207
+ getdep (obj, val) {
208
+ this.depname = val[0]
209
+ // this.userresid = obj
210
+ this.f_depid = obj
218
211
  },
219
- confirm () {
220
- if (!this.filename || this.filename === '') {
221
- this.$showAlert('无法保存,文件名不能为空', 'warning', 3000)
222
- }
223
- let saveGen = saveFile(this)
224
- co(saveGen)
212
+ getuser ( obj, val) {
213
+ this.operatorname = val[0]
214
+ this.f_operatorid = obj
225
215
  },
226
216
  show() {
227
217
  this.criteriaShow = true
@@ -231,47 +221,17 @@
231
221
  },
232
222
  close () {
233
223
  this.show = false
234
- },
235
- // 将报表保存成文件
236
- confirmReport () {
237
- this.show = true
238
- this.filename = this.data.f_report_name + this.$login.toStandardDateString()
239
224
  }
240
225
  },
241
226
  watch: {
242
- 'data' (val) {
243
- if (val.f_files_path) {
244
- this.getFileContent(val.f_files_path)
245
- } else {
246
- this.reportStr = null
247
- }
248
- },
249
227
  'model.data' (val) {
250
- let len=0
251
- let a=val.split('</tr>')
252
- for(let i=0;i<a.length;i++){
253
- if(a[i].split('</td>').length-1>len){
254
- len=a[i].split('</td>').length-1
255
- }
256
- continue
257
- }
258
- this.tablen=len
259
- },
260
- // '$refs.paged.$refs.criteria.model.f_meter_type' (val) {
261
- // this.initParams()
262
- // console.log('进入监听--------------------')
263
- // }
228
+ this.tablen = val.split('</tr>').map(item => item.split('</td>').length-1).reduce((x, y) => x > y ? x : y)
229
+ }
264
230
  },
265
231
  computed: {
266
- operator () {
267
- return this.$getParams('操作员查询用', [{label: '全部', value: ''}])
268
- },
269
- network () {
270
- return this.$getParams('网点查询用', [{label: '全部', value: ''}])
271
- },
272
232
  metertypes() {
273
233
  return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('气表类型')]
274
- },
234
+ }
275
235
  }
276
236
  }
277
237
  </script>