|
@@ -13,6 +13,7 @@
|
|
<view class="time text-item">日期 {{pageContent.timeDate}}({{pageContent.timeWeek}})</view>
|
|
<view class="time text-item">日期 {{pageContent.timeDate}}({{pageContent.timeWeek}})</view>
|
|
<view class="time text-item">场次 {{pageContent.performTimeStart}} - {{pageContent.performTimeEnd}}</view>
|
|
<view class="time text-item">场次 {{pageContent.performTimeStart}} - {{pageContent.performTimeEnd}}</view>
|
|
<view class="num text-item">{{pageContent.goodsName}} / {{pageContent.seatTypeName}}</view>
|
|
<view class="num text-item">{{pageContent.goodsName}} / {{pageContent.seatTypeName}}</view>
|
|
|
|
+ <view class=" text-item">{{pageContent.auditoriumName}}</view>
|
|
<!-- <view class="position text-item">{{performInfo.name}}</view> -->
|
|
<!-- <view class="position text-item">{{performInfo.name}}</view> -->
|
|
<!-- <view class="addr u-flex u-row-between">
|
|
<!-- <view class="addr u-flex u-row-between">
|
|
<view class="u-line-1">地址:遵义市《伟大转折》演艺中心</view>
|
|
<view class="u-line-1">地址:遵义市《伟大转折》演艺中心</view>
|
|
@@ -65,7 +66,7 @@
|
|
<u-icon @click="delVisitor(visitor)" name="close-circle" color="#2D2D2D" size="32rpx"></u-icon>
|
|
<u-icon @click="delVisitor(visitor)" name="close-circle" color="#2D2D2D" size="32rpx"></u-icon>
|
|
<text style="margin-left: 8rpx;">观影人{{ index + 1 }}</text>
|
|
<text style="margin-left: 8rpx;">观影人{{ index + 1 }}</text>
|
|
<text class="name">{{visitor.name}}</text>
|
|
<text class="name">{{visitor.name}}</text>
|
|
- <text class="people-id">{{ visitor.sfz | maskID }}</text>
|
|
|
|
|
|
+ <!-- <text class="people-id">{{ visitor.idcard | maskID }}</text> -->
|
|
</view>
|
|
</view>
|
|
<view class="right" @click="editVisitor(visitor)">编辑</view>
|
|
<view class="right" @click="editVisitor(visitor)">编辑</view>
|
|
</view>
|
|
</view>
|
|
@@ -154,17 +155,13 @@
|
|
performId:'',
|
|
performId:'',
|
|
performInfo:{},
|
|
performInfo:{},
|
|
pageData:{},//上个页面传过来的数据
|
|
pageData:{},//上个页面传过来的数据
|
|
- pageContent:{purchaser:{},ticketNotice:'aaa'},//页面信息
|
|
|
|
|
|
+ pageContent:{purchaser:{},ticketNotice:''},//页面信息
|
|
ticketNotice:'aaa',
|
|
ticketNotice:'aaa',
|
|
cansubmit:true,
|
|
cansubmit:true,
|
|
staticUrl:this.$commonConfig.staticUrl,
|
|
staticUrl:this.$commonConfig.staticUrl,
|
|
visitors:[],//游客
|
|
visitors:[],//游客
|
|
visitorShow:false,//游客弹层
|
|
visitorShow:false,//游客弹层
|
|
- visitorList:[
|
|
|
|
- {id:'1',name:'张三',sfz:'522501199012037605'},
|
|
|
|
- {id:'2',name:'李四',sfz:'522501196012037605'},
|
|
|
|
- {id:'3',name:'王五',sfz:'522501202112037605'},
|
|
|
|
- ],//游客列表
|
|
|
|
|
|
+ visitorList:[],//游客列表
|
|
selectedVisitor:[],//选中的游客
|
|
selectedVisitor:[],//选中的游客
|
|
params:{},//要提交的数据
|
|
params:{},//要提交的数据
|
|
|
|
|
|
@@ -189,6 +186,7 @@
|
|
},
|
|
},
|
|
},
|
|
},
|
|
onShow() {
|
|
onShow() {
|
|
|
|
+ this.getMemberAll();
|
|
},
|
|
},
|
|
onLoad(page) {
|
|
onLoad(page) {
|
|
console.log('page',page);
|
|
console.log('page',page);
|
|
@@ -196,6 +194,7 @@
|
|
this.performId = page.performId;
|
|
this.performId = page.performId;
|
|
this.getSystemInfo();
|
|
this.getSystemInfo();
|
|
this.getSettlement();
|
|
this.getSettlement();
|
|
|
|
+
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
leftClick(e){
|
|
leftClick(e){
|
|
@@ -214,6 +213,19 @@
|
|
console.log('getSettlement',err);
|
|
console.log('getSettlement',err);
|
|
})
|
|
})
|
|
},
|
|
},
|
|
|
|
+ getMemberAll(){
|
|
|
|
+ let that = this;
|
|
|
|
+ const userId = this.vuex_member_info.id;
|
|
|
|
+ this.$u.api.selectMemberAll({userid:userId}).then(res=>{
|
|
|
|
+ // console.log('getMemberAll',res.data);
|
|
|
|
+ this.visitorList = res.data.list;
|
|
|
|
+ console.log('this.visitorList',this.visitorList);
|
|
|
|
+ this.visitors = this.visitorList.filter(obj => obj.memberId==userId);
|
|
|
|
+ console.log('this.visitors',this.visitors);
|
|
|
|
+ }).catch(err=>{
|
|
|
|
+ console.log('getMemberAll',err);
|
|
|
|
+ })
|
|
|
|
+ },
|
|
confirmVisitor(){
|
|
confirmVisitor(){
|
|
let that = this;
|
|
let that = this;
|
|
// console.log('selectedVisitor',this.selectedVisitor);
|
|
// console.log('selectedVisitor',this.selectedVisitor);
|
|
@@ -235,11 +247,16 @@
|
|
uni.$u.route('/center/people', {
|
|
uni.$u.route('/center/people', {
|
|
type: 'editVisitor',
|
|
type: 'editVisitor',
|
|
fromPage:'bookticket',
|
|
fromPage:'bookticket',
|
|
- id:item.id
|
|
|
|
|
|
+ id:item.id,
|
|
|
|
+ name:item.name,
|
|
|
|
+ mobile:item.mobile,
|
|
|
|
+ idcard:item.idcard,
|
|
});
|
|
});
|
|
},
|
|
},
|
|
submitorder(){
|
|
submitorder(){
|
|
this.cansubmit = false;
|
|
this.cansubmit = false;
|
|
|
|
+ console.log('pageData',this.pageData);
|
|
|
|
+ console.log('visitors',this.visitors);
|
|
console.log('params',this.params);
|
|
console.log('params',this.params);
|
|
},
|
|
},
|
|
|
|
|
|
@@ -378,7 +395,7 @@
|
|
.people-list{
|
|
.people-list{
|
|
margin-bottom: 20rpx;
|
|
margin-bottom: 20rpx;
|
|
.btn{
|
|
.btn{
|
|
- width: 200rpx;
|
|
|
|
|
|
+ width: 185rpx;
|
|
height: 60rpx;
|
|
height: 60rpx;
|
|
line-height: 60rpx;
|
|
line-height: 60rpx;
|
|
font-size: 24rpx;
|
|
font-size: 24rpx;
|