manage-client 3.2.19 → 3.2.23

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 (77) 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/6.1.1/fileContent/fileContent.lock +0 -0
  4. package/.gradle/7.1/dependencies-accessors/dependencies-accessors.lock +0 -0
  5. package/.gradle/7.1/dependencies-accessors/gc.properties +0 -0
  6. package/.gradle/{4.4/taskHistory/taskHistory.bin → 7.1/executionHistory/executionHistory.bin} +0 -0
  7. package/.gradle/7.1/executionHistory/executionHistory.lock +0 -0
  8. package/.gradle/7.1/fileChanges/last-build.bin +0 -0
  9. package/.gradle/7.1/fileHashes/fileHashes.bin +0 -0
  10. package/.gradle/7.1/fileHashes/fileHashes.lock +0 -0
  11. package/.gradle/7.1/gc.properties +0 -0
  12. package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
  13. package/.gradle/buildOutputCleanup/cache.properties +2 -2
  14. package/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
  15. package/build/dev-server.js +7 -7
  16. package/build/libs/ManageClient-3.1.0-17.jar +0 -0
  17. package/package.json +1 -1
  18. package/src/App.vue +28 -28
  19. package/src/components/SellReport/AmountGas.vue +257 -257
  20. package/src/components/SellReport/BusinessClassify.vue +268 -317
  21. package/src/components/SellReport/BusinessMoneyReport.vue +268 -268
  22. package/src/components/SellReport/BusinessReport.vue +256 -256
  23. package/src/components/SellReport/ChSellReport.vue +251 -251
  24. package/src/components/SellReport/ChargeBill.vue +244 -244
  25. package/src/components/SellReport/ChargeDayTable.vue +258 -258
  26. package/src/components/SellReport/ChargeMonthTable.vue +257 -257
  27. package/src/components/SellReport/ChargeYearTable.vue +252 -252
  28. package/src/components/SellReport/DepartmentPrick.vue +243 -288
  29. package/src/components/SellReport/DeptHomePage.vue +299 -299
  30. package/src/components/SellReport/FinanceSellType.vue +254 -254
  31. package/src/components/SellReport/GasMeterBrand.vue +228 -228
  32. package/src/components/SellReport/GasMoneyPublicReport.vue +263 -0
  33. package/src/components/SellReport/GasMoneyReport.vue +252 -254
  34. package/src/components/SellReport/GasPriceGroup.vue +228 -228
  35. package/src/components/SellReport/GasSummary.vue +257 -257
  36. package/src/components/SellReport/Gasc.vue +257 -257
  37. package/src/components/SellReport/GetUserNum.vue +240 -240
  38. package/src/components/SellReport/HandplanBili.vue +241 -241
  39. package/src/components/SellReport/HandplanUserCount.vue +227 -227
  40. package/src/components/SellReport/ManageGasSumChange.vue +265 -265
  41. package/src/components/SellReport/ManageGasSumChangeTwo.vue +271 -271
  42. package/src/components/SellReport/ManageGasSumOtherCharge.vue +244 -244
  43. package/src/components/SellReport/MarketMonth.vue +251 -297
  44. package/src/components/SellReport/MeterPrice.vue +244 -244
  45. package/src/components/SellReport/MeterReader.vue +231 -231
  46. package/src/components/SellReport/OperatorCheckoutTwo.vue +263 -263
  47. package/src/components/SellReport/OperatorSellReport.vue +268 -268
  48. package/src/components/SellReport/OtherChargePublicReport.vue +262 -0
  49. package/src/components/SellReport/PaymentDistribute.vue +228 -228
  50. package/src/components/SellReport/PaymentMethod.vue +274 -274
  51. package/src/components/SellReport/QTXManageBusSummary.vue +236 -236
  52. package/src/components/SellReport/QibiaoShouqi.vue +58 -98
  53. package/src/components/SellReport/SellDepReport.vue +264 -266
  54. package/src/components/SellReport/UserClassify.vue +222 -271
  55. package/src/components/SellReport/UserGasFillCard.vue +441 -441
  56. package/src/components/SellReport/UserSellingGas.vue +59 -8
  57. package/src/components/SellReport/WeiNanYuShou.vue +246 -246
  58. package/src/components/SellReport/YuShouTable.vue +298 -298
  59. package/src/components/SellReport/chargeSchedule.vue +410 -410
  60. package/src/components/SellReport/pengan/ManageBusPeng.vue +280 -280
  61. package/src/components/SellReport/userholds.vue +257 -257
  62. package/src/components/sale/report/aode/DayReportList.vue +371 -371
  63. package/src/components/webmeter/instruction/NewQueryInstruct.vue +443 -443
  64. package/src/components/webmeter/newwebmeter/PriceInstructDetail.vue +374 -0
  65. package/src/components/webmeter/newwebmeter/PriceInstructList.vue +332 -0
  66. package/src/components/webmeter/newwebmeter/PriceInstructManage.vue +44 -0
  67. package/src/components/webmeter/report/ReportList.vue +434 -422
  68. package/src/filiale/WEINAN/BankManager.vue +139 -0
  69. package/src/filiale/WEINAN/ReportDataQuery.vue +77 -1
  70. package/src/filiale/WEINAN/config/exportConfig.js +833 -817
  71. package/src/filiale/WEINAN/reportManage.js +13 -12
  72. package/src/filiale/shaoguan/RecordInfoQuery.vue +1108 -1108
  73. package/src/main.js +66 -66
  74. package/src/reportManage.js +498 -490
  75. package/src/webmeterManage.js +6 -0
  76. package/.gradle/4.4/fileContent/fileContent.lock +0 -0
  77. package/.gradle/4.4/taskHistory/taskHistory.lock +0 -0
@@ -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>