apply-clients 3.2.32 → 3.2.37

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 (37) hide show
  1. package/package.json +1 -1
  2. package/src/AndroidApp.vue +26 -26
  3. package/src/App.vue +20 -20
  4. package/src/apply.js +67 -67
  5. package/src/applyAndroid.js +24 -24
  6. package/src/components/Util.js +359 -359
  7. package/src/components/app_apply/AppOnetomany.vue +90 -90
  8. package/src/components/app_apply/AppServiceView.vue +664 -664
  9. package/src/components/app_apply/AppTakePic.vue +112 -112
  10. package/src/components/app_apply/Process/AppExplorationUser.vue +310 -310
  11. package/src/components/app_apply/Process/AppServiceControl.vue +409 -409
  12. package/src/components/app_apply/Process/Processes/AppInstallationDetails.vue +456 -456
  13. package/src/components/app_apply/Supervisory/AppProcessSupervisory.vue +300 -300
  14. package/src/components/app_apply/Supervisory/AppSupervisoryCart.vue +121 -121
  15. package/src/components/product/ApplyCharge/ApplyChargeList.vue +251 -251
  16. package/src/components/product/ApplyCharge/ApplyChargeReport.vue +107 -107
  17. package/src/components/product/ApplyCharge/ApplyChargeSearch.vue +30 -30
  18. package/src/components/product/Function/InstallFunction.vue +147 -147
  19. package/src/components/product/Function/InstallInfoSelect.vue +281 -281
  20. package/src/components/product/Function/Service/FunctionServiceControl.vue +245 -245
  21. package/src/components/product/Function/StopApplyCrrdList.vue +176 -176
  22. package/src/components/product/Function/functions/StopInstall.vue +106 -106
  23. package/src/components/product/Process/ExplorationSelect.vue +346 -346
  24. package/src/components/product/Process/ExplorationUser.vue +134 -134
  25. package/src/components/product/Process/Processes/InstallationDetails.vue +243 -233
  26. package/src/components/product/Process/Processes/addressAndUserinfoManagement.vue +201 -201
  27. package/src/components/product/Process/Processes/chargeManagement.vue +555 -555
  28. package/src/components/product/Process/Processes/printCharge.vue +133 -133
  29. package/src/components/product/Process/Processes/supplementalAgreement.vue +297 -297
  30. package/src/components/product/Process/ShowBackReason.vue +32 -32
  31. package/src/components/product/ServiceView.vue +759 -759
  32. package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +199 -199
  33. package/src/components/product/Supervisory/SupervisoryControl.vue +119 -119
  34. package/src/components/product/Supervisory/SupervisoryList.vue +208 -208
  35. package/src/components/product/Supervisory/SupervisoryhCart.vue +103 -103
  36. package/src/components/product/VueUtils/ApplyUpload.vue +261 -261
  37. package/src/main.js +23 -23
@@ -71,9 +71,9 @@
71
71
  type="button"
72
72
  name="button"
73
73
  class="btn btn-link"
74
- :disabled="(row.f_cumulative_payment_money < $parent.$parent.$parent.selectdata.f_price && ($parent.$parent.$parent.selectdata.f_apply_type === '散户集体报建' || $parent.$parent.$parent.selectdata.f_apply_type === '煤改气报建')) || $parent.$parent.$parent.mark === 1"
74
+ :disabled="(row.f_cumulative_payment_money < $parent.$parent.$parent.selectdata.f_price && ($parent.$parent.$parent.selectdata.f_apply_type === '散户集体报建' || $parent.$parent.$parent.selectdata.f_apply_type === '煤改气报建'))"
75
75
  @click="$parent.$parent.$parent.showUserFileModal(row)">
76
- {{row.f_userfiles_num > 0 ? '修正' : '添加'}}
76
+ {{$parent.$parent.$parent.mark===1 ? '查看': row.f_userfiles_num > 0 ? '修正' : '添加'}}
77
77
  </button>
78
78
  </nobr>
79
79
  </td>
@@ -121,6 +121,7 @@
121
121
  :value.sync="item.gasbrand"
122
122
  v-model="item.gasbrand"
123
123
  :options="meterbrands"
124
+ :disable="mark===1"
124
125
  @change="gasbrandChange(i)"
125
126
  :valueSingle="true"></input-select>
126
127
  </div>
@@ -133,6 +134,7 @@
133
134
  :value.sync="item.gasmodel"
134
135
  v-model="item.gasmodel"
135
136
  :options="item.gasbrand.gasmodel"
137
+ :disable="mark===1"
136
138
  @change="gasmodelChange(i)"
137
139
  :valueSingle="true"></input-select>
138
140
  </div>
@@ -144,8 +146,9 @@
144
146
  placeholder="表号"
145
147
  v-model="item.f_meternumber"
146
148
  :value="item.f_meternumber"
149
+ :disable="mark===1"
147
150
  @change="meternumberValidate(i)"
148
- :readonly="false"/>
151
+ :readonly="mark===1"/>
149
152
  </div>
150
153
  </div>
151
154
  <div class="form-group col-sm-6">
@@ -155,7 +158,8 @@
155
158
  placeholder="表封号"
156
159
  v-model="item.f_metertitles"
157
160
  :value="item.f_metertitles"
158
- :readonly="false"/>
161
+ :disable="mark===1"
162
+ :readonly="mark===1"/>
159
163
  </div>
160
164
  </div>
161
165
  <div class="form-group col-sm-6">
@@ -166,7 +170,8 @@
166
170
  placeholder="表读数"
167
171
  v-model="item.f_meter_base"
168
172
  :value="item.f_meter_base"
169
- :readonly="false"/>
173
+ :disable="mark===1"
174
+ :readonly="mark===1"/>
170
175
  </div>
171
176
  </div>
172
177
  <div class="form-group col-sm-6">
@@ -176,8 +181,9 @@
176
181
  type="number"
177
182
  v-model="item.f_initial_base"
178
183
  :value="item.f_initial_base"
184
+ :disable="mark===1"
179
185
  placeholder="初始底数"
180
- :readonly="false"/>
186
+ :readonly="mark===1"/>
181
187
  </div>
182
188
  </div>
183
189
  <div class="form-group col-sm-6">
@@ -187,6 +193,7 @@
187
193
  class="select select_list"
188
194
  :value.sync="item.f_aroundmeter"
189
195
  v-model="item.f_aroundmeter"
196
+ :disable="mark===1"
190
197
  :options="aroundmeters"
191
198
  :valueSingle="true"></input-select>
192
199
  </div>
@@ -198,6 +205,7 @@
198
205
  class="select select_list"
199
206
  :value.sync="item.f_position"
200
207
  v-model="item.f_position"
208
+ :disable="mark===1"
201
209
  :options="positions"
202
210
  :valueSingle="true"></input-select>
203
211
  </div>
@@ -209,22 +217,24 @@
209
217
  class="select select_list"
210
218
  :value.sync="item.f_install_person"
211
219
  v-model="item.f_install_person"
220
+ :disable="mark===1"
212
221
  :options="installperson"
213
222
  :valueSingle="true"></input-select>
214
223
  </div>
215
224
  </div>
216
225
  <div class="form-group col-sm-6">
217
- <label class="col-sm-4 control-label">安装日期:</label>
218
- <div class="col-sm-8">
219
- <datepicker
220
- placeholder="安装日期"
221
- :value.sync="item.f_install_date"
222
- v-model="item.f_install_date"
223
- format="yyyy-MM-dd HH:mm:ss"
224
- :show-reset-button="reset">
225
- </datepicker>
226
- </div>
226
+ <label class="col-sm-4 control-label">安装日期:</label>
227
+ <div class="col-sm-8">
228
+ <datepicker
229
+ placeholder="安装日期"
230
+ :value.sync="item.f_install_date"
231
+ v-model="item.f_install_date"
232
+ format="yyyy-MM-dd HH:mm:ss"
233
+ :disable="mark===1"
234
+ :show-reset-button="reset">
235
+ </datepicker>
227
236
  </div>
237
+ </div>
228
238
  </div>
229
239
 
230
240
  </article>
@@ -236,255 +246,255 @@
236
246
  </modal>
237
247
  </template>
238
248
  <script>
239
- import Vue from 'vue'
240
- import {PagedList} from 'vue-client'
241
- import {HttpResetClass} from 'vue-client'
242
- import {isEmpty} from '../../../Util'
249
+ import Vue from 'vue'
250
+ import {PagedList} from 'vue-client'
251
+ import {HttpResetClass} from 'vue-client'
252
+ import {isEmpty} from '../../../Util'
243
253
 
244
- export default {
245
- title: '安装明细',
246
- props: {
247
- selectdata: {
248
- type: Object
249
- },
250
- mark: {
251
- type: Number,
252
- default: 0
253
- }
254
- },
255
- data () {
256
- return {
257
- showFile: false,
258
- showUserFile: false,
259
- model: new PagedList('rs/sql/getAddresAndUserinfoAndUserfilesAmount', 30, {
260
- data: {
261
- f_process_id: this.selectdata.f_process_id
262
- }
263
- }),
264
- meterbrands: [], // 气表品牌
265
- useradders: null,
266
- userinfo: {}
267
- }
268
- },
269
- ready () {
270
- this.search()
271
- this.getMeterbrands()
272
- this.notInstalled()
273
- },
274
- methods: {
275
- async notInstalled () {
276
- let http = new HttpResetClass()
277
- let data = {
278
- condition: null
254
+ export default {
255
+ title: '安装明细',
256
+ props: {
257
+ selectdata: {
258
+ type: Object
259
+ },
260
+ mark: {
261
+ type: Number,
262
+ default: 0
279
263
  }
280
- if (this.selectdata.f_apply_type === '开发商集体报建') {
281
- data.condition = `ui.f_process_id = '${this.selectdata.f_process_id}'`
282
- } else {
283
- data.condition = `ui.f_process_id = '${this.selectdata.f_process_id}' and uf.f_table_state = '正常'`
264
+ },
265
+ data () {
266
+ return {
267
+ showFile: false,
268
+ showUserFile: false,
269
+ model: new PagedList('rs/sql/getAddresAndUserinfoAndUserfilesAmount', 30, {
270
+ data: {
271
+ f_process_id: this.selectdata.f_process_id
272
+ }
273
+ }),
274
+ meterbrands: [], // 气表品牌
275
+ useradders: null,
276
+ userinfo: {}
284
277
  }
278
+ },
279
+ ready () {
280
+ this.search()
281
+ this.getMeterbrands()
282
+ this.notInstalled()
283
+ },
284
+ methods: {
285
+ async notInstalled () {
286
+ let http = new HttpResetClass()
287
+ let data = {
288
+ condition: null
289
+ }
290
+ if (this.selectdata.f_apply_type === '开发商集体报建') {
291
+ data.condition = `ui.f_process_id = '${this.selectdata.f_process_id}'`
292
+ } else {
293
+ data.condition = `ui.f_process_id = '${this.selectdata.f_process_id}' and uf.f_table_state != '无效'`
294
+ }
285
295
 
286
- let res = await http.load('POST', 'rs/sql/notInstalled', {data: data}, {resolveMsg: null, rejectMsg: null})
296
+ let res = await http.load('POST', 'rs/sql/notInstalled', {data: data}, {resolveMsg: null, rejectMsg: null})
287
297
 
288
298
 
289
- for (const item of this.selectdata.fields) {
290
- if (item.label === '已安装户数') {
291
- item.value = res.data[0].num
292
- }
293
- if (item.label === '未安装户数') {
294
- item.value = this.selectdata.f_apply_count - res.data[0].num
295
- }
296
- }
297
- },
298
- // 保存档案
299
- async saveUserFile() {
300
- if (this.userinfo.userfiles.length > 1) {
301
- this.$showAlert('该地址下已有表具信息,暂不支持一户多表!!!', 'warning', 3000)
302
- return
303
- }
304
- // 检查必填项
305
- for (let i = 0; i < this.userinfo.userfiles.length; i++) {
306
- let userfile = this.userinfo.userfiles[i]
307
- if (userfile.f_gasbrand_id === null || userfile.f_gasbrand_id === '') {
308
- this.$showAlert(`表具${i+1}气表品牌没有选择!!!`, 'warning', 3000)
309
- return
299
+ for (const item of this.selectdata.fields) {
300
+ if (item.label === '已安装户数') {
301
+ item.value = res.data[0].num
302
+ }
303
+ if (item.label === '未安装户数') {
304
+ item.value = this.selectdata.f_apply_count - res.data[0].num
305
+ }
310
306
  }
311
- if (userfile.f_gasmodel_id === null || userfile.f_gasmodel_id === '') {
312
- this.$showAlert(`表具${i+1}气表型号没有选择!!!`, 'warning', 3000)
307
+ },
308
+ // 保存档案
309
+ async saveUserFile() {
310
+ if (this.userinfo.userfiles.length > 1) {
311
+ this.$showAlert('该地址下已有表具信息,暂不支持一户多表!!!', 'warning', 3000)
313
312
  return
314
313
  }
315
- if (userfile.f_meternumber === null || userfile.f_meternumber === '') {
316
- this.$showAlert(`表具${i+1}表号没有填写!!!`, 'warning', 3000)
317
- return
314
+ // 检查必填项
315
+ for (let i = 0; i < this.userinfo.userfiles.length; i++) {
316
+ let userfile = this.userinfo.userfiles[i]
317
+ if (userfile.f_gasbrand_id === null || userfile.f_gasbrand_id === '') {
318
+ this.$showAlert(`表具${i+1}气表品牌没有选择!!!`, 'warning', 3000)
319
+ return
320
+ }
321
+ if (userfile.f_gasmodel_id === null || userfile.f_gasmodel_id === '') {
322
+ this.$showAlert(`表具${i+1}气表型号没有选择!!!`, 'warning', 3000)
323
+ return
324
+ }
325
+ if (userfile.f_meternumber === null || userfile.f_meternumber === '') {
326
+ this.$showAlert(`表具${i+1}表号没有填写!!!`, 'warning', 3000)
327
+ return
328
+ }
318
329
  }
319
- }
320
- let data = {
321
- user: this.$login.f,
322
- useradders: this.useradders,
323
- userinfo: this.userinfo,
324
- selectdata: this.selectdata
325
- }
326
- let res = await this.$resetpost('rs/logic/addInstallationDetails', {data:data}, {
327
- resolveMsg: null,
328
- rejectMsg: '表具添加失败!!!'
329
- })
330
- this.$dispatch('breakControl', this.selectdata)
331
- },
332
- // 检查表号是否存在
333
- async meternumberValidate(i) {
334
- if (!this.userinfo.userfiles[i].f_gasbrand_id) {
335
- this.userinfo.userfiles[i].f_meternumber = ''
336
- this.$showAlert('请先选择气表品牌!!!', 'warning', 3000)
337
- return
338
- }
339
- if (this.userinfo.userfiles[i].f_gasbrand_id && this.userinfo.userfiles[i].f_meternumber) {
340
330
  let data = {
341
- f_meternumber: this.userinfo.userfiles[i].f_meternumber,
342
- f_gasbrand_id: this.userinfo.userfiles[i].f_gasbrand_id
343
- }
344
- if (this.userinfo.userfiles[i].f_userfiles_id) {
345
- data.f_userfiles_id = this.userinfo.userfiles[i].f_userfiles_id
331
+ user: this.$login.f,
332
+ useradders: this.useradders,
333
+ userinfo: this.userinfo,
334
+ selectdata: this.selectdata
346
335
  }
347
- let res = await this.$resetpost('rs/logic/meterbrandsNumberValidate', {data:data}, {
336
+ let res = await this.$resetpost('rs/logic/addInstallationDetails', {data:data}, {
348
337
  resolveMsg: null,
349
- rejectMsg: '表号验证失败!!'
338
+ rejectMsg: '表具添加失败!!!'
350
339
  })
351
- if (res.data) {
340
+ this.$dispatch('breakControl', this.selectdata)
341
+ },
342
+ // 检查表号是否存在
343
+ async meternumberValidate(i) {
344
+ if (!this.userinfo.userfiles[i].f_gasbrand_id) {
352
345
  this.userinfo.userfiles[i].f_meternumber = ''
353
- this.$showAlert('表号已存在!!', 'warning', 3000)
346
+ this.$showAlert('请先选择气表品牌!!!', 'warning', 3000)
347
+ return
354
348
  }
355
- }
356
- },
357
- // 选择气表型号
358
- gasmodelChange(i) {
359
- if (this.userinfo.userfiles[i].gasmodel) {
360
- this.userinfo.userfiles[i].f_gasmodel_id = this.userinfo.userfiles[i].gasmodel.id
361
- }
362
- },
363
- // 选择气表品牌
364
- gasbrandChange(i) {
365
- // 清空已保存的气表型号
366
- this.userinfo.userfiles[i].f_gasmodel_id = null
367
- this.userinfo.userfiles[i].gasmodel = null
368
- if (this.userinfo.userfiles[i].gasbrand) {
369
- // 气表品牌id
370
- this.userinfo.userfiles[i].f_gasbrand_id = this.userinfo.userfiles[i].gasbrand.id
371
- // 气表分类
372
- this.userinfo.userfiles[i].f_meter_classify = this.userinfo.userfiles[i].gasbrand.f_meter_type
373
- }
374
- },
375
- // 追加表具
376
- addUserFile() {
377
- this.userinfo.userfiles.push({})
378
- },
379
- // 打开安装明细
380
- async showUserFileModal (row) {
381
- this.useradders = row
349
+ if (this.userinfo.userfiles[i].f_gasbrand_id && this.userinfo.userfiles[i].f_meternumber) {
350
+ let data = {
351
+ f_meternumber: this.userinfo.userfiles[i].f_meternumber,
352
+ f_gasbrand_id: this.userinfo.userfiles[i].f_gasbrand_id
353
+ }
354
+ if (this.userinfo.userfiles[i].f_userfiles_id) {
355
+ data.f_userfiles_id = this.userinfo.userfiles[i].f_userfiles_id
356
+ }
357
+ let res = await this.$resetpost('rs/logic/meterbrandsNumberValidate', {data:data}, {
358
+ resolveMsg: null,
359
+ rejectMsg: '表号验证失败!!'
360
+ })
361
+ if (res.data) {
362
+ this.userinfo.userfiles[i].f_meternumber = ''
363
+ this.$showAlert('表号已存在!!', 'warning', 3000)
364
+ }
365
+ }
366
+ },
367
+ // 选择气表型号
368
+ gasmodelChange(i) {
369
+ if (this.userinfo.userfiles[i].gasmodel) {
370
+ this.userinfo.userfiles[i].f_gasmodel_id = this.userinfo.userfiles[i].gasmodel.id
371
+ }
372
+ },
373
+ // 选择气表品牌
374
+ gasbrandChange(i) {
375
+ // 清空已保存的气表型号
376
+ this.userinfo.userfiles[i].f_gasmodel_id = null
377
+ this.userinfo.userfiles[i].gasmodel = null
378
+ if (this.userinfo.userfiles[i].gasbrand) {
379
+ // 气表品牌id
380
+ this.userinfo.userfiles[i].f_gasbrand_id = this.userinfo.userfiles[i].gasbrand.id
381
+ // 气表分类
382
+ this.userinfo.userfiles[i].f_meter_classify = this.userinfo.userfiles[i].gasbrand.f_meter_type
383
+ }
384
+ },
385
+ // 追加表具
386
+ addUserFile() {
387
+ this.userinfo.userfiles.push({})
388
+ },
389
+ // 打开安装明细
390
+ async showUserFileModal (row) {
391
+ this.useradders = row
382
392
 
383
- let http = new HttpResetClass()
384
- let data = {
385
- condition: `f_userinfo_id='${row.f_userinfo_id}'`
386
- }
387
- let res = await http.load('POST', 'rs/logic/getUserinfoAndUserfiles', {data:data}, {
388
- resolveMsg: null,
389
- rejectMsg: null
390
- })
393
+ let http = new HttpResetClass()
394
+ let data = {
395
+ condition: `f_userinfo_id='${row.f_userinfo_id}'`
396
+ }
397
+ let res = await http.load('POST', 'rs/logic/getUserinfoAndUserfiles', {data:data}, {
398
+ resolveMsg: null,
399
+ rejectMsg: null
400
+ })
391
401
 
392
- this.userinfo = res.data
402
+ this.userinfo = res.data
393
403
 
394
- // 已有表具的 气表信息补充
395
- for (const userfile of this.userinfo.userfiles) {
396
- for (const item of this.meterbrands) {
397
- if (item.value.id === userfile.f_gasbrand_id) {
398
- userfile.gasbrand = item.value
404
+ // 已有表具的 气表信息补充
405
+ for (const userfile of this.userinfo.userfiles) {
406
+ for (const item of this.meterbrands) {
407
+ if (item.value.id === userfile.f_gasbrand_id) {
408
+ userfile.gasbrand = item.value
409
+ }
399
410
  }
400
- }
401
- if (userfile.gasbrand) {
402
- for (const item of userfile.gasbrand.gasmodel) {
403
- if (item.value.id === userfile.f_gasmodel_id) {
404
- userfile.gasmodel = item.value
411
+ if (userfile.gasbrand) {
412
+ for (const item of userfile.gasbrand.gasmodel) {
413
+ if (item.value.id === userfile.f_gasmodel_id) {
414
+ userfile.gasmodel = item.value
415
+ }
405
416
  }
406
417
  }
407
418
  }
408
- }
409
419
 
410
- this.showUserFile = true
411
- },
412
- // 获取气表品牌
413
- async getMeterbrands() {
414
- let http = new HttpResetClass()
415
- let data = {
416
- f_filialeid: this.$login.f.orgid
420
+ this.showUserFile = true
421
+ },
422
+ // 获取气表品牌
423
+ async getMeterbrands() {
424
+ let http = new HttpResetClass()
425
+ let data = {
426
+ f_filialeid: this.$login.f.orgid
427
+ }
428
+ let res = await http.load('POST', 'rs/logic/getMeterbrands', {data:data}, {
429
+ resolveMsg: null,
430
+ rejectMsg: null
431
+ })
432
+ this.meterbrands = res.data
433
+ },
434
+ // 查询
435
+ async search () {
436
+ this.$refs.cp.$refs.cri.search()
437
+ },
438
+ // 关闭安装明细
439
+ closeUserFile() {
440
+ this.showUserFile = false
441
+ this.useradders = null
442
+ this.userinfo = null
443
+ this.search()
444
+ },
445
+ // 关闭文件上传对话框
446
+ closeFile() {
447
+ this.showFile = false
448
+ // 将选的文件清空
449
+ this.$refs.file.$el.querySelector('input').value = ''
450
+ this.search()
417
451
  }
418
- let res = await http.load('POST', 'rs/logic/getMeterbrands', {data:data}, {
419
- resolveMsg: null,
420
- rejectMsg: null
421
- })
422
- this.meterbrands = res.data
423
- },
424
- // 查询
425
- async search () {
426
- this.$refs.cp.$refs.cri.search()
427
- },
428
- // 关闭安装明细
429
- closeUserFile() {
430
- this.showUserFile = false
431
- this.useradders = null
432
- this.userinfo = null
433
- this.search()
434
452
  },
435
- // 关闭文件上传对话框
436
- closeFile() {
437
- this.showFile = false
438
- // 将选的文件清空
439
- this.$refs.file.$el.querySelector('input').value = ''
440
- this.search()
441
- }
442
- },
443
- events: {
444
- async 'onFileUpload'(file, result) {
445
- let data = {
446
- selectdata: this.selectdata,
447
- filepath: result.f_downloadpath,
448
- user: this.$login.f
449
- }
450
- let url = null
451
- if (this.selectdata.f_apply_type === '开发商集体报建') {
452
- url = 'rs/logic/importAddressUserFiles'
453
- } else {
454
- url = 'rs/logic/importAddInstallationDetails'
455
- }
453
+ events: {
454
+ async 'onFileUpload'(file, result) {
455
+ let data = {
456
+ selectdata: this.selectdata,
457
+ filepath: result.f_downloadpath,
458
+ user: this.$login.f
459
+ }
460
+ let url = null
461
+ if (this.selectdata.f_apply_type === '开发商集体报建') {
462
+ url = 'rs/logic/importAddressUserFiles'
463
+ } else {
464
+ url = 'rs/logic/importAddInstallationDetails'
465
+ }
456
466
 
457
- let res = await this.$resetpost(url, {data:data}, {resolveMsg: null, rejectMsg: '导入失败', silent: true}, 0)
458
- if(res.data.type === "success"){
459
- this.$showAlert("导入信息:"+res.data.msg, res.data.type, 2000);
460
- }else{
461
- this.$showMessage(res.data.msg);
462
- }
463
- this.$dispatch('breakControl', this.selectdata)
464
- }
465
- },
466
- computed: {
467
- // 安装人
468
- installperson() {
469
- return this.$login.f.f_installman.map(item => {
470
- return {
471
- label: item.name,
472
- value: item.name
467
+ let res = await this.$resetpost(url, {data:data}, {resolveMsg: null, rejectMsg: '导入失败', silent: true}, 0)
468
+ if(res.data.type === "success"){
469
+ this.$showAlert("导入信息:"+res.data.msg, res.data.type, 2000);
470
+ }else{
471
+ this.$showMessage(res.data.msg);
473
472
  }
474
- })
473
+ this.$dispatch('breakControl', this.selectdata)
474
+ }
475
475
  },
476
- // 表向
477
- aroundmeters() {
478
- return this.$appdata.getParam('左右表')
476
+ computed: {
477
+ // 安装人
478
+ installperson() {
479
+ return this.$login.f.f_installman.map(item => {
480
+ return {
481
+ label: item.name,
482
+ value: item.name
483
+ }
484
+ })
485
+ },
486
+ // 表向
487
+ aroundmeters() {
488
+ return this.$appdata.getParam('左右表')
489
+ },
490
+ // 安装位置
491
+ positions() {
492
+ return this.$appdata.getParam('安装位置')
493
+ }
479
494
  },
480
- // 安装位置
481
- positions() {
482
- return this.$appdata.getParam('安装位置')
495
+ watch: {
483
496
  }
484
- },
485
- watch: {
486
497
  }
487
- }
488
498
  </script>
489
499
  <style scoped>
490
500
  .head-but{