|
@@ -144,6 +144,7 @@
|
|
|
</el-col>
|
|
|
</el-row> -->
|
|
|
<el-form :model="quitForm"
|
|
|
+ status-icon
|
|
|
ref="quitForm"
|
|
|
:rules="quitRules">
|
|
|
<el-form-item label="退还课程费用" v-if="showMessage.status == 'PROCESSING'"
|
|
@@ -325,7 +326,9 @@ export default {
|
|
|
this.showMessage = res.data
|
|
|
this.showMessage.type = memo.type
|
|
|
this.remark = res.data.reason
|
|
|
- this.$refs.quitForm.resetFields()
|
|
|
+ if(this.$refs.quitForm){
|
|
|
+ this.$refs.quitForm.resetFields()
|
|
|
+ }
|
|
|
this.quitForm.reason = res.data.reason
|
|
|
} else {
|
|
|
this.$message.error(res.msg)
|
|
@@ -337,7 +340,6 @@ export default {
|
|
|
if(status == 'DENIED') {
|
|
|
this.$refs['quitForm'].resetFields()
|
|
|
this.$refs['quitForm'].validateField('reason', res => {
|
|
|
- console.log(res)
|
|
|
if(!res) {
|
|
|
this.onSubmitGroups(params, status)
|
|
|
}
|