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
f863fa9f
Commit
f863fa9f
authored
Dec 15, 2021
by
Jianli Ou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
对接审核接口,完成认证-审核-变更流程
parent
0574095d
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
57 additions
and
42 deletions
+57
-42
myManage.js
src/axios/module/myManage.js
+11
-1
index.vue
src/views/Djwh/index.vue
+8
-8
certificationDetail.vue
src/views/MyManage/Admin/certificationDetail.vue
+0
-0
checkSearchTable.vue
src/views/MyManage/Admin/checkSearchTable.vue
+20
-25
index.vue
src/views/MyManage/UnVerify/index.vue
+3
-3
realNameTable.vue
src/views/MyManage/UnVerify/realNameTable.vue
+1
-1
uploadvendor.vue
src/views/MyManage/UnVerify/uploadvendor.vue
+8
-2
vendor.vue
src/views/MyManage/UnVerify/vendor.vue
+0
-0
vendorstatus.vue
src/views/MyManage/UnVerify/vendorstatus.vue
+6
-2
No files found.
src/axios/module/myManage.js
View file @
f863fa9f
...
@@ -39,6 +39,14 @@ const tycpdmfirmLogoutFlagCount = (params = {}) => {
...
@@ -39,6 +39,14 @@ const tycpdmfirmLogoutFlagCount = (params = {}) => {
}
}
// 审核列表
// 审核列表
const
tycpdmfirmAuditList
=
(
params
=
{})
=>
{
const
tycpdmfirmAuditList
=
(
params
=
{})
=>
{
return
POST
(
`
${
Prefix
}
/office/tycpdmfirm/authApi/findlist`
,
params
)
}
// 审核
const
tycpdmfirmAudit
=
(
params
=
{})
=>
{
return
POST
(
`
${
Prefix
}
/office/tycpdmfirm/authApi/audit`
,
params
)
}
// 审核变更列表
const
tycpdmfirmChangeAuditList
=
(
params
=
{})
=>
{
return
POST
(
`
${
Prefix
}
/office/tycpdmfirmchange/authApi/findlist`
,
params
)
return
POST
(
`
${
Prefix
}
/office/tycpdmfirmchange/authApi/findlist`
,
params
)
}
}
export
default
{
export
default
{
...
@@ -50,5 +58,7 @@ export default {
...
@@ -50,5 +58,7 @@ export default {
tycpdmFirmInfo
,
tycpdmFirmInfo
,
saveUpdatePass
,
saveUpdatePass
,
tycpdmfirmLogoutFlagCount
,
tycpdmfirmLogoutFlagCount
,
tycpdmfirmAuditList
tycpdmfirmAuditList
,
tycpdmfirmAudit
,
tycpdmfirmChangeAuditList
}
}
src/views/Djwh/index.vue
View file @
f863fa9f
...
@@ -186,7 +186,7 @@ export default {
...
@@ -186,7 +186,7 @@ export default {
that
.
hotList
=
result
that
.
hotList
=
result
})
})
// 活动报道
// 活动报道
this
.
initListFn
(
8
,
428
).
then
(
function
(
result
)
{
this
.
initListFn
(
10
,
428
).
then
(
function
(
result
)
{
that
.
reportList
=
result
that
.
reportList
=
result
})
})
//党史
//党史
...
@@ -228,7 +228,7 @@ export default {
...
@@ -228,7 +228,7 @@ export default {
const
{
returnCode
,
data
}
=
listRes
;
const
{
returnCode
,
data
}
=
listRes
;
if
(
returnCode
===
"0"
)
{
if
(
returnCode
===
"0"
)
{
return
data
.
list
return
data
.
list
}
}
},
},
// 党史列表
// 党史列表
...
@@ -242,7 +242,7 @@ export default {
...
@@ -242,7 +242,7 @@ export default {
const
{
returnCode
,
data
}
=
listRes
;
const
{
returnCode
,
data
}
=
listRes
;
if
(
returnCode
===
"0"
)
{
if
(
returnCode
===
"0"
)
{
this
.
dsList
=
data
this
.
dsList
=
data
}
}
},
},
// 总局
// 总局
...
@@ -256,7 +256,7 @@ export default {
...
@@ -256,7 +256,7 @@ export default {
const
{
returnCode
,
data
}
=
listRes
;
const
{
returnCode
,
data
}
=
listRes
;
if
(
returnCode
===
"0"
)
{
if
(
returnCode
===
"0"
)
{
this
.
centerList
=
data
this
.
centerList
=
data
}
}
},
},
// 规章制度
// 规章制度
...
@@ -270,19 +270,19 @@ export default {
...
@@ -270,19 +270,19 @@ export default {
const
{
returnCode
,
data
}
=
listRes
;
const
{
returnCode
,
data
}
=
listRes
;
if
(
returnCode
===
"0"
)
{
if
(
returnCode
===
"0"
)
{
this
.
ruleList
=
data
this
.
ruleList
=
data
}
}
},
},
// 图片资讯列表TOP4
// 图片资讯列表TOP4
async
pictureTop4
()
{
async
pictureTop4
()
{
const
listRes
=
const
listRes
=
await
this
.
$api
.
news
.
pictureTop4
();
await
this
.
$api
.
news
.
pictureTop4
();
const
{
returnCode
,
data
}
=
listRes
;
const
{
returnCode
,
data
}
=
listRes
;
if
(
returnCode
===
"0"
)
{
if
(
returnCode
===
"0"
)
{
this
.
pictureListArr
=
data
this
.
pictureListArr
=
data
}
}
},
},
goInfo
(
id
,
directpath
){
goInfo
(
id
,
directpath
){
if
(
directpath
&&
directpath
!==
''
&&
directpath
.
length
>
0
){
if
(
directpath
&&
directpath
!==
''
&&
directpath
.
length
>
0
){
...
@@ -443,7 +443,7 @@ html{
...
@@ -443,7 +443,7 @@ html{
width
:
100%
;
width
:
100%
;
height
:
100%
;
height
:
100%
;
background
:
url('../../assets/image/djwh/2020122802.jpg')
100%
;
background
:
url('../../assets/image/djwh/2020122802.jpg')
100%
;
}
}
}
}
...
...
src/views/MyManage/Admin/certificationDetail.vue
View file @
f863fa9f
This diff is collapsed.
Click to expand it.
src/views/MyManage/Admin/checkSearchTable.vue
View file @
f863fa9f
...
@@ -22,7 +22,7 @@
...
@@ -22,7 +22,7 @@
</div>
</div>
<div
class=
"col-lg-3"
>
<div
class=
"col-lg-3"
>
<el-form-item
label=
"状态:"
label-width=
"50px"
>
<el-form-item
label=
"状态:"
label-width=
"50px"
>
<el-select
size=
"small"
style=
"width: 145px"
v-model=
"search.logoutF
lag"
>
<el-select
size=
"small"
style=
"width: 145px"
clearable
v-model=
"search.logout_f
lag"
>
<el-option
<el-option
v-for=
"item in statusList"
v-for=
"item in statusList"
:key=
"item.value"
:key=
"item.value"
...
@@ -39,13 +39,13 @@
...
@@ -39,13 +39,13 @@
</div>
</div>
<div
class=
"col-lg-2"
style=
"text-align: right"
>
<div
class=
"col-lg-2"
style=
"text-align: right"
>
<el-form-item>
<el-form-item>
<el-button
type=
"primary"
size=
"small"
>
搜索
</el-button>
<el-button
@
click=
"getAuditList"
type=
"primary"
size=
"small"
>
搜索
</el-button>
</el-form-item>
</el-form-item>
</div>
</div>
</div>
</div>
</el-form>
</el-form>
</div>
</div>
<div
class=
"gs-ac-st-table"
>
<div
class=
"gs-ac-st-table"
v-loading=
"loading"
>
<gs-table
<gs-table
:columns=
'cols'
:columns=
'cols'
:data=
"result"
:data=
"result"
...
@@ -59,7 +59,7 @@
...
@@ -59,7 +59,7 @@
</div>
</div>
</div>
</div>
<CertificationDetail
v-if=
"checkDetail"
@
back=
"handleBack"
subCenter
<CertificationDetail
v-if=
"checkDetail"
@
back=
"handleBack"
subCenter
:title=
"checkDetail.
entName+'-企业实名认证信息'
"
></CertificationDetail>
:title=
"checkDetail.
firmname+'-企业实名认证信息'"
:detailInfo=
"checkDetail
"
></CertificationDetail>
</div>
</div>
</
template
>
</
template
>
...
@@ -75,19 +75,21 @@ export default {
...
@@ -75,19 +75,21 @@ export default {
props
:
{
query
:
Object
},
props
:
{
query
:
Object
},
created
()
{
created
()
{
// this.setData()
// this.setData()
this
.
search
.
logout
F
lag
=
this
.
query
.
status
this
.
search
.
logout
_f
lag
=
this
.
query
.
status
if
(
this
.
query
.
type
===
'new'
)
{
if
(
this
.
query
.
type
===
'new'
)
{
// TODO 查询新增
// TODO 查询新增
this
.
getAuditList
()
this
.
getAuditList
()
}
else
{
}
else
{
// TODO 查询变更
// TODO 查询变更
this
.
getAuditList
()
}
}
},
},
data
()
{
data
()
{
return
{
return
{
loading
:
false
,
page
:
{},
page
:
{},
search
:
{
search
:
{
logout
F
lag
:
''
,
logout
_f
lag
:
''
,
firmName
:
''
,
firmName
:
''
,
branchCode
:
''
,
branchCode
:
''
,
page
:
1
,
page
:
1
,
...
@@ -192,6 +194,7 @@ export default {
...
@@ -192,6 +194,7 @@ export default {
},
},
handleBack
()
{
handleBack
()
{
this
.
checkDetail
=
null
this
.
checkDetail
=
null
this
.
getAuditList
()
},
},
handleEntNameCheck
(
row
)
{
handleEntNameCheck
(
row
)
{
console
.
log
(
row
)
console
.
log
(
row
)
...
@@ -215,27 +218,19 @@ export default {
...
@@ -215,27 +218,19 @@ export default {
return
refuse
return
refuse
}
}
},
},
// setData() {
// for (let i = 0; i
<
20
;
i
++
)
{
// this.result.push({
// status: 'unchecked',
// type: '新增',
// username: '厦门皇名',
// entName: '厦门皇名酒业有限公司',
// entAddress: '福建省厦门市思明区鹭江道268号',
// user: '王庆',
// mobile: '18098097532',
// date1: '2021/06/20 11:20:40',
// date2: '',
// center: '厦门办事处',
// })
// }
// },
async
getAuditList
()
{
async
getAuditList
()
{
const
result
=
await
this
.
$api
.
myManage
.
tycpdmfirmAuditList
(
this
.
search
)
this
.
loading
=
true
let
result
=
null
if
(
this
.
query
.
type
===
'new'
)
{
// TODO 查询新增
result
=
await
this
.
$api
.
myManage
.
tycpdmfirmAuditList
(
this
.
search
)
}
else
{
// TODO 查询变更
result
=
await
this
.
$api
.
myManage
.
tycpdmfirmChangeAuditList
(
this
.
search
)
}
this
.
result
=
result
.
data
.
list
this
.
result
=
result
.
data
.
list
console
.
log
(
result
)
this
.
loading
=
false
}
}
,
},
},
}
}
</
script
>
</
script
>
...
...
src/views/MyManage/UnVerify/index.vue
View file @
f863fa9f
...
@@ -26,15 +26,15 @@
...
@@ -26,15 +26,15 @@
>
您已成为中国物品编码中心实名认证企业!
>
您已成为中国物品编码中心实名认证企业!
</p>
</p>
<p
style=
"padding-left:24px"
>
<p
style=
"padding-left:24px"
>
您可以——前往
<a
href=
"http://v3.gds.org.cn/index.aspx"
您可以——前往
<a
href=
"http://v3.gds.org.cn/index.aspx"
target=
"_blank"
>
中国商品信息服务平台
</a
>
中国商品信息服务平台
</a
>
>
办理
<a
href=
"http://v3.gds.org.cn/index.aspx"
办理
<a
href=
"http://v3.gds.org.cn/index.aspx"
target=
"_blank"
>
“通报进口商品信息” “开通条码微站” “使用数据总资产服务”!
</a
>
“通报进口商品信息” “开通条码微站” “使用数据总资产服务”!
</a
>
>
</p>
</p>
<p
style=
"padding-left:24px"
>
<p
style=
"padding-left:24px"
>
您可以——前往
<a
href=
"http://gln.gs1cn.org/number.aspx?id=1"
您可以——前往
<a
href=
"http://gln.gs1cn.org/number.aspx?id=1"
target=
"_blank"
>
购买GLN
</a
>
购买GLN
</a
>
>
</p>
</p>
...
...
src/views/MyManage/UnVerify/realNameTable.vue
View file @
f863fa9f
...
@@ -151,7 +151,7 @@ export default {
...
@@ -151,7 +151,7 @@ export default {
methods
:
{
methods
:
{
async
getTycpdmFirmInfo
()
{
async
getTycpdmFirmInfo
()
{
const
result
=
await
this
.
$api
.
myManage
.
tycpdmFirmInfo
({
userName
:
this
.
memberInfo
.
username
})
const
result
=
await
this
.
$api
.
myManage
.
tycpdmFirmInfo
({
userName
:
this
.
memberInfo
.
username
})
this
.
tycpdmFirmInfo
=
result
.
data
this
.
tycpdmFirmInfo
=
result
.
data
.
data
},
},
async
getMemberInfo
()
{
async
getMemberInfo
()
{
this
.
memberInfo
=
(
await
this
.
$api
.
myManage
.
memberInfo
({
id
:
this
.
loginInfo
.
id
})).
data
this
.
memberInfo
=
(
await
this
.
$api
.
myManage
.
memberInfo
({
id
:
this
.
loginInfo
.
id
})).
data
...
...
src/views/MyManage/UnVerify/uploadvendor.vue
View file @
f863fa9f
...
@@ -64,7 +64,8 @@ export default {
...
@@ -64,7 +64,8 @@ export default {
const
fileObj
=
document
.
getElementById
(
'file'
).
files
[
0
]
const
fileObj
=
document
.
getElementById
(
'file'
).
files
[
0
]
let
form
=
new
FormData
()
// FormData 对象
let
form
=
new
FormData
()
// FormData 对象
form
.
append
(
'file'
,
fileObj
)
// 文件对象
form
.
append
(
'file'
,
fileObj
)
// 文件对象
form
.
append
(
'id'
,
that
.
tycpdmFirmInfo
.
fid
)
form
.
append
(
'id'
,
that
.
tycpdmFirmInfo
.
status
===
1
?
that
.
tycpdmFirmInfo
.
fid
:
that
.
tycpdmFirmInfo
.
id
)
form
.
append
(
'status'
,
that
.
tycpdmFirmInfo
.
status
)
this
.
upload
(
form
)
this
.
upload
(
form
)
})
})
}
else
{
}
else
{
...
@@ -74,7 +75,8 @@ export default {
...
@@ -74,7 +75,8 @@ export default {
},
},
async
getTycpdmFirmInfo
()
{
async
getTycpdmFirmInfo
()
{
const
result
=
await
this
.
$api
.
myManage
.
tycpdmFirmInfo
({
userName
:
this
.
memberInfo
.
username
})
const
result
=
await
this
.
$api
.
myManage
.
tycpdmFirmInfo
({
userName
:
this
.
memberInfo
.
username
})
this
.
tycpdmFirmInfo
=
result
.
data
this
.
tycpdmFirmInfo
=
result
.
data
.
data
this
.
tycpdmFirmInfo
.
status
=
result
.
data
.
status
if
(
this
.
tycpdmFirmInfo
.
logoutFlag
===
0
)
{
if
(
this
.
tycpdmFirmInfo
.
logoutFlag
===
0
)
{
await
this
.
$router
.
replace
({
path
:
'/MyManage/UnVerify/vendorStatus'
})
await
this
.
$router
.
replace
({
path
:
'/MyManage/UnVerify/vendorStatus'
})
}
}
...
@@ -87,6 +89,10 @@ export default {
...
@@ -87,6 +89,10 @@ export default {
mounted
()
{
mounted
()
{
this
.
loginInfo
=
JSON
.
parse
(
localStorage
.
getItem
(
'loginInfo'
))
this
.
loginInfo
=
JSON
.
parse
(
localStorage
.
getItem
(
'loginInfo'
))
this
.
getMemberInfo
()
this
.
getMemberInfo
()
},
destroyed
()
{
const
fileElement
=
document
.
getElementById
(
'file'
)
fileElement
&&
document
.
body
.
removeChild
(
fileElement
)
}
}
}
}
</
script
>
</
script
>
...
...
src/views/MyManage/UnVerify/vendor.vue
View file @
f863fa9f
This diff is collapsed.
Click to expand it.
src/views/MyManage/UnVerify/vendorstatus.vue
View file @
f863fa9f
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
<span>
很抱歉!您未通过中国物品编码中心实名认证。以下为您所在的
<a
href=
"#"
target=
"_blank"
>
分支机构
</a>
审核意见:
</span>
<span>
很抱歉!您未通过中国物品编码中心实名认证。以下为您所在的
<a
href=
"#"
target=
"_blank"
>
分支机构
</a>
审核意见:
</span>
<p>
{{
opinion
}}
</p>
<p>
{{
opinion
}}
</p>
<p
class=
"btn-p"
>
<p
class=
"btn-p"
>
<el-button
type=
"primary"
style=
"width: 192px"
>
重新修改企业资料
</el-button>
<el-button
@
click=
"modifyInfoBtn"
type=
"primary"
style=
"width: 192px"
>
重新修改企业资料
</el-button>
</p>
</p>
</div>
</div>
<div
class=
"success"
v-if=
"tycpdmFirmInfo.logoutFlag === 0"
>
<div
class=
"success"
v-if=
"tycpdmFirmInfo.logoutFlag === 0"
>
...
@@ -41,8 +41,12 @@ export default {
...
@@ -41,8 +41,12 @@ export default {
}
}
},
},
methods
:
{
methods
:
{
modifyInfoBtn
()
{
this
.
$router
.
replace
({
path
:
'/MyManage/UnVerify/vendor'
,
query
:
{
status
:
'modify'
}})
},
async
getTycpdmFirmInfo
()
{
async
getTycpdmFirmInfo
()
{
this
.
tycpdmFirmInfo
=
(
await
this
.
$api
.
myManage
.
tycpdmFirmInfo
({
userName
:
this
.
memberInfo
.
username
})).
data
const
result
=
await
this
.
$api
.
myManage
.
tycpdmFirmInfo
({
userName
:
this
.
memberInfo
.
username
})
this
.
tycpdmFirmInfo
=
result
.
data
.
data
},
},
async
getMemberInfo
()
{
async
getMemberInfo
()
{
this
.
memberInfo
=
(
await
this
.
$api
.
myManage
.
memberInfo
({
id
:
this
.
loginInfo
.
id
})).
data
this
.
memberInfo
=
(
await
this
.
$api
.
myManage
.
memberInfo
({
id
:
this
.
loginInfo
.
id
})).
data
...
...
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