manage-client 3.2.2 → 3.2.6

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 (87) hide show
  1. package/.gradle/7.1/dependencies-accessors/dependencies-accessors.lock +0 -0
  2. package/.gradle/{5.4.1 → 7.1/dependencies-accessors}/gc.properties +0 -0
  3. package/.gradle/7.1/executionHistory/executionHistory.bin +0 -0
  4. package/.gradle/7.1/executionHistory/executionHistory.lock +0 -0
  5. package/.gradle/{5.4.1 → 7.1}/fileChanges/last-build.bin +0 -0
  6. package/.gradle/7.1/fileHashes/fileHashes.bin +0 -0
  7. package/.gradle/7.1/fileHashes/fileHashes.lock +0 -0
  8. package/.gradle/7.1/gc.properties +0 -0
  9. package/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
  10. package/.gradle/configuration-cache/gc.properties +0 -0
  11. package/build/dev-server.js +7 -22
  12. package/package.json +1 -1
  13. package/src/components/SellReport/AmountGas.vue +3 -3
  14. package/src/components/SellReport/BonSummary.vue +3 -3
  15. package/src/components/SellReport/BusinessMoneyReport.vue +1 -1
  16. package/src/components/SellReport/BusinessReport.vue +3 -3
  17. package/src/components/SellReport/ChSellReport.vue +3 -3
  18. package/src/components/SellReport/ChargeBill.vue +3 -3
  19. package/src/components/SellReport/ChargeDayTable.vue +3 -3
  20. package/src/components/SellReport/ChargeMonthTable.vue +3 -3
  21. package/src/components/SellReport/ChargeYearTable.vue +3 -3
  22. package/src/components/SellReport/DeptHomePage.vue +2 -2
  23. package/src/components/SellReport/GasMeterBrand.vue +1 -1
  24. package/src/components/SellReport/GasPriceGroup.vue +1 -1
  25. package/src/components/SellReport/GasSummary.vue +3 -3
  26. package/src/components/SellReport/Gasc.vue +3 -3
  27. package/src/components/SellReport/GetUserNum.vue +3 -3
  28. package/src/components/SellReport/HandplanBili.vue +3 -3
  29. package/src/components/SellReport/HandplanUserCount.vue +1 -1
  30. package/src/components/SellReport/ManageGasPrice.vue +3 -3
  31. package/src/components/SellReport/ManageGasSumChange.vue +3 -3
  32. package/src/components/SellReport/ManageGasSumChangeTwo.vue +2 -2
  33. package/src/components/SellReport/ManageGasSumOtherCharge.vue +3 -3
  34. package/src/components/SellReport/MeterPrice.vue +3 -3
  35. package/src/components/SellReport/MeterReader.vue +2 -2
  36. package/src/components/SellReport/NonResidentGas.vue +3 -3
  37. package/src/components/SellReport/OperatorSellReport.vue +1 -1
  38. package/src/components/SellReport/OutletTable.vue +3 -3
  39. package/src/components/SellReport/PaymentDistribute.vue +1 -1
  40. package/src/components/SellReport/PaymentMethod.vue +1 -1
  41. package/src/components/SellReport/QTXManageBusSummary.vue +3 -3
  42. package/src/components/SellReport/SellBySelfHelp.vue +263 -0
  43. package/src/components/SellReport/SellDepReport.vue +3 -3
  44. package/src/components/SellReport/UserGasFillCard.vue +2 -2
  45. package/src/components/SellReport/UserSellingGas.vue +3 -3
  46. package/src/components/SellReport/WeiNanYuShou.vue +4 -4
  47. package/src/components/SellReport/YuShouTable.vue +1 -1
  48. package/src/components/SellReport/chargeSchedule.vue +2 -2
  49. package/src/components/SellReport/pengan/ManageBusPeng.vue +3 -3
  50. package/src/components/SellReport/userholds.vue +3 -3
  51. package/src/components/sale/businessquery/ProceedsOper.vue +80 -40
  52. package/src/components/sale/businessquery/SalesGasClassification.vue +168 -168
  53. package/src/components/sale/businessquery/iotStateSearch/iotStateQuery.vue +308 -308
  54. package/src/components/sale/config/exportConfig.js +4 -3
  55. package/src/components/sale/report/aode/YearByUserType.vue +272 -272
  56. package/src/components/webmeter/DrillData/UserGasAll.vue +596 -597
  57. package/src/components/webmeter/instruction/NewQueryInstruct.vue +443 -445
  58. package/src/components/webmeter/report/ReportList.vue +422 -421
  59. package/src/filiale/WEINAN/EchartsBox.vue +110 -0
  60. package/src/filiale/WEINAN/OtherChargeQuery.vue +521 -521
  61. package/src/filiale/WEINAN/ReportDataQuery.vue +249 -249
  62. package/src/filiale/WEINAN/SiteManager.vue +191 -0
  63. package/src/filiale/WEINAN/config/tableConfig.js +20 -18
  64. package/src/filiale/WEINAN/reportManage.js +12 -0
  65. package/src/filiale/WEINAN/sale.js +29 -29
  66. package/src/filiale/jingwei/RecordInfoQuery.vue +1142 -1142
  67. package/src/filiale/pingxiang/sale.js +9 -9
  68. package/src/filiale/qingtongxia/sale.js +13 -13
  69. package/src/filiale/rongcheng/UserQuery.vue +827 -827
  70. package/src/filiale/shaoguan/HandplanQuery.vue +1314 -1314
  71. package/src/filiale/shaoguan/RecordInfoQuery.vue +1108 -1100
  72. package/src/filiale/shaoguan/TransferQuery.vue +403 -403
  73. package/src/filiale/shaoguan/config/exportConfig.js +433 -433
  74. package/src/filiale/shaoguan/errorHandplanQuery.vue +366 -366
  75. package/src/filiale/shaoguan/sale/businessquery/ExemptQuery.vue +314 -314
  76. package/src/filiale/shaoguan/sale/businessquery/FMYGasQuery.vue +687 -687
  77. package/src/filiale/shaoguan/sale/businessquery/PaymentChangeQuery.vue +338 -338
  78. package/src/filiale/shaoguan/sale/businessquery/ReconcileQuery.vue +426 -426
  79. package/src/filiale/tongchuan/config/exportConfig.js +1 -1
  80. package/src/main.js +5 -5
  81. package/src/reportManage.js +4 -0
  82. package/.gradle/5.4.1/fileHashes/fileHashes.lock +0 -0
  83. package/src/.idea/misc.xml +0 -9
  84. package/src/.idea/modules.xml +0 -8
  85. package/src/.idea/src.iml +0 -9
  86. package/src/.idea/vcs.xml +0 -6
  87. package/src/.idea/workspace.xml +0 -93
@@ -1,338 +1,338 @@
1
- <template>
2
- <div id="unit" class="flex-row">
3
- <div class="basic-main" @keyup.enter="search">
4
- <div class="flex" v-if="!show">
5
-
6
- <criteria-paged :model="model" v-ref:paged>
7
- <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
8
- <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
9
- <div class="row">
10
- <div class="col-sm-2 form-group">
11
- <label for="startDate" class="font_normal_body" >开始日期</label>
12
- <datepicker id="startDate" placeholder="开始日期" style="width:60%"
13
- v-model="model.startDate"
14
- :value.sync="model.startDate"
15
- :format="'yyyy-MM-dd HH:mm:ss'"
16
- :show-reset-button="true"
17
- condition="f_tdate >= '{}'">
18
- </datepicker>
19
- </div>
20
- <div class="col-sm-2 form-group">
21
- <label for="endDate" class="font_normal_body" >结束日期</label>
22
- <datepicker id="endDate" placeholder="结束日期" style="width:60%"
23
- v-model="model.endDate"
24
- :value.sync="model.endDate"
25
- :format="'yyyy-MM-dd HH:mm:ss'"
26
- :show-reset-button="true"
27
- condition="f_tdate <= '{}'">
28
- </datepicker>
29
- </div>
30
- <div class="col-sm-2 form-group">
31
- <label class="font_normal_body">客户编号</label>
32
- <input type="text" style="width:60%" class="input_search" v-model="model.f_userinfo_code"
33
- condition="f_userid = '{}' " placeholder="客户编号">
34
- </div>
35
- <div class="col-sm-2 form-group">
36
- <label class="font_normal_body">客户名称</label>
37
- <input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
38
- condition=" f_user_name like '%{}%'" placeholder='客户名称'>
39
- </div>
40
- <div class="col-sm-2 form-group">
41
- <label class="font_normal_body">客户地址</label>
42
- <input type="text" style="width:60%" class="input_search" v-model="model.f_address"
43
- condition="f_address like '%{}%'" placeholder='客户地址'>
44
- </div>
45
- <div class="span" style="float:right;">
46
- <button class="button_search button_spacing" @click="search()">查询</button>
47
- <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
48
- <!--<button class="btn btn-default" @click="$parent.$parent.stamp()">打印</button>-->
49
-
50
- <export-excel :data="$parent.$parent.getCondition"
51
- :field="$parent.$parent.getfield"
52
- :header="$parent.$parent.other"
53
- sqlurl="rs/logic/exportfile" sql-name="paymentChangeQuery" template-name='缴费变更记录'
54
- :choose-col="true"></export-excel>
55
- <!-- <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>-->
56
- </div>
57
- </div>
58
-
59
- <!-- <div class="row" v-show="$parent.$parent.criteriaShow">-->
60
- <!-- </div>-->
61
- </div>
62
- </criteria>
63
-
64
- <data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid>
65
- <template partial='head'>
66
- <tr>
67
- <th>
68
- <nobr>客户编号</nobr>
69
- </th>
70
- <th>
71
- <nobr>客户名称</nobr>
72
- </th>
73
- <th>
74
- <nobr>用户地址</nobr>
75
- </th>
76
- <th>
77
- <nobr>旧付款方式</nobr>
78
- </th>
79
- <th>
80
- <nobr>付款方式</nobr>
81
- </th>
82
- <th>
83
- <nobr>银行名</nobr>
84
- </th>
85
- <th>
86
- <nobr>开户名称</nobr>
87
- </th>
88
- <th>
89
- <nobr>银行开户账号</nobr>
90
- </th>
91
- <th>
92
- <nobr>新开户名称</nobr>
93
- </th>
94
- <th>
95
- <nobr>新银行名</nobr>
96
- </th>
97
- <th>
98
- <nobr>新银行开户账号</nobr>
99
- </th>
100
- <th>
101
- <nobr>备注</nobr>
102
- </th>
103
- <th>
104
- <nobr>部门</nobr>
105
- </th>
106
- <th>
107
- <nobr>操作人</nobr>
108
- </th>
109
- <th>
110
- <nobr>操作日期</nobr>
111
- </th>
112
- </tr>
113
- </template>
114
- <template partial='body'>
115
- <td style="text-align: center;">
116
- <nobr>{{row.f_userid}}</nobr>
117
- </td>
118
- <td style="text-align: center;">
119
- <nobr>{{row.f_username}}</nobr>
120
- </td>
121
- <td style="text-align: center;">
122
- <nobr>{{row.f_address}}</nobr>
123
- </td>
124
- <td style="text-align: center;">
125
- <nobr>{{row.f_paymentold}}</nobr>
126
- </td>
127
- <td style="text-align: center;">
128
- <nobr>{{row.f_payment}}</nobr>
129
- </td>
130
- <td style="text-align: center;">
131
- <nobr>{{row.f_nbankname}}</nobr>
132
- </td>
133
- <td style="text-align: center;">
134
- <nobr>{{row.f_nusermc}}</nobr>
135
- </td>
136
- <td style="text-align: center;">
137
- <nobr>{{row.f_nidofcard}}</nobr>
138
- </td>
139
- <td style="text-align: center;">
140
- <nobr>{{row.f_newnusermc}}</nobr>
141
- </td>
142
- <td style="text-align: center;">
143
- <nobr>{{row.f_newnbankname}}</nobr>
144
- </td>
145
- <td style="text-align: center;">
146
- <nobr>{{row.f_newnidofcard}}</nobr>
147
- </td>
148
- <td style="text-align: center;">
149
- <nobr>{{row.f_notnull}}</nobr>
150
- </td>
151
- <td style="text-align: center;">
152
- <nobr>{{row.f_departments}}</nobr>
153
- </td>
154
- <td style="text-align: center;">
155
- <nobr>{{row.f_toperator}}</nobr>
156
- </td>
157
- <td style="text-align: center;">
158
- <nobr>{{row.f_tdate}}</nobr>
159
- </td>
160
- </template>
161
- <template partial='foot'></template>
162
- </data-grid>
163
- </criteria-paged>
164
- </div>
165
- </div>
166
- </div>
167
- </template>
168
-
169
- <script>
170
- import {PagedList} from 'vue-client'
171
- import defaultPrint from '../../config/DefaultPrint'
172
- import exportConfig from '../../config/exportConfig'
173
- let readySomething = async function (self) {
174
-
175
- console.log("self.login",self.$login)
176
- // self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString()
177
- // self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString()
178
- self.$refs.paged.$refs.cri.model.startDate=self.data.startDate
179
- self.$refs.paged.$refs.cri.model.endDate=self.data.endDate
180
- self.search()
181
- }
182
- export default {
183
- props:['data'],
184
- title: '缴费变更',
185
- data() {
186
- return {
187
- data: {},
188
- other: [],
189
- footer: [],
190
- model: new PagedList('rs/sql/paymentChangeQuery', 20, {}),
191
- criteriaShow: false,
192
- orgCondtionStr: '',
193
- show:false,
194
- rowdata:{},
195
- modelval: [],
196
- fields: {},
197
- config: {
198
- defaultPrint: ['f_userid', 'f_username']
199
- },
200
- thead: '',
201
- showupload:false,
202
- selected:{},
203
- }
204
- },
205
- ready() {
206
- // this.initres.dep.push(this.$login.f.depids)
207
- readySomething(this).then(() => {
208
- this.$emit('ready')
209
- }).catch((error) => {
210
- this.$emit('error', error)
211
- })
212
- },
213
- methods: {
214
- getotherfooter() {
215
- // this.$refs.paged.$refs.cri.$refs.exports.otherData=[];
216
- // this.$refs.paged.$refs.cri.$refs.exports.footerData=[];
217
- this.other = [];
218
- this.footer = [];
219
- let exportdata = this.getCondition;
220
- let otherInData = [];
221
- otherInData.push(`导出时间: ${this.$login.toStandardTimeString()}`);
222
- let footerData = [], exportfield = this.getfield;
223
- footerData.push("合计");
224
- let self = this;
225
- for (var field in self.sumsmodel) {
226
- footerData.push(`${exportfield[field]}合计:${self.sumsmodel[field]}`);
227
- }
228
- this.footer.push(footerData);
229
- this.other.push(otherInData);
230
- },
231
- search(){
232
- this.$refs.paged.$refs.cri.search()
233
- },
234
- selfSearch(args) {
235
- if (this.data) {
236
- this.$parent.$parent.$parent.data.startDate=this.$refs.paged.$refs.cri.model.startDate
237
- this.$parent.$parent.$parent.data.endDate=this.$refs.paged.$refs.cri.model.endDate
238
- }
239
- args.condition = `${args.condition}` + this.orgCondtionStr
240
- this.model.search(args.condition, args.model)
241
- this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
242
- },
243
- clear() {
244
- //清空部门和人员
245
- this.$refs.paged.$refs.cri.$refs.sel.$children[1].selectres = []
246
- //部门和人员变为全选
247
- this.$refs.paged.$refs.cri.$refs.sel.$children[1].$children[0].isSelectAll = false
248
- this.$refs.paged.$refs.cri.$refs.sel.$children[2].$children[0].isSelectAll = false
249
- Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
250
- this.$refs.paged.$refs.cri.model[key] = []
251
- })
252
- },
253
- show() {
254
- this.criteriaShow = true
255
- },
256
- hidden() {
257
- this.criteriaShow = !this.criteriaShow
258
- },
259
- getRes(obj) {
260
- this.orgCondtionStr = obj
261
- },
262
- stamp() {
263
- this.all = false
264
- //默认选择要打印的列
265
- this.modelval = defaultPrint.config
266
- this.fields = this.getfield
267
- console.log('所有打印字段', this.fields)
268
- this.printshow = true
269
- this.put()
270
- },
271
- put() {
272
- // 对Modelval进行排序
273
- this.sortModelval()
274
- this.thead = `<tr><th colspan=${this.modelval.length}>停用查询报表</th></tr><tr>`
275
- for (let key of this.modelval) {
276
- this.thead += '<th>' + this.fields[key] + '</th>'
277
- }
278
- this.thead += '</tr>'
279
- },
280
- cancel() {
281
- this.show = false
282
- },
283
- dealmsg(val) {
284
- console.log('---------------dealmsg')
285
- this.rowdata=val
286
- this.show=true
287
- val.model = this.model.model
288
- this.$dispatch('deal-msg', val)
289
- },
290
- print() {
291
- this.$refs.print.PrintAsFile()
292
- this.printshow = false
293
- },
294
- close() {
295
- this.printshow = false
296
- this.all = false
297
- },
298
- // 对选择的列进行排序
299
- sortModelval() {
300
- let sortModel = []
301
- Object.keys(this.fields).forEach((key) => {
302
- if (this.modelval.includes(key)) {
303
- sortModel.push(key)
304
- }
305
- })
306
- this.modelval = sortModel
307
- console.log('选择的打印的字段', this.modelval)
308
- }
309
- },
310
- watch: {
311
- 'all'(val) {
312
- if (val) {
313
- this.modelval = this.bodyData
314
- } else {
315
- this.modelval = defaultPrint.config
316
- this.put()
317
- }
318
- },
319
- sumsmodel: {
320
- handler: function (val) {
321
- this.getotherfooter();
322
- },
323
- deep: true
324
- },
325
- 'modelval.length'() {
326
- this.put()
327
- },
328
- },
329
- computed: {
330
- getCondition() {
331
- return {condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr}
332
- },
333
- getfield() {
334
- return exportConfig.paymentChangeQuery
335
- },
336
- }
337
- }
338
- </script>
1
+ <template>
2
+ <div id="unit" class="flex-row">
3
+ <div class="basic-main" @keyup.enter="search">
4
+ <div class="flex" v-if="!show">
5
+
6
+ <criteria-paged :model="model" v-ref:paged>
7
+ <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
8
+ <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
9
+ <div class="row">
10
+ <div class="col-sm-2 form-group">
11
+ <label for="startDate" class="font_normal_body" >开始日期</label>
12
+ <datepicker id="startDate" placeholder="开始日期" style="width:60%"
13
+ v-model="model.startDate"
14
+ :value.sync="model.startDate"
15
+ :format="'yyyy-MM-dd HH:mm:ss'"
16
+ :show-reset-button="true"
17
+ condition="f_tdate >= '{}'">
18
+ </datepicker>
19
+ </div>
20
+ <div class="col-sm-2 form-group">
21
+ <label for="endDate" class="font_normal_body" >结束日期</label>
22
+ <datepicker id="endDate" placeholder="结束日期" style="width:60%"
23
+ v-model="model.endDate"
24
+ :value.sync="model.endDate"
25
+ :format="'yyyy-MM-dd HH:mm:ss'"
26
+ :show-reset-button="true"
27
+ condition="f_tdate <= '{}'">
28
+ </datepicker>
29
+ </div>
30
+ <div class="col-sm-2 form-group">
31
+ <label class="font_normal_body">客户编号</label>
32
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_userinfo_code"
33
+ condition="f_userid = '{}' " placeholder="客户编号">
34
+ </div>
35
+ <div class="col-sm-2 form-group">
36
+ <label class="font_normal_body">客户名称</label>
37
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
38
+ condition=" f_user_name like '%{}%'" placeholder='客户名称'>
39
+ </div>
40
+ <div class="col-sm-2 form-group">
41
+ <label class="font_normal_body">客户地址</label>
42
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_address"
43
+ condition="f_address like '%{}%'" placeholder='客户地址'>
44
+ </div>
45
+ <div class="span" style="float:right;">
46
+ <button class="button_search button_spacing" @click="search()">查询</button>
47
+ <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
48
+ <!--<button class="btn btn-default" @click="$parent.$parent.stamp()">打印</button>-->
49
+
50
+ <export-excel :data="$parent.$parent.getCondition"
51
+ :field="$parent.$parent.getfield"
52
+ :header="$parent.$parent.other"
53
+ sqlurl="rs/logic/exportfile" sql-name="paymentChangeQuery" template-name='缴费变更记录'
54
+ :choose-col="true"></export-excel>
55
+ <!-- <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>-->
56
+ </div>
57
+ </div>
58
+
59
+ <!-- <div class="row" v-show="$parent.$parent.criteriaShow">-->
60
+ <!-- </div>-->
61
+ </div>
62
+ </criteria>
63
+
64
+ <data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid>
65
+ <template partial='head'>
66
+ <tr>
67
+ <th>
68
+ <nobr>客户编号</nobr>
69
+ </th>
70
+ <th>
71
+ <nobr>客户名称</nobr>
72
+ </th>
73
+ <th>
74
+ <nobr>用户地址</nobr>
75
+ </th>
76
+ <th>
77
+ <nobr>旧付款方式</nobr>
78
+ </th>
79
+ <th>
80
+ <nobr>付款方式</nobr>
81
+ </th>
82
+ <th>
83
+ <nobr>银行名</nobr>
84
+ </th>
85
+ <th>
86
+ <nobr>开户名称</nobr>
87
+ </th>
88
+ <th>
89
+ <nobr>银行开户账号</nobr>
90
+ </th>
91
+ <th>
92
+ <nobr>新开户名称</nobr>
93
+ </th>
94
+ <th>
95
+ <nobr>新银行名</nobr>
96
+ </th>
97
+ <th>
98
+ <nobr>新银行开户账号</nobr>
99
+ </th>
100
+ <th>
101
+ <nobr>备注</nobr>
102
+ </th>
103
+ <th>
104
+ <nobr>部门</nobr>
105
+ </th>
106
+ <th>
107
+ <nobr>操作人</nobr>
108
+ </th>
109
+ <th>
110
+ <nobr>操作日期</nobr>
111
+ </th>
112
+ </tr>
113
+ </template>
114
+ <template partial='body'>
115
+ <td style="text-align: center;">
116
+ <nobr>{{row.f_userid}}</nobr>
117
+ </td>
118
+ <td style="text-align: center;">
119
+ <nobr>{{row.f_username}}</nobr>
120
+ </td>
121
+ <td style="text-align: center;">
122
+ <nobr>{{row.f_address}}</nobr>
123
+ </td>
124
+ <td style="text-align: center;">
125
+ <nobr>{{row.f_paymentold}}</nobr>
126
+ </td>
127
+ <td style="text-align: center;">
128
+ <nobr>{{row.f_payment}}</nobr>
129
+ </td>
130
+ <td style="text-align: center;">
131
+ <nobr>{{row.f_nbankname}}</nobr>
132
+ </td>
133
+ <td style="text-align: center;">
134
+ <nobr>{{row.f_nusermc}}</nobr>
135
+ </td>
136
+ <td style="text-align: center;">
137
+ <nobr>{{row.f_nidofcard}}</nobr>
138
+ </td>
139
+ <td style="text-align: center;">
140
+ <nobr>{{row.f_newnusermc}}</nobr>
141
+ </td>
142
+ <td style="text-align: center;">
143
+ <nobr>{{row.f_newnbankname}}</nobr>
144
+ </td>
145
+ <td style="text-align: center;">
146
+ <nobr>{{row.f_newnidofcard}}</nobr>
147
+ </td>
148
+ <td style="text-align: center;">
149
+ <nobr>{{row.f_notnull}}</nobr>
150
+ </td>
151
+ <td style="text-align: center;">
152
+ <nobr>{{row.f_departments}}</nobr>
153
+ </td>
154
+ <td style="text-align: center;">
155
+ <nobr>{{row.f_toperator}}</nobr>
156
+ </td>
157
+ <td style="text-align: center;">
158
+ <nobr>{{row.f_tdate}}</nobr>
159
+ </td>
160
+ </template>
161
+ <template partial='foot'></template>
162
+ </data-grid>
163
+ </criteria-paged>
164
+ </div>
165
+ </div>
166
+ </div>
167
+ </template>
168
+
169
+ <script>
170
+ import {PagedList} from 'vue-client'
171
+ import defaultPrint from '../../config/DefaultPrint'
172
+ import exportConfig from '../../config/exportConfig'
173
+ let readySomething = async function (self) {
174
+
175
+ console.log("self.login",self.$login)
176
+ // self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString()
177
+ // self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString()
178
+ self.$refs.paged.$refs.cri.model.startDate=self.data.startDate
179
+ self.$refs.paged.$refs.cri.model.endDate=self.data.endDate
180
+ self.search()
181
+ }
182
+ export default {
183
+ props:['data'],
184
+ title: '缴费变更',
185
+ data() {
186
+ return {
187
+ data: {},
188
+ other: [],
189
+ footer: [],
190
+ model: new PagedList('rs/sql/paymentChangeQuery', 20, {}),
191
+ criteriaShow: false,
192
+ orgCondtionStr: '',
193
+ show:false,
194
+ rowdata:{},
195
+ modelval: [],
196
+ fields: {},
197
+ config: {
198
+ defaultPrint: ['f_userid', 'f_username']
199
+ },
200
+ thead: '',
201
+ showupload:false,
202
+ selected:{},
203
+ }
204
+ },
205
+ ready() {
206
+ // this.initres.dep.push(this.$login.f.depids)
207
+ readySomething(this).then(() => {
208
+ this.$emit('ready')
209
+ }).catch((error) => {
210
+ this.$emit('error', error)
211
+ })
212
+ },
213
+ methods: {
214
+ getotherfooter() {
215
+ // this.$refs.paged.$refs.cri.$refs.exports.otherData=[];
216
+ // this.$refs.paged.$refs.cri.$refs.exports.footerData=[];
217
+ this.other = [];
218
+ this.footer = [];
219
+ let exportdata = this.getCondition;
220
+ let otherInData = [];
221
+ otherInData.push(`导出时间: ${this.$login.toStandardTimeString()}`);
222
+ let footerData = [], exportfield = this.getfield;
223
+ footerData.push("合计");
224
+ let self = this;
225
+ for (var field in self.sumsmodel) {
226
+ footerData.push(`${exportfield[field]}合计:${self.sumsmodel[field]}`);
227
+ }
228
+ this.footer.push(footerData);
229
+ this.other.push(otherInData);
230
+ },
231
+ search(){
232
+ this.$refs.paged.$refs.cri.search()
233
+ },
234
+ selfSearch(args) {
235
+ if (this.data) {
236
+ this.$parent.$parent.$parent.data.startDate=this.$refs.paged.$refs.cri.model.startDate
237
+ this.$parent.$parent.$parent.data.endDate=this.$refs.paged.$refs.cri.model.endDate
238
+ }
239
+ args.condition = `${args.condition}` + this.orgCondtionStr
240
+ this.model.search(args.condition, args.model)
241
+ this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
242
+ },
243
+ clear() {
244
+ //清空部门和人员
245
+ this.$refs.paged.$refs.cri.$refs.sel.$children[1].selectres = []
246
+ //部门和人员变为全选
247
+ this.$refs.paged.$refs.cri.$refs.sel.$children[1].$children[0].isSelectAll = false
248
+ this.$refs.paged.$refs.cri.$refs.sel.$children[2].$children[0].isSelectAll = false
249
+ Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
250
+ this.$refs.paged.$refs.cri.model[key] = []
251
+ })
252
+ },
253
+ show() {
254
+ this.criteriaShow = true
255
+ },
256
+ hidden() {
257
+ this.criteriaShow = !this.criteriaShow
258
+ },
259
+ getRes(obj) {
260
+ this.orgCondtionStr = obj
261
+ },
262
+ stamp() {
263
+ this.all = false
264
+ //默认选择要打印的列
265
+ this.modelval = defaultPrint.config
266
+ this.fields = this.getfield
267
+ console.log('所有打印字段', this.fields)
268
+ this.printshow = true
269
+ this.put()
270
+ },
271
+ put() {
272
+ // 对Modelval进行排序
273
+ this.sortModelval()
274
+ this.thead = `<tr><th colspan=${this.modelval.length}>停用查询报表</th></tr><tr>`
275
+ for (let key of this.modelval) {
276
+ this.thead += '<th>' + this.fields[key] + '</th>'
277
+ }
278
+ this.thead += '</tr>'
279
+ },
280
+ cancel() {
281
+ this.show = false
282
+ },
283
+ dealmsg(val) {
284
+ console.log('---------------dealmsg')
285
+ this.rowdata=val
286
+ this.show=true
287
+ val.model = this.model.model
288
+ this.$dispatch('deal-msg', val)
289
+ },
290
+ print() {
291
+ this.$refs.print.PrintAsFile()
292
+ this.printshow = false
293
+ },
294
+ close() {
295
+ this.printshow = false
296
+ this.all = false
297
+ },
298
+ // 对选择的列进行排序
299
+ sortModelval() {
300
+ let sortModel = []
301
+ Object.keys(this.fields).forEach((key) => {
302
+ if (this.modelval.includes(key)) {
303
+ sortModel.push(key)
304
+ }
305
+ })
306
+ this.modelval = sortModel
307
+ console.log('选择的打印的字段', this.modelval)
308
+ }
309
+ },
310
+ watch: {
311
+ 'all'(val) {
312
+ if (val) {
313
+ this.modelval = this.bodyData
314
+ } else {
315
+ this.modelval = defaultPrint.config
316
+ this.put()
317
+ }
318
+ },
319
+ sumsmodel: {
320
+ handler: function (val) {
321
+ this.getotherfooter();
322
+ },
323
+ deep: true
324
+ },
325
+ 'modelval.length'() {
326
+ this.put()
327
+ },
328
+ },
329
+ computed: {
330
+ getCondition() {
331
+ return {condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr}
332
+ },
333
+ getfield() {
334
+ return exportConfig.paymentChangeQuery
335
+ },
336
+ }
337
+ }
338
+ </script>