sale-client 3.5.291 → 3.5.293
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 +1 -1
- package/package.json +1 -1
- package/src/Util.js +4 -0
- package/src/components/FilesManage/MeterinfoTest.vue +7 -14
- package/src/components/FilesManage/UserGeneralInfoTest.vue +6 -0
- package/src/components/FilesManageNew/UserGeneralInfoTest.vue +9 -0
- package/src/filiale/chengtou/components/FilesManage/UserGeneralInfoTest.vue +6 -0
- package/src/filiale/fugu/components/FilesManage/UserGeneralInfoTest.vue +6 -0
- package/src/filiale/gehua/UserGeneralInfoTest.vue +32 -5
- package/src/filiale/kelai/UserGeneralInfoTest.vue +6 -0
- package/src/filiale/konggang/UserGeneralInfoTest.vue +6 -0
- package/src/filiale/liaoyuan/FileManage/UserGeneralInfoTest.vue +6 -0
- package/src/filiale/macheng/FilesManageNew/UserGeneralInfoTest.vue +8 -2
- package/src/filiale/qianneng/FilesManage/UserGeneralInfoTest.vue +6 -0
- package/src/filiale/qianneng/FilesManageNew/UserGeneralInfoTest.vue +6 -0
- package/src/filiale/qingtongxia/UserGeneralInfoTest.vue +6 -0
- package/src/filiale/rizhao/IOTMeterCenter.vue +795 -0
- package/src/filiale/rizhao/NoCardMeterCenter.vue +466 -0
- package/src/filiale/rizhao/ShowCardSellGas.vue +932 -0
- package/src/filiale/rizhao/UserGeneralInfoTest.vue +6 -0
- package/src/filiale/rizhao/sale.js +7 -0
- package/src/filiale/rongcheng/FilesManageNew/UserGeneralInfoTest.vue +6 -0
- package/src/filiale/rongcheng/UserGeneralInfoTest.vue +6 -0
- package/src/filiale/shanxian/components/FilesManage/MeterinfoTest.vue +10 -10
- package/src/filiale/shanxian/components/FilesManage/UserEssentialInfoTest.vue +11 -0
- package/src/filiale/shanxian/components/FilesManage/UserGeneralInfoTest.vue +6 -0
- package/src/filiale/shanxian/components/FilesManageNew/UserGeneralInfoTest.vue +6 -0
- package/src/filiale/shanxian/components/UserFiles/UserPaperInfoTest.vue +118 -0
- package/src/filiale/shanxian/sale.js +2 -0
- package/src/filiale/shaoguan/FilesManage/UserGeneralInfoTest.vue +6 -0
- package/src/filiale/shaoguan/FilesManageNew/UserGeneralInfoTest.vue +6 -0
- package/src/filiale/tongchuan/UserGeneralInfoTest.vue +6 -1
- package/src/filiale/wenxi/UserGeneralInfoTest.vue +6 -0
- package/src/filiale/wuhai/UserGeneralInfoTest.vue +6 -0
- package/src/filiale/zhongyi/HandplanQuery.vue +4 -2
- package/src/main.js +1 -1
package/build/dev-server.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
var path = require('path')
|
|
2
|
-
const [localUrl, serverRul] = ['
|
|
2
|
+
const [localUrl, serverRul] = ['http://121.36.60.63:8800/', 'http://121.36.60.63:8800/']
|
|
3
3
|
var merge = require('webpack-merge')
|
|
4
4
|
var baseConfig = require('./webpack.dev.conf')
|
|
5
5
|
var devConfig = {
|
package/package.json
CHANGED
package/src/Util.js
CHANGED
|
@@ -100,20 +100,13 @@
|
|
|
100
100
|
<v-select :value.sync="row.f_valve_state" :options='valvestate' placeholder='阀门状态' close-on-select
|
|
101
101
|
v-model='row.f_valve_state'></v-select>
|
|
102
102
|
</div>
|
|
103
|
-
<div class="col-sm-4 form-group"
|
|
104
|
-
<label
|
|
105
|
-
<v-select :value.sync="row.f_open_way" v-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
</div>
|
|
110
|
-
<!-- <div class="col-sm-4 form-group" v-show="row.gasbrand.length > 0 && row.gasbrand[0].f_meter_type == '物联网表' && row.gasbrand[0].f_hascard == '是'">-->
|
|
111
|
-
<!-- <label class="font_normal_body" title="开户方式">开户方式</label>-->
|
|
112
|
-
<!-- <v-select :value.sync="row.f_open_way" :options='openWay' value-single placeholder='开户方式' close-on-select v-if="row.f_userfiles_id"-->
|
|
113
|
-
<!-- search v-model='row.f_open_way' :disabled="true"></v-select>-->
|
|
114
|
-
<!-- <v-select :value.sync="row.f_open_way" :options='openWay' value-single placeholder='开户方式' close-on-select v-else-->
|
|
115
|
-
<!-- search v-model='row.f_open_way' :disabled="false"></v-select>-->
|
|
116
|
-
<!-- </div>-->
|
|
103
|
+
<div class="col-sm-4 form-group" v-show="row.gasbrand.length > 0 && row.gasbrand[0].f_meter_type == '物联网表' && row.gasbrand[0].f_hascard == '是'">
|
|
104
|
+
<label class="font_normal_body" title="开户方式">开户方式</label>
|
|
105
|
+
<v-select :value.sync="row.f_open_way" :options='openWay' value-single placeholder='开户方式' close-on-select v-if="row.f_userfiles_id"
|
|
106
|
+
search v-model='row.f_open_way' :disabled="curuser.f_user_state != '预备'"></v-select>
|
|
107
|
+
<v-select :value.sync="row.f_open_way" :options='openWay' value-single placeholder='开户方式' close-on-select v-else
|
|
108
|
+
search v-model='row.f_open_way' :disabled="false"></v-select>
|
|
109
|
+
</div>
|
|
117
110
|
<div class="col-sm-4 form-group" v-show="row.gasbrand.length > 0 && row.gasbrand[0].f_meter_brand.indexOf('集中器') !== -1">
|
|
118
111
|
<label class="font_normal_body" title="集中器">集 中 器</label>
|
|
119
112
|
<v-select :value.sync="row.f_concentrator_id" :options='concentrators' value-single placeholder='集中器' close-on-select v-if="row.f_userfiles_id"
|
|
@@ -108,6 +108,7 @@
|
|
|
108
108
|
<script>
|
|
109
109
|
import UserPaperInfoTest from './UserPaperInfoTest'
|
|
110
110
|
import {HttpResetClass} from 'vue-client'
|
|
111
|
+
import * as Util from '../../Util'
|
|
111
112
|
|
|
112
113
|
let getFileGen = async function (self, data) {
|
|
113
114
|
let http = new HttpResetClass()
|
|
@@ -316,6 +317,11 @@ export default {
|
|
|
316
317
|
}
|
|
317
318
|
this.seaching = true
|
|
318
319
|
console.log('档案保存之前,。。。', this.data)
|
|
320
|
+
this.data.baseinfo.base.f_user_name = Util.removerUnnecessary(this.data.baseinfo.base.f_user_name)
|
|
321
|
+
this.data.baseinfo.base.f_user_phone = Util.removerUnnecessary(this.data.baseinfo.base.f_user_phone)
|
|
322
|
+
this.data.meterinfo.forEach((item) => {
|
|
323
|
+
item.f_meternumber = Util.removerUnnecessary(item.f_meternumber)
|
|
324
|
+
})
|
|
319
325
|
if (this.data.meterinfo[0].f_gas_date != null) {
|
|
320
326
|
this.data.addressinfo.f_address_state = '已通气'
|
|
321
327
|
}
|
|
@@ -70,6 +70,7 @@
|
|
|
70
70
|
<script>
|
|
71
71
|
import UserPaperInfoTest from './UserPaperInfoTest'
|
|
72
72
|
import {HttpResetClass} from 'vue-client'
|
|
73
|
+
import * as Util from '../../Util'
|
|
73
74
|
|
|
74
75
|
let getFileGen = async function (self, data) {
|
|
75
76
|
let http = new HttpResetClass()
|
|
@@ -311,6 +312,14 @@ export default {
|
|
|
311
312
|
if (this.row) {
|
|
312
313
|
this.data.baseinfo.base.version = this.row.version
|
|
313
314
|
}
|
|
315
|
+
|
|
316
|
+
console.log('档案保存之前,。。。', this.data)
|
|
317
|
+
this.data.baseinfo.base.f_user_name = Util.removerUnnecessary(this.data.baseinfo.base.f_user_name)
|
|
318
|
+
this.data.baseinfo.base.f_user_phone = Util.removerUnnecessary(this.data.baseinfo.base.f_user_phone)
|
|
319
|
+
this.data.meterinfo.forEach((item) => {
|
|
320
|
+
item.f_meternumber = Util.removerUnnecessary(item.f_meternumber)
|
|
321
|
+
})
|
|
322
|
+
|
|
314
323
|
this.$FileManageService.fileSave(this.$FileManageService.fileSaveBefore(this.data)).then((res) => {
|
|
315
324
|
this.savePrintSheet(res.data.result[0])
|
|
316
325
|
this.$dispatch('success')
|
|
@@ -109,6 +109,7 @@
|
|
|
109
109
|
import UserPaperInfoTest from '../../../../components/FilesManage/UserPaperInfoTest'
|
|
110
110
|
import {HttpResetClass} from 'vue-client'
|
|
111
111
|
import FileManageService from '../../plugins/FileManageService'
|
|
112
|
+
import * as Util from '../../../../Util'
|
|
112
113
|
|
|
113
114
|
let getFileGen = async function (self, data) {
|
|
114
115
|
let http = new HttpResetClass()
|
|
@@ -305,6 +306,11 @@ export default {
|
|
|
305
306
|
}
|
|
306
307
|
this.seaching = true
|
|
307
308
|
console.log('档案保存之前,。。。', this.data)
|
|
309
|
+
this.data.baseinfo.base.f_user_name = Util.removerUnnecessary(this.data.baseinfo.base.f_user_name)
|
|
310
|
+
this.data.baseinfo.base.f_user_phone = Util.removerUnnecessary(this.data.baseinfo.base.f_user_phone)
|
|
311
|
+
this.data.meterinfo.forEach((item) => {
|
|
312
|
+
item.f_meternumber = Util.removerUnnecessary(item.f_meternumber)
|
|
313
|
+
})
|
|
308
314
|
if (this.data.meterinfo[0].f_gas_date != null) {
|
|
309
315
|
this.data.addressinfo.f_address_state = '已通气'
|
|
310
316
|
}
|
|
@@ -110,6 +110,7 @@ import UserPaperInfoTest from "../../../../components/FilesManage/UserPaperInfoT
|
|
|
110
110
|
import FileManageService from "../plugins/FileManageService";
|
|
111
111
|
|
|
112
112
|
import {HttpResetClass} from 'vue-client';
|
|
113
|
+
import * as Util from '../../../../Util'
|
|
113
114
|
|
|
114
115
|
let getFileGen = async function (self, data) {
|
|
115
116
|
let http = new HttpResetClass()
|
|
@@ -313,6 +314,11 @@ export default {
|
|
|
313
314
|
}
|
|
314
315
|
this.seaching = true
|
|
315
316
|
console.log('档案保存之前,。。。', this.data)
|
|
317
|
+
this.data.baseinfo.base.f_user_name = Util.removerUnnecessary(this.data.baseinfo.base.f_user_name)
|
|
318
|
+
this.data.baseinfo.base.f_user_phone = Util.removerUnnecessary(this.data.baseinfo.base.f_user_phone)
|
|
319
|
+
this.data.meterinfo.forEach((item) => {
|
|
320
|
+
item.f_meternumber = Util.removerUnnecessary(item.f_meternumber)
|
|
321
|
+
})
|
|
316
322
|
if (this.data.meterinfo[0].f_gas_date != null) {
|
|
317
323
|
this.data.addressinfo.f_address_state = '已通气'
|
|
318
324
|
}
|
|
@@ -69,6 +69,7 @@
|
|
|
69
69
|
<script>
|
|
70
70
|
import UserPaperInfoTest from '../../components/FilesManageNew/UserPaperInfoTest.vue'
|
|
71
71
|
import {HttpResetClass} from 'vue-client'
|
|
72
|
+
import * as Util from '../../Util'
|
|
72
73
|
|
|
73
74
|
let getFileGen = async function (self, data) {
|
|
74
75
|
let http = new HttpResetClass()
|
|
@@ -79,10 +80,29 @@ let getFileGen = async function (self, data) {
|
|
|
79
80
|
if (result.data.meterinfo.length === 0) {
|
|
80
81
|
// 预备户可以不填表具信息 所以修正时如果没有表具信息 则初始化一个
|
|
81
82
|
result.data.meterinfo.push({
|
|
82
|
-
f_meternumber: '',
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
83
|
+
f_meternumber: '',
|
|
84
|
+
f_metertitles: '',
|
|
85
|
+
f_area_code: '',
|
|
86
|
+
gasbrand: '',
|
|
87
|
+
gasmodel: '',
|
|
88
|
+
gasmodeltype: '',
|
|
89
|
+
pricetype: '',
|
|
90
|
+
pricename: '',
|
|
91
|
+
f_user_type: '',
|
|
92
|
+
f_gasproperties: '',
|
|
93
|
+
f_inputtor: '',
|
|
94
|
+
f_position: '',
|
|
95
|
+
f_userfiles_address: '',
|
|
96
|
+
f_usetype: '',
|
|
97
|
+
f_usestate: '',
|
|
98
|
+
f_aroundmeter: '',
|
|
99
|
+
f_garbage_fee: '否',
|
|
100
|
+
f_meter_base: '',
|
|
101
|
+
f_initial_base: '',
|
|
102
|
+
f_gas_person: '',
|
|
103
|
+
f_adjustable: '',
|
|
104
|
+
f_detailprice: '',
|
|
105
|
+
devicesinfo: []
|
|
86
106
|
})
|
|
87
107
|
}
|
|
88
108
|
|
|
@@ -310,6 +330,13 @@ export default {
|
|
|
310
330
|
if (this.row) {
|
|
311
331
|
this.data.baseinfo.base.version = this.row.version
|
|
312
332
|
}
|
|
333
|
+
|
|
334
|
+
this.data.baseinfo.base.f_user_name = Util.removerUnnecessary(this.data.baseinfo.base.f_user_name)
|
|
335
|
+
this.data.baseinfo.base.f_user_phone = Util.removerUnnecessary(this.data.baseinfo.base.f_user_phone)
|
|
336
|
+
this.data.meterinfo.forEach((item) => {
|
|
337
|
+
item.f_meternumber = Util.removerUnnecessary(item.f_meternumber)
|
|
338
|
+
})
|
|
339
|
+
|
|
313
340
|
this.$FileManageService.fileSave(this.$FileManageService.fileSaveBefore(this.data)).then((res) => {
|
|
314
341
|
this.savePrintSheet(res.data.result[0])
|
|
315
342
|
this.$dispatch('success')
|
|
@@ -338,7 +365,7 @@ export default {
|
|
|
338
365
|
return new Blob([bytesCode], {type: 'image/jpeg'})
|
|
339
366
|
},
|
|
340
367
|
newPhoto (Imgbase64) {
|
|
341
|
-
console.log('imgbase----->',Imgbase64)
|
|
368
|
+
console.log('imgbase----->', Imgbase64)
|
|
342
369
|
let form = new FormData()
|
|
343
370
|
let xhr = new XMLHttpRequest()
|
|
344
371
|
let formDataBoundary = '----WebkitFormBoundary' + 'GaoPaiYi'
|
|
@@ -108,6 +108,7 @@
|
|
|
108
108
|
<script>
|
|
109
109
|
import UserPaperInfoTest from '../../components/FilesManage/UserPaperInfoTest.vue'
|
|
110
110
|
import {HttpResetClass} from 'vue-client'
|
|
111
|
+
import * as Util from '../../Util'
|
|
111
112
|
|
|
112
113
|
let getFileGen = async function (self, data) {
|
|
113
114
|
let http = new HttpResetClass()
|
|
@@ -316,6 +317,11 @@ export default {
|
|
|
316
317
|
}
|
|
317
318
|
this.seaching = true
|
|
318
319
|
console.log('档案保存之前,。。。', this.data)
|
|
320
|
+
this.data.baseinfo.base.f_user_name = Util.removerUnnecessary(this.data.baseinfo.base.f_user_name)
|
|
321
|
+
this.data.baseinfo.base.f_user_phone = Util.removerUnnecessary(this.data.baseinfo.base.f_user_phone)
|
|
322
|
+
this.data.meterinfo.forEach((item) => {
|
|
323
|
+
item.f_meternumber = Util.removerUnnecessary(item.f_meternumber)
|
|
324
|
+
})
|
|
319
325
|
if (this.data.meterinfo[0].f_gas_date != null) {
|
|
320
326
|
this.data.addressinfo.f_address_state = '已通气'
|
|
321
327
|
}
|
|
@@ -107,6 +107,7 @@
|
|
|
107
107
|
<script>
|
|
108
108
|
import UserPaperInfoTest from '../../components/FilesManage/UserPaperInfoTest'
|
|
109
109
|
import {HttpResetClass} from 'vue-client'
|
|
110
|
+
import * as Util from '../../Util'
|
|
110
111
|
|
|
111
112
|
let getFileGen = async function (self, data) {
|
|
112
113
|
|
|
@@ -310,6 +311,11 @@
|
|
|
310
311
|
this.data.baseinfo.base.version = this.row.version
|
|
311
312
|
}
|
|
312
313
|
console.log('档案保存之前,。。。', this.data)
|
|
314
|
+
this.data.baseinfo.base.f_user_name = Util.removerUnnecessary(this.data.baseinfo.base.f_user_name)
|
|
315
|
+
this.data.baseinfo.base.f_user_phone = Util.removerUnnecessary(this.data.baseinfo.base.f_user_phone)
|
|
316
|
+
this.data.meterinfo.forEach((item) => {
|
|
317
|
+
item.f_meternumber = Util.removerUnnecessary(item.f_meternumber)
|
|
318
|
+
})
|
|
313
319
|
if (this.data.meterinfo[0].f_gas_date != null) {
|
|
314
320
|
this.data.addressinfo.f_address_state = '已通气'
|
|
315
321
|
}
|
|
@@ -68,6 +68,7 @@
|
|
|
68
68
|
<script>
|
|
69
69
|
import UserPaperInfoTest from './UserPaperInfoTest'
|
|
70
70
|
import {HttpResetClass} from 'vue-client'
|
|
71
|
+
import * as Util from '../../../Util'
|
|
71
72
|
|
|
72
73
|
let getFileGen = async function (self, data) {
|
|
73
74
|
let http = new HttpResetClass()
|
|
@@ -218,6 +219,11 @@ export default {
|
|
|
218
219
|
this.data.baseinfo.base.version = this.row.version
|
|
219
220
|
}
|
|
220
221
|
console.log('档案保存之前,。。。', this.data)
|
|
222
|
+
this.data.baseinfo.base.f_user_name = Util.removerUnnecessary(this.data.baseinfo.base.f_user_name)
|
|
223
|
+
this.data.baseinfo.base.f_user_phone = Util.removerUnnecessary(this.data.baseinfo.base.f_user_phone)
|
|
224
|
+
this.data.meterinfo.forEach((item) => {
|
|
225
|
+
item.f_meternumber = Util.removerUnnecessary(item.f_meternumber)
|
|
226
|
+
})
|
|
221
227
|
this.fileSaveData = this.$FileManageService.fileSaveBefore(this.data)
|
|
222
228
|
this.$FileManageService.fileSave(this.fileSaveData).then((res) => {
|
|
223
229
|
this.$parent.resdata = res.data.result[0].f_userinfo_code
|
|
@@ -68,6 +68,7 @@
|
|
|
68
68
|
<script>
|
|
69
69
|
import UserPaperInfoTest from './UserPaperInfoTest'
|
|
70
70
|
import {HttpResetClass} from 'vue-client'
|
|
71
|
+
import * as Util from '../../../Util'
|
|
71
72
|
|
|
72
73
|
let getFileGen = async function (self, data) {
|
|
73
74
|
let http = new HttpResetClass()
|
|
@@ -294,6 +295,11 @@ export default {
|
|
|
294
295
|
this.data.baseinfo.base.version = this.row.version
|
|
295
296
|
}
|
|
296
297
|
console.log('档案保存之前,。。。', this.data)
|
|
298
|
+
this.data.baseinfo.base.f_user_name = Util.removerUnnecessary(this.data.baseinfo.base.f_user_name)
|
|
299
|
+
this.data.baseinfo.base.f_user_phone = Util.removerUnnecessary(this.data.baseinfo.base.f_user_phone)
|
|
300
|
+
this.data.meterinfo.forEach((item) => {
|
|
301
|
+
item.f_meternumber = Util.removerUnnecessary(item.f_meternumber)
|
|
302
|
+
})
|
|
297
303
|
this.$FileManageService.fileSave(this.$FileManageService.fileSaveBefore(this.data)).then((res) => {
|
|
298
304
|
this.savePrintSheet(res.data.result[0])
|
|
299
305
|
this.$dispatch('success')
|
|
@@ -476,12 +482,12 @@ export default {
|
|
|
476
482
|
// 用户电话
|
|
477
483
|
f_user_phone: '',
|
|
478
484
|
f_people_num: 0,
|
|
479
|
-
f_packaging:'',
|
|
485
|
+
f_packaging: '',
|
|
480
486
|
// 备用电话
|
|
481
487
|
f_rent_phone: '',
|
|
482
488
|
f_credentials: '身份证',
|
|
483
489
|
f_cost_type: '',
|
|
484
|
-
f_bz_type:'',
|
|
490
|
+
f_bz_type: '',
|
|
485
491
|
f_address: '',
|
|
486
492
|
addressid: '',
|
|
487
493
|
f_idnumber: ''
|
|
@@ -108,6 +108,7 @@
|
|
|
108
108
|
<script>
|
|
109
109
|
import UserPaperInfoTest from '../../../components/FilesManage/UserPaperInfoTest'
|
|
110
110
|
import {HttpResetClass} from 'vue-client'
|
|
111
|
+
import * as Util from '../../../Util'
|
|
111
112
|
|
|
112
113
|
let getFileGen = async function (self, data) {
|
|
113
114
|
let http = new HttpResetClass()
|
|
@@ -316,6 +317,11 @@ export default {
|
|
|
316
317
|
}
|
|
317
318
|
this.seaching = true
|
|
318
319
|
console.log('档案保存之前,。。。', this.data)
|
|
320
|
+
this.data.baseinfo.base.f_user_name = Util.removerUnnecessary(this.data.baseinfo.base.f_user_name)
|
|
321
|
+
this.data.baseinfo.base.f_user_phone = Util.removerUnnecessary(this.data.baseinfo.base.f_user_phone)
|
|
322
|
+
this.data.meterinfo.forEach((item) => {
|
|
323
|
+
item.f_meternumber = Util.removerUnnecessary(item.f_meternumber)
|
|
324
|
+
})
|
|
319
325
|
if (this.data.meterinfo[0].f_gas_date != null) {
|
|
320
326
|
this.data.addressinfo.f_address_state = '已通气'
|
|
321
327
|
}
|
|
@@ -71,6 +71,7 @@
|
|
|
71
71
|
<script>
|
|
72
72
|
import UserPaperInfoTest from './UserPaperInfoTest'
|
|
73
73
|
import {HttpResetClass} from 'vue-client'
|
|
74
|
+
import * as Util from '../../../Util'
|
|
74
75
|
|
|
75
76
|
let getFileGen = async function (self, data) {
|
|
76
77
|
let http = new HttpResetClass()
|
|
@@ -309,6 +310,11 @@ export default {
|
|
|
309
310
|
this.data.baseinfo.base.version = this.row.version
|
|
310
311
|
}
|
|
311
312
|
console.log('档案保存之前,。。。', this.data)
|
|
313
|
+
this.data.baseinfo.base.f_user_name = Util.removerUnnecessary(this.data.baseinfo.base.f_user_name)
|
|
314
|
+
this.data.baseinfo.base.f_user_phone = Util.removerUnnecessary(this.data.baseinfo.base.f_user_phone)
|
|
315
|
+
this.data.meterinfo.forEach((item) => {
|
|
316
|
+
item.f_meternumber = Util.removerUnnecessary(item.f_meternumber)
|
|
317
|
+
})
|
|
312
318
|
this.$FileManageService.fileSave(this.$FileManageService.fileSaveBefore(this.data)).then((res) => {
|
|
313
319
|
this.savePrintSheet(res.data.result[0])
|
|
314
320
|
this.$dispatch('success')
|
|
@@ -69,6 +69,7 @@
|
|
|
69
69
|
<script>
|
|
70
70
|
import UserPaperInfoTest from '../../components/FilesManage/UserPaperInfoTest'
|
|
71
71
|
import {HttpResetClass} from 'vue-client'
|
|
72
|
+
import * as Util from '../../Util'
|
|
72
73
|
|
|
73
74
|
let getFileGen = async function (self, data) {
|
|
74
75
|
let http = new HttpResetClass()
|
|
@@ -221,6 +222,11 @@ export default {
|
|
|
221
222
|
this.data.baseinfo.base.version = this.row.version
|
|
222
223
|
}
|
|
223
224
|
console.log('档案保存之前,。。。', this.data)
|
|
225
|
+
this.data.baseinfo.base.f_user_name = Util.removerUnnecessary(this.data.baseinfo.base.f_user_name)
|
|
226
|
+
this.data.baseinfo.base.f_user_phone = Util.removerUnnecessary(this.data.baseinfo.base.f_user_phone)
|
|
227
|
+
this.data.meterinfo.forEach((item) => {
|
|
228
|
+
item.f_meternumber = Util.removerUnnecessary(item.f_meternumber)
|
|
229
|
+
})
|
|
224
230
|
Object.assign(this.fileSaveData, {}, this.$FileManageService.fileSaveBefore(this.data))
|
|
225
231
|
this.$FileManageService.fileSave(this.fileSaveData).then((res) => {
|
|
226
232
|
this.$parent.resdata = res.data.result[0].f_userinfo_code
|