apply-clients 3.5.4-2 → 3.5.4-21
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 +137 -133
- package/package.json +1 -1
- package/src/App.vue +25 -25
- package/src/components/android/Process/AppServiceControl.vue +5 -0
- package/src/components/android/Process/Processes/AppAddMaterialScience.vue +493 -493
- package/src/components/android/Process/Processes/AppInstallationDetails.vue +1 -3
- package/src/components/image/dxf.png +0 -0
- package/src/components/product/Process/ExplorationUser.vue +1 -0
- package/src/components/product/Process/Processes/addMaterialScience.vue +471 -471
- package/src/filiale/baiyin/android/AppServiceControl.vue +1762 -0
- package/src/filiale/baiyin/android/ByAddMaterialScience.vue +801 -0
- package/src/filiale/baiyin/android/ByDeviceManagement.vue +917 -0
- package/src/filiale/baiyin/android.js +8 -0
- package/src/filiale/fugou/android/AppChargeManagement.vue +132 -1
- package/src/filiale/fugou/pc/ServiceControl.vue +27 -6
- package/src/filiale/qianneng/android/AppExplorationUser.vue +38 -0
- package/src/filiale/qianneng/android/AppInstallationDetails.vue +20 -11
- package/src/filiale/qianneng/pc/ApplyUpload.vue +292 -291
- package/src/filiale/qianneng/pc/Applybatchdispatch.vue +11 -6
- package/src/filiale/qianneng/pc/InstallationDetails.vue +614 -586
- package/src/filiale/qianneng/pc/ServiceControl.vue +1 -0
- package/src/filiale/qianneng/pc/printactivatecard.vue +6 -6
- package/src/filiale/ruihua/pc/InstallationDetails.vue +610 -0
- package/src/filiale/ruihua/pc/ServiceControl.vue +20 -0
- package/src/filiale/ruihua/pc/printVentilation.vue +21 -6
- package/src/filiale/ruihua/pc.js +1 -0
- package/src/filiale/shexian/android/AppServiceControl.vue +1758 -1753
- package/src/filiale/shexian/android/AppTakePic.vue +94 -140
- package/src/filiale/siyangRH/pc/chargeManagement.vue +810 -0
- package/src/filiale/siyangRH/pc.js +1 -0
- package/src/filiale/yangchunboneng/android/AppChargeManagement.vue +4 -0
- package/src/filiale/yangchunboneng/android/AppExplorationUser.vue +12 -0
- package/src/filiale/yangchunboneng/android/AppInstallationMaterial.vue +7 -3
- package/src/filiale/yangchunboneng/android/AppServiceControl.vue +17 -1
- package/src/filiale/yangchunboneng/android/AppSuperServiceControl.vue +1 -1
- package/src/filiale/yangchunboneng/android/AppUpload.vue +50 -8
- package/src/filiale/yangchunboneng/pc/ApplyUpload.vue +230 -219
- package/src/filiale/yangchunboneng/pc/ExplorationSelect.vue +53 -13
- package/src/filiale/yangchunboneng/pc/ServiceControl.vue +183 -2
- package/src/filiale/yangchunboneng/pc/SupervisoryControlNew.vue +140 -0
- package/src/filiale/yangchunboneng/pc/SupervisoryList.vue +54 -13
- package/src/filiale/yangchunboneng/pc/SupervisoryListNew.vue +613 -0
- package/src/filiale/yangchunboneng/pc/SupervisoryServiceControl.vue +902 -0
- package/src/filiale/yangchunboneng/pc/SupervisoryServiceControlNew.vue +901 -0
- package/src/filiale/yangchunboneng/pc/SupervisoryServiceView.vue +1117 -0
- package/src/filiale/yangchunboneng/pc/chargeManagement.vue +99 -12
- package/src/filiale/yangchunboneng/pc.js +6 -1
- package/src/main.js +23 -23
|
@@ -486,6 +486,43 @@
|
|
|
486
486
|
}
|
|
487
487
|
})
|
|
488
488
|
},
|
|
489
|
+
/*获取街道和乡镇*/
|
|
490
|
+
async getStreet() {
|
|
491
|
+
let data = {
|
|
492
|
+
tablename: 't_street',
|
|
493
|
+
condition: `f_filialeid = '${this.$login.f.orgid}' and f_iscity in ('市区','乡镇')`
|
|
494
|
+
}
|
|
495
|
+
let http = new HttpResetClass()
|
|
496
|
+
let res = await http.load(
|
|
497
|
+
'POST',
|
|
498
|
+
`rs/sql/apply_singleTable`,
|
|
499
|
+
{data: data},
|
|
500
|
+
{resolveMsg: null, rejectMsg: '街道/乡镇查询失败!!!'}
|
|
501
|
+
)
|
|
502
|
+
return res.data.map(item => {
|
|
503
|
+
return {
|
|
504
|
+
label: item.f_street,
|
|
505
|
+
value: item.f_street
|
|
506
|
+
}
|
|
507
|
+
})
|
|
508
|
+
},
|
|
509
|
+
async streetChangeNew() {
|
|
510
|
+
if (isEmpty(this.show_data.f_street)) {
|
|
511
|
+
return
|
|
512
|
+
}
|
|
513
|
+
//设置区县和地址类型
|
|
514
|
+
let data = {
|
|
515
|
+
tablename: 't_street',
|
|
516
|
+
condition: `f_filialeid = '${this.$login.f.orgid}' and f_street = '${this.show_data.f_street}'`
|
|
517
|
+
}
|
|
518
|
+
let http = new HttpResetClass()
|
|
519
|
+
let res = await http.load(
|
|
520
|
+
'POST',
|
|
521
|
+
`rs/sql/apply_singleTable`,
|
|
522
|
+
{data: data},
|
|
523
|
+
{resolveMsg: null, rejectMsg: '街道/乡镇查询失败!!!'}
|
|
524
|
+
)
|
|
525
|
+
},
|
|
489
526
|
// 获取区县
|
|
490
527
|
async getPcd () {
|
|
491
528
|
let data = {
|
|
@@ -528,6 +565,22 @@
|
|
|
528
565
|
}
|
|
529
566
|
})
|
|
530
567
|
},
|
|
568
|
+
//通气前置,添加设备
|
|
569
|
+
async addDeviceBefore () {
|
|
570
|
+
let http = new HttpResetClass()
|
|
571
|
+
var condition1=`f_userinfo_id = '${this.selectdata.f_userinfo_id}'`
|
|
572
|
+
let data = {
|
|
573
|
+
condition: condition1
|
|
574
|
+
}
|
|
575
|
+
let res = await http.load('POST', 'rs/sql/getUserFilesAndDevicesAmount', {data:data}, {
|
|
576
|
+
resolveMsg: null,
|
|
577
|
+
rejectMsg: '获取表具失败!!!'
|
|
578
|
+
})
|
|
579
|
+
if (res.data.amount===0) {
|
|
580
|
+
this.$showMessage('请添加设备!!!', 'warning', 3000)
|
|
581
|
+
throw null
|
|
582
|
+
}
|
|
583
|
+
},
|
|
531
584
|
// 缴费前置
|
|
532
585
|
async chargeBefore () {
|
|
533
586
|
if (Number(this.show_data.f_due_money) > Number(this.show_data.f_cumulative_payment_money) || Number(this.show_data.f_surplus_money) > 0) {
|
|
@@ -778,6 +831,7 @@
|
|
|
778
831
|
}
|
|
779
832
|
}
|
|
780
833
|
},
|
|
834
|
+
|
|
781
835
|
async streetChange () {
|
|
782
836
|
if (isEmpty(this.show_data.f_street)) {
|
|
783
837
|
return
|
|
@@ -1149,6 +1203,7 @@
|
|
|
1149
1203
|
},
|
|
1150
1204
|
// 搜索小区
|
|
1151
1205
|
async 'searchArea' (area, index) {
|
|
1206
|
+
debugger
|
|
1152
1207
|
let data = {
|
|
1153
1208
|
tablename: 't_area',
|
|
1154
1209
|
condition: `f_filialeid = '${this.$login.f.orgid}' and f_street = '${this.show_data.f_street}' and f_residential_area like '%${area}%'`
|
|
@@ -1471,6 +1526,70 @@
|
|
|
1471
1526
|
}
|
|
1472
1527
|
}))
|
|
1473
1528
|
},
|
|
1529
|
+
// 街道失去焦点
|
|
1530
|
+
async 'streetChangeNew' (index) {
|
|
1531
|
+
if (isEmpty(this.show_data.f_street)) {
|
|
1532
|
+
return
|
|
1533
|
+
}
|
|
1534
|
+
//设置区县和地址类型
|
|
1535
|
+
let data = {
|
|
1536
|
+
tablename: 't_street',
|
|
1537
|
+
condition: `f_filialeid = '${this.$login.f.orgid}' and f_street = '${this.show_data.f_street}'`
|
|
1538
|
+
}
|
|
1539
|
+
let http = new HttpResetClass()
|
|
1540
|
+
let res = await http.load(
|
|
1541
|
+
'POST',
|
|
1542
|
+
`rs/sql/apply_singleTable`,
|
|
1543
|
+
{data: data},
|
|
1544
|
+
{resolveMsg: null, rejectMsg: '街道/乡镇查询失败!!!'}
|
|
1545
|
+
)
|
|
1546
|
+
if(res.data[0].f_iscity==="市区"){
|
|
1547
|
+
this.setLabelValue('地址类型',"民用市区")
|
|
1548
|
+
}else if(res.data[0].f_iscity==="乡镇"){
|
|
1549
|
+
this.setLabelValue('地址类型',"民用乡镇")
|
|
1550
|
+
}else{
|
|
1551
|
+
this.setLabelValue('地址类型', "特殊地址")
|
|
1552
|
+
}
|
|
1553
|
+
this.setLabelValue('区/县',res.data[0].f_pcd)
|
|
1554
|
+
//获取小区
|
|
1555
|
+
let data2 = {
|
|
1556
|
+
tablename: 't_area',
|
|
1557
|
+
condition: `f_filialeid = '${this.$login.f.orgid}' and f_street = '${this.show_data.f_street}'`
|
|
1558
|
+
}
|
|
1559
|
+
let http2 = new HttpResetClass()
|
|
1560
|
+
let res2 = await http2.load(
|
|
1561
|
+
'POST',
|
|
1562
|
+
`rs/sql/apply_singleTable`,
|
|
1563
|
+
{data: data2},
|
|
1564
|
+
{resolveMsg: null, rejectMsg: '小区查询失败!!!'}
|
|
1565
|
+
)
|
|
1566
|
+
|
|
1567
|
+
this.setLabelOptions('小区', res2.data.map(item => {
|
|
1568
|
+
return {
|
|
1569
|
+
label: item.f_residential_area,
|
|
1570
|
+
value: item.f_residential_area
|
|
1571
|
+
}
|
|
1572
|
+
}))
|
|
1573
|
+
},
|
|
1574
|
+
|
|
1575
|
+
async 'AreaChangeNew' (index) {
|
|
1576
|
+
if (isEmpty(this.show_data.f_residential_area)) {
|
|
1577
|
+
return
|
|
1578
|
+
}
|
|
1579
|
+
//设置区县和地址类型
|
|
1580
|
+
let data = {
|
|
1581
|
+
tablename: 't_area',
|
|
1582
|
+
condition: `f_filialeid = '${this.$login.f.orgid}' and f_residential_area= '${this.show_data.f_residential_area}'`
|
|
1583
|
+
}
|
|
1584
|
+
let http = new HttpResetClass()
|
|
1585
|
+
let res = await http.load(
|
|
1586
|
+
'POST',
|
|
1587
|
+
`rs/sql/apply_singleTable`,
|
|
1588
|
+
{data: data},
|
|
1589
|
+
{resolveMsg: null, rejectMsg: '街道/乡镇查询失败!!!'}
|
|
1590
|
+
)
|
|
1591
|
+
this.setLabelValue('片区',res.data[0].f_slice_area)
|
|
1592
|
+
},
|
|
1474
1593
|
// 区县失去焦点
|
|
1475
1594
|
async 'pcdChange' (index) {
|
|
1476
1595
|
if (isEmpty(this.show_data.f_pcd)) {
|
|
@@ -1576,6 +1695,67 @@
|
|
|
1576
1695
|
}
|
|
1577
1696
|
}
|
|
1578
1697
|
},
|
|
1698
|
+
'addressTypeChangeNew' (index) {
|
|
1699
|
+
let f_address_type = this.show_data.fields[index].value
|
|
1700
|
+
for (const item of this.show_data.fields) {
|
|
1701
|
+
if (f_address_type === '民用市区') {
|
|
1702
|
+
if (item.label === '区/县' || item.label === '街道/乡镇' || item.label === '小区' || item.label === '门牌号') {
|
|
1703
|
+
item.hidden = false
|
|
1704
|
+
item.required = true
|
|
1705
|
+
}
|
|
1706
|
+
if (item.label === '楼号/组' || item.label === '单元/排' || item.label === '楼层') {
|
|
1707
|
+
item.hidden = false
|
|
1708
|
+
item.required = false
|
|
1709
|
+
item.value = null
|
|
1710
|
+
}
|
|
1711
|
+
if (item.label === '地址') {
|
|
1712
|
+
item.readonly = true
|
|
1713
|
+
item.value = null
|
|
1714
|
+
}
|
|
1715
|
+
}
|
|
1716
|
+
if (f_address_type === '民用乡镇') {
|
|
1717
|
+
if (item.label === '区/县' || item.label === '街道/乡镇' || item.label === '小区' || item.label === '门牌号') {
|
|
1718
|
+
item.hidden = false
|
|
1719
|
+
item.required = true
|
|
1720
|
+
}
|
|
1721
|
+
if (item.label === '楼号/组' || item.label === '单元/排' || item.label === '楼层') {
|
|
1722
|
+
item.hidden = false
|
|
1723
|
+
item.required = false
|
|
1724
|
+
item.value = null
|
|
1725
|
+
}
|
|
1726
|
+
if (item.label === '楼层') {
|
|
1727
|
+
item.hidden = true
|
|
1728
|
+
item.required = false
|
|
1729
|
+
item.value = null
|
|
1730
|
+
}
|
|
1731
|
+
if (item.label === '地址') {
|
|
1732
|
+
item.readonly = true
|
|
1733
|
+
item.value = null
|
|
1734
|
+
}
|
|
1735
|
+
}
|
|
1736
|
+
if (f_address_type === '特殊地址') {
|
|
1737
|
+
if (item.label === '区/县' || item.label === '街道/乡镇') {
|
|
1738
|
+
item.hidden = false
|
|
1739
|
+
item.required = true
|
|
1740
|
+
item.value = null
|
|
1741
|
+
}
|
|
1742
|
+
if (item.label === '小区') {
|
|
1743
|
+
item.hidden = false
|
|
1744
|
+
item.required = false
|
|
1745
|
+
item.value = null
|
|
1746
|
+
}
|
|
1747
|
+
if (item.label === '楼号/组' || item.label === '单元/排' || item.label === '楼层' || item.label === '门牌号') {
|
|
1748
|
+
item.hidden = true
|
|
1749
|
+
item.required = false
|
|
1750
|
+
item.value = null
|
|
1751
|
+
}
|
|
1752
|
+
if (item.label === '地址') {
|
|
1753
|
+
item.readonly = false
|
|
1754
|
+
item.value = null
|
|
1755
|
+
}
|
|
1756
|
+
}
|
|
1757
|
+
}
|
|
1758
|
+
},
|
|
1579
1759
|
//报建性质改变合同类型
|
|
1580
1760
|
'changehetong'(index){
|
|
1581
1761
|
let nextindex = parseInt(index) + 1
|
|
@@ -1693,13 +1873,14 @@
|
|
|
1693
1873
|
{data: this.show_data},
|
|
1694
1874
|
{resolveMsg: null, rejectMsg: '数据保存失败'}
|
|
1695
1875
|
)
|
|
1696
|
-
if(this.show_data.f_apply_type == '验收审批' && this.show_data.defname === '验收审批' && this.show_data.button.button_name === '提交'){
|
|
1876
|
+
if((this.show_data.f_apply_type == '验收审批' && this.show_data.defname === '验收审批' && this.show_data.button.button_name === '提交') ||(this.show_data.f_apply_type === '工程施工' && this.show_data.defname === '工程施工' && this.show_data.button.button_name === '提交' )){
|
|
1697
1877
|
const http = new HttpResetClass()
|
|
1698
1878
|
let data = {
|
|
1699
1879
|
tablename: 't_apply',
|
|
1700
|
-
condition: `f_parent_process_id = '${this.show_data.f_parent_process_id}' and f_apply_type
|
|
1880
|
+
condition: `f_parent_process_id = '${this.show_data.f_parent_process_id}' and f_apply_type in ('验收审批','工程施工') and f_sub_state != '完工'`
|
|
1701
1881
|
}
|
|
1702
1882
|
await http.load('post',`rs/sql/apply_singleTable`,{data: data},{rejectMsg:null,resolveMsg:null}).then( res=>{
|
|
1883
|
+
//判断res.data.length == 0,则子流程已经完工,然后将付流程进行到下一步
|
|
1703
1884
|
if (res.data.length == 0){
|
|
1704
1885
|
http.load('post',`rs/sql/checkuser`,{data: {condition:` f_process_id= '${this.show_data.f_parent_process_id}'`, data: {id: this.$login.f.id,orgid: this.$login.f.orgid}}},{resolveMsg:null,rejectMsg:null}).then(row=>{
|
|
1705
1886
|
const show_data = row.data[0]
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="flex-row">
|
|
3
|
+
<div class="basic-main">
|
|
4
|
+
<div :class="showData ? 'top' : 'auto'">
|
|
5
|
+
<supervisory-list-new v-ref:query :show-data="showData"></supervisory-list-new>
|
|
6
|
+
</div>
|
|
7
|
+
<div v-if="showtotal" style="height: 89%">
|
|
8
|
+
<div class="col-sm-2" style="margin-top: 20px">
|
|
9
|
+
<supervisory-chart :selectdata="selectdata"></supervisory-chart>
|
|
10
|
+
</div>
|
|
11
|
+
<div class="col-sm-10" style="margin-top: 20px">
|
|
12
|
+
<tabset v-ref:tabs :close="false">
|
|
13
|
+
<tab :header='selectdata.defname'>
|
|
14
|
+
<supervisory-service-control-new :selectdata="selectdata" :node-snapshot="true"></supervisory-service-control-new>
|
|
15
|
+
</tab>
|
|
16
|
+
<tab header='附件'>
|
|
17
|
+
<apply-upload :blodid="selectdata.f_process_id"
|
|
18
|
+
:isupload = "false"
|
|
19
|
+
:isdelete="false"
|
|
20
|
+
:isusetype="true"
|
|
21
|
+
:isremark = "true"
|
|
22
|
+
:takeimg="false"
|
|
23
|
+
:issearch="true"
|
|
24
|
+
:defname="selectdata.defname">
|
|
25
|
+
</apply-upload>
|
|
26
|
+
</tab>
|
|
27
|
+
</tabset>
|
|
28
|
+
</div>
|
|
29
|
+
<div style="height: 1%">
|
|
30
|
+
|
|
31
|
+
</div>
|
|
32
|
+
</div>
|
|
33
|
+
</div>
|
|
34
|
+
</div>
|
|
35
|
+
|
|
36
|
+
</template>
|
|
37
|
+
<script>
|
|
38
|
+
import Vue from 'vue'
|
|
39
|
+
import {HttpResetClass} from 'vue-client'
|
|
40
|
+
export default {
|
|
41
|
+
title: '流程监控',
|
|
42
|
+
data () {
|
|
43
|
+
return {
|
|
44
|
+
showtotal: false, // 控制详细信息显示
|
|
45
|
+
showData: true,
|
|
46
|
+
selectdata: {},
|
|
47
|
+
xmlname: '' // 配置文件名称
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
created () {
|
|
51
|
+
},
|
|
52
|
+
methods: {
|
|
53
|
+
// 获取页面配置json文件
|
|
54
|
+
async loadName () {
|
|
55
|
+
let data = {
|
|
56
|
+
workname: this.selectdata.processname
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
let res = await this.$resetpost(
|
|
60
|
+
'rs/logic/ApplyGetConfigs',
|
|
61
|
+
{data: data},
|
|
62
|
+
{resolveMsg: null, rejectMsg: '配置数据获取失败!!!'}
|
|
63
|
+
)
|
|
64
|
+
|
|
65
|
+
Vue.prototype.$workflow_vue = res.data
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
events: {
|
|
69
|
+
// 刷新控制层
|
|
70
|
+
async 'breakControl' (servicedata) {
|
|
71
|
+
|
|
72
|
+
if (servicedata.id) {
|
|
73
|
+
let data = {
|
|
74
|
+
condition: `u.id = ${servicedata.id}`,
|
|
75
|
+
data: {
|
|
76
|
+
orgid: this.$login.f.orgid
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
let res = await this.$resetpost(
|
|
80
|
+
'rs/sql/supervisory',
|
|
81
|
+
{data: data},
|
|
82
|
+
{resolveMsg: null, rejectMsg: '数据更新失败,请手查询更新!!!'}
|
|
83
|
+
)
|
|
84
|
+
this.selectdata = Object.assign({}, this.selectdata, res.data[0])
|
|
85
|
+
} else {
|
|
86
|
+
this.selectdata = servicedata
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
this.showtotal = false
|
|
90
|
+
this.$nextTick(() => {
|
|
91
|
+
this.showtotal = true
|
|
92
|
+
})
|
|
93
|
+
|
|
94
|
+
},
|
|
95
|
+
'onMessage' (data) {
|
|
96
|
+
console.log('接收消息')
|
|
97
|
+
console.log(data)
|
|
98
|
+
if (data.type === 'apply-task') {
|
|
99
|
+
this.$refs.queryuser.$refs.cp.$refs.cri.search()
|
|
100
|
+
}
|
|
101
|
+
},
|
|
102
|
+
async 'apply' (val) {
|
|
103
|
+
this.selectdata = null
|
|
104
|
+
this.selectdata = val
|
|
105
|
+
this.showtotal = false
|
|
106
|
+
|
|
107
|
+
// 获取配置文件
|
|
108
|
+
await this.loadName()
|
|
109
|
+
|
|
110
|
+
this.$refs.query.$refs.cp.pager = false
|
|
111
|
+
this.showData = false
|
|
112
|
+
|
|
113
|
+
this.showtotal = true
|
|
114
|
+
},
|
|
115
|
+
'search' () {
|
|
116
|
+
// 关闭详细
|
|
117
|
+
this.showtotal = false
|
|
118
|
+
// 显示列表数据
|
|
119
|
+
this.showData = true
|
|
120
|
+
// 显示分页
|
|
121
|
+
this.$refs.query.$refs.cp.pager = true
|
|
122
|
+
// 调用查询
|
|
123
|
+
this.$refs.query.$refs.cp.$refs.cri.search()
|
|
124
|
+
},
|
|
125
|
+
'loadPage' () {
|
|
126
|
+
// 关闭详细
|
|
127
|
+
this.showtotal = false
|
|
128
|
+
// 显示列表数据
|
|
129
|
+
this.showData = true
|
|
130
|
+
// 显示分页
|
|
131
|
+
this.$refs.query.$refs.cp.pager = true
|
|
132
|
+
// 调用查询
|
|
133
|
+
this.$refs.query.$refs.cp.loadPage(this.$refs.query.model.pageIndex)
|
|
134
|
+
}
|
|
135
|
+
},
|
|
136
|
+
|
|
137
|
+
watch: {
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
</script>
|
|
@@ -95,13 +95,13 @@
|
|
|
95
95
|
<v-select
|
|
96
96
|
v-model="model.f_apply_type"
|
|
97
97
|
placeholder='报建类型'
|
|
98
|
-
condition="f_apply_type
|
|
98
|
+
condition="f_apply_type in {}"
|
|
99
99
|
:value.sync="model.f_apply_type"
|
|
100
100
|
:options='$parent.$parent.applytype'
|
|
101
101
|
class="select select_list"
|
|
102
|
-
:
|
|
102
|
+
:multiple="true"
|
|
103
103
|
@change="$parent.$parent.applyTypeChange()"
|
|
104
|
-
|
|
104
|
+
></v-select>
|
|
105
105
|
</div>
|
|
106
106
|
<div class="form-group col-sm-3">
|
|
107
107
|
<label class="font_normal_body">办理环节:</label>
|
|
@@ -145,6 +145,12 @@
|
|
|
145
145
|
v-on:keyup.enter="search"
|
|
146
146
|
condition="f_address like '%{}%'">
|
|
147
147
|
</div>
|
|
148
|
+
<div class="form-group col-sm-3">
|
|
149
|
+
<label class="font_normal_body">用户评价:</label>
|
|
150
|
+
<input type="text" style="width:60%" class="input_search" placeholder='用户评价' v-model="model.f_user_appraise"
|
|
151
|
+
v-on:keyup.enter="search"
|
|
152
|
+
condition="f_user_appraise like '%{}%'">
|
|
153
|
+
</div>
|
|
148
154
|
<div class="form-group col-sm-3">
|
|
149
155
|
<label for="startDate" class="font_normal_body">开始时间:</label>
|
|
150
156
|
<datepicker id="startDate" placeholder="开始日期"
|
|
@@ -318,6 +324,7 @@
|
|
|
318
324
|
<th style="white-space: nowrap;">缴费金额</th>
|
|
319
325
|
<th style="white-space: nowrap;">验收时间</th>
|
|
320
326
|
<th style="white-space: nowrap;">施工人</th>
|
|
327
|
+
<th style="white-space: nowrap;">用户评价</th>
|
|
321
328
|
<th style="white-space: nowrap;">发起人</th>
|
|
322
329
|
</tr>
|
|
323
330
|
</template>
|
|
@@ -401,6 +408,9 @@
|
|
|
401
408
|
<td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
402
409
|
<nobr>{{row.f_budget_people}}</nobr>
|
|
403
410
|
</td>
|
|
411
|
+
<td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
412
|
+
<nobr>{{row.f_user_appraise}}</nobr>
|
|
413
|
+
</td>
|
|
404
414
|
<td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
405
415
|
<nobr>{{row.f_operator}}</nobr>
|
|
406
416
|
</td>
|
|
@@ -492,18 +502,49 @@
|
|
|
492
502
|
this.$dispatch('apply', val)
|
|
493
503
|
},
|
|
494
504
|
async applyTypeChange () {
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
505
|
+
//判断this.$refs.cp.$refs.cri.model.f_apply_type是不是数组
|
|
506
|
+
if (Array.isArray(this.$refs.cp.$refs.cri.model.f_apply_type)) {
|
|
507
|
+
if(this.$refs.cp.$refs.cri.model.f_apply_type.length>0){
|
|
508
|
+
for (let i = 0; i < this.$refs.cp.$refs.cri.model.f_apply_type.length; i++) {
|
|
509
|
+
let res = await this.$resetpost('rs/logic/getDefnameByType',
|
|
510
|
+
{ f_apply_type: this.$refs.cp.$refs.cri.model.f_apply_type[i] },
|
|
511
|
+
{resolveMsg: null, rejectMsg: '节点信息获取失败!!!'}
|
|
512
|
+
)
|
|
513
|
+
if (!isEmpty(res.data)) {
|
|
514
|
+
const newDefnames = [{ label: '全部', value: '' }, ...res.data];
|
|
515
|
+
const newApplyNatures = isEmpty(this.$appdata.getParam(`${this.$refs.cp.$refs.cri.model.f_apply_type[i]}性质`))
|
|
516
|
+
? [{ label: '全部', value: '' }]
|
|
517
|
+
: [{ label: '全部', value: '' }, ...this.$appdata.getParam(`${this.$refs.cp.$refs.cri.model.f_apply_type[i]}性质`)];
|
|
518
|
+
// 检查并追加 defnames
|
|
519
|
+
newDefnames.forEach(item => {
|
|
520
|
+
if (!this.defnames.some(defname => defname.value === item.value)) {
|
|
521
|
+
this.defnames.push(item);
|
|
522
|
+
}
|
|
523
|
+
});
|
|
524
|
+
// 检查并追加 applyNatures
|
|
525
|
+
newApplyNatures.forEach(item => {
|
|
526
|
+
if (!this.applyNatures.some(applyNature => applyNature.value === item.value)) {
|
|
527
|
+
this.applyNatures.push(item);
|
|
528
|
+
}
|
|
529
|
+
});
|
|
530
|
+
}
|
|
531
|
+
}
|
|
532
|
+
}
|
|
533
|
+
}else{
|
|
534
|
+
if (!isEmpty(this.$refs.cp.$refs.cri.model.f_apply_type)) {
|
|
535
|
+
let res = await this.$resetpost('rs/logic/getDefnameByType',
|
|
536
|
+
{ f_apply_type: this.$refs.cp.$refs.cri.model.f_apply_type },
|
|
537
|
+
{resolveMsg: null, rejectMsg: '节点信息获取失败!!!'}
|
|
538
|
+
)
|
|
500
539
|
|
|
501
|
-
|
|
540
|
+
this.defnames = [{label: '全部', value: ''}, ...res.data]
|
|
502
541
|
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
542
|
+
this.applyNatures = isEmpty(this.$appdata.getParam(`${this.$refs.cp.$refs.cri.model.f_apply_type}性质`)) ? [{label: '全部', value: ''}] : [{label: '全部', value: ''}, ...this.$appdata.getParam(`${this.$refs.cp.$refs.cri.model.f_apply_type}性质`)]
|
|
543
|
+
} else {
|
|
544
|
+
this.defnames = [{label: '全部', value: ''}]
|
|
545
|
+
|
|
546
|
+
this.applyNatures = [{label: '全部', value: ''}]
|
|
547
|
+
}
|
|
507
548
|
}
|
|
508
549
|
},
|
|
509
550
|
clear () {
|