apply-clients 5.0.35-45 → 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 +1 -1
- package/src/components/product/Process/Processes/Service/ServiceControl.vue +101 -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
|
|
@@ -1417,21 +1451,33 @@
|
|
|
1417
1451
|
if (this.$refs.service_show.data.fields[i].label === '楼号' && this.$refs.service_show.data.fields[i].value) {
|
|
1418
1452
|
address += this.$refs.service_show.data.fields[i].value
|
|
1419
1453
|
}
|
|
1454
|
+
if (this.$refs.service_show.data.fields[i].label === '楼号' && this.$refs.service_show.data.fields[i].value) {
|
|
1455
|
+
address += '栋'
|
|
1456
|
+
}
|
|
1420
1457
|
if (this.$refs.service_show.data.fields[i].label === '单元号' && this.$refs.service_show.data.fields[i].value) {
|
|
1421
1458
|
address += '-' +this.$refs.service_show.data.fields[i].value
|
|
1422
1459
|
}
|
|
1460
|
+
if (this.$refs.service_show.data.fields[i].label === '单元号' && this.$refs.service_show.data.fields[i].value) {
|
|
1461
|
+
address += '单元'
|
|
1462
|
+
}
|
|
1423
1463
|
if (this.$refs.service_show.data.fields[i].label === '楼层' && this.$refs.service_show.data.fields[i].value) {
|
|
1424
1464
|
address += '-' +this.$refs.service_show.data.fields[i].value
|
|
1425
1465
|
}
|
|
1466
|
+
if (this.$refs.service_show.data.fields[i].label === '楼层' && this.$refs.service_show.data.fields[i].value) {
|
|
1467
|
+
address += '层'
|
|
1468
|
+
}
|
|
1426
1469
|
if (this.$refs.service_show.data.fields[i].label === '门牌号' && this.$refs.service_show.data.fields[i].value) {
|
|
1427
1470
|
address += '-' +this.$refs.service_show.data.fields[i].value
|
|
1428
1471
|
}
|
|
1472
|
+
if (this.$refs.service_show.data.fields[i].label === '门牌号' && this.$refs.service_show.data.fields[i].value) {
|
|
1473
|
+
address += '室'
|
|
1474
|
+
}
|
|
1429
1475
|
|
|
1430
1476
|
}
|
|
1431
1477
|
console.log('获取到的address=>' + address)
|
|
1432
1478
|
// 数据获取完毕时放入地址text
|
|
1433
1479
|
for (let i = 0; i < this.$refs.service_show.data.fields.length; i++) {
|
|
1434
|
-
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 === '报装地址') {
|
|
1435
1481
|
this.$refs.service_show.data.fields[i].value = address
|
|
1436
1482
|
console.log('修改fields[i].value后的值=>' + this.$refs.service_show.data.fields[i].value)
|
|
1437
1483
|
}
|
|
@@ -1472,7 +1518,6 @@
|
|
|
1472
1518
|
}
|
|
1473
1519
|
}
|
|
1474
1520
|
if (this.$refs.service_show.data.fields[index].label == '用户类型'){
|
|
1475
|
-
debugger
|
|
1476
1521
|
if(this.$refs.service_show.data.fields[index].value == '非民用'){
|
|
1477
1522
|
for (let i = 0; i < this.$refs.service_show.data.fields.length; i++) {
|
|
1478
1523
|
if (this.$refs.service_show.data.fields[i].label === '小区名称') {
|
|
@@ -1487,6 +1532,60 @@
|
|
|
1487
1532
|
}
|
|
1488
1533
|
}
|
|
1489
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
|
+
|
|
1490
1589
|
},
|
|
1491
1590
|
// onetomany模态框监听事件
|
|
1492
1591
|
async 'select_cascade_modal'(i,j){
|
|
@@ -1718,9 +1817,6 @@
|
|
|
1718
1817
|
await http1.load('POST', 'rs/logic/getPost', {data:data2})
|
|
1719
1818
|
}
|
|
1720
1819
|
*/
|
|
1721
|
-
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
1820
|
}
|
|
1725
1821
|
,
|
|
1726
1822
|
async 'onetomanydelete'(i, j) {
|