|
@@ -58,12 +58,12 @@
|
|
|
</div>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="进度" width="100">
|
|
|
- <template slot-scope="scope">
|
|
|
- <div>
|
|
|
- <span>{{ Number.parseFloat(scope.row.progress) }}%</span>
|
|
|
- </div>
|
|
|
- </template>
|
|
|
+ <el-table-column
|
|
|
+ label="进度(%)"
|
|
|
+ width="100"
|
|
|
+ prop="progress"
|
|
|
+ sortable
|
|
|
+ >
|
|
|
</el-table-column>
|
|
|
<el-table-column label="备注" width="100">
|
|
|
<template slot-scope="scope">
|
|
@@ -267,6 +267,13 @@ export default {
|
|
|
},
|
|
|
methods: {
|
|
|
settingMarkWork(row) {
|
|
|
+ if (Number.parseInt(row.status) != 1) {
|
|
|
+ this.$notify({
|
|
|
+ message: "该评卷工作未完成,不能进行设置.",
|
|
|
+ type: "warning"
|
|
|
+ });
|
|
|
+ return;
|
|
|
+ }
|
|
|
var url =
|
|
|
"/marking/mark_setting_main/" +
|
|
|
row.id +
|