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
f8c9a5fa
Commit
f8c9a5fa
authored
Feb 26, 2021
by
和慭琛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug-fix
parent
8c82b541
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
49 additions
and
15 deletions
+49
-15
App.vue
take-order/App.vue
+21
-1
pages.json
take-order/pages.json
+13
-13
sign-contract.vue
take-order/pages/settle/sign-contract.vue
+5
-1
web.vue
take-order/pages/settle/web.vue
+10
-0
No files found.
take-order/App.vue
View file @
f8c9a5fa
...
@@ -137,6 +137,26 @@
...
@@ -137,6 +137,26 @@
},
},
methods
:
{
methods
:
{
async
getBaseInfo
(
vm
,
callBack
){
console
.
log
(
'getbaseifno'
)
uni
.
showLoading
({
title
:
'加载中……'
})
const
res
=
await
vm
.
$u
.
api
.
getSettleBaseInfo
()
if
(
!
res
.
status
)
{
uni
.
showToast
({
title
:
res
.
message
||
'获取基本信息错误'
,
icon
:
'none'
});
return
false
;
}
this
.
globalData
.
settledInfo
=
res
.
data
console
.
log
(
res
.
data
,
'res.data'
)
callBack
(
vm
,
res
.
data
)
uni
.
hideLoading
()
return
res
.
data
},
initAPIneedToken
:
function
()
{
initAPIneedToken
:
function
()
{
...
...
take-order/pages.json
View file @
f8c9a5fa
...
@@ -12,6 +12,12 @@
...
@@ -12,6 +12,12 @@
"navigationBarTitleText"
:
"充电桩安装招募"
"navigationBarTitleText"
:
"充电桩安装招募"
}
}
},{
"path"
:
"pages/settle/sign-contract"
,
"style"
:
{
"navigationBarTitleText"
:
"签约页面"
}
},{
},{
"path"
:
"pages/index/index"
,
"path"
:
"pages/index/index"
,
"style"
:
{
"style"
:
{
...
@@ -87,12 +93,6 @@
...
@@ -87,12 +93,6 @@
"navigationBarTitleText"
:
"入驻提示"
"navigationBarTitleText"
:
"入驻提示"
}
}
},
{
"path"
:
"pages/settle/sign-contract"
,
"style"
:
{
"navigationBarTitleText"
:
"签约页面"
}
},
{
},
{
"path"
:
"pages/settle/web"
,
"path"
:
"pages/settle/web"
,
"style"
:
{
"style"
:
{
...
...
take-order/pages/settle/sign-contract.vue
View file @
f8c9a5fa
...
@@ -331,8 +331,12 @@
...
@@ -331,8 +331,12 @@
}
}
const
url
=
res
.
data
const
url
=
res
.
data
getApp
().
globalData
.
signUrl
=
url
uni
.
navigateTo
({
uni
.
navigateTo
({
url
:
'/pages/settle/web?url='
+
url
// url:'/pages/settle/web?url='+url
url
:
'/pages/settle/web?url='
+
encodeURIComponent
(
url
)
})
})
}
}
},
},
...
...
take-order/pages/settle/web.vue
View file @
f8c9a5fa
...
@@ -21,6 +21,16 @@
...
@@ -21,6 +21,16 @@
if
(
e
.
url
){
if
(
e
.
url
){
webUrl
=
e
.
url
webUrl
=
e
.
url
}
}
webUrl
=
decodeURIComponent
(
e
.
url
);
console
.
log
(
'web-webUrl:'
)
console
.
log
(
webUrl
)
webUrl
=
getApp
().
globalData
.
signUrl
console
.
log
(
'getApp-web-webUrl:'
)
console
.
log
(
webUrl
)
this
.
webUrl
=
webUrl
this
.
webUrl
=
webUrl
}
}
...
...
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