apply-clients 5.0.35-56 → 5.0.35-59
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/components/app_apply/ApplyToDoList.vue +0 -23
- package/src/components/app_apply/Gongcheng.vue +54 -39
- package/src/components/app_apply/ServiceControl.vue +495 -354
- package/src/components/product/EngineeringSupervisory/EngineeringApplyStopInfo.vue +1 -1
- package/src/components/product/EngineeringSupervisory/EngineeringSupervisoryControl.vue +2 -2
- package/src/components/product/Process/Processes/Service/ServiceControl.vue +2058 -2057
package/package.json
CHANGED
|
@@ -8,14 +8,6 @@
|
|
|
8
8
|
<blockquote style="padding: 10px 10px;margin: 0 0 0px;color: #499edf;border-left-color: #499edf;font-size: 16px">
|
|
9
9
|
<div class=" row">
|
|
10
10
|
待办报建<span v-if="rows">({{rows.length}}单)</span>
|
|
11
|
-
<button class="btn btn-primary btn-sm" type="button" style="float: right"
|
|
12
|
-
@click="$parent.$parent.addactive('报装申请')">
|
|
13
|
-
<span class="glyphicon glyphicon-plus" ></span>报装申请
|
|
14
|
-
</button>
|
|
15
|
-
<button class="btn btn-primary btn-sm" type="button" style="float: right"
|
|
16
|
-
@click="$parent.$parent.addactive('集体报装申请')">
|
|
17
|
-
<span class="glyphicon glyphicon-plus" ></span>集体报装申请
|
|
18
|
-
</button>
|
|
19
11
|
<span v-if="!rows">(暂无待处理报建单)</span>
|
|
20
12
|
<img @click="search" src="../../assets/shuaxindaiban1.png" style="width: 40px;padding: 5px; float:right">
|
|
21
13
|
<div style="margin-right: 3%;float:right;height: 30px " class="button_spacing" :class="{'button_shrink_top':criteriaShow,'button_shrink_bottom':!criteriaShow}" @click="hidden()"></div>
|
|
@@ -182,21 +174,6 @@ export default{
|
|
|
182
174
|
},
|
|
183
175
|
upload () {
|
|
184
176
|
this.$goto('up-load')
|
|
185
|
-
},
|
|
186
|
-
addactive(modify) {
|
|
187
|
-
let http = new HttpResetClass()
|
|
188
|
-
http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/logic/ApplyGetProcessID`, {data: {filename: '鄂州报建流程', start_activity: modify}}).then(res => {
|
|
189
|
-
let data = {
|
|
190
|
-
f_process_id: res.data.f_process_id,
|
|
191
|
-
f_product_id: res.data.f_product_id,
|
|
192
|
-
start_activity: modify,
|
|
193
|
-
user: Vue.user,
|
|
194
|
-
defname: modify
|
|
195
|
-
}
|
|
196
|
-
setTimeout(() => {
|
|
197
|
-
http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/logic/newaddApplyproduct`, {data: data})
|
|
198
|
-
}, 400)
|
|
199
|
-
})
|
|
200
177
|
}
|
|
201
178
|
},
|
|
202
179
|
ready () {
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
<span v-if="!rows">(暂无待处理工程单)</span>
|
|
12
12
|
<button class="btn btn-primary btn-sm" type="button" style="float:right"
|
|
13
13
|
@click="addactive('踏勘、建立工程编号')">
|
|
14
|
-
<span class="glyphicon glyphicon-plus"
|
|
14
|
+
<span class="glyphicon glyphicon-plus"></span>新增流程
|
|
15
15
|
</button>
|
|
16
16
|
<img @click="search" src="../../assets/shuaxindaiban1.png" style="width: 40px;padding: 5px; float:right">
|
|
17
17
|
<div style="margin-right: 3%;float:right;height: 30px " class="button_spacing"
|
|
@@ -109,7 +109,17 @@ export default {
|
|
|
109
109
|
return {
|
|
110
110
|
// rows: Object
|
|
111
111
|
rows: [],
|
|
112
|
-
model: {
|
|
112
|
+
model: {
|
|
113
|
+
button: {
|
|
114
|
+
button_name: null,
|
|
115
|
+
button_index: null
|
|
116
|
+
},
|
|
117
|
+
f_filiale: null,
|
|
118
|
+
f_parentname: null,
|
|
119
|
+
f_operate_date: null,
|
|
120
|
+
f_operator: null,
|
|
121
|
+
f_hege: false
|
|
122
|
+
},
|
|
113
123
|
criteriaShow: false,
|
|
114
124
|
editshow: false,
|
|
115
125
|
row: {
|
|
@@ -150,7 +160,7 @@ export default {
|
|
|
150
160
|
search() {
|
|
151
161
|
// app正式运行程序
|
|
152
162
|
console.log('------app开始查询本地代办工单------')
|
|
153
|
-
var condition = "defname in ('
|
|
163
|
+
var condition = "defname not in ('完工')"
|
|
154
164
|
|
|
155
165
|
console.log(JSON.stringify(this.model))
|
|
156
166
|
if (this.model.f_user_name) {
|
|
@@ -188,24 +198,39 @@ export default {
|
|
|
188
198
|
this.$goto('up-load')
|
|
189
199
|
},
|
|
190
200
|
addactive(modify) {
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
201
|
+
this.$showMessage('是否开启一个新的流程?', ['confirm', 'cancel']).then((res) => {
|
|
202
|
+
if (res === 'confirm') {
|
|
203
|
+
let http = new HttpResetClass()
|
|
204
|
+
http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/logic/ApplyGetProcessID`, {
|
|
205
|
+
data: {
|
|
206
|
+
filename: '鄂州报建流程',
|
|
207
|
+
start_activity: modify
|
|
208
|
+
}
|
|
209
|
+
}).then(res => {
|
|
210
|
+
let data = {
|
|
211
|
+
f_process_id: res.data.f_process_id,
|
|
212
|
+
f_product_id: res.data.f_product_id,
|
|
213
|
+
start_activity: modify,
|
|
214
|
+
user: Vue.user,
|
|
215
|
+
defname: modify
|
|
216
|
+
}
|
|
217
|
+
setTimeout(() => {
|
|
218
|
+
}, 200)
|
|
219
|
+
http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/logic/newaddApplyproduct`, {data: data})
|
|
220
|
+
this.click(data)
|
|
221
|
+
})
|
|
204
222
|
}
|
|
205
|
-
setTimeout(() => {
|
|
206
|
-
http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/logic/newaddApplyproduct`, {data: data})
|
|
207
|
-
}, 400)
|
|
208
223
|
})
|
|
224
|
+
},
|
|
225
|
+
click (row) {
|
|
226
|
+
let _this = this
|
|
227
|
+
this.$dispatch('gotoson', {
|
|
228
|
+
_this: _this,
|
|
229
|
+
title: row.defname,
|
|
230
|
+
safe: true
|
|
231
|
+
})
|
|
232
|
+
|
|
233
|
+
this.$goto('service-control-app', {selectdata: row,show_data: {ppp: {}},selectmodel: this.model}, 'self', _this.search)
|
|
209
234
|
}
|
|
210
235
|
},
|
|
211
236
|
ready() {
|
|
@@ -217,13 +242,11 @@ export default {
|
|
|
217
242
|
},
|
|
218
243
|
created() {
|
|
219
244
|
var result = HostApp.readLocalFile('workflow_apply.json')
|
|
220
|
-
if
|
|
245
|
+
if(result.code == 500){
|
|
221
246
|
this.$showMessage('获取流程配置文件失败,请联系系统管理员')
|
|
222
247
|
return
|
|
223
248
|
}
|
|
224
|
-
|
|
225
|
-
var data = JSON.parse(result)
|
|
226
|
-
console.log(data)
|
|
249
|
+
var data = JSON.parse(result.data)
|
|
227
250
|
/* var data={
|
|
228
251
|
"start_activitys": [
|
|
229
252
|
"集体报装申请",
|
|
@@ -428,8 +451,7 @@ export default {
|
|
|
428
451
|
"required": true,
|
|
429
452
|
"value": null,
|
|
430
453
|
"hidden": true,
|
|
431
|
-
"options": [
|
|
432
|
-
]
|
|
454
|
+
"options": []
|
|
433
455
|
},
|
|
434
456
|
{
|
|
435
457
|
"label": "电话号码",
|
|
@@ -452,8 +474,7 @@ export default {
|
|
|
452
474
|
"disabled": false,
|
|
453
475
|
"required": true,
|
|
454
476
|
"value": null,
|
|
455
|
-
"options": [
|
|
456
|
-
]
|
|
477
|
+
"options": []
|
|
457
478
|
},
|
|
458
479
|
{
|
|
459
480
|
"label": "勘察人员",
|
|
@@ -1892,8 +1913,7 @@ export default {
|
|
|
1892
1913
|
"tables": [
|
|
1893
1914
|
"t_apply"
|
|
1894
1915
|
],
|
|
1895
|
-
"fields": [
|
|
1896
|
-
],
|
|
1916
|
+
"fields": [],
|
|
1897
1917
|
"buttons": [
|
|
1898
1918
|
{
|
|
1899
1919
|
"button_name": "保存"
|
|
@@ -1908,8 +1928,7 @@ export default {
|
|
|
1908
1928
|
"tables": [
|
|
1909
1929
|
"t_apply"
|
|
1910
1930
|
],
|
|
1911
|
-
"fields": [
|
|
1912
|
-
]
|
|
1931
|
+
"fields": []
|
|
1913
1932
|
},
|
|
1914
1933
|
{
|
|
1915
1934
|
"title": "报装申请",
|
|
@@ -2206,8 +2225,7 @@ export default {
|
|
|
2206
2225
|
"disabled": false,
|
|
2207
2226
|
"hidden": true,
|
|
2208
2227
|
"value": null,
|
|
2209
|
-
"options": [
|
|
2210
|
-
]
|
|
2228
|
+
"options": []
|
|
2211
2229
|
},
|
|
2212
2230
|
{
|
|
2213
2231
|
"label": "电话号码",
|
|
@@ -2230,8 +2248,7 @@ export default {
|
|
|
2230
2248
|
"disabled": false,
|
|
2231
2249
|
"required": true,
|
|
2232
2250
|
"value": null,
|
|
2233
|
-
"options": [
|
|
2234
|
-
]
|
|
2251
|
+
"options": []
|
|
2235
2252
|
},
|
|
2236
2253
|
{
|
|
2237
2254
|
"label": "勘察人员",
|
|
@@ -2283,8 +2300,7 @@ export default {
|
|
|
2283
2300
|
"readonly": true,
|
|
2284
2301
|
"required": true,
|
|
2285
2302
|
"value": "1",
|
|
2286
|
-
"options": [
|
|
2287
|
-
]
|
|
2303
|
+
"options": []
|
|
2288
2304
|
},
|
|
2289
2305
|
{
|
|
2290
2306
|
"label": "证件号码",
|
|
@@ -3379,8 +3395,7 @@ export default {
|
|
|
3379
3395
|
"required": false
|
|
3380
3396
|
}
|
|
3381
3397
|
],
|
|
3382
|
-
"onetomany": [
|
|
3383
|
-
],
|
|
3398
|
+
"onetomany": [],
|
|
3384
3399
|
"buttons": [
|
|
3385
3400
|
{
|
|
3386
3401
|
"button_name": "保存"
|