|
|
@@ -6,7 +6,7 @@
|
|
|
<template>
|
|
|
<el-card>
|
|
|
<template v-if="props.role == 'teachers'">
|
|
|
- <el-button color="#597d3b" @click="isTypeDialogVisible=true" v-if="props.isShowNewHomework">新建作业</el-button>
|
|
|
+ <el-button style="background-color: #6A9BD8; color: white;" @click="isTypeDialogVisible=true" v-if="props.isShowNewHomework">新建作业</el-button>
|
|
|
</template>
|
|
|
<template v-if="props.tableData.length > 0">
|
|
|
<el-table :data="props.tableData" stripe style="width: 100%" height="100%" show-overflow-tooltip>
|
|
|
@@ -22,7 +22,7 @@
|
|
|
<!-- TODO:找到了 详情界面 -->
|
|
|
<el-table-column label="详情" width="60">
|
|
|
<template #default="scope">
|
|
|
- <el-button color="#597d3b" circle @click="openEditor(scope.row.descriptionFile, scope.row.assignmentName)">
|
|
|
+ <el-button style="background-color: #6A9BD8; color: white;" circle @click="openEditor(scope.row.descriptionFile, scope.row.assignmentName)">
|
|
|
<el-icon :size="18">
|
|
|
<Search />
|
|
|
</el-icon>
|
|
|
@@ -32,7 +32,7 @@
|
|
|
<el-table-column :label="role == 'teachers'? '编辑':'开始'" width="60">
|
|
|
<template #default="scope">
|
|
|
<el-button @mouseover="handleMouse('over', scope.row.teacherId, scope.row.endDate)" @mouseleave="handleMouse('leave', scope.row.teacherId, scope.row.endDate)"
|
|
|
- color="#597d3b" circle @click="handleFunctionButton(scope.row.assignmentId,scope.row.type)" :disabled="props.disabled || isDisabled(scope.row.teacherId, scope.row.endDate)">
|
|
|
+ style="background-color: #6A9BD8; color: white;" circle @click="handleFunctionButton(scope.row.assignmentId,scope.row.type)" :disabled="props.disabled || isDisabled(scope.row.teacherId, scope.row.endDate)">
|
|
|
<el-icon :size="18">
|
|
|
<Edit />
|
|
|
</el-icon>
|