apply-clients 3.1.55 → 3.1.57
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/App.vue +20 -20
- package/src/apply.js +77 -77
- package/src/components/product/ApplyCharge/ApplyChargeList.vue +316 -316
- package/src/components/product/ApplyCharge/ApplyChargeSearch.vue +26 -26
- package/src/components/product/Function/InstallFunction.vue +165 -165
- package/src/components/product/Function/InstallInfoSelect.vue +278 -278
- package/src/components/product/Function/Service/FunctionServiceControl.vue +262 -262
- package/src/components/product/Function/functions/ChargeManagement.vue +1013 -1013
- package/src/components/product/Order/OrderApply.vue +467 -467
- package/src/components/product/Process/ExplorationSelect.vue +371 -371
- package/src/components/product/Process/ExplorationUser.vue +168 -168
- package/src/components/product/Process/Service/ServiceControl.vue +29 -13
- package/src/components/product/Report/ApplyDevicesList.vue +249 -249
- package/src/components/product/Report/ApplyGongliaoList.vue +239 -239
- package/src/components/product/Report/ApplyReportSearch.vue +26 -26
- package/src/components/product/Report/ReportControl.vue +129 -129
- package/src/components/product/ReportForm/CustomerRecordMessage.vue +1593 -1593
- package/src/components/product/ServiceView.vue +728 -728
- package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +169 -169
- package/src/components/product/Supervisory/SupervisoryControl.vue +132 -132
- package/src/components/product/Supervisory/SupervisoryControl2.vue +132 -132
- package/src/components/product/Supervisory/SupervisoryList.vue +311 -311
- package/src/components/product/Supervisory/SupervisoryList2.vue +368 -368
- package/src/components/product/Supervisory/SupervisoryhCart.vue +105 -105
- package/yarn-error.log +0 -9175
|
@@ -1,129 +1,129 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="basic-main" style="overflow:auto;">
|
|
3
|
-
<div class="tops" v-bind:style="{ height: topheight }">
|
|
4
|
-
<apply-charge-list v-ref:queryuser></apply-charge-list>
|
|
5
|
-
</div>
|
|
6
|
-
<div v-if="showtotal" v-bind:style="{ height: botheight }">
|
|
7
|
-
<div class="col-sm-3">
|
|
8
|
-
<installfeeinfo :selectdata="selectdata"></installfeeinfo>
|
|
9
|
-
</div>
|
|
10
|
-
<div class="col-sm-9">
|
|
11
|
-
<tabset v-ref:tabs :close="false">
|
|
12
|
-
<div class="flex-row">
|
|
13
|
-
<div class="basic-main">
|
|
14
|
-
<div style="height: 100%">
|
|
15
|
-
<gongliao-list v-ref:query :data="selectdata" :showprint="false"></gongliao-list>
|
|
16
|
-
</div>
|
|
17
|
-
</div>
|
|
18
|
-
</div>
|
|
19
|
-
</tabset>
|
|
20
|
-
</div>
|
|
21
|
-
</div>
|
|
22
|
-
</div>
|
|
23
|
-
</template>
|
|
24
|
-
<script>
|
|
25
|
-
import Vue from 'vue'
|
|
26
|
-
import {HttpResetClass} from 'vue-client'
|
|
27
|
-
export default {
|
|
28
|
-
title: '流程监控',
|
|
29
|
-
props: ['defname'],
|
|
30
|
-
data () {
|
|
31
|
-
return {
|
|
32
|
-
flagl: false,
|
|
33
|
-
flagg: false,
|
|
34
|
-
showbasic: false, // 控制节点列表显示
|
|
35
|
-
showtotal: false, // 控制详细信息显示
|
|
36
|
-
header: null,
|
|
37
|
-
selectdata: {},
|
|
38
|
-
botheight: '0%', // 详细信息显示高度
|
|
39
|
-
topheight: '100%', // 工程列表显示高度
|
|
40
|
-
info: '流程监控',
|
|
41
|
-
xmlname: '' // 配置文件名称
|
|
42
|
-
}
|
|
43
|
-
},
|
|
44
|
-
created () {
|
|
45
|
-
},
|
|
46
|
-
methods: {
|
|
47
|
-
// 获取页面配置json文件
|
|
48
|
-
async loadName () {
|
|
49
|
-
let http = new HttpResetClass()
|
|
50
|
-
let xmldata = {
|
|
51
|
-
data: this.$login.f,
|
|
52
|
-
workname: this.xmlname
|
|
53
|
-
}
|
|
54
|
-
let res = await http.load('POST', 'rs/logic/ApplyGetConfigs', {data: xmldata}, {resolveMsg: null, rejectMsg: null})
|
|
55
|
-
|
|
56
|
-
if (res.data.code && res.data.code === 200) {
|
|
57
|
-
Vue.prototype.$workflow_vue = res.data.workflow_vue
|
|
58
|
-
} else {
|
|
59
|
-
this.$showMessage('获取报建配置失败,原因:' + res.data.msg)
|
|
60
|
-
return
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
},
|
|
64
|
-
events: {
|
|
65
|
-
'onMessage' (data) {
|
|
66
|
-
console.log('接收消息')
|
|
67
|
-
console.log(data)
|
|
68
|
-
if (data.type === 'apply-task') {
|
|
69
|
-
this.$refs.queryuser.$refs.cp.$refs.cri.search()
|
|
70
|
-
}
|
|
71
|
-
},
|
|
72
|
-
async 'apply' (val) {
|
|
73
|
-
this.selectdata = val
|
|
74
|
-
this.showtotal = false
|
|
75
|
-
|
|
76
|
-
if (this.selectdata.f_apply_type === '集中报建') {
|
|
77
|
-
this.xmlname = '集中报建流程'
|
|
78
|
-
} else if (this.selectdata.f_apply_type === '散户报建') {
|
|
79
|
-
this.xmlname = '散户报建流程'
|
|
80
|
-
} else if (this.selectdata.f_apply_type === '非民用报建') {
|
|
81
|
-
this.xmlname = '非民用报建流程'
|
|
82
|
-
} else {
|
|
83
|
-
this.$showMessage('暂无此类报装')
|
|
84
|
-
return
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
// 获取配置文件
|
|
88
|
-
await this.loadName()
|
|
89
|
-
|
|
90
|
-
this.topheight = '10%'
|
|
91
|
-
this.botheight = '90%'
|
|
92
|
-
// this.$refs.queryuser.$refs.cp.$refs.grid.model.rows = [val]
|
|
93
|
-
this.header = this.selectdata.defname
|
|
94
|
-
this.$refs.queryuser.$refs.cp.pager = false
|
|
95
|
-
this.showbasic = true
|
|
96
|
-
this.showtotal = true
|
|
97
|
-
|
|
98
|
-
},
|
|
99
|
-
'close'() {
|
|
100
|
-
this.showbasic = false
|
|
101
|
-
this.showtotal = false
|
|
102
|
-
this.topheight = '100%'
|
|
103
|
-
this.botheight = '0%'
|
|
104
|
-
this.$refs.queryuser.$refs.cp.$refs.cri.search()
|
|
105
|
-
this.$refs.queryuser.$refs.cp.pager = true
|
|
106
|
-
},
|
|
107
|
-
'hidden' (criteriaShow) {
|
|
108
|
-
if (!this.showtotal && !criteriaShow) {
|
|
109
|
-
|
|
110
|
-
}
|
|
111
|
-
if (!this.showtotal && criteriaShow) {
|
|
112
|
-
|
|
113
|
-
}
|
|
114
|
-
if (this.showtotal && !criteriaShow) {
|
|
115
|
-
this.topheight = '20%'
|
|
116
|
-
this.botheight = '80%'
|
|
117
|
-
}
|
|
118
|
-
if (this.showtotal && criteriaShow) {
|
|
119
|
-
this.topheight = '10%'
|
|
120
|
-
this.botheight = '90%'
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
}
|
|
124
|
-
},
|
|
125
|
-
|
|
126
|
-
watch: {
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
</script>
|
|
1
|
+
<template>
|
|
2
|
+
<div class="basic-main" style="overflow:auto;">
|
|
3
|
+
<div class="tops" v-bind:style="{ height: topheight }">
|
|
4
|
+
<apply-charge-list v-ref:queryuser></apply-charge-list>
|
|
5
|
+
</div>
|
|
6
|
+
<div v-if="showtotal" v-bind:style="{ height: botheight }">
|
|
7
|
+
<div class="col-sm-3">
|
|
8
|
+
<installfeeinfo :selectdata="selectdata"></installfeeinfo>
|
|
9
|
+
</div>
|
|
10
|
+
<div class="col-sm-9">
|
|
11
|
+
<tabset v-ref:tabs :close="false">
|
|
12
|
+
<div class="flex-row">
|
|
13
|
+
<div class="basic-main">
|
|
14
|
+
<div style="height: 100%">
|
|
15
|
+
<gongliao-list v-ref:query :data="selectdata" :showprint="false"></gongliao-list>
|
|
16
|
+
</div>
|
|
17
|
+
</div>
|
|
18
|
+
</div>
|
|
19
|
+
</tabset>
|
|
20
|
+
</div>
|
|
21
|
+
</div>
|
|
22
|
+
</div>
|
|
23
|
+
</template>
|
|
24
|
+
<script>
|
|
25
|
+
import Vue from 'vue'
|
|
26
|
+
import {HttpResetClass} from 'vue-client'
|
|
27
|
+
export default {
|
|
28
|
+
title: '流程监控',
|
|
29
|
+
props: ['defname'],
|
|
30
|
+
data () {
|
|
31
|
+
return {
|
|
32
|
+
flagl: false,
|
|
33
|
+
flagg: false,
|
|
34
|
+
showbasic: false, // 控制节点列表显示
|
|
35
|
+
showtotal: false, // 控制详细信息显示
|
|
36
|
+
header: null,
|
|
37
|
+
selectdata: {},
|
|
38
|
+
botheight: '0%', // 详细信息显示高度
|
|
39
|
+
topheight: '100%', // 工程列表显示高度
|
|
40
|
+
info: '流程监控',
|
|
41
|
+
xmlname: '' // 配置文件名称
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
created () {
|
|
45
|
+
},
|
|
46
|
+
methods: {
|
|
47
|
+
// 获取页面配置json文件
|
|
48
|
+
async loadName () {
|
|
49
|
+
let http = new HttpResetClass()
|
|
50
|
+
let xmldata = {
|
|
51
|
+
data: this.$login.f,
|
|
52
|
+
workname: this.xmlname
|
|
53
|
+
}
|
|
54
|
+
let res = await http.load('POST', 'rs/logic/ApplyGetConfigs', {data: xmldata}, {resolveMsg: null, rejectMsg: null})
|
|
55
|
+
|
|
56
|
+
if (res.data.code && res.data.code === 200) {
|
|
57
|
+
Vue.prototype.$workflow_vue = res.data.workflow_vue
|
|
58
|
+
} else {
|
|
59
|
+
this.$showMessage('获取报建配置失败,原因:' + res.data.msg)
|
|
60
|
+
return
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
events: {
|
|
65
|
+
'onMessage' (data) {
|
|
66
|
+
console.log('接收消息')
|
|
67
|
+
console.log(data)
|
|
68
|
+
if (data.type === 'apply-task') {
|
|
69
|
+
this.$refs.queryuser.$refs.cp.$refs.cri.search()
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
async 'apply' (val) {
|
|
73
|
+
this.selectdata = val
|
|
74
|
+
this.showtotal = false
|
|
75
|
+
|
|
76
|
+
if (this.selectdata.f_apply_type === '集中报建') {
|
|
77
|
+
this.xmlname = '集中报建流程'
|
|
78
|
+
} else if (this.selectdata.f_apply_type === '散户报建') {
|
|
79
|
+
this.xmlname = '散户报建流程'
|
|
80
|
+
} else if (this.selectdata.f_apply_type === '非民用报建') {
|
|
81
|
+
this.xmlname = '非民用报建流程'
|
|
82
|
+
} else {
|
|
83
|
+
this.$showMessage('暂无此类报装')
|
|
84
|
+
return
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
// 获取配置文件
|
|
88
|
+
await this.loadName()
|
|
89
|
+
|
|
90
|
+
this.topheight = '10%'
|
|
91
|
+
this.botheight = '90%'
|
|
92
|
+
// this.$refs.queryuser.$refs.cp.$refs.grid.model.rows = [val]
|
|
93
|
+
this.header = this.selectdata.defname
|
|
94
|
+
this.$refs.queryuser.$refs.cp.pager = false
|
|
95
|
+
this.showbasic = true
|
|
96
|
+
this.showtotal = true
|
|
97
|
+
|
|
98
|
+
},
|
|
99
|
+
'close'() {
|
|
100
|
+
this.showbasic = false
|
|
101
|
+
this.showtotal = false
|
|
102
|
+
this.topheight = '100%'
|
|
103
|
+
this.botheight = '0%'
|
|
104
|
+
this.$refs.queryuser.$refs.cp.$refs.cri.search()
|
|
105
|
+
this.$refs.queryuser.$refs.cp.pager = true
|
|
106
|
+
},
|
|
107
|
+
'hidden' (criteriaShow) {
|
|
108
|
+
if (!this.showtotal && !criteriaShow) {
|
|
109
|
+
|
|
110
|
+
}
|
|
111
|
+
if (!this.showtotal && criteriaShow) {
|
|
112
|
+
|
|
113
|
+
}
|
|
114
|
+
if (this.showtotal && !criteriaShow) {
|
|
115
|
+
this.topheight = '20%'
|
|
116
|
+
this.botheight = '80%'
|
|
117
|
+
}
|
|
118
|
+
if (this.showtotal && criteriaShow) {
|
|
119
|
+
this.topheight = '10%'
|
|
120
|
+
this.botheight = '90%'
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
}
|
|
124
|
+
},
|
|
125
|
+
|
|
126
|
+
watch: {
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
</script>
|