manage-client 3.2.15 → 3.2.19

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 (51) hide show
  1. package/.gradle/4.4/fileContent/fileContent.lock +0 -0
  2. package/.gradle/4.4/fileHashes/fileHashes.bin +0 -0
  3. package/.gradle/4.4/fileHashes/fileHashes.lock +0 -0
  4. package/.gradle/4.4/taskHistory/taskHistory.bin +0 -0
  5. package/.gradle/4.4/taskHistory/taskHistory.lock +0 -0
  6. package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
  7. package/.gradle/buildOutputCleanup/cache.properties +2 -2
  8. package/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
  9. package/build/dev-server.js +7 -24
  10. package/build/libs/ManageClient-3.1.0-17.jar +0 -0
  11. package/build/tmp/jar/MANIFEST.MF +2 -0
  12. package/package.json +1 -1
  13. package/src/App.vue +28 -28
  14. package/src/components/sale/businessquery/SalesGasClassification.vue +168 -168
  15. package/src/components/sale/businessquery/iotStateSearch/iotStateQuery.vue +308 -308
  16. package/src/components/sale/report/aode/DayReportList.vue +371 -371
  17. package/src/components/sale/report/aode/YearByUserType.vue +272 -272
  18. package/src/components/webmeter/instruction/NewQueryInstruct.vue +443 -443
  19. package/src/filiale/WEINAN/OtherChargeQuery.vue +521 -521
  20. package/src/filiale/WEINAN/ReportDataQuery.vue +249 -249
  21. package/src/filiale/WEINAN/config/tableConfig.js +20 -20
  22. package/src/filiale/jingwei/RecordInfoQuery.vue +1142 -1142
  23. package/src/filiale/meihekou/CardHandplanQuery.vue +612 -618
  24. package/src/filiale/meihekou/RecordInfoQuery.vue +1158 -1158
  25. package/src/filiale/meihekou/YingShouMingXi.vue +538 -0
  26. package/src/filiale/meihekou/config/exportConfig.js +831 -804
  27. package/src/filiale/meihekou/sale.js +3 -0
  28. package/src/filiale/pingxiang/sale.js +9 -9
  29. package/src/filiale/qingtongxia/sale.js +13 -13
  30. package/src/filiale/rongcheng/UserQuery.vue +827 -827
  31. package/src/filiale/shaoguan/HandplanQuery.vue +1314 -1314
  32. package/src/filiale/shaoguan/RecordInfoQuery.vue +1108 -1108
  33. package/src/filiale/shaoguan/TransferQuery.vue +403 -403
  34. package/src/filiale/shaoguan/config/exportConfig.js +433 -433
  35. package/src/filiale/shaoguan/errorHandplanQuery.vue +366 -366
  36. package/src/filiale/shaoguan/sale/businessquery/ExemptQuery.vue +314 -314
  37. package/src/filiale/shaoguan/sale/businessquery/FMYGasQuery.vue +687 -687
  38. package/src/filiale/shaoguan/sale/businessquery/PaymentChangeQuery.vue +338 -338
  39. package/src/filiale/shaoguan/sale/businessquery/ReconcileQuery.vue +426 -426
  40. package/src/filiale/tongchuan/ManageBusSummary.vue +169 -231
  41. package/src/filiale/tongchuan/config/exportConfig.js +857 -857
  42. package/src/filiale/tongchuan/reportManage.js +1 -2
  43. package/src/main.js +66 -66
  44. package/.gradle/5.4.1/fileChanges/last-build.bin +0 -0
  45. package/.gradle/5.4.1/fileHashes/fileHashes.lock +0 -0
  46. package/.gradle/5.4.1/gc.properties +0 -0
  47. package/src/.idea/misc.xml +0 -9
  48. package/src/.idea/modules.xml +0 -8
  49. package/src/.idea/src.iml +0 -9
  50. package/src/.idea/vcs.xml +0 -6
  51. package/src/.idea/workspace.xml +0 -93
@@ -1,11 +1,9 @@
1
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>
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>
7
5
  <div novalidate class="form-horizontal select-overspread container-fluid auto" partial >
8
- <div class="row">
6
+ <div class="row">
9
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%"
@@ -26,133 +24,101 @@
26
24
  :show-reset-button="reset">
27
25
  </datepicker>
28
26
  </div>
29
- <div class="col-sm-2 form-group" >
30
- <label class="font_normal_body" for="org">公&emsp;&emsp;司:</label>
31
- <right-tree id="org" @re-res="$parent.$parent.getRes" style="width: 60%" v-ref:org></right-tree>
32
- </div>
33
- <div class="col-sm-2 form-group">
34
- <label class="font_normal_body" for="dep" >部&emsp;&emsp;门:</label>
35
- <v-select id="dep" style="width: 60%"
36
- :multiple="false"
37
- @change="$parent.$parent.getDep"
38
- :value.sync="model.f_depid"
39
- v-model="model.f_depid"
40
- :options='$parent.$parent.depresid' placeholder='请选择'
41
- condition="f_depid in {}">
42
- </v-select>
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-3 form-group">
32
+ <label class="font_normal_body" for="dep" >部&emsp;&emsp;门:</label>
33
+ <v-select id="dep" style="width: 60%"
34
+ :multiple="true"
35
+ @change="$parent.$parent.getDep"
36
+ :value.sync="model.f_depid"
37
+ v-model="model.f_depid"
38
+ :options='$parent.$parent.depresid' placeholder='请选择'
39
+ condition="f_depid in {}">
40
+ </v-select>
43
41
 
42
+ </div>
43
+ <div class="col-sm-3 form-group">
44
+ <label class="font_normal_body" for="oper">人&emsp;&emsp;员:</label>
45
+ <v-select id="oper" style="width: 60%"
46
+ :multiple="false"
47
+ @change="$parent.$parent.getOpe"
48
+ :value.sync="model.f_operatorid"
49
+ v-model="model.f_operatorid"
50
+ :options='$parent.$parent.userresid' placeholder='请选择'
51
+ condition="f_operatorid in {}">
52
+ </v-select>
53
+ </div>
44
54
  </div>
45
- <div class="col-sm-2 form-group">
46
- <label class="font_normal_body" for="oper">人&emsp;&emsp;员:</label>
47
- <v-select id="oper" style="width: 60%"
48
- :multiple="false"
49
- @change="$parent.$parent.getOpe"
50
- :value.sync="model.f_operatorid"
51
- v-model="model.f_operatorid"
52
- :options='$parent.$parent.userresid' placeholder='请选择'
53
- condition="f_operatorid in {}">
54
- </v-select>
55
- </div>
56
- <div class="col-sm-2 form-group">
57
- <label class="font_normal_body">收费状态</label>
58
- <v-select :value.sync="$parent.$parent.f_state" multiple
59
- v-model="$parent.$parent.f_state"
60
- :options='$parent.$parent.charge_state' placeholder='请选择'
61
- condition="f_state in {}"
62
- close-on-select></v-select>
63
- </div>
64
- </div>
65
55
  <div class="span" style = "float:right;">
66
56
  <button class="button_search" @click="$parent.$parent.searchData()">查询</button>
67
- <report-print id='gasprice' top='3cm' left='0' width='100%' height='100%' :preview="true"></report-print>
68
- <report-excel id='gasprice'></report-excel>
57
+ <report-print id='gasprice' top='3cm' left='0' width='100%' height='100%' :preview="true"></report-print>
58
+ <report-excel id='gasprice'></report-excel>
59
+ <div style="float: right" class="button_spacing" :class="{'button_shrink_top':$parent.$parent.criteriaShow,
60
+ 'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.hidden()"></div>
69
61
  </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[0]">公司:{{$parent.orgname}}</span>
93
- <span v-show="$parent.depname[0]"> 部门:{{$parent.depname}}</span>
94
- <span style="font-weight: normal;text-align: center;margin:5px 15px" v-show="$parent.operatorname[0]">人员:{{$parent.operatorname}}</span>
62
+ <div class="row" v-show="$parent.$parent.criteriaShow">
63
+ <div class="col-sm-2 form-group">
64
+ <label class="font_normal_body">收费状态</label>
65
+ <v-select :value.sync="$parent.$parent.f_state" multiple
66
+ v-model="$parent.$parent.f_state"
67
+ :options='$parent.$parent.charge_state' placeholder='请选择'
68
+ condition="f_state in {}"
69
+ close-on-select></v-select>
95
70
  </div>
96
- </th>
97
- </tr>
98
- </thead>
99
- <tr>
100
- <td :colspan='$parent.spans'>
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>注:</div>
116
- <modal :show.sync="show" v-ref:modal small backdrop="false">
117
- <header slot="modal-header" class="modal-header">
118
- <h4 class="modal-title">输入文件名称</h4>
119
- </header>
120
- <article slot="modal-body" class="modal-body">
121
- <div class="form-group">
122
- <input type="text" class="form-control" v-model="filename" placeholder='保存的文件名'>
71
+ </div>
72
+ </div>
73
+ </criteria>
74
+ <div partial='list' v-el:handcollect id='gasprice' style="overflow-y: scroll">
75
+ <table class='tableprint' style="margin: 0px auto">
76
+ <thead>
77
+ <tr>
78
+ <th :colspan='$parent.spans' style="font-weight: normal; text-align: left;">
79
+ <h3 style="text-align: center">收费结账报表</h3>
80
+ </th>
81
+ </tr>
82
+ <tr>
83
+ <th :colspan='$parent.spans' style="font-weight: normal; text-align: center;">
84
+ 开始时间:{{model.model.startDate}}&nbsp;&nbsp;&nbsp;
85
+ 结束时间:{{ model.model.endDate }}&nbsp;&nbsp;<br/>
86
+ <!--打印时间:{{{$parent.printTime}}}-->
87
+ 打印时间:{{$parent.printTime}}
88
+ <!--收费员:{{// $parent.operatorname}}-->
89
+ </th>
90
+ </tr>
91
+ <tr>
92
+ <th :colspan='$parent.spans' style="font-weight: normal; text-align: center;">
93
+ <div>
94
+ <span style="font-weight: normal;text-align: center;margin:5px 15px" v-show="$parent.orgname">公司:{{$parent.orgname}}</span>
95
+ <span v-show="$parent.depname"> 部门:{{$parent.depname}}</span>
96
+ <span style="font-weight: normal;text-align: center;margin:5px 15px" v-show="$parent.operatorname">人员:{{$parent.operatorname}}</span>
97
+ </div>
98
+ </th>
99
+ </tr>
100
+ </thead>
101
+ <tr>
102
+ <td :colspan='$parent.spans' class="noborder">
103
+ {{{ model.data.substring(26,model.data.length-8) }}}
104
+ </td>
105
+ </tr>
106
+ <tfoot>
107
+ <tr style="text-align: left">
108
+ <th :colspan='Math.floor($parent.spans/3)'>财务审核:</th>
109
+ <th :colspan='Math.floor($parent.spans/3)'>收款审核:</th>
110
+ <th :colspan='Math.floor($parent.spans/3)'>收款员:</th>
111
+ </tr>
112
+ </tfoot>
113
+ </table>
123
114
  </div>
124
- </article>
125
- <footer slot="modal-footer" class="modal-footer">
126
- <button v-show="show" type="button" class="btn btn-default" @click='close'>取消</button>
127
- <button v-show="show" type="button" class="btn btn-success" @click='confirm(filename)'>确认</button>
128
- </footer>
129
- </modal>
115
+ </criteria-paged>
130
116
  </div>
131
117
  </template>
132
118
 
133
119
  <script>
134
120
  import {DataModel, HttpResetClass} from 'vue-client'
135
- import co from 'co'
136
- let saveFile = function * (self) {
137
- // 线验证文件是否重名
138
- let count = yield self.$resetpost('rs/sql/manageSingleTable',
139
- {data: {tablename: 't_report_record', condition: `f_files_name = '${self.filename}'`}},
140
- {resolveMsg: null, rejectMsg: null})
141
- if (count.data.length > 0) {
142
- self.$showAlert('无法保存,文件名重名', 'warning', 3000)
143
- return
144
- }
145
- let saveBack = yield self.$resetpost('rs/logic/saveReport', {f_files_content: self.$refs.paged.$els.handcollect.innerHTML,
146
- f_files_name: self.filename, f_files_type: self.data.f_report_type, f_component_name: 'manage-bus-summary',
147
- f_operator: this.$login.f.name, f_query_month: `${self.model.model.startDate}-${self.model.model.endDate}`,
148
- f_outlets: this.$login.f.depname})
149
- if (saveBack.data.status === 'succeed') {
150
- self.show = false
151
- self.filename = ''
152
- // 后台保存完成,通知刷新
153
- self.$dispatch('save-success', self.filename)
154
- }
155
- }
121
+ import co from 'co'
156
122
  let getorg = async function (self) {
157
123
  new HttpResetClass().load("POST",'rs/sql/singleTableParam',
158
124
  {
@@ -179,124 +145,96 @@ let getorg = async function (self) {
179
145
  self.userresid = res.data
180
146
  })
181
147
  }
182
- export default {
183
- title: '收费结账报表',
184
- props: ['data'],
185
- data () {
186
- return {
187
- printTime: this.$login.toStandardTimeString(),
188
- depresid: [],
189
- userresid: [],
190
- f_orgid: this.$login.f.orgid,
191
- f_depid: this.$login.f.depids,
192
- f_operatorid: this.$login.f.id,
193
- operatorid: [],
194
- depid: [],
195
- orgname: '',
196
- depname: '',
197
- operatorname: '',
198
- orgCondtionStr: '1=1',
199
- // f_state:['有效'],
200
- model: new DataModel('rs/report/getmoneyall', {startDate: 'this.model.startDate', endDate: 'this.model.endDate',
201
- f_orgid: 'this.model.f_orgid'}),
202
- reportStr: null,
203
- show: false,
204
- spans: 0,
205
- initres: {
206
- org: [this.$login.f.orgid],
207
- dep: [],
208
- user: []
209
- }
148
+ export default {
149
+ title: '收费结账报表',
150
+ props: ['data'],
151
+ data () {
152
+ return {
153
+ printTime: this.$login.toStandardTimeString(),
154
+ depresid: [],
155
+ userresid: [],
156
+ f_orgid: this.$login.f.orgid,
157
+ f_depid: this.$login.f.depids,
158
+ f_operatorid: this.$login.f.id,
159
+ operatorid: [],
160
+ depid: [],
161
+ orgname: '',
162
+ depname: '',
163
+ criteriaShow: false,
164
+ operatorname: '',
165
+ orgCondtionStr: '1=1',
166
+ f_state:'',
167
+ model: new DataModel('rs/report/getmoneyall', {startDate: 'this.model.startDate', endDate: 'this.model.endDate',
168
+ f_orgid: 'this.model.f_orgid'}),
169
+ reportStr: null,
170
+ spans: 0,
171
+ initres: {
172
+ org: [this.$login.f.orgid],
173
+ dep: [],
174
+ user: []
210
175
  }
176
+ }
177
+ },
178
+ ready () {
179
+ getorg(this)
180
+ this.$refs.paged.$refs.criteria.model.startDate = this.$login.toStandardDateString() + ' 00:00:00'
181
+ this.$refs.paged.$refs.criteria.model.endDate = this.$login.toStandardDateString() + ' 23:59:59'
182
+ console.log(this.$login.f)
183
+ },
184
+ methods: {
185
+ searchData () {
186
+ this.$refs.paged.$refs.criteria.search()
211
187
  },
212
- ready () {
213
- getorg(this)
214
- this.$refs.paged.$refs.criteria.model.startDate = this.$login.toStandardDateString() + ' 00:00:00'
215
- this.$refs.paged.$refs.criteria.model.endDate = this.$login.toStandardDateString() + ' 23:59:59'
216
- console.log(this.$login.f)
217
- },
218
- methods: {
219
- searchData () {
220
- this.$refs.paged.$refs.criteria.search()
221
- },
222
- getDep(val){
223
- this.depname = this.depresid.filter(x => x.value ==val).map(x=>x.label).toString()
224
- console.log('dep',this.depname )
225
- },
226
- getOpe(val){
227
- this.operatorname = this.userresid.filter(x => x.value ==val).map(x=>x.label).toString()
228
- console.log('dep',this.operatorname )
229
- },
230
- selfSearch (args) {
231
- this.printTime = this.$login.toStandardTimeString()
232
- let s = '1=1'
233
- if (this.f_orgid[0]) {
234
- s += ' and f_orgid in(' + this.f_orgid +')'
235
- }
236
- if (this.f_state[0]) {
237
- s += ' and f_state in(\'' + this.f_state.toString().replace(new RegExp(',','g')) +'\')'
238
- }
239
- s += ' and ' + args.condition
240
- console.log('xxxxxxxxxxx',this.orgCondtionStr)
241
- // let orgstr = this.f_state[0] ? "f_state in('" + this.f_state.toString().replace(new RegExp(',','g'), "','") +"') "+ s: s
242
- this.$refs.paged.$refs.criteria.model.f_orgid = s
243
- this.$refs.paged.search(args)
244
- },
245
- // 根据文件路径获取储存的报表内容
246
- getFileContent (path) {
247
- this.$resetpost('rs/logic/getReportFileContent', {f_files_path: path}, {resolveMsg: null, rejectMsg: null}).then((res) => {
248
- this.reportStr = res.data.filecontent
249
- this.model.state = '正确'
250
- })
251
- },
252
- confirm () {
253
- if (!this.filename || this.filename === '') {
254
- this.$showAlert('无法保存,文件名不能为空', 'warning', 3000)
255
- }
256
- let saveGen = saveFile(this)
257
- co(saveGen)
258
- },
259
- close () {
260
- this.show = false
261
- },
262
- // 将报表保存成文件
263
- confirmReport () {
264
- this.show = true
265
- this.filename = this.data.f_report_name + this.$login.toStandardDateString()
266
- },
267
- getRes (obj) {
268
- this.orgname = obj.res[0]
269
- this.f_orgid = obj.resids
188
+ selfSearch (args) {
189
+ this.printTime = this.$login.toStandardTimeString()
190
+ let orgcondition = ''
191
+ if (this.f_orgid[0]) {
192
+ orgcondition += ' and f_orgid in(' + this.f_orgid + ')'
270
193
  }
271
- },
272
- watch: {
273
- 'data' (val) {
274
- if (val.f_files_path) {
275
- this.getFileContent(val.f_files_path)
276
- } else {
277
- this.reportStr = null
278
- }
279
- },
280
- 'model.data' (val) {
281
- let len=0
282
- let a=val.split('</tr>')
283
- for(let i=0;i<a.length;i++){
284
- if(a[i].split('</td>').length-1>len){
285
- len=a[i].split('</td>').length-1
286
- }
287
- }
288
- this.spans = len
194
+ if(this.f_state && this.f_state[0]) {
195
+ orgcondition += ` and f_state in('${this.f_state.toString().replace(/,/g,"','")}')`
289
196
  }
197
+ this.$refs.paged.$refs.criteria.model.f_orgid = args.condition + orgcondition
198
+ this.$refs.paged.search(args)
199
+ },
200
+
201
+ hidden() {
202
+ this.criteriaShow = !this.criteriaShow
290
203
  },
291
- computed: {
292
- charge_state() {
293
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('收费状态')]
204
+ getRes (obj) {
205
+ this.orgname = obj.res[0]
206
+ this.f_orgid = obj.resids
207
+ },
208
+ getDep(val){
209
+ this.depname = this.depresid.filter(x => val.includes(x.value)).map(x=>x.label).toString()
210
+ console.log('dep',this.depname )
211
+ },
212
+ getOpe(val){
213
+ this.operatorname = this.userresid.filter(x => val.includes(x.value)).map(x=>x.label).toString()
214
+ console.log('operatorname',this.operatorname )
215
+ },
216
+ },
217
+ watch: {
218
+ 'model.data' (val) {
219
+ let len=0
220
+ let a=val.split('</tr>')
221
+ for(let i=0;i<a.length;i++){
222
+ if(a[i].split('</td>').length-1>len){
223
+ len=a[i].split('</td>').length-1
224
+ }
294
225
  }
226
+ this.spans = len
227
+ }
228
+ },
229
+ computed: {
230
+ charge_state() {
231
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('收费状态')]
295
232
  }
296
233
  }
234
+ }
297
235
  </script>
298
236
  <style scoped>
299
- .noborder{
300
- border: none;
301
- }
237
+ .noborder{
238
+ border: none;
239
+ }
302
240
  </style>