Commit 4e72e598 authored by youjie's avatar youjie

Merge branch 'master' of http://gitlab.oytour.com/viitto/mallapp

parents 8c2b566b 3e01a403
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
placeholder="请输入学员姓名" maxlength="5" /> placeholder="请输入学员姓名" maxlength="5" />
</view> </view>
<view class="box-bg"> <view class="box-bg">
<view>性别:{{}}</view> <view>性别</view>
<view class="xingbie"> <view class="xingbie">
<text v-for="(item, i) in goodsist" :key="i" @click="gende(item,i)" <text v-for="(item, i) in goodsist" :key="i" @click="gende(item,i)"
:class="[index==i?'gender':'gender2'] ">{{item.name}}</text> :class="[index==i?'gender':'gender2'] ">{{item.name}}</text>
...@@ -40,16 +40,12 @@ ...@@ -40,16 +40,12 @@
<u-icon name="arrow" color="#9F9F9F" size="20"></u-icon> <u-icon name="arrow" color="#9F9F9F" size="20"></u-icon>
</view> </view>
</view> </view>
<!-- <view class="box-bg" @click="community()"> <view class="box-bg" @click="community()">
<input maxlength="0" class="uni-input inputM" readonly="readonly" <input maxlength="0" class="uni-input inputM" readonly="readonly"
style='margin-left: 10px;margin-top: 5px;' v-model="rules.School_Id" placeholder="报名校区" /> style='margin-left: 10px;margin-top: 5px;' v-model="rules.School_Id" placeholder="报名校区" />
<view> <view>
<u-icon name="arrow" color="#9F9F9F" size="20"></u-icon> <u-icon name="arrow" color="#9F9F9F" size="20"></u-icon>
</view> </view>
</view> -->
<view class="box-bg">
<input class="uni-input inputM" readonly="readonly"
style='margin-left: 10px;margin-top: 5px;' v-model="rules.School_Id" placeholder="报名校区" />
</view> </view>
<view class="box-bg"> <view class="box-bg">
<input class="uni-input inputM" style='margin-left: 10px;margin-top: 5px;' <input class="uni-input inputM" style='margin-left: 10px;margin-top: 5px;'
...@@ -110,7 +106,7 @@ ...@@ -110,7 +106,7 @@
<view class="list" :class="[actuve2==i?'list2':'']" v-for="(item, i) in campus" :key="i" <view class="list" :class="[actuve2==i?'list2':'']" v-for="(item, i) in campus" :key="i"
@click="masklist2(item,i)"> @click="masklist2(item,i)">
<view> <view>
{{item.StuName}} {{item.SName}}
</view> </view>
<view v-if="actuve2==i"> <view v-if="actuve2==i">
<u-icon name="success" size="20"></u-icon> <u-icon name="success" size="20"></u-icon>
...@@ -186,18 +182,18 @@ ...@@ -186,18 +182,18 @@
BaseCondition: that.rules.BaseCondition, // 就读学校 是 [string] 查看 BaseCondition: that.rules.BaseCondition, // 就读学校 是 [string] 查看
DemandPoint: that.rules.DemandPoint, // 班级 是 [string] 查看 DemandPoint: that.rules.DemandPoint, // 班级 是 [string] 查看
ConsultingResults: that.rules.ConsultingResults, // 如何知道进阶思维 是 [string] 查看 ConsultingResults: that.rules.ConsultingResults, // 如何知道进阶思维 是 [string] 查看
// School_Id: that.School_Id, // 校区 是 [string] School_Id: that.School_Id, // 校区 是 [string]
School_Id: that.rules.School_Id, // 校区 是 [string] // School_Id: that.rules.School_Id, // 校区 是 [string]
Group_Id: "100001" Group_Id: "100001"
}; };
that.requestJJSWAdmin(testCmd, postMsg, that.requestJJSWAdmin(testCmd, postMsg,
(res) => { (res) => {
if (res.data.Code == 1) { if (res.data.Code == 1) {
uni.showToast({ // uni.showToast({
title: '提交成功', // title: '提交成功',
icon: 'exception', // icon: 'exception',
duration: 2000 // duration: 2000
}); // });
uni.navigateBack({ uni.navigateBack({
delta: 1 delta: 1
}); });
...@@ -252,7 +248,6 @@ ...@@ -252,7 +248,6 @@
} else { } else {
this.registered() this.registered()
} }
}, },
confirm(e) { confirm(e) {
console.log(e); console.log(e);
...@@ -300,17 +295,17 @@ ...@@ -300,17 +295,17 @@
this.show3 = false this.show3 = false
}, },
community() { community() {
testCmd = "/api/WeChatPublic/GetStuList"; testCmd = "/api/WeChatPublic/GetSchoolList";
postMsg = { postMsg = {
UnionId: "oV5Rm1J_MpkEVvE0VPEicwCDG1Zo" Group_Id: ""
}; };
this.initlist() this.initlist()
this.show4 = true this.show4 = true
}, },
masklist2(item, i) { masklist2(item, i) {
this.actuve2 = i this.actuve2 = i
this.rules.School_Id = item.StuName this.rules.School_Id = item.SName
this.School_Id = item.StuId this.School_Id = item.SId
this.show4 = false this.show4 = false
}, },
}, },
......
...@@ -510,13 +510,13 @@ ...@@ -510,13 +510,13 @@
// that.adressInfo.ShoppingAddress = '四川成都龙泉驿1' // that.adressInfo.ShoppingAddress = '四川成都龙泉驿1'
// that.JJSWStuId = '10724'; // that.JJSWStuId = '10724';
// that.Thename="HK"; // that.Thename="HK";
if (that.adressInfo.Consignee == '') { // if (that.adressInfo.Consignee == '') {
this.$refs.uToast.show({ // this.$refs.uToast.show({
title: '请选择收货信息!', // title: '请选择收货信息!',
type: 'warning' // type: 'warning'
}); // });
return; // return;
} // }
if (that.JJSWStuId == '' || that.Thename == '') { if (that.JJSWStuId == '' || that.Thename == '') {
this.$refs.uToast.show({ this.$refs.uToast.show({
title: '请添加学员!', title: '请添加学员!',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment