manage-client 3.2.22 → 3.2.26

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 (74) hide show
  1. package/build/dev-server.js +5 -7
  2. package/gradle/wrapper/gradle-wrapper.properties +5 -5
  3. package/package.json +3 -3
  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 +242 -242
  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 -228
  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/UserGasAll.vue +17 -6
  35. package/src/components/webmeter/DrillData/UserGasEform.vue +227 -227
  36. package/src/components/webmeter/DrillData/UserLostContactAnalysis.vue +585 -585
  37. package/src/components/webmeter/gasStatistics/GasStatistics.vue +467 -0
  38. package/src/components/webmeter/newwebmeter/ArrearageQuery.vue +307 -0
  39. package/src/components/webmeter/newwebmeter/NewException/NewGasEcharts.vue +208 -208
  40. package/src/components/webmeter/newwebmeter/NewException/TotalExceptionByMeter.vue +607 -607
  41. package/src/components/webmeter/newwebmeter/UserGasEchartsList.vue +284 -284
  42. package/src/components/webmeter/newwebmeter/UserGasList.vue +438 -438
  43. package/src/components/webmeter/newwebmeter/UserInstructEchartsList.vue +242 -242
  44. package/src/components/webmeter/newwebmeter/signAnalysisEcharts.vue +266 -266
  45. package/src/components/webmeter/newwebmeter/signAnalysisEform.vue +175 -175
  46. package/src/components/webmeter/newwebmeter/signAnalysisListMain.vue +387 -387
  47. package/src/components/webmeter/recharge/RechargeList.vue +343 -0
  48. package/src/components/webmeter/report/ReportList.vue +2 -16
  49. package/src/filiale/WEINAN/EchartsBox.vue +110 -110
  50. package/src/filiale/WEINAN/ReportDataQuery.vue +325 -325
  51. package/src/filiale/WEINAN/SiteManager.vue +191 -191
  52. package/src/filiale/WEINAN/UserGasAll.vue +577 -577
  53. package/src/filiale/WEINAN/UserGasEcharts.vue +281 -281
  54. package/src/filiale/WEINAN/UserGasList.vue +438 -438
  55. package/src/filiale/WEINAN/reportManage.js +12 -12
  56. package/src/filiale/WEINAN/sale.js +36 -36
  57. package/src/filiale/alashan/reportManage.js +10 -10
  58. package/src/filiale/jingzhou/ChargeQuery.vue +1243 -1243
  59. package/src/filiale/jingzhou/config/exportConfig.js +861 -861
  60. package/src/filiale/liaoyuan/ReportList.vue +421 -421
  61. package/src/filiale/macheng/ArrearsQuery.vue +1 -1
  62. package/src/filiale/macheng/RecordInfoQuery.vue +1023 -1029
  63. package/src/filiale/meihekou/UserGasEform.vue +267 -267
  64. package/src/filiale/meihekou/YingShouMingXi.vue +538 -538
  65. package/src/filiale/meihekou/config/exportConfig.js +831 -831
  66. package/src/filiale/meihekou/sale.js +29 -29
  67. package/src/filiale/rongchuang/SellingTable.vue +250 -250
  68. package/src/filiale/rongchuang/reportManage.js +11 -11
  69. package/src/filiale/tongchuan/ManageBusSummary.vue +240 -240
  70. package/src/filiale/tongchuan/reportManage.js +5 -5
  71. package/src/main.js +5 -4
  72. package/src/reportManage.js +8 -0
  73. package/src/webmeterManage.js +6 -0
  74. package/static/wuhai.json +1610 -1610
@@ -1,237 +1,237 @@
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 form-group" >
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 form-group" >
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 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%"></right-tree>
32
- </div>
33
- <div class="span" style = "float:right;">
34
- <button class="button_search" @click="$parent.$parent.searchData()">查询</button>
35
- <report-print id='gasprice' top='1.5cm' left='0' width='100%' height='100%' :preview="true"></report-print>
36
- <report-excel id='gasprice'></report-excel>
37
- </div>
38
- </div>
39
- </div>
40
- </criteria>
41
- <!-- <report-info id="gasprice"-->
42
- <!-- report-title="收费结账报表"-->
43
- <!-- :infohead="{'开始时间':model.model.startDate,'结束时间':model.model.endDate,'打印时间':$parent.printTime}"-->
44
- <!-- :orgname="$parent.orgname"-->
45
- <!-- :depname="$parent.depname"-->
46
- <!-- :operatorname="$parent.operatorname"-->
47
- <!-- :model="model.data.substring(26,model.data.length-8)"-->
48
- <!-- :reportStr="$parent.reportStr"-->
49
- <!-- ></report-info>-->
50
- <div partial='list' v-el:handcollect id='gasprice' style="overflow-y: scroll">
51
- <table class='tableprint' style="margin: 0px auto" v-if="!$parent.data.f_files_path">
52
- <thead>
53
- <tr>
54
- <th :colspan='$parent.spans' style="font-weight: normal; text-align: left;">
55
- <h3 style="text-align: center">收费结账报表</h3>
56
- </th>
57
- </tr>
58
- <tr>
59
- <th :colspan='$parent.spans' style="font-weight: normal; text-align: center;">
60
- 开始时间:{{model.model.startDate}}&nbsp;&nbsp;&nbsp;
61
- 结束时间:{{ model.model.endDate }}<br/>
62
- 打印时间:{{$parent.printTime}}
63
- <!--收费员:{{// $parent.operatorname}}-->
64
- </th>
65
- </tr>
66
- <tr>
67
- <th :colspan='$parent.spans' style="font-weight: normal; text-align: center;">
68
- <div>
69
- <span v-show="$parent.orgname.trim()!=''">公司:{{$parent.orgname}}</span>
70
- <span v-show="$parent.depname.trim()!=''"> 部门:{{$parent.depname}}</span>
71
- <span v-show="$parent.operatorname.trim()!=''">人员:{{$parent.operatorname}}</span>
72
- </div>
73
- </th>
74
- </tr>
75
- </thead>
76
- <tr>
77
- <td :colspan='$parent.spans' class="noborder">
78
- {{{ model.data.substring(26,model.data.length-8) }}}
79
- </td>
80
- </tr>
81
- <tfoot>
82
- <tr style="text-align: left">
83
- <th :colspan='$parent.spans/3'>财务审核:</th>
84
- <th :colspan='$parent.spans/3'>收款审核:</th>
85
- <th :colspan='$parent.spans/3'>收款员:</th>
86
- </tr>
87
- </tfoot>
88
- </table>
89
- {{{ $parent.reportStr}}}
90
- </div>
91
- </criteria-paged>
92
- <modal :show.sync="show" v-ref:modal small backdrop="false">
93
- <header slot="modal-header" class="modal-header">
94
- <h4 class="modal-title">输入文件名称</h4>
95
- </header>
96
- <article slot="modal-body" class="modal-body">
97
- <div class="form-group">
98
- <input type="text" class="form-control" v-model="filename" placeholder='保存的文件名'>
99
- </div>
100
- </article>
101
- <footer slot="modal-footer" class="modal-footer">
102
- <button v-show="show" type="button" class="btn btn-default" @click='close'>取消</button>
103
- <button v-show="show" type="button" class="btn btn-success" @click='confirm(filename)'>确认</button>
104
- </footer>
105
- </modal>
106
- </div>
107
- </template>
108
-
109
- <script>
110
- import { DataModel } from 'vue-client'
111
- import co from 'co'
112
- let saveFile = function * (self) {
113
- // 线验证文件是否重名
114
- let count = yield self.$resetpost('rs/sql/manageSingleTable',
115
- {data: {tablename: 't_report_record', condition: `f_files_name = '${self.filename}'`}},
116
- {resolveMsg: null, rejectMsg: null})
117
- if (count.data.length > 0) {
118
- self.$showAlert('无法保存,文件名重名', 'warning', 3000)
119
- return
120
- }
121
- let saveBack = yield self.$resetpost('rs/logic/saveReport', {f_files_content: self.$refs.paged.$els.handcollect.innerHTML,
122
- f_files_name: self.filename, f_files_type: self.data.f_report_type, f_component_name: 'manage-bus-summary',
123
- f_operator: this.$login.f.name, f_query_month: `${self.model.model.startDate}-${self.model.model.endDate}`,
124
- f_outlets: this.$login.f.depname})
125
- if (saveBack.data.status === 'succeed') {
126
- self.show = false
127
- self.filename = ''
128
- // 后台保存完成,通知刷新
129
- self.$dispatch('save-success', self.filename)
130
- }
131
- }
132
- export default {
133
- title: '收费结账报表',
134
- props: ['data'],
135
- data () {
136
- return {
137
- printTime: this.$login.toStandardTimeString(),
138
- depresid: [],
139
- userresid: [],
140
- f_orgid: this.$login.f.orgid,
141
- f_depid: this.$login.f.depids,
142
- f_operatorid: this.$login.f.id,
143
- operatorid: [],
144
- depid: [],
145
- orgname: '',
146
- depname: '',
147
- operatorname: '',
148
- orgCondtionStr: '1=1',
149
- f_state:['有效'],
150
- model: new DataModel('rs/report/gasBaozhuangfee', {startDate: 'this.model.startDate', endDate: 'this.model.endDate',
151
- f_orgid: 'this.model.f_orgid'}),
152
- reportStr: null,
153
- show: false,
154
- spans:0,
155
- initres: {
156
- org: [this.$login.f.orgid],
157
- dep: [],
158
- user: []
159
- }
160
- }
161
- },
162
- ready () {
163
- this.$refs.paged.$refs.criteria.model.startDate = this.$login.toStandardDateString() + ' 00:00:00'
164
- this.$refs.paged.$refs.criteria.model.endDate = this.$login.toStandardDateString() + ' 23:59:59'
165
- // this.$refs.paged.$refs.criteria.search()
166
- console.log(this.$login.f)
167
- },
168
- methods: {
169
- searchData () {
170
- this.$refs.paged.$refs.criteria.search()
171
- },
172
- selfSearch (args) {
173
- this.printTime = this.$login.toStandardTimeString()
174
- this.orgCondtionStr='1=1'
175
- if (this.f_orgid[0]) {
176
- this.orgCondtionStr += ` and f_orgname in ('${this.orgname.toString().replace(new RegExp(',','g'),"','")}')`
177
- }
178
- this.$refs.paged.$refs.criteria.model.f_orgid = this.orgCondtionStr
179
- this.$refs.paged.search(args)
180
- },
181
- // 根据文件路径获取储存的报表内容
182
- getFileContent (path) {
183
- this.$resetpost('rs/logic/getReportFileContent', {f_files_path: path}, {resolveMsg: null, rejectMsg: null}).then((res) => {
184
- this.reportStr = res.data.filecontent
185
- this.model.state = '正确'
186
- })
187
- },
188
- confirm () {
189
- if (!this.filename || this.filename === '') {
190
- this.$showAlert('无法保存,文件名不能为空', 'warning', 3000)
191
- }
192
- let saveGen = saveFile(this)
193
- co(saveGen)
194
- },
195
- close () {
196
- this.show = false
197
- },
198
- // 将报表保存成文件
199
- confirmReport () {
200
- this.show = true
201
- this.filename = this.data.f_report_name + this.$login.toStandardDateString()
202
- },
203
- getRes (obj) {
204
- this.orgname = obj.res
205
- this.f_orgid = obj.resids
206
- },
207
- },
208
- watch: {
209
- 'data' (val) {
210
- if (val.f_files_path) {
211
- this.getFileContent(val.f_files_path)
212
- } else {
213
- this.reportStr = null
214
- }
215
- },
216
- 'model.data' (val) {
217
- let len=0
218
- let a=val.split('</tr>')
219
- for(let i=0;i<a.length;i++){
220
- if(a[i].split('</td>').length-1>len){
221
- len=a[i].split('</td>').length-1
222
- }
223
- continue
224
- }
225
- this.spans = len
226
- }
227
- },
228
- computed: {
229
- }
230
- }
231
-
232
- </script>
233
- <style scoped>
234
- .noborder{
235
- border: none;
236
- }
237
- </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 form-group" >
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 form-group" >
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 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%"></right-tree>
32
+ </div>
33
+ <div class="span" style = "float:right;">
34
+ <button class="button_search" @click="$parent.$parent.searchData()">查询</button>
35
+ <report-print id='gasprice' top='1.5cm' left='0' width='100%' height='100%' :preview="true"></report-print>
36
+ <report-excel id='gasprice'></report-excel>
37
+ </div>
38
+ </div>
39
+ </div>
40
+ </criteria>
41
+ <!-- <report-info id="gasprice"-->
42
+ <!-- report-title="收费结账报表"-->
43
+ <!-- :infohead="{'开始时间':model.model.startDate,'结束时间':model.model.endDate,'打印时间':$parent.printTime}"-->
44
+ <!-- :orgname="$parent.orgname"-->
45
+ <!-- :depname="$parent.depname"-->
46
+ <!-- :operatorname="$parent.operatorname"-->
47
+ <!-- :model="model.data.substring(26,model.data.length-8)"-->
48
+ <!-- :reportStr="$parent.reportStr"-->
49
+ <!-- ></report-info>-->
50
+ <div partial='list' v-el:handcollect id='gasprice' style="overflow-y: scroll">
51
+ <table class='tableprint' style="margin: 0px auto" v-if="!$parent.data.f_files_path">
52
+ <thead>
53
+ <tr>
54
+ <th :colspan='$parent.spans' style="font-weight: normal; text-align: left;">
55
+ <h3 style="text-align: center">收费结账报表</h3>
56
+ </th>
57
+ </tr>
58
+ <tr>
59
+ <th :colspan='$parent.spans' style="font-weight: normal; text-align: center;">
60
+ 开始时间:{{model.model.startDate}}&nbsp;&nbsp;&nbsp;
61
+ 结束时间:{{ model.model.endDate }}<br/>
62
+ 打印时间:{{$parent.printTime}}
63
+ <!--收费员:{{// $parent.operatorname}}-->
64
+ </th>
65
+ </tr>
66
+ <tr>
67
+ <th :colspan='$parent.spans' style="font-weight: normal; text-align: center;">
68
+ <div>
69
+ <span v-show="$parent.orgname.trim()!=''">公司:{{$parent.orgname}}</span>
70
+ <span v-show="$parent.depname.trim()!=''"> 部门:{{$parent.depname}}</span>
71
+ <span v-show="$parent.operatorname.trim()!=''">人员:{{$parent.operatorname}}</span>
72
+ </div>
73
+ </th>
74
+ </tr>
75
+ </thead>
76
+ <tr>
77
+ <td :colspan='$parent.spans' class="noborder">
78
+ {{{ model.data.substring(26,model.data.length-8) }}}
79
+ </td>
80
+ </tr>
81
+ <tfoot>
82
+ <tr style="text-align: left">
83
+ <th :colspan='$parent.spans/3'>财务审核:</th>
84
+ <th :colspan='$parent.spans/3'>收款审核:</th>
85
+ <th :colspan='$parent.spans/3'>收款员:</th>
86
+ </tr>
87
+ </tfoot>
88
+ </table>
89
+ {{{ $parent.reportStr}}}
90
+ </div>
91
+ </criteria-paged>
92
+ <modal :show.sync="show" v-ref:modal small backdrop="false">
93
+ <header slot="modal-header" class="modal-header">
94
+ <h4 class="modal-title">输入文件名称</h4>
95
+ </header>
96
+ <article slot="modal-body" class="modal-body">
97
+ <div class="form-group">
98
+ <input type="text" class="form-control" v-model="filename" placeholder='保存的文件名'>
99
+ </div>
100
+ </article>
101
+ <footer slot="modal-footer" class="modal-footer">
102
+ <button v-show="show" type="button" class="btn btn-default" @click='close'>取消</button>
103
+ <button v-show="show" type="button" class="btn btn-success" @click='confirm(filename)'>确认</button>
104
+ </footer>
105
+ </modal>
106
+ </div>
107
+ </template>
108
+
109
+ <script>
110
+ import { DataModel } from 'vue-client'
111
+ import co from 'co'
112
+ let saveFile = function * (self) {
113
+ // 线验证文件是否重名
114
+ let count = yield self.$resetpost('rs/sql/manageSingleTable',
115
+ {data: {tablename: 't_report_record', condition: `f_files_name = '${self.filename}'`}},
116
+ {resolveMsg: null, rejectMsg: null})
117
+ if (count.data.length > 0) {
118
+ self.$showAlert('无法保存,文件名重名', 'warning', 3000)
119
+ return
120
+ }
121
+ let saveBack = yield self.$resetpost('rs/logic/saveReport', {f_files_content: self.$refs.paged.$els.handcollect.innerHTML,
122
+ f_files_name: self.filename, f_files_type: self.data.f_report_type, f_component_name: 'manage-bus-summary',
123
+ f_operator: this.$login.f.name, f_query_month: `${self.model.model.startDate}-${self.model.model.endDate}`,
124
+ f_outlets: this.$login.f.depname})
125
+ if (saveBack.data.status === 'succeed') {
126
+ self.show = false
127
+ self.filename = ''
128
+ // 后台保存完成,通知刷新
129
+ self.$dispatch('save-success', self.filename)
130
+ }
131
+ }
132
+ export default {
133
+ title: '收费结账报表',
134
+ props: ['data'],
135
+ data () {
136
+ return {
137
+ printTime: this.$login.toStandardTimeString(),
138
+ depresid: [],
139
+ userresid: [],
140
+ f_orgid: this.$login.f.orgid,
141
+ f_depid: this.$login.f.depids,
142
+ f_operatorid: this.$login.f.id,
143
+ operatorid: [],
144
+ depid: [],
145
+ orgname: '',
146
+ depname: '',
147
+ operatorname: '',
148
+ orgCondtionStr: '1=1',
149
+ f_state:['有效'],
150
+ model: new DataModel('rs/report/gasBaozhuangfee', {startDate: 'this.model.startDate', endDate: 'this.model.endDate',
151
+ f_orgid: 'this.model.f_orgid'}),
152
+ reportStr: null,
153
+ show: false,
154
+ spans:0,
155
+ initres: {
156
+ org: [this.$login.f.orgid],
157
+ dep: [],
158
+ user: []
159
+ }
160
+ }
161
+ },
162
+ ready () {
163
+ this.$refs.paged.$refs.criteria.model.startDate = this.$login.toStandardDateString() + ' 00:00:00'
164
+ this.$refs.paged.$refs.criteria.model.endDate = this.$login.toStandardDateString() + ' 23:59:59'
165
+ // this.$refs.paged.$refs.criteria.search()
166
+ console.log(this.$login.f)
167
+ },
168
+ methods: {
169
+ searchData () {
170
+ this.$refs.paged.$refs.criteria.search()
171
+ },
172
+ selfSearch (args) {
173
+ this.printTime = this.$login.toStandardTimeString()
174
+ this.orgCondtionStr='1=1'
175
+ if (this.f_orgid[0]) {
176
+ this.orgCondtionStr += ` and f_orgname in ('${this.orgname.toString().replace(new RegExp(',','g'),"','")}')`
177
+ }
178
+ this.$refs.paged.$refs.criteria.model.f_orgid = this.orgCondtionStr
179
+ this.$refs.paged.search(args)
180
+ },
181
+ // 根据文件路径获取储存的报表内容
182
+ getFileContent (path) {
183
+ this.$resetpost('rs/logic/getReportFileContent', {f_files_path: path}, {resolveMsg: null, rejectMsg: null}).then((res) => {
184
+ this.reportStr = res.data.filecontent
185
+ this.model.state = '正确'
186
+ })
187
+ },
188
+ confirm () {
189
+ if (!this.filename || this.filename === '') {
190
+ this.$showAlert('无法保存,文件名不能为空', 'warning', 3000)
191
+ }
192
+ let saveGen = saveFile(this)
193
+ co(saveGen)
194
+ },
195
+ close () {
196
+ this.show = false
197
+ },
198
+ // 将报表保存成文件
199
+ confirmReport () {
200
+ this.show = true
201
+ this.filename = this.data.f_report_name + this.$login.toStandardDateString()
202
+ },
203
+ getRes (obj) {
204
+ this.orgname = obj.res
205
+ this.f_orgid = obj.resids
206
+ },
207
+ },
208
+ watch: {
209
+ 'data' (val) {
210
+ if (val.f_files_path) {
211
+ this.getFileContent(val.f_files_path)
212
+ } else {
213
+ this.reportStr = null
214
+ }
215
+ },
216
+ 'model.data' (val) {
217
+ let len=0
218
+ let a=val.split('</tr>')
219
+ for(let i=0;i<a.length;i++){
220
+ if(a[i].split('</td>').length-1>len){
221
+ len=a[i].split('</td>').length-1
222
+ }
223
+ continue
224
+ }
225
+ this.spans = len
226
+ }
227
+ },
228
+ computed: {
229
+ }
230
+ }
231
+
232
+ </script>
233
+ <style scoped>
234
+ .noborder{
235
+ border: none;
236
+ }
237
+ </style>