apply-clients 5.0.35-47 → 5.0.35-48
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/apply.js +160 -156
- package/src/components/image/doc.jpg +0 -0
- package/src/components/image/dwg.png +0 -0
- package/src/components/image/dxf.png +0 -0
- package/src/components/image/excel.jpg +0 -0
- package/src/components/image/pdf.jpg +0 -0
- package/src/components/product/EngineeringManagement/EngineerUpload.vue +306 -0
- package/src/components/product/EngineeringManagement/EngineeringManagement.vue +136 -0
- package/src/components/product/EngineeringManagement/EngineeringSelect.vue +589 -0
- package/src/components/product/Process/Processes/Service/ApplyChargeSearch.vue +391 -391
- package/src/components/product/Process/Processes/Service/ServiceControl.vue +89 -5
- package/src/components/product/ServiceView.vue +811 -811
- package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +453 -453
- package/yarn-error.log +9175 -0
|
@@ -916,6 +916,40 @@
|
|
|
916
916
|
}
|
|
917
917
|
}
|
|
918
918
|
}
|
|
919
|
+
if (this.show_data.defname === '施工') {
|
|
920
|
+
let http = new HttpResetClass()
|
|
921
|
+
let data = {
|
|
922
|
+
f_process_id: this.show_data.f_process_id,
|
|
923
|
+
defname: this.show_data.defname
|
|
924
|
+
}
|
|
925
|
+
let res = await http.load('POST', 'rs/sql/getFileNames', {data:data},
|
|
926
|
+
{resolveMsg: null, rejectMsg: null})
|
|
927
|
+
|
|
928
|
+
// for (let i = 0; i < res.length; i++){
|
|
929
|
+
// this.data.f_project_material += res.data.fusetype + ','
|
|
930
|
+
// }
|
|
931
|
+
res.data.forEach(item =>{
|
|
932
|
+
this.show_data.f_project_material += item.fusetype + ','
|
|
933
|
+
})
|
|
934
|
+
}
|
|
935
|
+
// if (this.show_data.defname === '施工验收') {
|
|
936
|
+
// let http = new HttpResetClass()
|
|
937
|
+
// let data = {
|
|
938
|
+
// f_process_id: this.show_data.f_process_id,
|
|
939
|
+
// defname: this.show_data.defname
|
|
940
|
+
// }
|
|
941
|
+
// let res = await http.load('POST', 'rs/sql/getFileNames', {data:data},
|
|
942
|
+
// {resolveMsg: null, rejectMsg: null})
|
|
943
|
+
// this.show_data.f_iscomplete_information = ''
|
|
944
|
+
// res.data.forEach(item =>{
|
|
945
|
+
// this.show_data.f_iscomplete_information += item.fusetype + ','
|
|
946
|
+
// })
|
|
947
|
+
// for (j = 0; j < this.show_data.fields.length; j++) {
|
|
948
|
+
// if (this.show_data.fields[j].label === '验收已上传文件') {
|
|
949
|
+
// this.show_data.fields[j].value = this.show_data.f_iscomplete_information
|
|
950
|
+
// }
|
|
951
|
+
// }
|
|
952
|
+
// }
|
|
919
953
|
// 显示组件
|
|
920
954
|
// this.showview = false
|
|
921
955
|
// debugger
|
|
@@ -1443,7 +1477,7 @@
|
|
|
1443
1477
|
console.log('获取到的address=>' + address)
|
|
1444
1478
|
// 数据获取完毕时放入地址text
|
|
1445
1479
|
for (let i = 0; i < this.$refs.service_show.data.fields.length; i++) {
|
|
1446
|
-
if (this.$refs.service_show.data.fields[i].label === '地址') {
|
|
1480
|
+
if (this.$refs.service_show.data.fields[i].label === '地址' || this.$refs.service_show.data.fields[i].label === '报装地址') {
|
|
1447
1481
|
this.$refs.service_show.data.fields[i].value = address
|
|
1448
1482
|
console.log('修改fields[i].value后的值=>' + this.$refs.service_show.data.fields[i].value)
|
|
1449
1483
|
}
|
|
@@ -1484,7 +1518,6 @@
|
|
|
1484
1518
|
}
|
|
1485
1519
|
}
|
|
1486
1520
|
if (this.$refs.service_show.data.fields[index].label == '用户类型'){
|
|
1487
|
-
debugger
|
|
1488
1521
|
if(this.$refs.service_show.data.fields[index].value == '非民用'){
|
|
1489
1522
|
for (let i = 0; i < this.$refs.service_show.data.fields.length; i++) {
|
|
1490
1523
|
if (this.$refs.service_show.data.fields[i].label === '小区名称') {
|
|
@@ -1499,6 +1532,60 @@
|
|
|
1499
1532
|
}
|
|
1500
1533
|
}
|
|
1501
1534
|
}
|
|
1535
|
+
|
|
1536
|
+
if (this.$refs.service_show.data.fields[index].label === '施工是否完成') {
|
|
1537
|
+
let temp = this.$refs.service_show.data.fields[index].value
|
|
1538
|
+
console.log('==============================施工是否完成:' + temp)
|
|
1539
|
+
if (temp === '是') {
|
|
1540
|
+
let f_project_material = ''
|
|
1541
|
+
if (this.$refs.service_show.data.defname === '施工') {
|
|
1542
|
+
let http = new HttpResetClass()
|
|
1543
|
+
let data = {
|
|
1544
|
+
f_process_id: this.$refs.service_show.data.f_process_id,
|
|
1545
|
+
defname: this.$refs.service_show.data.defname
|
|
1546
|
+
}
|
|
1547
|
+
let res = await http.load('POST', 'rs/sql/getFileNames', {data:data},
|
|
1548
|
+
{resolveMsg: null, rejectMsg: null})
|
|
1549
|
+
res.data.forEach(item =>{
|
|
1550
|
+
f_project_material += item.fusetype + ','
|
|
1551
|
+
})
|
|
1552
|
+
}
|
|
1553
|
+
|
|
1554
|
+
for (let i = 0; i < this.$refs.service_show.data.fields.length; i++) {
|
|
1555
|
+
if (this.$refs.service_show.data.fields[i].label === '施工已上传文件') {
|
|
1556
|
+
this.$refs.service_show.data.fields[i].value = f_project_material
|
|
1557
|
+
}
|
|
1558
|
+
}
|
|
1559
|
+
}
|
|
1560
|
+
}
|
|
1561
|
+
|
|
1562
|
+
if (this.$refs.service_show.data.fields[index].label === '验收是否完成') {
|
|
1563
|
+
let temp = this.$refs.service_show.data.fields[index].value
|
|
1564
|
+
console.log('==============================验收是否完成:' + temp)
|
|
1565
|
+
if (temp === '是') {
|
|
1566
|
+
let f_iscomplete_information = ''
|
|
1567
|
+
if (this.$refs.service_show.data.defname === '施工验收') {
|
|
1568
|
+
let http = new HttpResetClass()
|
|
1569
|
+
let data = {
|
|
1570
|
+
f_process_id: this.$refs.service_show.data.f_process_id,
|
|
1571
|
+
defname: this.$refs.service_show.data.defname
|
|
1572
|
+
}
|
|
1573
|
+
let res = await http.load('POST', 'rs/sql/getFileNames', {data:data},
|
|
1574
|
+
{resolveMsg: null, rejectMsg: null})
|
|
1575
|
+
res.data.forEach(item =>{
|
|
1576
|
+
f_iscomplete_information += item.fusetype + ','
|
|
1577
|
+
})
|
|
1578
|
+
}
|
|
1579
|
+
|
|
1580
|
+
for (let i = 0; i < this.$refs.service_show.data.fields.length; i++) {
|
|
1581
|
+
if (this.$refs.service_show.data.fields[i].label === '验收已上传文件') {
|
|
1582
|
+
this.$refs.service_show.data.fields[i].value = f_iscomplete_information
|
|
1583
|
+
}
|
|
1584
|
+
}
|
|
1585
|
+
}
|
|
1586
|
+
}
|
|
1587
|
+
|
|
1588
|
+
|
|
1502
1589
|
},
|
|
1503
1590
|
// onetomany模态框监听事件
|
|
1504
1591
|
async 'select_cascade_modal'(i,j){
|
|
@@ -1730,9 +1817,6 @@
|
|
|
1730
1817
|
await http1.load('POST', 'rs/logic/getPost', {data:data2})
|
|
1731
1818
|
}
|
|
1732
1819
|
*/
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
|
|
1736
1820
|
}
|
|
1737
1821
|
,
|
|
1738
1822
|
async 'onetomanydelete'(i, j) {
|