apply-clients 3.4.2-FuGu-25 → 3.4.2-FuGu-28
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 +2 -2
- package/package.json +2 -2
- package/src/apply.js +77 -77
- package/src/components/android/AppTakePic.vue +143 -143
- package/src/components/android/Process/AppExplorationUser.vue +301 -301
- package/src/components/android/Process/AppServiceControl.vue +46 -28
- package/src/components/android/Process/Processes/AppInstallationDetails.vue +10 -8
- package/src/components/product/Function/InstallInfoSelect.vue +300 -300
- package/src/components/product/Function/Service/FunctionServiceControl.vue +443 -443
- package/src/components/product/Process/ExplorationSelect.vue +386 -386
- package/src/components/product/Process/Print/dispatchlist.vue +139 -139
- package/src/components/product/Process/Print/printCharge.vue +142 -142
- package/src/components/product/Process/Processes/dispatchdetails.vue +123 -123
- package/src/components/product/Process/Service/ServiceControl.vue +15 -4
- package/src/components/product/Stop/StopApplyList.vue +269 -269
- package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +193 -193
- package/src/components/product/Supervisory/SupervisoryControl.vue +110 -110
- package/src/components/product/Supervisory/SupervisoryList.vue +237 -237
- package/src/components/product/VueUtils/ApplyUpload.vue +273 -273
- package/src/dingding.js +20 -20
- package/dist-android/static/doc.jpg +0 -0
- package/dist-android/static/images/lefticon//345/215/241/346/234/215/345/212/241/347/256/241/347/220/206.png +0 -0
- package/dist-android/static/images/lefticon//345/221/274/345/217/253/347/263/273/347/273/237.png +0 -0
- package/dist-android/static/images/lefticon//345/224/256/346/260/224/346/224/266/350/264/271.png +0 -0
- package/dist-android/static/images/lefticon//345/233/276/345/261/2023/346/213/267/350/264/2354.png +0 -0
- package/dist-android/static/images/lefticon//345/233/276/345/261/202577.png +0 -0
- package/dist-android/static/images/lefticon//345/233/276/345/261/2028/346/213/267/350/264/23513.png +0 -0
- package/dist-android/static/images/lefticon//345/256/211/346/243/200/346/237/245/347/234/213.png +0 -0
- package/dist-android/static/images/lefticon//345/256/211/346/243/200/350/256/241/345/210/222.png +0 -0
- package/dist-android/static/images/lefticon//345/276/256/344/277/241/346/234/215/345/212/241.png +0 -0
- package/dist-android/static/images/lefticon//346/212/245/345/273/272/347/263/273/347/273/237.png +0 -0
- package/dist-android/static/images/lefticon//346/212/245/350/241/250/346/237/245/350/257/242.png +0 -0
- package/dist-android/static/images/lefticon//346/227/245/345/270/270/347/256/241/347/220/206.png +0 -0
- package/dist-android/static/images/lefticon//346/234/272/350/241/250/347/256/241/347/220/206.png +0 -0
- package/dist-android/static/images/lefticon//346/237/245/350/257/242/345/210/227/350/241/250.png +0 -0
- package/dist-android/static/images/lefticon//346/241/243/346/241/210/347/256/241/347/220/206.png +0 -0
- package/dist-android/static/images/lefticon//347/211/251/350/201/224/347/275/221/350/241/250.png +0 -0
- package/dist-android/static/images/lefticon//347/263/273/347/273/237/347/256/241/347/220/206.png +0 -0
- package/dist-android/static/images/lefticon//347/263/273/347/273/237/350/256/276/347/275/256.png +0 -0
- package/dist-android/static/images/lefticon//347/273/217/350/220/245/347/256/241/346/216/247.png +0 -0
- package/dist-android/static/images/lefticon//347/273/274/345/220/210/344/270/232/345/212/241.png +0 -0
- package/dist-android/static/images/lefticon//347/273/274/345/220/210/346/237/245/350/257/242.png +0 -0
- package/dist-android/static/images/lefticon//350/217/234/345/215/225/344/274/270/347/274/251.png +0 -0
- package/dist-android/static/images/lefticon//351/200/200/345/207/272/347/263/273/347/273/237.png +0 -0
- package/dist-android/static/imgerror.jpg +0 -0
- package/dist-android/static/newStyle/clear.png +0 -0
- package/dist-android/static/newStyle/fife.png +0 -0
- package/dist-android/static/newStyle/hidden.png +0 -0
- package/dist-android/static/newStyle/label-clear.png +0 -0
- package/dist-android/static/newStyle/left-img.png +0 -0
- package/dist-android/static/newStyle/list_ok.png +0 -0
- package/dist-android/static/newStyle/login-check.png +0 -0
- package/dist-android/static/newStyle/login-con.png +0 -0
- package/dist-android/static/newStyle/login-do.gif +0 -0
- package/dist-android/static/newStyle/login-f.png +0 -0
- package/dist-android/static/newStyle/login-info.png +0 -0
- package/dist-android/static/newStyle/login-left.png +0 -0
- package/dist-android/static/newStyle/login-org.png +0 -0
- package/dist-android/static/newStyle/login-pwd.png +0 -0
- package/dist-android/static/newStyle/login-user.png +0 -0
- package/dist-android/static/newStyle/loginbg.gif +0 -0
- package/dist-android/static/newStyle/loginbg1280.gif +0 -0
- package/dist-android/static/newStyle/loginbg1366.gif +0 -0
- package/dist-android/static/newStyle/setting.png +0 -0
- package/dist-android/static/newStyle/setting1.png +0 -0
- package/dist-android/static/newStyle/shirk.png +0 -0
- package/dist-android/static/newStyle/stretch_bottom.png +0 -0
- package/dist-android/static/newStyle/stretch_left.png +0 -0
- package/dist-android/static/newStyle/stretch_right.png +0 -0
- package/dist-android/static/newStyle/stretch_top.png +0 -0
- package/dist-android/static/newStyle/system-off.png +0 -0
- package/dist-android/static/pdf.jpg +0 -0
|
@@ -374,7 +374,7 @@ export default {
|
|
|
374
374
|
})
|
|
375
375
|
if (res.data.length > 0) {
|
|
376
376
|
this.show_data.fields[index].value = null
|
|
377
|
-
this.$
|
|
377
|
+
this.$showMessage(`${this.show_data.fields[index].label}已存在!!!`)
|
|
378
378
|
}
|
|
379
379
|
},
|
|
380
380
|
async breakControl () {
|
|
@@ -382,7 +382,7 @@ export default {
|
|
|
382
382
|
let data = {
|
|
383
383
|
condition: `u.id = ${this.show_data.id}`,
|
|
384
384
|
data: {
|
|
385
|
-
|
|
385
|
+
userid: Vue.user.id,
|
|
386
386
|
orgid: Vue.user.orgid
|
|
387
387
|
// id: '51953',
|
|
388
388
|
// orgid: '10101'
|
|
@@ -478,28 +478,6 @@ export default {
|
|
|
478
478
|
}
|
|
479
479
|
}))
|
|
480
480
|
},
|
|
481
|
-
// 获取施工负责人
|
|
482
|
-
async getWorker () {
|
|
483
|
-
let data = {
|
|
484
|
-
source: 'this.getParentByType($organization$).getChildByName($安装员$).getChildren()',
|
|
485
|
-
userid: this.$login.f.id
|
|
486
|
-
}
|
|
487
|
-
|
|
488
|
-
let http = new HttpResetClass()
|
|
489
|
-
let res = await http.load(
|
|
490
|
-
'POST',
|
|
491
|
-
`${this.$androidUtil.getProxyUrl()}/rs/search`,
|
|
492
|
-
{data: data},
|
|
493
|
-
{resolveMsg: null, rejectMsg: '施工负责人查询失败!!!'}
|
|
494
|
-
)
|
|
495
|
-
|
|
496
|
-
return res.data.map(item => {
|
|
497
|
-
return {
|
|
498
|
-
label: item.name,
|
|
499
|
-
value: item.name
|
|
500
|
-
}
|
|
501
|
-
})
|
|
502
|
-
},
|
|
503
481
|
async streetChange () {
|
|
504
482
|
if (isEmpty(this.show_data.f_street)) {
|
|
505
483
|
return
|
|
@@ -527,10 +505,11 @@ export default {
|
|
|
527
505
|
// 缴费前置
|
|
528
506
|
chargeBefore () {
|
|
529
507
|
if (Number(this.show_data.f_due_money) > Number(this.show_data.f_cumulative_payment_money) || Number(this.show_data.f_surplus_money) > 0) {
|
|
530
|
-
this.$
|
|
508
|
+
this.$showMessage("费用未结清!!!")
|
|
531
509
|
throw null
|
|
532
510
|
}
|
|
533
511
|
},
|
|
512
|
+
|
|
534
513
|
// 施工前置
|
|
535
514
|
async constructionBefore () {
|
|
536
515
|
let http = new HttpResetClass()
|
|
@@ -546,7 +525,7 @@ export default {
|
|
|
546
525
|
rejectMsg: '安装明细查询失败!!!'
|
|
547
526
|
})
|
|
548
527
|
if (res.data[0].num > 0) {
|
|
549
|
-
this.$
|
|
528
|
+
this.$showMessage(`还有${res.data[0].num}户未安装,无法提交`)
|
|
550
529
|
throw `还有${res.data[0].num}户未安装,无法提交`
|
|
551
530
|
}
|
|
552
531
|
},
|
|
@@ -584,7 +563,46 @@ export default {
|
|
|
584
563
|
value: item
|
|
585
564
|
}
|
|
586
565
|
})
|
|
587
|
-
}
|
|
566
|
+
},
|
|
567
|
+
// 获取施工负责人
|
|
568
|
+
async getWorker () {
|
|
569
|
+
let data = {
|
|
570
|
+
source: 'this.getParentByType($organization$).getChildByName($安装员$).getChildren()',
|
|
571
|
+
userid: Vue.user.id
|
|
572
|
+
}
|
|
573
|
+
|
|
574
|
+
let http = new HttpResetClass()
|
|
575
|
+
let res = await http.load(
|
|
576
|
+
'POST',
|
|
577
|
+
`${this.$androidUtil.getProxyUrl()}/rs/search`,
|
|
578
|
+
{data: data},
|
|
579
|
+
{resolveMsg: null, rejectMsg: '施工负责人查询失败!!!'}
|
|
580
|
+
)
|
|
581
|
+
|
|
582
|
+
return res.data.map(item => {
|
|
583
|
+
return {
|
|
584
|
+
label: item.name,
|
|
585
|
+
value: item.name
|
|
586
|
+
}
|
|
587
|
+
})
|
|
588
|
+
},
|
|
589
|
+
async addressCheck() {
|
|
590
|
+
let data = {
|
|
591
|
+
tablename: 't_user_address',
|
|
592
|
+
condition: `f_address_state != '作废' and f_orgid = '${Vue.user.orgid}' and f_address = '${this.show_data.f_address}' `
|
|
593
|
+
}
|
|
594
|
+
let http = new HttpResetClass()
|
|
595
|
+
let res = await http.load(
|
|
596
|
+
'POST',
|
|
597
|
+
`${this.$androidUtil.getProxyUrl()}/rs/sql/singleTable`,
|
|
598
|
+
{data: data},
|
|
599
|
+
{resolveMsg: null, rejectMsg: '地址查询失败!!!'}
|
|
600
|
+
)
|
|
601
|
+
if (res.data.length > 0){
|
|
602
|
+
this.$showMessage('地址已存在,请修改后提交!!!')
|
|
603
|
+
throw null
|
|
604
|
+
}
|
|
605
|
+
},
|
|
588
606
|
},
|
|
589
607
|
events: {
|
|
590
608
|
'breakControl' () {
|
|
@@ -891,7 +909,7 @@ export default {
|
|
|
891
909
|
this.show_data.start_activity = this.json_datas.start_activity
|
|
892
910
|
this.show_data.xmlfilename = this.json_datas.workflow_xmlfilename
|
|
893
911
|
|
|
894
|
-
let res = await
|
|
912
|
+
let res = await Vue.resetpost(
|
|
895
913
|
// `rs/logic/ApplyProductService`,
|
|
896
914
|
`${this.$androidUtil.getProxyUrl()}/rs/logic/ApplyProductService`,
|
|
897
915
|
{data: this.show_data},
|
|
@@ -246,7 +246,7 @@ export default {
|
|
|
246
246
|
rejectMsg: '表具添加失败!!!'
|
|
247
247
|
})
|
|
248
248
|
|
|
249
|
-
this.
|
|
249
|
+
this.$dispatch('breakControl', this.selectdata)
|
|
250
250
|
},
|
|
251
251
|
// 检查表号是否存在
|
|
252
252
|
async meternumberValidate(i) {
|
|
@@ -311,16 +311,18 @@ export default {
|
|
|
311
311
|
this.userinfo = res.data
|
|
312
312
|
|
|
313
313
|
// 已有表具的 气表信息补充
|
|
314
|
-
for (
|
|
314
|
+
for (let i = 0; i < this.userinfo.userfiles.length; i++) {
|
|
315
315
|
for (const item of this.meterbrands) {
|
|
316
|
-
if (item.value.id ===
|
|
317
|
-
|
|
316
|
+
if (item.value.id === this.userinfo.userfiles[i].f_gasbrand_id) {
|
|
317
|
+
// this.userinfo.userfiles[i].gasbrand = item.value // 防止双向绑定失败
|
|
318
|
+
Vue.set(this.userinfo.userfiles[i], 'gasbrand', item.value)
|
|
318
319
|
}
|
|
319
320
|
}
|
|
320
|
-
if (
|
|
321
|
-
for (const item of
|
|
322
|
-
if (item.value.id ===
|
|
323
|
-
|
|
321
|
+
if (this.userinfo.userfiles[i].gasbrand) {
|
|
322
|
+
for (const item of this.userinfo.userfiles[i].gasbrand.gasmodel) {
|
|
323
|
+
if (item.value.id === this.userinfo.userfiles[i].f_gasmodel_id) {
|
|
324
|
+
// this.userinfo.userfiles[i].gasmodel = item.value
|
|
325
|
+
Vue.set(this.userinfo.userfiles[i], 'gasmodel', item.value)
|
|
324
326
|
}
|
|
325
327
|
}
|
|
326
328
|
}
|