Blame view

src/views/basic/setUp/student.vue 28.3 KB
4c4f7640   梁保满   路由表,路由前端文件
1
  <template>
23a6dc5f   阿宝   学校管理相关接口简单对接
2
3
4
    <div>
      <back-box>
        <template slot="title">
560c12f2   阿宝   学校设置,软件下载
5
          <span>学生管理</span>
23a6dc5f   阿宝   学校管理相关接口简单对接
6
        </template>
f5729396   梁保满   批量设置答案
7
        <template slot="btns" v-if="role == 'ROLE_XUEXIAO'">
b0cd2598   梁保满   fix:测试问题
8
9
10
11
12
13
14
15
16
17
18
19
20
21
          <el-tooltip
            effect="dark"
            content="设置答题器"
            placement="bottom"
            v-show="query.classType == 0"
          >
            <el-button
              type="primary"
              icon="el-icon-upload2"
              size="mini"
              plain
              circle
              @click="diaUp = true"
            ></el-button>
f5729396   梁保满   批量设置答案
22
          </el-tooltip>
b0cd2598   梁保满   fix:测试问题
23
24
25
26
27
28
29
30
31
32
33
34
35
36
          <el-tooltip
            v-if="!code && query.classType == 0"
            effect="dark"
            content="添加学生"
            placement="bottom"
          >
            <el-button
              type="primary"
              icon="el-icon-plus"
              size="mini"
              plain
              circle
              @click="openAddDia"
            ></el-button>
23a6dc5f   阿宝   学校管理相关接口简单对接
37
38
39
          </el-tooltip>
        </template>
      </back-box>
ec6394d1   梁保满   v1.3.1。细节调整
40
41
      <div class="answer-header">
        <div class="sel-box">
b0cd2598   梁保满   fix:测试问题
42
43
44
45
46
47
          <el-select
            class="sel"
            v-model="query.classType"
            @change="changeGrade(query.grade)"
            placeholder="选择类型"
          >
3587d377   梁保满   归档流程调整
48
            <el-option label="全部" value="" disabled></el-option>
8ad80958   梁保满   教师学生管理,设备状态
49
50
51
            <el-option label="行政班" :value="0"></el-option>
            <el-option label="教学班" :value="1"></el-option>
          </el-select>
b0cd2598   梁保满   fix:测试问题
52
53
54
55
56
57
          <el-select
            class="sel"
            v-model="query.grade"
            placeholder="选择年级"
            @change="changeGrade"
          >
0454f787   梁保满   班级管理,班级列表修改,科目设置
58
            <el-option disabled label="全部" value=""></el-option>
b0cd2598   梁保满   fix:测试问题
59
60
61
62
63
64
            <el-option
              v-for="item in gradeList"
              :key="item.value"
              :label="item.label"
              :value="item.value"
            >
0454f787   梁保满   班级管理,班级列表修改,科目设置
65
            </el-option>
c8c928f4   梁保满   学生管理交互优化
66
67
            <el-option label="未分配" :value="80"></el-option>
            <el-option label="已毕业" :value="81"></el-option>
0454f787   梁保满   班级管理,班级列表修改,科目设置
68
          </el-select>
b0cd2598   梁保满   fix:测试问题
69
70
71
72
73
74
75
76
77
78
79
          <el-input
            placeholder="请输入学生姓名"
            v-model="query.studentName"
            class="input-with-select"
            @keyup.enter.native="_QueryData(1)"
          >
            <el-button
              slot="append"
              icon="el-icon-search"
              @click="_QueryData(1)"
            ></el-button>
ec6394d1   梁保满   v1.3.1。细节调整
80
          </el-input>
b0cd2598   梁保满   fix:测试问题
81
82
83
84
85
86
87
88
89
90
91
          <el-input
            placeholder="请输入学生学号"
            v-model="query.studentCode"
            class="input-with-select"
            @keyup.enter.native="_QueryData(2)"
          >
            <el-button
              slot="append"
              icon="el-icon-search"
              @click="_QueryData(2)"
            ></el-button>
ec6394d1   梁保满   v1.3.1。细节调整
92
93
94
          </el-input>
        </div>
      </div>
b0cd2598   梁保满   fix:测试问题
95
96
97
98
99
100
101
      <p
        class="total"
        v-if="
          studentList.length &&
          (query.grade == 80 || query.grade == 81 || !query.grade)
        "
      >
99713685   梁保满   学生调班,班级数据重新请求,使用过...
102
103
        共筛选出{{ studentList.length }}名学生。
      </p>
b0cd2598   梁保满   fix:测试问题
104
105
106
107
108
109
      <p
        class="total"
        v-if="
          getStuTotal && query.grade && query.grade != 80 && query.grade != 81
        "
      >
99713685   梁保满   学生调班,班级数据重新请求,使用过...
110
111
        共筛选出{{ getStuTotal }}名学生。
      </p>
23a6dc5f   阿宝   学校管理相关接口简单对接
112
      <div class="page-content">
23a6dc5f   阿宝   学校管理相关接口简单对接
113
        <div class="stu-box">
b0cd2598   梁保满   fix:测试问题
114
115
116
117
          <div
            class="stu-list"
            v-show="query.grade && query.grade != 80 && query.grade != 81"
          >
0454f787   梁保满   班级管理,班级列表修改,科目设置
118
            <div class="h-title">班级列表</div>
23a6dc5f   阿宝   学校管理相关接口简单对接
119
            <ul class="stu-ul">
b0cd2598   梁保满   fix:测试问题
120
121
122
123
124
125
126
              <li
                class="stu-item"
                v-for="(item, index) in classList"
                :key="item.id"
                :class="query.classId == item.id ? 'active' : ''"
                @click="classDetail(item)"
              >
23a6dc5f   阿宝   学校管理相关接口简单对接
127
128
129
130
                {{ item.className }}({{ item.studentCount }})
              </li>
            </ul>
          </div>
b8827a72   梁保满   测试bug
131
          <div class="stu-detail" v-loading="loading">
b0cd2598   梁保满   fix:测试问题
132
133
134
135
136
137
138
139
140
            <div
              class="clazz-detail"
              v-if="
                clazzDetail.stationSn &&
                query.grade &&
                query.grade != 80 &&
                query.grade != 81
              "
            >
99713685   梁保满   学生调班,班级数据重新请求,使用过...
141
142
143
              <p>基站SN:{{ clazzDetail.stationSn }}</p>
              <p>配对码:{{ clazzDetail.pairingCode }}</p>
              <p>频点:{{ clazzDetail.frequency }}</p>
d059a9d1   梁保满   接口调整
144
            </div>
b8827a72   梁保满   测试bug
145
            <ul class="s-ul">
b0cd2598   梁保满   fix:测试问题
146
147
148
149
150
151
152
153
154
155
              <li
                class="s-li"
                v-for="(item, index) in studentList"
                :key="item.id"
              >
                <el-popconfirm
                  v-if="!code"
                  title="确定删除吗?"
                  @confirm="removeStu(item, index, $event)"
                >
0a4de034   阿宝   教师管理,学生管理班级设置
156
                  <i class="el-icon-delete" slot="reference"></i>
bb4c8454   阿宝   添加,修改教师
157
                </el-popconfirm>
b0cd2598   梁保满   fix:测试问题
158
159
160
161
162
                <i
                  class="el-icon-user-solid"
                  v-if="!code && query.grade != 81"
                  @click.stop="openChangeClazz(item)"
                ></i>
0454f787   梁保满   班级管理,班级列表修改,科目设置
163
164
165
166
                <div class="s-li-box" @click="sayChange(item)">
                  <p class="name">
                    {{ item.studentName }}
                  </p>
3587d377   梁保满   归档流程调整
167
                  <div class="p2">
86e47820   梁保满   科目添加删除操作,教师角色选择。学...
168
                    <template v-if="item.classList && item.classList.length">
3587d377   梁保满   归档流程调整
169
170
171
172
173
174
175
                      <p v-for="(clazz, index) in item.classList">
                        <span
                          v-if="
                            query.classType == '' ||
                            query.classType == clazz.classType
                          "
                        >
b0cd2598   梁保满   fix:测试问题
176
177
                          {{ clazz.gradeName }}﹒{{ clazz.className }}</span
                        >
3587d377   梁保满   归档流程调整
178
                      </p></template
b0cd2598   梁保满   fix:测试问题
179
                    >
86e47820   梁保满   科目添加删除操作,教师角色选择。学...
180
181
182
                    <template v-else>
                      {{
                        item.status == 0
b0cd2598   梁保满   fix:测试问题
183
184
                          ? "未分配"
                          : item.status == 2
86e47820   梁保满   科目添加删除操作,教师角色选择。学...
185
186
187
188
                          ? "已毕业"
                          : ""
                      }}
                    </template>
3587d377   梁保满   归档流程调整
189
                  </div>
0454f787   梁保满   班级管理,班级列表修改,科目设置
190
191
192
193
                  <p class="p1">答题器:{{ item.clickerSn || "--" }}</p>
                  <p class="p1">长学号:{{ item.studentCode }}</p>
                  <p class="p1">短学号:{{ item.shortNumber || "--" }}</p>
                </div>
23a6dc5f   阿宝   学校管理相关接口简单对接
194
195
              </li>
            </ul>
b0cd2598   梁保满   fix:测试问题
196
197
198
199
200
            <el-empty
              :image-size="100"
              v-if="!studentList.length && loading == false"
              description="没有更多数据"
            ></el-empty>
23a6dc5f   阿宝   学校管理相关接口简单对接
201
202
203
          </div>
        </div>
      </div>
f45b3c05   LH_PC   云平台新UI界面
204
      <el-dialog :append-to-body="true"
b0cd2598   梁保满   fix:测试问题
205
206
207
208
209
210
211
212
213
214
215
216
        :close-on-click-modal="false"
        title="学生调班"
        :visible.sync="diaChangeClass"
        width="400"
      >
        <el-form
          class="form-box"
          ref="formStuCla"
          :model="formStuCla"
          :rules="rulesStuCla"
          label-width="160px"
        >
e5e4a3e6   梁保满   v1.3
217
          <el-form-item label="学生姓名:">
8ad80958   梁保满   教师学生管理,设备状态
218
            <el-col :span="10">
b0cd2598   梁保满   fix:测试问题
219
220
221
222
              <el-input
                v-model="formStuCla.studentName"
                maxlength="20"
              ></el-input>
8ad80958   梁保满   教师学生管理,设备状态
223
            </el-col>
e5e4a3e6   梁保满   v1.3
224
225
          </el-form-item>
          <el-form-item label="当前班级:">
3587d377   梁保满   归档流程调整
226
227
228
229
230
231
232
            <el-select
              v-if="query.classType == ''"
              class="sel"
              v-model="formStuCla.oldClassId"
              @change="changeClazz()"
              placeholder="选择当前班级"
            >
ef16e57e   LH_PC   fix:前端版本迭代
233
              <el-option :key="index"
3587d377   梁保满   归档流程调整
234
235
236
237
238
239
240
241
242
243
244
245
                v-for="(item, index) in formStuCla.classList"
                :label="item.className"
                :value="item.id"
              ></el-option>
            </el-select>
            <template v-else>
              <template v-for="(item, index) in formStuCla.classList">
                <span v-if="query.classType == item.classType"
                  >{{ index != 0 ? "," : "" }}{{ item.className }}</span
                >
              </template>
            </template>
e5e4a3e6   梁保满   v1.3
246
          </el-form-item>
c8c928f4   梁保满   学生管理交互优化
247
          <el-form-item label="调到班级:" prop="classId">
e5e4a3e6   梁保满   v1.3
248
            <el-col :span="10">
b0cd2598   梁保满   fix:测试问题
249
250
251
              <el-select
                class="sel"
                v-model="formStuCla.classId"
6bbcc7ac   梁保满   学生调班设置
252
                placeholder="选择班级"
b0cd2598   梁保满   fix:测试问题
253
              >
c8c928f4   梁保满   学生管理交互优化
254
                <el-option disabled label="请选择" value=""></el-option>
b0cd2598   梁保满   fix:测试问题
255
256
257
                <el-option
                  v-for="item in classList"
                  :key="item.id"
3587d377   梁保满   归档流程调整
258
259
260
                  :label="`${item.className}${
                    item.subjectName ? '-' + item.subjectName : ''
                  }`"
b0cd2598   梁保满   fix:测试问题
261
                  :value="item.id"
6bbcc7ac   梁保满   学生调班设置
262
                  :disabled="chooseClassisDisabled(item.id)"
b0cd2598   梁保满   fix:测试问题
263
                >
e5e4a3e6   梁保满   v1.3
264
265
266
267
268
269
                </el-option>
              </el-select>
            </el-col>
          </el-form-item>
          <el-form-item label="长学号:" prop="studentCode">
            <el-col :span="10">
b0cd2598   梁保满   fix:测试问题
270
271
272
273
274
              <el-input
                maxlength="12"
                placeholder="输入学生长学号"
                v-model.trim="formStuCla.studentCode"
              />
e5e4a3e6   梁保满   v1.3
275
276
277
278
279
280
281
282
            </el-col>
          </el-form-item>
        </el-form>
        <div class="dialog-footer" slot="footer">
          <el-button @click="changeStu">确 定</el-button>
          <el-button @click="diaChangeClass = false">取 消</el-button>
        </div>
      </el-dialog>
f45b3c05   LH_PC   云平台新UI界面
283
      <el-dialog :append-to-body="true"
b0cd2598   梁保满   fix:测试问题
284
285
286
287
288
289
290
291
292
293
        :close-on-click-modal="false"
        title="调班轨迹"
        :visible.sync="diaChangeClassTrack"
        width="400"
      >
        <el-form
          :model="formClassTrack"
          label-width="160px"
          v-loading="loadingClassLogs"
        >
0454f787   梁保满   班级管理,班级列表修改,科目设置
294
295
296
297
          <el-form-item label="学生姓名:">
            <span>{{ formClassTrack.studentName }}</span>
          </el-form-item>
          <el-form-item label="当前班级:">
3587d377   梁保满   归档流程调整
298
299
300
301
302
303
            <template v-for="(item, index) in formClassTrack.className">
              <span
                v-if="query.classType == '' || query.classType == item.classType"
                >{{ index != 0 ? "," : "" }}{{ item.className }}</span
              >
            </template>
b8827a72   梁保满   测试bug
304
305
          </el-form-item>
          <el-form-item label="历史班级:">
0454f787   梁保满   班级管理,班级列表修改,科目设置
306
            <p v-for="item in formClassTrack.classList">
b8827a72   梁保满   测试bug
307
              {{ `${item.gradeName}-${item.className}:${item.createdTime}` }}
0454f787   梁保满   班级管理,班级列表修改,科目设置
308
309
310
311
312
313
314
            </p>
          </el-form-item>
        </el-form>
        <div class="dialog-footer" slot="footer">
          <el-button @click="diaChangeClassTrack = false">关 闭</el-button>
        </div>
      </el-dialog>
f45b3c05   LH_PC   云平台新UI界面
315
      <el-dialog :append-to-body="true"
b0cd2598   梁保满   fix:测试问题
316
317
318
319
320
321
322
323
324
325
326
327
        :close-on-click-modal="false"
        title="添加学生"
        :visible.sync="diaStu"
        width="400"
      >
        <el-form
          ref="formBox"
          class="form-box"
          :model="formStu"
          :rules="rulesStu"
          label-width="160px"
        >
dd5150c5   阿宝   数据同步
328
329
330
331
332
          <el-form-item label="所在班级:">
            <span>{{ formStu.className }}</span>
          </el-form-item>
          <el-form-item label="学生姓名:" prop="studentName">
            <el-col :span="10">
b0cd2598   梁保满   fix:测试问题
333
334
335
336
337
              <el-input
                maxlength="30"
                placeholder="输入学生姓名"
                v-model.trim="formStu.studentName"
              />
dd5150c5   阿宝   数据同步
338
339
340
341
            </el-col>
          </el-form-item>
          <el-form-item label="长学号:" prop="studentCode">
            <el-col :span="10">
b0cd2598   梁保满   fix:测试问题
342
343
344
345
346
              <el-input
                maxlength="12"
                placeholder="输入学生长学号"
                v-model.trim="formStu.studentCode"
              />
dd5150c5   阿宝   数据同步
347
348
349
350
            </el-col>
          </el-form-item>
          <el-form-item label="短学号:">
            <el-col :span="10">
aeac66d4   阿宝   飞书测试bug
351
              <el-input maxlength="12" v-model.trim="formStu.shortNumber" />
dd5150c5   阿宝   数据同步
352
353
354
355
356
357
358
359
360
361
            </el-col>
          </el-form-item>
          <el-form-item label="性别:">
            <el-radio-group v-model="formStu.sex">
              <el-radio :label="1">男</el-radio>
              <el-radio :label="2">女</el-radio>
            </el-radio-group>
          </el-form-item>
          <el-form-item label="答题器编码:">
            <el-col :span="10">
9309dc5d   梁保满   任课老师接口完成
362
              <el-input v-model.trim="formStu.clickerSn" />
dd5150c5   阿宝   数据同步
363
364
365
            </el-col>
          </el-form-item>
        </el-form>
23a6dc5f   阿宝   学校管理相关接口简单对接
366
        <div class="dialog-footer" slot="footer">
dd5150c5   阿宝   数据同步
367
368
          <el-button @click="addStu">确 定</el-button>
          <el-button @click="diaStu = false">取 消</el-button>
23a6dc5f   阿宝   学校管理相关接口简单对接
369
370
        </div>
      </el-dialog>
f45b3c05   LH_PC   云平台新UI界面
371
      <el-dialog :append-to-body="true"
b0cd2598   梁保满   fix:测试问题
372
373
374
375
376
377
378
379
380
381
382
383
        :close-on-click-modal="false"
        title="学生答题器绑定"
        :visible.sync="diaUp"
        width="600"
      >
        <upload
          id="downTeacher"
          :url="url"
          :params="{ type: query.classType }"
          @upSuccess="upSuccess"
          fileName="学生答题器绑定模板"
        >
f5729396   梁保满   批量设置答案
384
          <p class="down-txt" slot="down">
14a23714   梁保满   学生答题卡绑定模版下载上传
385
            通过Excel名单导入学生答题器绑定模板,点击
f5729396   梁保满   批量设置答案
386
387
            <el-link type="danger" @click="downExcel">模板下载</el-link> 。
          </p>
6192eba8   梁保满   引用上传文件组件问题,备题组卷顶部
388
        </upload>
f5729396   梁保满   批量设置答案
389
390
391
392
        <div class="dialog-footer" slot="footer">
          <el-button @click="diaUp = false">取 消</el-button>
        </div>
      </el-dialog>
23a6dc5f   阿宝   学校管理相关接口简单对接
393
    </div>
4c4f7640   梁保满   路由表,路由前端文件
394
395
396
  </template>
  
  <script>
e5e4a3e6   梁保满   v1.3
397
  import _ from "lodash";
ec6394d1   梁保满   v1.3.1。细节调整
398
  import { setGradeName } from "@/utils";
4c4f7640   梁保满   路由表,路由前端文件
399
  export default {
23a6dc5f   阿宝   学校管理相关接口简单对接
400
401
    data() {
      return {
255e2506   梁保满   飞书bug及优化
402
        code: "",
f5729396   梁保满   批量设置答案
403
        role: "",
0454f787   梁保满   班级管理,班级列表修改,科目设置
404
405
406
        loading: false,
        loadingDown: false,
        loadingClassLogs: false,
f5729396   梁保满   批量设置答案
407
        diaUp: false,
14a23714   梁保满   学生答题卡绑定模版下载上传
408
        url: "/api_html/school/manager/importStudentClicker",
dd5150c5   阿宝   数据同步
409
        diaStu: false,
e5e4a3e6   梁保满   v1.3
410
        diaChangeClass: false,
0454f787   梁保满   班级管理,班级列表修改,科目设置
411
412
413
        diaChangeClassTrack: false,
        formClassTrack: {
          studentName: "",
3587d377   梁保满   归档流程调整
414
          className: [],
0454f787   梁保满   班级管理,班级列表修改,科目设置
415
416
          classList: [],
        },
ae0a304c   梁保满   学生管理-显示班级基站信息
417
        clazzDetail: { stationSn: "", pairingCode: "", frequency: "" },
23a6dc5f   阿宝   学校管理相关接口简单对接
418
        query: {
4623f67f   梁保满   隋唐问以及教师学生设置
419
          classType: 0, //0行政 1教学班
d059a9d1   梁保满   接口调整
420
          grade: "",
23a6dc5f   阿宝   学校管理相关接口简单对接
421
          classId: "",
b8827a72   梁保满   测试bug
422
          status: 0,
23a6dc5f   阿宝   学校管理相关接口简单对接
423
424
425
          studentCode: "",
          studentName: "",
        },
dd5150c5   阿宝   数据同步
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
        formStu: {
          className: "",
          studentName: "",
          studentCode: "",
          shortNumber: "",
          sex: 1,
          clickerSn: "",
        },
        rulesStu: {
          studentName: [
            { required: true, message: "请输入学生名称", trigger: "blur" },
          ],
          studentCode: [
            { required: true, message: "请输入学生长学号", trigger: "blur" },
          ],
        },
e5e4a3e6   梁保满   v1.3
442
443
444
445
446
447
        formStuCla: {
          studentName: "",
          studentId: "",
          oldClassId: "",
          className: "",
          classId: "",
73ee590b   梁保满   学生管理问题
448
          classList: [],
e5e4a3e6   梁保满   v1.3
449
450
451
          studentCode: "",
        },
        rulesStuCla: {
8ad80958   梁保满   教师学生管理,设备状态
452
453
454
          studentName: [
            { required: true, message: "请输入学生名称", trigger: "blur" },
          ],
c8c928f4   梁保满   学生管理交互优化
455
          classId: [{ required: true, message: "请选择班级", trigger: "blur" }],
e5e4a3e6   梁保满   v1.3
456
457
458
459
          studentCode: [
            { required: true, message: "请输入学生号", trigger: "blur" },
          ],
        },
23a6dc5f   阿宝   学校管理相关接口简单对接
460
461
462
463
464
465
466
467
468
469
470
471
472
        gradeName: "",
        gradeList: [],
        classList: [],
        studentList: [],
        teacherDetail: {
          teacherName: "",
          loginName: "",
          sex: "",
          available: "",
          managerList: [],
          teacherCourseList: [],
          teacherGradeList: [],
        },
23a6dc5f   阿宝   学校管理相关接口简单对接
473
      };
23a6dc5f   阿宝   学校管理相关接口简单对接
474
    },
99713685   梁保满   学生调班,班级数据重新请求,使用过...
475
476
477
478
479
480
481
482
    computed: {
      getStuTotal: function () {
        let num = this.classList.reduce((pre, cur) => {
          return (pre += cur.studentCount);
        }, 0);
        return num;
      },
    },
23a6dc5f   阿宝   学校管理相关接口简单对接
483
    async created() {
7812e986   梁保满   班主任查看报表添加额外信息
484
      this.code = this.$store.getters.csCode;
54857fa3   梁保满   下载模板跨域,集团管理员选择角色范...
485
486
487
      this.role =
        this.$store.getters.info.showRole ||
        this.$store.getters.info.permissions[0].role;
23a6dc5f   阿宝   学校管理相关接口简单对接
488
      await this._QueryDataGrade();
560c12f2   阿宝   学校设置,软件下载
489
      await this._QueryClass();
23a6dc5f   阿宝   学校管理相关接口简单对接
490
491
492
      this._QueryData(3);
    },
    methods: {
ec6394d1   梁保满   v1.3.1。细节调整
493
494
495
      getGradeName(type) {
        return setGradeName(type);
      },
dd5150c5   阿宝   数据同步
496
      openAddDia() {
ec6394d1   梁保满   v1.3.1。细节调整
497
498
499
        if (!this.query.classId) {
          this.$message.warning("暂无班级信息,请选择或导入班级!");
          return;
84bc1b0b   梁保满   打印样式调整,添加学生钱判断有无班级
500
        }
dd5150c5   阿宝   数据同步
501
502
503
504
505
506
507
508
        this.formStu.studentName = "";
        this.formStu.studentCode = "";
        this.formStu.shortNumber = "";
        this.formStu.sex = 1;
        this.formStu.clickerSn = "";
        this.diaStu = true;
      },
      classDetail(obj) {
ae0a304c   梁保满   学生管理-显示班级基站信息
509
510
511
        this.clazzDetail.stationSn = obj.stationSn;
        this.clazzDetail.pairingCode = obj.pairingCode;
        this.clazzDetail.frequency = obj.frequency;
dd5150c5   阿宝   数据同步
512
513
        this.query.classId = obj.id;
        this.formStu.className = obj.className;
23a6dc5f   阿宝   学校管理相关接口简单对接
514
515
        this._QueryData(3);
      },
e5e4a3e6   梁保满   v1.3
516
  
c8c928f4   梁保满   学生管理交互优化
517
      async upSuccess(res) {
191d5bfa   梁保满   学生管理、基站管理下载名称设置,上...
518
519
520
        this.$message.closeAll();
        this.$message({
          showClose: true,
fc9cbff6   梁保满   上传信息显示调整
521
          message: `成功(${res.data.success})`,
191d5bfa   梁保满   学生管理、基站管理下载名称设置,上...
522
          type: "success",
54857fa3   梁保满   下载模板跨域,集团管理员选择角色范...
523
          duration: 5000,
191d5bfa   梁保满   学生管理、基站管理下载名称设置,上...
524
        });
f5729396   梁保满   批量设置答案
525
526
        //导入成功
        this.diaUp = false;
3587d377   梁保满   归档流程调整
527
        await this._QueryClazz(this.query.grade, this.query.classType);
c8c928f4   梁保满   学生管理交互优化
528
        this._QueryData();
f5729396   梁保满   批量设置答案
529
      },
e5e4a3e6   梁保满   v1.3
530
      //添加学生
225a00b6   梁保满   飞书问题解决
531
      addStu() {
dd5150c5   阿宝   数据同步
532
533
534
535
536
537
538
        let query = {};
        for (let key in this.formStu) {
          if (key != "className" && this.formStu[key]) {
            query[key] = this.formStu[key];
          }
        }
        this.loading = true;
225a00b6   梁保满   飞书问题解决
539
540
        this.$refs.formBox.validate(async (valid) => {
          if (valid) {
255e2506   梁保满   飞书bug及优化
541
542
543
            let hasName = this.studentList.find((item) => {
              return item.studentName == this.formStu.studentName;
            });
255e2506   梁保满   飞书bug及优化
544
545
            if (hasName) {
              this.$message.warning("学生姓名已存在");
4d5235d7   梁保满   学生,教师修改,顶部返回备题组卷记...
546
              this.loading = false;
255e2506   梁保满   飞书bug及优化
547
548
              return;
            }
225a00b6   梁保满   飞书问题解决
549
550
551
552
553
            const { data, status, info } = await this.$request.addStudent({
              classId: this.query.classId,
              ...query,
            });
            this.loading = false;
6bbcc7ac   梁保满   学生调班设置
554
  
225a00b6   梁保满   飞书问题解决
555
556
557
            if (status === 0) {
              this.$message.success(info);
              this.diaStu = false;
3587d377   梁保满   归档流程调整
558
              await this._QueryClazz(this.query.grade, this.query.classType);
225a00b6   梁保满   飞书问题解决
559
560
561
562
563
              this._QueryData();
            } else {
              this.$message.error(info);
            }
          } else {
4d5235d7   梁保满   学生,教师修改,顶部返回备题组卷记...
564
            this.loading = false;
225a00b6   梁保满   飞书问题解决
565
566
            this.$message.error("数据有误,请检查!");
          }
dd5150c5   阿宝   数据同步
567
        });
dd5150c5   阿宝   数据同步
568
      },
0454f787   梁保满   班级管理,班级列表修改,科目设置
569
570
571
572
573
      //学生调班轨迹
      sayChange(obj) {
        this._StudentClassLogs(obj);
        this.diaChangeClassTrack = true;
      },
e5e4a3e6   梁保满   v1.3
574
575
      //学生调班弹窗
      openChangeClazz(obj) {
c8c928f4   梁保满   学生管理交互优化
576
        this.formStuCla.classId = "";
e5e4a3e6   梁保满   v1.3
577
        this.formStuCla.studentId = obj.id;
3587d377   梁保满   归档流程调整
578
        this.formStuCla.classList = obj.classList || [];
3a9aa32b   梁保满   学生搜索调班无数据问题,使用分析默...
579
        this.formStuCla.className = obj.classList && obj.classList[0]?.className;
e5e4a3e6   梁保满   v1.3
580
581
        this.formStuCla.studentName = obj.studentName;
        this.formStuCla.studentCode = obj.studentCode;
3a9aa32b   梁保满   学生搜索调班无数据问题,使用分析默...
582
        this.formStuCla.oldClassId = obj.classList && obj.classList[0]?.id;
e5e4a3e6   梁保满   v1.3
583
        this.diaChangeClass = true;
3587d377   梁保满   归档流程调整
584
585
586
        if (this.query.grade == 80 || !this.query.grade) {
          this.changeClazz();
        }
e5e4a3e6   梁保满   v1.3
587
      },
6bbcc7ac   梁保满   学生调班设置
588
589
590
      //学生调班可选班级
      chooseClassisDisabled(classId) {
        let isDisabled = false;
73ee590b   梁保满   学生管理问题
591
592
        console.log(this.formStuCla)
        let classIds = this.formStuCla?.classList?.map((item) => item.id);
6bbcc7ac   梁保满   学生调班设置
593
594
595
596
597
        if (classId != this.formStuCla.oldClassId && classIds.includes(classId)) {
          isDisabled = true;
        }
        return isDisabled;
      },
e5e4a3e6   梁保满   v1.3
598
599
600
601
602
      //学生调班
      changeStu: _.throttle(
        function () {
          this.$refs.formStuCla.validate(async (valid) => {
            if (valid) {
c0026d5f   梁保满   科目修改,学生调班
603
604
605
606
              // if (this.formStuCla.classId == this.formStuCla.oldClassId) {
              //   this.$message.warning("班级无变更~");
              //   return;
              // }
e5e4a3e6   梁保满   v1.3
607
608
              const { data, status, info } =
                await this.$request.studentChangeClass({
8ad80958   梁保满   教师学生管理,设备状态
609
                  name: this.formStuCla.studentName,
e5e4a3e6   梁保满   v1.3
610
611
612
613
614
615
616
617
                  studentId: this.formStuCla.studentId,
                  oldClassId: this.formStuCla.oldClassId,
                  classId: this.formStuCla.classId,
                  studentCode: this.formStuCla.studentCode,
                });
              if (status == 0) {
                this.diaChangeClass = false;
                this.$message.success(info);
3587d377   梁保满   归档流程调整
618
                await this._QueryClazz(this.query.grade, this.query.classType);
e5e4a3e6   梁保满   v1.3
619
620
621
622
623
624
625
626
627
628
629
630
                this._QueryData();
              } else {
                this.$message.error(info);
              }
            } else {
              this.$message.error("数据有误请检查!");
            }
          });
        },
        2000,
        { leading: true, trailing: false }
      ),
4fab460c   梁保满   班级归档操作交互
631
  
0454f787   梁保满   班级管理,班级列表修改,科目设置
632
633
634
635
636
      //学生调班轨迹
      async _StudentClassLogs(obj) {
        this.loadingClassLogs = true;
        let { data, info, status } = await this.$request.studentClassLogs({
          studentId: obj.id,
e5e4a3e6   梁保满   v1.3
637
        });
0454f787   梁保满   班级管理,班级列表修改,科目设置
638
639
        this.loadingClassLogs = false;
        if (status == 0) {
3587d377   梁保满   归档流程调整
640
          this.formClassTrack.className = obj.classList || {};
0454f787   梁保满   班级管理,班级列表修改,科目设置
641
642
          this.formClassTrack.studentName = obj.studentName;
          this.formClassTrack.classList = (data.list && [...data.list]) || [];
e5e4a3e6   梁保满   v1.3
643
644
645
646
        } else {
          this.$message.error(info);
        }
      },
0454f787   梁保满   班级管理,班级列表修改,科目设置
647
      async removeStu(obj, index, $event) {
2e5b8dea   梁保满   分数设置修改,
648
        let query = {};
3587d377   梁保满   归档流程调整
649
        if (obj.classList && obj.classList.length == 1) {
2e5b8dea   梁保满   分数设置修改,
650
651
          query.classId = obj.classList[0].id;
        }
e5e4a3e6   梁保满   v1.3
652
        const { data, status, info } = await this.$request.delStudent({
4623f67f   梁保满   隋唐问以及教师学生设置
653
          type: this.query.classType,
e5e4a3e6   梁保满   v1.3
654
          studentId: obj.id,
2e5b8dea   梁保满   分数设置修改,
655
          ...query,
e5e4a3e6   梁保满   v1.3
656
657
658
        });
        if (status === 0) {
          this.$message.success("删除成功");
3587d377   梁保满   归档流程调整
659
          await this._QueryClazz(this.query.grade, this.query.classType);
9895b056   梁保满   无班级不去查找科目
660
661
          // this._QueryData();
          this.studentList.splice(index, 1);
e5e4a3e6   梁保满   v1.3
662
663
664
665
666
        } else {
          this.$message.error(info);
        }
      },
      async changeGrade(val) {
0454f787   梁保满   班级管理,班级列表修改,科目设置
667
        if (!val) return;
e5e4a3e6   梁保满   v1.3
668
        this.query.classId = "";
0454f787   梁保满   班级管理,班级列表修改,科目设置
669
670
        this.query.studentName = "";
        this.query.studentCode = "";
4623f67f   梁保满   隋唐问以及教师学生设置
671
672
673
674
675
  
        this.formStu.className = "";
        this.clazzDetail.stationSn = "";
        this.clazzDetail.pairingCode = "";
        this.clazzDetail.frequency = "";
c8c928f4   梁保满   学生管理交互优化
676
677
678
        if (val != 80 && val != 81) {
          await this._QueryClass(val);
        }
e5e4a3e6   梁保满   v1.3
679
680
        this._QueryData(3);
      },
b8827a72   梁保满   测试bug
681
      serQuery(type) {
23a6dc5f   阿宝   学校管理相关接口简单对接
682
        let query = {};
23a6dc5f   阿宝   学校管理相关接口简单对接
683
        if (type == 1) {
50c1482f   梁保满   授课端日志下载。学生教师管理添加全部类型
684
          this.query.classType = "";
ec6394d1   梁保满   v1.3.1。细节调整
685
          this.query.classId = "";
23a6dc5f   阿宝   学校管理相关接口简单对接
686
          this.query.studentCode = "";
d059a9d1   梁保满   接口调整
687
          this.query.grade = "";
a0f751c7   梁保满   学生查询条件
688
          query.studentName = this.query.studentName;
c8c928f4   梁保满   学生管理交互优化
689
          query.status = 9;
23a6dc5f   阿宝   学校管理相关接口简单对接
690
        } else if (type == 2) {
50c1482f   梁保满   授课端日志下载。学生教师管理添加全部类型
691
          this.query.classType = "";
ec6394d1   梁保满   v1.3.1。细节调整
692
          this.query.classId = "";
23a6dc5f   阿宝   学校管理相关接口简单对接
693
          this.query.studentName = "";
d059a9d1   梁保满   接口调整
694
          this.query.grade = "";
a0f751c7   梁保满   学生查询条件
695
          query.studentCode = this.query.studentCode;
c8c928f4   梁保满   学生管理交互优化
696
          query.status = 9;
23a6dc5f   阿宝   学校管理相关接口简单对接
697
698
699
        } else if (type == 3) {
          this.query.studentName = "";
          this.query.studentCode = "";
c8c928f4   梁保满   学生管理交互优化
700
          if (this.query.grade == 80) {
86e47820   梁保满   科目添加删除操作,教师角色选择。学...
701
            this.query.classId = "";
c8c928f4   梁保满   学生管理交互优化
702
703
            query.status = -1;
          } else if (this.query.grade == 81) {
86e47820   梁保满   科目添加删除操作,教师角色选择。学...
704
            this.query.classId = "";
c8c928f4   梁保满   学生管理交互优化
705
            query.status = 2;
b8827a72   梁保满   测试bug
706
          } else {
b8827a72   梁保满   测试bug
707
708
709
            query.grade = this.query.grade;
            query.classId = this.query.classId;
          }
225a00b6   梁保满   飞书问题解决
710
        } else {
c8c928f4   梁保满   学生管理交互优化
711
          query = { ...this.query };
23a6dc5f   阿宝   学校管理相关接口简单对接
712
        }
b8827a72   梁保满   测试bug
713
714
715
        return query;
      },
      async _QueryData(type) {
5cfb0264   梁保满   班级管理交互优化
716
717
718
719
720
721
722
723
724
725
726
        if (type == 1) {
          if (!this.query.studentName) {
            this.$message.warning("输入学生姓名~");
            return;
          }
        } else if (type == 2) {
          if (!this.query.studentCode) {
            this.$message.warning("输入学生学号~");
            return;
          }
        }
b8827a72   梁保满   测试bug
727
        let query = this.serQuery(type);
23a6dc5f   阿宝   学校管理相关接口简单对接
728
        this.loading = true;
99713685   梁保满   学生调班,班级数据重新请求,使用过...
729
        this.studentList = [];
23a6dc5f   阿宝   学校管理相关接口简单对接
730
        const { data, status, info } = await this.$request.studentList({
4623f67f   梁保满   隋唐问以及教师学生设置
731
          type: this.query.classType,
23a6dc5f   阿宝   学校管理相关接口简单对接
732
733
734
          ...query,
        });
        this.loading = false;
6bbcc7ac   梁保满   学生调班设置
735
  
23a6dc5f   阿宝   学校管理相关接口简单对接
736
        if (status === 0) {
b8827a72   梁保满   测试bug
737
          this.studentList = (data.list && [...data?.list]) || [];
23a6dc5f   阿宝   学校管理相关接口简单对接
738
739
740
741
742
        } else {
          this.$message.error(info);
        }
      },
      async _QueryDataGrade() {
23a6dc5f   阿宝   学校管理相关接口简单对接
743
744
745
746
747
        const { data, status, info } = await this.$request.gradeList();
        if (status === 0) {
          this.gradeList =
            data.list?.map((item) => {
              return {
d059a9d1   梁保满   接口调整
748
                value: item.grade,
23a6dc5f   阿宝   学校管理相关接口简单对接
749
750
751
                label: item.gradeName,
              };
            }) || [];
d059a9d1   梁保满   接口调整
752
          this.query.grade = this.gradeList[0]?.value;
23a6dc5f   阿宝   学校管理相关接口简单对接
753
754
755
756
757
        } else {
          this.$message.error(info);
        }
      },
      async _QueryClass(value) {
b8827a72   梁保满   测试bug
758
        this.loading = true;
99713685   梁保满   学生调班,班级数据重新请求,使用过...
759
        this.classList = [];
23a6dc5f   阿宝   学校管理相关接口简单对接
760
        const { data, status, info } = await this.$request.schoolClassList({
d059a9d1   梁保满   接口调整
761
          grade: value || this.query.grade,
b0cd2598   梁保满   fix:测试问题
762
          type: this.query.classType,
23a6dc5f   阿宝   学校管理相关接口简单对接
763
764
        });
        if (status === 0) {
b8827a72   梁保满   测试bug
765
          this.classList = (data.list && [...data?.list]) || [];
560c12f2   阿宝   学校设置,软件下载
766
          this.query.classId = this.classList[0]?.id;
dd5150c5   阿宝   数据同步
767
          this.formStu.className = this.classList[0]?.className;
ae0a304c   梁保满   学生管理-显示班级基站信息
768
769
770
          this.clazzDetail.stationSn = this.classList[0]?.stationSn;
          this.clazzDetail.pairingCode = this.classList[0]?.pairingCode;
          this.clazzDetail.frequency = this.classList[0]?.frequency;
23a6dc5f   阿宝   学校管理相关接口简单对接
771
772
773
774
        } else {
          this.$message.error(info);
        }
      },
3587d377   梁保满   归档流程调整
775
776
777
      changeClazz() {
        let grade = "";
        let classType = "";
73ee590b   梁保满   学生管理问题
778
        this.formStuCla.classList?.map((item) => {
3587d377   梁保满   归档流程调整
779
          if (this.formStuCla.oldClassId == item.id) {
3587d377   梁保满   归档流程调整
780
781
782
783
784
785
786
            classType = item.classType;
            grade = item.grade;
          }
        });
        this._QueryClazz(grade, classType);
      },
      async _QueryClazz(value, classType) {
99713685   梁保满   学生调班,班级数据重新请求,使用过...
787
        this.classList = [];
3587d377   梁保满   归档流程调整
788
789
790
        let query = {};
        value !== "" ? (query.grade = value) : "";
        classType !== "" ? (query.type = classType) : "";
99713685   梁保满   学生调班,班级数据重新请求,使用过...
791
        const { data, status, info } = await this.$request.schoolClassList({
3587d377   梁保满   归档流程调整
792
          ...query,
99713685   梁保满   学生调班,班级数据重新请求,使用过...
793
794
795
        });
        if (status === 0) {
          this.classList = (data.list && [...data?.list]) || [];
99713685   梁保满   学生调班,班级数据重新请求,使用过...
796
797
798
799
        } else {
          this.$message.error(info);
        }
      },
54857fa3   梁保满   下载模板跨域,集团管理员选择角色范...
800
      async downExcel() {
e371f2dc   梁保满   软件下载,学校,班级老师等报表导入...
801
802
803
804
805
        this.loadingDown = true;
        let { data, info, status } =
          await this.$request.studentClickerTemplateUrl();
        this.loadingDown = false;
        if (status == 0) {
54857fa3   梁保满   下载模板跨域,集团管理员选择角色范...
806
807
808
809
810
          const a = document.createElement("a");
          a.href = data.downloadUrl;
          document.body.appendChild(a);
          a.click();
          a.remove();
e371f2dc   梁保满   软件下载,学校,班级老师等报表导入...
811
812
813
814
        } else {
          this.$message.error(info);
        }
      },
23a6dc5f   阿宝   学校管理相关接口简单对接
815
816
    },
  };
4c4f7640   梁保满   路由表,路由前端文件
817
818
  </script>
  
23a6dc5f   阿宝   学校管理相关接口简单对接
819
820
  <style lang="scss" scoped>
  .page-content {
ec6394d1   梁保满   v1.3.1。细节调整
821
    padding: 0 20px;
23a6dc5f   阿宝   学校管理相关接口简单对接
822
  }
8ad80958   梁保满   教师学生管理,设备状态
823
  
e5e4a3e6   梁保满   v1.3
824
825
826
827
828
829
830
  .tips {
    display: flex;
    line-height: 16px;
    font-size: 14px;
    color: #999;
    margin-bottom: 10px;
  }
8ad80958   梁保满   教师学生管理,设备状态
831
  
99713685   梁保满   学生调班,班级数据重新请求,使用过...
832
833
834
835
836
  .total {
    padding: 0 20px 10px;
    font-size: 14px;
    color: #666;
  }
8ad80958   梁保满   教师学生管理,设备状态
837
  
23a6dc5f   阿宝   学校管理相关接口简单对接
838
839
840
841
842
  .stu-box {
    display: flex;
    background: #f8f8f8;
    border-radius: 10px;
    overflow: hidden;
8ad80958   梁保满   教师学生管理,设备状态
843
  
ae0a304c   梁保满   学生管理-显示班级基站信息
844
    .answer-header {
e5e4a3e6   梁保满   v1.3
845
      padding-top: 10px;
ae0a304c   梁保满   学生管理-显示班级基站信息
846
    }
8ad80958   梁保满   教师学生管理,设备状态
847
  
23a6dc5f   阿宝   学校管理相关接口简单对接
848
    .stu-list {
0454f787   梁保满   班级管理,班级列表修改,科目设置
849
      min-width: 200px;
23a6dc5f   阿宝   学校管理相关接口简单对接
850
      max-height: 80vh;
cce95213   梁保满   学生管理班级列表滑动
851
      overflow-y: auto;
23a6dc5f   阿宝   学校管理相关接口简单对接
852
853
      .h-title {
        height: 40px;
23a6dc5f   阿宝   学校管理相关接口简单对接
854
855
856
        line-height: 40px;
        background: #eee;
      }
8ad80958   梁保满   教师学生管理,设备状态
857
  
23a6dc5f   阿宝   学校管理相关接口简单对接
858
859
860
861
862
863
864
      .stu-item {
        font-size: 16px;
        color: #7f7f7f;
        line-height: 36px;
        cursor: pointer;
        padding-left: 12px;
        position: relative;
8ad80958   梁保满   教师学生管理,设备状态
865
  
23a6dc5f   阿宝   学校管理相关接口简单对接
866
867
868
        .el-icon-edit-outline {
          position: absolute;
          top: 8px;
e5e4a3e6   梁保满   v1.3
869
          right: 4px;
23a6dc5f   阿宝   学校管理相关接口简单对接
870
871
          font-size: 20px;
          display: none;
8ad80958   梁保满   教师学生管理,设备状态
872
  
23a6dc5f   阿宝   学校管理相关接口简单对接
873
874
875
876
          &:hover {
            color: #667ffd;
          }
        }
8ad80958   梁保满   教师学生管理,设备状态
877
  
e5e4a3e6   梁保满   v1.3
878
879
880
881
882
883
884
        .popconfirm-box {
          position: absolute;
          top: 6px;
          right: 31px;
          font-size: 17px;
          line-height: 24px;
          display: none;
8ad80958   梁保满   教师学生管理,设备状态
885
  
e5e4a3e6   梁保满   v1.3
886
887
888
889
          &:hover {
            color: #667ffd;
          }
        }
8ad80958   梁保满   教师学生管理,设备状态
890
  
23a6dc5f   阿宝   学校管理相关接口简单对接
891
892
        &:hover {
          background: #eee;
8ad80958   梁保满   教师学生管理,设备状态
893
  
23a6dc5f   阿宝   学校管理相关接口简单对接
894
895
896
          .el-icon-edit-outline {
            display: block;
          }
8ad80958   梁保满   教师学生管理,设备状态
897
  
e5e4a3e6   梁保满   v1.3
898
899
900
          .popconfirm-box {
            display: block;
          }
23a6dc5f   阿宝   学校管理相关接口简单对接
901
        }
8ad80958   梁保满   教师学生管理,设备状态
902
  
23a6dc5f   阿宝   学校管理相关接口简单对接
903
904
        &.active {
          color: #667ffd;
6d7bd862   梁保满   飞书bug
905
          background: #eee;
23a6dc5f   阿宝   学校管理相关接口简单对接
906
907
        }
      }
8ad80958   梁保满   教师学生管理,设备状态
908
  
23a6dc5f   阿宝   学校管理相关接口简单对接
909
910
      .sel {
        width: 180px;
8ad80958   梁保满   教师学生管理,设备状态
911
  
23a6dc5f   阿宝   学校管理相关接口简单对接
912
913
914
915
916
917
        :deep(.el-input__inner) {
          font-size: 16px;
          padding-left: 0;
          border: none;
          background: transparent;
        }
8ad80958   梁保满   教师学生管理,设备状态
918
  
23a6dc5f   阿宝   学校管理相关接口简单对接
919
920
921
922
923
        :deep(.el-icon-arrow-up:before) {
          content: "\e78f";
        }
      }
    }
8ad80958   梁保满   教师学生管理,设备状态
924
  
23a6dc5f   阿宝   学校管理相关接口简单对接
925
926
927
    .stu-detail {
      flex: 1;
      border-left: 0.5px solid #eee;
b8827a72   梁保满   测试bug
928
      min-height: 200px;
8ad80958   梁保满   教师学生管理,设备状态
929
  
b8827a72   梁保满   测试bug
930
      &-tit {
d059a9d1   梁保满   接口调整
931
932
933
        display: flex;
        justify-content: space-between;
      }
99713685   梁保满   学生调班,班级数据重新请求,使用过...
934
  
23a6dc5f   阿宝   学校管理相关接口简单对接
935
936
937
      .s-ul {
        display: flex;
        flex-wrap: wrap;
99713685   梁保满   学生调班,班级数据重新请求,使用过...
938
        padding: 12px 0 0 20px;
8ad80958   梁保满   教师学生管理,设备状态
939
  
23a6dc5f   阿宝   学校管理相关接口简单对接
940
        .s-li {
0454f787   梁保满   班级管理,班级列表修改,科目设置
941
          position: relative;
23a6dc5f   阿宝   学校管理相关接口简单对接
942
          box-shadow: 2px 2px 5px #7f7f7f;
23a6dc5f   阿宝   学校管理相关接口简单对接
943
          margin: 0 20px 20px 0;
8ad80958   梁保满   教师学生管理,设备状态
944
  
0454f787   梁保满   班级管理,班级列表修改,科目设置
945
          .s-li-box {
c8c928f4   梁保满   学生管理交互优化
946
            width: 160px;
0454f787   梁保满   班级管理,班级列表修改,科目设置
947
948
949
950
951
            border-radius: 10px;
            min-height: 120px;
            padding: 0 12px 5px;
            cursor: pointer;
          }
8ad80958   梁保满   教师学生管理,设备状态
952
  
e5e4a3e6   梁保满   v1.3
953
954
955
956
957
958
959
960
961
          .el-icon-user-solid {
            position: absolute;
            top: 8px;
            left: 8px;
            font-size: 18px;
            color: #666;
            padding: 2px;
            display: none;
            cursor: pointer;
8ad80958   梁保满   教师学生管理,设备状态
962
  
e5e4a3e6   梁保满   v1.3
963
964
965
966
            &:hover {
              color: #667ffd;
            }
          }
8ad80958   梁保满   教师学生管理,设备状态
967
  
23a6dc5f   阿宝   学校管理相关接口简单对接
968
969
970
971
972
973
974
975
          .el-icon-delete {
            position: absolute;
            top: 8px;
            right: 8px;
            font-size: 18px;
            padding: 2px;
            display: none;
            cursor: pointer;
8ad80958   梁保满   教师学生管理,设备状态
976
  
23a6dc5f   阿宝   学校管理相关接口简单对接
977
978
979
980
            &:hover {
              color: #667ffd;
            }
          }
8ad80958   梁保满   教师学生管理,设备状态
981
  
23a6dc5f   阿宝   学校管理相关接口简单对接
982
          &:hover {
e5e4a3e6   梁保满   v1.3
983
984
985
            .el-icon-user-solid {
              display: block;
            }
8ad80958   梁保满   教师学生管理,设备状态
986
  
23a6dc5f   阿宝   学校管理相关接口简单对接
987
988
989
990
            .el-icon-delete {
              display: block;
            }
          }
8ad80958   梁保满   教师学生管理,设备状态
991
  
23a6dc5f   阿宝   学校管理相关接口简单对接
992
993
994
995
996
997
          .name {
            text-align: center;
            font-size: 16px;
            line-height: 18px;
            padding: 10px 0;
          }
8ad80958   梁保满   教师学生管理,设备状态
998
  
23a6dc5f   阿宝   学校管理相关接口简单对接
999
1000
1001
1002
          .p1 {
            color: #7f7f7f;
            line-height: 20px;
            padding-bottom: 5px;
45b98e8e   LH_PC   fix:修复年级组长打印,班主任最...
1003
            overflow-wrap:anywhere;
23a6dc5f   阿宝   学校管理相关接口简单对接
1004
          }
8ad80958   梁保满   教师学生管理,设备状态
1005
  
ec6394d1   梁保满   v1.3.1。细节调整
1006
1007
1008
1009
1010
          .p2 {
            color: #333;
            line-height: 20px;
            padding-bottom: 5px;
          }
23a6dc5f   阿宝   学校管理相关接口简单对接
1011
1012
1013
        }
      }
    }
8ad80958   梁保满   教师学生管理,设备状态
1014
  
ae0a304c   梁保满   学生管理-显示班级基站信息
1015
1016
    .clazz-detail {
      display: flex;
99713685   梁保满   学生调班,班级数据重新请求,使用过...
1017
      padding: 12px 12px 0 20px;
8ad80958   梁保满   教师学生管理,设备状态
1018
  
ae0a304c   梁保满   学生管理-显示班级基站信息
1019
1020
1021
1022
1023
      p {
        margin-right: 16px;
        color: #666;
      }
    }
23a6dc5f   阿宝   学校管理相关接口简单对接
1024
  }
4c4f7640   梁保满   路由表,路由前端文件
1025
  </style>