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
7efbb5df
Commit
7efbb5df
authored
Jan 13, 2022
by
Lyan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
个人中心bug修改
parent
8057eef9
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
185 additions
and
39 deletions
+185
-39
fetch.js
src/axios/fetch.js
+4
-3
codeTable.js
src/utils/codeTable.js
+6
-1
certificationDetail.vue
src/views/MyManage/Admin/certificationDetail.vue
+24
-7
checkSearchTable.vue
src/views/MyManage/Admin/checkSearchTable.vue
+1
-0
pathredirth.vue
src/views/MyManage/Admin/pathredirth.vue
+13
-0
companyInfo.vue
src/views/MyManage/SystemMember/companyInfo.vue
+1
-0
index.vue
src/views/MyManage/SystemMember/index.vue
+1
-1
index.vue
src/views/MyManage/UnVerify/index.vue
+21
-5
realNameTable.vue
src/views/MyManage/UnVerify/realNameTable.vue
+5
-1
uploadvendor.vue
src/views/MyManage/UnVerify/uploadvendor.vue
+4
-1
vendor.vue
src/views/MyManage/UnVerify/vendor.vue
+89
-13
vendorstatus.vue
src/views/MyManage/UnVerify/vendorstatus.vue
+5
-3
detail.vue
src/views/News/Ecommerce/detail.vue
+9
-2
index.vue
src/views/News/Ecommerce/index.vue
+2
-2
No files found.
src/axios/fetch.js
View file @
7efbb5df
...
@@ -66,8 +66,9 @@ function fetch(options) {
...
@@ -66,8 +66,9 @@ function fetch(options) {
if
(
ResponseCode
.
success
.
indexOf
(
code
)
!==
-
1
)
{
if
(
ResponseCode
.
success
.
indexOf
(
code
)
!==
-
1
)
{
// console.log(resData, '响应数据的拦截2');
// console.log(resData, '响应数据的拦截2');
resolve
(
resData
)
resolve
(
resData
)
}
else
if
(
checkResponseCodeTokenError
(
code
))
{
}
else
if
(
code
==
401
)
{
if
(
getToken
())
{
// } else if (checkResponseCodeTokenError(code)) {
// if (getToken()) {
window
.
localStorage
.
clear
()
window
.
localStorage
.
clear
()
removeToken
()
removeToken
()
...
@@ -82,7 +83,7 @@ function fetch(options) {
...
@@ -82,7 +83,7 @@ function fetch(options) {
},
500
)
},
500
)
}
}
})
})
}
//
}
}
else
if
(
checkResponseCodeAuthUnPermitted
(
code
))
{
}
else
if
(
checkResponseCodeAuthUnPermitted
(
code
))
{
// if (window.location.pathname !== "/404") {
// if (window.location.pathname !== "/404") {
// window.location.href = "/404"
// window.location.href = "/404"
...
...
src/utils/codeTable.js
View file @
7efbb5df
...
@@ -3,7 +3,9 @@ window.CodeTable || (window.CodeTable = {})
...
@@ -3,7 +3,9 @@ window.CodeTable || (window.CodeTable = {})
const
EconomicCategoryCode
=
{
"head"
:[{
"type"
:
"string"
,
"label"
:
"label"
},{
"type"
:
"number"
,
"label"
:
"value"
}],
"body"
:[[
"内资"
,
"100"
],[
"国有全资"
,
"110"
],[
"集体全资"
,
"120"
],[
"股份合作"
,
"130"
],[
"联营"
,
"140"
],[
"国有联营"
,
"141"
],[
"集体联营"
,
"142"
],[
"国有与集体联营"
,
"143"
],[
"其它联营"
,
"149"
],[
"有限责任(公司)"
,
"150"
],[
"国有独资(公司)"
,
"151"
],[
"其它有限责任(公司)"
,
"159"
],[
"股份有限(公司)"
,
"160"
],[
"私有"
,
"170"
],[
"私有独资"
,
"171"
],[
"私有合伙"
,
"172"
],[
"私营有限责任(公司)"
,
"173"
],[
"私营股份有限(公司)"
,
"174"
],[
"个体经济"
,
"175"
],[
"其它私有"
,
"179"
],[
"其它内资"
,
"190"
],[
"港、澳、台投资"
,
"200"
],[
"内地和港、澳、台合资"
,
"210"
],[
"内地和港、澳、台合作"
,
"220"
],[
"港、澳、台独资"
,
"230"
],[
"港、澳、台投资股份有限公司"
,
"240"
],[
"其它港、澳、台投资"
,
"290"
],[
"国外投资"
,
"300"
],[
"中外合资"
,
"310"
],[
"中外合作"
,
"320"
],[
"外资"
,
"330"
],[
"国外投资股份有限(公司)"
,
"340"
],[
"其它国外投资"
,
"390"
],[
"其它"
,
"900"
]]}
const
EconomicCategoryCode
=
{
"head"
:[{
"type"
:
"string"
,
"label"
:
"label"
},{
"type"
:
"number"
,
"label"
:
"value"
}],
"body"
:[[
"内资"
,
"100"
],[
"国有全资"
,
"110"
],[
"集体全资"
,
"120"
],[
"股份合作"
,
"130"
],[
"联营"
,
"140"
],[
"国有联营"
,
"141"
],[
"集体联营"
,
"142"
],[
"国有与集体联营"
,
"143"
],[
"其它联营"
,
"149"
],[
"有限责任(公司)"
,
"150"
],[
"国有独资(公司)"
,
"151"
],[
"其它有限责任(公司)"
,
"159"
],[
"股份有限(公司)"
,
"160"
],[
"私有"
,
"170"
],[
"私有独资"
,
"171"
],[
"私有合伙"
,
"172"
],[
"私营有限责任(公司)"
,
"173"
],[
"私营股份有限(公司)"
,
"174"
],[
"个体经济"
,
"175"
],[
"其它私有"
,
"179"
],[
"其它内资"
,
"190"
],[
"港、澳、台投资"
,
"200"
],[
"内地和港、澳、台合资"
,
"210"
],[
"内地和港、澳、台合作"
,
"220"
],[
"港、澳、台独资"
,
"230"
],[
"港、澳、台投资股份有限公司"
,
"240"
],[
"其它港、澳、台投资"
,
"290"
],[
"国外投资"
,
"300"
],[
"中外合资"
,
"310"
],[
"中外合作"
,
"320"
],[
"外资"
,
"330"
],[
"国外投资股份有限(公司)"
,
"340"
],[
"其它国外投资"
,
"390"
],[
"其它"
,
"900"
]]}
const
EconomicCategoryCodeHandle
=
EconomicCategoryCode
.
body
.
map
(
item
=>
({
label
:
item
[
0
],
value
:
item
[
1
]}))
const
EconomicCategoryCodeHandle
=
EconomicCategoryCode
.
body
.
map
(
item
=>
({
label
:
item
[
0
],
value
:
item
[
1
]}))
window
.
CodeTable
.
EconomicCategoryCodeHandle
=
EconomicCategoryCodeHandle
window
.
CodeTable
.
EconomicCategoryCodeHandle
=
EconomicCategoryCodeHandle
window
.
CodeTable
.
getEconomicCategoryCodeHandle
=
(
code
)
=>
{
return
(
EconomicCategoryCodeHandle
.
find
(
item
=>
String
(
item
.
value
)
===
String
(
code
))
||
{
label
:
'--'
}).
label
}
//*************************************************************************
//*************************************************************************
//国民经济行业分类代码
//国民经济行业分类代码
...
@@ -11,6 +13,9 @@ const NationalIndustryClassificationCode = {"head":[{"type":"string","label":"la
...
@@ -11,6 +13,9 @@ const NationalIndustryClassificationCode = {"head":[{"type":"string","label":"la
// 适用element选择框(列表对象数据)
// 适用element选择框(列表对象数据)
const
NationalIndustryClassificationCodeHandle
=
NationalIndustryClassificationCode
.
body
.
map
(
item
=>
({
label
:
item
[
0
],
value
:
item
[
1
]}))
const
NationalIndustryClassificationCodeHandle
=
NationalIndustryClassificationCode
.
body
.
map
(
item
=>
({
label
:
item
[
0
],
value
:
item
[
1
]}))
window
.
CodeTable
.
NationalIndustryClassificationCodeHandle
=
NationalIndustryClassificationCodeHandle
window
.
CodeTable
.
NationalIndustryClassificationCodeHandle
=
NationalIndustryClassificationCodeHandle
window
.
CodeTable
.
getNationalIndustryClassificationCodeHandle
=
(
code
)
=>
{
return
(
NationalIndustryClassificationCodeHandle
.
find
(
item
=>
String
(
item
.
value
)
===
String
(
code
))
||
{
label
:
'--'
}).
label
}
window
.
CodeTable
.
NationalIndustryClassificationCodeCategory
=
NationalIndustryClassificationCode
.
body
.
filter
(
item
=>
[
'A'
,
'B'
,
'C'
,
'D'
,
'E'
,
'F'
,
'G'
,
'H'
,
'I'
,
'J'
,
'K'
,
'L'
,
'M'
,
'N'
,
'O'
,
'P'
,
'Q'
,
'R'
,
'S'
,
'T'
,
'U'
,
'V'
,
'W'
,
'X'
,
'Y'
,
'Z'
].
indexOf
(
item
[
1
])
>=
0
).
sort
((
a
,
b
)
=>
{
return
a
[
1
].
charCodeAt
(
0
)
-
b
[
1
].
charCodeAt
(
0
)
})
window
.
CodeTable
.
NationalIndustryClassificationCodeCategory
=
NationalIndustryClassificationCode
.
body
.
filter
(
item
=>
[
'A'
,
'B'
,
'C'
,
'D'
,
'E'
,
'F'
,
'G'
,
'H'
,
'I'
,
'J'
,
'K'
,
'L'
,
'M'
,
'N'
,
'O'
,
'P'
,
'Q'
,
'R'
,
'S'
,
'T'
,
'U'
,
'V'
,
'W'
,
'X'
,
'Y'
,
'Z'
].
indexOf
(
item
[
1
])
>=
0
).
sort
((
a
,
b
)
=>
{
return
a
[
1
].
charCodeAt
(
0
)
-
b
[
1
].
charCodeAt
(
0
)
})
const
findCategory
=
function
(
code
,
length
,
arr
)
{
const
findCategory
=
function
(
code
,
length
,
arr
)
{
...
...
src/views/MyManage/Admin/certificationDetail.vue
View file @
7efbb5df
...
@@ -54,7 +54,7 @@
...
@@ -54,7 +54,7 @@
<el-button
class=
"plain-with-border"
v-if=
"reset"
>
重置
</el-button>
<el-button
class=
"plain-with-border"
v-if=
"reset"
>
重置
</el-button>
</div>
</div>
<el-image
<el-image
id
=
"image"
ref
=
"image"
style=
"width: 10px; height: 10px;opacity: 0;"
style=
"width: 10px; height: 10px;opacity: 0;"
:src=
"url"
:src=
"url"
:preview-src-list=
"srcList"
>
:preview-src-list=
"srcList"
>
...
@@ -441,11 +441,18 @@ export default {
...
@@ -441,11 +441,18 @@ export default {
this
.
showImage
(
form
)
this
.
showImage
(
form
)
}
}
},
},
showImage
(
form
)
{
showImage
(
form
)
{
const
result
=
this
.
$api
.
myManage
.
tycpdmfirmReturnFile
(
form
)
const
result
=
this
.
$api
.
myManage
.
tycpdmfirmReturnFile
(
form
)
this
.
url
=
result
if
(
result
){
this
.
srcList
=
[
result
]
this
.
url
=
result
document
.
getElementById
(
'image'
).
click
()
this
.
srcList
=
[
result
]
this
.
$refs
.
image
.
clickHandler
()
}
else
{
this
.
$message
.
error
(
result
.
returnMsg
)
}
// document.getElementById('image').click()
},
},
getBranchLabel
(
branchCode
)
{
getBranchLabel
(
branchCode
)
{
return
(
this
.
branchList
.
find
(
item
=>
item
.
value
===
branchCode
)
||
{
label
:
'--'
}).
label
return
(
this
.
branchList
.
find
(
item
=>
item
.
value
===
branchCode
)
||
{
label
:
'--'
}).
label
...
@@ -498,9 +505,19 @@ export default {
...
@@ -498,9 +505,19 @@ export default {
this
.
branchCode
=
this
.
detailInfo
.
branchcode
this
.
branchCode
=
this
.
detailInfo
.
branchcode
this
.
subCenterName
=
this
.
getBranchLabel
(
this
.
branchCode
)
this
.
subCenterName
=
this
.
getBranchLabel
(
this
.
branchCode
)
const
filterFields
=
[
'firmbusinesslicensefile'
,
'firmArchivesfile'
]
const
filterFields
=
[
'firmbusinesslicensefile'
,
'firmArchivesfile'
]
this
.
entInfoFields
.
forEach
(
item
=>
(
item
.
key
&&
filterFields
.
indexOf
(
item
.
key
)
<
0
)
&&
(
item
.
value
=
this
.
detailInfo
[
item
.
key
]))
this
.
entInfoFields
.
forEach
(
item
=>
(
item
.
key
&&
filterFields
.
indexOf
(
item
.
key
)
<
0
)
&&
(
item
.
value
=
this
.
detailInfo
[
item
.
key
]))
this
.
entInfoFields
.
forEach
(
item
=>
{
if
(
item
.
key
&&
filterFields
.
indexOf
(
item
.
key
)
<
0
)
{
if
(
item
.
key
===
'dm'
)
{
item
.
value
=
window
.
CodeTable
.
getEconomicCategoryCodeHandle
(
this
.
detailInfo
[
'dm'
])
}
else
if
(
item
.
key
===
'tjdm'
)
{
item
.
value
=
window
.
CodeTable
.
getNationalIndustryClassificationCodeHandle
(
this
.
detailInfo
[
'tjdm'
])
}
else
{
item
.
value
=
this
.
detailInfo
[
item
.
key
]
}
}
})
this
.
handlerInfoFields
.
forEach
(
item
=>
{
this
.
handlerInfoFields
.
forEach
(
item
=>
{
if
(
item
.
key
&&
filterFields
.
indexOf
(
item
.
key
)
<
0
)
{
if
(
item
.
key
&&
filterFields
.
indexOf
(
item
.
key
)
<
0
)
{
if
(
item
.
key
===
'contactmanctqh'
)
{
if
(
item
.
key
===
'contactmanctqh'
)
{
...
...
src/views/MyManage/Admin/checkSearchTable.vue
View file @
7efbb5df
...
@@ -200,6 +200,7 @@ export default {
...
@@ -200,6 +200,7 @@ export default {
},
},
handleEntNameCheck
(
row
)
{
handleEntNameCheck
(
row
)
{
console
.
log
(
row
)
console
.
log
(
row
)
this
.
checkDetail
=
row
},
},
getIcon
(
status
)
{
getIcon
(
status
)
{
status
=
status
.
logoutFlag
status
=
status
.
logoutFlag
...
...
src/views/MyManage/Admin/pathredirth.vue
0 → 100644
View file @
7efbb5df
<
template
>
</
template
>
<
script
>
export
default
{
name
:
"index"
}
</
script
>
<
style
scoped
>
</
style
>
src/views/MyManage/SystemMember/companyInfo.vue
View file @
7efbb5df
...
@@ -355,6 +355,7 @@ export default {
...
@@ -355,6 +355,7 @@ export default {
await
this
.
getTycpdmFirmInfo
()
await
this
.
getTycpdmFirmInfo
()
},
},
initFormData
(
tycpdmFirmInfo
)
{
initFormData
(
tycpdmFirmInfo
)
{
this
.
form
.
political
=
[
tycpdmFirmInfo
.
political
]
this
.
form
.
political
=
[
tycpdmFirmInfo
.
political
]
this
.
form
.
political
=
window
.
CodeTable
.
getRegionLabelByCode
(
this
.
form
.
political
)
this
.
form
.
political
=
window
.
CodeTable
.
getRegionLabelByCode
(
this
.
form
.
political
)
console
.
log
(
window
.
CodeTable
.
getRegionLabelByCode
(
this
.
form
.
political
))
console
.
log
(
window
.
CodeTable
.
getRegionLabelByCode
(
this
.
form
.
political
))
...
...
src/views/MyManage/SystemMember/index.vue
View file @
7efbb5df
...
@@ -115,7 +115,7 @@ export default {
...
@@ -115,7 +115,7 @@ export default {
}
}
},
},
initIsShowGDS
()
{
initIsShowGDS
()
{
if
(
this
.
loginInfo
.
carno
)
this
.
isShowGDS
=
true
// 有条码卡号可以进行GDS跳转
if
(
this
.
loginInfo
.
carno
&&
this
.
loginInfo
.
carno
!==
''
)
this
.
isShowGDS
=
true
// 有条码卡号可以进行GDS跳转
if
(
this
.
loginInfo
.
isQY
)
this
.
isShowGDS
=
true
// 官网用户已进行实名厂商认证可以进行GDS跳转
if
(
this
.
loginInfo
.
isQY
)
this
.
isShowGDS
=
true
// 官网用户已进行实名厂商认证可以进行GDS跳转
}
}
},
},
...
...
src/views/MyManage/UnVerify/index.vue
View file @
7efbb5df
...
@@ -140,13 +140,16 @@
...
@@ -140,13 +140,16 @@
</
template
>
</
template
>
<
script
>
<
script
>
export
default
{
export
default
{
name
:
"index"
,
name
:
"index"
,
data
()
{
data
()
{
return
{
return
{
isShowGDS
:
false
,
isShowGDS
:
false
,
memberInfo
:
{},
memberInfo
:
{},
tycpdmFirmInfo
:
{},
tycpdmFirmInfo
:
{
logoutFlag
:
null
},
loginInfo
:
{
loginInfo
:
{
carno
:
''
,
// 条码卡号
carno
:
''
,
// 条码卡号
id
:
16
,
// 用户ID
id
:
16
,
// 用户ID
...
@@ -158,39 +161,51 @@ export default {
...
@@ -158,39 +161,51 @@ export default {
}
}
},
},
methods
:
{
methods
:
{
//业务大厅跳转
async
redirectYWDT
()
{
async
redirectYWDT
()
{
const
params
=
{
userType
:
this
.
loginInfo
.
userType
,
id
:
this
.
loginInfo
.
id
}
const
params
=
{
userType
:
this
.
loginInfo
.
userType
,
id
:
this
.
loginInfo
.
id
}
const
result
=
await
this
.
$api
.
myManage
.
redirectYWDT
(
params
)
const
result
=
await
this
.
$api
.
myManage
.
redirectYWDT
(
params
)
if
(
result
.
success
)
{
if
(
result
.
success
)
{
// window.open(result.data, '_black')
window
.
open
(
result
.
data
,
'_blank'
)
}
else
{
}
else
{
this
.
$message
.
error
(
result
.
returnMsg
)
this
.
$message
.
error
(
result
.
returnMsg
)
}
}
},
},
// 跳转
async
redirectGDS
()
{
async
redirectGDS
()
{
const
params
=
{
userType
:
this
.
loginInfo
.
userType
,
id
:
this
.
loginInfo
.
id
,
carno
:
this
.
loginInfo
.
carno
}
const
params
=
{
userType
:
this
.
loginInfo
.
userType
,
id
:
this
.
loginInfo
.
id
,
carno
:
this
.
loginInfo
.
carno
}
const
result
=
await
this
.
$api
.
myManage
.
redirectGDS
(
params
)
const
result
=
await
this
.
$api
.
myManage
.
redirectGDS
(
params
)
if
(
result
.
success
)
{
if
(
result
.
success
)
{
// window.open(result.data, '_blac
k')
window
.
open
(
result
.
data
,
'_blan
k'
)
}
else
{
}
else
{
this
.
$message
.
error
(
result
.
returnMsg
)
this
.
$message
.
error
(
result
.
returnMsg
)
}
}
},
},
// 跳转
async
redirectGLN
()
{
async
redirectGLN
()
{
const
result
=
await
this
.
$api
.
myManage
.
redirectGLN
()
const
result
=
await
this
.
$api
.
myManage
.
redirectGLN
()
if
(
result
.
success
)
{
if
(
result
.
success
)
{
// window.open(result.data, '_blac
k')
window
.
open
(
result
.
data
,
'_blan
k'
)
}
else
{
}
else
{
this
.
$message
.
error
(
result
.
returnMsg
)
this
.
$message
.
error
(
result
.
returnMsg
)
}
}
},
},
// 初始化实名认证显示内容
initIsShowGDS
()
{
initIsShowGDS
()
{
if
(
this
.
loginInfo
.
carno
)
this
.
isShowGDS
=
true
// 有条码卡号可以进行GDS跳转
if
(
this
.
loginInfo
.
carno
)
this
.
isShowGDS
=
true
// 有条码卡号可以进行GDS跳转
if
(
this
.
loginInfo
.
isQY
)
this
.
isShowGDS
=
true
// 官网用户已进行实名厂商认证可以进行GDS跳转
if
(
this
.
loginInfo
.
isQY
)
this
.
isShowGDS
=
true
// 官网用户已进行实名厂商认证可以进行GDS跳转
},
},
async
getTycpdmFirmInfo
()
{
async
getTycpdmFirmInfo
()
{
const
result
=
await
this
.
$api
.
myManage
.
tycpdmFirmInfoNoAuth
({
name
:
this
.
memberInfo
.
username
})
const
result
=
await
this
.
$api
.
myManage
.
tycpdmFirmInfoNoAuth
({
name
:
this
.
memberInfo
.
username
})
this
.
tycpdmFirmInfo
=
result
.
data
if
(
result
.
data
){
this
.
tycpdmFirmInfo
=
result
.
data
}
else
{
this
.
tycpdmFirmInfo
.
logoutFlag
=
null
}
},
},
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
...
@@ -199,6 +214,7 @@ export default {
...
@@ -199,6 +214,7 @@ export default {
},
},
mounted
()
{
mounted
()
{
this
.
loginInfo
=
JSON
.
parse
(
localStorage
.
getItem
(
'loginInfo'
))
this
.
loginInfo
=
JSON
.
parse
(
localStorage
.
getItem
(
'loginInfo'
))
console
.
log
(
this
.
loginInfo
)
this
.
initIsShowGDS
()
this
.
initIsShowGDS
()
this
.
getMemberInfo
()
this
.
getMemberInfo
()
}
}
...
...
src/views/MyManage/UnVerify/realNameTable.vue
View file @
7efbb5df
...
@@ -145,13 +145,17 @@ export default {
...
@@ -145,13 +145,17 @@ export default {
return
{
return
{
loginInfo
:
{},
loginInfo
:
{},
memberInfo
:
{},
memberInfo
:
{},
tycpdmFirmInfo
:
{}
tycpdmFirmInfo
:
{},
registerAddStr
:
''
}
}
},
},
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
.
data
this
.
tycpdmFirmInfo
=
result
.
data
.
data
// this.registerAddStr = window.CodeTable.getRegionLabelByCode(result.data.data.political)
this
.
tycpdmFirmInfo
.
dm
=
window
.
CodeTable
.
getEconomicCategoryCodeHandle
(
result
.
data
.
data
.
dm
)
this
.
tycpdmFirmInfo
.
tjdm
=
window
.
CodeTable
.
getNationalIndustryClassificationCodeHandle
(
result
.
data
.
data
.
tjdm
)
},
},
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 @
7efbb5df
...
@@ -23,6 +23,7 @@
...
@@ -23,6 +23,7 @@
</div>
</div>
</div>
</div>
</div>
</div>
<el-image
<el-image
id=
"image"
id=
"image"
style=
"width: 10px; height: 10px;opacity: 0;"
style=
"width: 10px; height: 10px;opacity: 0;"
...
@@ -98,9 +99,11 @@ export default {
...
@@ -98,9 +99,11 @@ export default {
this
.
$message
.
error
(
'文件不存在'
)
this
.
$message
.
error
(
'文件不存在'
)
}
else
{
}
else
{
const
result
=
this
.
$api
.
myManage
.
tycpdmfirmReturnFile
(
form
)
const
result
=
this
.
$api
.
myManage
.
tycpdmfirmReturnFile
(
form
)
console
.
log
(
result
)
this
.
imagePreview
.
url
=
result
this
.
imagePreview
.
url
=
result
this
.
imagePreview
.
srcList
=
[
result
]
this
.
imagePreview
.
srcList
=
[
result
]
if
(
document
.
getElementById
(
'image'
))
document
.
getElementById
(
'image'
).
click
()
window
.
open
(
this
.
imagePreview
.
url
,
'_blank'
)
// if (document.getElementById('image')) document.getElementById('image').click()
}
}
},
},
async
getTycpdmFirmInfo
()
{
async
getTycpdmFirmInfo
()
{
...
...
src/views/MyManage/UnVerify/vendor.vue
View file @
7efbb5df
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
</div>
</div>
<div
class=
"content"
>
<div
class=
"content"
>
<div
class=
"title"
>
<div
class=
"title"
>
{{
status
==
=
2
?
'变更厂商实名认证信息'
:
'厂商实名认证——填写实名信息'
}}
{{
status
==
2
?
'变更厂商实名认证信息'
:
'厂商实名认证——填写实名信息'
}}
<a
v-if=
"status !== 2"
href=
"/MyManage/UnVerify/index"
>
返回我的首页
</a>
<a
v-if=
"status !== 2"
href=
"/MyManage/UnVerify/index"
>
返回我的首页
</a>
<a
v-else
href=
"/MyManage/UnVerify/vendorModify"
>
修改企业信息
</a>
<a
v-else
href=
"/MyManage/UnVerify/vendorModify"
>
修改企业信息
</a>
</div>
</div>
...
@@ -32,6 +32,7 @@
...
@@ -32,6 +32,7 @@
message: '不能为空',
message: '不能为空',
}]">
}]">
<el-input
v-model=
'form.firmName'
autocomplete=
'off'
placeholder=
"请输入企业中文名称"
></el-input>
<el-input
v-model=
'form.firmName'
autocomplete=
'off'
placeholder=
"请输入企业中文名称"
></el-input>
<span
class=
"form-item-tip form-item-tip2"
>
若厂商已为系统成员,请直接使用条码卡账号登录,无需再次实名认证!
</span>
</el-form-item>
</el-form-item>
<el-form-item
label=
'企业名称(英文):'
<el-form-item
label=
'企业名称(英文):'
prop=
'firmName1'
prop=
'firmName1'
...
@@ -50,6 +51,7 @@
...
@@ -50,6 +51,7 @@
placeholder=
"请选择"
style=
"width: 100%;"
placeholder=
"请选择"
style=
"width: 100%;"
v-model=
"form.political"
v-model=
"form.political"
:options=
"cascadeRegion"
:options=
"cascadeRegion"
:show-all-levels=
"false"
:props=
"
{ expandTrigger: 'hover', label: 'label', value: 'code' }"
:props=
"
{ expandTrigger: 'hover', label: 'label', value: 'code' }"
size="medium"
size="medium"
@change="politicalChangeEvent">
</el-cascader>
@change="politicalChangeEvent">
</el-cascader>
...
@@ -65,9 +67,13 @@
...
@@ -65,9 +67,13 @@
required: true,
required: true,
message: '不能为空',
message: '不能为空',
}]">
}]">
<el-select
v-model=
"form.branchCode"
:disabled=
"status === 2"
placeholder=
"请选择所属分支机构"
>
<el-select
v-model=
"form.branchCode"
placeholder=
"请选择所属分支机构"
>
<!--
<el-select
v-model=
"form.branchCode"
:disabled=
"status === 2"
placeholder=
"请选择所属分支机构"
>
-->
<el-option
v-for=
"item in branchList"
:label=
"item.label"
:value=
"item.value"
:key=
"item.value"
></el-option>
<el-option
v-for=
"item in branchList"
:label=
"item.label"
:value=
"item.value"
:key=
"item.value"
></el-option>
</el-select>
</el-select>
<ul
class=
"branchListStyle"
:style=
"
{'margin-top':marginTop}">
<li
v-for=
"(item,i) in branchList"
:key=
"i"
><a
:href=
"`/Org/BranchMsg?branchCode=$
{item.value}`" target="_blank">
{{
item
.
label
}}
</a></li>
</ul>
</el-form-item>
</el-form-item>
<el-form-item
label=
'注册地址(英文):'
<el-form-item
label=
'注册地址(英文):'
prop=
'registerAddress1'
prop=
'registerAddress1'
...
@@ -89,7 +95,11 @@
...
@@ -89,7 +95,11 @@
message: '不能为空',
message: '不能为空',
}]">
}]">
<el-input
v-model=
'form.address'
autocomplete=
'off'
placeholder=
"请输入办公地址"
></el-input>
<el-input
v-model=
'form.address'
autocomplete=
'off'
placeholder=
"请输入办公地址"
></el-input>
<span
class=
"form-item-tip"
>
<el-checkbox
@
change=
"changeAdress"
>
同上注册地址
</el-checkbox>
</span>
</el-form-item>
</el-form-item>
<el-form-item
label=
'办公地址(英文):'
<el-form-item
label=
'办公地址(英文):'
prop=
'address1'
prop=
'address1'
>
>
...
@@ -292,12 +302,18 @@
...
@@ -292,12 +302,18 @@
<t-j-dm-select
@
cancel=
"dialogVisible = false"
:initSelect=
"form.TJDm"
@
confirm=
"confirmEvent"
/>
<t-j-dm-select
@
cancel=
"dialogVisible = false"
:initSelect=
"form.TJDm"
@
confirm=
"confirmEvent"
/>
</div>
</div>
</el-dialog>
</el-dialog>
<el-image
id=
"image"
<el-image
style=
"width: 10px; height: 10px;opacity: 0;"
ref=
"image"
:src=
"imagePreview.url"
id=
"image"
:preview-src-list=
"imagePreview.srcList"
>
lazy
</el-image>
fit=
"scale-down"
style=
"width: 90%; margin:0 5%"
:src=
"imagePreview.url"
:preview-src-list=
"imagePreview.srcList"
>
</el-image>
</div>
</div>
</
template
>
</
template
>
...
@@ -411,7 +427,8 @@ export default {
...
@@ -411,7 +427,8 @@ export default {
branchList
:
[],
branchList
:
[],
AdministrativeDivisionCode
:
window
.
CodeTable
.
AdministrativeDivisionCodeHandle
,
AdministrativeDivisionCode
:
window
.
CodeTable
.
AdministrativeDivisionCodeHandle
,
EconomicCategoryCode
:
window
.
CodeTable
.
EconomicCategoryCodeHandle
,
EconomicCategoryCode
:
window
.
CodeTable
.
EconomicCategoryCodeHandle
,
NationalIndustryClassificationCode
:
window
.
CodeTable
.
NationalIndustryClassificationCodeHandle
NationalIndustryClassificationCode
:
window
.
CodeTable
.
NationalIndustryClassificationCodeHandle
,
marginTop
:
'10px'
}
}
},
},
methods
:
{
methods
:
{
...
@@ -451,6 +468,7 @@ export default {
...
@@ -451,6 +468,7 @@ export default {
_form
.
political
=
this
.
form
.
political
[
this
.
form
.
political
.
length
-
1
]
_form
.
political
=
this
.
form
.
political
[
this
.
form
.
political
.
length
-
1
]
_form
.
contactmanTele
=
this
.
form
.
contactmanCtqh
.
substr
(
this
.
form
.
contactmanCtqh
.
indexOf
(
'-'
)
+
1
)
_form
.
contactmanTele
=
this
.
form
.
contactmanCtqh
.
substr
(
this
.
form
.
contactmanCtqh
.
indexOf
(
'-'
)
+
1
)
_form
.
contactmanCtqh
=
this
.
form
.
contactmanCtqh
.
substr
(
0
,
this
.
form
.
contactmanCtqh
.
indexOf
(
'-'
))
_form
.
contactmanCtqh
=
this
.
form
.
contactmanCtqh
.
substr
(
0
,
this
.
form
.
contactmanCtqh
.
indexOf
(
'-'
))
_form
.
registerAddress
=
window
.
CodeTable
.
getRegionLabelByCode
(
_form
.
political
)
+
this
.
form
.
registerAddress
this
.
saveTycpdmFirmInfo
(
_form
)
this
.
saveTycpdmFirmInfo
(
_form
)
}
else
{
}
else
{
return
false
;
return
false
;
...
@@ -471,11 +489,16 @@ export default {
...
@@ -471,11 +489,16 @@ export default {
this
.
dialogVisible
=
false
this
.
dialogVisible
=
false
},
},
politicalChangeEvent
()
{
politicalChangeEvent
()
{
if
(
this
.
status
===
2
)
return
//
if (this.status === 2) return
console
.
log
(
this
.
form
.
political
)
console
.
log
(
this
.
form
.
political
)
this
.
form
.
branchCode
=
''
this
.
form
.
branchCode
=
''
this
.
branchList
=
window
.
CodeTable
.
getBranches
(
this
.
form
.
political
[
this
.
form
.
political
.
length
-
1
])
this
.
branchList
=
window
.
CodeTable
.
getBranches
(
this
.
form
.
political
[
this
.
form
.
political
.
length
-
1
])
this
.
branchList
.
length
>
0
&&
(
this
.
form
.
branchCode
=
this
.
branchList
[
0
].
value
)
this
.
branchList
.
length
>
0
&&
(
this
.
form
.
branchCode
=
this
.
branchList
[
0
].
value
)
if
(
this
.
branchList
.
length
>
1
){
this
.
marginTop
=
'-3px'
}
else
{
this
.
marginTop
=
'10px'
}
},
},
async
upload
(
form
)
{
async
upload
(
form
)
{
this
.
uploading
=
true
this
.
uploading
=
true
...
@@ -521,7 +544,9 @@ export default {
...
@@ -521,7 +544,9 @@ export default {
const
result
=
this
.
$api
.
myManage
.
tycpdmfirmReturnFile
(
form
)
const
result
=
this
.
$api
.
myManage
.
tycpdmfirmReturnFile
(
form
)
this
.
imagePreview
.
url
=
result
this
.
imagePreview
.
url
=
result
this
.
imagePreview
.
srcList
=
[
result
]
this
.
imagePreview
.
srcList
=
[
result
]
if
(
document
.
getElementById
(
'image'
))
document
.
getElementById
(
'image'
).
click
()
// this.$refs.image.clickHandler()
window
.
open
(
this
.
imagePreview
.
url
,
'_blank'
)
// if (document.getElementById('image')) document.getElementById('image').click()
}
}
},
},
async
saveTycpdmFirmInfo
(
form
)
{
async
saveTycpdmFirmInfo
(
form
)
{
...
@@ -544,6 +569,7 @@ export default {
...
@@ -544,6 +569,7 @@ export default {
if
(
tycpdmFirmInfo
.
logoutFlag
===
-
1
)
{
// logoutFlag如果为null表示未提交书面材料
if
(
tycpdmFirmInfo
.
logoutFlag
===
-
1
)
{
// logoutFlag如果为null表示未提交书面材料
this
.
form
.
fid
=
tycpdmFirmInfo
.
fid
this
.
form
.
fid
=
tycpdmFirmInfo
.
fid
this
.
form
.
id
=
tycpdmFirmInfo
.
id
this
.
form
.
id
=
tycpdmFirmInfo
.
id
this
.
status
=
result
.
data
.
status
this
.
status
=
result
.
data
.
status
this
.
initFormData
(
tycpdmFirmInfo
)
this
.
initFormData
(
tycpdmFirmInfo
)
// await this.$router.replace({path: '/MyManage/UnVerify/uploadvendor'}) // 第二步没有提交是可以修改第一步的实名信息的
// await this.$router.replace({path: '/MyManage/UnVerify/uploadvendor'}) // 第二步没有提交是可以修改第一步的实名信息的
...
@@ -580,6 +606,21 @@ export default {
...
@@ -580,6 +606,21 @@ export default {
}
}
})
})
this
.
form
.
contactmanCtqh
=
tycpdmFirmInfo
[
'contactmanctqh'
]
+
'-'
+
tycpdmFirmInfo
[
'contactmantele'
]
this
.
form
.
contactmanCtqh
=
tycpdmFirmInfo
[
'contactmanctqh'
]
+
'-'
+
tycpdmFirmInfo
[
'contactmantele'
]
let
registerStr
=
window
.
CodeTable
.
getRegionLabelByCode
(
tycpdmFirmInfo
[
'political'
])
this
.
form
.
registerAddress
=
this
.
form
.
registerAddress
.
slice
(
registerStr
.
length
)
},
changeAdress
(
e
){
if
(
e
){
console
.
log
(
this
.
form
.
political
)
let
registerStr
=
window
.
CodeTable
.
getRegionLabelByCode
(
this
.
form
.
political
[
this
.
form
.
political
.
length
-
1
])
+
this
.
form
.
registerAddress
this
.
form
.
address
=
registerStr
;
this
.
form
.
address1
=
this
.
form
.
registerAddress1
;
this
.
form
.
postcode1
=
this
.
form
.
postcode
;
}
else
{
this
.
form
.
address
=
''
;
this
.
form
.
address1
=
''
;
this
.
form
.
postcode1
=
''
;
}
}
}
},
},
mounted
()
{
mounted
()
{
...
@@ -589,7 +630,8 @@ export default {
...
@@ -589,7 +630,8 @@ export default {
destroyed
()
{
destroyed
()
{
const
fileElement
=
document
.
getElementById
(
'file'
)
const
fileElement
=
document
.
getElementById
(
'file'
)
fileElement
&&
document
.
body
.
removeChild
(
fileElement
)
fileElement
&&
document
.
body
.
removeChild
(
fileElement
)
}
},
}
}
</
script
>
</
script
>
...
@@ -747,11 +789,45 @@ export default {
...
@@ -747,11 +789,45 @@ export default {
}
}
.form-item-tip
{
.form-item-tip
{
position
:
absolute
;
position
:
absolute
;
margin
:
10px
0
0
5px
;
margin
:
10px
0
0
5px
;
width
:
200px
;
width
:
200px
;
line-height
:
26px
;
font-size
:
13px
;
font-size
:
13px
;
color
:
#F56C6C
;
color
:
#F56C6C
;
}
}
/
deep
/
.el-checkbox__label
{
font-size
:
13px
;
color
:
#F56C6C
;
}
.branchListStyle
{
display
:
inline-block
;
position
:
absolute
;
margin
:
10px
0
0
25px
;
width
:
200px
;
line-height
:
26px
;
font-size
:
13px
;
color
:
#F56C6C
;
li{
list-style-type
:
disc
;
}
a
{
color
:
#F56C6C
;
}
}
.form-item-tip2
{
overflow
:
hidden
;
text-overflow
:
ellipsis
;
white-space
:
nowrap
;
&:hover{
cursor
:
pointer
;
margin
:
0px
0
0
5px
;
width
:
250px
;
white-space
:
normal
;
word-wrap
:
break-word
;
word-break
:
break-all
;
}
}
</
style
>
</
style
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
@media
(
max-width
:
768px
)
{
@media
(
max-width
:
768px
)
{
...
...
src/views/MyManage/UnVerify/vendorstatus.vue
View file @
7efbb5df
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<div
class=
"container2"
>
<div
class=
"container2"
>
<div
class=
"content"
>
<div
class=
"content"
>
<div
class=
"title"
>
厂商实名认证——审核状态
<a
href=
"/MyManage/UnVerify/index"
>
返回我的首页
</a></div>
<div
class=
"title"
>
{{
status
==
2
?
'变更厂商实名认证——审核状态'
:
'厂商实名认证——审核状态'
}}
<a
href=
"/MyManage/UnVerify/index"
>
返回我的首页
</a></div>
<div
class=
"content-list"
>
<div
class=
"content-list"
>
<p
>
<p
>
<span>
1.填写实名信息
</span>
<span>
1.填写实名信息
</span>
...
@@ -13,7 +13,7 @@
...
@@ -13,7 +13,7 @@
<div
class=
"cnt"
>
<div
class=
"cnt"
>
<div
class=
"fail"
v-if=
"tycpdmFirmInfo.logoutFlag === 2"
>
<div
class=
"fail"
v-if=
"tycpdmFirmInfo.logoutFlag === 2"
>
<img
src=
"../../../assets/image/mymanage/fail.png"
alt=
""
>
<img
src=
"../../../assets/image/mymanage/fail.png"
alt=
""
>
<span>
很抱歉!您未通过中国物品编码中心实名认证。以下为您所在的
<a
href=
"#"
target=
"_blank"
>
分支机构
</a>
审核意见:
</span>
<span>
很抱歉!您未通过中国物品编码中心实名认证
{{
status
==
2
?
'变更'
:
''
}}
。以下为您所在的
<a
href=
"#"
target=
"_blank"
>
分支机构
</a>
审核意见:
</span>
<p>
{{
tycpdmFirmInfo
.
approveContent
}}
</p>
<p>
{{
tycpdmFirmInfo
.
approveContent
}}
</p>
<p
class=
"btn-p"
>
<p
class=
"btn-p"
>
<el-button
@
click=
"modifyInfoBtn"
type=
"primary"
style=
"width: 192px"
>
重新修改企业资料
</el-button>
<el-button
@
click=
"modifyInfoBtn"
type=
"primary"
style=
"width: 192px"
>
重新修改企业资料
</el-button>
...
@@ -36,7 +36,8 @@ export default {
...
@@ -36,7 +36,8 @@ export default {
return
{
return
{
loginInfo
:
{},
loginInfo
:
{},
memberInfo
:
{},
memberInfo
:
{},
tycpdmFirmInfo
:
{}
tycpdmFirmInfo
:
{},
status
:
0
,
// 1: 新增 2: 变更
}
}
},
},
methods
:
{
methods
:
{
...
@@ -46,6 +47,7 @@ export default {
...
@@ -46,6 +47,7 @@ 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
.
data
this
.
tycpdmFirmInfo
=
result
.
data
.
data
this
.
status
=
result
.
data
.
status
},
},
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/News/Ecommerce/detail.vue
View file @
7efbb5df
...
@@ -8,9 +8,16 @@
...
@@ -8,9 +8,16 @@
</div>
</div>
<div
class=
"content_box"
v-html=
"newsInfo.content"
v-if=
"newsInfo.content"
></div>
<div
class=
"content_box"
v-html=
"newsInfo.content"
v-if=
"newsInfo.content"
></div>
<div
class=
"videoStyle"
v-if=
"preTitle === '在线视频'"
>
<div
class=
"videoStyle"
v-if=
"preTitle === '在线视频'"
>
<video
class=
"video"
controls
width=
"100%"
height=
"100%"
>
<
!--
<
video
class=
"video"
controls
width=
"100%"
height=
"100%"
>
<source
:src=
"newsInfo.wavname"
type=
"video/mp4"
>
<source
:src=
"newsInfo.wavname"
type=
"video/mp4"
>
</video>
</video>
-->
<video
controls=
"controls"
:src=
"newsInfo.wavname"
width=
"100%"
height=
"100%"
webkit-playsinline=
""
></video>
</div>
</div>
<div
class=
"source_box"
>
{{
newsInfo
&&
newsInfo
.
source
?
newsInfo
.
source
:
''
}}
</div>
<div
class=
"source_box"
>
{{
newsInfo
&&
newsInfo
.
source
?
newsInfo
.
source
:
''
}}
</div>
...
...
src/views/News/Ecommerce/index.vue
View file @
7efbb5df
...
@@ -30,8 +30,8 @@ export default {
...
@@ -30,8 +30,8 @@ export default {
children
:
[
children
:
[
{
{
name
:
"物品编码标识技术"
,
name
:
"物品编码标识技术"
,
path
:
""
,
path
:
"
/News/ECommerce
"
,
active
:
""
,
active
:
"
ECommerce
"
,
},
},
{
{
name
:
"采用GS1统一物品编码的好处"
,
name
:
"采用GS1统一物品编码的好处"
,
...
...
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