交通班级一人一档修改

dev
zhangyanli 2024-05-20 17:58:11 +08:00
parent 7e2fdc7acc
commit 1aba082ea7
2 changed files with 40 additions and 13 deletions

View File

@ -41,7 +41,7 @@
<td class="title"> <td class="title">
<viewer v-if="item.SIGNATURE_PATH"> <viewer v-if="item.SIGNATURE_PATH">
<img <img
:src="FILE_URL.fileUrl + item.SIGNATURE_PATH" :src="FILE_URL + item.SIGNATURE_PATH"
alt="" alt=""
width="80" width="80"
height="50" height="50"
@ -64,9 +64,7 @@
" "
> >
<img <img
:src=" :src="FILE_URL + data.students[index + 1].SIGNATURE_PATH"
FILE_URL.fileUrl + data.students[index + 1].SIGNATURE_PATH
"
alt="" alt=""
width="80" width="80"
height="50" height="50"
@ -90,9 +88,7 @@
" "
> >
<img <img
:src=" :src="FILE_URL + data.students[index + 2].SIGNATURE_PATH"
FILE_URL.fileUrl + data.students[index + 2].SIGNATURE_PATH
"
alt="" alt=""
width="80" width="80"
height="50" height="50"

View File

@ -181,15 +181,29 @@
<tr> <tr>
<td>序号</td> <td>序号</td>
<td>课程内容</td> <td>课程内容</td>
<td>课时</td> <td
v-if="
data.classInfo.TRAINTYPE === 'bd2a3b7767db49968e26cfccc3c2b4a4'
"
>
学时
</td>
<td v-else></td>
<td>讲师</td> <td>讲师</td>
</tr> </tr>
<tbody> <tbody>
<tr v-for="(item, index) in data.videoList" :key="index"> <tr v-for="(item, index) in data.videoList" :key="index">
<td>{{ index + 1 }}</td> <td>{{ index + 1 }}</td>
<td>{{ item.COURSEWARENAME }}</td> <td>{{ item.COURSEWARENAME }}</td>
<!--<td>{{ item.CLASSHOUR }}</td>--> <td
<td>1</td> v-if="
data.classInfo.TRAINTYPE ===
'bd2a3b7767db49968e26cfccc3c2b4a4'
"
>
{{ item.CLASSHOUR }}
</td>
<td v-else>1</td>
<td>{{ item.TEACHERNAME }}</td> <td>{{ item.TEACHERNAME }}</td>
</tr> </tr>
</tbody> </tbody>
@ -417,7 +431,7 @@
data.classInfo.POSTTYPE === 'bb5170f52dcd4183aa67a2053163ae29' data.classInfo.POSTTYPE === 'bb5170f52dcd4183aa67a2053163ae29'
" "
> >
生产经营单位从业人员{{ classInfo.POSTTYPE_NAME }}考核记录 生产经营单位从业人员{{ data.classInfo.POSTTYPE_NAME }}考核记录
</template> </template>
<!-- 培训类型是交通运输 end--> <!-- 培训类型是交通运输 end-->
</h2> </h2>
@ -627,7 +641,15 @@
" "
/> />
<tr> <tr>
<td style="text-align: center">应学课时</td> <td
v-if="
data.classInfo.TRAINTYPE === 'bd2a3b7767db49968e26cfccc3c2b4a4'
"
style="text-align: center"
>
应学学时
</td>
<td v-else style="text-align: center">应学课时</td>
<td width="240px"> <td width="240px">
{{ {{
data.learningRecord.SUM_CLASSHOUR === 0.0 data.learningRecord.SUM_CLASSHOUR === 0.0
@ -635,7 +657,16 @@
: parseFloat(data.learningRecord.SUM_CLASSHOUR).toFixed(2) : parseFloat(data.learningRecord.SUM_CLASSHOUR).toFixed(2)
}} }}
</td> </td>
<td width="240px" style="text-align: center">已学课时</td> <td
v-if="
data.classInfo.TRAINTYPE === 'bd2a3b7767db49968e26cfccc3c2b4a4'
"
width="240px"
style="text-align: center"
>
已学学时
</td>
<td v-else width="240px" style="text-align: center">已学课时</td>
<td width="240px"> <td width="240px">
{{ {{
data.learningRecord.COMPLETE_CLASSHOUR === 0.0 data.learningRecord.COMPLETE_CLASSHOUR === 0.0