File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed
Expand file tree Collapse file tree 3 files changed +5
-3
lines changed File renamed without changes.
Original file line number Diff line number Diff line change @@ -83,7 +83,9 @@ transition-group.widget.dashboard(name="fade")
8383 //- item(name='洗衣房' route='/laundry' value='›')
8484 //- item(name='App' route='/download' value='›')
8585
86- .row
86+ .row (
87+ v-if ="!tidyMode && user.admin && user.admin.indexOf('lecturerecord') !== -1"
88+ )
8789 item( name ="讲座管理" , route ="/admin/lecture" , value ="›" )
8890
8991 .row (
Original file line number Diff line number Diff line change 33 input#uploadInput ( type ='file' accept ='.csv' style ="display: none" @change ="uploadRecords" )
44 .subcontainer
55 .summary-p 讲座:{{ lecture.name }}
6- a( style ="float:right; cursor: pointer" href ='../../../static/examples/lectureRecords. csv' download ="cardRecords.csv" ) 下载样例
6+ a( style ="float:right; cursor: pointer" : href= "`${basePath}cardRecords. csv`" download ="cardRecords.csv" ) 下载样例
77 a( style ="float: right; cursor: pointer; margin-right: 10px" @click ="document.getElementById('uploadInput').click()" ) 点此导入...
88
99 table.list
@@ -111,7 +111,7 @@ export default {
111111 const id = this .$route .params .id ;
112112 api
113113 .get (" /api/lecture/admin/detail?id=" + id)
114- .then (result => (this .lecture = result[ 0 ] ));
114+ .then (result => (this .lecture = result));
115115 this .originCardRecords = (
116116 await api .get (" /api/lecture/admin/cardRecord?lectureID=" + id)
117117 )
You can’t perform that action at this time.
0 commit comments