123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297 |
- <template>
- <div>
- <descriptions :column="3">
- <descriptions-item label="所属分部:">
- {{ detail.organName }}
- </descriptions-item>
- <descriptions-item label="合作单位:">
- {{ detail.cooperationName }}
- </descriptions-item>
- <descriptions-item label="巡查乐团:">
- {{ detail.musicGroupName }}
- </descriptions-item>
- <descriptions-item label="乐团主管:">
- {{ detail.realName }}
- </descriptions-item>
- <descriptions-item label="巡查时间:">
- {{ dayjs(detail.planStart).format("YYYY-MM-DD HH:mm") }}~
- {{ dayjs(detail.planEnd).format("HH:mm") }}
- </descriptions-item>
- <descriptions-item label="提交时间:">
- {{ detail.submitedTime }}
- </descriptions-item>
- <descriptions-item label="处理方式:">
- {{ detail.memo }}
- </descriptions-item>
- </descriptions>
- <el-table style="margin-top: 15px" :data="tableData">
- <el-table-column
- prop="name"
- fixed="left"
- label="巡查项目"
- align="center"
- width="150"
- >
- </el-table-column>
- <el-table-column label="课前管理" align="center">
- <el-table-column
- width="200px"
- align="center"
- label="老师是否提前20分钟到校?"
- >
- <template slot-scope="scope">
- <i
- :class="scope.row[1] == 1 ? 'el-icon-check' : 'el-icon-close'"
- ></i>
- </template>
- </el-table-column>
- <el-table-column
- width="200px"
- align="center"
- label="老师是否提前准备板书(本课内容、训练)"
- >
- <template slot-scope="scope">
- <i
- :class="scope.row[2] == 1 ? 'el-icon-check' : 'el-icon-close'"
- ></i>
- </template>
- </el-table-column>
- <el-table-column
- width="200px"
- align="center"
- label="老师是否提前准备板书(本课内容、训练)"
- >
- <template slot-scope="scope">
- <i
- :class="scope.row[3] == 1 ? 'el-icon-check' : 'el-icon-close'"
- ></i>
- </template>
- </el-table-column>
- <el-table-column
- prop="2"
- width="160px"
- label="老师是否佩戴工牌"
- align="center"
- >
- <template slot-scope="scope">
- <i
- :class="scope.row[2] == 1 ? 'el-icon-check' : 'el-icon-close'"
- ></i>
- </template>
- </el-table-column>
- <el-table-column
- prop="3"
- width="180px"
- label="老师是否仪容仪表整洁"
- align="center"
- >
- <template slot-scope="scope">
- <i
- :class="scope.row[3] == 1 ? 'el-icon-check' : 'el-icon-close'"
- ></i>
- </template>
- </el-table-column>
- <el-table-column
- prop="4"
- width="160px"
- label="老师是否携带乐器"
- align="center"
- >
- <template slot-scope="scope">
- <i
- :class="scope.row[4] == 1 ? 'el-icon-check' : 'el-icon-close'"
- ></i>
- </template>
- </el-table-column>
- <el-table-column
- prop="5"
- width="160px"
- align="center"
- label="老师是否携带教学资料、设备"
- >
- <template slot-scope="scope">
- <i
- :class="scope.row[5] == 1 ? 'el-icon-check' : 'el-icon-close'"
- ></i>
- </template>
- </el-table-column>
- </el-table-column>
- <el-table-column label="课中管理" align="center">
- <el-table-column
- prop="6"
- width="160px"
- align="center"
- label="老师是否合理安排学员座位"
- >
- <template slot-scope="scope">
- <i
- :class="scope.row[6] == 1 ? 'el-icon-check' : 'el-icon-close'"
- ></i>
- </template>
- </el-table-column>
- <el-table-column
- prop="7"
- width="160px"
- align="center"
- label="乐器箱包、书包是否摆放整齐"
- >
- <template slot-scope="scope">
- <i
- :class="scope.row[7] == 1 ? 'el-icon-check' : 'el-icon-close'"
- ></i>
- </template>
- </el-table-column>
- <el-table-column
- prop="8"
- width="180px"
- align="center"
- label="课堂纪律是否保持良好"
- >
- <template slot-scope="scope">
- <i
- :class="scope.row[8] == 1 ? 'el-icon-check' : 'el-icon-close'"
- ></i>
- </template>
- </el-table-column>
- <el-table-column
- prop="9"
- width="180px"
- align="center"
- label="老师是否全程站立教学"
- >
- <template slot-scope="scope">
- <i
- :class="scope.row[9] == 1 ? 'el-icon-check' : 'el-icon-close'"
- ></i>
- </template>
- </el-table-column>
- <el-table-column
- prop="10"
- width="160px"
- align="center"
- label="老师是否全程使用节拍器或教学音频"
- >
- <template slot-scope="scope">
- <i
- :class="scope.row[10] == 1 ? 'el-icon-check' : 'el-icon-close'"
- ></i>
- </template>
- </el-table-column>
- <el-table-column
- prop="11"
- width="160px"
- align="center"
- label="未发现私换乐器"
- >
- <template slot-scope="scope">
- <i
- :class="scope.row[11] == 1 ? 'el-icon-check' : 'el-icon-close'"
- ></i>
- </template>
- </el-table-column>
- <el-table-column
- prop="12"
- width="160px"
- align="center"
- label="老师是否将上课照片/视频发送到声部群"
- >
- <template slot-scope="scope">
- <i
- :class="scope.row[12] == 1 ? 'el-icon-check' : 'el-icon-close'"
- ></i>
- </template>
- </el-table-column>
- </el-table-column>
- <el-table-column label="课后管理" align="center">
- <el-table-column
- prop="13"
- width="160px"
- align="center"
- label="老师是否保持教室环境卫生"
- >
- <template slot-scope="scope">
- <i
- :class="scope.row[13] == 1 ? 'el-icon-check' : 'el-icon-close'"
- ></i>
- </template>
- </el-table-column>
- <el-table-column
- prop="14"
- width="160px"
- align="center"
- label="老师是否关好所有电源、门窗"
- >
- <template slot-scope="scope">
- <i
- :class="scope.row[14] == 1 ? 'el-icon-check' : 'el-icon-close'"
- ></i>
- </template>
- </el-table-column>
- <el-table-column
- prop="15"
- width="160px"
- align="center"
- label="老师是否有序组织学员放学"
- >
- <template slot-scope="scope">
- <i
- :class="scope.row[15] == 1 ? 'el-icon-check' : 'el-icon-close'"
- ></i>
- </template>
- </el-table-column>
- </el-table-column>
- <template #empty>
- <empty />
- </template>
- </el-table>
- </div>
- </template>
- <script>
- import numeral from "numeral";
- import dayjs from "dayjs";
- import descriptions from "@/components/Descriptions";
- import { getPlanConclusion } from "../api";
- export default {
- props: ["detail"],
- components: { descriptions },
- data() {
- return {
- tableData: [],
- };
- },
- mounted() {
- this.init();
- },
- methods: {
- dayjs,
- numeral,
- async init() {
- try {
- let detail = this.detail;
- // if(!detail) {
- // return
- // }
- const res = await getPlanConclusion({ planId: detail.id });
- this.tableData = res.data;
- } catch (err) {}
- },
- },
- };
- </script>
- <style lang="less" scoped>
- .alert {
- margin: 10px 0;
- }
- ::v-deep .el-icon-close,
- ::v-deep .el-icon-check {
- font-size: 18px;
- font-weight: bold;
- }
- ::v-deep .el-icon-close {
- color: red;
- }
- ::v-deep .el-icon-check {
- color: var(--color-primary);
- }
- </style>
|