|
|
|
|
@ -93,7 +93,7 @@
|
|
|
|
|
<el-table-column align='center' label="操作人" width="120" header-align="center">
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<div v-if="scope.row.event=='created'">
|
|
|
|
|
学员本身
|
|
|
|
|
学员
|
|
|
|
|
</div>
|
|
|
|
|
<div v-else>
|
|
|
|
|
{{scope.row.user?scope.row.user.username:''}}
|
|
|
|
|
@ -413,10 +413,10 @@
|
|
|
|
|
|
|
|
|
|
// 如果是审核通过 提交的时候看下change_data有没有值 有的话要提醒是否覆盖user
|
|
|
|
|
// 还要判断下 student_info中是否还有值与change_data中不一致的 才显示提醒,如果全部都更新过了值一样就不用了
|
|
|
|
|
// 且选择的状态为审核通过 1
|
|
|
|
|
// 且选择的状态为审核通过 1 && this.form.status === 1
|
|
|
|
|
let has_count = 0 // 是否还有字段值不一样
|
|
|
|
|
if (this.type === 'check') {
|
|
|
|
|
if (this.change_data.length > 0 && this.form.status === 1) {
|
|
|
|
|
if (this.change_data.length > 0) {
|
|
|
|
|
for (var k of this.change_data) {
|
|
|
|
|
if (k['need_update']) {
|
|
|
|
|
has_count++
|
|
|
|
|
|