成绩管理

master V1.0.1
yujialong 4 years ago
parent aef8136ce9
commit 16689555c5
  1. 7
      src/components/page/Achievement.vue
  2. 2
      src/components/page/PersonalCenter.vue

@ -55,7 +55,7 @@
>批量删除</el-button> >批量删除</el-button>
</div> </div>
</div> </div>
<el-table :data="listData" class="table" stripe header-align="center" @selection-change="handleSelectionChange" row-key="id"> <el-table :data="listData" class="table" ref="table" stripe header-align="center" @selection-change="handleSelectionChange" key="1" row-key="id">
<el-table-column type="selection" width="55" align="center" :reserve-selection="true" :selectable="disabledSelection"></el-table-column> <el-table-column type="selection" width="55" align="center" :reserve-selection="true" :selectable="disabledSelection"></el-table-column>
<el-table-column type="index" width="100" label="序号" align="center"> <el-table-column type="index" width="100" label="序号" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
@ -98,9 +98,8 @@
<el-table-column prop="experimentalClassName" label="班级" align="center"></el-table-column> <el-table-column prop="experimentalClassName" label="班级" align="center"></el-table-column>
</template> </template>
<el-table-column prop="number" label="成绩报告数量" align="center"> <el-table-column prop="number" label="成绩报告数量" align="center" :key="Math.random()"></el-table-column>
</el-table-column> <el-table-column prop="creationTime" label="创建时间" align="center" :key="Math.random()">
<el-table-column prop="creationTime" label="创建时间" align="center">
</el-table-column> </el-table-column>
<el-table-column label="操作" align="center"> <el-table-column label="操作" align="center">
<template slot-scope="scope"> <template slot-scope="scope">

@ -881,7 +881,7 @@ export default {
} }
// return console.log(11,data) // return console.log(11,data)
this.$put(this.api.userinfoUpdate,data).then(res => { this.$put(this.api.userinfoUpdate,data).then(res => {
bus.$emit('updateAccount',personalInformation.account) bus.$emit('updateAccount',personalInformation.userName)
this.$message.success('提交成功!') this.$message.success('提交成功!')
}).catch(res => {}); }).catch(res => {});
}, },

Loading…
Cancel
Save