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
9b534556
Commit
9b534556
authored
Mar 18, 2020
by
尹亚亭
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'channel-access' of gitlab.gongsibao.com:jiangyong/zhichan into channel-access
parents
f62e0d92
7a24f773
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
58 additions
and
20 deletions
+58
-20
channel-access/src/views/fqembed/companylist.vue
+55
-19
channel-access/src/views/fqembed/needProxy.vue
+3
-1
No files found.
channel-access/src/views/fqembed/companylist.vue
View file @
9b534556
...
...
@@ -430,7 +430,10 @@ export default {
detailsData
:
{},
baseURL
:
""
,
detailsNeedNo
:
""
,
headers
:
{}
headers
:
{
headers
:
{}
},
companyParams
:
{}
};
},
methods
:
{
...
...
@@ -535,7 +538,7 @@ export default {
pageSize
:
"20"
,
needNo
:
""
,
solutionNo
:
this
.
schemeNo
||
""
,
bizType
:
"companyreg"
,
bizType
:
"
esp.
companyreg"
,
orderNo
:
this
.
serviceNo
||
""
,
status
:
this
.
scheme
||
""
,
companyName
:
this
.
entName
||
""
,
...
...
@@ -589,7 +592,7 @@ export default {
needNo
:
""
,
solutionNo
:
this
.
cSchemeNo
||
""
,
//方案编号
companyName
:
this
.
cEntName
||
""
,
bizType
:
"companyreg_cloud"
,
bizType
:
"
esp.
companyreg_cloud"
,
orderNo
:
this
.
cServiceNo
||
""
,
//服务单号
status
:
this
.
cScheme
||
""
,
//方案状态
park
:
this
.
regPark
||
""
,
//注册园区
...
...
@@ -630,23 +633,56 @@ export default {
}
},
watch
:
{},
created
()
{
if
(
process
.
env
.
NODE_ENV
==
"development"
)
{
//开发环境
this
.
baseURL
=
"/api/web/action/icapi/springBoard"
;
}
else
if
(
process
.
env
.
NODE_ENV
==
"production"
)
{
//生产环境
this
.
baseURL
=
"/web/action/icapi/springBoard"
;
}
this
.
headers
=
{
headers
:
{
token
:
"3260d5a2452441dd93ecc7ecb35f6dc0"
,
userpin
:
"417c247bc8664999a508fd710cc25567"
created
()
{},
async
mounted
()
{
if
(
this
.
$route
.
query
)
{
this
.
companyParams
=
{
...
this
.
$route
.
query
};
this
.
headers
.
headers
.
token
=
this
.
companyParams
.
token
;
console
.
log
(
this
.
companyParams
);
var
authUrl
=
"/web/auth/accessAuth/springBoard"
;
if
(
process
.
env
.
NODE_ENV
==
"development"
)
{
//开发环境
this
.
baseURL
=
"/api/web/action/icapi/springBoard"
;
authUrl
=
"/api/web/auth/accessAuth/springBoard"
;
}
else
if
(
process
.
env
.
NODE_ENV
==
"production"
)
{
//生产环境
this
.
baseURL
=
"/web/action/icapi/springBoard"
;
authUrl
=
"/web/auth/accessAuth/springBoard"
;
}
};
// console.log(JSON.parse(this.$route.query.data));
},
mounted
()
{
await
req
.
post
(
authUrl
,
{
actionType
:
"getNeedUserPinByChannelUserId"
,
actionBody
:
{
needNo
:
this
.
companyParams
.
needNo
,
// Y 需求号
channelUserId
:
this
.
companyParams
.
userId
,
// Y 渠道用户ID
channelUserName
:
""
,
// N 渠道用户名
mobile
:
this
.
companyParams
.
mobile
,
// N 渠道用户手机号
nickName
:
this
.
companyParams
.
nickName
,
// N 用户昵称
orgName
:
this
.
companyParams
.
orgName
// N 公司名称
}
},
{
headers
:
{
token
:
this
.
companyParams
.
token
}
}
)
.
then
(
res
=>
{
if
(
res
.
data
.
status
==
0
)
{
this
.
headers
.
headers
.
userpin
=
res
.
data
.
data
.
userpin
;
if
(
res
.
data
.
data
.
channelTypeCode
==
"esp.companyreg"
)
{
this
.
activeName
=
"1"
;
}
else
if
(
res
.
data
.
data
.
channelTypeCode
==
"esp.companyreg_cloud"
)
{
this
.
activeName
=
"2"
;
}
}
console
.
log
(
res
.
data
);
});
}
this
.
getListData
();
}
};
...
...
channel-access/src/views/fqembed/needProxy.vue
View file @
9b534556
...
...
@@ -9,11 +9,13 @@ export default {
};
},
created
()
{
if
(
this
.
$route
.
query
)
{
this
.
companyParams
=
this
.
$route
.
query
;
console
.
log
(
this
.
$route
.
query
)
this
.
$router
.
push
({
path
:
"/companylist"
,
query
:
{
data
:
JSON
.
stringify
(
this
.
companyParams
)}
query
:
this
.
companyParams
});
console
.
log
(
123
,
this
.
companyParams
);
}
...
...
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