|
@@ -4,17 +4,17 @@
|
|
|
<u-form-item label="学员姓名" prop="studentName">
|
|
|
<u-input v-model="form.studentName" placeholder=" " disabled />
|
|
|
</u-form-item>
|
|
|
- <u-form-item label="学生照片" prop="imageFileId" label-position="top">
|
|
|
+ <u-form-item v-if="navbarTitle == '客户信息'" label="学生照片" prop="imageFileId" label-position="top">
|
|
|
<u-upload max-count="1" :deletable="false" :file-list="form.fileList" index="1"></u-upload>
|
|
|
</u-form-item>
|
|
|
<u-form-item label="学员性别" prop="sex" placeholder=" " disabled>
|
|
|
- <!-- <text>{{form.sex}}</text> -->
|
|
|
- <u-input v-model="form.sex" placeholder=" " disabled />
|
|
|
+ <text>{{ form.sex == '0' ? '男' : '女' }}</text>
|
|
|
+ <!-- <u-input v-model="form.sex" placeholder=" " disabled /> -->
|
|
|
</u-form-item>
|
|
|
<u-form-item label="学员年龄" prop="age">
|
|
|
<u-input v-model="form.age" placeholder=" " disabled />
|
|
|
</u-form-item>
|
|
|
- <u-form-item label="学生生日" prop="birthday">
|
|
|
+ <u-form-item v-if="navbarTitle == '客户信息'" label="学生生日" prop="birthday">
|
|
|
<u-input v-model="form.birthday" placeholder=" " disabled />
|
|
|
</u-form-item>
|
|
|
<u-form-item label="家长姓名" prop="parentsName">
|
|
@@ -79,10 +79,12 @@
|
|
|
uni.setNavigationBarTitle({
|
|
|
title: options.title
|
|
|
})
|
|
|
+ this.navbarTitle = options.title
|
|
|
this.getCustomerInfo()
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
|
+ navbarTitle: '',
|
|
|
id: '',
|
|
|
form: {
|
|
|
// 学生姓名
|