|  | @@ -4,16 +4,16 @@
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      <div class="task-detail-main">
 | 
	
		
			
				|  |  |        <div class="time-type">
 | 
	
		
			
				|  |  | -        {{ timeType }}任务 {{ name }}
 | 
	
		
			
				|  |  | +        {{ $t(timeType) }} {{ name }}
 | 
	
		
			
				|  |  |        </div>
 | 
	
		
			
				|  |  |        <div class="time-interval">
 | 
	
		
			
				|  |  |          {{ time_space_view_txt }}
 | 
	
		
			
				|  |  |        </div>
 | 
	
		
			
				|  |  |        <div class="task-require">
 | 
	
		
			
				|  |  | -        <span class="label">任务要求</span>{{ content }}
 | 
	
		
			
				|  |  | +        <span class="label">{{ $t('Key326') }}</span>{{ content }}
 | 
	
		
			
				|  |  |        </div>
 | 
	
		
			
				|  |  |        <div class="task-courseware">
 | 
	
		
			
				|  |  | -        <span class="label">课件任务</span>
 | 
	
		
			
				|  |  | +        <span class="label">{{ $t('Key312') }}</span>
 | 
	
		
			
				|  |  |          <div>
 | 
	
		
			
				|  |  |            <el-tag
 | 
	
		
			
				|  |  |              v-for="item in courseware_list"
 | 
	
	
		
			
				|  | @@ -28,7 +28,7 @@
 | 
	
		
			
				|  |  |          </div>
 | 
	
		
			
				|  |  |        </div>
 | 
	
		
			
				|  |  |        <div class="accessory-list">
 | 
	
		
			
				|  |  | -        <span class="label">文档列表</span>
 | 
	
		
			
				|  |  | +        <span class="label">{{ $t('Key313') }}</span>
 | 
	
		
			
				|  |  |          <div>
 | 
	
		
			
				|  |  |            <el-tag v-for="item in accessory_list" :key="item.file_id" color="#fff" :title="item.file_name">
 | 
	
		
			
				|  |  |              <span @click="viewFile(item.file_name, item.file_id)">{{ item.file_name }}</span>
 | 
	
	
		
			
				|  | @@ -39,7 +39,7 @@
 | 
	
		
			
				|  |  |        <template v-if="my_execute_info.is_finished === 'true'">
 | 
	
		
			
				|  |  |          <div class="teacher-commenting">
 | 
	
		
			
				|  |  |            <div class="single-line">
 | 
	
		
			
				|  |  | -            <span class="label">作业</span>
 | 
	
		
			
				|  |  | +            <span class="label">{{ $t('Key327') }}</span>
 | 
	
		
			
				|  |  |              <div>
 | 
	
		
			
				|  |  |                <el-tag
 | 
	
		
			
				|  |  |                  v-for="item in my_execute_info.homework_list"
 | 
	
	
		
			
				|  | @@ -52,19 +52,19 @@
 | 
	
		
			
				|  |  |              </div>
 | 
	
		
			
				|  |  |            </div>
 | 
	
		
			
				|  |  |            <div v-if="teaching_type === 10" class="single-line">
 | 
	
		
			
				|  |  | -            <span class="label">学员课后评价</span>
 | 
	
		
			
				|  |  | +            <span class="label">{{ $t('Key316') }}</span>
 | 
	
		
			
				|  |  |              <el-input v-model="my_execute_info.student_remark" disabled type="textarea" resize="none" :rows="6" />
 | 
	
		
			
				|  |  |            </div>
 | 
	
		
			
				|  |  |            <div v-if="teaching_type === 10" class="single-line">
 | 
	
		
			
				|  |  | -            <span class="label">学员课后评分</span>
 | 
	
		
			
				|  |  | +            <span class="label">{{ $t('Key317') }}</span>
 | 
	
		
			
				|  |  |              <el-rate v-model="my_execute_info.student_score" disabled />
 | 
	
		
			
				|  |  |            </div>
 | 
	
		
			
				|  |  |            <div class="single-line">
 | 
	
		
			
				|  |  | -            <span class="label">给教师留言</span>
 | 
	
		
			
				|  |  | +            <span class="label">{{ $t('Key328') }}</span>
 | 
	
		
			
				|  |  |              <el-input v-model="my_execute_info.student_message" disabled type="textarea" resize="none" :rows="6" />
 | 
	
		
			
				|  |  |            </div>
 | 
	
		
			
				|  |  |            <div class="single-line">
 | 
	
		
			
				|  |  | -            <span class="label">教师点评</span>
 | 
	
		
			
				|  |  | +            <span class="label">{{ $t('Key318') }}</span>
 | 
	
		
			
				|  |  |              <el-rate v-model="my_execute_info.teacher_score" disabled />
 | 
	
		
			
				|  |  |              <span class="teacher_remark">{{ my_execute_info.teacher_remark }}</span>
 | 
	
		
			
				|  |  |            </div>
 | 
	
	
		
			
				|  | @@ -74,28 +74,28 @@
 | 
	
		
			
				|  |  |        <template v-else-if="teaching_type === 10">
 | 
	
		
			
				|  |  |          <div class="live-info">
 | 
	
		
			
				|  |  |            <div class="single-line">
 | 
	
		
			
				|  |  | -            <span class="enter-live" @click="enterLive"><svg-icon icon-class="video-red" /> 点击进入直播间</span>
 | 
	
		
			
				|  |  | +            <span class="enter-live" @click="enterLive"><svg-icon icon-class="video-red" /> {{ $t('Key329') }}</span>
 | 
	
		
			
				|  |  |            </div>
 | 
	
		
			
				|  |  |            <div class="single-line">
 | 
	
		
			
				|  |  | -            <span class="label">学员课后评价</span>
 | 
	
		
			
				|  |  | +            <span class="label">{{ $t('Key316') }}</span>
 | 
	
		
			
				|  |  |              <el-input v-model="student_remark" type="textarea" resize="none" :rows="6" />
 | 
	
		
			
				|  |  |            </div>
 | 
	
		
			
				|  |  |            <div class="single-line">
 | 
	
		
			
				|  |  | -            <span class="label">学员课后评分</span>
 | 
	
		
			
				|  |  | +            <span class="label">{{ $t('Key317') }}</span>
 | 
	
		
			
				|  |  |              <el-rate v-model="student_score" />
 | 
	
		
			
				|  |  |            </div>
 | 
	
		
			
				|  |  |            <div class="confirm single-line">
 | 
	
		
			
				|  |  |              <el-button type="primary" @click="fillTaskExecuteInfo_Student_live">
 | 
	
		
			
				|  |  | -              提交
 | 
	
		
			
				|  |  | +              {{ $t('Key319') }}
 | 
	
		
			
				|  |  |              </el-button>
 | 
	
		
			
				|  |  |            </div>
 | 
	
		
			
				|  |  |          </div>
 | 
	
		
			
				|  |  |        </template>
 | 
	
		
			
				|  |  |        <template v-else>
 | 
	
		
			
				|  |  |          <div class="submit-homework">
 | 
	
		
			
				|  |  | -          <span class="label">提交作业</span>
 | 
	
		
			
				|  |  | +          <span class="label">{{ $t('Key330') }}</span>
 | 
	
		
			
				|  |  |            <el-upload action="no" :http-request="upload" multiple :show-file-list="false">
 | 
	
		
			
				|  |  | -            <el-button><svg-icon icon-class="upload" /> 上传文件</el-button>
 | 
	
		
			
				|  |  | +            <el-button><svg-icon icon-class="upload" /> {{ $t('Key192') }}</el-button>
 | 
	
		
			
				|  |  |            </el-upload>
 | 
	
		
			
				|  |  |          </div>
 | 
	
		
			
				|  |  |          <div class="file-list">
 | 
	
	
		
			
				|  | @@ -111,12 +111,12 @@
 | 
	
		
			
				|  |  |            </el-tag>
 | 
	
		
			
				|  |  |          </div>
 | 
	
		
			
				|  |  |          <div class="leave-message">
 | 
	
		
			
				|  |  | -          <span class="label">给教师留言</span>
 | 
	
		
			
				|  |  | +          <span class="label">{{ $t('Key328') }}</span>
 | 
	
		
			
				|  |  |            <el-input v-model="student_message" type="textarea" resize="none" :rows="6" />
 | 
	
		
			
				|  |  |          </div>
 | 
	
		
			
				|  |  |          <div class="submit-button">
 | 
	
		
			
				|  |  |            <el-button type="primary" @click="fillTaskExecuteInfo_Student">
 | 
	
		
			
				|  |  | -            完成任务
 | 
	
		
			
				|  |  | +            {{ $t('Key331') }}
 | 
	
		
			
				|  |  |            </el-button>
 | 
	
		
			
				|  |  |          </div>
 | 
	
		
			
				|  |  |        </template>
 | 
	
	
		
			
				|  | @@ -199,17 +199,44 @@ export default {
 | 
	
		
			
				|  |  |      timeType() {
 | 
	
		
			
				|  |  |        switch (this.time_type) {
 | 
	
		
			
				|  |  |          case 0:
 | 
	
		
			
				|  |  | -          return '课前';
 | 
	
		
			
				|  |  | +          return 'Key353';
 | 
	
		
			
				|  |  |          case 1:
 | 
	
		
			
				|  |  | -          return '课中';
 | 
	
		
			
				|  |  | +          return 'Key354';
 | 
	
		
			
				|  |  |          case 2:
 | 
	
		
			
				|  |  | -          return '课后';
 | 
	
		
			
				|  |  | +          return 'Key355';
 | 
	
		
			
				|  |  |          default:
 | 
	
		
			
				|  |  |            return '';
 | 
	
		
			
				|  |  |        }
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |    },
 | 
	
		
			
				|  |  |    created() {
 | 
	
		
			
				|  |  | +    this.updateWordPack({
 | 
	
		
			
				|  |  | +      word_key_list: [
 | 
	
		
			
				|  |  | +        'Key353',
 | 
	
		
			
				|  |  | +        'Key354',
 | 
	
		
			
				|  |  | +        'Key355',
 | 
	
		
			
				|  |  | +        'Key326',
 | 
	
		
			
				|  |  | +        'Key312',
 | 
	
		
			
				|  |  | +        'Key313',
 | 
	
		
			
				|  |  | +        'Key327',
 | 
	
		
			
				|  |  | +        'Key316',
 | 
	
		
			
				|  |  | +        'Key317',
 | 
	
		
			
				|  |  | +        'Key328',
 | 
	
		
			
				|  |  | +        'Key318',
 | 
	
		
			
				|  |  | +        'Key329',
 | 
	
		
			
				|  |  | +        'Key316',
 | 
	
		
			
				|  |  | +        'Key317',
 | 
	
		
			
				|  |  | +        'Key319',
 | 
	
		
			
				|  |  | +        'Key330',
 | 
	
		
			
				|  |  | +        'Key192',
 | 
	
		
			
				|  |  | +        'Key328',
 | 
	
		
			
				|  |  | +        'Key331',
 | 
	
		
			
				|  |  | +        'Key335',
 | 
	
		
			
				|  |  | +        'Key336',
 | 
	
		
			
				|  |  | +        'Key337',
 | 
	
		
			
				|  |  | +        'Key338'
 | 
	
		
			
				|  |  | +      ]
 | 
	
		
			
				|  |  | +    });
 | 
	
		
			
				|  |  |      this.loading = true;
 | 
	
		
			
				|  |  |      GetTaskInfo({
 | 
	
		
			
				|  |  |        id: this.id,
 | 
	
	
		
			
				|  | @@ -257,7 +284,7 @@ export default {
 | 
	
		
			
				|  |  |      upload(file) {
 | 
	
		
			
				|  |  |        let fileName = file.file.name;
 | 
	
		
			
				|  |  |        if (!isAllowFileType(fileName)) {
 | 
	
		
			
				|  |  | -        this.$message.warning(`文件:【${fileName}】文件类型,不允许上传`);
 | 
	
		
			
				|  |  | +        this.$message.warning(`【${fileName}】${this.$i18n.t('Key335')}`);
 | 
	
		
			
				|  |  |          return;
 | 
	
		
			
				|  |  |        }
 | 
	
		
			
				|  |  |  
 | 
	
	
		
			
				|  | @@ -301,7 +328,7 @@ export default {
 | 
	
		
			
				|  |  |          student_message: this.student_message,
 | 
	
		
			
				|  |  |          is_finished: true
 | 
	
		
			
				|  |  |        }).then(() => {
 | 
	
		
			
				|  |  | -        this.$message.success('任务完成成功');
 | 
	
		
			
				|  |  | +        this.$message.success(this.$i18n.t('Key337'));
 | 
	
		
			
				|  |  |          this.$router.go(0);
 | 
	
		
			
				|  |  |        });
 | 
	
		
			
				|  |  |      },
 | 
	
	
		
			
				|  | @@ -313,7 +340,7 @@ export default {
 | 
	
		
			
				|  |  |          student_remark: this.student_remark,
 | 
	
		
			
				|  |  |          student_score: this.student_score
 | 
	
		
			
				|  |  |        }).then(() => {
 | 
	
		
			
				|  |  | -        this.$message.success('提交成功');
 | 
	
		
			
				|  |  | +        this.$message.success(this.$i18n.t('Key336'));
 | 
	
		
			
				|  |  |          this.$router.go(0);
 | 
	
		
			
				|  |  |        });
 | 
	
		
			
				|  |  |      },
 | 
	
	
		
			
				|  | @@ -332,7 +359,7 @@ export default {
 | 
	
		
			
				|  |  |      // 完成任务
 | 
	
		
			
				|  |  |      finishTask(id, is_finished) {
 | 
	
		
			
				|  |  |        if (this.my_execute_info.is_finished === 'true' && is_finished === 'false') {
 | 
	
		
			
				|  |  | -        return this.$message.warning('该课件没有被完成');
 | 
	
		
			
				|  |  | +        return this.$message.warning(this.$i18n.t('Key338'));
 | 
	
		
			
				|  |  |        }
 | 
	
		
			
				|  |  |        if (is_finished === 'true') {
 | 
	
		
			
				|  |  |          this.dialogVisible_completion = true;
 | 
	
	
		
			
				|  | @@ -365,7 +392,6 @@ $bor-color: #d9d9d9;
 | 
	
		
			
				|  |  |    @include container;
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |    min-height: calc(100vh - 130px);
 | 
	
		
			
				|  |  | -  margin-top: 56px;
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |    .el-tag {
 | 
	
		
			
				|  |  |      @include el-tag;
 |