--no commit message
Showing
1 changed file
with
30 additions
and
9 deletions
| ... | @@ -18,7 +18,8 @@ | ... | @@ -18,7 +18,8 @@ |
| 18 | <script> | 18 | <script> |
| 19 | import { getBdcqljqtsx } from "@/api/djbDetail.js"; | 19 | import { getBdcqljqtsx } from "@/api/djbDetail.js"; |
| 20 | import { loadTreeData, getNode } from "./djbFrameData.js"; | 20 | import { loadTreeData, getNode } from "./djbFrameData.js"; |
| 21 | import { searchTaskToDo } from "@/api/workflow/search.js"; | 21 | // import { searchTaskToDo } from "@/api/workflow/search.js"; |
| 22 | import { getDjbBysearch } from "@/api/search.js"; | ||
| 22 | import { | 23 | import { |
| 23 | leftMenu | 24 | leftMenu |
| 24 | } from "@/api/workFlow.js"; | 25 | } from "@/api/workFlow.js"; |
| ... | @@ -70,18 +71,38 @@ | ... | @@ -70,18 +71,38 @@ |
| 70 | */ | 71 | */ |
| 71 | getdata () { | 72 | getdata () { |
| 72 | this.queryForm = { | 73 | this.queryForm = { |
| 73 | bdcdyh: this.getCaption(window.location.href), | 74 | bdcdyh: this.getCaption(window.location.href) |
| 74 | currentPage: 1, | 75 | |
| 75 | djlx: "", | ||
| 76 | pageSize: 10, | ||
| 77 | qllx: "", | ||
| 78 | ywh: "", | ||
| 79 | ywly: "" | ||
| 80 | } | 76 | } |
| 81 | 77 | ||
| 78 | // if (this.getCaption(window.location.href)) { | ||
| 79 | // this.$startLoading(); | ||
| 80 | // searchTaskToDo({ | ||
| 81 | // ...this.queryForm, | ||
| 82 | // }).then((res) => { | ||
| 83 | // if (res.code === 200) { | ||
| 84 | // this.$endLoading(); | ||
| 85 | // let { records } = res.result; | ||
| 86 | // if(records.length){ | ||
| 87 | // console.log("true",records.length); | ||
| 88 | // this.loadBdcdylist(records[0].bsmSlsq, records[0].bestepid); | ||
| 89 | |||
| 90 | // }else{ | ||
| 91 | // console.log("false",records.length); | ||
| 92 | // this.treedata=[] | ||
| 93 | |||
| 94 | |||
| 95 | // } | ||
| 96 | |||
| 97 | // } | ||
| 98 | // }); | ||
| 99 | // }else{ | ||
| 100 | // this.treedata=[] | ||
| 101 | // } | ||
| 102 | |||
| 82 | if (this.getCaption(window.location.href)) { | 103 | if (this.getCaption(window.location.href)) { |
| 83 | this.$startLoading(); | 104 | this.$startLoading(); |
| 84 | searchTaskToDo({ | 105 | getDjbBysearch({ |
| 85 | ...this.queryForm, | 106 | ...this.queryForm, |
| 86 | }).then((res) => { | 107 | }).then((res) => { |
| 87 | if (res.code === 200) { | 108 | if (res.code === 200) { | ... | ... |
-
Please register or sign in to post a comment