Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
take_order
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
和慭琛
take_order
Commits
da8b03bd
Commit
da8b03bd
authored
Feb 26, 2021
by
李俊赕
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug-commit
parent
1b6e57dd
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
23 additions
and
17 deletions
+23
-17
pages.json
take-order/pages.json
+7
-7
index.vue
take-order/pages/settle/index.vue
+1
-1
pay-ensure.vue
take-order/pages/settle/pay-ensure.vue
+1
-0
prompt.vue
take-order/pages/settle/prompt.vue
+14
-9
No files found.
take-order/pages.json
View file @
da8b03bd
...
@@ -6,7 +6,13 @@
...
@@ -6,7 +6,13 @@
"pages"
:
[
//pages数组中第一项表示应用启动页,参考:https
:
//uniapp.dcloud.io/collocation/pages
"pages"
:
[
//pages数组中第一项表示应用启动页,参考:https
:
//uniapp.dcloud.io/collocation/pages
{
{
"path"
:
"pages/settle/index"
,
"style"
:
{
"navigationBarTitleText"
:
"充电桩安装招募"
}
},{
"path"
:
"pages/exam/index"
,
"path"
:
"pages/exam/index"
,
"style"
:
{
"style"
:
{
"navigationBarTitleText"
:
"入驻考试"
"navigationBarTitleText"
:
"入驻考试"
...
@@ -18,12 +24,6 @@
...
@@ -18,12 +24,6 @@
"navigationBarTitleText"
:
"考试"
"navigationBarTitleText"
:
"考试"
}
}
},{
"path"
:
"pages/settle/index"
,
"style"
:
{
"navigationBarTitleText"
:
"充电桩安装招募"
}
},{
},{
"path"
:
"pages/settle/sign-contract"
,
"path"
:
"pages/settle/sign-contract"
,
"style"
:
{
"style"
:
{
...
...
take-order/pages/settle/index.vue
View file @
da8b03bd
...
@@ -61,7 +61,7 @@
...
@@ -61,7 +61,7 @@
if
(
!
this
.
isStop
){
if
(
!
this
.
isStop
){
return
return
}
}
if
(
this
.
status
>
1
){
if
(
this
.
status
>
0
){
uni
.
navigateTo
({
uni
.
navigateTo
({
url
:
'/pages/settle/prompt'
url
:
'/pages/settle/prompt'
})
})
...
...
take-order/pages/settle/pay-ensure.vue
View file @
da8b03bd
...
@@ -87,6 +87,7 @@
...
@@ -87,6 +87,7 @@
...
this
.
payResult
...
this
.
payResult
}
}
const
res
=
await
this
.
$u
.
api
.
getSettleDepositResult
(
params
);
const
res
=
await
this
.
$u
.
api
.
getSettleDepositResult
(
params
);
console
.
log
(
res
,
'res'
)
if
(
res
.
code
!==
200
){
if
(
res
.
code
!==
200
){
return
return
}
}
...
...
take-order/pages/settle/prompt.vue
View file @
da8b03bd
...
@@ -45,13 +45,13 @@
...
@@ -45,13 +45,13 @@
btnTxt
:
'重新提交'
,
btnTxt
:
'重新提交'
,
url
:
'/pages/settle/file'
url
:
'/pages/settle/file'
},{
},{
// status:5
,
status
:
8
,
//
statusName:'step4',
statusName
:
'step4'
,
//
txtArr:['你已通过','“充电桩安装入驻考试”'],
txtArr
:[
'你已通过'
,
'“充电桩安装入驻考试”'
],
//
tipsArr:['可以正式签约了'],
tipsArr
:[
'可以正式签约了'
],
//
btnTxt:'去签约',
btnTxt
:
'去签约'
,
//
url:'/pages/settle/sign-contract'
url
:
'/pages/settle/sign-contract'
//
},{
},{
status
:[
5
,
6
],
status
:[
5
,
6
],
statusName
:
'未支付保证金'
,
statusName
:
'未支付保证金'
,
txtArr
:[
'你已成为'
,
"充电桩安装的签约服务商"
],
txtArr
:[
'你已成为'
,
"充电桩安装的签约服务商"
],
...
@@ -65,7 +65,7 @@
...
@@ -65,7 +65,7 @@
btnTxt
:
'去接单广场逛逛'
,
btnTxt
:
'去接单广场逛逛'
,
url
:
'/pages/take/index'
url
:
'/pages/take/index'
}],
}],
// 入驻状态:
1=>'待审核',2=>'已通过',3=>'备选',4=>'已驳回',5=>'已签约',6=>'未支付保证金',7=>'已支付保证金
'
// 入驻状态:
0=>'待提交',1=>'待审核',2=>'已通过',3=>'备选',4=>'已驳回',5=>'已签约',6=>'未支付保证金',7=>'已支付保证金',8=>'已通过考试
'
status
:
''
,
status
:
''
,
info
:
null
,
info
:
null
,
...
@@ -106,7 +106,12 @@
...
@@ -106,7 +106,12 @@
const
status
=
record
.
status
const
status
=
record
.
status
const
infoArr
=
this
.
promptList
.
filter
(
item
=>
{
const
infoArr
=
this
.
promptList
.
filter
(
item
=>
{
const
itemStatus
=
parseInt
(
item
.
status
)
const
itemStatus
=
parseInt
(
item
.
status
)
return
itemStatus
===
status
||
itemStatus
.
indexOf
(
status
)
>=
0
// console.log(itemStatus,'itemStatus')
let
idx
=
-
2
if
(
Array
.
isArray
(
itemStatus
)){
idx
=
itemStatus
.
indexOf
(
status
)
}
return
itemStatus
===
status
||
idx
>=
0
})
})
const
info
=
infoArr
.
length
>
0
&&
infoArr
[
0
]
const
info
=
infoArr
.
length
>
0
&&
infoArr
[
0
]
if
(
status
===
6
){
if
(
status
===
6
){
...
...
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