apply-clients 3.1.49 → 3.1.50
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
CHANGED
|
@@ -199,9 +199,12 @@
|
|
|
199
199
|
data() {
|
|
200
200
|
return {
|
|
201
201
|
applytype: [{label:"全部",value:''}, {label:"集中报建",value:'集中报建'}, {label:"非民用报建",value:'非民用报建'},{label:"散户报建",value:'散户报建'}],
|
|
202
|
-
model: {
|
|
203
|
-
|
|
204
|
-
|
|
202
|
+
model: new PagedList('rs/sql/supervisory2', 20, {
|
|
203
|
+
data: {
|
|
204
|
+
id: `${this.$login.f.id}`,
|
|
205
|
+
org: `${this.$login.f.orgs}`
|
|
206
|
+
}
|
|
207
|
+
}),
|
|
205
208
|
defnames:[], // 所有流程节点
|
|
206
209
|
condition: '', // 查询条件
|
|
207
210
|
criteriaShow: false,
|
|
@@ -237,58 +240,59 @@
|
|
|
237
240
|
},
|
|
238
241
|
//获取当前登录人已处理过的流程ID
|
|
239
242
|
async searchCondition() {
|
|
240
|
-
let http = new HttpResetClass()
|
|
241
|
-
let data = {
|
|
242
|
-
|
|
243
|
-
}
|
|
244
|
-
let res = await http.load('POST', 'rs/sql/getActor', {data: data}, {
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
})
|
|
248
|
-
let x = []
|
|
249
|
-
for (let i = 0; i < res.data.length; i++) {
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
}
|
|
254
|
-
this.processids = JSON.stringify(x)
|
|
255
|
-
|
|
256
|
-
console.log("x的数据", this.processids)
|
|
243
|
+
// let http = new HttpResetClass()
|
|
244
|
+
// let data = {
|
|
245
|
+
// org: `${this.$login.f.orgs}`
|
|
246
|
+
// }
|
|
247
|
+
// let res = await http.load('POST', 'rs/sql/getActor', {data: data}, {
|
|
248
|
+
// resolveMsg: null,
|
|
249
|
+
// rejectMsg: '查询角色失败'
|
|
250
|
+
// })
|
|
251
|
+
// let x = []
|
|
252
|
+
// for (let i = 0; i < res.data.length; i++) {
|
|
253
|
+
// if (this.$login.f.f_role_name.includes(res.data[i].actor)) {
|
|
254
|
+
// x.push(res.data[i].processid)
|
|
255
|
+
// }
|
|
256
|
+
// }
|
|
257
|
+
// this.processids = JSON.stringify(x)
|
|
258
|
+
//
|
|
259
|
+
// console.log("x的数据", this.processids)
|
|
257
260
|
},
|
|
258
261
|
async search() {
|
|
259
|
-
|
|
260
|
-
let
|
|
261
|
-
|
|
262
|
-
}
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
}
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
}
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
262
|
+
console.log("测试1",this.$login.f.id)
|
|
263
|
+
// let http = new HttpResetClass()
|
|
264
|
+
// let data = {
|
|
265
|
+
// org: `${this.$login.f.orgs}`
|
|
266
|
+
// }
|
|
267
|
+
// let res = await http.load('POST', 'rs/sql/getActor', {data: data}, {
|
|
268
|
+
// resolveMsg: null,
|
|
269
|
+
// rejectMsg: '查询角色失败'
|
|
270
|
+
// })
|
|
271
|
+
// let x = []
|
|
272
|
+
// for (let i = 0; i <= res.data.length; i++){
|
|
273
|
+
// if (this.$login.f.f_role_name.includes(res.data[i].actor)){
|
|
274
|
+
// x.push(res.data[i].processid)
|
|
275
|
+
// }
|
|
276
|
+
// }
|
|
277
|
+
// this.processids = JSON.stringify(x)
|
|
278
|
+
// console.log("x的数据",this.processids)
|
|
279
|
+
// data = {
|
|
280
|
+
// condition: '1=1',
|
|
281
|
+
// x:this.processids,
|
|
282
|
+
// org: `${this.$login.f.orgs}`
|
|
283
|
+
// }
|
|
284
|
+
// if (this.$refs.cp.$refs.cri.condition){
|
|
285
|
+
// data.condition = data.condition + 'and' +this.$refs.cp.$refs.cri.condition
|
|
286
|
+
// }
|
|
287
|
+
// this.condition = data.condition
|
|
288
|
+
// res = await http.load('POST', 'rs/sql/supervisory2', {data: data}, {
|
|
289
|
+
// resolveMsg: null,
|
|
290
|
+
// rejectMsg: '查询失败'
|
|
291
|
+
// })
|
|
292
|
+
// console.log("当前数据",res.data)
|
|
293
|
+
// this.model.data = res.data
|
|
290
294
|
// 调用查询
|
|
291
|
-
|
|
295
|
+
this.$refs.cp.$refs.cri.search()
|
|
292
296
|
},
|
|
293
297
|
hidden() {
|
|
294
298
|
this.$dispatch('hidden', this.criteriaShow)
|
|
@@ -331,12 +335,12 @@
|
|
|
331
335
|
getCondition () {
|
|
332
336
|
console.log("condition",this.$refs.cp.$refs.cri.condition)
|
|
333
337
|
return {
|
|
334
|
-
condition: this.condition,
|
|
335
|
-
org: `${this.$login.f.orgs}`,
|
|
336
|
-
x: this.processids,
|
|
338
|
+
condition: this.$refs.cp.$refs.cri.condition,
|
|
339
|
+
// org: `${this.$login.f.orgs}`,
|
|
340
|
+
// x: this.processids,
|
|
337
341
|
data: {
|
|
338
342
|
org: `${this.$login.f.orgs}`,
|
|
339
|
-
|
|
343
|
+
id: `${this.$login.f.id}`
|
|
340
344
|
}
|
|
341
345
|
}
|
|
342
346
|
}
|