Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Z
zhichan
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
蒋勇
zhichan
Commits
5c4148ec
Commit
5c4148ec
authored
Sep 02, 2020
by
王勇飞
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix bizOpt filter
parent
d3af22f2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
5 deletions
+12
-5
tx-fi-tax/app/base/db/impl/bizchance/bizoptDao.js
+12
-5
No files found.
tx-fi-tax/app/base/db/impl/bizchance/bizoptDao.js
View file @
5c4148ec
...
...
@@ -33,22 +33,29 @@ class BizoptDao extends Dao {
//不是来自平台前端查询
if
(
qobj
.
bizpath
&&
qobj
.
bizpath
.
indexOf
(
"pmx"
)
<
0
)
{
console
.
log
(
"bizpath-------------"
+
qobj
.
bizpath
);
q
c
.
where
.
business_type
=
qc
.
where
.
business_type
||
{
q
w
.
business_type
=
qw
.
business_type
||
{
[
this
.
db
.
Op
.
eq
]:
"bookkeeping"
}
if
(
qobj
.
bizpath
&&
qobj
.
bizpath
!=
""
)
{
let
status
;
if
(
qobj
.
bizpath
.
indexOf
(
"demandAllocation"
)
>
0
)
{
//从需求分配列表过来的
qw
[
"business_status"
]
=
{
[
this
.
db
.
Op
.
eq
]:
"received"
};
}
if
(
qobj
.
bizpath
.
indexOf
(
"demandfollow"
)
>
0
||
qobj
.
bizpath
.
indexOf
(
"distributionManagement"
)
>
0
)
{
//从需求跟进列表或分配记录列表过来的
qw
[
"business_status"
]
=
{
[
this
.
db
.
Op
.
ne
]:
"received"
};
if
(
qw
.
business_status
)
{
//如果状态漏斗筛选条件存在
status
=
qw
.
business_status
;
qw
[
"business_status"
]
=
{
[
this
.
db
.
Op
.
eq
]:
status
};
}
else
{
qw
[
"business_status"
]
=
{
[
this
.
db
.
Op
.
ne
]:
"received"
};
}
}
}
}
}
return
qw
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment