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
e11694a6
Commit
e11694a6
authored
Sep 11, 2020
by
王勇飞
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gyq
parent
f610b90d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
5 deletions
+11
-5
tx-fi-tax/app/base/controller/impl/bizchance/bizoptCtl.js
+6
-3
tx-fi-tax/app/base/db/impl/bizchance/bizoptDao.js
+5
-2
No files found.
tx-fi-tax/app/base/controller/impl/bizchance/bizoptCtl.js
View file @
e11694a6
...
...
@@ -47,8 +47,8 @@ class BizOptCtl extends CtlBase {
robj
.
demand_code
=
element
.
demand_code
;
//商机编号
robj
.
v_cophone
=
element
.
v_cophone
;
//联系电话-shousuo
robj
.
business_status
=
element
.
business_status
;
//商机当前状态
if
(
element
.
business_info
.
serviceName
&&
element
.
business_info
.
serviceName
!=
'undefined'
)
{
robj
.
address
=
element
.
business_info
.
serviceName
;
//服务地区
if
(
element
.
service_address
&&
element
.
service_address
!=
'undefined'
)
{
robj
.
address
=
element
.
service_address
;
//服务地区
}
else
{
robj
.
address
=
""
;
}
...
...
@@ -225,7 +225,10 @@ class BizOptCtl extends CtlBase {
var
schemeInfo
=
await
this
.
schemeSve
.
findInfo
(
pobj
);
//方案详情
var
followUpinfos
=
await
this
.
operationrecordSve
.
findAllInfo
(
pobj
);
//线索记录
return
system
.
getResult
({
bizoptInfo
:
bizoptInfo
,
companyInfo
:
companyInfo
,
schemeInfo
:
schemeInfo
,
followUpinfos
:
followUpinfos
});
var
rtn
=
{
bizoptInfo
:
bizoptInfo
,
companyInfo
:
companyInfo
,
schemeInfo
:
schemeInfo
,
followUpinfos
:
followUpinfos
};
console
.
log
(
"获取记录详情页所有信息-------------------"
,
JSON
.
stringify
(
rtn
));
return
system
.
getResult
(
rtn
);
}
catch
(
error
)
{
console
.
log
(
"bizopt/getFollowUpInfo err: "
+
error
);
return
system
.
getResultError
(
"bizoptCtl/closeBizopt 获取跟进详情页信息出错!"
);
...
...
tx-fi-tax/app/base/db/impl/bizchance/bizoptDao.js
View file @
e11694a6
...
...
@@ -113,8 +113,8 @@ class BizoptDao extends Dao {
"business_info"
:
{},
"source_number"
:
qobj
.
sourceNumber
,
"service_address"
:
qobj
.
area
,
"facilitator_id"
:
qobj
.
fa
v
ilitatorId
,
"facilitator_name"
:
qobj
.
fa
v
ilitatorName
,
"facilitator_id"
:
qobj
.
fa
c
ilitatorId
,
"facilitator_name"
:
qobj
.
fa
c
ilitatorName
,
"source_name"
:
qobj
.
sourceName
,
};
//business_info START
...
...
@@ -127,6 +127,9 @@ class BizoptDao extends Dao {
if
(
qobj
.
mobile
&&
qobj
.
mobile
!=
'undefined'
)
{
obj
.
business_info
.
contactsPhone
=
qobj
.
mobile
;
}
if
(
qobj
.
area
&&
qobj
.
area
!=
'undefined'
){
obj
.
business_info
.
serviceName
=
qobj
.
area
;
}
//bussiness_info END
//other
if
(
qobj
.
closeReason
&&
qobj
.
closeReason
!=
'undefined'
)
{
...
...
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