Commit dde6c8fb by zhaopanyu

zpy 8.9

parent 3792bd92
...@@ -130,7 +130,7 @@ export default { ...@@ -130,7 +130,7 @@ export default {
// console.log('this.grades', this.grades); // console.log('this.grades', this.grades);
if (res.code == 200) { if (res.code == 200) {
this.courseSelectionData = res.rows; this.courseSelectionData = res.rows;
this.calculateStats();
console.log('res.rows', res.rows); console.log('res.rows', res.rows);
this.total = res.total this.total = res.total
this.loading = false this.loading = false
...@@ -171,7 +171,7 @@ export default { ...@@ -171,7 +171,7 @@ export default {
const selectedTask = this.taskNameList.find(item => item.curriculaId === selectedCurriculaId); const selectedTask = this.taskNameList.find(item => item.curriculaId === selectedCurriculaId);
const selectedGrade = selectedTask.grade; const selectedGrade = selectedTask.grade;
this.getClassList(selectedGrade); this.getClassList(selectedGrade);
this.calculateStats();
}, },
//任务名称和人数数据联动 //任务名称和人数数据联动
calculateStats() { calculateStats() {
......
...@@ -50,9 +50,9 @@ ...@@ -50,9 +50,9 @@
</el-table-column> </el-table-column>
<el-table-column header-align="center" align="center" prop="productionDate" label="投产日期"> <el-table-column header-align="center" align="center" prop="productionDate" label="投产日期">
</el-table-column> </el-table-column>
<el-table-column header-align="center" align="center" prop="equipmentPrice" label="价格(元)"> <el-table-column header-align="center" align="center" prop="equipmentPrice" label="价格(元)" width="120">
</el-table-column> </el-table-column>
<el-table-column header-align="center" align="center" prop="usefulLife" label="效用年限(年)"> <el-table-column header-align="center" align="center" prop="usefulLife" label="效用年限(年)" width="150">
</el-table-column> </el-table-column>
<el-table-column header-align="center" align="center" prop="equipmentPlace" label="地点"> <el-table-column header-align="center" align="center" prop="equipmentPlace" label="地点">
</el-table-column> </el-table-column>
...@@ -60,7 +60,7 @@ ...@@ -60,7 +60,7 @@
</el-table-column> </el-table-column>
<el-table-column header-align="center" align="center" prop="remark" label="备注"> <el-table-column header-align="center" align="center" prop="remark" label="备注">
</el-table-column> </el-table-column>
<el-table-column label="操作" align="center" min-width="250px" fixed="right"> <el-table-column label="操作" align="center" min-width="200px" fixed="right">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button size="mini" type="text" icon="el-icon-edit" @click="handleLook(scope.row)" <el-button size="mini" type="text" icon="el-icon-edit" @click="handleLook(scope.row)"
v-hasPermi="['system:grade:edit']">查看 v-hasPermi="['system:grade:edit']">查看
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment