|
@@ -27,7 +27,7 @@
|
|
|
课程
|
|
|
<tr>
|
|
|
<template v-for="(d, dindex) in getBatchDayList(b, type.code)">
|
|
|
- <td :key="`date-${dindex}`" class="out" style="display: grid;width:75px;" :style="{ background: getColor(d, dindex, b) }">
|
|
|
+ <td :key="`date-${dindex}`" class="out" style="display: grid;width:210px;" :style="{ background: getColor(d, dindex, b) }">
|
|
|
{{ getLesson(d, b) }}
|
|
|
</td>
|
|
|
</template>
|
|
@@ -81,6 +81,20 @@
|
|
|
</template>
|
|
|
</template>
|
|
|
</tr>
|
|
|
+ <tr>
|
|
|
+ <template v-for="(b, bindex) in getBatchData(type.code)">
|
|
|
+ <td :key="`headteacher${bindex}`" colspan="3" :style="{ borderLeft: `${bindex !== '0' ? '1px solid' : '0'}`, height: '60px' }">日间助教</td>
|
|
|
+ <template v-for="(c, cindex) in b.class">
|
|
|
+ <td :key="`classheadteacher${bindex}-${cindex}`" style="border-left:1px solid" :style="computedTeacherTdWidth(null, c)" @click="clickClass(c)">
|
|
|
+ {{ c.rjteacher }} <br />
|
|
|
+ <span style="font-size:14px">{{ getDirTeaTel(c.rjteacherid, 'both') }}</span> <br />
|
|
|
+ <el-link v-if="checkMsgDirTea(c, 'rjteacher')" :type="checkMsgDirTea(c, 'rjteacher')" :underline="false" style="font-weight: 600;">
|
|
|
+ {{ getMsgWord(checkMsgDirTea(c, 'rjteacher')) }}
|
|
|
+ </el-link>
|
|
|
+ </td>
|
|
|
+ </template>
|
|
|
+ </template>
|
|
|
+ </tr>
|
|
|
<tr>
|
|
|
<template v-for="(b, bindex) in getBatchData(type.code)">
|
|
|
<td :key="`headteacher${bindex}`" colspan="3" :style="{ borderLeft: `${bindex !== '0' ? '1px solid' : '0'}`, height: '40px' }">教室地点</td>
|
|
@@ -298,11 +312,21 @@ export default {
|
|
|
// 班主任,礼仪课教师,教室名称,开班地点,拓展训练地点,用餐地点
|
|
|
let headteacher = _.get(cla, 'headteacher', '');
|
|
|
let lyteacher = _.get(cla, 'lyteacher', '');
|
|
|
+ let rjteacher = _.get(cla, 'rjteacher', '');
|
|
|
let jslocation = _.get(cla, 'jslocation', '');
|
|
|
let kbyslocation = _.get(cla, 'kbyslocation', '');
|
|
|
let kzjhlocation = _.get(cla, 'kzjhlocation', '');
|
|
|
let yclocation = _.get(cla, 'yclocation', '');
|
|
|
- let claArr = [cname.lenth, headteacher.lenth, lyteacher.length, jslocation.length, kbyslocation.length, kzjhlocation.length, yclocation.length];
|
|
|
+ let claArr = [
|
|
|
+ cname.lenth,
|
|
|
+ headteacher.lenth,
|
|
|
+ lyteacher.length,
|
|
|
+ rjteacher.length,
|
|
|
+ jslocation.length,
|
|
|
+ kbyslocation.length,
|
|
|
+ kzjhlocation.length,
|
|
|
+ yclocation.length,
|
|
|
+ ];
|
|
|
claArr = claArr.sort((a, b) => b - a);
|
|
|
let unit = 5;
|
|
|
const { lesson } = cla;
|