apply-clients 3.2.32 → 3.2.37
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/AndroidApp.vue +26 -26
- package/src/App.vue +20 -20
- package/src/apply.js +67 -67
- package/src/applyAndroid.js +24 -24
- package/src/components/Util.js +359 -359
- package/src/components/app_apply/AppOnetomany.vue +90 -90
- package/src/components/app_apply/AppServiceView.vue +664 -664
- package/src/components/app_apply/AppTakePic.vue +112 -112
- package/src/components/app_apply/Process/AppExplorationUser.vue +310 -310
- package/src/components/app_apply/Process/AppServiceControl.vue +409 -409
- package/src/components/app_apply/Process/Processes/AppInstallationDetails.vue +456 -456
- package/src/components/app_apply/Supervisory/AppProcessSupervisory.vue +300 -300
- package/src/components/app_apply/Supervisory/AppSupervisoryCart.vue +121 -121
- package/src/components/product/ApplyCharge/ApplyChargeList.vue +251 -251
- package/src/components/product/ApplyCharge/ApplyChargeReport.vue +107 -107
- package/src/components/product/ApplyCharge/ApplyChargeSearch.vue +30 -30
- package/src/components/product/Function/InstallFunction.vue +147 -147
- package/src/components/product/Function/InstallInfoSelect.vue +281 -281
- package/src/components/product/Function/Service/FunctionServiceControl.vue +245 -245
- package/src/components/product/Function/StopApplyCrrdList.vue +176 -176
- package/src/components/product/Function/functions/StopInstall.vue +106 -106
- package/src/components/product/Process/ExplorationSelect.vue +346 -346
- package/src/components/product/Process/ExplorationUser.vue +134 -134
- package/src/components/product/Process/Processes/InstallationDetails.vue +243 -233
- package/src/components/product/Process/Processes/addressAndUserinfoManagement.vue +201 -201
- package/src/components/product/Process/Processes/chargeManagement.vue +555 -555
- package/src/components/product/Process/Processes/printCharge.vue +133 -133
- package/src/components/product/Process/Processes/supplementalAgreement.vue +297 -297
- package/src/components/product/Process/ShowBackReason.vue +32 -32
- package/src/components/product/ServiceView.vue +759 -759
- package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +199 -199
- package/src/components/product/Supervisory/SupervisoryControl.vue +119 -119
- package/src/components/product/Supervisory/SupervisoryList.vue +208 -208
- package/src/components/product/Supervisory/SupervisoryhCart.vue +103 -103
- package/src/components/product/VueUtils/ApplyUpload.vue +261 -261
- package/src/main.js +23 -23
|
@@ -1,134 +1,134 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="flex-row">
|
|
3
|
-
<div class="basic-main">
|
|
4
|
-
<div :class="showData ? 'top' : 'auto'" v-show="showQuery">
|
|
5
|
-
<exploration-select v-ref:query :show-data="showData"></exploration-select>
|
|
6
|
-
</div>
|
|
7
|
-
<div v-if="showtotal" style="height: 89%">
|
|
8
|
-
<tabset v-ref:tabs :close="false">
|
|
9
|
-
<tab :header='selectdata.defname'>
|
|
10
|
-
<service-control v-ref:service :selectdata="selectdata"></service-control>
|
|
11
|
-
</tab>
|
|
12
|
-
<tab header='附件'>
|
|
13
|
-
<apply-upload :blodid="selectdata.f_process_id"
|
|
14
|
-
:isupload = "true"
|
|
15
|
-
:isdelete="true"
|
|
16
|
-
:isusetype="true"
|
|
17
|
-
:isremark = "true"
|
|
18
|
-
:takeimg="false"
|
|
19
|
-
:issearch="true"
|
|
20
|
-
:defname="selectdata.defname">
|
|
21
|
-
</apply-upload>
|
|
22
|
-
</tab>
|
|
23
|
-
</tabset>
|
|
24
|
-
</div>
|
|
25
|
-
</div>
|
|
26
|
-
</div>
|
|
27
|
-
</template>
|
|
28
|
-
<script>
|
|
29
|
-
import Vue from 'vue'
|
|
30
|
-
import {HttpResetClass} from 'vue-client'
|
|
31
|
-
export default {
|
|
32
|
-
title: '报建流程',
|
|
33
|
-
data () {
|
|
34
|
-
return {
|
|
35
|
-
showQuery: true, // 控制查询页
|
|
36
|
-
showData: true, // 控制列表数据
|
|
37
|
-
showtotal: false, // 详情显示
|
|
38
|
-
selectdata: {},
|
|
39
|
-
xmlname: '' // 配置文件名
|
|
40
|
-
}
|
|
41
|
-
},
|
|
42
|
-
created () {
|
|
43
|
-
},
|
|
44
|
-
methods: {
|
|
45
|
-
// 获取页面配置json文件
|
|
46
|
-
async loadName () {
|
|
47
|
-
let http = new HttpResetClass()
|
|
48
|
-
let xmldata = {
|
|
49
|
-
data: this.$login.f,
|
|
50
|
-
workname: this.selectdata.processname
|
|
51
|
-
}
|
|
52
|
-
let res = await http.load('POST', 'rs/logic/ApplyGetConfigs', {data: xmldata}, {resolveMsg: null, rejectMsg: null})
|
|
53
|
-
|
|
54
|
-
if (res.data.code && res.data.code === 200) {
|
|
55
|
-
Vue.prototype.$workflow_vue = res.data.workflow_vue
|
|
56
|
-
} else {
|
|
57
|
-
this.$showMessage('获取报建配置失败,原因:' + res.data.msg)
|
|
58
|
-
return
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
},
|
|
62
|
-
events: {
|
|
63
|
-
'onMessage' (data) {
|
|
64
|
-
console.log('接收消息')
|
|
65
|
-
console.log(data)
|
|
66
|
-
if (data.type === 'apply-task') {
|
|
67
|
-
this.$refs.query.$refs.cp.$refs.cri.search()
|
|
68
|
-
}
|
|
69
|
-
},
|
|
70
|
-
// 刷新控制层
|
|
71
|
-
async 'breakControl' (servicedata) {
|
|
72
|
-
|
|
73
|
-
if (servicedata.id) {
|
|
74
|
-
let http = new HttpResetClass()
|
|
75
|
-
let data = {
|
|
76
|
-
condition: `u.id = ${servicedata.id}`,
|
|
77
|
-
data: {
|
|
78
|
-
id: this.$login.f.id,
|
|
79
|
-
orgid: this.$login.f.orgid
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
let res = await http.load('POST', 'rs/sql/checkuser', {data: data}, {resolveMsg: null, rejectMsg: '数据更新失败,请手查询更新!!!'})
|
|
83
|
-
|
|
84
|
-
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
|
-
// 初始化
|
|
96
|
-
async 'apply' (val) {
|
|
97
|
-
this.showtotal = false
|
|
98
|
-
this.selectdata = val
|
|
99
|
-
|
|
100
|
-
// if (this.selectdata.f_apply_type === '集体报建') {
|
|
101
|
-
// this.xmlname = '集体报建流程'
|
|
102
|
-
// } else if (this.selectdata.f_apply_type === '散户报建') {
|
|
103
|
-
// this.xmlname = '散户报建流程'
|
|
104
|
-
// } else {
|
|
105
|
-
// this.$showMessage('暂无此类报装')
|
|
106
|
-
// return
|
|
107
|
-
// }
|
|
108
|
-
|
|
109
|
-
// 次方法必须同步执行,否则后续会出问题
|
|
110
|
-
// 获取页面json配置文件
|
|
111
|
-
await this.loadName()
|
|
112
|
-
|
|
113
|
-
// 显示详细
|
|
114
|
-
this.showtotal = true
|
|
115
|
-
// 关闭列表数据
|
|
116
|
-
this.showData = false
|
|
117
|
-
// 关闭分页
|
|
118
|
-
this.$refs.query.$refs.cp.pager = false
|
|
119
|
-
},
|
|
120
|
-
'search' () {
|
|
121
|
-
// 关闭详细
|
|
122
|
-
this.showtotal = false
|
|
123
|
-
// 显示列表数据
|
|
124
|
-
this.showData = true
|
|
125
|
-
// 显示分页
|
|
126
|
-
this.$refs.query.$refs.cp.pager = true
|
|
127
|
-
// 调用查询
|
|
128
|
-
this.$refs.query.$refs.cp.$refs.cri.search()
|
|
129
|
-
}
|
|
130
|
-
},
|
|
131
|
-
watch: {
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
</script>
|
|
1
|
+
<template>
|
|
2
|
+
<div class="flex-row">
|
|
3
|
+
<div class="basic-main">
|
|
4
|
+
<div :class="showData ? 'top' : 'auto'" v-show="showQuery">
|
|
5
|
+
<exploration-select v-ref:query :show-data="showData"></exploration-select>
|
|
6
|
+
</div>
|
|
7
|
+
<div v-if="showtotal" style="height: 89%">
|
|
8
|
+
<tabset v-ref:tabs :close="false">
|
|
9
|
+
<tab :header='selectdata.defname'>
|
|
10
|
+
<service-control v-ref:service :selectdata="selectdata"></service-control>
|
|
11
|
+
</tab>
|
|
12
|
+
<tab header='附件'>
|
|
13
|
+
<apply-upload :blodid="selectdata.f_process_id"
|
|
14
|
+
:isupload = "true"
|
|
15
|
+
:isdelete="true"
|
|
16
|
+
:isusetype="true"
|
|
17
|
+
:isremark = "true"
|
|
18
|
+
:takeimg="false"
|
|
19
|
+
:issearch="true"
|
|
20
|
+
:defname="selectdata.defname">
|
|
21
|
+
</apply-upload>
|
|
22
|
+
</tab>
|
|
23
|
+
</tabset>
|
|
24
|
+
</div>
|
|
25
|
+
</div>
|
|
26
|
+
</div>
|
|
27
|
+
</template>
|
|
28
|
+
<script>
|
|
29
|
+
import Vue from 'vue'
|
|
30
|
+
import {HttpResetClass} from 'vue-client'
|
|
31
|
+
export default {
|
|
32
|
+
title: '报建流程',
|
|
33
|
+
data () {
|
|
34
|
+
return {
|
|
35
|
+
showQuery: true, // 控制查询页
|
|
36
|
+
showData: true, // 控制列表数据
|
|
37
|
+
showtotal: false, // 详情显示
|
|
38
|
+
selectdata: {},
|
|
39
|
+
xmlname: '' // 配置文件名
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
created () {
|
|
43
|
+
},
|
|
44
|
+
methods: {
|
|
45
|
+
// 获取页面配置json文件
|
|
46
|
+
async loadName () {
|
|
47
|
+
let http = new HttpResetClass()
|
|
48
|
+
let xmldata = {
|
|
49
|
+
data: this.$login.f,
|
|
50
|
+
workname: this.selectdata.processname
|
|
51
|
+
}
|
|
52
|
+
let res = await http.load('POST', 'rs/logic/ApplyGetConfigs', {data: xmldata}, {resolveMsg: null, rejectMsg: null})
|
|
53
|
+
|
|
54
|
+
if (res.data.code && res.data.code === 200) {
|
|
55
|
+
Vue.prototype.$workflow_vue = res.data.workflow_vue
|
|
56
|
+
} else {
|
|
57
|
+
this.$showMessage('获取报建配置失败,原因:' + res.data.msg)
|
|
58
|
+
return
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
events: {
|
|
63
|
+
'onMessage' (data) {
|
|
64
|
+
console.log('接收消息')
|
|
65
|
+
console.log(data)
|
|
66
|
+
if (data.type === 'apply-task') {
|
|
67
|
+
this.$refs.query.$refs.cp.$refs.cri.search()
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
// 刷新控制层
|
|
71
|
+
async 'breakControl' (servicedata) {
|
|
72
|
+
|
|
73
|
+
if (servicedata.id) {
|
|
74
|
+
let http = new HttpResetClass()
|
|
75
|
+
let data = {
|
|
76
|
+
condition: `u.id = ${servicedata.id}`,
|
|
77
|
+
data: {
|
|
78
|
+
id: this.$login.f.id,
|
|
79
|
+
orgid: this.$login.f.orgid
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
let res = await http.load('POST', 'rs/sql/checkuser', {data: data}, {resolveMsg: null, rejectMsg: '数据更新失败,请手查询更新!!!'})
|
|
83
|
+
|
|
84
|
+
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
|
+
// 初始化
|
|
96
|
+
async 'apply' (val) {
|
|
97
|
+
this.showtotal = false
|
|
98
|
+
this.selectdata = val
|
|
99
|
+
|
|
100
|
+
// if (this.selectdata.f_apply_type === '集体报建') {
|
|
101
|
+
// this.xmlname = '集体报建流程'
|
|
102
|
+
// } else if (this.selectdata.f_apply_type === '散户报建') {
|
|
103
|
+
// this.xmlname = '散户报建流程'
|
|
104
|
+
// } else {
|
|
105
|
+
// this.$showMessage('暂无此类报装')
|
|
106
|
+
// return
|
|
107
|
+
// }
|
|
108
|
+
|
|
109
|
+
// 次方法必须同步执行,否则后续会出问题
|
|
110
|
+
// 获取页面json配置文件
|
|
111
|
+
await this.loadName()
|
|
112
|
+
|
|
113
|
+
// 显示详细
|
|
114
|
+
this.showtotal = true
|
|
115
|
+
// 关闭列表数据
|
|
116
|
+
this.showData = false
|
|
117
|
+
// 关闭分页
|
|
118
|
+
this.$refs.query.$refs.cp.pager = false
|
|
119
|
+
},
|
|
120
|
+
'search' () {
|
|
121
|
+
// 关闭详细
|
|
122
|
+
this.showtotal = false
|
|
123
|
+
// 显示列表数据
|
|
124
|
+
this.showData = true
|
|
125
|
+
// 显示分页
|
|
126
|
+
this.$refs.query.$refs.cp.pager = true
|
|
127
|
+
// 调用查询
|
|
128
|
+
this.$refs.query.$refs.cp.$refs.cri.search()
|
|
129
|
+
}
|
|
130
|
+
},
|
|
131
|
+
watch: {
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
</script>
|