This commit is contained in:
闫晓茹 2023-09-01 09:50:57 +08:00
parent ef1a85e88e
commit 611dc20625

View File

@ -26,9 +26,9 @@
<view class="studentitem"> <view class="studentitem">
<image src="../../static/renshi.png" mode=""></image> <image src="../../static/renshi.png" mode=""></image>
<span>学生信息</span> <span>学生信息</span>
<view class="added" v-if="parentList" @tap="additem"> <!-- <view class="added" v-if="parentList" @tap="additem">
新增 新增
</view> </view> -->
</view> </view>
<view class="backgrounditem" v-if="!parentList"> <view class="backgrounditem" v-if="!parentList">
<view class="picitem"> <view class="picitem">
@ -52,9 +52,9 @@
<view class="sex">所属幼儿园: <view class="sex">所属幼儿园:
<span>{{item.kindergartenName}}</span> <span>{{item.kindergartenName}}</span>
</view> </view>
<span class="update" @tap="getStudent(item)"> <!-- <span class="update" @tap="getStudent(item)">
修改 修改
</span> </span> -->
</view> </view>
</view> </view>
<view class="school" v-if="!parentList"> <view class="school" v-if="!parentList">
@ -136,24 +136,24 @@
} else {} } else {}
}, },
methods: { methods: {
getStudent(item){ // getStudent(item){
console.log(item,'99') // console.log(item,'99')
uni.navigateTo({ // uni.navigateTo({
url: `/pages/add/add?studentId=${item.studentId}` // url: `/pages/add/add?studentId=${item.studentId}`
}) // })
}, // },
goindex(){ goindex(){
uni.navigateTo({ uni.navigateTo({
url: "/pages/index/index" url: "/pages/index/index"
}) })
}, },
additem(){ // additem(){
uni.navigateTo({ // uni.navigateTo({
url: "/pages/add/add" // url: "/pages/add/add"
}) // })
}, // },
getInfoByPhoneinfo() { getInfoByPhoneinfo() {
var that = this var that = this
getInfoByPhone(this.phone).then(res => { getInfoByPhone(this.phone).then(res => {