|
|
|
|
@ -13,8 +13,14 @@
|
|
|
|
|
<div>课程体系:{{subjectObj.leibie}}</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div>
|
|
|
|
|
<lx-header icon="" :text="type=='checkshow' || type=='check'?'报名信息':'个人信息'"
|
|
|
|
|
style="margin-bottom: 10px; border: 0px; margin-top: 15px">
|
|
|
|
|
<lx-header icon="" :text="''"
|
|
|
|
|
style="margin-bottom: 10px; border: 0px; margin-top: 15px">
|
|
|
|
|
<template v-slot:textcontent>
|
|
|
|
|
<span>{{type=='checkshow' || type=='check'?'报名信息':'个人信息'}}</span>
|
|
|
|
|
<span v-if="type=='checkshow' || type=='check'">
|
|
|
|
|
(注:<span style="color:red">红色标识</span>为学员本次报名提交的信息,<span style="color:#000">黑色标识</span>为学员过往信息)
|
|
|
|
|
</span>
|
|
|
|
|
</template>
|
|
|
|
|
</lx-header>
|
|
|
|
|
<div>
|
|
|
|
|
<el-descriptions class="margin-top" :column="2" border>
|
|
|
|
|
@ -75,6 +81,64 @@
|
|
|
|
|
</template>
|
|
|
|
|
</el-descriptions>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<!-- 操作日志 -->
|
|
|
|
|
<lx-header v-if="(type=='checkshow' || type=='check') &&(sign_result.audits && sign_result.audits.length>0)" icon="" text="操作日志"
|
|
|
|
|
style="margin-bottom: 10px; border: 0px; margin-top: 15px">
|
|
|
|
|
</lx-header>
|
|
|
|
|
<div v-if="(type=='checkshow' || type=='check') &&(sign_result.audits && sign_result.audits.length>0)">
|
|
|
|
|
<xy-table :list="sign_result.audits" :isPage="false" height="200" :table-item="audit_item">
|
|
|
|
|
<template v-slot:username>
|
|
|
|
|
<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:''}}
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
</template>
|
|
|
|
|
<template v-slot:event>
|
|
|
|
|
<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>
|
|
|
|
|
更新状态
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
</template>
|
|
|
|
|
<template v-slot:values>
|
|
|
|
|
<el-table-column align='left' label="操作详情" header-align="center">
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<div v-if="scope.row.event=='created'">
|
|
|
|
|
提交报名信息
|
|
|
|
|
</div>
|
|
|
|
|
<div v-else>
|
|
|
|
|
<template v-for="item in apply_status_list">
|
|
|
|
|
<span style="font-weight: bold;" v-if="scope.row.old_values.status===item.id">{{item.value}}</span>
|
|
|
|
|
</template>
|
|
|
|
|
变更为:
|
|
|
|
|
<template v-for="item in apply_status_list">
|
|
|
|
|
<span style="color:red" v-if="scope.row.new_values.status===item.id">{{item.value}}</span>
|
|
|
|
|
</template>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
</template>
|
|
|
|
|
<template v-slot:created_at>
|
|
|
|
|
<el-table-column align='center' label="操作时间" width="240" header-align="center">
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
{{base.formatDate(scope.row.created_at)}}
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
</template>
|
|
|
|
|
</xy-table>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -113,7 +177,7 @@
|
|
|
|
|
<span>{{sign_result.reason?sign_result.reason:''}}</span>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
@ -275,7 +339,24 @@
|
|
|
|
|
file_ids: [],
|
|
|
|
|
reason: '',
|
|
|
|
|
position: ''
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
audit_item:[{
|
|
|
|
|
prop:'username',
|
|
|
|
|
label:'操作人'
|
|
|
|
|
},{
|
|
|
|
|
prop:'ip_address',
|
|
|
|
|
label:'Ip',
|
|
|
|
|
width:120
|
|
|
|
|
},{
|
|
|
|
|
prop:'event',
|
|
|
|
|
label:'操作类型'
|
|
|
|
|
},{
|
|
|
|
|
prop:'values',
|
|
|
|
|
label:'操作详情'
|
|
|
|
|
},{
|
|
|
|
|
prop:'created_at',
|
|
|
|
|
label:'操作时间'
|
|
|
|
|
},],
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
created() {},
|
|
|
|
|
@ -305,7 +386,19 @@
|
|
|
|
|
submit() {
|
|
|
|
|
if (this.id) {
|
|
|
|
|
this.form.id = this.id
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 如果是 不通过, remark必填
|
|
|
|
|
if(this.form.status===2){
|
|
|
|
|
if(this.base.isNull(this.form.reason)){
|
|
|
|
|
this.$message({
|
|
|
|
|
type: 'warning',
|
|
|
|
|
message: '审核不通过时,请填写备注'
|
|
|
|
|
})
|
|
|
|
|
return
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
let _arr = []
|
|
|
|
|
if (this.fileList.length > 0) {
|
|
|
|
|
this.fileList.map(item => {
|
|
|
|
|
|