Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx-business
/
ddh-equity
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 83fa06b1
authored
Sep 23, 2021
by
ym
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
map
1 parent
82df2c3e
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
19 additions
and
19 deletions
src/mixins/indexMixin.js
src/mixins/pay.js
src/views/cardRoll/opening.vue
src/views/equity/index.vue
src/mixins/indexMixin.js
View file @
83fa06b
...
@@ -136,6 +136,7 @@ export default {
...
@@ -136,6 +136,7 @@ export default {
window
.
vm
.
track
.
collect
(
logs
);
window
.
vm
.
track
.
collect
(
logs
);
},
},
jumpDEJ
()
{
jumpDEJ
()
{
this
.
tabHideShow
(
1
);
let
{
sessionId
}
=
this
.
$store
.
state
;
let
{
sessionId
}
=
this
.
$store
.
state
;
let
para
=
{
let
para
=
{
sessionId
sessionId
...
...
src/mixins/pay.js
View file @
83fa06b
...
@@ -108,20 +108,20 @@ export default {
...
@@ -108,20 +108,20 @@ export default {
WX
.
chooseWXPay
(
timeStamp
,
nonceStr
,
packages
,
signType
,
paySign
).
then
(
res
=>
{
WX
.
chooseWXPay
(
timeStamp
,
nonceStr
,
packages
,
signType
,
paySign
).
then
(
res
=>
{
if
(
res
)
{
if
(
res
)
{
this
.
payCollect
(
orderCode
,
1
);
this
.
payCollect
(
orderCode
,
1
);
if
(
this
.
appearance
==
2
)
{
let
productName
=
this
.
brandName
+
this
.
businessList
[
this
.
typeSno
].
productName
+
this
.
denomination
.
denomination
window
.
vm
.
$router
.
push
({
name
:
'commodity.process'
,
query
:
{
rechargeNumber
:
this
.
rechargeNumber
,
productName
}
})
}
else
{
window
.
vm
.
$router
.
replace
({
name
:
'commodity.success'
,
query
:
{
price
:
this
.
selectData
.
salesPrice
}
})
}
}
else
{
}
else
{
this
.
payCollect
(
orderCode
,
0
);
this
.
payCollect
(
orderCode
,
0
);
}
}
if
(
this
.
appearance
==
2
)
{
let
productName
=
this
.
brandName
+
this
.
businessList
[
this
.
typeSno
].
productName
+
this
.
denomination
.
denomination
window
.
vm
.
$router
.
push
({
name
:
'commodity.process'
,
query
:
{
rechargeNumber
:
this
.
rechargeNumber
,
productName
}
})
}
else
{
window
.
vm
.
$router
.
replace
({
name
:
'commodity.success'
,
query
:
{
price
:
this
.
selectData
.
salesPrice
}
})
}
})
})
},
},
payCollect
(
orderCode
,
status
)
{
payCollect
(
orderCode
,
status
)
{
...
...
src/views/cardRoll/opening.vue
View file @
83fa06b
...
@@ -139,11 +139,11 @@ export default {
...
@@ -139,11 +139,11 @@ export default {
WX
.
chooseWXPay
(
timeStamp
,
nonceStr
,
packages
,
signType
,
paySign
).
then
(
WX
.
chooseWXPay
(
timeStamp
,
nonceStr
,
packages
,
signType
,
paySign
).
then
(
(
res
)
=>
{
(
res
)
=>
{
if
(
res
)
{
if
(
res
)
{
self
.
getCardInfo
();
self
.
payCollect
(
1
);
self
.
payCollect
(
1
);
}
else
{
}
else
{
self
.
payCollect
(
0
);
self
.
payCollect
(
0
);
}
}
self
.
getCardInfo
();
}
}
);
);
}
else
{
}
else
{
...
...
src/views/equity/index.vue
View file @
83fa06b
...
@@ -214,13 +214,12 @@ export default {
...
@@ -214,13 +214,12 @@ export default {
});
});
geolocation
.
getCurrentPosition
(
function
(
status
,
result
)
{
geolocation
.
getCurrentPosition
(
function
(
status
,
result
)
{
if
(
status
==
"complete"
)
{
if
(
status
==
"complete"
)
{
// self.addressInfo = {
self
.
addressInfo
=
{
// longitude: result.position.lng,
longitude
:
result
.
position
.
lng
,
// latitude: result.position.lat,
latitude
:
result
.
position
.
lat
,
// address: result.formattedAddress,
address
:
result
.
formattedAddress
,
// cityCode: result.addressComponent.adcode,
cityCode
:
result
.
addressComponent
.
adcode
,
// };
};
// self.$store.commit("setAddress", self.addressInfo);
}
}
});
});
});
});
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment