Ver código fonte

修改课程时间

lex-xin 5 anos atrás
pai
commit
fbeb051c76

+ 9 - 2
src/views/teamDetail/components/teamTeacherRecord.vue

@@ -1,8 +1,9 @@
 <template>
   <div class="m-container">
     <h2>
-      <div class='squrt'></div>
-      {{name}}
+      <!-- <div class='squrt'></div>
+      {{name}} -->
+      <el-page-header @back="onCancel" :content="name"></el-page-header>
     </h2>
     <p style="margin-bottom:20px;">老师上课记录</p>
     <!-- 搜索类型 -->
@@ -42,6 +43,9 @@
         <el-table-column align='center'
                          prop="classDate"
                          label="时间">
+          <template slot-scope="scope">
+            {{ scope.row.classDate }} {{ scope.row.startClassTime ? scope.row.startClassTime.substr(0, 5) : '' }}
+          </template>
         </el-table-column>
         <el-table-column align='center'
                          prop="courseScheduleName"
@@ -117,6 +121,9 @@ export default {
     this.getList()
   },
   methods: {
+    onCancel() {
+      window.history.back()
+    },
     search () {
       this.rules.page = 1;
       this.getList();

+ 2 - 2
vue.config.js

@@ -16,10 +16,10 @@ const name = defaultSettings.title || '大雅后台管理系统' // page title
 // const port = process.env.port || process.env.npm_config_port || 9528 // dev port
 // http://47.99.212.176:8000 
 // 
-let target = 'http://192.168.3.27:8000' // 箭河
+// let target = 'http://192.168.3.27:8000' // 箭河
 // let target = 'http://192.168.3.28:8000' //邹璇
 // let target = 'http://192.168.3.8:8000' //勇哥
-// let target = 'http://47.99.212.176:8000' // 测试服
+let target = 'http://47.99.212.176:8000' // 测试服
 // let target = 'http://192.168.3.48:8000' // 乔
 // All configuration item explanations can be find in https://cli.vuejs.org/config/
 module.exports = {