|
@@ -158,11 +158,17 @@
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column
|
|
|
|
- align="center"
|
|
|
|
- prop="courseScheduleId"
|
|
|
|
- label="课程编号"
|
|
|
|
- ></el-table-column>
|
|
|
|
|
|
+ <el-table-column align="center" prop="courseScheduleId" label="课程编号">
|
|
|
|
+ <template slot-scope="scope">
|
|
|
|
+ <div>
|
|
|
|
+ <el-button
|
|
|
|
+ type="text"
|
|
|
|
+ @click="gotoCourseList(scope.row.courseScheduleId)"
|
|
|
|
+ >{{ scope.row.courseScheduleId }}</el-button
|
|
|
|
+ >
|
|
|
|
+ </div>
|
|
|
|
+ </template>
|
|
|
|
+ </el-table-column>
|
|
<el-table-column align="center" prop="evaluateStatus" label="综合评价">
|
|
<el-table-column align="center" prop="evaluateStatus" label="综合评价">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<div>{{ scope.row.evaluateStatus | evaluateStatus }}</div>
|
|
<div>{{ scope.row.evaluateStatus | evaluateStatus }}</div>
|
|
@@ -197,8 +203,19 @@
|
|
<el-table-column align="center" prop="studentId" label="操作">
|
|
<el-table-column align="center" prop="studentId" label="操作">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<div>
|
|
<div>
|
|
- <!-- <el-button type="text">详情</el-button> -->
|
|
|
|
- <el-button type="text" @click="lookDetail(scope.row)">处理意见</el-button>
|
|
|
|
|
|
+ <auth auths="coursePatrolEvaluation/detail">
|
|
|
|
+ <el-button type="text" @click="lookDetail(scope.row)"
|
|
|
|
+ >详情</el-button
|
|
|
|
+ ></auth
|
|
|
|
+ >
|
|
|
|
+ <auth
|
|
|
|
+ auths='["coursePatrolEvaluation/update","coursePatrolEvaluation/detail"]'
|
|
|
|
+ mulit
|
|
|
|
+ >
|
|
|
|
+ <el-button type="text" @click="handleOpinion(scope.row)"
|
|
|
|
+ >处理意见</el-button
|
|
|
|
+ ></auth
|
|
|
|
+ >
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
@@ -214,13 +231,14 @@
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<el-dialog
|
|
<el-dialog
|
|
- :title="activeRow.handleStatus ? '详情' : '处理意见'"
|
|
|
|
|
|
+ :title="activeRow.islook ? '详情' : '处理意见'"
|
|
width="450px"
|
|
width="450px"
|
|
:visible.sync="dialogFormVisible"
|
|
:visible.sync="dialogFormVisible"
|
|
|
|
+ v-if="dialogFormVisible"
|
|
>
|
|
>
|
|
<patrolModels
|
|
<patrolModels
|
|
:id="activeRow.id"
|
|
:id="activeRow.id"
|
|
- v-if="dialogFormVisible"
|
|
|
|
|
|
+ :isLook="activeRow.islook"
|
|
ref="patrolModelsRef"
|
|
ref="patrolModelsRef"
|
|
@close="
|
|
@close="
|
|
() => {
|
|
() => {
|
|
@@ -340,7 +358,11 @@ export default {
|
|
this.getList();
|
|
this.getList();
|
|
},
|
|
},
|
|
submitMessage() {
|
|
submitMessage() {
|
|
- this.$refs.patrolModelsRef.submit();
|
|
|
|
|
|
+ if (this.activeRow.islook) {
|
|
|
|
+ this.dialogFormVisible = false;
|
|
|
|
+ } else {
|
|
|
|
+ this.$refs.patrolModelsRef.submit();
|
|
|
|
+ }
|
|
},
|
|
},
|
|
onReSet() {
|
|
onReSet() {
|
|
this.$nextTick(() => {
|
|
this.$nextTick(() => {
|
|
@@ -349,11 +371,15 @@ export default {
|
|
},
|
|
},
|
|
lookDetail(row) {
|
|
lookDetail(row) {
|
|
this.activeRow = row;
|
|
this.activeRow = row;
|
|
|
|
+ this.activeRow.islook = true;
|
|
this.dialogFormVisible = true;
|
|
this.dialogFormVisible = true;
|
|
|
|
+
|
|
console.log("查看详情");
|
|
console.log("查看详情");
|
|
},
|
|
},
|
|
handleOpinion(row) {
|
|
handleOpinion(row) {
|
|
- console.log("处理意见");
|
|
|
|
|
|
+ this.activeRow = row;
|
|
|
|
+ this.activeRow.islook = false;
|
|
|
|
+ this.dialogFormVisible = true;
|
|
},
|
|
},
|
|
getProblemType(type) {
|
|
getProblemType(type) {
|
|
if (type) {
|
|
if (type) {
|
|
@@ -365,6 +391,12 @@ export default {
|
|
return "--";
|
|
return "--";
|
|
}
|
|
}
|
|
},
|
|
},
|
|
|
|
+ gotoCourseList(id) {
|
|
|
|
+ this.$router.push({
|
|
|
|
+ name: "teamCourseList",
|
|
|
|
+ params: { courseIdSearch: id },
|
|
|
|
+ });
|
|
|
|
+ },
|
|
},
|
|
},
|
|
watch: {
|
|
watch: {
|
|
"searchForm.organId"(val) {
|
|
"searchForm.organId"(val) {
|