Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
self-support
Project
Project
Details
Activity
Releases
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
李俊赕
self-support
Commits
86690094
Commit
86690094
authored
May 25, 2021
by
linwenqing
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev-fix' into test
parents
8dff5e08
b78e1ac5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
10 deletions
+12
-10
index.vue
src/pages/mine/cert/index.vue
+12
-10
No files found.
src/pages/mine/cert/index.vue
View file @
86690094
...
@@ -98,7 +98,8 @@
...
@@ -98,7 +98,8 @@
desc
:
[
'营业执照正面'
],
desc
:
[
'营业执照正面'
],
data
:
{}
data
:
{}
},
},
}
},
isRuZhu
:
false
,
}
}
},
},
onLoad
()
{
onLoad
()
{
...
@@ -110,7 +111,7 @@
...
@@ -110,7 +111,7 @@
if
(
res
.
code
!=
200
){
if
(
res
.
code
!=
200
){
return
return
}
}
this
.
isRuZhu
=
true
for
(
let
key
in
this
.
list
){
for
(
let
key
in
this
.
list
){
if
(
res
.
data
.
length
<=
0
){
if
(
res
.
data
.
length
<=
0
){
this
.
list
[
key
].
data
=
{}
this
.
list
[
key
].
data
=
{}
...
@@ -124,6 +125,7 @@
...
@@ -124,6 +125,7 @@
}
}
}
}
}).
catch
((
err
)
=>
{
}).
catch
((
err
)
=>
{
this
.
isRuZhu
=
false
;
});
});
},
},
methods
:
{
methods
:
{
...
@@ -132,19 +134,19 @@
...
@@ -132,19 +134,19 @@
},
},
toDetail
(
key
)
{
toDetail
(
key
)
{
let
data
=
null
;
let
data
=
null
;
if
(
this
.
list
[
key
].
data
.
length
==
undefined
||
this
.
list
[
key
].
data
.
length
<=
0
){
if
(
!
this
.
isRuZhu
){
uni
.
showToast
({
uni
.
showToast
({
icon
:
"none"
,
icon
:
"none"
,
title
:
"您当前未入驻,暂无法上传证件"
,
title
:
"您当前未入驻,暂无法上传证件"
,
});
});
return
return
data
=
{
//
data = {
type
:
key
,
//
type: key,
url
:
""
,
//
url: "",
desc
:
this
.
list
[
key
].
desc
,
//
desc: this.list[key].desc,
status
:
0
,
//
status: 0,
type_key
:
key
//
type_key: key
}
//
}
}
else
{
}
else
{
data
=
this
.
list
[
key
].
data
;
data
=
this
.
list
[
key
].
data
;
data
.
desc
=
this
.
list
[
key
].
desc
;
data
.
desc
=
this
.
list
[
key
].
desc
;
...
...
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