apply-clients 3.4.19 → 3.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 +2 -2
- package/package.json +1 -1
- package/src/components/android/Process/AppExplorationUser.vue +4 -0
- package/src/components/product/Process/ExplorationUser.vue +189 -189
- package/src/components/product/Process/Service/ServiceControl.vue +111 -110
- package/src/components/product/Supervisory/SupervisoryControl.vue +137 -137
- package/src/filiale/gehua/pc/ServiceControl.vue +113 -103
- package/src/filiale/gehua/pc/SupervisoryControl.vue +137 -0
- package/src/filiale/gehua/pc/SupervisoryServiceControl.vue +890 -0
- package/src/filiale/gehua/pc.js +3 -1
- package/src/filiale/guangxi/pc/Process/ExplorationSelect.vue +4 -0
- package/src/main.js +1 -1
package/build/dev-server.js
CHANGED
|
@@ -8,8 +8,8 @@ var compiler = webpack(config)
|
|
|
8
8
|
// var proxy = httpProxy.createProxyServer()
|
|
9
9
|
// var ldap = 'http://121.36.79.201:8400'
|
|
10
10
|
// var applyinstall = 'http://121.36.79.201:8400'
|
|
11
|
-
var ldap = 'http://
|
|
12
|
-
var applyinstall = 'http://
|
|
11
|
+
var ldap = 'http://117.33.181.102:8400'
|
|
12
|
+
var applyinstall = 'http://117.33.181.102:8400'
|
|
13
13
|
|
|
14
14
|
var proxyTable = {
|
|
15
15
|
'/rs/logic/getSaleInitData': {
|
package/package.json
CHANGED
|
@@ -163,6 +163,10 @@
|
|
|
163
163
|
<p class="col-xs-3 text-left font"><b>地  址:</b></p>
|
|
164
164
|
<p class="col-xs-9 text-left input-font">{{ row.f_address }}</p>
|
|
165
165
|
</div>
|
|
166
|
+
<div class="col-xs-12" v-if="row.f_order_date !=null">
|
|
167
|
+
<p class="col-xs-3 text-left font"><b>预约日期:</b></p>
|
|
168
|
+
<p class="col-xs-9 text-left input-font">{{ row.f_order_date }}</p>
|
|
169
|
+
</div>
|
|
166
170
|
<div class="col-xs-12">
|
|
167
171
|
<p class="col-xs-3 text-left font"><b>报建日期:</b></p>
|
|
168
172
|
<p class="col-xs-9 text-left input-font">{{ row.f_apply_date }}</p>
|
|
@@ -1,189 +1,189 @@
|
|
|
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="
|
|
19
|
-
:issearch="true"
|
|
20
|
-
:defname="selectdata.defname">
|
|
21
|
-
</apply-upload>
|
|
22
|
-
</tab>
|
|
23
|
-
</tabset>
|
|
24
|
-
</div>
|
|
25
|
-
|
|
26
|
-
<validator name="v">
|
|
27
|
-
<modal v-if="showLater" :show.sync="showLater" v-ref:modal :large="true" :backdrop="false" title="稍后处理">
|
|
28
|
-
<header slot="modal-header" class="modal-header">
|
|
29
|
-
<button type="button" class="close" @click="closeModal"><span>×</span></button>
|
|
30
|
-
<h4 class="modal-title">稍后处理</h4>
|
|
31
|
-
</header>
|
|
32
|
-
|
|
33
|
-
<article slot="modal-body" class="modal-body clearfix">
|
|
34
|
-
<div class="form-group col-sm-12">
|
|
35
|
-
<label class="col-sm-2 control-label">稍后处理备注:</label>
|
|
36
|
-
<div class="col-sm-10">
|
|
37
|
-
<input type="textarea"
|
|
38
|
-
class="form-control input_view"
|
|
39
|
-
style="width: 100%"
|
|
40
|
-
v-model="laterapply.f_later_remarks" />
|
|
41
|
-
</div>
|
|
42
|
-
</div>
|
|
43
|
-
</article>
|
|
44
|
-
|
|
45
|
-
<footer slot="modal-footer" class="modal-footer">
|
|
46
|
-
<button type="button" class="btn btn-primary" :disabled='!$v.valid' @click="later()">稍后处理</button>
|
|
47
|
-
</footer>
|
|
48
|
-
</modal>
|
|
49
|
-
</validator>
|
|
50
|
-
</div>
|
|
51
|
-
</div>
|
|
52
|
-
</template>
|
|
53
|
-
<script>
|
|
54
|
-
import Vue from 'vue'
|
|
55
|
-
import {HttpResetClass} from 'vue-client'
|
|
56
|
-
export default {
|
|
57
|
-
title: '报建流程',
|
|
58
|
-
data () {
|
|
59
|
-
return {
|
|
60
|
-
showQuery: true, // 控制查询页
|
|
61
|
-
showData: true, // 控制列表数据
|
|
62
|
-
showtotal: false, // 详情显示
|
|
63
|
-
selectdata: {},
|
|
64
|
-
xmlname: '', // 配置文件名
|
|
65
|
-
showLater: false,
|
|
66
|
-
laterapply: {}
|
|
67
|
-
}
|
|
68
|
-
},
|
|
69
|
-
ready () {
|
|
70
|
-
},
|
|
71
|
-
methods: {
|
|
72
|
-
// 获取页面配置json文件
|
|
73
|
-
async loadName () {
|
|
74
|
-
|
|
75
|
-
let data = {
|
|
76
|
-
workname: this.selectdata.processname
|
|
77
|
-
}
|
|
78
|
-
let http = new HttpResetClass()
|
|
79
|
-
let res = await http.load(
|
|
80
|
-
'POST',
|
|
81
|
-
'rs/logic/ApplyGetConfigs',
|
|
82
|
-
{data: data},
|
|
83
|
-
{resolveMsg: null, rejectMsg: '配置数据获取失败!!!'}
|
|
84
|
-
)
|
|
85
|
-
|
|
86
|
-
Vue.prototype.$workflow_vue = res.data
|
|
87
|
-
},
|
|
88
|
-
async later () {
|
|
89
|
-
let http = new HttpResetClass()
|
|
90
|
-
let data = {
|
|
91
|
-
laterapply: this.laterapply,
|
|
92
|
-
selectdata: this.selectdata,
|
|
93
|
-
user: this.$login.f
|
|
94
|
-
}
|
|
95
|
-
let res = await http.load('POST', 'rs/logic/laterprocessing', {data:data}, {
|
|
96
|
-
resolveMsg: null,
|
|
97
|
-
rejectMsg: '稍后处理记录保存失败!!!'
|
|
98
|
-
})
|
|
99
|
-
this.closeModal()
|
|
100
|
-
},
|
|
101
|
-
closeModal () {
|
|
102
|
-
this.selectdata = null
|
|
103
|
-
this.showLater = false
|
|
104
|
-
this.laterapply = {}
|
|
105
|
-
|
|
106
|
-
this.$refs.query.loadPage()
|
|
107
|
-
}
|
|
108
|
-
},
|
|
109
|
-
events: {
|
|
110
|
-
'onMessage' (data) {
|
|
111
|
-
console.log('接收消息')
|
|
112
|
-
console.log(data)
|
|
113
|
-
if (data.type === 'apply-task') {
|
|
114
|
-
this.$refs.query.$refs.cp.$refs.cri.search()
|
|
115
|
-
}
|
|
116
|
-
},
|
|
117
|
-
// 刷新控制层
|
|
118
|
-
async 'breakControl' (servicedata) {
|
|
119
|
-
|
|
120
|
-
if (servicedata.id) {
|
|
121
|
-
let data = {
|
|
122
|
-
condition: `u.id = ${servicedata.id}`,
|
|
123
|
-
data: {
|
|
124
|
-
id: this.$login.f.id,
|
|
125
|
-
orgid: this.$login.f.orgid
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
let res = await this.$resetpost(
|
|
129
|
-
'rs/sql/checkuser',
|
|
130
|
-
{data: data},
|
|
131
|
-
{resolveMsg: null, rejectMsg: '数据更新失败,请手查询更新!!!'}
|
|
132
|
-
)
|
|
133
|
-
|
|
134
|
-
this.selectdata = res.data[0]
|
|
135
|
-
} else {
|
|
136
|
-
this.selectdata = servicedata
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
this.showtotal = false
|
|
140
|
-
this.$nextTick(() => {
|
|
141
|
-
this.showtotal = true
|
|
142
|
-
})
|
|
143
|
-
|
|
144
|
-
},
|
|
145
|
-
async openLater (row) {
|
|
146
|
-
this.selectdata = row
|
|
147
|
-
this.showLater = true
|
|
148
|
-
},
|
|
149
|
-
// 初始化
|
|
150
|
-
async 'apply' (val) {
|
|
151
|
-
this.showtotal = false
|
|
152
|
-
this.selectdata = val
|
|
153
|
-
|
|
154
|
-
// 次方法必须同步执行,否则后续会出问题
|
|
155
|
-
// 获取页面json配置文件
|
|
156
|
-
await this.loadName()
|
|
157
|
-
|
|
158
|
-
// 显示详细
|
|
159
|
-
this.showtotal = true
|
|
160
|
-
// 关闭列表数据
|
|
161
|
-
this.showData = false
|
|
162
|
-
// 关闭分页
|
|
163
|
-
this.$refs.query.$refs.cp.pager = false
|
|
164
|
-
},
|
|
165
|
-
'search' () {
|
|
166
|
-
// 关闭详细
|
|
167
|
-
this.showtotal = false
|
|
168
|
-
// 显示列表数据
|
|
169
|
-
this.showData = true
|
|
170
|
-
// 显示分页
|
|
171
|
-
this.$refs.query.$refs.cp.pager = true
|
|
172
|
-
// 调用查询
|
|
173
|
-
this.$refs.query.$refs.cp.$refs.cri.search()
|
|
174
|
-
},
|
|
175
|
-
'loadPage' () {
|
|
176
|
-
// 关闭详细
|
|
177
|
-
this.showtotal = false
|
|
178
|
-
// 显示列表数据
|
|
179
|
-
this.showData = true
|
|
180
|
-
// 显示分页
|
|
181
|
-
this.$refs.query.$refs.cp.pager = true
|
|
182
|
-
// 调用查询
|
|
183
|
-
this.$refs.query.$refs.cp.loadPage(this.$refs.query.model.pageIndex)
|
|
184
|
-
}
|
|
185
|
-
},
|
|
186
|
-
watch: {
|
|
187
|
-
}
|
|
188
|
-
}
|
|
189
|
-
</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
|
+
|
|
26
|
+
<validator name="v">
|
|
27
|
+
<modal v-if="showLater" :show.sync="showLater" v-ref:modal :large="true" :backdrop="false" title="稍后处理">
|
|
28
|
+
<header slot="modal-header" class="modal-header">
|
|
29
|
+
<button type="button" class="close" @click="closeModal"><span>×</span></button>
|
|
30
|
+
<h4 class="modal-title">稍后处理</h4>
|
|
31
|
+
</header>
|
|
32
|
+
|
|
33
|
+
<article slot="modal-body" class="modal-body clearfix">
|
|
34
|
+
<div class="form-group col-sm-12">
|
|
35
|
+
<label class="col-sm-2 control-label">稍后处理备注:</label>
|
|
36
|
+
<div class="col-sm-10">
|
|
37
|
+
<input type="textarea"
|
|
38
|
+
class="form-control input_view"
|
|
39
|
+
style="width: 100%"
|
|
40
|
+
v-model="laterapply.f_later_remarks" />
|
|
41
|
+
</div>
|
|
42
|
+
</div>
|
|
43
|
+
</article>
|
|
44
|
+
|
|
45
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
46
|
+
<button type="button" class="btn btn-primary" :disabled='!$v.valid' @click="later()">稍后处理</button>
|
|
47
|
+
</footer>
|
|
48
|
+
</modal>
|
|
49
|
+
</validator>
|
|
50
|
+
</div>
|
|
51
|
+
</div>
|
|
52
|
+
</template>
|
|
53
|
+
<script>
|
|
54
|
+
import Vue from 'vue'
|
|
55
|
+
import {HttpResetClass} from 'vue-client'
|
|
56
|
+
export default {
|
|
57
|
+
title: '报建流程',
|
|
58
|
+
data () {
|
|
59
|
+
return {
|
|
60
|
+
showQuery: true, // 控制查询页
|
|
61
|
+
showData: true, // 控制列表数据
|
|
62
|
+
showtotal: false, // 详情显示
|
|
63
|
+
selectdata: {},
|
|
64
|
+
xmlname: '', // 配置文件名
|
|
65
|
+
showLater: false,
|
|
66
|
+
laterapply: {}
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
ready () {
|
|
70
|
+
},
|
|
71
|
+
methods: {
|
|
72
|
+
// 获取页面配置json文件
|
|
73
|
+
async loadName () {
|
|
74
|
+
|
|
75
|
+
let data = {
|
|
76
|
+
workname: this.selectdata.processname
|
|
77
|
+
}
|
|
78
|
+
let http = new HttpResetClass()
|
|
79
|
+
let res = await http.load(
|
|
80
|
+
'POST',
|
|
81
|
+
'rs/logic/ApplyGetConfigs',
|
|
82
|
+
{data: data},
|
|
83
|
+
{resolveMsg: null, rejectMsg: '配置数据获取失败!!!'}
|
|
84
|
+
)
|
|
85
|
+
|
|
86
|
+
Vue.prototype.$workflow_vue = res.data
|
|
87
|
+
},
|
|
88
|
+
async later () {
|
|
89
|
+
let http = new HttpResetClass()
|
|
90
|
+
let data = {
|
|
91
|
+
laterapply: this.laterapply,
|
|
92
|
+
selectdata: this.selectdata,
|
|
93
|
+
user: this.$login.f
|
|
94
|
+
}
|
|
95
|
+
let res = await http.load('POST', 'rs/logic/laterprocessing', {data:data}, {
|
|
96
|
+
resolveMsg: null,
|
|
97
|
+
rejectMsg: '稍后处理记录保存失败!!!'
|
|
98
|
+
})
|
|
99
|
+
this.closeModal()
|
|
100
|
+
},
|
|
101
|
+
closeModal () {
|
|
102
|
+
this.selectdata = null
|
|
103
|
+
this.showLater = false
|
|
104
|
+
this.laterapply = {}
|
|
105
|
+
|
|
106
|
+
this.$refs.query.loadPage()
|
|
107
|
+
}
|
|
108
|
+
},
|
|
109
|
+
events: {
|
|
110
|
+
'onMessage' (data) {
|
|
111
|
+
console.log('接收消息')
|
|
112
|
+
console.log(data)
|
|
113
|
+
if (data.type === 'apply-task') {
|
|
114
|
+
this.$refs.query.$refs.cp.$refs.cri.search()
|
|
115
|
+
}
|
|
116
|
+
},
|
|
117
|
+
// 刷新控制层
|
|
118
|
+
async 'breakControl' (servicedata) {
|
|
119
|
+
|
|
120
|
+
if (servicedata.id) {
|
|
121
|
+
let data = {
|
|
122
|
+
condition: `u.id = ${servicedata.id}`,
|
|
123
|
+
data: {
|
|
124
|
+
id: this.$login.f.id,
|
|
125
|
+
orgid: this.$login.f.orgid
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
let res = await this.$resetpost(
|
|
129
|
+
'rs/sql/checkuser',
|
|
130
|
+
{data: data},
|
|
131
|
+
{resolveMsg: null, rejectMsg: '数据更新失败,请手查询更新!!!'}
|
|
132
|
+
)
|
|
133
|
+
|
|
134
|
+
this.selectdata = res.data[0]
|
|
135
|
+
} else {
|
|
136
|
+
this.selectdata = servicedata
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
this.showtotal = false
|
|
140
|
+
this.$nextTick(() => {
|
|
141
|
+
this.showtotal = true
|
|
142
|
+
})
|
|
143
|
+
|
|
144
|
+
},
|
|
145
|
+
async openLater (row) {
|
|
146
|
+
this.selectdata = row
|
|
147
|
+
this.showLater = true
|
|
148
|
+
},
|
|
149
|
+
// 初始化
|
|
150
|
+
async 'apply' (val) {
|
|
151
|
+
this.showtotal = false
|
|
152
|
+
this.selectdata = val
|
|
153
|
+
|
|
154
|
+
// 次方法必须同步执行,否则后续会出问题
|
|
155
|
+
// 获取页面json配置文件
|
|
156
|
+
await this.loadName()
|
|
157
|
+
|
|
158
|
+
// 显示详细
|
|
159
|
+
this.showtotal = true
|
|
160
|
+
// 关闭列表数据
|
|
161
|
+
this.showData = false
|
|
162
|
+
// 关闭分页
|
|
163
|
+
this.$refs.query.$refs.cp.pager = false
|
|
164
|
+
},
|
|
165
|
+
'search' () {
|
|
166
|
+
// 关闭详细
|
|
167
|
+
this.showtotal = false
|
|
168
|
+
// 显示列表数据
|
|
169
|
+
this.showData = true
|
|
170
|
+
// 显示分页
|
|
171
|
+
this.$refs.query.$refs.cp.pager = true
|
|
172
|
+
// 调用查询
|
|
173
|
+
this.$refs.query.$refs.cp.$refs.cri.search()
|
|
174
|
+
},
|
|
175
|
+
'loadPage' () {
|
|
176
|
+
// 关闭详细
|
|
177
|
+
this.showtotal = false
|
|
178
|
+
// 显示列表数据
|
|
179
|
+
this.showData = true
|
|
180
|
+
// 显示分页
|
|
181
|
+
this.$refs.query.$refs.cp.pager = true
|
|
182
|
+
// 调用查询
|
|
183
|
+
this.$refs.query.$refs.cp.loadPage(this.$refs.query.model.pageIndex)
|
|
184
|
+
}
|
|
185
|
+
},
|
|
186
|
+
watch: {
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
</script>
|
|
@@ -320,6 +320,7 @@
|
|
|
320
320
|
})
|
|
321
321
|
}
|
|
322
322
|
}
|
|
323
|
+
|
|
323
324
|
// 消除双向绑定,避免子组件(显示层)数据更改,父组件(控制层)也更改
|
|
324
325
|
let temp = JSON.parse(JSON.stringify(this.selectdata))
|
|
325
326
|
console.log('打印下temp',temp)
|
|
@@ -1664,116 +1665,116 @@
|
|
|
1664
1665
|
if (this.show_data.button.after) {
|
|
1665
1666
|
this[this.show_data.button.after]()
|
|
1666
1667
|
}
|
|
1667
|
-
// 改管报建 增容报建 优化
|
|
1668
|
-
if((this.show_data.f_apply_type === '改管报建'||this.show_data.f_apply_type === '增容报建') && this.show_data.defname === '报装申请' && this.show_data.button.button_name === '缴费'){
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
|
|
1687
|
-
|
|
1688
|
-
|
|
1689
|
-
|
|
1690
|
-
}
|
|
1691
|
-
|
|
1692
|
-
// 退款报建 优化
|
|
1693
|
-
if(this.show_data.f_apply_type === '退款报建' && this.show_data.defname === '终止报建' && this.show_data.button.button_name === '提交'){
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
}
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
if(this.show_data.f_apply_type === '散户报建' && this.show_data.defname === '报装申请' && this.show_data.button.button_name === '合同'){
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
} else if(this.show_data.f_apply_type === '散户报建' && this.show_data.defname === '合同签订' && this.show_data.button.button_name === '提交'){
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
|
|
1736
|
-
|
|
1737
|
-
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
|
|
1749
|
-
}else if(this.show_data.f_apply_type === '散户报建' && this.show_data.defname === '报装缴费' && this.show_data.button.button_name === '提交'){
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
|
|
1770
|
-
|
|
1771
|
-
|
|
1772
|
-
}
|
|
1773
|
-
else{
|
|
1774
|
-
|
|
1775
|
-
}
|
|
1776
|
-
|
|
1668
|
+
// // 改管报建 增容报建 优化
|
|
1669
|
+
// if((this.show_data.f_apply_type === '改管报建'||this.show_data.f_apply_type === '增容报建') && this.show_data.defname === '报装申请' && this.show_data.button.button_name === '缴费'){
|
|
1670
|
+
// let datagg = {
|
|
1671
|
+
// condition: `t.f_process_id='${this.show_data.f_process_id}'`,
|
|
1672
|
+
// }
|
|
1673
|
+
// let http = new HttpResetClass()
|
|
1674
|
+
// let restgg = await http.load(
|
|
1675
|
+
// 'POST',
|
|
1676
|
+
// `rs/sql/checkusertwo`,
|
|
1677
|
+
// {data: datagg},
|
|
1678
|
+
// {resolveMsg: null, rejectMsg: '报建数据查询失败!!!'}
|
|
1679
|
+
// )
|
|
1680
|
+
// debugger
|
|
1681
|
+
// if(this.show_data.f_apply_type === '改管报建'){
|
|
1682
|
+
// restgg.data[0].processname = '改管报建流程'
|
|
1683
|
+
// restgg.data[0].defname = '报装缴费'
|
|
1684
|
+
// }else{
|
|
1685
|
+
// restgg.data[0].processname = '增容报建流程'
|
|
1686
|
+
// restgg.data[0].defname = '报装缴费'
|
|
1687
|
+
// }
|
|
1688
|
+
// restgg.data[0].actid = restgg.data[0].actid + 1
|
|
1689
|
+
// this.$dispatch('apply',restgg.data[0])
|
|
1690
|
+
//
|
|
1691
|
+
// }
|
|
1692
|
+
//
|
|
1693
|
+
// // 退款报建 优化
|
|
1694
|
+
// if(this.show_data.f_apply_type === '退款报建' && this.show_data.defname === '终止报建' && this.show_data.button.button_name === '提交'){
|
|
1695
|
+
// let datatk = {
|
|
1696
|
+
// condition: `t.f_process_id='${this.show_data.f_process_id}'`,
|
|
1697
|
+
// }
|
|
1698
|
+
// let http = new HttpResetClass()
|
|
1699
|
+
// let resttk = await http.load(
|
|
1700
|
+
// 'POST',
|
|
1701
|
+
// `rs/sql/checkusertwo`,
|
|
1702
|
+
// {data: datatk},
|
|
1703
|
+
// {resolveMsg: null, rejectMsg: '报建数据查询失败!!!'}
|
|
1704
|
+
// )
|
|
1705
|
+
// debugger
|
|
1706
|
+
// resttk.data[0].processname = '退款报建流程'
|
|
1707
|
+
// resttk.data[0].defname = '退款'
|
|
1708
|
+
// this.$dispatch('apply',resttk.data[0])
|
|
1709
|
+
//
|
|
1710
|
+
// }
|
|
1711
|
+
//
|
|
1712
|
+
//
|
|
1713
|
+
// if(this.show_data.f_apply_type === '散户报建' && this.show_data.defname === '报装申请' && this.show_data.button.button_name === '合同'){
|
|
1714
|
+
// let data = {
|
|
1715
|
+
// tablename: 't_apply',
|
|
1716
|
+
// condition: `f_process_id='${this.show_data.f_process_id}'`
|
|
1717
|
+
// }
|
|
1718
|
+
// let http = new HttpResetClass()
|
|
1719
|
+
// let restp = await http.load(
|
|
1720
|
+
// 'POST',
|
|
1721
|
+
// `rs/sql/singleTable`,
|
|
1722
|
+
// {data: data},
|
|
1723
|
+
// {resolveMsg: null, rejectMsg: '报建数据查询失败!!!'}
|
|
1724
|
+
// )
|
|
1725
|
+
// debugger
|
|
1726
|
+
// restp.data[0].processname = '散户报建流程'
|
|
1727
|
+
// restp.data[0].defname = '合同签订'
|
|
1728
|
+
// this.$dispatch('apply',restp.data[0])
|
|
1729
|
+
//
|
|
1730
|
+
// } else if(this.show_data.f_apply_type === '散户报建' && this.show_data.defname === '合同签订' && this.show_data.button.button_name === '提交'){
|
|
1731
|
+
// let data2 = {
|
|
1732
|
+
// condition: `u.id = ${this.show_data.id}`,
|
|
1733
|
+
// data: {
|
|
1734
|
+
// id: this.$login.f.id,
|
|
1735
|
+
// orgid: this.$login.f.orgid
|
|
1736
|
+
// }
|
|
1737
|
+
// }
|
|
1738
|
+
// let http = new HttpResetClass()
|
|
1739
|
+
// let restp1 = await http.load(
|
|
1740
|
+
// 'POST',
|
|
1741
|
+
// `rs/sql/checkuser`,
|
|
1742
|
+
// {data: data2},
|
|
1743
|
+
// {resolveMsg: null, rejectMsg: '报建数据查询失败!!!'}
|
|
1744
|
+
// )
|
|
1745
|
+
// debugger
|
|
1746
|
+
// console.log('有没有发请求打印查询的内容restp1',restp1)
|
|
1747
|
+
// // restp1.data[0].processname = '散户报建流程'
|
|
1748
|
+
// // restp1.data[0].defname = '报装缴费'
|
|
1749
|
+
// this.$dispatch('apply',restp1.data[0])
|
|
1750
|
+
// }else if(this.show_data.f_apply_type === '散户报建' && this.show_data.defname === '报装缴费' && this.show_data.button.button_name === '提交'){
|
|
1751
|
+
// let data3 = {
|
|
1752
|
+
// condition: `u.id = ${this.show_data.id}`,
|
|
1753
|
+
// data: {
|
|
1754
|
+
// id: this.$login.f.id,
|
|
1755
|
+
// orgid: this.$login.f.orgid
|
|
1756
|
+
// }
|
|
1757
|
+
// }
|
|
1758
|
+
// let http = new HttpResetClass()
|
|
1759
|
+
// let restp2 = await http.load(
|
|
1760
|
+
// 'POST',
|
|
1761
|
+
// `rs/sql/checkuser`,
|
|
1762
|
+
// {data: data3},
|
|
1763
|
+
// {resolveMsg: null, rejectMsg: '报建数据查询失败!!!'}
|
|
1764
|
+
// )
|
|
1765
|
+
// debugger
|
|
1766
|
+
// console.log('打印查询的内容',restp2)
|
|
1767
|
+
// if(restp2.length>0){
|
|
1768
|
+
// this.$dispatch('apply',restp2.data[0])
|
|
1769
|
+
// }else{
|
|
1770
|
+
// debugger
|
|
1771
|
+
// this.$dispatch('loadPage')
|
|
1772
|
+
// }
|
|
1773
|
+
// }
|
|
1774
|
+
// else{
|
|
1775
|
+
// this.$dispatch('loadPage')
|
|
1776
|
+
// }
|
|
1777
|
+
this.$dispatch('loadPage')
|
|
1777
1778
|
},
|
|
1778
1779
|
// 失去焦点出触发事件
|
|
1779
1780
|
'onchange' (index) {
|