Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
bdc
/
bdcdj-web
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
d05294ce
authored
2023-07-25 16:16:41 +0800
by
renchao@pashanhoo.com
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'master' of
http://yun.pashanhoo.com:9090/bdc/bdcdj-web
2 parents
01431511
58370ae7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
39 additions
and
17 deletions
src/views/registerBook/djbFrameall.vue
src/views/registerBook/djbFrameall.vue
View file @
d05294c
...
...
@@ -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,31 +71,52 @@
*/
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
)
{
this
.
$endLoading
();
let
{
records
}
=
res
.
result
;
console
.
log
(
"records"
,
records
);
if
(
records
){
console
.
log
(
"false"
);
this
.
loadBdcdylist
(
records
[
0
].
bsmSlsq
,
records
[
0
].
bestepid
);
this
.
$endLoading
();
if
(
records
.
length
){
console
.
log
(
"true"
,
records
.
length
);
this
.
loadBdcdylist
(
records
[
0
].
bdcdyh
,
records
[
0
].
bdcdyid
);
}
else
{
this
.
$endLoading
();
this
.
treedata
=
[]
console
.
log
(
"false"
,
records
.
length
);
this
.
treedata
=
[]
}
}
...
...
Please
register
or
sign in
to post a comment