manage-client-xy 3.2.0 → 3.2.1
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.
- package/build/dev-server.js +11 -17
- package/package.json +1 -1
- package/src/components/ManageHome/ImportSupplygas/UpdateSupply.vue +187 -187
- package/src/components/ManageHomeCS/ImportSupplygas/UpdateSupply.vue +187 -187
- package/src/components/sale/businessquery/AttachmentViewer.vue +252 -0
- package/src/components/sale/businessquery/ChangeMeterQuery.vue +22 -0
- package/src/components/sale/businessquery/ChargeQuery.vue +28 -4
- package/src/components/sale/businessquery/DisableQuery.vue +22 -0
- package/src/components/sale/businessquery/EnableQuery.vue +22 -0
- package/src/components/sale/businessquery/FillCardQuery.vue +22 -0
- package/src/components/sale/businessquery/FillGasQuery.vue +22 -0
- package/src/components/sale/businessquery/MoveQuery.vue +22 -3
- package/src/components/sale/businessquery/OtherChargeQuery.vue +20 -3
- package/src/components/sale/businessquery/RecordQuery.vue +22 -0
- package/src/components/sale/businessquery/TransferQuery.vue +23 -2
- package/src/components/sale/businessquery/cancelAccountQuery.vue +488 -488
- package/src/components/sale/report/aode/DayReport.vue +50 -50
- package/src/components/sale/report/aode/DayReportSummary.vue +75 -75
- package/src/components/sale/report/aode/widget/LifeDayReportListPrint.vue +189 -189
- package/src/components/sale/report/aode/widget/LifeMonthPrint.vue +153 -153
- package/src/components/sale/report/aode/widget/LifeYearPrint.vue +143 -143
- package/src/components/sale/report/aode/widget/MonthByChargePrint.vue +236 -236
- package/src/components/sale/report/aode/widget/MonthByUserPrint.vue +232 -232
- package/src/plugins/FileDownloadR.js +61 -0
- package/src/saleManage.js +40 -40
- package/static/qh.json +2410 -2410
- package/webstorm.config.js +13 -13
|
@@ -238,6 +238,9 @@
|
|
|
238
238
|
<th>
|
|
239
239
|
<nobr>公司</nobr>
|
|
240
240
|
</th>
|
|
241
|
+
<th>
|
|
242
|
+
<nobr>附件查看</nobr>
|
|
243
|
+
</th>
|
|
241
244
|
</tr>
|
|
242
245
|
</template>
|
|
243
246
|
<template partial='body'>
|
|
@@ -318,6 +321,9 @@
|
|
|
318
321
|
<td style="text-align: center;">
|
|
319
322
|
<nobr>{{ row.f_orgname }}</nobr>
|
|
320
323
|
</td>
|
|
324
|
+
<td style="text-align: center;">
|
|
325
|
+
<button class="button_search button_spacing width-60" @click.stop="$parent.$parent.$parent.view(row)">查看</button>
|
|
326
|
+
</td>
|
|
321
327
|
</template>
|
|
322
328
|
<template partial='foot'></template>
|
|
323
329
|
</data-grid>
|
|
@@ -366,6 +372,9 @@
|
|
|
366
372
|
<div v-if="show">
|
|
367
373
|
<user-info-detail-manage :f_userinfo_id="rowdata.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage>
|
|
368
374
|
</div>
|
|
375
|
+
<div v-if="showAttachment">
|
|
376
|
+
<attachment-viewer :business-id="currentRow && currentRow.id" table-name="t_changetables" @close="closeAttachment"></attachment-viewer>
|
|
377
|
+
</div>
|
|
369
378
|
</div>
|
|
370
379
|
</div>
|
|
371
380
|
</template>
|
|
@@ -374,6 +383,7 @@
|
|
|
374
383
|
import {HttpResetClass, PagedList} from 'vue-client'
|
|
375
384
|
import defaultPrint from '../config/DefaultPrint'
|
|
376
385
|
import exportConfig from '../config/exportConfig'
|
|
386
|
+
import AttachmentViewer from './AttachmentViewer.vue'
|
|
377
387
|
|
|
378
388
|
let readySomething = async function (self) {
|
|
379
389
|
|
|
@@ -385,6 +395,9 @@ let readySomething = async function (self) {
|
|
|
385
395
|
self.sumsmodel = self.$refs.paged.$refs.grid.model.sums
|
|
386
396
|
}
|
|
387
397
|
export default {
|
|
398
|
+
components: {
|
|
399
|
+
AttachmentViewer
|
|
400
|
+
},
|
|
388
401
|
data () {
|
|
389
402
|
return {
|
|
390
403
|
data: {},
|
|
@@ -407,6 +420,8 @@ export default {
|
|
|
407
420
|
residentialArea: [],
|
|
408
421
|
area: [],
|
|
409
422
|
show: false,
|
|
423
|
+
showAttachment: false,
|
|
424
|
+
currentRow: null,
|
|
410
425
|
rowdata: {},
|
|
411
426
|
thead: '',
|
|
412
427
|
tfoot: '',
|
|
@@ -422,6 +437,13 @@ export default {
|
|
|
422
437
|
readySomething(this)
|
|
423
438
|
},
|
|
424
439
|
methods: {
|
|
440
|
+
view(row) {
|
|
441
|
+
this.currentRow = row;
|
|
442
|
+
this.showAttachment = true;
|
|
443
|
+
},
|
|
444
|
+
closeAttachment() {
|
|
445
|
+
this.showAttachment = false;
|
|
446
|
+
},
|
|
425
447
|
async getaddress () {
|
|
426
448
|
console.log('开始获取小区')
|
|
427
449
|
let HttpReset = new HttpResetClass()
|
|
@@ -402,7 +402,10 @@
|
|
|
402
402
|
<nobr>三阶单价</nobr>
|
|
403
403
|
</th>
|
|
404
404
|
<th>
|
|
405
|
-
|
|
405
|
+
<nobr>三阶气费</nobr>
|
|
406
|
+
</th>
|
|
407
|
+
<th>
|
|
408
|
+
<nobr>附件查看</nobr>
|
|
406
409
|
</th>
|
|
407
410
|
</tr>
|
|
408
411
|
</template>
|
|
@@ -533,7 +536,10 @@
|
|
|
533
536
|
<nobr>{{row.f_stair3price}}</nobr>
|
|
534
537
|
</td>
|
|
535
538
|
<td style="text-align: center;">
|
|
536
|
-
|
|
539
|
+
<nobr>{{row.f_stair3fee}}</nobr>
|
|
540
|
+
</td>
|
|
541
|
+
<td style="text-align: center;">
|
|
542
|
+
<button class="button_search button_spacing width-60" @click.stop="$parent.$parent.$parent.view(row)">查看</button>
|
|
537
543
|
</td>
|
|
538
544
|
</template>
|
|
539
545
|
<template partial='foot'></template>
|
|
@@ -602,6 +608,9 @@
|
|
|
602
608
|
<div v-if="show">
|
|
603
609
|
<user-info-detail-manage :f_userinfo_id="rowdata.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage>
|
|
604
610
|
</div>
|
|
611
|
+
<div v-if="showAttachment">
|
|
612
|
+
<attachment-viewer :business-id="currentRow && currentRow.id" table-name="t_sellinggas" @close="closeAttachment"></attachment-viewer>
|
|
613
|
+
</div>
|
|
605
614
|
</div>
|
|
606
615
|
</div>
|
|
607
616
|
</template>
|
|
@@ -610,6 +619,7 @@
|
|
|
610
619
|
import {HttpResetClass, PagedList} from 'vue-client'
|
|
611
620
|
import exportConfig from '../config/exportConfig'
|
|
612
621
|
import * as Util from '../../../Util'
|
|
622
|
+
import AttachmentViewer from './AttachmentViewer.vue'
|
|
613
623
|
|
|
614
624
|
let readySomething = async function (self) {
|
|
615
625
|
self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString() + ' 00:00:00'
|
|
@@ -621,6 +631,9 @@
|
|
|
621
631
|
self.sumsmodel = self.$refs.paged.$refs.grid.model.sums
|
|
622
632
|
}
|
|
623
633
|
export default {
|
|
634
|
+
components: {
|
|
635
|
+
AttachmentViewer
|
|
636
|
+
},
|
|
624
637
|
data() {
|
|
625
638
|
return {
|
|
626
639
|
|
|
@@ -634,6 +647,8 @@
|
|
|
634
647
|
jurisdiction:this.$login.r,
|
|
635
648
|
data: {},
|
|
636
649
|
show:false,
|
|
650
|
+
showAttachment: false,
|
|
651
|
+
currentRow: null,
|
|
637
652
|
rowdata:{},
|
|
638
653
|
initres: {
|
|
639
654
|
org:[this.$login.f.orgid],
|
|
@@ -860,8 +875,14 @@
|
|
|
860
875
|
async updateParams() {
|
|
861
876
|
await this.$MagLoadParams.loadParam(this.f_filialeid)
|
|
862
877
|
this.initParams()
|
|
863
|
-
}
|
|
864
|
-
|
|
878
|
+
},
|
|
879
|
+
view(row) {
|
|
880
|
+
this.currentRow = row;
|
|
881
|
+
this.showAttachment = true;
|
|
882
|
+
},
|
|
883
|
+
closeAttachment() {
|
|
884
|
+
this.showAttachment = false;
|
|
885
|
+
},
|
|
865
886
|
},
|
|
866
887
|
events:{
|
|
867
888
|
'getidcard'(IdCard){
|
|
@@ -950,3 +971,6 @@
|
|
|
950
971
|
}
|
|
951
972
|
}
|
|
952
973
|
</script>
|
|
974
|
+
|
|
975
|
+
<style scoped>
|
|
976
|
+
</style>
|
|
@@ -123,6 +123,9 @@
|
|
|
123
123
|
<th>
|
|
124
124
|
<nobr>公司</nobr>
|
|
125
125
|
</th>
|
|
126
|
+
<th>
|
|
127
|
+
<nobr>附件查看</nobr>
|
|
128
|
+
</th>
|
|
126
129
|
</tr>
|
|
127
130
|
</template>
|
|
128
131
|
<template partial='body'>
|
|
@@ -160,6 +163,9 @@
|
|
|
160
163
|
<td style="text-align: center;">
|
|
161
164
|
<nobr>{{row.f_orgname}}</nobr>
|
|
162
165
|
</td>
|
|
166
|
+
<td style="text-align: center;">
|
|
167
|
+
<button class="button_search button_spacing width-60" @click.stop="$parent.$parent.$parent.view(row)">查看</button>
|
|
168
|
+
</td>
|
|
163
169
|
</template>
|
|
164
170
|
<template partial='foot'></template>
|
|
165
171
|
</data-grid>
|
|
@@ -178,6 +184,9 @@
|
|
|
178
184
|
<div v-if="show">
|
|
179
185
|
<user-info-detail-manage :f_userinfo_id="rowdata.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage>
|
|
180
186
|
</div>
|
|
187
|
+
<div v-if="showAttachment">
|
|
188
|
+
<attachment-viewer :business-id="currentRow && currentRow.id" table-name="t_disable" @close="closeAttachment"></attachment-viewer>
|
|
189
|
+
</div>
|
|
181
190
|
</div>
|
|
182
191
|
</div>
|
|
183
192
|
</template>
|
|
@@ -186,6 +195,7 @@
|
|
|
186
195
|
import {HttpResetClass, PagedList} from 'vue-client'
|
|
187
196
|
import defaultPrint from '../config/DefaultPrint'
|
|
188
197
|
import exportConfig from '../config/exportConfig'
|
|
198
|
+
import AttachmentViewer from './AttachmentViewer.vue'
|
|
189
199
|
|
|
190
200
|
let readySomething = async function (self) {
|
|
191
201
|
self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString()
|
|
@@ -197,6 +207,9 @@ import {HttpResetClass, PagedList} from 'vue-client'
|
|
|
197
207
|
self.sumsmodel = self.$refs.paged.$refs.grid.model.sums
|
|
198
208
|
}
|
|
199
209
|
export default {
|
|
210
|
+
components: {
|
|
211
|
+
AttachmentViewer
|
|
212
|
+
},
|
|
200
213
|
data() {
|
|
201
214
|
return {
|
|
202
215
|
data: {},
|
|
@@ -206,6 +219,8 @@ import {HttpResetClass, PagedList} from 'vue-client'
|
|
|
206
219
|
bodyData: ["f_userinfo_id", "f_user_name", "f_operator", "f_operate_date", "f_state", "f_comments", "f_othereason", "f_sendsuccess"],
|
|
207
220
|
orgCondtionStr: '',
|
|
208
221
|
show:false,
|
|
222
|
+
showAttachment: false,
|
|
223
|
+
currentRow: null,
|
|
209
224
|
rowdata:{},
|
|
210
225
|
modelval: [],
|
|
211
226
|
printshow: false,
|
|
@@ -338,6 +353,13 @@ import {HttpResetClass, PagedList} from 'vue-client'
|
|
|
338
353
|
})
|
|
339
354
|
this.modelval = sortModel
|
|
340
355
|
console.log('选择的打印的字段', this.modelval)
|
|
356
|
+
},
|
|
357
|
+
view(row) {
|
|
358
|
+
this.currentRow = row;
|
|
359
|
+
this.showAttachment = true;
|
|
360
|
+
},
|
|
361
|
+
closeAttachment() {
|
|
362
|
+
this.showAttachment = false;
|
|
341
363
|
}
|
|
342
364
|
},
|
|
343
365
|
watch: {
|
|
@@ -117,6 +117,9 @@
|
|
|
117
117
|
<th>
|
|
118
118
|
<nobr>公司</nobr>
|
|
119
119
|
</th>
|
|
120
|
+
<th>
|
|
121
|
+
<nobr>附件查看</nobr>
|
|
122
|
+
</th>
|
|
120
123
|
</tr>
|
|
121
124
|
</template>
|
|
122
125
|
<template partial='body'>
|
|
@@ -151,6 +154,9 @@
|
|
|
151
154
|
<td style="text-align: center;">
|
|
152
155
|
<nobr>{{row.f_orgname}}</nobr>
|
|
153
156
|
</td>
|
|
157
|
+
<td style="text-align: center;">
|
|
158
|
+
<button class="button_search button_spacing width-60" @click.stop="$parent.$parent.$parent.view(row)">查看</button>
|
|
159
|
+
</td>
|
|
154
160
|
</template>
|
|
155
161
|
<template partial='foot'></template>
|
|
156
162
|
</data-grid>
|
|
@@ -169,6 +175,9 @@
|
|
|
169
175
|
<div v-if="show">
|
|
170
176
|
<user-info-detail-manage :f_userinfo_id="rowdata.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage>
|
|
171
177
|
</div>
|
|
178
|
+
<div v-if="showAttachment">
|
|
179
|
+
<attachment-viewer :business-id="currentRow && currentRow.id" table-name="t_enable" @close="closeAttachment"></attachment-viewer>
|
|
180
|
+
</div>
|
|
172
181
|
</div>
|
|
173
182
|
</div>
|
|
174
183
|
</template>
|
|
@@ -177,6 +186,7 @@
|
|
|
177
186
|
import {HttpResetClass, PagedList} from 'vue-client'
|
|
178
187
|
import defaultPrint from '../config/DefaultPrint'
|
|
179
188
|
import exportConfig from '../config/exportConfig'
|
|
189
|
+
import AttachmentViewer from './AttachmentViewer.vue'
|
|
180
190
|
|
|
181
191
|
let readySomething = async function (self) {
|
|
182
192
|
self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString()
|
|
@@ -187,6 +197,9 @@ import {HttpResetClass, PagedList} from 'vue-client'
|
|
|
187
197
|
self.sumsmodel = self.$refs.paged.$refs.grid.model.sums
|
|
188
198
|
}
|
|
189
199
|
export default {
|
|
200
|
+
components: {
|
|
201
|
+
AttachmentViewer
|
|
202
|
+
},
|
|
190
203
|
data() {
|
|
191
204
|
return {
|
|
192
205
|
data: {},
|
|
@@ -208,6 +221,8 @@ import {HttpResetClass, PagedList} from 'vue-client'
|
|
|
208
221
|
residentialArea:[],
|
|
209
222
|
area:[],
|
|
210
223
|
show:false,
|
|
224
|
+
showAttachment: false,
|
|
225
|
+
currentRow: null,
|
|
211
226
|
rowdata:{},
|
|
212
227
|
thead: '',
|
|
213
228
|
tfoot: '',
|
|
@@ -284,6 +299,13 @@ import {HttpResetClass, PagedList} from 'vue-client'
|
|
|
284
299
|
val.model = this.model.model
|
|
285
300
|
this.$dispatch('deal-msg', val)
|
|
286
301
|
},
|
|
302
|
+
view(row) {
|
|
303
|
+
this.currentRow = row;
|
|
304
|
+
this.showAttachment = true;
|
|
305
|
+
},
|
|
306
|
+
closeAttachment() {
|
|
307
|
+
this.showAttachment = false;
|
|
308
|
+
},
|
|
287
309
|
hidden() {
|
|
288
310
|
this.criteriaShow = !this.criteriaShow
|
|
289
311
|
},
|
|
@@ -154,6 +154,9 @@
|
|
|
154
154
|
<th>
|
|
155
155
|
<nobr>公司</nobr>
|
|
156
156
|
</th>
|
|
157
|
+
<th>
|
|
158
|
+
<nobr>附件查看</nobr>
|
|
159
|
+
</th>
|
|
157
160
|
</tr>
|
|
158
161
|
</template>
|
|
159
162
|
<template partial='body'>
|
|
@@ -197,6 +200,9 @@
|
|
|
197
200
|
<td style="text-align: center;">
|
|
198
201
|
<nobr>{{row.f_orgname}}</nobr>
|
|
199
202
|
</td>
|
|
203
|
+
<td style="text-align: center;">
|
|
204
|
+
<button class="button_search button_spacing width-60" @click.stop="$parent.$parent.$parent.view(row)">查看</button>
|
|
205
|
+
</td>
|
|
200
206
|
</template>
|
|
201
207
|
<template partial='foot'></template>
|
|
202
208
|
</data-grid>
|
|
@@ -218,6 +224,9 @@
|
|
|
218
224
|
<div v-if="show">
|
|
219
225
|
<user-info-detail-manage :f_userinfo_id="rowdata.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage>
|
|
220
226
|
</div>
|
|
227
|
+
<div v-if="showAttachment">
|
|
228
|
+
<attachment-viewer :business-id="currentRow && currentRow.id" table-name="t_fillcard" @close="closeAttachment"></attachment-viewer>
|
|
229
|
+
</div>
|
|
221
230
|
</div>
|
|
222
231
|
</div>
|
|
223
232
|
</template>
|
|
@@ -226,6 +235,7 @@
|
|
|
226
235
|
import {HttpResetClass, PagedList} from 'vue-client'
|
|
227
236
|
import defaultPrint from '../config/DefaultPrint'
|
|
228
237
|
import exportConfig from '../config/exportConfig'
|
|
238
|
+
import AttachmentViewer from './AttachmentViewer.vue'
|
|
229
239
|
|
|
230
240
|
let readySomething = async function (self) {
|
|
231
241
|
self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString() + ' 00:00:00'
|
|
@@ -237,6 +247,9 @@ import {HttpResetClass, PagedList} from 'vue-client'
|
|
|
237
247
|
self.sumsmodel = self.$refs.paged.$refs.grid.model.sums
|
|
238
248
|
}
|
|
239
249
|
export default {
|
|
250
|
+
components: {
|
|
251
|
+
AttachmentViewer
|
|
252
|
+
},
|
|
240
253
|
data() {
|
|
241
254
|
return {
|
|
242
255
|
data: {},
|
|
@@ -265,6 +278,8 @@ import {HttpResetClass, PagedList} from 'vue-client'
|
|
|
265
278
|
// tablestate: [{label: '全部', value: ''}, {label: '正常', value: '正常'}, {label: '停用', value: '停用'}],
|
|
266
279
|
|
|
267
280
|
show:false,
|
|
281
|
+
showAttachment: false,
|
|
282
|
+
currentRow: null,
|
|
268
283
|
rowdata:{},
|
|
269
284
|
//合计数据
|
|
270
285
|
sumsmodel: {}
|
|
@@ -359,6 +374,13 @@ import {HttpResetClass, PagedList} from 'vue-client'
|
|
|
359
374
|
val.model = this.model.model
|
|
360
375
|
this.$dispatch('deal-msg', val)
|
|
361
376
|
},
|
|
377
|
+
view(row) {
|
|
378
|
+
this.currentRow = row;
|
|
379
|
+
this.showAttachment = true;
|
|
380
|
+
},
|
|
381
|
+
closeAttachment() {
|
|
382
|
+
this.showAttachment = false;
|
|
383
|
+
},
|
|
362
384
|
stamp() {
|
|
363
385
|
this.all = false
|
|
364
386
|
//默认选择要打印的列
|
|
@@ -154,6 +154,9 @@
|
|
|
154
154
|
<th>
|
|
155
155
|
<nobr>公司</nobr>
|
|
156
156
|
</th>
|
|
157
|
+
<th>
|
|
158
|
+
<nobr>附件查看</nobr>
|
|
159
|
+
</th>
|
|
157
160
|
</tr>
|
|
158
161
|
</template>
|
|
159
162
|
<template partial='body'>
|
|
@@ -197,6 +200,9 @@
|
|
|
197
200
|
<td style="text-align: center;">
|
|
198
201
|
<nobr>{{row.f_orgname}}</nobr>
|
|
199
202
|
</td>
|
|
203
|
+
<td style="text-align: center;">
|
|
204
|
+
<button class="button_search button_spacing width-60" @click.stop="$parent.$parent.$parent.view(row)">查看</button>
|
|
205
|
+
</td>
|
|
200
206
|
</template>
|
|
201
207
|
<template partial='foot'></template>
|
|
202
208
|
</data-grid>
|
|
@@ -220,6 +226,9 @@
|
|
|
220
226
|
<div v-if="show">
|
|
221
227
|
<user-info-detail-manage :f_userinfo_id="rowdata.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage>
|
|
222
228
|
</div>
|
|
229
|
+
<div v-if="showAttachment">
|
|
230
|
+
<attachment-viewer :business-id="currentRow && currentRow.id" table-name="t_fillgas" @close="closeAttachment"></attachment-viewer>
|
|
231
|
+
</div>
|
|
223
232
|
</div>
|
|
224
233
|
</div>
|
|
225
234
|
</template>
|
|
@@ -228,6 +237,7 @@
|
|
|
228
237
|
import {HttpResetClass, PagedList} from 'vue-client'
|
|
229
238
|
import defaultPrint from '../config/DefaultPrint'
|
|
230
239
|
import exportConfig from '../config/exportConfig'
|
|
240
|
+
import AttachmentViewer from './AttachmentViewer.vue'
|
|
231
241
|
|
|
232
242
|
let readySomething = async function (self) {
|
|
233
243
|
self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString() + ' 00:00:00'
|
|
@@ -238,6 +248,9 @@ import {HttpResetClass, PagedList} from 'vue-client'
|
|
|
238
248
|
self.sumsmodel = self.$refs.paged.$refs.grid.model.sums
|
|
239
249
|
}
|
|
240
250
|
export default {
|
|
251
|
+
components: {
|
|
252
|
+
AttachmentViewer
|
|
253
|
+
},
|
|
241
254
|
data() {
|
|
242
255
|
return {
|
|
243
256
|
data: {},
|
|
@@ -255,6 +268,8 @@ import {HttpResetClass, PagedList} from 'vue-client'
|
|
|
255
268
|
thead: '',
|
|
256
269
|
tfoot: '',
|
|
257
270
|
show:false,
|
|
271
|
+
showAttachment: false,
|
|
272
|
+
currentRow: null,
|
|
258
273
|
rowdata:{},
|
|
259
274
|
meterbrands: [],
|
|
260
275
|
initres: {
|
|
@@ -364,6 +379,13 @@ import {HttpResetClass, PagedList} from 'vue-client'
|
|
|
364
379
|
val.model = this.model.model
|
|
365
380
|
this.$dispatch('deal-msg', val)
|
|
366
381
|
},
|
|
382
|
+
view(row) {
|
|
383
|
+
this.currentRow = row;
|
|
384
|
+
this.showAttachment = true;
|
|
385
|
+
},
|
|
386
|
+
closeAttachment() {
|
|
387
|
+
this.showAttachment = false;
|
|
388
|
+
},
|
|
367
389
|
put() {
|
|
368
390
|
// 对Modelval进行排序
|
|
369
391
|
this.sortModelval()
|
|
@@ -128,6 +128,9 @@
|
|
|
128
128
|
<th>
|
|
129
129
|
<nobr>公司</nobr>
|
|
130
130
|
</th>
|
|
131
|
+
<th>
|
|
132
|
+
<nobr>附件查看</nobr>
|
|
133
|
+
</th>
|
|
131
134
|
</tr>
|
|
132
135
|
</template>
|
|
133
136
|
<template partial='body'>
|
|
@@ -173,6 +176,9 @@
|
|
|
173
176
|
<td style="text-align: center;">
|
|
174
177
|
<nobr>{{row.f_orgname}}</nobr>
|
|
175
178
|
</td>
|
|
179
|
+
<td style="text-align: center;">
|
|
180
|
+
<button class="button_search button_spacing width-60" @click.stop="$parent.$parent.$parent.view(row)">查看</button>
|
|
181
|
+
</td>
|
|
176
182
|
</template>
|
|
177
183
|
<template partial='foot'></template>
|
|
178
184
|
</data-grid>
|
|
@@ -198,9 +204,9 @@
|
|
|
198
204
|
<!-- </table>-->
|
|
199
205
|
|
|
200
206
|
</div>
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
207
|
+
<div v-if="showAttachment">
|
|
208
|
+
<attachment-viewer :business-id="currentRow && currentRow.id" table-name="t_gasmoveinfo" @close="closeAttachment"></attachment-viewer>
|
|
209
|
+
</div>
|
|
204
210
|
</div>
|
|
205
211
|
</div>
|
|
206
212
|
</template>
|
|
@@ -209,6 +215,7 @@
|
|
|
209
215
|
import {HttpResetClass, PagedList} from 'vue-client'
|
|
210
216
|
import defaultPrint from '../config/DefaultPrint'
|
|
211
217
|
import exportConfig from '../config/exportConfig'
|
|
218
|
+
import AttachmentViewer from './AttachmentViewer.vue'
|
|
212
219
|
|
|
213
220
|
let readySomething = async function (self) {
|
|
214
221
|
self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString()
|
|
@@ -219,6 +226,9 @@ let readySomething = async function (self) {
|
|
|
219
226
|
// self.sumsmodel = self.$refs.paged.$refs.grid.model.sums
|
|
220
227
|
}
|
|
221
228
|
export default {
|
|
229
|
+
components: {
|
|
230
|
+
AttachmentViewer
|
|
231
|
+
},
|
|
222
232
|
data() {
|
|
223
233
|
return {
|
|
224
234
|
data: {},
|
|
@@ -237,6 +247,8 @@ export default {
|
|
|
237
247
|
user:[],
|
|
238
248
|
},
|
|
239
249
|
show:false,
|
|
250
|
+
showAttachment: false,
|
|
251
|
+
currentRow: null,
|
|
240
252
|
residentialArea:[],
|
|
241
253
|
area:[],
|
|
242
254
|
rowdata:{},
|
|
@@ -320,6 +332,13 @@ export default {
|
|
|
320
332
|
getRes(obj) {
|
|
321
333
|
this.orgCondtionStr = obj
|
|
322
334
|
},
|
|
335
|
+
view(row) {
|
|
336
|
+
this.currentRow = row;
|
|
337
|
+
this.showAttachment = true;
|
|
338
|
+
},
|
|
339
|
+
closeAttachment() {
|
|
340
|
+
this.showAttachment = false;
|
|
341
|
+
},
|
|
323
342
|
stamp() {
|
|
324
343
|
this.all = false
|
|
325
344
|
//默认选择要打印的列
|
|
@@ -147,6 +147,7 @@
|
|
|
147
147
|
<nobr>公司</nobr>
|
|
148
148
|
</th>
|
|
149
149
|
<th><nobr>查看详情</nobr></th>
|
|
150
|
+
<th><nobr>附件查看</nobr></th>
|
|
150
151
|
</tr>
|
|
151
152
|
</template>
|
|
152
153
|
<template partial='body'>
|
|
@@ -190,6 +191,9 @@
|
|
|
190
191
|
<td style="text-align: center;">
|
|
191
192
|
<button class="btn btn-link" @click.stop="$parent.$parent.$parent.showchargedetail(row)">查看</button>
|
|
192
193
|
</td>
|
|
194
|
+
<td style="text-align: center;">
|
|
195
|
+
<button class="button_search button_spacing width-60" @click.stop="$parent.$parent.$parent.view(row)">查看</button>
|
|
196
|
+
</td>
|
|
193
197
|
</template>
|
|
194
198
|
<template partial='foot'></template>
|
|
195
199
|
</data-grid>
|
|
@@ -212,6 +216,9 @@
|
|
|
212
216
|
<div v-if="show">
|
|
213
217
|
<user-info-detail-manage :f_userinfo_id="rowdata.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage>
|
|
214
218
|
</div>
|
|
219
|
+
<div v-if="showAttachment">
|
|
220
|
+
<attachment-viewer :business-id="currentRow && currentRow.id" table-name="t_othercharge" @close="closeAttachment"></attachment-viewer>
|
|
221
|
+
</div>
|
|
215
222
|
</div>
|
|
216
223
|
</div>
|
|
217
224
|
|
|
@@ -230,7 +237,7 @@
|
|
|
230
237
|
import defaultPrint from '../config/DefaultPrint'
|
|
231
238
|
import exportConfig from '../config/exportConfig'
|
|
232
239
|
import OtherChargeDetailQuery from "./OtherChargeDetailQuery";
|
|
233
|
-
|
|
240
|
+
import AttachmentViewer from './AttachmentViewer.vue'
|
|
234
241
|
let readySomething = async function (self) {
|
|
235
242
|
self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString() + ' 00:00:00'
|
|
236
243
|
self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString() + ' 23:59:59'
|
|
@@ -241,7 +248,8 @@
|
|
|
241
248
|
}
|
|
242
249
|
export default {
|
|
243
250
|
components: {
|
|
244
|
-
OtherChargeDetailQuery
|
|
251
|
+
OtherChargeDetailQuery,
|
|
252
|
+
AttachmentViewer
|
|
245
253
|
},
|
|
246
254
|
data() {
|
|
247
255
|
return {
|
|
@@ -265,7 +273,9 @@
|
|
|
265
273
|
otherchargeid:'',
|
|
266
274
|
rowdata:{},
|
|
267
275
|
//合计数据
|
|
268
|
-
sumsmodel: {}
|
|
276
|
+
sumsmodel: {},
|
|
277
|
+
showAttachment: false,
|
|
278
|
+
currentRow: null,
|
|
269
279
|
}
|
|
270
280
|
},
|
|
271
281
|
ready() {
|
|
@@ -353,6 +363,13 @@
|
|
|
353
363
|
showchargedetail(row){
|
|
354
364
|
this.showdetail=true
|
|
355
365
|
this.otherchargeid=row.id
|
|
366
|
+
},
|
|
367
|
+
view(row) {
|
|
368
|
+
this.currentRow = row;
|
|
369
|
+
this.showAttachment = true;
|
|
370
|
+
},
|
|
371
|
+
closeAttachment() {
|
|
372
|
+
this.showAttachment = false;
|
|
356
373
|
}
|
|
357
374
|
},
|
|
358
375
|
watch: {
|
|
@@ -117,6 +117,9 @@
|
|
|
117
117
|
<th>
|
|
118
118
|
<nobr>公司</nobr>
|
|
119
119
|
</th>
|
|
120
|
+
<th>
|
|
121
|
+
<nobr>附件查看</nobr>
|
|
122
|
+
</th>
|
|
120
123
|
</tr>
|
|
121
124
|
</template>
|
|
122
125
|
<template partial='body'>
|
|
@@ -151,6 +154,9 @@
|
|
|
151
154
|
<td style="text-align: center;">
|
|
152
155
|
<nobr>{{row.f_orgname}}</nobr>
|
|
153
156
|
</td>
|
|
157
|
+
<td style="text-align: center;">
|
|
158
|
+
<button class="button_search button_spacing width-60" @click.stop="$parent.$parent.$parent.view(row)">查看</button>
|
|
159
|
+
</td>
|
|
154
160
|
</template>
|
|
155
161
|
<template partial='foot'></template>
|
|
156
162
|
</data-grid>
|
|
@@ -169,6 +175,9 @@
|
|
|
169
175
|
<div v-if="show">
|
|
170
176
|
<user-info-detail-manage :f_userinfo_id="rowdata.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage>
|
|
171
177
|
</div>
|
|
178
|
+
<div v-if="showAttachment">
|
|
179
|
+
<attachment-viewer :business-id="currentRow && currentRow.id" table-name="t_enable" @close="closeAttachment"></attachment-viewer>
|
|
180
|
+
</div>
|
|
172
181
|
</div>
|
|
173
182
|
</div>
|
|
174
183
|
</template>
|
|
@@ -177,6 +186,7 @@
|
|
|
177
186
|
import {HttpResetClass, PagedList} from 'vue-client'
|
|
178
187
|
import defaultPrint from '../config/DefaultPrint'
|
|
179
188
|
import exportConfig from '../config/exportConfig'
|
|
189
|
+
import AttachmentViewer from './AttachmentViewer.vue'
|
|
180
190
|
|
|
181
191
|
let readySomething = async function (self) {
|
|
182
192
|
self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString()
|
|
@@ -187,6 +197,9 @@ import {HttpResetClass, PagedList} from 'vue-client'
|
|
|
187
197
|
self.sumsmodel = self.$refs.paged.$refs.grid.model.sums
|
|
188
198
|
}
|
|
189
199
|
export default {
|
|
200
|
+
components: {
|
|
201
|
+
AttachmentViewer
|
|
202
|
+
},
|
|
190
203
|
data() {
|
|
191
204
|
return {
|
|
192
205
|
data: {},
|
|
@@ -208,6 +221,8 @@ import {HttpResetClass, PagedList} from 'vue-client'
|
|
|
208
221
|
residentialArea:[],
|
|
209
222
|
area:[],
|
|
210
223
|
show:false,
|
|
224
|
+
showAttachment: false,
|
|
225
|
+
currentRow: null,
|
|
211
226
|
rowdata:{},
|
|
212
227
|
thead: '',
|
|
213
228
|
tfoot: '',
|
|
@@ -225,6 +240,13 @@ import {HttpResetClass, PagedList} from 'vue-client'
|
|
|
225
240
|
})
|
|
226
241
|
},
|
|
227
242
|
methods: {
|
|
243
|
+
view(row) {
|
|
244
|
+
this.currentRow = row;
|
|
245
|
+
this.showAttachment = true;
|
|
246
|
+
},
|
|
247
|
+
closeAttachment() {
|
|
248
|
+
this.showAttachment = false;
|
|
249
|
+
},
|
|
228
250
|
async getaddress(){
|
|
229
251
|
console.log('开始获取小区')
|
|
230
252
|
let HttpReset = new HttpResetClass()
|