Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gs1
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
吴迪
gs1
Commits
788f72a0
Commit
788f72a0
authored
Dec 11, 2021
by
Jianli Ou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
对接厂商实名认证详情接口,完善厂商实名认证步骤跳转逻辑
parent
bd0c992f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
35 additions
and
11 deletions
+35
-11
myManage.js
src/axios/module/myManage.js
+6
-1
vendor.vue
src/views/MyManage/UnVerify/vendor.vue
+12
-1
vendorstatus.vue
src/views/MyManage/UnVerify/vendorstatus.vue
+17
-9
No files found.
src/axios/module/myManage.js
View file @
788f72a0
import
{
POST
,
POSTFORM
,
UPLOAD
POST
,
POSTFORM
,
UPLOAD
,
GET
}
from
"../fetch.js"
...
...
@@ -17,6 +17,10 @@ const saveMemberInfo = (params = {}) => {
const
saveTycpdmFirmInfo
=
(
params
=
{})
=>
{
return
POST
(
`
${
Prefix
}
/office/tycpdmfirm/api/save`
,
params
)
}
// 企业信息
const
tycpdmFirmInfo
=
(
params
=
{})
=>
{
return
GET
(
`
${
Prefix
}
/office/tycpdmfirm/api/findUserName`
,
params
)
}
// 修改登录密码
const
saveUpdatePass
=
(
params
=
{})
=>
{
return
POST
(
`
${
Prefix
}
/office/member/api/updatePass`
,
params
)
...
...
@@ -26,5 +30,6 @@ export default {
memberInfo
,
saveMemberInfo
,
saveTycpdmFirmInfo
,
tycpdmFirmInfo
,
saveUpdatePass
}
src/views/MyManage/UnVerify/vendor.vue
View file @
788f72a0
...
...
@@ -292,7 +292,7 @@ export default {
leaderTele
:
''
,
// 法定代表人电话
leaderHandset
:
''
,
// 法定代表人手机
website
:
''
,
uploadImg
:
'
上传的营业执照
'
,
uploadImg
:
''
,
name
:
''
,
tel
:
''
,
mobile
:
''
,
...
...
@@ -367,8 +367,19 @@ export default {
if
(
result
.
success
)
this
.
$message
.
success
(
'保存成功'
)
return
result
.
success
},
async
getTycpdmFirmInfo
()
{
const
tycpdmFirmInfo
=
(
await
this
.
$api
.
myManage
.
tycpdmFirmInfo
({
userName
:
this
.
memberInfo
.
username
})).
data
if
(
tycpdmFirmInfo
)
{
// tycpdmFirmInfo不为null则已完成第一步填写实名信息
if
(
tycpdmFirmInfo
.
logoutFlag
===
null
)
{
// logoutFlag如果为null表示未提交书面材料
this
.
$router
.
replace
({
path
:
'/MyManage/UnVerify/uploadvendor'
})
}
else
{
this
.
$router
.
replace
({
path
:
'/MyManage/UnVerify/vendorStatus'
})
}
}
},
async
getMemberInfo
()
{
this
.
memberInfo
=
(
await
this
.
$api
.
myManage
.
memberInfo
({
id
:
this
.
loginInfo
.
id
})).
data
this
.
getTycpdmFirmInfo
()
}
},
mounted
()
{
...
...
src/views/MyManage/UnVerify/vendorstatus.vue
View file @
788f72a0
...
...
@@ -11,7 +11,7 @@
</p>
</div>
<div
class=
"cnt"
>
<div
class=
"fail"
v-if=
"
result
"
>
<div
class=
"fail"
v-if=
"
tycpdmFirmInfo.logoutFlag === 2
"
>
<img
src=
"../../../assets/image/mymanage/fail.png"
alt=
""
>
<span>
很抱歉!您未通过中国物品编码中心实名认证。一下为您所在的
<a
href=
"#"
target=
"_blank"
>
分支机构
</a>
审核意见:
</span>
<p>
{{
opinion
}}
</p>
...
...
@@ -19,15 +19,11 @@
<el-button
type=
"primary"
style=
"width: 192px"
>
重新修改企业资料
</el-button>
</p>
</div>
<div
class=
"success"
v-
else
>
<div
class=
"success"
v-
if=
"tycpdmFirmInfo.logoutFlag === 0"
>
<img
src=
"../../../assets/image/mymanage/continue.png"
alt=
""
>
<span>
您好!实名认证资料正在审核中!
</span>
</div>
</div>
</div>
</div>
...
...
@@ -39,12 +35,24 @@ export default {
data
()
{
return
{
opinion
:
'请修改材料!'
,
result
:
false
loginInfo
:
{},
memberInfo
:
{},
tycpdmFirmInfo
:
{}
}
},
methods
:
{
}
async
getTycpdmFirmInfo
()
{
this
.
tycpdmFirmInfo
=
(
await
this
.
$api
.
myManage
.
tycpdmFirmInfo
({
userName
:
this
.
memberInfo
.
username
})).
data
},
async
getMemberInfo
()
{
this
.
memberInfo
=
(
await
this
.
$api
.
myManage
.
memberInfo
({
id
:
this
.
loginInfo
.
id
})).
data
this
.
getTycpdmFirmInfo
()
}
},
mounted
()
{
this
.
loginInfo
=
JSON
.
parse
(
localStorage
.
getItem
(
'loginInfo'
))
this
.
getMemberInfo
()
}
}
</
script
>
...
...
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