forked from liweijie/education
通过AI比对原操作文档,生成系统功能完善方案,根据方案进行增补,完善从学期新增到最终的排课功能
This commit is contained in:
@@ -63,10 +63,11 @@
|
||||
<el-table-column prop="jssj" label="结束时间" width="180" align="center" :formatter="fmtDateTime" />
|
||||
<el-table-column prop="cjsj" label="创建时间" width="180" align="center" :formatter="fmtDateTime" />
|
||||
<el-table-column prop="jcxqscsj" label="教材需求生成时间" align="center" :formatter="fmtDateTime" />
|
||||
<el-table-column label="操作" width="380" align="center" fixed="right">
|
||||
<el-table-column label="操作" width="450" align="center" fixed="right">
|
||||
<template slot-scope="{ row }">
|
||||
<el-button type="text" size="small" @click="handleDetail(row)">详情</el-button>
|
||||
<el-button type="text" size="small" :disabled="isTaskLocked(row)" @click="handleEdit(row)">编辑</el-button>
|
||||
<el-button type="text" size="small" @click="handleTaskBook(row)">任务书填报</el-button>
|
||||
<el-button
|
||||
type="text"
|
||||
size="small"
|
||||
@@ -186,6 +187,14 @@
|
||||
<el-button @click="detailVisible = false">关闭</el-button>
|
||||
</div>
|
||||
</el-dialog>
|
||||
|
||||
<!-- ==================== 6. 任务书填报对话框(阶段 4) ==================== -->
|
||||
<task-book-fill-dialog
|
||||
:visible.sync="taskBookVisible"
|
||||
:jxrwbh="taskBookRow.bh"
|
||||
:task-name="taskBookRow.rwmc"
|
||||
:task-status="taskBookRow.zt"
|
||||
/>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -207,9 +216,11 @@ import {
|
||||
endPublishTeachingTask
|
||||
} from '@/api/teachBusiness/teachingTask'
|
||||
import { listAllSemester } from '@/api/teachBusiness/semester'
|
||||
import TaskBookFillDialog from './TaskBookFillDialog.vue'
|
||||
|
||||
export default {
|
||||
name: 'TaskPlan',
|
||||
components: { TaskBookFillDialog },
|
||||
data() {
|
||||
return {
|
||||
// ==================== 1. 查询条件 ====================
|
||||
@@ -252,7 +263,11 @@ export default {
|
||||
// ==================== 4. 详情 ====================
|
||||
detailVisible: false,
|
||||
detailLoading: false,
|
||||
detailData: {}
|
||||
detailData: {},
|
||||
|
||||
// ==================== 5. 任务书填报(阶段 4) ====================
|
||||
taskBookVisible: false,
|
||||
taskBookRow: {}
|
||||
}
|
||||
},
|
||||
created() {
|
||||
@@ -441,6 +456,11 @@ export default {
|
||||
isTaskPublished(row) {
|
||||
return row && (row.zt === '发布' || row.zt === '已发布')
|
||||
},
|
||||
/* ---------- 任务书填报(阶段 4) ---------- */
|
||||
handleTaskBook(row) {
|
||||
this.taskBookRow = row || {}
|
||||
this.taskBookVisible = true
|
||||
},
|
||||
isTaskEnded(row) {
|
||||
return row && row.zt === '已结束'
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user