|
@@ -10,6 +10,11 @@
|
|
|
:key="index"
|
|
|
:title="getTitle(item)"
|
|
|
:name="index">
|
|
|
+ <template slot="title">
|
|
|
+ <header class="header">
|
|
|
+ {{item.operatorName}} <span>在</span> {{item.createTime}} <span>修改了</span>
|
|
|
+ </header>
|
|
|
+ </template>
|
|
|
<infoMsgContent
|
|
|
:before="item.previousCourseSchedule"
|
|
|
:after="item.currentCourseSchedule"
|
|
@@ -43,10 +48,14 @@ export default {
|
|
|
if (res.code == 200) {
|
|
|
if (res.data) {
|
|
|
this.dataList = res.data.map(item => {
|
|
|
+ const parsecurrent = JSON.parse(item.currentCourseSchedule)
|
|
|
+ const currentCourseSchedule = this.filterKeys(parsecurrent)
|
|
|
+ const previousCourseSchedule = this.filterKeys(JSON.parse(item.previousCourseSchedule))
|
|
|
return {
|
|
|
...item,
|
|
|
- currentCourseSchedule: this.filterKeys(JSON.parse(item.currentCourseSchedule)),
|
|
|
- previousCourseSchedule: this.filterKeys(JSON.parse(item.previousCourseSchedule)),
|
|
|
+ operatorName: parsecurrent.operatorName,
|
|
|
+ currentCourseSchedule,
|
|
|
+ previousCourseSchedule,
|
|
|
}
|
|
|
})
|
|
|
}
|
|
@@ -86,4 +95,11 @@ export default {
|
|
|
margin-top: 120px;
|
|
|
}
|
|
|
}
|
|
|
+.header{
|
|
|
+ >span{
|
|
|
+ color: rgba($color: #000000, $alpha: .6);
|
|
|
+ display: inline-block;
|
|
|
+ margin: 0 6px;
|
|
|
+ }
|
|
|
+}
|
|
|
</style>
|