|
@@ -36,7 +36,7 @@
|
|
|
</div>
|
|
|
<div class="data_nav">
|
|
|
<span @click="type = 1" :class="{ active: type == 1 }">我的资料</span>
|
|
|
- <!-- <span @click="type = 2" :class="{ active: type == 2 }">修改密码</span> -->
|
|
|
+ <span @click="type = 2" v-if="ruleForm.type !== '学生'" :class="{ active: type == 2 }">修改密码</span>
|
|
|
</div>
|
|
|
<el-form
|
|
|
v-if="type == 1"
|
|
@@ -152,9 +152,9 @@
|
|
|
></el-input>
|
|
|
</el-form-item> -->
|
|
|
<el-form-item>
|
|
|
- <!-- <el-button type="primary" @click="submitForm('ruleForm')"
|
|
|
+ <el-button type="primary" v-if="ruleForm.type !== '学生'" @click="submitForm('ruleForm')"
|
|
|
>保存</el-button
|
|
|
- > -->
|
|
|
+ >
|
|
|
</el-form-item>
|
|
|
</el-form>
|
|
|
<div class="password" v-if="type == 2">
|