Explorar el Código

待办流程树查询不出来数据修复

cyy hace 1 año
padre
commit
393c75907a
Se han modificado 1 ficheros con 12 adiciones y 8 borrados
  1. 12 8
      src/views/platform/bpmn/pending/index.vue

+ 12 - 8
src/views/platform/bpmn/pending/index.vue

@@ -303,16 +303,19 @@
        */
       getSearcFormData() {
         let params = {}
-        params['Q^temp.proc_def_id_^SL'] = ''
-        if (this.$utils.isNotEmpty(this.subject)) {
-          params['Q^temp.procDefName^SL'] = this.subject
-        }
+        // params['Q^temp.proc_def_id_^SL'] = ''
+        // if (this.$utils.isNotEmpty(this.subject)) {
+        //   params['Q^temp.procDefName^SL'] = this.subject
+        // }
+        // if (this.$utils.isNotEmpty(this.typeId)) {
+        //   params['Q^temp.subject_^SL'] = this.typeId
+        // }
         if (this.$utils.isNotEmpty(this.typeId)) {
-          params['Q^temp.subject_^SL'] = this.typeId
-        }
-        if (this.$utils.isNotEmpty(this.defKey)) {
-          params['Q^temp.proc_def_key_^S'] = this.defKey
+          params['Q^TYPE_ID_^S'] = this.typeId
         }
+        // if (this.$utils.isNotEmpty(this.defKey)) {
+        //   params['Q^temp.proc_def_key_^S'] = this.defKey
+        // }
         if (this.$utils.isNotEmpty(this.moreParams)) {
           params = Object.assign(params, this.moreParams)
         }
@@ -380,6 +383,7 @@
         this.typeTreePopup = true
       },
       clickTypeNode(data) {
+        console.log(data,'datadatadatda')
         this.typeId = data.id
         this.onMoreSearch({})
       },