Browse Source

上传代码

master
杨豪 3 years ago
parent
commit
7a1ebfa537
  1. BIN
      dist.rar
  2. 1
      src/views/course/addStudy.vue
  3. 3
      src/views/course/courseManage.vue
  4. 2
      src/views/course/index.vue

BIN
dist.rar

Binary file not shown.

1
src/views/course/addStudy.vue

@ -245,6 +245,7 @@ export default {
}) })
}, },
doEdit() { doEdit() {
this.form.imgPath = this.form.imageInput;
edit(this.form).then(res => { edit(this.form).then(res => {
this.resetForm() this.resetForm()
this.$notify({ this.$notify({

3
src/views/course/courseManage.vue

@ -119,6 +119,7 @@ const defaultForm = {
courseIntroduce: null, courseIntroduce: null,
seatArrange: 1, seatArrange: 1,
chargeType: 0, chargeType: 0,
dayCount:'',
courseCharge: null, courseCharge: null,
createTime: null, createTime: null,
updateTime: null, updateTime: null,
@ -182,7 +183,7 @@ export default {
this.getCourseLevel() this.getCourseLevel()
}, },
mounted(){ mounted(){
console.log(crudCourseMaster) // console.log(crudCourseMaster)
this.$http('api/CourseMaster','get').then((res)=>{ this.$http('api/CourseMaster','get').then((res)=>{
this.masterList = res.content this.masterList = res.content
}) })

2
src/views/course/index.vue

@ -196,7 +196,7 @@
<el-table-column label="会员姓名" prop="memberName"></el-table-column> <el-table-column label="会员姓名" prop="memberName"></el-table-column>
<el-table-column label="手机号" prop="phone"></el-table-column> <el-table-column label="手机号" prop="phone"></el-table-column>
<el-table-column label="是否签到" prop="memberName"> <el-table-column label="是否签到" prop="memberName">
<template slot-scope="scope"></template></template> <template slot-scope="scope">
<span style="" v-if="scope.row.signState == 0">未签到</span> <span style="" v-if="scope.row.signState == 0">未签到</span>
<span style="color:green" v-else>已签到</span> <span style="color:green" v-else>已签到</span>
</template> </template>

Loading…
Cancel
Save