Procházet zdrojové kódy

修复首页代办,已办,办结左侧树点击bug(原逻辑上加参数typeId

shenqilong před 1 rokem
rodič
revize
5628c78f4e

+ 1 - 0
src/views/platform/office/bpmReceivedProcess/completed.vue

@@ -188,6 +188,7 @@ export default {
             if (!params.hasOwnProperty('Q^inst.status_^S')) {
                 params['Q^inst.status_^NE'] = 'running'
             }
+            params['Q^TYPE_ID_^S'] = this.typeId
             return ActionUtils.formatParams(params, this.pagination, this.sorts)
         },
         /**

+ 1 - 0
src/views/platform/office/bpmReceivedProcess/handled.vue

@@ -139,6 +139,7 @@ export default {
                     break
             }
             delete params.end
+            params['Q^TYPE_ID_^S'] = this.typeId
             return ActionUtils.formatParams(params, this.pagination, this.sorts)
         },
         /**

+ 3 - 1
src/views/platform/office/bpmReceivedProcess/pendingManage/pending.vue

@@ -148,7 +148,7 @@ export default {
             listConfig: {
                 // 工具栏
                 toolbars: [
-                    { key: 'search' },
+                    { key: 'search' }
                     // {
                     //     key: 'agree',
                     //     label: '提交/通过',
@@ -233,11 +233,13 @@ export default {
             if (params.hasOwnProperty('Q^temp.proc_def_name_^SL')) {
                 const temp = params['Q^temp.proc_def_name_^SL']
                 delete params['Q^temp.proc_def_name_^SL']
+                params['Q^TYPE_ID_^S'] = this.typeId
                 res = ActionUtils.formatParams(params, this.pagination, this.sorts)
                 res.customs = {
                     procDefName: temp
                 }
             } else {
+                params['Q^TYPE_ID_^S'] = this.typeId
                 res = ActionUtils.formatParams(params, this.pagination, this.sorts)
             }
             return res