|
|
@@ -216,7 +216,7 @@ export default {
|
|
|
// },
|
|
|
handleDifferentTab (objNum) {
|
|
|
const stm = JSON.parse(objNum.skipTypeMsg)
|
|
|
- const tid = stm.pathInfo ? objNum.taskId : stm.pathInfo
|
|
|
+ const tid = stm.pathInfo ? stm.pathInfo :objNum.taskId
|
|
|
switch (stm.skipType) {
|
|
|
case 1:// 明细
|
|
|
this.handleLinkClick(stm.pathInfo)
|
|
|
@@ -270,10 +270,10 @@ export default {
|
|
|
if (obj.skipType > 0) {
|
|
|
if (obj.skipType === 1) {
|
|
|
this.showDialog = true
|
|
|
- } else if (obj.skipType === 2 && form.taskId != null) {
|
|
|
- const sql = "select count(id_) as num from ibps_bpm_task_pendding where task_id_='" + form.taskId + "'"
|
|
|
+ } else if (obj.skipType === 2 ) {
|
|
|
+ let canshu = form.taskId?form.taskId:JSON.parse(form.skipTypeMsg).pathInfo
|
|
|
+ const sql = "select count(id_) as num from ibps_bpm_task_pendding where task_id_='" + canshu + "'"
|
|
|
curdPost('sql', sql).then(res => {
|
|
|
- console.log(res.variables.data[0].num)
|
|
|
if (res.variables.data[0].num > 0) {
|
|
|
this.showDialog = true
|
|
|
} else {
|