教师转审

This commit is contained in:
zhaofang
2022-06-10 17:39:35 +08:00
parent 39381cc879
commit c0e88ada5c

View File

@@ -73,6 +73,7 @@
</el-table-column>
<el-table-column label="创建人" prop="sysCreateBy"></el-table-column>
<el-table-column label="创建时间" prop="sysCreateTime" width="200px" show-overflow-tooltip></el-table-column>
<el-table-column label="转审" prop="auditInfo" width="250px" show-overflow-tooltip></el-table-column>
<el-table-column label="操作" width="100px" fixed="right">
<template slot-scope="scope">
<el-button @click="toExamine(scope.row)" type="text" >审核</el-button>
@@ -168,6 +169,15 @@
</div>
</div>
</div>
<div style="border-top: 1px solid #eee; background-color: #eee; padding: 10px 20px;margin-top: 10px;">
<div v-for="item in examin.audit" :key="item.id" style="line-height: 36px;">
<div style="display:flex;">
<div style="flex:1;"><span class="audit-text">转审人</span>{{item.sysCreateBy}}</div>
<div style="flex:1;"><span class="audit-text">转审时间</span>{{item.sysCreateTime}}</div>
</div>
<p><span class="audit-text">转审说明</span>{{item.auditRemark}}</p>
</div>
</div>
<span slot="footer" class="dialog-footer">
<el-button @click="dialogVisible = false;examin={}"> </el-button>
<el-button type="primary" @click="examineData(true)">提交</el-button>
@@ -215,6 +225,7 @@ export default {
detailType: '',
examineId: '',
examineName: '',
audit:[],
},
paperJson:{items:[]},
courseType: courseType,
@@ -412,11 +423,19 @@ export default {
window.open(this.webBaseUrl+routeData.href, '_blank');
},
toExamine(row) {
console.log(row,'row');
this.examin.detailType = row.type;
this.examin.examineId = row.id;
this.examin.examineName = row.name;
this.auditInfo.remark = '';
this.dialogVisible = true;
apiCourse.getAuditInfo({courseId:row.id}).then(res=>{
if(res.status == 200) {
this.examin.audit = res.result;
} else {
this.$message.error(res.message);
}
})
},
enSure() {
// 确认事件
@@ -561,6 +580,11 @@ export default {
</script>
<style lang="scss" scoped>
.audit-text{
font-size: 14px;
color: #606266;
font-weight: 700;
}
.course-types {
display: flex;
justify-content: center;