apply-clients 7.1.36-1 → 7.1.36-yuchuan-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.
- package/build/dev-server.js +8 -2
- package/dist-android.7z +0 -0
- package/dist.7z +0 -0
- package/package.json +1 -1
- package/rebel.xml +16 -0
- package/src/AndroidApp.vue +35 -35
- package/src/apply.js +31 -4
- package/src/applyAndroid.js +83 -76
- package/src/components/android/AppSign.vue +13 -10
- package/src/components/android/Process/AppExplorationUser.vue +454 -454
- package/src/components/android/Process/AppServiceControl.vue +3 -3
- package/src/components/android/Process/Processes/AppChaiChuInfo.vue +546 -0
- package/src/components/android/Process/Processes/AppDevicesManagement.vue +2 -1
- package/src/components/android/Process/Processes/AppInstallationDetails.vue +69 -20
- package/src/components/android/Process/Processes/newAppDevicesManagement.vue +2 -1
- package/src/components/android/Process/Processes/newAppInstallationDetails.vue +5 -5
- package/src/components/android/Supervisory/AppProcessSupervisory.vue +334 -298
- package/src/components/android/Task/GuanXianJianShe/AppExplorationGuanXian.vue +432 -0
- package/src/components/android/Task/ShenHe/BuZhangShenHe.vue +64 -0
- package/src/components/android/Task/ShenHe/JingLiShenHe.vue +64 -0
- package/src/components/android/Task/UpBuild/UpJianLi.vue +98 -95
- package/src/components/product/ApplyCharge/ApplyChargeList.vue +27 -0
- package/src/components/product/ApplyGaiXianCharge/ApplyGaiXianChargeList.vue +198 -0
- package/src/components/product/ApplyGaiXianCharge/ApplyGaiXianChargeSearch.vue +30 -0
- package/src/components/product/ApplyGuanXian/GuanXianCaiLiao.vue +235 -0
- package/src/components/product/ApplyGuanXian/GuanXianExplorationSelect.vue +323 -0
- package/src/components/product/ApplyGuanXian/GuanXianExplorationUser.vue +144 -0
- package/src/components/product/ApplyGuanXian/GuanXianSupervisoryhCart.vue +119 -0
- package/src/components/product/ApplyGuanXian/TabButton.vue +157 -0
- package/src/components/product/ApplyGuanXian/Tabs.vue +67 -0
- package/src/components/product/Function/InstallInfoSelect.vue +370 -370
- package/src/components/product/Function/Service/FunctionServiceControl.vue +475 -475
- package/src/components/product/Ignition/IgnitionList.vue +236 -232
- package/src/components/product/Ignition/IgnitionListManage.vue +69 -28
- package/src/components/product/Ignition/IgnitionRecord.vue +56 -17
- package/src/components/product/List/ShowDevices.vue +279 -277
- package/src/components/product/Print/OrderPrint/printChaiChuOrder.vue +260 -0
- package/src/components/product/Process/ExplorationSelect.vue +581 -566
- package/src/components/product/Process/ExplorationUser.vue +158 -155
- package/src/components/product/Process/NewExplorationUser.vue +184 -0
- package/src/components/product/Process/Processes/ApplyChaiChuInfo.vue +587 -0
- package/src/components/product/Process/Processes/InstallationDetails.vue +86 -33
- package/src/components/product/Process/Processes/Print/printCharge.vue +5 -1
- package/src/components/product/Process/Processes/Print/printPaymentApproval.vue +224 -221
- package/src/components/product/Process/Processes/Print/printPaymentSubject.vue +170 -0
- package/src/components/product/Process/Processes/chargeManagement.vue +24 -6
- package/src/components/product/Process/Processes/devicesManagement.vue +2 -1
- package/src/components/product/Process/Processes/newInstallationDetails.vue +3 -3
- package/src/components/product/Process/Processes/selectChaiChuUserinfo.vue +230 -0
- package/src/components/product/Process/Processes/selectOldUserinfo.vue +241 -241
- package/src/components/product/Process/Service/ServiceControl.vue +178 -16
- package/src/components/product/Report/ReportItems.vue +79 -0
- package/src/components/product/Report/apply-stair-anzhuang.vue +361 -0
- package/src/components/product/Report/apply-stair-kaifa.vue +138 -0
- package/src/components/product/Report/apply-stair-tongqi.vue +137 -0
- package/src/components/product/Report/apply-stair-wtongqi.vue +138 -0
- package/src/components/product/ServiceView.vue +644 -632
- package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +594 -551
- package/src/components/product/Supervisory/SupervisoryList.vue +78 -26
- package/src/main.js +27 -27
- package/static/images/lefticon//347/273/274/345/220/210/344/270/232/345/212/241.png +0 -0
- package/static/images/lefticon//347/273/274/345/220/210/346/237/245/350/257/242.png +0 -0
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
<input class="form-control input_view" style=""
|
|
77
77
|
v-validate:f_user_name = "['required']"
|
|
78
78
|
v-model="userinfo.f_user_name"
|
|
79
|
-
:value.sync="
|
|
79
|
+
:value.sync="showUserInformation.f_user_name"
|
|
80
80
|
:readonly="mark === 1"
|
|
81
81
|
placeholder="客户名称"/>
|
|
82
82
|
</div>
|
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
<div class="col-xs-8">
|
|
87
87
|
<input class="form-control input_view" style=""
|
|
88
88
|
v-model="userinfo.f_user_phone"
|
|
89
|
-
:value.sync="
|
|
89
|
+
:value.sync="showUserInformation.f_user_phone"
|
|
90
90
|
:readonly="mark === 1"
|
|
91
91
|
placeholder="客户电话"/>
|
|
92
92
|
</div>
|
|
@@ -96,7 +96,7 @@
|
|
|
96
96
|
<div class="col-xs-8">
|
|
97
97
|
<input-select
|
|
98
98
|
class="select select_list"
|
|
99
|
-
:value.sync="
|
|
99
|
+
:value.sync="showUserInformation.f_credentials"
|
|
100
100
|
v-model="userinfo.f_credentials"
|
|
101
101
|
:options="credentialsList"
|
|
102
102
|
:disable="mark === 1"
|
|
@@ -109,7 +109,7 @@
|
|
|
109
109
|
<input class="form-control input_view" style=""
|
|
110
110
|
placeholder="证件号码"
|
|
111
111
|
v-model="userinfo.f_idnumber"
|
|
112
|
-
:value="
|
|
112
|
+
:value="showUserInformation.f_idnumber"
|
|
113
113
|
:readonly="mark === 1"/>
|
|
114
114
|
</div>
|
|
115
115
|
</div>
|
|
@@ -257,16 +257,16 @@
|
|
|
257
257
|
placeholder="表读数"
|
|
258
258
|
v-model="userfile.f_meter_base"
|
|
259
259
|
:value="userfile.f_meter_base"
|
|
260
|
-
:readonly="
|
|
260
|
+
:readonly="false"/>
|
|
261
261
|
</div>
|
|
262
262
|
</div>
|
|
263
|
-
<div class="form-group row vertical-center">
|
|
263
|
+
<div class="form-group row vertical-center" v-show="false">
|
|
264
264
|
<label class="col-xs-4 control-label">初始底数:</label>
|
|
265
265
|
<div class="col-xs-8">
|
|
266
266
|
<input class="form-control input_view" style=""
|
|
267
267
|
type="number"
|
|
268
268
|
v-model="userfile.f_initial_base"
|
|
269
|
-
:value="userfile.
|
|
269
|
+
:value="userfile.f_meter_base"
|
|
270
270
|
placeholder="初始底数"
|
|
271
271
|
:readonly="mark === 1"/>
|
|
272
272
|
</div>
|
|
@@ -325,6 +325,29 @@
|
|
|
325
325
|
</footer>
|
|
326
326
|
</modal>
|
|
327
327
|
</validator>
|
|
328
|
+
<validator name="x">
|
|
329
|
+
<modal v-if="showDeleteModel" :show.sync="showDeleteModel" v-ref:modal :large="true" :backdrop="false">
|
|
330
|
+
<header slot="modal-header" class="modal-header">
|
|
331
|
+
<button type="button" class="close" @click="closeUserFile"><span>×</span></button>
|
|
332
|
+
<h4 class="modal-title">销户原因</h4>
|
|
333
|
+
</header>
|
|
334
|
+
<article slot="modal-body" class="modal-body clearfix">
|
|
335
|
+
<div class="form-group row vertical-center" :class="[$v.f_cancel_cause.required ? 'has-error' : '']">
|
|
336
|
+
<label class="col-xs-2 control-label">销户原因:</label>
|
|
337
|
+
<div class="col-xs-10">
|
|
338
|
+
<input class="form-control input_view" style=""
|
|
339
|
+
placeholder="销户原因"
|
|
340
|
+
v-validate:f_cancel_cause = "['required']"
|
|
341
|
+
v-model="userinfo.f_cancel_cause"
|
|
342
|
+
:value.sync="userinfo.f_cancel_cause"/>
|
|
343
|
+
</div>
|
|
344
|
+
</div>
|
|
345
|
+
</article>
|
|
346
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
347
|
+
<button type="button" class="btn btn-primary" @click="deleteUser" :disabled="!$x.valid">确认</button>
|
|
348
|
+
</footer>
|
|
349
|
+
</modal>
|
|
350
|
+
</validator>
|
|
328
351
|
</div>
|
|
329
352
|
|
|
330
353
|
</template>
|
|
@@ -357,8 +380,10 @@ export default {
|
|
|
357
380
|
userfile: {},
|
|
358
381
|
meterBrandList: [],
|
|
359
382
|
gasModelList: [],
|
|
383
|
+
showUserInformation: {},
|
|
360
384
|
scanCodeConfig: null,
|
|
361
|
-
gasbrandDisable: false
|
|
385
|
+
gasbrandDisable: false,
|
|
386
|
+
showDeleteModel: false
|
|
362
387
|
}
|
|
363
388
|
},
|
|
364
389
|
ready () {
|
|
@@ -439,8 +464,8 @@ export default {
|
|
|
439
464
|
|
|
440
465
|
for (const item of this.meterBrandList) {
|
|
441
466
|
if (item.label === factory) {
|
|
442
|
-
this.userfile.f_gasbrand_id = item.value
|
|
443
|
-
this.gasbrandChange()
|
|
467
|
+
// this.userfile.f_gasbrand_id = item.value
|
|
468
|
+
// this.gasbrandChange()
|
|
444
469
|
break
|
|
445
470
|
}
|
|
446
471
|
}
|
|
@@ -450,12 +475,22 @@ export default {
|
|
|
450
475
|
this.meternumberValidate()
|
|
451
476
|
},
|
|
452
477
|
async deleteUserinfo (row) {
|
|
478
|
+
this.userinfo = row
|
|
453
479
|
let res = await this.$showMessage('此操作不可撤回,您确定要删除这条记录吗?')
|
|
454
480
|
if (res === 'cancel') {
|
|
455
481
|
return
|
|
456
482
|
}
|
|
483
|
+
this.showDeleteModel = !this.showDeleteModel
|
|
484
|
+
},
|
|
485
|
+
async deleteUser () {
|
|
486
|
+
let res = await this.$showMessage('此操作不可撤回,您确定要删除这条记录吗?')
|
|
487
|
+
if (res === 'cancel') {
|
|
488
|
+
return
|
|
489
|
+
}
|
|
490
|
+
|
|
457
491
|
let data = {
|
|
458
|
-
|
|
492
|
+
login: Vue.user,
|
|
493
|
+
userinfo: this.userinfo,
|
|
459
494
|
selectdata: this.selectdata
|
|
460
495
|
}
|
|
461
496
|
res = await this.$resetpost(`${this.$androidUtil.getProxyUrl()}/rs/logic/applyDeleteUserinfo`, {data:data}, {
|
|
@@ -467,7 +502,13 @@ export default {
|
|
|
467
502
|
},
|
|
468
503
|
// 保存档案
|
|
469
504
|
async saveUserFile() {
|
|
470
|
-
this.
|
|
505
|
+
if (this.selectdata.defname === '工程施工') {
|
|
506
|
+
this.meternumberValidate()
|
|
507
|
+
if (this.userfile.f_meter_base - 0 === 0 || this.userfile.f_meter_base - 0 > 1.5) {
|
|
508
|
+
this.$showAlert('表读数必须大于0小于或等于1.5!', 'warning', 3000)
|
|
509
|
+
throw '表读数必须大于0小于或等于1.5!'
|
|
510
|
+
}
|
|
511
|
+
}
|
|
471
512
|
let data = {
|
|
472
513
|
user: Vue.user,
|
|
473
514
|
userinfo: this.userinfo,
|
|
@@ -481,7 +522,7 @@ export default {
|
|
|
481
522
|
this.$dispatch('breakControl', this.selectdata)
|
|
482
523
|
},
|
|
483
524
|
ifDisable() {
|
|
484
|
-
if (
|
|
525
|
+
if ( this.selectdata.defname === '工程施工') {
|
|
485
526
|
this.gasbrandDisable = true
|
|
486
527
|
}
|
|
487
528
|
},
|
|
@@ -637,14 +678,10 @@ export default {
|
|
|
637
678
|
this.gasModelList = res.data
|
|
638
679
|
}
|
|
639
680
|
}
|
|
640
|
-
if (
|
|
641
|
-
if (!this.selectdata.f_residential_area_id){
|
|
642
|
-
this.$showAlert('请选择小区/巷道后添加用户', 'warning', 3000)
|
|
643
|
-
return
|
|
644
|
-
}
|
|
681
|
+
if (this.selectdata.f_residential_area_id) {
|
|
645
682
|
let data = {
|
|
646
683
|
tablename: 't_area_address',
|
|
647
|
-
condition: `id = ${this.selectdata.f_residential_area_id}`
|
|
684
|
+
condition: `id = '${this.selectdata.f_residential_area_id}'`
|
|
648
685
|
}
|
|
649
686
|
let http = new HttpResetClass()
|
|
650
687
|
let res = await http.load(
|
|
@@ -653,13 +690,24 @@ export default {
|
|
|
653
690
|
{data: data},
|
|
654
691
|
{resolveMsg: null, rejectMsg: '小区查询失败!!!'}
|
|
655
692
|
)
|
|
693
|
+
|
|
656
694
|
this.area = res.data[0]
|
|
657
695
|
this.selectArea(this.area.f_residential_area)
|
|
658
696
|
this.changeArea()
|
|
659
697
|
this.addressSplicing()
|
|
660
698
|
}
|
|
661
699
|
|
|
662
|
-
|
|
700
|
+
// 档案回填定位信息
|
|
701
|
+
this.userinfo.f_lng = this.selectdata.f_lng
|
|
702
|
+
this.userinfo.f_lat = this.selectdata.f_lat
|
|
703
|
+
this.userinfo.f_location_address = this.selectdata.f_order_address
|
|
704
|
+
if(!row){
|
|
705
|
+
// 档案回填用户信息
|
|
706
|
+
this.showUserInformation.f_user_name = this.selectdata.f_user_name
|
|
707
|
+
this.showUserInformation.f_user_phone = this.selectdata.f_phone
|
|
708
|
+
this.showUserInformation.f_credentials = this.selectdata.f_credentials
|
|
709
|
+
this.showUserInformation.f_idnumber = this.selectdata.f_idnumber
|
|
710
|
+
}
|
|
663
711
|
this.showModal = true
|
|
664
712
|
},
|
|
665
713
|
// 获取气表品牌
|
|
@@ -745,6 +793,7 @@ export default {
|
|
|
745
793
|
this.userinfo = {}
|
|
746
794
|
this.userfile = {}
|
|
747
795
|
this.gasModelList = {}
|
|
796
|
+
this.showDeleteModel = false
|
|
748
797
|
this.search()
|
|
749
798
|
}
|
|
750
799
|
},
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
<div>
|
|
4
4
|
<div class="col-xs-12 col-xs-12 form-group app-btn">
|
|
5
|
-
<button class="btn btn-info" @click.prevent="openDevicesModal()" :disabled="mark === 1">添加</button
|
|
5
|
+
<!-- <button class="btn btn-info" @click.prevent="openDevicesModal()" :disabled="mark === 1">添加</button>-->
|
|
6
6
|
</div>
|
|
7
7
|
<div class="col-xs-12 col-xs-12">
|
|
8
8
|
<list :model="model" partial='list'>
|
|
@@ -206,6 +206,7 @@ export default {
|
|
|
206
206
|
return
|
|
207
207
|
}
|
|
208
208
|
let data = {
|
|
209
|
+
login: Vue.user,
|
|
209
210
|
userinfo: row,
|
|
210
211
|
selectdata: this.selectdata
|
|
211
212
|
}
|
|
@@ -406,8 +406,8 @@ export default {
|
|
|
406
406
|
|
|
407
407
|
for (const item of this.meterBrandList) {
|
|
408
408
|
if (item.label === factory) {
|
|
409
|
-
this.userfile.f_gasbrand_id = item.value
|
|
410
|
-
this.gasbrandChange()
|
|
409
|
+
// this.userfile.f_gasbrand_id = item.value
|
|
410
|
+
// this.gasbrandChange()
|
|
411
411
|
break
|
|
412
412
|
}
|
|
413
413
|
}
|
|
@@ -443,10 +443,10 @@ export default {
|
|
|
443
443
|
this.$showAlert('请先选择气表品牌!!!', 'warning', 3000)
|
|
444
444
|
return
|
|
445
445
|
}
|
|
446
|
-
if (this.newUserfile.
|
|
446
|
+
if (this.newUserfile.f_new_gasbrand_id && this.newUserfile.f_new_meternumber) {
|
|
447
447
|
let data = {
|
|
448
|
-
f_meternumber: this.newUserfile.
|
|
449
|
-
f_gasbrand_id: this.newUserfile.
|
|
448
|
+
f_meternumber: this.newUserfile.f_new_meternumber,
|
|
449
|
+
f_gasbrand_id: this.newUserfile.f_new_gasbrand_id
|
|
450
450
|
}
|
|
451
451
|
if (this.newUserfile.f_user_id) {
|
|
452
452
|
data.f_user_id = this.newUserfile.f_user_id
|