mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-11 03:46:44 +08:00
教师转审
This commit is contained in:
@@ -73,6 +73,7 @@
|
|||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="创建人" prop="sysCreateBy"></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="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">
|
<el-table-column label="操作" width="100px" fixed="right">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-button @click="toExamine(scope.row)" type="text" >审核</el-button>
|
<el-button @click="toExamine(scope.row)" type="text" >审核</el-button>
|
||||||
@@ -168,6 +169,15 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</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">
|
<span slot="footer" class="dialog-footer">
|
||||||
<el-button @click="dialogVisible = false;examin={}">取 消</el-button>
|
<el-button @click="dialogVisible = false;examin={}">取 消</el-button>
|
||||||
<el-button type="primary" @click="examineData(true)">提交</el-button>
|
<el-button type="primary" @click="examineData(true)">提交</el-button>
|
||||||
@@ -215,6 +225,7 @@ export default {
|
|||||||
detailType: '',
|
detailType: '',
|
||||||
examineId: '',
|
examineId: '',
|
||||||
examineName: '',
|
examineName: '',
|
||||||
|
audit:[],
|
||||||
},
|
},
|
||||||
paperJson:{items:[]},
|
paperJson:{items:[]},
|
||||||
courseType: courseType,
|
courseType: courseType,
|
||||||
@@ -412,11 +423,19 @@ export default {
|
|||||||
window.open(this.webBaseUrl+routeData.href, '_blank');
|
window.open(this.webBaseUrl+routeData.href, '_blank');
|
||||||
},
|
},
|
||||||
toExamine(row) {
|
toExamine(row) {
|
||||||
|
console.log(row,'row');
|
||||||
this.examin.detailType = row.type;
|
this.examin.detailType = row.type;
|
||||||
this.examin.examineId = row.id;
|
this.examin.examineId = row.id;
|
||||||
this.examin.examineName = row.name;
|
this.examin.examineName = row.name;
|
||||||
this.auditInfo.remark = '';
|
this.auditInfo.remark = '';
|
||||||
this.dialogVisible = true;
|
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() {
|
enSure() {
|
||||||
// 确认事件
|
// 确认事件
|
||||||
@@ -561,6 +580,11 @@ export default {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
|
.audit-text{
|
||||||
|
font-size: 14px;
|
||||||
|
color: #606266;
|
||||||
|
font-weight: 700;
|
||||||
|
}
|
||||||
.course-types {
|
.course-types {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
|
|||||||
Reference in New Issue
Block a user