lookDetail.vue 8.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297
  1. <template>
  2. <div>
  3. <descriptions :column="3">
  4. <descriptions-item label="所属分部:">
  5. {{ detail.organName }}
  6. </descriptions-item>
  7. <descriptions-item label="合作单位:">
  8. {{ detail.cooperationName }}
  9. </descriptions-item>
  10. <descriptions-item label="巡查乐团:">
  11. {{ detail.musicGroupName }}
  12. </descriptions-item>
  13. <descriptions-item label="乐团主管:">
  14. {{ detail.realName }}
  15. </descriptions-item>
  16. <descriptions-item label="巡查时间:">
  17. {{ dayjs(detail.planStart).format("YYYY-MM-DD HH:mm") }}~
  18. {{ dayjs(detail.planEnd).format("HH:mm") }}
  19. </descriptions-item>
  20. <descriptions-item label="提交时间:">
  21. {{ detail.submitedTime }}
  22. </descriptions-item>
  23. <descriptions-item label="处理方式:">
  24. {{ detail.memo }}
  25. </descriptions-item>
  26. </descriptions>
  27. <el-table style="margin-top: 15px" :data="tableData">
  28. <el-table-column
  29. prop="name"
  30. fixed="left"
  31. label="巡查项目"
  32. align="center"
  33. width="150"
  34. >
  35. </el-table-column>
  36. <el-table-column label="课前管理" align="center">
  37. <el-table-column
  38. width="200px"
  39. align="center"
  40. label="老师是否提前20分钟到校?"
  41. >
  42. <template slot-scope="scope">
  43. <i
  44. :class="scope.row[1] == 1 ? 'el-icon-check' : 'el-icon-close'"
  45. ></i>
  46. </template>
  47. </el-table-column>
  48. <el-table-column
  49. width="200px"
  50. align="center"
  51. label="老师是否提前准备板书(本课内容、训练)"
  52. >
  53. <template slot-scope="scope">
  54. <i
  55. :class="scope.row[2] == 1 ? 'el-icon-check' : 'el-icon-close'"
  56. ></i>
  57. </template>
  58. </el-table-column>
  59. <el-table-column
  60. width="200px"
  61. align="center"
  62. label="老师是否提前准备板书(本课内容、训练)"
  63. >
  64. <template slot-scope="scope">
  65. <i
  66. :class="scope.row[3] == 1 ? 'el-icon-check' : 'el-icon-close'"
  67. ></i>
  68. </template>
  69. </el-table-column>
  70. <el-table-column
  71. prop="2"
  72. width="160px"
  73. label="老师是否佩戴工牌"
  74. align="center"
  75. >
  76. <template slot-scope="scope">
  77. <i
  78. :class="scope.row[2] == 1 ? 'el-icon-check' : 'el-icon-close'"
  79. ></i>
  80. </template>
  81. </el-table-column>
  82. <el-table-column
  83. prop="3"
  84. width="180px"
  85. label="老师是否仪容仪表整洁"
  86. align="center"
  87. >
  88. <template slot-scope="scope">
  89. <i
  90. :class="scope.row[3] == 1 ? 'el-icon-check' : 'el-icon-close'"
  91. ></i>
  92. </template>
  93. </el-table-column>
  94. <el-table-column
  95. prop="4"
  96. width="160px"
  97. label="老师是否携带乐器"
  98. align="center"
  99. >
  100. <template slot-scope="scope">
  101. <i
  102. :class="scope.row[4] == 1 ? 'el-icon-check' : 'el-icon-close'"
  103. ></i>
  104. </template>
  105. </el-table-column>
  106. <el-table-column
  107. prop="5"
  108. width="160px"
  109. align="center"
  110. label="老师是否携带教学资料、设备"
  111. >
  112. <template slot-scope="scope">
  113. <i
  114. :class="scope.row[5] == 1 ? 'el-icon-check' : 'el-icon-close'"
  115. ></i>
  116. </template>
  117. </el-table-column>
  118. </el-table-column>
  119. <el-table-column label="课中管理" align="center">
  120. <el-table-column
  121. prop="6"
  122. width="160px"
  123. align="center"
  124. label="老师是否合理安排学员座位"
  125. >
  126. <template slot-scope="scope">
  127. <i
  128. :class="scope.row[6] == 1 ? 'el-icon-check' : 'el-icon-close'"
  129. ></i>
  130. </template>
  131. </el-table-column>
  132. <el-table-column
  133. prop="7"
  134. width="160px"
  135. align="center"
  136. label="乐器箱包、书包是否摆放整齐"
  137. >
  138. <template slot-scope="scope">
  139. <i
  140. :class="scope.row[7] == 1 ? 'el-icon-check' : 'el-icon-close'"
  141. ></i>
  142. </template>
  143. </el-table-column>
  144. <el-table-column
  145. prop="8"
  146. width="180px"
  147. align="center"
  148. label="课堂纪律是否保持良好"
  149. >
  150. <template slot-scope="scope">
  151. <i
  152. :class="scope.row[8] == 1 ? 'el-icon-check' : 'el-icon-close'"
  153. ></i>
  154. </template>
  155. </el-table-column>
  156. <el-table-column
  157. prop="9"
  158. width="180px"
  159. align="center"
  160. label="老师是否全程站立教学"
  161. >
  162. <template slot-scope="scope">
  163. <i
  164. :class="scope.row[9] == 1 ? 'el-icon-check' : 'el-icon-close'"
  165. ></i>
  166. </template>
  167. </el-table-column>
  168. <el-table-column
  169. prop="10"
  170. width="160px"
  171. align="center"
  172. label="老师是否全程使用节拍器或教学音频"
  173. >
  174. <template slot-scope="scope">
  175. <i
  176. :class="scope.row[10] == 1 ? 'el-icon-check' : 'el-icon-close'"
  177. ></i>
  178. </template>
  179. </el-table-column>
  180. <el-table-column
  181. prop="11"
  182. width="160px"
  183. align="center"
  184. label="未发现私换乐器"
  185. >
  186. <template slot-scope="scope">
  187. <i
  188. :class="scope.row[11] == 1 ? 'el-icon-check' : 'el-icon-close'"
  189. ></i>
  190. </template>
  191. </el-table-column>
  192. <el-table-column
  193. prop="12"
  194. width="160px"
  195. align="center"
  196. label="老师是否将上课照片/视频发送到声部群"
  197. >
  198. <template slot-scope="scope">
  199. <i
  200. :class="scope.row[12] == 1 ? 'el-icon-check' : 'el-icon-close'"
  201. ></i>
  202. </template>
  203. </el-table-column>
  204. </el-table-column>
  205. <el-table-column label="课后管理" align="center">
  206. <el-table-column
  207. prop="13"
  208. width="160px"
  209. align="center"
  210. label="老师是否保持教室环境卫生"
  211. >
  212. <template slot-scope="scope">
  213. <i
  214. :class="scope.row[13] == 1 ? 'el-icon-check' : 'el-icon-close'"
  215. ></i>
  216. </template>
  217. </el-table-column>
  218. <el-table-column
  219. prop="14"
  220. width="160px"
  221. align="center"
  222. label="老师是否关好所有电源、门窗"
  223. >
  224. <template slot-scope="scope">
  225. <i
  226. :class="scope.row[14] == 1 ? 'el-icon-check' : 'el-icon-close'"
  227. ></i>
  228. </template>
  229. </el-table-column>
  230. <el-table-column
  231. prop="15"
  232. width="160px"
  233. align="center"
  234. label="老师是否有序组织学员放学"
  235. >
  236. <template slot-scope="scope">
  237. <i
  238. :class="scope.row[15] == 1 ? 'el-icon-check' : 'el-icon-close'"
  239. ></i>
  240. </template>
  241. </el-table-column>
  242. </el-table-column>
  243. <template #empty>
  244. <empty />
  245. </template>
  246. </el-table>
  247. </div>
  248. </template>
  249. <script>
  250. import numeral from "numeral";
  251. import dayjs from "dayjs";
  252. import descriptions from "@/components/Descriptions";
  253. import { getPlanConclusion } from "../api";
  254. export default {
  255. props: ["detail"],
  256. components: { descriptions },
  257. data() {
  258. return {
  259. tableData: [],
  260. };
  261. },
  262. mounted() {
  263. this.init();
  264. },
  265. methods: {
  266. dayjs,
  267. numeral,
  268. async init() {
  269. try {
  270. let detail = this.detail;
  271. // if(!detail) {
  272. // return
  273. // }
  274. const res = await getPlanConclusion({ planId: detail.id });
  275. this.tableData = res.data;
  276. } catch (err) {}
  277. },
  278. },
  279. };
  280. </script>
  281. <style lang="less" scoped>
  282. .alert {
  283. margin: 10px 0;
  284. }
  285. ::v-deep .el-icon-close,
  286. ::v-deep .el-icon-check {
  287. font-size: 18px;
  288. font-weight: bold;
  289. }
  290. ::v-deep .el-icon-close {
  291. color: red;
  292. }
  293. ::v-deep .el-icon-check {
  294. color: var(--color-primary);
  295. }
  296. </style>