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