|
@@ -2,6 +2,7 @@
|
|
|
import payIcon from '@/pages/parkingFee/static/images/pay-success.png';
|
|
|
import { mapState } from 'vuex';
|
|
|
import uni from '@/utils/uniHooks';
|
|
|
+
|
|
|
import {
|
|
|
getSceneUser,
|
|
|
} from '@/utils/api-kip.js';
|
|
@@ -17,6 +18,7 @@ export default {
|
|
|
blueIcon: this.$picUrl + '/images/icon-success-blue.png',
|
|
|
greenIcon: this.$picUrl + '/images/icon-success-green.png',
|
|
|
pointsNew: '',
|
|
|
+ isLogin: this.$store.state.isLogin === 'haveLoggedIn' ,
|
|
|
wenjuanObj: {
|
|
|
id: '',
|
|
|
name: '',
|
|
@@ -42,6 +44,7 @@ export default {
|
|
|
},
|
|
|
},
|
|
|
mounted() {
|
|
|
+ console.log('isLogin:::::::::::::', this.isLogin)
|
|
|
// const leftLeavingTime = JSON.parse(uni.getStorageSync('leftLeavingTime'));
|
|
|
// console.log('leftLeavingTime::', leftLeavingTime)
|
|
|
// if (leftLeavingTime) {
|
|
@@ -84,6 +87,7 @@ export default {
|
|
|
const res = await getSceneUser({
|
|
|
triggerPoint: 5
|
|
|
})
|
|
|
+ console.log('问卷判断接口:::', res)
|
|
|
if (res !== '' && res !== null && res !== undefined) {
|
|
|
this.pointsNew = res.rewardPointsAmount
|
|
|
this.wenjuanObj.id = res.questionnaireId
|