apply-clients 4.1.15-weinan → 4.1.17-weinan
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/package.json +1 -1
- package/src/applyAndroid.js +2 -1
- package/src/assets//345/210/240/351/231/244.png +0 -0
- package/src/components/app_apply/AppTakePic.vue +146 -0
- package/src/components/app_apply/ApplyToDoList.vue +1 -1
- package/src/components/app_apply/PlaceControler.vue +29 -24
- package/src/components/app_apply/ServiceControl.vue +20 -3
- package/src/components/app_apply/ServiceView.vue +12 -0
- package/src/components/product/Process/ExplorationUser.vue +134 -134
- package/src/components/product/Process/Service/ServiceControl.vue +71 -2
- package/src/components/product/ServiceView.vue +816 -802
- package/src/components/product/Supervisory/SupervisoryControl.vue +2 -2
- package/src/components/product/VueUtils/ApplyUpload.vue +276 -261
|
@@ -312,7 +312,7 @@ export default {
|
|
|
312
312
|
}
|
|
313
313
|
}
|
|
314
314
|
}
|
|
315
|
-
if (this.selectdata.defname === '现场勘察') {
|
|
315
|
+
if (this.selectdata.defname === '现场勘察'|| this.selectdata.defname ==='入户安装') {
|
|
316
316
|
for (const item of this.show_data.fields) {
|
|
317
317
|
if (item.label === '现场勘察人员' && !item.value) {
|
|
318
318
|
return item.value = this.$login.f.name
|
|
@@ -581,6 +581,75 @@ export default {
|
|
|
581
581
|
throw `还有${res.data[0].num}户未安装,无法提交`
|
|
582
582
|
}
|
|
583
583
|
}
|
|
584
|
+
if (
|
|
585
|
+
model.f_apply_type === '工商户报建' &&
|
|
586
|
+
model.button.button_name === '提交' &&
|
|
587
|
+
(model.defname === '设计出图' || model.defname === '竣工验收' || model.defname === '合同签订' )
|
|
588
|
+
) {
|
|
589
|
+
let http = new HttpResetClass()
|
|
590
|
+
let data = {
|
|
591
|
+
tablename: 't_files',
|
|
592
|
+
condition: `defname = '${model.defname}' and f_blobid = '${this.selectdata.f_process_id}'`
|
|
593
|
+
}
|
|
594
|
+
let res = await http.load('POST', 'rs/sql/singleTable', {data: data}, {
|
|
595
|
+
resolveMsg: null,
|
|
596
|
+
rejectMsg: '查询失败'
|
|
597
|
+
})
|
|
598
|
+
console.log("数据长度:" + res.data.length)
|
|
599
|
+
if (res.data.length <= 0) {
|
|
600
|
+
throw '请上传附件!!!'
|
|
601
|
+
}
|
|
602
|
+
|
|
603
|
+
}
|
|
604
|
+
if (
|
|
605
|
+
model.f_apply_type === '工商户报建' &&
|
|
606
|
+
model.button.button_name === '提交' &&
|
|
607
|
+
model.defname === '报建登记'
|
|
608
|
+
) {
|
|
609
|
+
let http = new HttpResetClass()
|
|
610
|
+
let data = {
|
|
611
|
+
tablename: 't_files',
|
|
612
|
+
condition: `defname = '${model.defname}' and f_blobid = '${this.selectdata.f_process_id}'`
|
|
613
|
+
}
|
|
614
|
+
let res = await http.load('POST', 'rs/sql/singleTable', {data: data}, {
|
|
615
|
+
resolveMsg: null,
|
|
616
|
+
rejectMsg: '查询失败'
|
|
617
|
+
})
|
|
618
|
+
console.log("数据长度:" , res.data)
|
|
619
|
+
if (res.data.length <= 0) {
|
|
620
|
+
throw '请上传附件!!!'
|
|
621
|
+
}
|
|
622
|
+
let inc=true
|
|
623
|
+
let name1 = ''
|
|
624
|
+
let wenjian = ['营业执照','身份证','非居民用户申请表','灶具五证','厨房设备布置设计图']
|
|
625
|
+
for (let name = 0;name<wenjian.length;name++){
|
|
626
|
+
let has=false
|
|
627
|
+
for (let i=0;i<res.data.length;i++){
|
|
628
|
+
if(res.data[i].f_filename.includes(wenjian[name])){
|
|
629
|
+
has=true
|
|
630
|
+
}
|
|
631
|
+
}
|
|
632
|
+
if(!has){
|
|
633
|
+
name1=name1+wenjian[name]+','
|
|
634
|
+
inc=false
|
|
635
|
+
}
|
|
636
|
+
}
|
|
637
|
+
if (inc==false){
|
|
638
|
+
throw '请上传'+name1+'附件!!!'
|
|
639
|
+
}
|
|
640
|
+
/*for (let i=0;i<res.data.length;i++){
|
|
641
|
+
if (!(
|
|
642
|
+
res.data[i].f_filename.includes('营业执照')
|
|
643
|
+
|| res.data[i].f_filename.includes('身份证')
|
|
644
|
+
|| res.data[i].f_filename.includes('非居民用户申请表')
|
|
645
|
+
|| res.data[i].f_filename.includes('灶具五证')
|
|
646
|
+
|| res.data[i].f_filename.includes('厨房设备布置设计图')
|
|
647
|
+
)){
|
|
648
|
+
throw '请检查当前节点的附件,只能上传以下文件 营业执照/'
|
|
649
|
+
return
|
|
650
|
+
}
|
|
651
|
+
}*/
|
|
652
|
+
}
|
|
584
653
|
return model
|
|
585
654
|
},
|
|
586
655
|
// ========================= 武安 =================================
|
|
@@ -893,7 +962,7 @@ export default {
|
|
|
893
962
|
// }
|
|
894
963
|
// }
|
|
895
964
|
// }
|
|
896
|
-
if(this.show_data.defname === '现场勘察') {
|
|
965
|
+
if(this.show_data.defname === '现场勘察' || this.show_data.defname ==='入户安装') {
|
|
897
966
|
console.log("this.shdata",this.show_data)
|
|
898
967
|
if (this.show_data.fields[index].label === '是否具备安装条件') {
|
|
899
968
|
for (const button of this.show_data.buttons) {
|