Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
W
web-site
Project
Project
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
张冬
web-site
Commits
08bb019b
Commit
08bb019b
authored
Oct 29, 2020
by
吴冠
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
审核
parent
df95536f
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
43 additions
and
34 deletions
+43
-34
Upload.vue
components/Upload/Upload.vue
+5
-2
imgUpload.vue
components/Upload/imgUpload.vue
+5
-2
bid.vue
pages/index/notice/bid.vue
+1
-5
inquiry.vue
pages/index/notice/inquiry.vue
+2
-8
examine.vue
pages/login/examine.vue
+26
-3
user.vue
pages/login/user.vue
+4
-14
No files found.
components/Upload/Upload.vue
View file @
08bb019b
...
@@ -60,11 +60,14 @@ export default {
...
@@ -60,11 +60,14 @@ export default {
max
:
{
max
:
{
type
:
Number
,
type
:
Number
,
default
:
10
default
:
10
}
},
fileList
:{
type
:
Array
,
default
:
()
=>
[]
},
},
},
data
()
{
data
()
{
return
{
return
{
fileList
:
[]
}
}
},
},
methods
:
{
methods
:
{
...
...
components/Upload/imgUpload.vue
View file @
08bb019b
...
@@ -43,13 +43,16 @@ export default {
...
@@ -43,13 +43,16 @@ export default {
max
:
{
max
:
{
type
:
Number
,
type
:
Number
,
default
:
10
default
:
10
}
},
fileList
:{
type
:
Array
,
default
:
()
=>
[]
},
},
},
data
()
{
data
()
{
return
{
return
{
dialogImageUrl
:
''
,
dialogImageUrl
:
''
,
dialogVisible
:
false
,
dialogVisible
:
false
,
fileList
:
[]
}
}
},
},
methods
:
{
methods
:
{
...
...
pages/index/notice/bid.vue
View file @
08bb019b
...
@@ -86,11 +86,7 @@ import Cookies from 'js-cookie'
...
@@ -86,11 +86,7 @@ import Cookies from 'js-cookie'
size
:
10
,
size
:
10
,
noticeType
:
"BIDDING"
noticeType
:
"BIDDING"
}
}
/* if(Cookies.get("details")){
mes.currentPage = Cookies.get("currentPage")
}
Cookies.remove("details")
Cookies.remove("currentPage") */
const
res
=
await
industryList
();
const
res
=
await
industryList
();
const
{
data
,
total
}
=
await
getBidingList
(
mes
)
const
{
data
,
total
}
=
await
getBidingList
(
mes
)
console
.
log
(
data
+
'------------'
)
console
.
log
(
data
+
'------------'
)
...
...
pages/index/notice/inquiry.vue
View file @
08bb019b
...
@@ -96,7 +96,7 @@ export default {
...
@@ -96,7 +96,7 @@ export default {
citySelect
,
citySelect
,
dataTable
dataTable
},
},
/*
async asyncData({ params, route, error }){
async
asyncData
({
params
,
route
,
error
}){
let
mes
=
{
let
mes
=
{
currentPage
:
1
,
currentPage
:
1
,
size
:
10
,
size
:
10
,
...
@@ -109,7 +109,7 @@ export default {
...
@@ -109,7 +109,7 @@ export default {
total
:
total
,
total
:
total
,
industryOptions
:
res
industryOptions
:
res
}
}
},
*/
},
mounted
(){
mounted
(){
console
.
log
(
11111111111
)
console
.
log
(
11111111111
)
if
(
Cookies
.
get
(
"details"
)){
if
(
Cookies
.
get
(
"details"
)){
...
@@ -118,12 +118,6 @@ export default {
...
@@ -118,12 +118,6 @@ export default {
mes
.
size
=
Cookies
.
get
(
"size"
)
mes
.
size
=
Cookies
.
get
(
"size"
)
mes
.
noticeType
=
"ENQUIRY"
mes
.
noticeType
=
"ENQUIRY"
this
.
getInquiryList
(
mes
)
this
.
getInquiryList
(
mes
)
}
else
{
let
mes
=
{}
mes
.
currentPage
=
1
mes
.
size
=
10
mes
.
noticeType
=
"ENQUIRY"
this
.
getInquiryList
(
mes
)
}
}
this
.
industryList
();
this
.
industryList
();
Cookies
.
remove
(
"details"
)
Cookies
.
remove
(
"details"
)
...
...
pages/login/examine.vue
View file @
08bb019b
...
@@ -573,12 +573,14 @@
...
@@ -573,12 +573,14 @@
:max=
"10"
:max=
"10"
@
input=
"getJustimg"
@
input=
"getJustimg"
tip=
""
tip=
""
:fileList =
"justimg"
></imgUpload>
></imgUpload>
<imgUpload
<imgUpload
:limit=
"1"
:limit=
"1"
:max=
"10"
:max=
"10"
@
input=
"getBackimg"
@
input=
"getBackimg"
tip=
""
tip=
""
:fileList =
"backimg"
></imgUpload>
></imgUpload>
</el-form-item>
</el-form-item>
<el-form-item
label=
"三证合一扫描件"
prop=
"cardimg"
class=
"item"
>
<el-form-item
label=
"三证合一扫描件"
prop=
"cardimg"
class=
"item"
>
...
@@ -587,6 +589,7 @@
...
@@ -587,6 +589,7 @@
:max=
"10"
:max=
"10"
@
input=
"getCardimg"
@
input=
"getCardimg"
tip=
"只可上传三张图片,大小不能超过10MB,此项为必填项"
tip=
"只可上传三张图片,大小不能超过10MB,此项为必填项"
:fileList =
"cardimg"
></imgUpload>
></imgUpload>
</el-form-item>
</el-form-item>
<el-form-item
prop=
"file"
class=
"item"
margin-left=
"-1.8rem"
>
<el-form-item
prop=
"file"
class=
"item"
margin-left=
"-1.8rem"
>
...
@@ -603,6 +606,7 @@
...
@@ -603,6 +606,7 @@
:max=
"10"
:max=
"10"
@
input=
"getfile"
@
input=
"getfile"
tip=
"最多上传五份文件,每份不超过10M"
tip=
"最多上传五份文件,每份不超过10M"
:fileList =
"files"
></Upload>
></Upload>
</el-form-item>
</el-form-item>
</el-form>
</el-form>
...
@@ -680,8 +684,8 @@ export default {
...
@@ -680,8 +684,8 @@ export default {
this
.
getIndustryList
();
this
.
getIndustryList
();
this
.
getCompanyNatureList
();
this
.
getCompanyNatureList
();
//如果是来自于auditStatus状态的话 说明有错误信息 重新把用户输入的信息自动填充
//如果是来自于auditStatus状态的话 说明有错误信息 重新把用户输入的信息自动填充
if
(
Cookies
.
get
(
"auditStatus"
)
==
"1"
){
if
(
Cookies
.
get
(
"auditStatus"
)
==
1
){
this
.
active
=
=
1
this
.
active
=
1
this
.
getErrorInfo
()
this
.
getErrorInfo
()
}
}
},
},
...
@@ -1091,6 +1095,7 @@ export default {
...
@@ -1091,6 +1095,7 @@ export default {
async
getErrorInfo
(){
async
getErrorInfo
(){
let
companyErrorId
=
Cookies
.
get
(
"companyErrorId"
)
let
companyErrorId
=
Cookies
.
get
(
"companyErrorId"
)
const
{
data
}
=
await
getErrorInfo
(
companyErrorId
)
const
{
data
}
=
await
getErrorInfo
(
companyErrorId
)
this
.
form
.
companyName
=
data
.
companyName
this
.
perfectForm
.
legalPersonPhone
=
data
.
legalPersonPhone
this
.
perfectForm
.
legalPersonPhone
=
data
.
legalPersonPhone
this
.
perfectForm
.
legalPersonName
=
data
.
legalPersonName
this
.
perfectForm
.
legalPersonName
=
data
.
legalPersonName
this
.
perfectForm
.
location
=
data
.
location
this
.
perfectForm
.
location
=
data
.
location
...
@@ -1099,10 +1104,28 @@ export default {
...
@@ -1099,10 +1104,28 @@ export default {
this
.
perfectForm
.
contactAddress
=
data
.
contactAddress
this
.
perfectForm
.
contactAddress
=
data
.
contactAddress
this
.
perfectForm
.
socialCode
=
data
.
socialCode
this
.
perfectForm
.
socialCode
=
data
.
socialCode
this
.
perfectForm
.
companyNature
=
data
.
companyNature
this
.
perfectForm
.
companyNature
=
data
.
companyNature
this
.
perfectForm
.
industryType
=
data
.
industry
List
this
.
perfectForm
.
industryType
=
data
.
industry
Name
this
.
perfectForm
.
bankName
=
data
.
bankName
this
.
perfectForm
.
bankName
=
data
.
bankName
this
.
perfectForm
.
registeredCapital
=
data
.
registeredCapital
this
.
perfectForm
.
registeredCapital
=
data
.
registeredCapital
this
.
perfectForm
.
businessScope
=
data
.
businessScope
this
.
perfectForm
.
businessScope
=
data
.
businessScope
for
(
let
item
of
data
.
fileList
){
item
.
url
=
item
.
fileUrl
item
.
name
=
item
.
fileName
if
(
item
.
type
==
1
){
this
.
justimg
.
push
(
item
)
}
if
(
item
.
type
==
2
){
this
.
backimg
.
push
(
item
)
}
if
(
item
.
type
==
3
){
this
.
cardimg
.
push
(
item
)
}
if
(
item
.
type
==
4
){
this
.
files
.
push
(
item
)
}
}
/* this.cardimg = data.fileList[2].fileUrl */
/* this.perfectForm.businessScope = data.businessScope */
Cookies
.
remove
(
"companyErrorId"
)
Cookies
.
remove
(
"companyErrorId"
)
Cookies
.
remove
(
"auditStatus"
)
Cookies
.
remove
(
"auditStatus"
)
},
},
...
...
pages/login/user.vue
View file @
08bb019b
...
@@ -158,24 +158,14 @@
...
@@ -158,24 +158,14 @@
this
.
$router
.
push
(
"/"
)
this
.
$router
.
push
(
"/"
)
},
1500
)
},
1500
)
/* this.$message.success(msg) */
/* this.$message.success(msg) */
}
else
{
/* this.$message({
message: msg,
type: 'error'
}); */
this
.
$message
.
error
(
msg
)
}
}
//储存公司id 审核未通过时自动填充数据
/* if(code!=200){
this.$router.push("/login/auditStatus")
Cookies.set("companyErrorId",data.companyId)
} */
if
(
code
==
502
){
if
(
code
==
502
){
/* 审核未通过 说明拒绝原因 */
/* 审核未通过 说明拒绝原因 */
this
.
$message
.
error
(
msg
)
this
.
$router
.
push
(
'/login/auditStatus'
)
this
.
$router
.
push
(
'/login/auditStatus'
)
Cookies
.
set
(
"companyErrorId"
,
data
.
companyId
)
Cookies
.
set
(
"companyErrorId"
,
data
)
Cookies
.
set
(
"code"
,
data
.
code
)
Cookies
.
set
(
"code"
,
code
)
Cookies
.
set
(
"message"
,
data
.
message
)
Cookies
.
set
(
"message"
,
msg
)
}
else
if
(
code
==
501
){
}
else
if
(
code
==
501
){
/* 审核中 */
/* 审核中 */
Cookies
.
set
(
"code"
,
data
.
code
)
Cookies
.
set
(
"code"
,
data
.
code
)
...
...
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