多体系建设信息化条统-前端
祖安之光
59 mins ago 4d5264ead8c96c78c9928e22fc66b0af190ed180
src/views/work/onlineEducation/courseManage/index.vue
@@ -80,6 +80,7 @@
<!--        </template>-->
<!--      </el-table-column>-->
      <el-table-column label="创建时间" prop="createTime" align="center" width="180" />
      <el-table-column label="截止时间" prop="stopTime" align="center" width="180" />
<!--      <el-table-column label="状态" prop="status" align="center" >-->
<!--        <template #default="scope" v-if="data.isAdmin">-->
@@ -106,7 +107,7 @@
            <div v-if="scope.row.state !== 3">
              <el-button link type="primary" v-if="scope.row.state == 1" @click="openApprove(scope.row)">审核</el-button>
              <el-button link type="primary" @click="openDialog('edit',scope.row)">编辑</el-button>
              <el-button link type="primary" @click="toChapters(scope.row)">章节</el-button>
              <el-button link type="primary" @click="toChapters(scope.row)">添加课程资源</el-button>
              <el-button link type="danger" @click="handleDelete(scope.row)">删除</el-button>
            </div>
            <div v-else><el-button link type="primary" @click="toChapters(scope.row)">章节</el-button></div>
@@ -116,7 +117,7 @@
              <el-button link type="primary" v-if="scope.row.state == 0 || scope.row.state == 3" @click="submitApprove(scope.row)">提交审核</el-button>
              <el-button link type="primary" v-if="scope.row.state == 1" @click="submitApprove(scope.row)">取消审核</el-button>
              <el-button link type="primary" v-if="scope.row.state !== 1" @click="openDialog('edit',scope.row)" v-hasPermi="['courseManage:list:edit']">编辑</el-button>
              <el-button link type="primary"  @click="toChapters(scope.row)">章节</el-button>
              <el-button link type="primary"  @click="toChapters(scope.row)">添加课程资源</el-button>
              <el-button link type="danger" v-if="scope.row.state !== 1" @click="handleDelete(scope.row)" v-hasPermi="['courseManage:list:del']">删除</el-button>
            </div>
            <div v-else>