manage-client-xy 3.2.0 → 3.2.2

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.
@@ -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
- <!-- <div v-if="show">-->
202
- <!-- <user-info-detail-manage :f_userinfo_id="rowdata.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage>-->
203
- <!-- </div>-->
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()
@@ -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 = {}