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.
Files changed (27) hide show
  1. package/build/dev-server.js +11 -17
  2. package/package.json +1 -1
  3. package/src/components/ManageHome/ImportSupplygas/UpdateSupply.vue +187 -187
  4. package/src/components/ManageHomeCS/ImportSupplygas/UpdateSupply.vue +187 -187
  5. package/src/components/sale/businessquery/AttachmentViewer.vue +252 -0
  6. package/src/components/sale/businessquery/ChangeMeterQuery.vue +22 -0
  7. package/src/components/sale/businessquery/ChargeQuery.vue +28 -4
  8. package/src/components/sale/businessquery/DisableQuery.vue +22 -0
  9. package/src/components/sale/businessquery/EnableQuery.vue +22 -0
  10. package/src/components/sale/businessquery/FillCardQuery.vue +22 -0
  11. package/src/components/sale/businessquery/FillGasQuery.vue +22 -0
  12. package/src/components/sale/businessquery/MoveQuery.vue +22 -3
  13. package/src/components/sale/businessquery/OtherChargeQuery.vue +20 -3
  14. package/src/components/sale/businessquery/RecordQuery.vue +22 -0
  15. package/src/components/sale/businessquery/TransferQuery.vue +23 -2
  16. package/src/components/sale/businessquery/cancelAccountQuery.vue +488 -488
  17. package/src/components/sale/report/aode/DayReport.vue +50 -50
  18. package/src/components/sale/report/aode/DayReportSummary.vue +75 -75
  19. package/src/components/sale/report/aode/widget/LifeDayReportListPrint.vue +189 -189
  20. package/src/components/sale/report/aode/widget/LifeMonthPrint.vue +153 -153
  21. package/src/components/sale/report/aode/widget/LifeYearPrint.vue +143 -143
  22. package/src/components/sale/report/aode/widget/MonthByChargePrint.vue +236 -236
  23. package/src/components/sale/report/aode/widget/MonthByUserPrint.vue +232 -232
  24. package/src/plugins/FileDownloadR.js +61 -0
  25. package/src/saleManage.js +40 -40
  26. package/static/qh.json +2410 -2410
  27. package/webstorm.config.js +13 -13
@@ -147,6 +147,9 @@
147
147
  <th>
148
148
  <nobr>公司</nobr>
149
149
  </th>
150
+ <th>
151
+ <nobr>附件查看</nobr>
152
+ </th>
150
153
  <th>
151
154
  <nobr>操作</nobr>
152
155
  </th>
@@ -194,6 +197,9 @@
194
197
  <button-link @click="$parent.$parent.$parent.handchange(row)" class="btn btn-link" type="button">查看
195
198
  </button-link>
196
199
  </td>
200
+ <td style="text-align: center;">
201
+ <button class="button_search button_spacing width-60" @click.stop="$parent.$parent.$parent.view(row)">查看</button>
202
+ </td>
197
203
  </template>
198
204
  <template partial='foot'></template>
199
205
  </data-grid>
@@ -214,6 +220,9 @@
214
220
  <div v-if="show">
215
221
  <user-info-detail-manage :f_userinfo_id="rowdata.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage>
216
222
  </div>
223
+ <div v-if="showAttachment">
224
+ <attachment-viewer :business-id="currentRow && currentRow.id" table-name="t_transfer" @close="closeAttachment"></attachment-viewer>
225
+ </div>
217
226
  </div>
218
227
  </div>
219
228
  <modal :show.sync="handshow" backdrop="false" v-ref:modal>
@@ -321,7 +330,7 @@
321
330
  import {HttpResetClass, PagedList} from 'vue-client'
322
331
  import defaultPrint from '../config/DefaultPrint'
323
332
  import exportConfig from '../config/exportConfig'
324
-
333
+ import AttachmentViewer from './AttachmentViewer.vue'
325
334
  let readySomething = async function (self) {
326
335
  self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString() + ' 00:00:00'
327
336
  self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString() + ' 23:59:59'
@@ -331,6 +340,9 @@
331
340
  self.sumsmodel = self.$refs.paged.$refs.grid.model.sums
332
341
  }
333
342
  export default {
343
+ components: {
344
+ AttachmentViewer
345
+ },
334
346
  data() {
335
347
  return {
336
348
  data: {},
@@ -366,7 +378,9 @@
366
378
  handshow: false,
367
379
  transferInfo: {},
368
380
  newImgList: {},
369
- imgList: {}
381
+ imgList: {},
382
+ showAttachment: false,
383
+ currentRow: null,
370
384
  }
371
385
  },
372
386
  ready() {
@@ -379,6 +393,13 @@
379
393
  })
380
394
  },
381
395
  methods: {
396
+ view(row) {
397
+ this.currentRow = row;
398
+ this.showAttachment = true;
399
+ },
400
+ closeAttachment() {
401
+ this.showAttachment = false;
402
+ },
382
403
  handchange(val) {
383
404
  this.imgList = {}
384
405
  this.newImgList = {}