Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-3
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
office
haoban-3
Commits
73a5fcdd
Commit
73a5fcdd
authored
May 27, 2022
by
caoyanzhi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: 调整请求参数
parent
74ea55c7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletions
+6
-1
org-tree.vue
src/components/company/org-tree.vue
+3
-0
myCustomerList.vue
src/views/apps/customerApp/myCustomerList.vue
+3
-1
No files found.
src/components/company/org-tree.vue
View file @
73a5fcdd
...
@@ -123,8 +123,11 @@ export default {
...
@@ -123,8 +123,11 @@ export default {
*/
*/
getChildData
(
item
)
{
getChildData
(
item
)
{
const
that
=
this
;
const
that
=
this
;
const
userInfos
=
JSON
.
parse
(
sessionStorage
.
getItem
(
'userInfos'
)
||
'{}'
);
const
wxEnterpriseId
=
userInfos
.
wxEnterpriseId
;
let
para
=
{
let
para
=
{
enterpriseId
:
item
.
enterpriseId
||
that
.
brandId
,
enterpriseId
:
item
.
enterpriseId
||
that
.
brandId
,
wxEnterpriseId
,
departmentId
:
item
.
departmentId
,
//
departmentId
:
item
.
departmentId
,
//
type
:
item
.
type
//
type
:
item
.
type
//
};
};
...
...
src/views/apps/customerApp/myCustomerList.vue
View file @
73a5fcdd
...
@@ -370,9 +370,11 @@ export default {
...
@@ -370,9 +370,11 @@ export default {
*/
*/
getGicData
()
{
getGicData
()
{
const
that
=
this
;
const
that
=
this
;
const
userInfos
=
JSON
.
parse
(
sessionStorage
.
getItem
(
'userInfos'
)
||
'{}'
);
const
wxEnterpriseId
=
userInfos
.
wxEnterpriseId
;
let
para
=
{
let
para
=
{
enterpriseId
:
that
.
brandId
,
enterpriseId
:
that
.
brandId
,
wxEnterprise
RelatedId
:
that
.
wxEnterpriseRelated
Id
wxEnterpriseId
};
};
getRequest
(
'/haoban-app-customer-web/gic-department-list'
,
para
)
getRequest
(
'/haoban-app-customer-web/gic-department-list'
,
para
)
.
then
(
async
res
=>
{
.
then
(
async
res
=>
{
...
...
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