manage-client 3.2.4 → 3.2.5

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 (55) 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/{5.2.1 → 7.1/dependencies-accessors}/gc.properties +0 -0
  4. package/.gradle/{5.2.1 → 7.1}/executionHistory/executionHistory.bin +0 -0
  5. package/.gradle/7.1/executionHistory/executionHistory.lock +0 -0
  6. package/.gradle/{5.2.1 → 7.1}/fileChanges/last-build.bin +0 -0
  7. package/.gradle/{5.2.1 → 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 +6 -6
  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/BonSummary.vue +244 -244
  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/DeptHomePage.vue +299 -299
  25. package/src/components/SellReport/GasMeterBrand.vue +228 -228
  26. package/src/components/SellReport/GasPriceGroup.vue +228 -228
  27. package/src/components/SellReport/GasSummary.vue +257 -257
  28. package/src/components/SellReport/Gasc.vue +257 -257
  29. package/src/components/SellReport/GetUserNum.vue +240 -240
  30. package/src/components/SellReport/HandplanBili.vue +241 -241
  31. package/src/components/SellReport/HandplanUserCount.vue +227 -227
  32. package/src/components/SellReport/ManageGasPrice.vue +241 -241
  33. package/src/components/SellReport/ManageGasSumChange.vue +265 -265
  34. package/src/components/SellReport/ManageGasSumChangeTwo.vue +271 -271
  35. package/src/components/SellReport/ManageGasSumOtherCharge.vue +244 -244
  36. package/src/components/SellReport/MeterPrice.vue +244 -244
  37. package/src/components/SellReport/MeterReader.vue +231 -231
  38. package/src/components/SellReport/NonResidentGas.vue +244 -244
  39. package/src/components/SellReport/OperatorSellReport.vue +268 -268
  40. package/src/components/SellReport/OutletTable.vue +258 -258
  41. package/src/components/SellReport/PaymentDistribute.vue +228 -228
  42. package/src/components/SellReport/PaymentMethod.vue +274 -274
  43. package/src/components/SellReport/QTXManageBusSummary.vue +236 -236
  44. package/src/components/SellReport/SellDepReport.vue +266 -266
  45. package/src/components/SellReport/UserGasFillCard.vue +441 -441
  46. package/src/components/SellReport/UserSellingGas.vue +251 -251
  47. package/src/components/SellReport/WeiNanYuShou.vue +246 -246
  48. package/src/components/SellReport/YuShouTable.vue +298 -298
  49. package/src/components/SellReport/chargeSchedule.vue +410 -410
  50. package/src/components/SellReport/pengan/ManageBusPeng.vue +280 -280
  51. package/src/components/SellReport/userholds.vue +257 -257
  52. package/src/filiale/tongchuan/ReportList.vue +472 -472
  53. package/src/filiale/tongchuan/sale.js +16 -16
  54. package/.gradle/5.2.1/executionHistory/executionHistory.lock +0 -0
  55. package/.gradle/5.2.1/fileHashes/fileHashes.lock +0 -0
@@ -1,265 +1,265 @@
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-4" >
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-4" >
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-4">
30
- <label class="font_normal_body">公&emsp;&emsp;司:</label>
31
- <right-tree @re-res="$parent.$parent.getRes"></right-tree>
32
- </div>
33
- <div class="col-sm-4">
34
- <label class="font_normal_body">部&emsp;&emsp;门:</label>
35
- <res-select restype='department'
36
- @res-select="$parent.$parent.getdep"
37
- :parentresid="$parent.$parent.depresid"
38
- :initresid='$parent.$parent.depid'>
39
- </res-select>
40
-
41
- </div>
42
- <div class="col-sm-4">
43
- <label class="font_normal_body">人&emsp;&emsp;员:</label>
44
- <res-select restype='user'
45
- is-mul="false"
46
- @res-select="$parent.$parent.getuser"
47
- :parentresid="$parent.$parent.userresid"
48
- :initresid='$parent.$parent.operatorid'>
49
- </res-select>
50
- </div>
51
- <div class="col-sm-4">
52
- <label class="font_normal_body" title="参数:付款方式查询">付款方式:</label>
53
- <v-select :value.sync="model.f_payment" multiple
54
- v-model="model.f_payment"
55
- :options='$parent.$parent.payment' placeholder='请选择'
56
- condition="j.f_payment in {}"
57
- close-on-select></v-select>
58
- </div>
59
- <div class="col-sm-4 form-group">
60
- <label class="font_normal_body">收费状态:</label>
61
- <v-select :value.sync="model.f_state" multiple
62
- v-model="model.f_state"
63
- :options='$parent.$parent.charge_state' placeholder='请选择'
64
- condition="j.f_state in {}"
65
- close-on-select></v-select>
66
- </div>
67
- </div>
68
- <div class="span" style = "float:right;">
69
- <button class="button_search" @click="$parent.$parent.searchData()">查询</button>
70
- <report-print id='gasprice' top='3cm' left='0' width='100%' height='100%' :preview="true"></report-print>
71
- <report-excel id='gasprice'></report-excel>
72
- </div>
73
- </div>
74
- </criteria>
75
- <div partial='list' v-el:handcollect id='gasprice' style="overflow-y: scroll">
76
- <table class='tableprint' style="margin: 0px auto" v-if="!$parent.data.f_files_path">
77
- <thead>
78
- <tr>
79
- <th colspan='12' style="font-weight: normal; text-align: left;">
80
- <h3 style="text-align: center">财务分类报表气费(一)</h3>
81
- </th>
82
- </tr>
83
- <tr>
84
- <th colspan='12' style="font-weight: normal; text-align: center;">
85
- 开始时间:{{model.model.startDate}}&nbsp;&nbsp;&nbsp;
86
- 结束时间:{{ model.model.endDate }}&nbsp;&nbsp;
87
- 打印时间:{{{$parent.printTime}}}
88
- </th>
89
- </tr>
90
- <tr>
91
- <th colspan='12' style="font-weight: normal; text-align: center;">
92
- <div>
93
- <span v-show="$parent.orgname.trim()!=''">公司:{{$parent.orgname}}</span>
94
- <span v-show="$parent.depname.trim()!=''"> 部门:{{$parent.depname}}</span>
95
- <span v-show="$parent.operatorname.trim()!=''">人员:{{$parent.operatorname}}</span>
96
- </div>
97
- </th>
98
- </tr>
99
- </thead>
100
- <tr>
101
- <td colspan='12'>
102
- {{{ model.data.substring(26,model.data.length-8) }}}
103
- </td>
104
- </tr>
105
- <tfoot>
106
- <tr style="text-align: left">
107
- <th colspan='4'>财务审核:</th>
108
- <th colspan='4'>收款审核:</th>
109
- <th colspan='4'>收款员:</th>
110
- </tr>
111
- </tfoot>
112
- </table>
113
- {{{ $parent.reportStr}}}
114
- </div>
115
- </criteria-paged>
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='保存的文件名'>
123
- </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>
130
- </div>
131
- </template>
132
-
133
- <script>
134
- import { DataModel } 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
- }
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
- orgname: '',
170
- depname: '',
171
- operatorname: '',
172
- orgCondtionStr: '1=1',
173
- model: new DataModel('rs/report/managesuh', {startDate: 'this.model.startDate', endDate: 'this.model.endDate',
174
- f_orgid: 'this.model.f_orgid'}),
175
- reportStr: null,
176
- show: false,
177
- }
178
- },
179
- ready () {
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
- this.$refs.paged.$refs.criteria.search()
183
- console.log(this.$login.f)
184
- },
185
- methods: {
186
- searchData () {
187
- this.$refs.paged.$refs.criteria.search()
188
- },
189
- selfSearch (args) {
190
- this.printTime = this.$login.toStandardTimeString()
191
- let orgcondition ='1=1'
192
- if (this.f_orgid[0]) {
193
- orgcondition += ' and f_orgid = ' + this.f_orgid
194
- }
195
- if (this.f_depid[0]) {
196
- orgcondition += ' and f_depid in( ' + this.f_depid.toString()+")"
197
- }
198
- if(this.f_operatorid[0]) {
199
- orgcondition += ' and f_operatorid = ' + this.f_operatorid
200
- }
201
- this.$refs.paged.$refs.criteria.model.f_orgid = orgcondition + ' and ' + this.$refs.paged.$refs.criteria.condition
202
- this.$refs.paged.search(args)
203
- },
204
- getRes (obj) {
205
- this.orgname = obj.res[0]
206
- this.depresid = obj.resids
207
- this.f_orgid = obj.resids
208
- },
209
- getdep (obj, val) {
210
- this.depname = val[0]
211
- this.userresid = obj
212
- this.f_depid = obj
213
- },
214
- getuser ( obj, val) {
215
- this.operatorname = val[0]
216
- this.f_operatorid = obj
217
- },
218
-
219
- // 根据文件路径获取储存的报表内容
220
- getFileContent (path) {
221
- this.$resetpost('rs/logic/getReportFileContent', {f_files_path: path}, {resolveMsg: null, rejectMsg: null}).then((res) => {
222
- this.reportStr = res.data.filecontent
223
- this.model.state = '正确'
224
- })
225
- },
226
- confirm () {
227
- if (!this.filename || this.filename === '') {
228
- this.$showAlert('无法保存,文件名不能为空', 'warning', 3000)
229
- }
230
- let saveGen = saveFile(this)
231
- co(saveGen)
232
- },
233
- close () {
234
- this.show = false
235
- },
236
- // 将报表保存成文件
237
- confirmReport () {
238
- this.show = true
239
- this.filename = this.data.f_report_name + this.$login.toStandardDateString()
240
- },
241
- },
242
- watch: {
243
- 'data' (val) {
244
- if (val.f_files_path) {
245
- this.getFileContent(val.f_files_path)
246
- } else {
247
- this.reportStr = null
248
- }
249
- }
250
- },
251
- computed: {
252
- payment() {
253
- return [...this.$appdata.getParam('付款方式查询')]
254
- },
255
- charge_state() {
256
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('收费状态')]
257
- }
258
- }
259
- }
260
- </script>
261
- <style scoped>
262
- .noborder{
263
- border: none;
264
- }
265
- </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
+ <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-4" >
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-4" >
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-4">
30
+ <label class="font_normal_body">公&emsp;&emsp;司:</label>
31
+ <right-tree @re-res="$parent.$parent.getRes"></right-tree>
32
+ </div>
33
+ <div class="col-sm-4">
34
+ <label class="font_normal_body">部&emsp;&emsp;门:</label>
35
+ <res-select restype='department'
36
+ @res-select="$parent.$parent.getdep"
37
+ :parentresid="$parent.$parent.depresid"
38
+ :initresid='$parent.$parent.depid'>
39
+ </res-select>
40
+
41
+ </div>
42
+ <div class="col-sm-4">
43
+ <label class="font_normal_body">人&emsp;&emsp;员:</label>
44
+ <res-select restype='user'
45
+ is-mul="false"
46
+ @res-select="$parent.$parent.getuser"
47
+ :parentresid="$parent.$parent.userresid"
48
+ :initresid='$parent.$parent.operatorid'>
49
+ </res-select>
50
+ </div>
51
+ <div class="col-sm-4">
52
+ <label class="font_normal_body" title="参数:付款方式查询">付款方式:</label>
53
+ <v-select :value.sync="model.f_payment" multiple
54
+ v-model="model.f_payment"
55
+ :options='$parent.$parent.payment' placeholder='请选择'
56
+ condition="j.f_payment in {}"
57
+ close-on-select></v-select>
58
+ </div>
59
+ <div class="col-sm-4 form-group">
60
+ <label class="font_normal_body">收费状态:</label>
61
+ <v-select :value.sync="model.f_state" multiple
62
+ v-model="model.f_state"
63
+ :options='$parent.$parent.charge_state' placeholder='请选择'
64
+ condition="j.f_state in {}"
65
+ close-on-select></v-select>
66
+ </div>
67
+ </div>
68
+ <div class="span" style = "float:right;">
69
+ <button class="button_search" @click="$parent.$parent.searchData()">查询</button>
70
+ <report-print id='gasprice' top='3cm' left='0' width='100%' height='100%' :preview="true"></report-print>
71
+ <report-excel id='gasprice'></report-excel>
72
+ </div>
73
+ </div>
74
+ </criteria>
75
+ <div partial='list' v-el:handcollect id='gasprice' style="overflow-y: scroll">
76
+ <table class='tableprint' style="margin: 0px auto" v-if="!$parent.data.f_files_path">
77
+ <thead>
78
+ <tr>
79
+ <th colspan='12' style="font-weight: normal; text-align: left;">
80
+ <h3 style="text-align: center">财务分类报表气费(一)</h3>
81
+ </th>
82
+ </tr>
83
+ <tr>
84
+ <th colspan='12' style="font-weight: normal; text-align: center;">
85
+ 开始时间:{{model.model.startDate}}&nbsp;&nbsp;&nbsp;
86
+ 结束时间:{{ model.model.endDate }}&nbsp;&nbsp;
87
+ 打印时间:{{{$parent.printTime}}}
88
+ </th>
89
+ </tr>
90
+ <tr>
91
+ <th colspan='12' style="font-weight: normal; text-align: center;">
92
+ <div>
93
+ <span v-show="$parent.orgname.trim()!=''">公司:{{$parent.orgname}}</span>
94
+ <span v-show="$parent.depname.trim()!=''"> 部门:{{$parent.depname}}</span>
95
+ <span v-show="$parent.operatorname.trim()!=''">人员:{{$parent.operatorname}}</span>
96
+ </div>
97
+ </th>
98
+ </tr>
99
+ </thead>
100
+ <tr>
101
+ <td colspan='12'>
102
+ {{{ model.data.substring(26,model.data.length-8) }}}
103
+ </td>
104
+ </tr>
105
+ <tfoot>
106
+ <tr style="text-align: left">
107
+ <th colspan='4'>财务审核:</th>
108
+ <th colspan='4'>收款审核:</th>
109
+ <th colspan='4'>收款员:</th>
110
+ </tr>
111
+ </tfoot>
112
+ </table>
113
+ {{{ $parent.reportStr}}}
114
+ </div>
115
+ </criteria-paged>
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='保存的文件名'>
123
+ </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>
130
+ </div>
131
+ </template>
132
+
133
+ <script>
134
+ import { DataModel } 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
+ }
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
+ orgname: '',
170
+ depname: '',
171
+ operatorname: '',
172
+ orgCondtionStr: '1=1',
173
+ model: new DataModel('rs/report/managesuh', {startDate: 'this.model.startDate', endDate: 'this.model.endDate',
174
+ f_orgid: 'this.model.f_orgid'}),
175
+ reportStr: null,
176
+ show: false,
177
+ }
178
+ },
179
+ ready () {
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
+ this.$refs.paged.$refs.criteria.search()
183
+ console.log(this.$login.f)
184
+ },
185
+ methods: {
186
+ searchData () {
187
+ this.$refs.paged.$refs.criteria.search()
188
+ },
189
+ selfSearch (args) {
190
+ this.printTime = this.$login.toStandardTimeString()
191
+ let orgcondition ='1=1'
192
+ if (this.f_orgid[0]) {
193
+ orgcondition += ' and f_orgid in (' + this.f_orgid + ')'
194
+ }
195
+ if (this.f_depid[0]) {
196
+ orgcondition += ' and f_depid in (' + this.f_depid.toString() + ')'
197
+ }
198
+ if(this.f_operatorid[0]) {
199
+ orgcondition += ' and f_operatorid in (' + this.f_operatorid + ')'
200
+ }
201
+ this.$refs.paged.$refs.criteria.model.f_orgid = orgcondition + ' and ' + this.$refs.paged.$refs.criteria.condition
202
+ this.$refs.paged.search(args)
203
+ },
204
+ getRes (obj) {
205
+ this.orgname = obj.res[0]
206
+ this.depresid = obj.resids
207
+ this.f_orgid = obj.resids
208
+ },
209
+ getdep (obj, val) {
210
+ this.depname = val[0]
211
+ this.userresid = obj
212
+ this.f_depid = obj
213
+ },
214
+ getuser ( obj, val) {
215
+ this.operatorname = val[0]
216
+ this.f_operatorid = obj
217
+ },
218
+
219
+ // 根据文件路径获取储存的报表内容
220
+ getFileContent (path) {
221
+ this.$resetpost('rs/logic/getReportFileContent', {f_files_path: path}, {resolveMsg: null, rejectMsg: null}).then((res) => {
222
+ this.reportStr = res.data.filecontent
223
+ this.model.state = '正确'
224
+ })
225
+ },
226
+ confirm () {
227
+ if (!this.filename || this.filename === '') {
228
+ this.$showAlert('无法保存,文件名不能为空', 'warning', 3000)
229
+ }
230
+ let saveGen = saveFile(this)
231
+ co(saveGen)
232
+ },
233
+ close () {
234
+ this.show = false
235
+ },
236
+ // 将报表保存成文件
237
+ confirmReport () {
238
+ this.show = true
239
+ this.filename = this.data.f_report_name + this.$login.toStandardDateString()
240
+ },
241
+ },
242
+ watch: {
243
+ 'data' (val) {
244
+ if (val.f_files_path) {
245
+ this.getFileContent(val.f_files_path)
246
+ } else {
247
+ this.reportStr = null
248
+ }
249
+ }
250
+ },
251
+ computed: {
252
+ payment() {
253
+ return [...this.$appdata.getParam('付款方式查询')]
254
+ },
255
+ charge_state() {
256
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('收费状态')]
257
+ }
258
+ }
259
+ }
260
+ </script>
261
+ <style scoped>
262
+ .noborder{
263
+ border: none;
264
+ }
265
+ </style>