4981018e by xiaomiao

--no commit message

1 parent 3526848e
......@@ -18,7 +18,8 @@
<script>
import { getBdcqljqtsx } from "@/api/djbDetail.js";
import { loadTreeData, getNode } from "./djbFrameData.js";
import { searchTaskToDo } from "@/api/workflow/search.js";
// import { searchTaskToDo } from "@/api/workflow/search.js";
import { getDjbBysearch } from "@/api/search.js";
import {
leftMenu
} from "@/api/workFlow.js";
......@@ -70,18 +71,38 @@
*/
getdata () {
this.queryForm = {
bdcdyh: this.getCaption(window.location.href),
currentPage: 1,
djlx: "",
pageSize: 10,
qllx: "",
ywh: "",
ywly: ""
bdcdyh: this.getCaption(window.location.href)
}
// if (this.getCaption(window.location.href)) {
// this.$startLoading();
// searchTaskToDo({
// ...this.queryForm,
// }).then((res) => {
// if (res.code === 200) {
// this.$endLoading();
// let { records } = res.result;
// if(records.length){
// console.log("true",records.length);
// this.loadBdcdylist(records[0].bsmSlsq, records[0].bestepid);
// }else{
// console.log("false",records.length);
// this.treedata=[]
// }
// }
// });
// }else{
// this.treedata=[]
// }
if (this.getCaption(window.location.href)) {
this.$startLoading();
searchTaskToDo({
getDjbBysearch({
...this.queryForm,
}).then((res) => {
if (res.code === 200) {
......