bug
This commit is contained in:
parent
70d1a50a04
commit
71ff8fc6da
@ -10,23 +10,23 @@
|
||||
<u-icon name="scan" color="#fff" size="38"></u-icon>
|
||||
</view> -->
|
||||
<view class="box_">
|
||||
<view class="leftbox">
|
||||
<view class="leftbox" @click="goChooseUser()">
|
||||
<view class="title_">会员信息</view>
|
||||
<view v-if="true">
|
||||
<view v-if="!isChooseUser">
|
||||
请选择会员
|
||||
</view>
|
||||
<view v-if="false">
|
||||
<view v-if="isChooseUser">
|
||||
<view class="d-s">
|
||||
<view class="hui">会员名称:</view>
|
||||
<view class="hei"> 胡桃</view>
|
||||
<view class="hei">{{userInfo.name}}</view>
|
||||
</view>
|
||||
<view class="d-s">
|
||||
<view class="hui">手机号:</view>
|
||||
<view class="hei"> 153****9968</view>
|
||||
<view class="hei">{{userInfo.mobile}}</view>
|
||||
</view>
|
||||
<view class="d-s">
|
||||
<view class="hui">账户余额:</view>
|
||||
<view class="hei"> 1854.96元</view>
|
||||
<view class="hei">{{userInfo.cardBalance}}元</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@ -76,6 +76,16 @@
|
||||
<view class="">银联扫码支付</view>
|
||||
</view>
|
||||
|
||||
<view class="qiu"></view>
|
||||
</view>
|
||||
<view class="h-box">
|
||||
<view class="h-ds">
|
||||
<view class="icon-img">
|
||||
<image src="../../static/imgs/xjzf.png" mode=""></image>
|
||||
</view>
|
||||
<view class="">现金支付</view>
|
||||
</view>
|
||||
|
||||
<view class="qiu"></view>
|
||||
</view>
|
||||
</view>
|
||||
@ -89,6 +99,7 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import request from "../../utils/request";
|
||||
import headers from '../../components/header/headers.vue'
|
||||
|
||||
export default {
|
||||
@ -103,8 +114,17 @@
|
||||
"500元",
|
||||
"1000元",
|
||||
"自定义金额",
|
||||
]
|
||||
|
||||
],
|
||||
isChooseUser:false,
|
||||
userId:"",
|
||||
userInfo:"",
|
||||
}
|
||||
},
|
||||
onLoad(e) {
|
||||
this.userId = e.userId
|
||||
if (e.userId){
|
||||
this.isChooseUser = true
|
||||
this.getUser()
|
||||
}
|
||||
},
|
||||
onShow() {
|
||||
@ -125,13 +145,27 @@
|
||||
headers
|
||||
},
|
||||
methods: {
|
||||
// 获取用户信息
|
||||
getUser() {
|
||||
request({
|
||||
url: '/business/userManager/user/' + this.userId,
|
||||
method: 'get',
|
||||
}).then((res) => {
|
||||
this.userInfo = res.data
|
||||
})
|
||||
},
|
||||
goChooseUser(){
|
||||
uni.navigateTo({
|
||||
url:"/pagesHome/searchVip/searchVip?type=1"
|
||||
})
|
||||
},
|
||||
getindex(index) {
|
||||
this.listindex = index
|
||||
},
|
||||
govipjs() {
|
||||
uni.navigateTo({
|
||||
url: '/pagesHome/PaymentResults/PaymentResults'
|
||||
})
|
||||
// uni.navigateTo({
|
||||
// url: '/pagesHome/MemberRecharge/list'
|
||||
// })
|
||||
},
|
||||
goback() {
|
||||
uni.navigateBack()
|
||||
|
@ -52,17 +52,19 @@
|
||||
return {
|
||||
titles: "会员查询",
|
||||
// 会员列表
|
||||
list:[],
|
||||
total:0,
|
||||
paramsQuery:{
|
||||
page:1,
|
||||
pageSize:30,
|
||||
list: [],
|
||||
total: 0,
|
||||
paramsQuery: {
|
||||
page: 1,
|
||||
pageSize: 30,
|
||||
},
|
||||
AmountCollected:"",
|
||||
AmountCollected: "",
|
||||
type: "",
|
||||
}
|
||||
},
|
||||
onLoad(e) {
|
||||
this.AmountCollected = e.AmountCollected
|
||||
this.type = e.type
|
||||
},
|
||||
onShow() {
|
||||
// this.actList = ["1", "1", "1", "1", "1", ]
|
||||
@ -87,12 +89,20 @@
|
||||
headers
|
||||
},
|
||||
methods: {
|
||||
toCollection(id){
|
||||
uni.navigateTo({
|
||||
url:"/pagesHome/Collection/Collection?userId="+id+"&AmountCollected="+this.AmountCollected
|
||||
})
|
||||
toCollection(id) {
|
||||
if (this.type && this.type == 1) {
|
||||
uni.navigateTo({
|
||||
url: "/pagesHome/MemberRecharge/MemberRecharge?userId=" + id
|
||||
})
|
||||
} else {
|
||||
uni.navigateTo({
|
||||
url: "/pagesHome/Collection/Collection?userId=" + id + "&AmountCollected=" + this
|
||||
.AmountCollected
|
||||
})
|
||||
}
|
||||
|
||||
},
|
||||
getList(){
|
||||
getList() {
|
||||
request({
|
||||
url: '/business/userManager/user/list',
|
||||
method: 'get',
|
||||
@ -105,7 +115,7 @@
|
||||
}
|
||||
this.total = res.data.total
|
||||
})
|
||||
|
||||
|
||||
},
|
||||
govipjs() {
|
||||
uni.navigateTo({
|
||||
|
Loading…
Reference in New Issue
Block a user