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
be03f83b
Commit
be03f83b
authored
Mar 31, 2022
by
蒋勇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d
parent
08173a4f
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
ic-deliver/app/base/controller/ctl.base.js
+3
-0
ic-deliver/app/base/controller/impl/bizchance/deliverybillCtl.js
+1
-0
No files found.
ic-deliver/app/base/controller/ctl.base.js
View file @
be03f83b
...
@@ -56,6 +56,8 @@ class CtlBase {
...
@@ -56,6 +56,8 @@ class CtlBase {
codename
:
req
.
headers
[
"xcodename"
],
codename
:
req
.
headers
[
"xcodename"
],
codetitle
:
req
.
headers
[
"xcodetitle"
]
?
decodeURI
(
req
.
headers
[
"xcodetitle"
])
:
''
,
codetitle
:
req
.
headers
[
"xcodetitle"
]
?
decodeURI
(
req
.
headers
[
"xcodetitle"
])
:
''
,
}
}
console
.
log
(
"before call.................................setContextParams"
)
console
.
log
(
req
.
xctx
.
username
)
//添加组织结构路径,如果是上级,取上级
//添加组织结构路径,如果是上级,取上级
if
(
req
.
xctx
.
ptags
&&
req
.
xctx
.
ptags
!=
""
)
{
if
(
req
.
xctx
.
ptags
&&
req
.
xctx
.
ptags
!=
""
)
{
pobj
.
opath
=
req
.
xctx
.
ptags
pobj
.
opath
=
req
.
xctx
.
ptags
...
@@ -106,6 +108,7 @@ class CtlBase {
...
@@ -106,6 +108,7 @@ class CtlBase {
// this.session={};
// this.session={};
// }
// }
//req.session=redis缓存的上下文对象
//req.session=redis缓存的上下文对象
var
rtn
=
await
this
[
methodname
](
pobj
,
query
,
req
);
var
rtn
=
await
this
[
methodname
](
pobj
,
query
,
req
);
this
.
logClient
.
log
(
pobj
,
req
,
rtn
)
this
.
logClient
.
log
(
pobj
,
req
,
rtn
)
return
rtn
;
return
rtn
;
...
...
ic-deliver/app/base/controller/impl/bizchance/deliverybillCtl.js
View file @
be03f83b
...
@@ -566,6 +566,7 @@ class DeliverybillCtl extends CtlBase {
...
@@ -566,6 +566,7 @@ class DeliverybillCtl extends CtlBase {
/*更新业务员/交付员信息*/
/*更新业务员/交付员信息*/
async
updateUsermanInfoByDeliverCode
(
mobj
,
qobj
,
req
)
{
async
updateUsermanInfoByDeliverCode
(
mobj
,
qobj
,
req
)
{
console
.
log
(
"in updateUsermanInfoByDeliverCode...."
);
var
pobj
=
mobj
.
d
;
var
pobj
=
mobj
.
d
;
if
(
pobj
.
deliverNumber
&&
pobj
.
deliverNumber
!=
'undefined'
)
{
if
(
pobj
.
deliverNumber
&&
pobj
.
deliverNumber
!=
'undefined'
)
{
try
{
try
{
...
...
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