|
|
|
@ -2,17 +2,59 @@
|
|
|
|
|
<div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<el-table :data="tableData" :span-method="objectSpanMethod" @cell-click="test" :cell-style="cStyle">
|
|
|
|
|
<el-table-column :label="tableLabel"align="center " >
|
|
|
|
|
<el-table-column prop="daytime" label="" fixed align="center" width="60"></el-table-column>
|
|
|
|
|
<el-table-column prop="time" label="" fixed align="center" width="100"></el-table-column>
|
|
|
|
|
<el-table-column :index="1" prop="Monday" label="星期一" align="center"></el-table-column>
|
|
|
|
|
<el-table-column :index="2" prop="Tuesday" label="星期二" align="center"></el-table-column>
|
|
|
|
|
<el-table-column :index="3" prop="Wednesday" label="星期三" align="center"></el-table-column>
|
|
|
|
|
<el-table-column :index="4" prop="Thursday" label="星期四" align="center"></el-table-column>
|
|
|
|
|
<el-table-column :index="5" prop="Friday" label="星期五" align="center"></el-table-column>
|
|
|
|
|
<el-table-column :index="6" prop="Saturday" label="星期六" align="center"></el-table-column>
|
|
|
|
|
<el-table-column :index="7" prop="Sunday" label="星期日" align="center"></el-table-column>
|
|
|
|
|
<el-table :data="tableData" :span-method="objectSpanMethod" @cell-click="test" :cell-style="cStyle">
|
|
|
|
|
<el-table-column :label="tableLabel" align="center ">
|
|
|
|
|
<el-table-column prop="daytime" label="" fixed align="center" width="60"></el-table-column>
|
|
|
|
|
<el-table-column prop="time" label="" fixed align="center" width="100"></el-table-column>
|
|
|
|
|
<el-table-column :index="1" prop="Monday" label="星期一" align="center">
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
{{scope.row.Monday.name}} <br>
|
|
|
|
|
{{scope.row.Monday.classes}} {{scope.row.Monday.population}}<br>
|
|
|
|
|
{{scope.row.Monday.software}}
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column :index="2" prop="Tuesday" label="星期二" align="center">
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
{{scope.row.Tuesday.name}} <br>
|
|
|
|
|
{{scope.row.Tuesday.classes}} {{scope.row.Tuesday.population}}<br>
|
|
|
|
|
{{scope.row.Tuesday.software}}
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column :index="3" prop="Wednesday" label="星期三" align="center">
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
{{scope.row.Wednesday.name}} <br>
|
|
|
|
|
{{scope.row.Wednesday.classes}} {{scope.row.Wednesday.population}}<br>
|
|
|
|
|
{{scope.row.Wednesday.software}}
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column :index="4" prop="Thursday" label="星期四" align="center">
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
{{scope.row.Thursday.name}} <br>
|
|
|
|
|
{{scope.row.Thursday.classes}} {{scope.row.Thursday.population}}<br>
|
|
|
|
|
{{scope.row.Thursday.software}}
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column :index="5" prop="Friday" label="星期五" align="center">
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
{{scope.row.Friday.name}} <br>
|
|
|
|
|
{{scope.row.Friday.classes}} {{scope.row.Friday.population}}<br>
|
|
|
|
|
{{scope.row.Friday.software}}
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column :index="6" prop="Saturday" label="星期六" align="center">
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
{{scope.row.Saturday.name}} <br>
|
|
|
|
|
{{scope.row.Saturday.classes}} {{scope.row.Saturday.population}}<br>
|
|
|
|
|
{{scope.row.Saturday.software}}
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column :index="7" prop="Sunday" label="星期日" align="center">
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
{{scope.row.Sunday.name}} <br>
|
|
|
|
|
{{scope.row.Sunday.classes}} {{scope.row.Sunday.population}}<br>
|
|
|
|
|
{{scope.row.Sunday.software}}
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
</el-table>
|
|
|
|
|
</div>
|
|
|
|
@ -21,29 +63,41 @@
|
|
|
|
|
<script>
|
|
|
|
|
import navBar from "~/components/teacher/navBar";
|
|
|
|
|
import {get, post} from "~/utils";
|
|
|
|
|
|
|
|
|
|
export default {
|
|
|
|
|
name: "tb_course",
|
|
|
|
|
components:{navBar},
|
|
|
|
|
props:['tableLabel','courseMessage','cClick','cStyle',],
|
|
|
|
|
data(){
|
|
|
|
|
return{
|
|
|
|
|
item:'',
|
|
|
|
|
tableData:[
|
|
|
|
|
{index:1,daytime:'上午',time:'第一节',Monday:'',Tuesday:'',Wednesday:'',Thursday:'',
|
|
|
|
|
Friday:'',Saturday:'',Sunday:''},
|
|
|
|
|
{index:2,daytime:'上午',time:'第二节',Monday:'',Tuesday:'',Wednesday:'',Thursday:'',
|
|
|
|
|
Friday:'',Saturday:'',Sunday:''},
|
|
|
|
|
{index:3,daytime:'下午',time:'第三节',Monday:'',Tuesday:'',Wednesday:'',Thursday:'',
|
|
|
|
|
Friday:'',Saturday:'',Sunday:''},
|
|
|
|
|
{index:4,daytime:'下午',time:'第四节',Monday:'',Tuesday:'',Wednesday:'',Thursday:'',
|
|
|
|
|
Friday:'',Saturday:'',Sunday:''},
|
|
|
|
|
{index:5,daytime:'晚上',time:'第五节',Monday:'',Tuesday:'',Wednesday:'',Thursday:'',
|
|
|
|
|
Friday:'',Saturday:'',Sunday:''}
|
|
|
|
|
components: {navBar},
|
|
|
|
|
props: ['tableLabel', 'courseMessage', 'cClick', 'cStyle',],
|
|
|
|
|
data() {
|
|
|
|
|
return {
|
|
|
|
|
item: '',
|
|
|
|
|
data: [],
|
|
|
|
|
tableData: [
|
|
|
|
|
{
|
|
|
|
|
index: 1, daytime: '上午', time: '第一节', Monday: '', Tuesday: '', Wednesday: '', Thursday: '',
|
|
|
|
|
Friday: '', Saturday: '', Sunday: ''
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
index: 2, daytime: '上午', time: '第二节', Monday: '', Tuesday: '', Wednesday: '', Thursday: '',
|
|
|
|
|
Friday: '', Saturday: '', Sunday: ''
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
index: 3, daytime: '下午', time: '第三节', Monday: '', Tuesday: '', Wednesday: '', Thursday: '',
|
|
|
|
|
Friday: '', Saturday: '', Sunday: ''
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
index: 4, daytime: '下午', time: '第四节', Monday: '', Tuesday: '', Wednesday: '', Thursday: '',
|
|
|
|
|
Friday: '', Saturday: '', Sunday: ''
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
index: 5, daytime: '晚上', time: '第五节', Monday: '', Tuesday: '', Wednesday: '', Thursday: '',
|
|
|
|
|
Friday: '', Saturday: '', Sunday: ''
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
methods:{
|
|
|
|
|
objectSpanMethod({ row, column, rowIndex, columnIndex }) {
|
|
|
|
|
methods: {
|
|
|
|
|
objectSpanMethod({row, column, rowIndex, columnIndex}) {
|
|
|
|
|
if (columnIndex === 0) {
|
|
|
|
|
if (rowIndex % 2 === 0) {
|
|
|
|
|
return {
|
|
|
|
@ -58,9 +112,9 @@
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
test(col,row,cell,event){
|
|
|
|
|
console.log('第'+row.index+'行')
|
|
|
|
|
console.log('第'+col.index+'列')
|
|
|
|
|
test(col, row, cell, event) {
|
|
|
|
|
console.log('第' + row.index + '行')
|
|
|
|
|
console.log('第' + col.index + '列')
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
mounted() {
|
|
|
|
@ -80,7 +134,437 @@
|
|
|
|
|
// }
|
|
|
|
|
//
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
this.data = [
|
|
|
|
|
[
|
|
|
|
|
{
|
|
|
|
|
"ucId": 1,
|
|
|
|
|
"name": "课程设计",
|
|
|
|
|
"software": "IDEA",
|
|
|
|
|
"year": "2019",
|
|
|
|
|
"semester": 2,
|
|
|
|
|
"population": 50,
|
|
|
|
|
"classes": "17软件工程6班",
|
|
|
|
|
"remind": "",
|
|
|
|
|
"ishavedocuments": 1,
|
|
|
|
|
"uid": 1
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"ucId": 1,
|
|
|
|
|
"name": "课程设计",
|
|
|
|
|
"software": "IDEA",
|
|
|
|
|
"year": "2019",
|
|
|
|
|
"semester": 2,
|
|
|
|
|
"population": 50,
|
|
|
|
|
"classes": "17软件工程6班",
|
|
|
|
|
"remind": "",
|
|
|
|
|
"ishavedocuments": 1,
|
|
|
|
|
"uid": 1
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"ucId": 1,
|
|
|
|
|
"name": "课程设计",
|
|
|
|
|
"software": "IDEA",
|
|
|
|
|
"year": "2019",
|
|
|
|
|
"semester": 2,
|
|
|
|
|
"population": 50,
|
|
|
|
|
"classes": "17软件工程6班",
|
|
|
|
|
"remind": "",
|
|
|
|
|
"ishavedocuments": 1,
|
|
|
|
|
"uid": 1
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"ucId": 1,
|
|
|
|
|
"name": "课程设计",
|
|
|
|
|
"software": "IDEA",
|
|
|
|
|
"year": "2019",
|
|
|
|
|
"semester": 2,
|
|
|
|
|
"population": 50,
|
|
|
|
|
"classes": "17软件工程6班",
|
|
|
|
|
"remind": "",
|
|
|
|
|
"ishavedocuments": 1,
|
|
|
|
|
"uid": 1
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"ucId": 1,
|
|
|
|
|
"name": "Web开发",
|
|
|
|
|
"software": "IDEA",
|
|
|
|
|
"year": "2019",
|
|
|
|
|
"semester": 2,
|
|
|
|
|
"population": 50,
|
|
|
|
|
"classes": "17软件工程6班",
|
|
|
|
|
"remind": "",
|
|
|
|
|
"ishavedocuments": 1,
|
|
|
|
|
"uid": 1
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"ucId": 1,
|
|
|
|
|
"name": "课程设计",
|
|
|
|
|
"software": "IDEA",
|
|
|
|
|
"year": "2019",
|
|
|
|
|
"semester": 2,
|
|
|
|
|
"population": 50,
|
|
|
|
|
"classes": "17软件工程6班",
|
|
|
|
|
"remind": "",
|
|
|
|
|
"ishavedocuments": 1,
|
|
|
|
|
"uid": 1
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"ucId": 1,
|
|
|
|
|
"name": "课程设计",
|
|
|
|
|
"software": "IDEA",
|
|
|
|
|
"year": "2019",
|
|
|
|
|
"semester": 2,
|
|
|
|
|
"population": 50,
|
|
|
|
|
"classes": "17软件工程6班",
|
|
|
|
|
"remind": "",
|
|
|
|
|
"ishavedocuments": 1,
|
|
|
|
|
"uid": 1
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
{
|
|
|
|
|
"ucId": 1,
|
|
|
|
|
"name": "课程设计",
|
|
|
|
|
"software": "IDEA",
|
|
|
|
|
"year": "2019",
|
|
|
|
|
"semester": 2,
|
|
|
|
|
"population": 50,
|
|
|
|
|
"classes": "17软件工程6班",
|
|
|
|
|
"remind": "",
|
|
|
|
|
"ishavedocuments": 1,
|
|
|
|
|
"uid": 1
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"ucId": 1,
|
|
|
|
|
"name": "课程设计",
|
|
|
|
|
"software": "IDEA",
|
|
|
|
|
"year": "2019",
|
|
|
|
|
"semester": 2,
|
|
|
|
|
"population": 50,
|
|
|
|
|
"classes": "17软件工程6班",
|
|
|
|
|
"remind": "",
|
|
|
|
|
"ishavedocuments": 1,
|
|
|
|
|
"uid": 1
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"ucId": 1,
|
|
|
|
|
"name": "课程设计",
|
|
|
|
|
"software": "IDEA",
|
|
|
|
|
"year": "2019",
|
|
|
|
|
"semester": 2,
|
|
|
|
|
"population": 50,
|
|
|
|
|
"classes": "17软件工程6班",
|
|
|
|
|
"remind": "",
|
|
|
|
|
"ishavedocuments": 1,
|
|
|
|
|
"uid": 1
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"ucId": 1,
|
|
|
|
|
"name": "课程设计",
|
|
|
|
|
"software": "IDEA",
|
|
|
|
|
"year": "2019",
|
|
|
|
|
"semester": 2,
|
|
|
|
|
"population": 50,
|
|
|
|
|
"classes": "17软件工程6班",
|
|
|
|
|
"remind": "",
|
|
|
|
|
"ishavedocuments": 1,
|
|
|
|
|
"uid": 1
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"ucId": 1,
|
|
|
|
|
"name": "课程设计",
|
|
|
|
|
"software": "IDEA",
|
|
|
|
|
"year": "2019",
|
|
|
|
|
"semester": 2,
|
|
|
|
|
"population": 50,
|
|
|
|
|
"classes": "17软件工程6班",
|
|
|
|
|
"remind": "",
|
|
|
|
|
"ishavedocuments": 1,
|
|
|
|
|
"uid": 1
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"ucId": 1,
|
|
|
|
|
"name": "课程设计",
|
|
|
|
|
"software": "IDEA",
|
|
|
|
|
"year": "2019",
|
|
|
|
|
"semester": 2,
|
|
|
|
|
"population": 50,
|
|
|
|
|
"classes": "17软件工程6班",
|
|
|
|
|
"remind": "",
|
|
|
|
|
"ishavedocuments": 1,
|
|
|
|
|
"uid": 1
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"ucId": 1,
|
|
|
|
|
"name": "微机",
|
|
|
|
|
"software": "IDEA",
|
|
|
|
|
"year": "2019",
|
|
|
|
|
"semester": 2,
|
|
|
|
|
"population": 50,
|
|
|
|
|
"classes": "17软件工程6班",
|
|
|
|
|
"remind": "",
|
|
|
|
|
"ishavedocuments": 1,
|
|
|
|
|
"uid": 1
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
{
|
|
|
|
|
"ucId": 1,
|
|
|
|
|
"name": "课程设计",
|
|
|
|
|
"software": "IDEA",
|
|
|
|
|
"year": "2019",
|
|
|
|
|
"semester": 2,
|
|
|
|
|
"population": 50,
|
|
|
|
|
"classes": "17软件工程6班",
|
|
|
|
|
"remind": "",
|
|
|
|
|
"ishavedocuments": 1,
|
|
|
|
|
"uid": 1
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"ucId": 1,
|
|
|
|
|
"name": "课程设计",
|
|
|
|
|
"software": "IDEA",
|
|
|
|
|
"year": "2019",
|
|
|
|
|
"semester": 2,
|
|
|
|
|
"population": 50,
|
|
|
|
|
"classes": "17软件工程6班",
|
|
|
|
|
"remind": "",
|
|
|
|
|
"ishavedocuments": 1,
|
|
|
|
|
"uid": 1
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"ucId": 1,
|
|
|
|
|
"name": "课程设计",
|
|
|
|
|
"software": "IDEA",
|
|
|
|
|
"year": "2019",
|
|
|
|
|
"semester": 2,
|
|
|
|
|
"population": 50,
|
|
|
|
|
"classes": "17软件工程6班",
|
|
|
|
|
"remind": "",
|
|
|
|
|
"ishavedocuments": 1,
|
|
|
|
|
"uid": 1
|
|
|
|
|
},
|
|
|
|
|
{},
|
|
|
|
|
{
|
|
|
|
|
"ucId": 1,
|
|
|
|
|
"name": "就业指导",
|
|
|
|
|
"software": "IDEA",
|
|
|
|
|
"year": "2019",
|
|
|
|
|
"semester": 2,
|
|
|
|
|
"population": 50,
|
|
|
|
|
"classes": "17软件工程6班",
|
|
|
|
|
"remind": "",
|
|
|
|
|
"ishavedocuments": 1,
|
|
|
|
|
"uid": 1
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"ucId": 1,
|
|
|
|
|
"name": "课程设计",
|
|
|
|
|
"software": "IDEA",
|
|
|
|
|
"year": "2019",
|
|
|
|
|
"semester": 2,
|
|
|
|
|
"population": 50,
|
|
|
|
|
"classes": "17软件工程6班",
|
|
|
|
|
"remind": "",
|
|
|
|
|
"ishavedocuments": 1,
|
|
|
|
|
"uid": 1
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"ucId": 1,
|
|
|
|
|
"name": "课程设计",
|
|
|
|
|
"software": "IDEA",
|
|
|
|
|
"year": "2019",
|
|
|
|
|
"semester": 2,
|
|
|
|
|
"population": 50,
|
|
|
|
|
"classes": "17软件工程6班",
|
|
|
|
|
"remind": "",
|
|
|
|
|
"ishavedocuments": 1,
|
|
|
|
|
"uid": 1
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
{
|
|
|
|
|
"ucId": 1,
|
|
|
|
|
"name": "课程设计",
|
|
|
|
|
"software": "IDEA",
|
|
|
|
|
"year": "2019",
|
|
|
|
|
"semester": 2,
|
|
|
|
|
"population": 50,
|
|
|
|
|
"classes": "17软件工程6班",
|
|
|
|
|
"remind": "",
|
|
|
|
|
"ishavedocuments": 1,
|
|
|
|
|
"uid": 1
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"ucId": 1,
|
|
|
|
|
"name": "课程设计",
|
|
|
|
|
"software": "IDEA",
|
|
|
|
|
"year": "2019",
|
|
|
|
|
"semester": 2,
|
|
|
|
|
"population": 50,
|
|
|
|
|
"classes": "17软件工程6班",
|
|
|
|
|
"remind": "",
|
|
|
|
|
"ishavedocuments": 1,
|
|
|
|
|
"uid": 1
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"ucId": 1,
|
|
|
|
|
"name": "课程设计",
|
|
|
|
|
"software": "IDEA",
|
|
|
|
|
"year": "2019",
|
|
|
|
|
"semester": 2,
|
|
|
|
|
"population": 50,
|
|
|
|
|
"classes": "17软件工程6班",
|
|
|
|
|
"remind": "",
|
|
|
|
|
"ishavedocuments": 1,
|
|
|
|
|
"uid": 1
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"ucId": 1,
|
|
|
|
|
"name": "课程设计",
|
|
|
|
|
"software": "IDEA",
|
|
|
|
|
"year": "2019",
|
|
|
|
|
"semester": 2,
|
|
|
|
|
"population": 50,
|
|
|
|
|
"classes": "17软件工程6班",
|
|
|
|
|
"remind": "",
|
|
|
|
|
"ishavedocuments": 1,
|
|
|
|
|
"uid": 1
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"ucId": 1,
|
|
|
|
|
"name": "课程设计",
|
|
|
|
|
"software": "IDEA",
|
|
|
|
|
"year": "2019",
|
|
|
|
|
"semester": 2,
|
|
|
|
|
"population": 50,
|
|
|
|
|
"classes": "17软件工程6班",
|
|
|
|
|
"remind": "",
|
|
|
|
|
"ishavedocuments": 1,
|
|
|
|
|
"uid": 1
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"ucId": 1,
|
|
|
|
|
"name": "课程设计",
|
|
|
|
|
"software": "IDEA",
|
|
|
|
|
"year": "2019",
|
|
|
|
|
"semester": 2,
|
|
|
|
|
"population": 50,
|
|
|
|
|
"classes": "17软件工程6班",
|
|
|
|
|
"remind": "",
|
|
|
|
|
"ishavedocuments": 1,
|
|
|
|
|
"uid": 1
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"ucId": 1,
|
|
|
|
|
"name": "课程设计",
|
|
|
|
|
"software": "IDEA",
|
|
|
|
|
"year": "2019",
|
|
|
|
|
"semester": 2,
|
|
|
|
|
"population": 50,
|
|
|
|
|
"classes": "17软件工程6班",
|
|
|
|
|
"remind": "",
|
|
|
|
|
"ishavedocuments": 1,
|
|
|
|
|
"uid": 1
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
{
|
|
|
|
|
"ucId": 1,
|
|
|
|
|
"name": "课程设计",
|
|
|
|
|
"software": "IDEA",
|
|
|
|
|
"year": "2019",
|
|
|
|
|
"semester": 2,
|
|
|
|
|
"population": 50,
|
|
|
|
|
"classes": "17软件工程6班",
|
|
|
|
|
"remind": "",
|
|
|
|
|
"ishavedocuments": 1,
|
|
|
|
|
"uid": 1
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"ucId": 1,
|
|
|
|
|
"name": "课程设计",
|
|
|
|
|
"software": "IDEA",
|
|
|
|
|
"year": "2019",
|
|
|
|
|
"semester": 2,
|
|
|
|
|
"population": 50,
|
|
|
|
|
"classes": "17软件工程6班",
|
|
|
|
|
"remind": "",
|
|
|
|
|
"ishavedocuments": 1,
|
|
|
|
|
"uid": 1
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"ucId": 1,
|
|
|
|
|
"name": "课程设计",
|
|
|
|
|
"software": "IDEA",
|
|
|
|
|
"year": "2019",
|
|
|
|
|
"semester": 2,
|
|
|
|
|
"population": 50,
|
|
|
|
|
"classes": "17软件工程6班",
|
|
|
|
|
"remind": "",
|
|
|
|
|
"ishavedocuments": 1,
|
|
|
|
|
"uid": 1
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"ucId": 1,
|
|
|
|
|
"name": "课程设计",
|
|
|
|
|
"software": "IDEA",
|
|
|
|
|
"year": "2019",
|
|
|
|
|
"semester": 2,
|
|
|
|
|
"population": 50,
|
|
|
|
|
"classes": "17软件工程6班",
|
|
|
|
|
"remind": "",
|
|
|
|
|
"ishavedocuments": 1,
|
|
|
|
|
"uid": 1
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"ucId": 1,
|
|
|
|
|
"name": "课程设计",
|
|
|
|
|
"software": "IDEA",
|
|
|
|
|
"year": "2019",
|
|
|
|
|
"semester": 2,
|
|
|
|
|
"population": 50,
|
|
|
|
|
"classes": "17软件工程6班",
|
|
|
|
|
"remind": "",
|
|
|
|
|
"ishavedocuments": 1,
|
|
|
|
|
"uid": 1
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"ucId": 1,
|
|
|
|
|
"name": "课程设计",
|
|
|
|
|
"software": "IDEA",
|
|
|
|
|
"year": "2019",
|
|
|
|
|
"semester": 2,
|
|
|
|
|
"population": 50,
|
|
|
|
|
"classes": "17软件工程6班",
|
|
|
|
|
"remind": "",
|
|
|
|
|
"ishavedocuments": 1,
|
|
|
|
|
"uid": 1
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"ucId": 1,
|
|
|
|
|
"name": "课程设计",
|
|
|
|
|
"software": "IDEA",
|
|
|
|
|
"year": "2019",
|
|
|
|
|
"semester": 2,
|
|
|
|
|
"population": 50,
|
|
|
|
|
"classes": "17软件工程6班",
|
|
|
|
|
"remind": "",
|
|
|
|
|
"ishavedocuments": 1,
|
|
|
|
|
"uid": 1
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
]
|
|
|
|
|
for (let i = 0; i < 5; i++) {
|
|
|
|
|
this.tableData[i].Monday = this.data[i][0]
|
|
|
|
|
this.tableData[i].Tuesday = this.data[i][1]
|
|
|
|
|
this.tableData[i].Wednesday = this.data[i][2]
|
|
|
|
|
this.tableData[i].Thursday = this.data[i][3]
|
|
|
|
|
this.tableData[i].Friday = this.data[i][4]
|
|
|
|
|
this.tableData[i].Saturday = this.data[i][5]
|
|
|
|
|
this.tableData[i].Sunday = this.data[i][6]
|
|
|
|
|
}
|
|
|
|
|
console.log(this.tableData)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
</script>
|
|
|
|
|