manage-client 3.2.27 → 3.2.28

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 (70) hide show
  1. package/.gradle/6.1.1/fileContent/fileContent.lock +0 -0
  2. package/.gradle/7.1/dependencies-accessors/dependencies-accessors.lock +0 -0
  3. package/.gradle/7.1/dependencies-accessors/gc.properties +0 -0
  4. package/.gradle/7.1/executionHistory/executionHistory.bin +0 -0
  5. package/.gradle/7.1/executionHistory/executionHistory.lock +0 -0
  6. package/.gradle/7.1/fileChanges/last-build.bin +0 -0
  7. package/.gradle/7.1/fileHashes/fileHashes.bin +0 -0
  8. package/.gradle/7.1/fileHashes/fileHashes.lock +0 -0
  9. package/.gradle/7.1/gc.properties +0 -0
  10. package/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
  11. package/build/dev-server.js +174 -174
  12. package/build/libs/ManageClient-3.1.0-17.jar +0 -0
  13. package/build/tmp/jar/MANIFEST.MF +2 -0
  14. package/package.json +1 -1
  15. package/src/components/SellReport/AmountGas.vue +257 -257
  16. package/src/components/SellReport/BusinessClassify.vue +268 -317
  17. package/src/components/SellReport/BusinessMoneyReport.vue +268 -268
  18. package/src/components/SellReport/BusinessReport.vue +256 -256
  19. package/src/components/SellReport/ChSellReport.vue +251 -251
  20. package/src/components/SellReport/ChargeBill.vue +244 -244
  21. package/src/components/SellReport/ChargeDayTable.vue +258 -258
  22. package/src/components/SellReport/ChargeMonthTable.vue +257 -257
  23. package/src/components/SellReport/ChargeYearTable.vue +252 -252
  24. package/src/components/SellReport/DepartmentPrick.vue +243 -288
  25. package/src/components/SellReport/DeptHomePage.vue +299 -299
  26. package/src/components/SellReport/FinanceSellType.vue +254 -254
  27. package/src/components/SellReport/GasMeterBrand.vue +228 -228
  28. package/src/components/SellReport/GasMoneyPublicReport.vue +263 -263
  29. package/src/components/SellReport/GasMoneyReport.vue +252 -254
  30. package/src/components/SellReport/GasPriceGroup.vue +228 -228
  31. package/src/components/SellReport/GasSummary.vue +257 -257
  32. package/src/components/SellReport/Gasc.vue +257 -257
  33. package/src/components/SellReport/GetUserNum.vue +240 -240
  34. package/src/components/SellReport/HandplanBili.vue +241 -241
  35. package/src/components/SellReport/HandplanUserCount.vue +227 -227
  36. package/src/components/SellReport/ManageGasSumChange.vue +265 -265
  37. package/src/components/SellReport/ManageGasSumChangeTwo.vue +271 -271
  38. package/src/components/SellReport/ManageGasSumOtherCharge.vue +244 -244
  39. package/src/components/SellReport/MarketMonth.vue +251 -297
  40. package/src/components/SellReport/MeterPrice.vue +244 -244
  41. package/src/components/SellReport/MeterReader.vue +231 -231
  42. package/src/components/SellReport/OperatorCheckoutTwo.vue +263 -263
  43. package/src/components/SellReport/OperatorSellReport.vue +268 -268
  44. package/src/components/SellReport/OtherChargePublicReport.vue +262 -262
  45. package/src/components/SellReport/PaymentDistribute.vue +228 -228
  46. package/src/components/SellReport/PaymentMethod.vue +274 -274
  47. package/src/components/SellReport/QTXManageBusSummary.vue +236 -236
  48. package/src/components/SellReport/SellDepReport.vue +264 -266
  49. package/src/components/SellReport/UserClassify.vue +222 -271
  50. package/src/components/SellReport/UserGasFillCard.vue +441 -441
  51. package/src/components/SellReport/WeiNanYuShou.vue +246 -246
  52. package/src/components/SellReport/YuShouTable.vue +298 -298
  53. package/src/components/SellReport/chargeSchedule.vue +410 -410
  54. package/src/components/SellReport/pengan/ManageBusPeng.vue +280 -280
  55. package/src/components/SellReport/userholds.vue +257 -257
  56. package/src/components/sale/config/exportConfig.js +898 -898
  57. package/src/components/sale/filesquery/ArchivesManage.vue +3 -0
  58. package/src/components/sale/filesquery/FireQuery.vue +473 -0
  59. package/src/components/webmeter/gasStatistics/GasStatistics.vue +467 -467
  60. package/src/components/webmeter/newwebmeter/ArrearageQuery.vue +307 -307
  61. package/src/components/webmeter/recharge/RechargeList.vue +343 -343
  62. package/src/components/webmeter/report/ReportList.vue +420 -420
  63. package/src/filiale/WEINAN/BankManager.vue +139 -0
  64. package/src/filiale/WEINAN/config/exportConfig.js +833 -833
  65. package/src/filiale/WEINAN/reportManage.js +13 -12
  66. package/src/filiale/macheng/ArrearsQuery.vue +823 -823
  67. package/src/main.js +66 -66
  68. package/src/reportManage.js +498 -498
  69. package/src/saleManage.js +5 -0
  70. package/src/webmeterManage.js +117 -117
@@ -1,288 +1,243 @@
1
- <template>
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>
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-3" >
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-3" >
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-3 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-3 form-group">
34
- <label class="font_normal_body" for="dep" >部&emsp;&emsp;门:</label>
35
- <v-select id="dep" style="width: 60%"
36
- :multiple="true"
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>
43
-
44
- </div>
45
- <div class="col-sm-3 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-3 form-group">
57
- <label class="font_normal_body" title="参数:付款方式查询">付款方式</label>
58
- <v-select :value.sync="model.f_payment" multiple
59
- v-model="model.f_payment"
60
- :options='$parent.$parent.payment' placeholder='请选择'
61
- condition="f_payment in {}"
62
- close-on-select></v-select>
63
- </div>
64
- </div>
65
- <div class="span" style = "float:right;">
66
- <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>
69
- </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.tablen' style="font-weight: normal; text-align: left;">
77
- <h3 style="text-align: center">营业厅收款结账单</h3>
78
- </th>
79
- </tr>
80
- <tr>
81
- <th :colspan='$parent.tablen' style="font-weight: normal; text-align: center;">
82
- 时间区间:{{$refs.criteria.model.startDate}} - {{ $refs.criteria.model.endDate }}<br/>
83
- 打印时间:{{$parent.printTime}}
84
- </th>
85
- </tr>
86
- <tr>
87
- <th :colspan='$parent.tablen' style="font-weight: normal; text-align: center;">
88
- <div>
89
- <span v-show="$parent.orgname[0]">公司:{{$parent.orgname}}</span>
90
- <span v-show="$parent.depname[0]"> 部门:{{$parent.depname}}</span>
91
- <span v-show="$parent.operatorname[0]">人员:{{$parent.operatorname}}</span>
92
- </div>
93
- </th>
94
- </tr>
95
- </thead>
96
- <tr>
97
- <td :colspan='$parent.tablen' class="noborder">
98
- {{{ model.data.substring(26,model.data.length-8) }}}
99
- </td>
100
- </tr>
101
- <tfoot>
102
- <tr style="text-align: left">
103
- <th :colspan='Math.floor($parent.tablen/3)'>财务审核:</th>
104
- <th :colspan='Math.round($parent.tablen/3)'>收款审核:</th>
105
- <th :colspan='Math.round($parent.tablen/3)'>收款员:</th>
106
- </tr>
107
- </tfoot>
108
- </table>
109
- {{{ $parent.reportStr}}}
110
- </div>
111
- </criteria-paged>
112
- <modal :show.sync="show" v-ref:modal small backdrop="false">
113
- <header slot="modal-header" class="modal-header">
114
- <h4 class="modal-title">输入文件名称</h4>
115
- </header>
116
- <article slot="modal-body" class="modal-body">
117
- <div class="form-group">
118
- <input type="text" class="form-control" v-model="filename" placeholder='保存的文件名'>
119
- </div>
120
- </article>
121
- <footer slot="modal-footer" class="modal-footer">
122
- <button v-show="show" type="button" class="btn btn-default" @click='close'>取消</button>
123
- <button v-show="show" type="button" class="btn btn-success" @click='confirm(filename)'>确认</button>
124
- </footer>
125
- </modal>
126
- </div>
127
- </template>
128
-
129
- <script>
130
- import {DataModel, HttpResetClass} from 'vue-client'
131
- import co from 'co'
132
- let saveFile = function * (self) {
133
- // 线验证文件是否重名
134
- let count = yield self.$resetpost('rs/sql/manageSingleTable',
135
- {data: {tablename: 't_report_record', condition: `f_files_name = '${self.filename}'`}},
136
- {resolveMsg: null, rejectMsg: null})
137
- if (count.data.length > 0) {
138
- self.$showAlert('无法保存,文件名重名', 'warning', 3000)
139
- return
140
- }
141
- let saveBack = yield self.$resetpost('rs/logic/saveReport', {f_files_content: self.$refs.paged.$els.handcollect.innerHTML,
142
- f_files_name: self.filename, f_files_type: self.data.f_report_type, f_component_name: 'manage-bus-summary',
143
- f_operator: this.$login.f.name, f_query_month: `${self.model.model.startDate}-${self.model.model.endDate}`,
144
- f_outlets: this.$login.f.depname})
145
- if (saveBack.data.status === 'succeed') {
146
- self.show = false
147
- self.filename = ''
148
- // 后台保存完成,通知刷新
149
- self.$dispatch('save-success', self.filename)
150
- }
151
- }
152
- let getorg = async function (self) {
153
- new HttpResetClass().load("POST",'rs/sql/singleTableParam',
154
- {
155
- data: {
156
- items: 'name label,id value',
157
- tablename: 't_department',
158
- condition: `1=1`
159
- }
160
- },
161
- {resolveMsg: null, rejectMsg: null})
162
- .then((res) => {
163
- self.depresid = res.data
164
- })
165
- new HttpResetClass().load("POST",'rs/sql/singleTableParam',
166
- {
167
- data: {
168
- items: 'name label,id value',
169
- tablename: 't_user',
170
- condition: `state = '在职' and f_department_name is not null`
171
- }
172
- },
173
- {resolveMsg: null, rejectMsg: null})
174
- .then((res) => {
175
- self.userresid = res.data
176
- })
177
- }
178
- export default {
179
- title: '营业厅收款结账单',
180
- props: ['data'],
181
- data () {
182
- return {
183
- printTime: this.$login.toStandardTimeString(),
184
- depresid: [],
185
- userresid: [],
186
- f_orgid: this.$login.f.orgid,
187
- f_depid: this.$login.f.depids,
188
- f_operatorid: this.$login.f.id,
189
- operatorid: [],
190
- depid: [],
191
- tablen:0,
192
- orgname: '',
193
- depname: '',
194
- operatorname: '',
195
- orgCondtionStr: '1=1',
196
- model: new DataModel('rs/report/DepPrick', {startDate: 'this.model.startDate', endDate: 'this.model.endDate',
197
- f_orgid: 'this.model.f_orgid'}),
198
- reportStr: null,
199
- show: false,
200
- }
201
- },
202
- ready () {
203
- getorg(this)
204
- this.$refs.paged.$refs.criteria.model.startDate = this.$login.toStandardDateString() + ' 00:00:00'
205
- this.$refs.paged.$refs.criteria.model.endDate = this.$login.toStandardDateString() + ' 23:59:59'
206
- console.log(this.$login.f)
207
- },
208
- methods: {
209
- searchData () {
210
- this.$refs.paged.$refs.criteria.search()
211
- },
212
- getDep(val){
213
- this.depname = this.depresid.filter(x => x.value ==val).map(x=>x.label).toString()
214
- console.log('dep',this.depname )
215
- },
216
- getOpe(val){
217
- this.operatorname = this.userresid.filter(x => x.value ==val).map(x=>x.label).toString()
218
- console.log('dep',this.operatorname )
219
- },
220
- selfSearch (args) {
221
- this.printTime = this.$login.toStandardTimeString()
222
- let orgcondition = '1=1'
223
- if (this.f_orgid[0]) {
224
- orgcondition += ' and f_orgid in(' + this.f_orgid + ')'
225
- }
226
-
227
- this.$refs.paged.$refs.criteria.model.f_orgid = orgcondition
228
- this.$refs.paged.search(args)
229
- },
230
- getRes (obj) {
231
- this.orgname = obj.res[0]
232
- this.f_orgid = obj.resids
233
- },
234
- // 根据文件路径获取储存的报表内容
235
- getFileContent (path) {
236
- this.$resetpost('rs/logic/getReportFileContent', {f_files_path: path}, {resolveMsg: null, rejectMsg: null}).then((res) => {
237
- this.reportStr = res.data.filecontent
238
- this.model.state = '正确'
239
- })
240
- },
241
- confirm () {
242
- if (!this.filename || this.filename === '') {
243
- this.$showAlert('无法保存,文件名不能为空', 'warning', 3000)
244
- }
245
- let saveGen = saveFile(this)
246
- co(saveGen)
247
- },
248
- close () {
249
- this.show = false
250
- },
251
- // 将报表保存成文件
252
- confirmReport () {
253
- this.show = true
254
- this.filename = this.data.f_report_name + this.$login.toStandardDateString()
255
- }
256
- },
257
- watch: {
258
- 'data' (val) {
259
- if (val.f_files_path) {
260
- this.getFileContent(val.f_files_path)
261
- } else {
262
- this.reportStr = null
263
- }
264
- },
265
- 'model.data' (val) {
266
- let len=0
267
- let a=val.split('</tr>')
268
- for(let i=0;i<a.length;i++){
269
- if(a[i].split('</td>').length-1>len){
270
- len=a[i].split('</td>').length-1
271
- }
272
- }
273
- this.tablen=len
274
- }
275
- },
276
- computed: {
277
-
278
- payment() {
279
- return [...this.$appdata.getParam('付款方式查询')]
280
- }
281
- }
282
- }
283
- </script>
284
- <style scoped>
285
- .noborder{
286
- border: none;
287
- }
288
- </style>
1
+ <template>
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>
5
+ <div novalidate class="form-horizontal select-overspread container-fluid auto" partial >
6
+ <div class="row">
7
+ <div class="col-sm-2 form-group" >
8
+ <label class="font_normal_body" for="startDate">开始日期:</label>
9
+ <datepicker id="startDate" placeholder="开始日期" style="width: 60%"
10
+ v-model="model.startDate"
11
+ :value.sync="model.startDate"
12
+ :disabled-days-of-Week="[]"
13
+ :format="'yyyy-MM-dd HH:mm:ss'"
14
+ :show-reset-button="reset">
15
+ </datepicker>
16
+ </div>
17
+ <div class="col-sm-2 form-group" >
18
+ <label class="font_normal_body" for="endDate">结束日期:</label>
19
+ <datepicker id="endDate" placeholder="结束日期" style="width: 60%"
20
+ v-model="model.endDate"
21
+ :value.sync="model.endDate"
22
+ :disabled-days-of-Week="[]"
23
+ :format="'yyyy-MM-dd HH:mm:ss'"
24
+ :show-reset-button="reset">
25
+ </datepicker>
26
+ </div>
27
+ <div class="col-sm-2 form-group" >
28
+ <label class="font_normal_body" for="org">公&emsp;&emsp;&emsp;司:</label>
29
+ <right-tree id="org" @re-res="$parent.$parent.getRes" style="width: 60%" v-ref:org></right-tree>
30
+ </div>
31
+ <div class="col-sm-2 form-group">
32
+ <label class="font_normal_body" for="dep" >部&emsp;&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>
41
+
42
+ </div>
43
+ <div class="col-sm-2 form-group">
44
+ <label class="font_normal_body" for="oper">人&emsp;&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>
54
+ <div class="col-sm-2 form-group">
55
+ <label class="font_normal_body" title="参数:付款方式查询">付款方式</label>
56
+ <v-select :value.sync="model.f_payment" multiple
57
+ v-model="model.f_payment"
58
+ :options='$parent.$parent.payment' placeholder='请选择'
59
+ condition="f_payment in {}"
60
+ close-on-select></v-select>
61
+ </div>
62
+ </div>
63
+ <div class="span" style = "float:right;">
64
+ <button class="button_search" @click="$parent.$parent.searchData()">查询</button>
65
+ <report-print id='gasprice' top='3cm' left='0' width='100%' height='100%' :preview="true"></report-print>
66
+ <report-excel id='gasprice'></report-excel>
67
+ </div>
68
+ </div>
69
+ </criteria>
70
+ <div partial='list' v-el:handcollect id='gasprice' style="overflow-y: scroll">
71
+ <table class='tableprint' style="margin: 0px auto">
72
+ <thead>
73
+ <tr>
74
+ <th :colspan='$parent.tablen' style="font-weight: normal; text-align: left;">
75
+ <h3 style="text-align: center">营业厅收款结账单</h3>
76
+ </th>
77
+ </tr>
78
+ <tr>
79
+ <th :colspan='$parent.tablen' style="font-weight: normal; text-align: center;">
80
+ 时间区间:{{$refs.criteria.model.startDate}} - {{ $refs.criteria.model.endDate }}<br/>
81
+ 打印时间:{{$parent.printTime}}
82
+ </th>
83
+ </tr>
84
+ <tr>
85
+ <th :colspan='$parent.tablen' style="font-weight: normal; text-align: center;">
86
+ <div>
87
+ <span v-show="$parent.orgname[0]">公司:{{$parent.orgname}}</span>
88
+ <span v-show="$parent.depname[0]"> 部门:{{$parent.depname}}</span>
89
+ <span v-show="$parent.operatorname[0]">人员:{{$parent.operatorname}}</span>
90
+ </div>
91
+ </th>
92
+ </tr>
93
+ </thead>
94
+ <tr>
95
+ <td :colspan='$parent.tablen' class="noborder">
96
+ {{{ model.data.substring(26,model.data.length-8) }}}
97
+ </td>
98
+ </tr>
99
+ <tfoot>
100
+ <tr style="text-align: left">
101
+ <th :colspan='Math.floor($parent.tablen/3)'>财务审核:</th>
102
+ <th :colspan='Math.round($parent.tablen/3)'>收款审核:</th>
103
+ <th :colspan='Math.round($parent.tablen/3)'>收款员:</th>
104
+ </tr>
105
+ </tfoot>
106
+ </table>
107
+ {{{ $parent.reportStr}}}
108
+ </div>
109
+ </criteria-paged>
110
+ <modal :show.sync="show" v-ref:modal small backdrop="false">
111
+ <header slot="modal-header" class="modal-header">
112
+ <h4 class="modal-title">输入文件名称</h4>
113
+ </header>
114
+ <article slot="modal-body" class="modal-body">
115
+ <div class="form-group">
116
+ <input type="text" class="form-control" v-model="filename" placeholder='保存的文件名'>
117
+ </div>
118
+ </article>
119
+ <footer slot="modal-footer" class="modal-footer">
120
+ <button v-show="show" type="button" class="btn btn-default" @click='close'>取消</button>
121
+ <button v-show="show" type="button" class="btn btn-success" @click='confirm(filename)'>确认</button>
122
+ </footer>
123
+ </modal>
124
+ </div>
125
+ </template>
126
+
127
+ <script>
128
+ import {DataModel, HttpResetClass} from 'vue-client'
129
+ import co from 'co'
130
+ let getorg = async function (self) {
131
+ new HttpResetClass().load("POST",'rs/sql/singleTableParam',
132
+ {
133
+ data: {
134
+ items: 'name label,id value',
135
+ tablename: 't_department',
136
+ condition: `1=1`
137
+ }
138
+ },
139
+ {resolveMsg: null, rejectMsg: null})
140
+ .then((res) => {
141
+ self.depresid = res.data
142
+ })
143
+ new HttpResetClass().load("POST",'rs/sql/singleTableParam',
144
+ {
145
+ data: {
146
+ items: 'name label,id value',
147
+ tablename: 't_user',
148
+ condition: `state = '在职' and f_department_name is not null`
149
+ }
150
+ },
151
+ {resolveMsg: null, rejectMsg: null})
152
+ .then((res) => {
153
+ self.userresid = res.data
154
+ })
155
+ }
156
+ export default {
157
+ title: '营业厅收款结账单',
158
+ props: ['data'],
159
+ data () {
160
+ return {
161
+ printTime: this.$login.toStandardTimeString(),
162
+ depresid: [],
163
+ userresid: [],
164
+ f_orgid: this.$login.f.orgid,
165
+ f_depid: this.$login.f.depids,
166
+ f_operatorid: this.$login.f.id,
167
+ operatorid: [],
168
+ depid: [],
169
+ tablen:0,
170
+ orgname: '',
171
+ depname: '',
172
+ operatorname: '',
173
+ orgCondtionStr: '1=1',
174
+ model: new DataModel('rs/report/DepPrick', {startDate: 'this.model.startDate', endDate: 'this.model.endDate',
175
+ f_orgid: 'this.model.f_orgid'}),
176
+ reportStr: null,
177
+ }
178
+ },
179
+ ready () {
180
+ getorg(this)
181
+ this.$refs.paged.$refs.criteria.model.startDate = this.$login.toStandardDateString() + ' 00:00:00'
182
+ this.$refs.paged.$refs.criteria.model.endDate = this.$login.toStandardDateString() + ' 23:59:59'
183
+ console.log(this.$login.f)
184
+ },
185
+ methods: {
186
+ searchData () {
187
+ this.$refs.paged.$refs.criteria.search()
188
+ },
189
+ getDep(val){
190
+ this.depname = this.depresid.filter(x => x.value ==val).map(x=>x.label).toString()
191
+ console.log('dep',this.depname )
192
+ },
193
+ getOpe(val){
194
+ this.operatorname = this.userresid.filter(x => x.value ==val).map(x=>x.label).toString()
195
+ console.log('dep',this.operatorname )
196
+ },
197
+ selfSearch (args) {
198
+ this.printTime = this.$login.toStandardTimeString()
199
+ let orgcondition = '1=1'
200
+ if (this.f_orgid[0]) {
201
+ orgcondition += ' and f_orgid in(' + this.f_orgid + ')'
202
+ }
203
+
204
+ this.$refs.paged.$refs.criteria.model.f_orgid = orgcondition
205
+ this.$refs.paged.search(args)
206
+ },
207
+ getRes (obj) {
208
+ this.orgname = obj.res[0]
209
+ this.f_orgid = obj.resids
210
+ },
211
+ },
212
+ watch: {
213
+ 'data' (val) {
214
+ if (val.f_files_path) {
215
+ this.getFileContent(val.f_files_path)
216
+ } else {
217
+ this.reportStr = null
218
+ }
219
+ },
220
+ 'model.data' (val) {
221
+ let len=0
222
+ let a=val.split('</tr>')
223
+ for(let i=0;i<a.length;i++){
224
+ if(a[i].split('</td>').length-1>len){
225
+ len=a[i].split('</td>').length-1
226
+ }
227
+ }
228
+ this.tablen=len
229
+ }
230
+ },
231
+ computed: {
232
+
233
+ payment() {
234
+ return [...this.$appdata.getParam('付款方式查询')]
235
+ }
236
+ }
237
+ }
238
+ </script>
239
+ <style scoped>
240
+ .noborder{
241
+ border: none;
242
+ }
243
+ </style>