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
f29b92e8
Commit
f29b92e8
authored
Dec 16, 2021
by
Jianli Ou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
完善个人中心功能
parent
db895a67
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
78 additions
and
35 deletions
+78
-35
fetch.js
src/axios/fetch.js
+1
-0
myManage.js
src/axios/module/myManage.js
+8
-1
index.js
src/router/index.js
+5
-0
certificationDetail.vue
src/views/MyManage/Admin/certificationDetail.vue
+39
-12
realNameTable.vue
src/views/MyManage/UnVerify/realNameTable.vue
+22
-22
vendor.vue
src/views/MyManage/UnVerify/vendor.vue
+3
-0
No files found.
src/axios/fetch.js
View file @
f29b92e8
...
@@ -25,6 +25,7 @@ function fetch(options) {
...
@@ -25,6 +25,7 @@ function fetch(options) {
return
new
Promise
((
resolve
,
reject
)
=>
{
return
new
Promise
((
resolve
,
reject
)
=>
{
const
instance
=
axios
.
create
({
const
instance
=
axios
.
create
({
baseURL
:
baseUrl
,
//根地址
baseURL
:
baseUrl
,
//根地址
withCredentials
:
true
,
//跨域请求时发送Cookie
timeout
:
(
30
*
1000
),
//请求时间
timeout
:
(
30
*
1000
),
//请求时间
url
:
options
.
url
,
//请求地址
url
:
options
.
url
,
//请求地址
method
:
options
.
method
,
//请求方式
method
:
options
.
method
,
//请求方式
...
...
src/axios/module/myManage.js
View file @
f29b92e8
...
@@ -4,6 +4,7 @@ import {
...
@@ -4,6 +4,7 @@ import {
const
Prefix
=
process
.
env
.
NODE_ENV
===
'development'
?
'/gs1'
:
''
;
const
Prefix
=
process
.
env
.
NODE_ENV
===
'development'
?
'/gs1'
:
''
;
const
hostUrl
=
process
.
env
.
VUE_APP_HOST_URL
// 个人资料
// 个人资料
const
memberInfo
=
(
params
=
{})
=>
{
const
memberInfo
=
(
params
=
{})
=>
{
...
@@ -53,6 +54,11 @@ const tycpdmfirmChangeAuditList = (params = {}) => {
...
@@ -53,6 +54,11 @@ const tycpdmfirmChangeAuditList = (params = {}) => {
const
tycpdmfirmupdateSystem
=
(
params
=
{})
=>
{
const
tycpdmfirmupdateSystem
=
(
params
=
{})
=>
{
return
POST
(
`
${
Prefix
}
/office/tycpdmfirm/authApi/updateSystem`
,
params
)
return
POST
(
`
${
Prefix
}
/office/tycpdmfirm/authApi/updateSystem`
,
params
)
}
}
// 获取认证图片接口
const
tycpdmfirmReturnFile
=
(
params
=
{})
=>
{
return
`
${
hostUrl
}
/office/tycpdmfirm/api/returnFile?status=
${
params
.
status
}
&fileType=
${
params
.
fileType
}
&id=
${
params
.
id
}
`
}
//
export
default
{
export
default
{
memberInfo
,
memberInfo
,
saveMemberInfo
,
saveMemberInfo
,
...
@@ -65,5 +71,6 @@ export default {
...
@@ -65,5 +71,6 @@ export default {
tycpdmfirmAuditList
,
tycpdmfirmAuditList
,
tycpdmfirmAudit
,
tycpdmfirmAudit
,
tycpdmfirmChangeAuditList
,
tycpdmfirmChangeAuditList
,
tycpdmfirmupdateSystem
tycpdmfirmupdateSystem
,
tycpdmfirmReturnFile
}
}
src/router/index.js
View file @
f29b92e8
...
@@ -1142,6 +1142,11 @@ const routes = [
...
@@ -1142,6 +1142,11 @@ const routes = [
component
:
()
=>
import
(
"@/views/User/index"
),
component
:
()
=>
import
(
"@/views/User/index"
),
},
},
{
{
path
:
"/MyManage/UnVerify/realNameTable"
,
name
:
"realNameTable"
,
component
:
()
=>
import
(
"@/views/MyManage/UnVerify/realNameTable"
),
},
{
path
:
"/404"
,
path
:
"/404"
,
name
:
"404"
,
name
:
"404"
,
component
:
()
=>
import
(
"@/views/User/404"
),
component
:
()
=>
import
(
"@/views/User/404"
),
...
...
src/views/MyManage/Admin/certificationDetail.vue
View file @
f29b92e8
...
@@ -25,7 +25,7 @@
...
@@ -25,7 +25,7 @@
<div
class=
"row"
>
<div
class=
"row"
>
<div
class=
"detail-cell col-lg-6"
v-for=
"item in entInfoFields"
>
<div
class=
"detail-cell col-lg-6"
v-for=
"item in entInfoFields"
>
<div
class=
"label"
:class=
"
{required:item.required}">
{{
item
.
label
}}
</div>
<div
class=
"label"
:class=
"
{required:item.required}">
{{
item
.
label
}}
</div>
<div
class=
"value"
:class=
"
{'gs-clickable':item.type==='file'}">
{{
item
.
value
}}
</div>
<div
class=
"value"
:class=
"
{'gs-clickable':item.type==='file'}"
@click="checkField(item)"
>
{{
item
.
value
}}
</div>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -71,7 +71,9 @@ export default {
...
@@ -71,7 +71,9 @@ export default {
visible
:
false
,
visible
:
false
,
branchList
:
window
.
CodeTable
.
ANCCBranches
,
branchList
:
window
.
CodeTable
.
ANCCBranches
,
branchCode
:
''
,
branchCode
:
''
,
subCenterName
:
'广东分中心'
,
subCenterName
:
''
,
status
:
''
,
//1.首次 2.变更
id
:
''
,
//各个表的主键
// 原静态页面定义数据
// 原静态页面定义数据
// entInfoFields: [
// entInfoFields: [
// {
// {
...
@@ -278,7 +280,7 @@ export default {
...
@@ -278,7 +280,7 @@ export default {
{
{
key
:
'firmArchivesfile'
,
key
:
'firmArchivesfile'
,
label
:
'上传企业营业执照扫描件'
,
label
:
'上传企业营业执照扫描件'
,
value
:
''
,
value
:
'
查看已年检企业营业执照扫描件
'
,
type
:
'file'
type
:
'file'
},
},
],
],
...
@@ -385,26 +387,44 @@ export default {
...
@@ -385,26 +387,44 @@ export default {
handleBack
()
{
handleBack
()
{
this
.
$emit
(
'back'
)
this
.
$emit
(
'back'
)
},
},
checkField
(
item
)
{
console
.
log
(
item
)
if
(
item
.
key
===
'firmArchivesfile'
)
{
const
form
=
{
status
:
this
.
status
,
fileType
:
'1'
,
//1.第一步文件 2.第二步文件
id
:
this
.
id
}
this
.
getFile
(
form
)
}
},
getFile
(
form
)
{
const
result
=
this
.
$api
.
myManage
.
tycpdmfirmReturnFile
(
form
)
window
.
open
(
result
,
'_black'
)
console
.
log
(
result
)
},
getBranchLabel
(
branchCode
)
{
return
(
this
.
branchList
.
find
(
item
=>
item
.
value
===
branchCode
)
||
{
label
:
'--'
}).
label
},
async
updateSystem
()
{
async
updateSystem
()
{
const
form
=
{
const
form
=
{
id
:
this
.
$route
.
query
.
type
===
'new'
?
this
.
detailInfo
.
fid
:
this
.
detailInfo
.
id
,
id
:
this
.
id
,
status
:
this
.
$route
.
query
.
type
===
'new'
?
1
:
2
,
status
:
this
.
status
,
branchCode
:
this
.
branchCode
branchCode
:
this
.
branchCode
}
}
const
result
=
await
this
.
$api
.
myManage
.
tycpdmfirmupdateSystem
(
form
)
const
result
=
await
this
.
$api
.
myManage
.
tycpdmfirmupdateSystem
(
form
)
console
.
log
(
result
)
if
(
result
.
success
)
{
if
(
result
.
success
)
{
this
.
$message
.
success
(
'请求成功'
)
this
.
$message
.
success
(
'请求成功'
)
this
.
subCenterName
=
(
this
.
branchList
.
find
(
item
=>
item
.
value
===
this
.
branchCode
)
||
{
label
:
'--'
}).
label
this
.
subCenterName
=
this
.
getBranchLabel
(
this
.
branchCode
)
this
.
visible
=
false
this
.
visible
=
false
}
else
{
}
else
{
this
.
$message
.
error
(
'请求失败'
)
this
.
$message
.
error
(
result
.
returnMsg
)
}
}
},
},
async
auditEvent
(
auditStatus
)
{
async
auditEvent
(
auditStatus
)
{
const
form
=
{
const
form
=
{
id
:
this
.
$route
.
query
.
type
===
'new'
?
this
.
detailInfo
.
fid
:
this
.
detailInfo
.
id
,
id
:
this
.
id
,
status
:
this
.
$route
.
query
.
type
===
'new'
?
1
:
2
,
status
:
this
.
status
,
auditStatus
:
auditStatus
auditStatus
:
auditStatus
}
}
const
result
=
await
this
.
$api
.
myManage
.
tycpdmfirmAudit
(
form
)
const
result
=
await
this
.
$api
.
myManage
.
tycpdmfirmAudit
(
form
)
...
@@ -412,11 +432,18 @@ export default {
...
@@ -412,11 +432,18 @@ export default {
this
.
$message
.
success
(
'操作成功'
)
this
.
$message
.
success
(
'操作成功'
)
this
.
$emit
(
'back'
)
this
.
$emit
(
'back'
)
}
else
{
}
else
{
this
.
$message
.
error
(
'操作失败'
)
this
.
$message
.
error
(
result
.
returnMsg
)
}
}
},
},
initData
()
{
initData
()
{
this
.
entInfoFields
.
forEach
(
item
=>
item
.
key
&&
(
item
.
value
=
this
.
detailInfo
[
item
.
key
]))
this
.
id
=
this
.
$route
.
query
.
type
===
'new'
?
this
.
detailInfo
.
fid
:
this
.
detailInfo
.
id
this
.
status
=
this
.
$route
.
query
.
type
===
'new'
?
1
:
2
this
.
branchCode
=
this
.
detailInfo
.
branchcode
this
.
subCenterName
=
this
.
getBranchLabel
(
this
.
branchCode
)
const
filterFields
=
[
'firmbusinesslicensefile'
,
'firmArchivesfile'
]
this
.
entInfoFields
.
forEach
(
item
=>
(
item
.
key
&&
filterFields
.
indexOf
(
item
.
key
)
<
0
)
&&
(
item
.
value
=
this
.
detailInfo
[
item
.
key
]))
this
.
handlerInfoFields
.
forEach
(
item
=>
item
.
key
&&
(
item
.
value
=
this
.
detailInfo
[
item
.
key
]))
this
.
handlerInfoFields
.
forEach
(
item
=>
item
.
key
&&
(
item
.
value
=
this
.
detailInfo
[
item
.
key
]))
this
.
businessFields
.
forEach
(
item
=>
item
.
key
&&
(
item
.
value
=
this
.
detailInfo
[
item
.
key
]))
this
.
businessFields
.
forEach
(
item
=>
item
.
key
&&
(
item
.
value
=
this
.
detailInfo
[
item
.
key
]))
}
}
...
...
src/views/MyManage/UnVerify/realNameTable.vue
View file @
f29b92e8
...
@@ -14,29 +14,29 @@
...
@@ -14,29 +14,29 @@
<tr>
<tr>
<th
width=
"15%"
rowspan=
"2"
>
企业名称
</th>
<th
width=
"15%"
rowspan=
"2"
>
企业名称
</th>
<th
width=
"6%"
>
中文:
</th>
<th
width=
"6%"
>
中文:
</th>
<td
colspan=
"5"
></td>
<td
colspan=
"5"
>
{{
tycpdmFirmInfo
.
firmname
}}
</td>
</tr>
</tr>
<tr>
<tr>
<th>
英文:
</th>
<th>
英文:
</th>
<td
colspan=
"5"
></td>
<td
colspan=
"5"
>
{{
tycpdmFirmInfo
.
firmname1
}}
</td>
</tr>
</tr>
<tr>
<tr>
<th
rowspan=
"2"
>
注册地址
</th>
<th
rowspan=
"2"
>
注册地址
</th>
<th>
中文:
</th>
<th>
中文:
</th>
<td
colspan=
"3"
></td>
<td
colspan=
"3"
>
{{
tycpdmFirmInfo
.
registeraddress
}}
</td>
<th
width=
"10%"
>
邮政编码
</th>
<th
width=
"10%"
>
邮政编码
</th>
<td></td>
<td>
{{
tycpdmFirmInfo
.
postcode
}}
</td>
</tr>
</tr>
<tr>
<tr>
<th>
英文:
</th>
<th>
英文:
</th>
<td
colspan=
"5"
></td>
<td
colspan=
"5"
>
{{
tycpdmFirmInfo
.
registeraddress1
}}
</td>
</tr>
</tr>
<tr>
<tr>
<th
rowspan=
"2"
>
办公地址
</th>
<th
rowspan=
"2"
>
办公地址
</th>
<th>
中文:
</th>
<th>
中文:
</th>
<td
colspan=
"3"
>
{{
tycpdmFirmInfo
.
address
}}
</td>
<td
colspan=
"3"
>
{{
tycpdmFirmInfo
.
address
}}
</td>
<th>
邮政编码
</th>
<th>
邮政编码
</th>
<td></td>
<td>
{{
tycpdmFirmInfo
.
postcode1
}}
</td>
</tr>
</tr>
<tr>
<tr>
<th>
英文:
</th>
<th>
英文:
</th>
...
@@ -44,53 +44,53 @@
...
@@ -44,53 +44,53 @@
</tr>
</tr>
<tr>
<tr>
<th
rowspan=
"2"
>
营业执照注册号
</th>
<th
rowspan=
"2"
>
营业执照注册号
</th>
<td
width=
"20%"
colspan=
"2"
rowspan=
"2"
></td>
<td
width=
"20%"
colspan=
"2"
rowspan=
"2"
>
{{
tycpdmFirmInfo
.
certificatecode
}}
</td>
<th
width=
"16%"
>
注册地行政区划代码
</th>
<th
width=
"16%"
>
注册地行政区划代码
</th>
<td
colspan=
"3"
></td>
<td
colspan=
"3"
>
{{
tycpdmFirmInfo
.
political
}}
</td>
</tr>
</tr>
<tr>
<tr>
<th>
注册资金(万元 )
</th>
<th>
注册资金(万元 )
</th>
<td
width=
"20%"
></td>
<td
width=
"20%"
>
{{
tycpdmFirmInfo
.
registerprincipal
}}
</td>
<th
width=
"10%"
>
货币种类
</th>
<th
width=
"10%"
>
货币种类
</th>
<td>
人民币
</td>
<td>
{{
tycpdmFirmInfo
.
cointype
}}
</td>
</tr>
</tr>
<tr>
<tr>
<th>
企业类别
</th>
<th>
企业类别
</th>
<td
colspan=
"2"
></td>
<td
colspan=
"2"
>
{{
tycpdmFirmInfo
.
firmtype
}}
</td>
<th>
经济类型代码
</th>
<th>
经济类型代码
</th>
<td></td>
<td>
{{
tycpdmFirmInfo
.
dm
}}
</td>
<th>
国民经济行业分类代码
</th>
<th>
国民经济行业分类代码
</th>
<td></td>
<td>
{{
tycpdmFirmInfo
.
tjdm
}}
</td>
</tr>
</tr>
<tr>
<tr>
<th
rowspan=
"2"
>
组织机构代码
</th>
<th
rowspan=
"2"
>
组织机构代码
</th>
<td
colspan=
"2"
rowspan=
"2"
></td>
<td
colspan=
"2"
rowspan=
"2"
>
{{
tycpdmFirmInfo
.
firmcode
}}
</td>
<th
rowspan=
"2"
>
法定代表人
</th>
<th
rowspan=
"2"
>
法定代表人
</th>
<td
rowspan=
"2"
>
{{
tycpdmFirmInfo
.
leader
}}
</td>
<td
rowspan=
"2"
>
{{
tycpdmFirmInfo
.
leader
}}
</td>
<th>
手机
</th>
<th>
手机
</th>
<td></td>
<td>
{{
tycpdmFirmInfo
.
leaderhandset
}}
</td>
</tr>
</tr>
<tr>
<tr>
<th>
电话
</th>
<th>
电话
</th>
<td></td>
<td>
{{
tycpdmFirmInfo
.
leadertele
}}
</td>
</tr>
</tr>
<tr>
<tr>
<th
rowspan=
"2"
>
联系人
</th>
<th
rowspan=
"2"
>
联系人
</th>
<td
colspan=
"2"
rowspan=
"2"
></td>
<td
colspan=
"2"
rowspan=
"2"
>
{{
tycpdmFirmInfo
.
contactman
}}
</td>
<th>
联系电话
</th>
<th>
联系电话
</th>
<td></td>
<td>
{{
tycpdmFirmInfo
.
contactmanctqh
+
'-'
+
tycpdmFirmInfo
.
contactmantele
}}
</td>
<th
width=
"6%"
>
手机
</th>
<th
width=
"6%"
>
手机
</th>
<td></td>
<td>
{{
tycpdmFirmInfo
.
contactmanmp
}}
</td>
</tr>
</tr>
<tr>
<tr>
<th>
电子邮箱
</th>
<th>
电子邮箱
</th>
<td></td>
<td>
{{
tycpdmFirmInfo
.
contactmanemail
}}
</td>
<th>
传 真
</th>
<th>
传 真
</th>
<td></td>
<td>
{{
tycpdmFirmInfo
.
contactmanfax
}}
</td>
</tr>
</tr>
<tr>
<tr>
<th>
企业网站
</th>
<th>
企业网站
</th>
<td
colspan=
"6"
></td>
<td
colspan=
"6"
>
{{
tycpdmFirmInfo
.
netstation
}}
</td>
</tr>
</tr>
<tr>
<tr>
<th
colspan=
"7"
><h2>
填表人签章:
</h2>
<th
colspan=
"7"
><h2>
填表人签章:
</h2>
...
...
src/views/MyManage/UnVerify/vendor.vue
View file @
f29b92e8
...
@@ -444,6 +444,8 @@ export default {
...
@@ -444,6 +444,8 @@ export default {
if
(
result
.
success
)
{
if
(
result
.
success
)
{
this
.
$message
.
success
(
'保存成功'
)
this
.
$message
.
success
(
'保存成功'
)
this
.
$router
.
replace
({
path
:
'/MyManage/UnVerify/uploadvendor'
})
this
.
$router
.
replace
({
path
:
'/MyManage/UnVerify/uploadvendor'
})
}
else
{
this
.
$message
.
error
(
result
.
returnMsg
)
}
}
},
},
async
getTycpdmFirmInfo
()
{
async
getTycpdmFirmInfo
()
{
...
@@ -455,6 +457,7 @@ export default {
...
@@ -455,6 +457,7 @@ export default {
}
else
{
}
else
{
if
(
this
.
$route
.
query
.
status
!==
'modify'
&&
tycpdmFirmInfo
.
logoutFlag
!==
1
)
await
this
.
$router
.
replace
({
path
:
'/MyManage/UnVerify/vendorStatus'
})
if
(
this
.
$route
.
query
.
status
!==
'modify'
&&
tycpdmFirmInfo
.
logoutFlag
!==
1
)
await
this
.
$router
.
replace
({
path
:
'/MyManage/UnVerify/vendorStatus'
})
this
.
form
.
fid
=
tycpdmFirmInfo
.
fid
this
.
form
.
fid
=
tycpdmFirmInfo
.
fid
this
.
form
.
id
=
tycpdmFirmInfo
.
id
this
.
status
=
result
.
data
.
status
this
.
status
=
result
.
data
.
status
this
.
initFormData
(
tycpdmFirmInfo
)
this
.
initFormData
(
tycpdmFirmInfo
)
// if (this.loginInfo.userType === 3 && tycpdmFirmInfo.logoutFlag === 1) {
// if (this.loginInfo.userType === 3 && tycpdmFirmInfo.logoutFlag === 1) {
...
...
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