Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
shop_mobile_uni
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
郑秀明
shop_mobile_uni
Commits
d46fd705
Commit
d46fd705
authored
Aug 06, 2020
by
王建威
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug fix
parent
b1c18727
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
70 additions
and
15 deletions
+70
-15
pages.json
pages.json
+1
-1
certification.vue
pages/certification/certification.vue
+17
-6
monthlyContract.vue
pages/monthlyContract/monthlyContract.vue
+2
-1
monthlyDeposit.vue
pages/monthlyDeposit/monthlyDeposit.vue
+6
-0
monthlyIntroduce.vue
pages/monthlyIntroduce/monthlyIntroduce.vue
+1
-1
monthlyJoin.vue
pages/monthlyJoin/monthlyJoin.vue
+43
-6
No files found.
pages.json
View file @
d46fd705
...
...
@@ -21,7 +21,7 @@
{
"path"
:
"pages/web/web"
,
"style"
:
{
"navigationBarTitleText"
:
"
白条专区-
谛宝多多商城"
"navigationBarTitleText"
:
"谛宝多多商城"
}
},
{
...
...
pages/certification/certification.vue
View file @
d46fd705
...
...
@@ -81,12 +81,14 @@
title
:
'社会统一信用代码'
,
submitFlag
:
true
,
month_rule_id
:
''
,
// 从连续包月跳转过来
is_deposit
:
''
// 从连续包月跳转过来
is_deposit
:
''
,
// 从连续包月跳转过来
auth_id
:
''
}
},
onLoad
(
options
)
{
this
.
month_rule_id
=
options
.
month_rule_id
;
this
.
is_deposit
=
options
.
is_deposit
;
this
.
month_rule_id
=
options
.
month_rule_id
||
''
;
this
.
is_deposit
=
options
.
is_deposit
||
''
;
this
.
auth_id
=
options
.
auth_id
||
''
;
},
methods
:
{
changeEnterpriseType
(
type
)
{
...
...
@@ -171,15 +173,24 @@
});
return
}
let
url
=
''
,
method
=
''
;
if
(
this
.
auth_id
)
{
url
=
`/uni/api/certification/EditRealnameAuth/
${
this
.
auth_id
}
`
;
method
=
'PUT'
}
else
{
url
=
'/uni/api/certification/AddRealnameAuth'
;
method
=
'POST'
;
}
this
.
submitFlag
=
false
;
uni
.
showToast
({
title
:
'提交中'
,
icon
:
'none'
})
})
;
uni
.
request
({
url
:
'/uni/api/certification/AddRealnameAuth'
,
url
:
url
,
data
:
this
.
params
,
method
:
'POST'
,
method
:
method
,
success
:
(
res
)
=>
{
this
.
submitFlag
=
true
;
if
(
res
.
data
.
code
===
0
)
{
...
...
pages/monthlyContract/monthlyContract.vue
View file @
d46fd705
...
...
@@ -97,7 +97,8 @@
apply_status_name
:
''
}],
rotate
:
[],
rotateKey
:
-
1
rotateKey
:
-
1
,
auth_id
:
''
}
},
onLoad
()
{
...
...
pages/monthlyDeposit/monthlyDeposit.vue
View file @
d46fd705
...
...
@@ -245,6 +245,12 @@
uni
.
navigateTo
({
url
:
`/pages/web/web?contract_url=
${
res
.
data
.
data
.
viewUrl
}
`
});
}
else
{
uni
.
hideLoading
();
uni
.
showToast
({
title
:
'校验信息已过期,请重新校验'
,
icon
:
'none'
});
}
}
})
...
...
pages/monthlyIntroduce/monthlyIntroduce.vue
View file @
d46fd705
...
...
@@ -72,7 +72,7 @@
}
}
.content_view
{
padding
:
130rpx
40rpx
2
4rpx
;
padding
:
130rpx
40rpx
13
4rpx
;
.content_title
{
margin-bottom
:
20rpx
;
font-size
:
32rpx
;
...
...
pages/monthlyJoin/monthlyJoin.vue
View file @
d46fd705
...
...
@@ -83,7 +83,8 @@
depositKey
:
'1'
,
// 1交押金 0不交押金
month_rule_id
:
''
,
auth_status
:
''
,
// 是否四要素
overdate
:
''
overdate
:
''
,
auth_id
:
''
}
},
onLoad
()
{
...
...
@@ -100,7 +101,17 @@
this
.
overdate
=
moment
().
add
(
month
,
'M'
).
format
(
'YYYY.MM.DD'
);
}
}
})
});
uni
.
request
({
url
:
'/uni/api/certification/GetRealnameAuth'
,
method
:
'GET'
,
dataType
:
'json'
,
success
:
(
res
)
=>
{
if
(
res
.
data
.
code
===
0
)
{
this
.
auth_id
=
res
.
data
.
data
.
auth_id
;
}
}
});
},
methods
:
{
closeTips
()
{
...
...
@@ -166,10 +177,20 @@
}
}
else
{
uni
.
hideToast
();
uni
.
showToast
({
title
:
res
.
data
.
message
,
icon
:
'none'
})
if
(
res
.
data
.
message
.
indexOf
(
'未进行授权'
)
!==
-
1
)
{
uni
.
showToast
({
title
:
'校验信息已过期,请重新校验'
,
icon
:
'none'
});
setTimeout
(()
=>
{
this
.
$jump
(
`/pages/certification/certification?month_rule_id=
${
this
.
month_rule_id
}
&is_deposit=
${
this
.
depositKey
}
&auth_id=
${
this
.
auth_id
}
`
,
2
)
},
2000
);
}
else
{
uni
.
showToast
({
title
:
res
.
data
.
data
.
message
,
icon
:
'none'
});
}
}
}
})
...
...
@@ -192,6 +213,22 @@
uni
.
navigateTo
({
url
:
`/pages/web/web?contract_url=
${
res
.
data
.
data
.
viewUrl
}
`
});
}
else
{
uni
.
hideLoading
();
if
(
res
.
data
.
message
.
indexOf
(
'未进行授权'
)
!==
-
1
)
{
uni
.
showToast
({
title
:
'校验信息已过期,请重新校验'
,
icon
:
'none'
});
setTimeout
(()
=>
{
this
.
$jump
(
`/pages/certification/certification?month_rule_id=
${
this
.
month_rule_id
}
&is_deposit=
${
this
.
depositKey
}
&auth_id=
${
this
.
auth_id
}
`
,
2
)
},
2000
);
}
else
{
uni
.
showToast
({
title
:
res
.
data
.
data
.
message
,
icon
:
'none'
});
}
}
}
})
...
...
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