|
@@ -1,7 +1,7 @@
|
|
|
<template>
|
|
|
<!-- 项目概况 -->
|
|
|
<div class="pb_content">
|
|
|
- <div class="pb_content_body" style="position: relative; margin: 0">
|
|
|
+ <div class="race_content_body">
|
|
|
<div class="raceBox">
|
|
|
<div class="stepBg">
|
|
|
<div class="steps">
|
|
@@ -41,7 +41,9 @@
|
|
|
<div class="raceTop allBox">
|
|
|
<div class="titleTop">
|
|
|
<div>驱动性问题</div>
|
|
|
- <div><el-input></el-input></div>
|
|
|
+ <div>
|
|
|
+ <el-input></el-input>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
<div class="editorCss">
|
|
|
<editor-bar v-model="driQuestion" @change="change"></editor-bar>
|
|
@@ -49,49 +51,28 @@
|
|
|
<div>
|
|
|
<div class="basic_box">
|
|
|
<div>
|
|
|
- <div
|
|
|
- class="add_chapters_box"
|
|
|
- v-if="chapterData && chapterData.length == 0"
|
|
|
- style="height: 185px"
|
|
|
- ></div>
|
|
|
- <div
|
|
|
- v-else
|
|
|
- class="add_chapters_box"
|
|
|
- style="display: flex; flex-direction: column"
|
|
|
- >
|
|
|
- <div
|
|
|
- class="chapter_upload"
|
|
|
- v-for="(item1, index1) in chapterData"
|
|
|
- :key="item1.id"
|
|
|
- @click="
|
|
|
- getChapterData(
|
|
|
- $event,
|
|
|
- unitIndex,
|
|
|
- index,
|
|
|
- index1,
|
|
|
- item1.type
|
|
|
- )
|
|
|
- "
|
|
|
- >
|
|
|
+ <div class="add_chapters_box" v-if="chapterData && chapterData.length == 0" style="height: 185px">
|
|
|
+ </div>
|
|
|
+ <div v-else class="add_chapters_box" style="display: flex; flex-direction: column">
|
|
|
+ <div class="chapter_upload" v-for="(item1, index1) in chapterData" :key="item1.id" @click="
|
|
|
+ getChapterData(
|
|
|
+ $event,
|
|
|
+ unitIndex,
|
|
|
+ index,
|
|
|
+ index1,
|
|
|
+ item1.type
|
|
|
+ )
|
|
|
+ ">
|
|
|
<div class="chapter_upload_t"></div>
|
|
|
<div class="chapter_upload_o">
|
|
|
<div class="chapter_upload_l">
|
|
|
- <div
|
|
|
- v-if="item1.type == 2"
|
|
|
- class="chapter_upload_l_i1"
|
|
|
- ></div>
|
|
|
- <div
|
|
|
- v-if="
|
|
|
- item1.type == 3 ||
|
|
|
- item1.type == 6 ||
|
|
|
- item1.type == 7
|
|
|
- "
|
|
|
- class="chapter_upload_l_i5"
|
|
|
- ></div>
|
|
|
- <div
|
|
|
- v-if="item1.type == 8"
|
|
|
- class="chapter_upload_l_i8"
|
|
|
- ></div>
|
|
|
+ <div v-if="item1.type == 2" class="chapter_upload_l_i1"></div>
|
|
|
+ <div v-if="
|
|
|
+ item1.type == 3 ||
|
|
|
+ item1.type == 6 ||
|
|
|
+ item1.type == 7
|
|
|
+ " class="chapter_upload_l_i5"></div>
|
|
|
+ <div v-if="item1.type == 8" class="chapter_upload_l_i8"></div>
|
|
|
</div>
|
|
|
<div class="chapter_upload_ic">
|
|
|
<div class="chapter_upload_ic_l"></div>
|
|
@@ -109,15 +90,11 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="chapter_upload_n">
|
|
|
- <input
|
|
|
- class="first"
|
|
|
- v-if="
|
|
|
- item1.type == 2 ||
|
|
|
- item1.type == 3 ||
|
|
|
- item1.type == 7
|
|
|
- "
|
|
|
- :placeholder="item1.name"
|
|
|
- />
|
|
|
+ <input class="first" v-if="
|
|
|
+ item1.type == 2 ||
|
|
|
+ item1.type == 3 ||
|
|
|
+ item1.type == 7
|
|
|
+ " :placeholder="item1.name" />
|
|
|
<!-- @change="
|
|
|
updataVideoT(
|
|
|
$event,
|
|
@@ -126,19 +103,9 @@
|
|
|
index1
|
|
|
)
|
|
|
" -->
|
|
|
- <input
|
|
|
- class="first"
|
|
|
- :placeholder="item1.name"
|
|
|
- v-if="item1.type == 6"
|
|
|
- readonly="true"
|
|
|
- />
|
|
|
+ <input class="first" :placeholder="item1.name" v-if="item1.type == 6" readonly="true" />
|
|
|
<!-- @click="selectAttText(itemTaskIndex, index1)" -->
|
|
|
- <input
|
|
|
- class="first"
|
|
|
- :placeholder="item1.name"
|
|
|
- v-if="item1.type == 8"
|
|
|
- readonly="true"
|
|
|
- />
|
|
|
+ <input class="first" :placeholder="item1.name" v-if="item1.type == 8" readonly="true" />
|
|
|
<!-- @click="selectLine(itemTaskIndex, index1)" -->
|
|
|
<div class="chapter_upload_ud">
|
|
|
<div class="chapter_upload_up"></div>
|
|
@@ -154,11 +121,9 @@
|
|
|
<div class="add_info_box">
|
|
|
<button class="info_btn" @click="addImg($event)">
|
|
|
添加教学附件
|
|
|
- <input
|
|
|
- type="file"
|
|
|
+ <input type="file"
|
|
|
accept="application/pdf, application/.ppt, .ppt, .pptx, .xlsx, .xls, application/msword, application/vnd.openxmlformats-officedocument.wordprocessingml.document"
|
|
|
- style="display: none"
|
|
|
- />
|
|
|
+ style="display: none" />
|
|
|
<!-- @change="
|
|
|
beforeUpload2($event, unitIndex, 3, itemTaskIndex)
|
|
|
" -->
|
|
@@ -170,7 +135,9 @@
|
|
|
<div class="raceTop allBox">
|
|
|
<div class="titleTop">
|
|
|
<div>目标设计</div>
|
|
|
- <div><el-input></el-input></div>
|
|
|
+ <div>
|
|
|
+ <el-input></el-input>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
<div class="editorCss">
|
|
|
<editor-bar v-model="driQuestion" @change="change"></editor-bar>
|
|
@@ -178,49 +145,28 @@
|
|
|
<div>
|
|
|
<div class="basic_box">
|
|
|
<div>
|
|
|
- <div
|
|
|
- class="add_chapters_box"
|
|
|
- v-if="chapterData && chapterData.length == 0"
|
|
|
- style="height: 185px"
|
|
|
- ></div>
|
|
|
- <div
|
|
|
- v-else
|
|
|
- class="add_chapters_box"
|
|
|
- style="display: flex; flex-direction: column"
|
|
|
- >
|
|
|
- <div
|
|
|
- class="chapter_upload"
|
|
|
- v-for="(item1, index1) in chapterData"
|
|
|
- :key="item1.id"
|
|
|
- @click="
|
|
|
- getChapterData(
|
|
|
- $event,
|
|
|
- unitIndex,
|
|
|
- index,
|
|
|
- index1,
|
|
|
- item1.type
|
|
|
- )
|
|
|
- "
|
|
|
- >
|
|
|
+ <div class="add_chapters_box" v-if="chapterData && chapterData.length == 0" style="height: 185px">
|
|
|
+ </div>
|
|
|
+ <div v-else class="add_chapters_box" style="display: flex; flex-direction: column">
|
|
|
+ <div class="chapter_upload" v-for="(item1, index1) in chapterData" :key="item1.id" @click="
|
|
|
+ getChapterData(
|
|
|
+ $event,
|
|
|
+ unitIndex,
|
|
|
+ index,
|
|
|
+ index1,
|
|
|
+ item1.type
|
|
|
+ )
|
|
|
+ ">
|
|
|
<div class="chapter_upload_t"></div>
|
|
|
<div class="chapter_upload_o">
|
|
|
<div class="chapter_upload_l">
|
|
|
- <div
|
|
|
- v-if="item1.type == 2"
|
|
|
- class="chapter_upload_l_i1"
|
|
|
- ></div>
|
|
|
- <div
|
|
|
- v-if="
|
|
|
- item1.type == 3 ||
|
|
|
- item1.type == 6 ||
|
|
|
- item1.type == 7
|
|
|
- "
|
|
|
- class="chapter_upload_l_i5"
|
|
|
- ></div>
|
|
|
- <div
|
|
|
- v-if="item1.type == 8"
|
|
|
- class="chapter_upload_l_i8"
|
|
|
- ></div>
|
|
|
+ <div v-if="item1.type == 2" class="chapter_upload_l_i1"></div>
|
|
|
+ <div v-if="
|
|
|
+ item1.type == 3 ||
|
|
|
+ item1.type == 6 ||
|
|
|
+ item1.type == 7
|
|
|
+ " class="chapter_upload_l_i5"></div>
|
|
|
+ <div v-if="item1.type == 8" class="chapter_upload_l_i8"></div>
|
|
|
</div>
|
|
|
<div class="chapter_upload_ic">
|
|
|
<div class="chapter_upload_ic_l"></div>
|
|
@@ -238,15 +184,11 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="chapter_upload_n">
|
|
|
- <input
|
|
|
- class="first"
|
|
|
- v-if="
|
|
|
- item1.type == 2 ||
|
|
|
- item1.type == 3 ||
|
|
|
- item1.type == 7
|
|
|
- "
|
|
|
- :placeholder="item1.name"
|
|
|
- />
|
|
|
+ <input class="first" v-if="
|
|
|
+ item1.type == 2 ||
|
|
|
+ item1.type == 3 ||
|
|
|
+ item1.type == 7
|
|
|
+ " :placeholder="item1.name" />
|
|
|
<!-- @change="
|
|
|
updataVideoT(
|
|
|
$event,
|
|
@@ -255,19 +197,9 @@
|
|
|
index1
|
|
|
)
|
|
|
" -->
|
|
|
- <input
|
|
|
- class="first"
|
|
|
- :placeholder="item1.name"
|
|
|
- v-if="item1.type == 6"
|
|
|
- readonly="true"
|
|
|
- />
|
|
|
+ <input class="first" :placeholder="item1.name" v-if="item1.type == 6" readonly="true" />
|
|
|
<!-- @click="selectAttText(itemTaskIndex, index1)" -->
|
|
|
- <input
|
|
|
- class="first"
|
|
|
- :placeholder="item1.name"
|
|
|
- v-if="item1.type == 8"
|
|
|
- readonly="true"
|
|
|
- />
|
|
|
+ <input class="first" :placeholder="item1.name" v-if="item1.type == 8" readonly="true" />
|
|
|
<!-- @click="selectLine(itemTaskIndex, index1)" -->
|
|
|
<div class="chapter_upload_ud">
|
|
|
<div class="chapter_upload_up"></div>
|
|
@@ -283,11 +215,9 @@
|
|
|
<div class="add_info_box">
|
|
|
<button class="info_btn" @click="addImg($event)">
|
|
|
添加教学附件
|
|
|
- <input
|
|
|
- type="file"
|
|
|
+ <input type="file"
|
|
|
accept="application/pdf, application/.ppt, .ppt, .pptx, .xlsx, .xls, application/msword, application/vnd.openxmlformats-officedocument.wordprocessingml.document"
|
|
|
- style="display: none"
|
|
|
- />
|
|
|
+ style="display: none" />
|
|
|
<!-- @change="
|
|
|
beforeUpload2($event, unitIndex, 3, itemTaskIndex)
|
|
|
" -->
|
|
@@ -299,7 +229,9 @@
|
|
|
<div class="raceTop allBox">
|
|
|
<div class="titleTop">
|
|
|
<div>活动设计</div>
|
|
|
- <div><el-input></el-input></div>
|
|
|
+ <div>
|
|
|
+ <el-input></el-input>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
<div class="editorCss">
|
|
|
<editor-bar v-model="driQuestion" @change="change"></editor-bar>
|
|
@@ -307,49 +239,28 @@
|
|
|
<div>
|
|
|
<div class="basic_box">
|
|
|
<div>
|
|
|
- <div
|
|
|
- class="add_chapters_box"
|
|
|
- v-if="chapterData && chapterData.length == 0"
|
|
|
- style="height: 185px"
|
|
|
- ></div>
|
|
|
- <div
|
|
|
- v-else
|
|
|
- class="add_chapters_box"
|
|
|
- style="display: flex; flex-direction: column"
|
|
|
- >
|
|
|
- <div
|
|
|
- class="chapter_upload"
|
|
|
- v-for="(item1, index1) in chapterData"
|
|
|
- :key="item1.id"
|
|
|
- @click="
|
|
|
- getChapterData(
|
|
|
- $event,
|
|
|
- unitIndex,
|
|
|
- index,
|
|
|
- index1,
|
|
|
- item1.type
|
|
|
- )
|
|
|
- "
|
|
|
- >
|
|
|
+ <div class="add_chapters_box" v-if="chapterData && chapterData.length == 0" style="height: 185px">
|
|
|
+ </div>
|
|
|
+ <div v-else class="add_chapters_box" style="display: flex; flex-direction: column">
|
|
|
+ <div class="chapter_upload" v-for="(item1, index1) in chapterData" :key="item1.id" @click="
|
|
|
+ getChapterData(
|
|
|
+ $event,
|
|
|
+ unitIndex,
|
|
|
+ index,
|
|
|
+ index1,
|
|
|
+ item1.type
|
|
|
+ )
|
|
|
+ ">
|
|
|
<div class="chapter_upload_t"></div>
|
|
|
<div class="chapter_upload_o">
|
|
|
<div class="chapter_upload_l">
|
|
|
- <div
|
|
|
- v-if="item1.type == 2"
|
|
|
- class="chapter_upload_l_i1"
|
|
|
- ></div>
|
|
|
- <div
|
|
|
- v-if="
|
|
|
- item1.type == 3 ||
|
|
|
- item1.type == 6 ||
|
|
|
- item1.type == 7
|
|
|
- "
|
|
|
- class="chapter_upload_l_i5"
|
|
|
- ></div>
|
|
|
- <div
|
|
|
- v-if="item1.type == 8"
|
|
|
- class="chapter_upload_l_i8"
|
|
|
- ></div>
|
|
|
+ <div v-if="item1.type == 2" class="chapter_upload_l_i1"></div>
|
|
|
+ <div v-if="
|
|
|
+ item1.type == 3 ||
|
|
|
+ item1.type == 6 ||
|
|
|
+ item1.type == 7
|
|
|
+ " class="chapter_upload_l_i5"></div>
|
|
|
+ <div v-if="item1.type == 8" class="chapter_upload_l_i8"></div>
|
|
|
</div>
|
|
|
<div class="chapter_upload_ic">
|
|
|
<div class="chapter_upload_ic_l"></div>
|
|
@@ -367,15 +278,11 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="chapter_upload_n">
|
|
|
- <input
|
|
|
- class="first"
|
|
|
- v-if="
|
|
|
- item1.type == 2 ||
|
|
|
- item1.type == 3 ||
|
|
|
- item1.type == 7
|
|
|
- "
|
|
|
- :placeholder="item1.name"
|
|
|
- />
|
|
|
+ <input class="first" v-if="
|
|
|
+ item1.type == 2 ||
|
|
|
+ item1.type == 3 ||
|
|
|
+ item1.type == 7
|
|
|
+ " :placeholder="item1.name" />
|
|
|
<!-- @change="
|
|
|
updataVideoT(
|
|
|
$event,
|
|
@@ -384,19 +291,9 @@
|
|
|
index1
|
|
|
)
|
|
|
" -->
|
|
|
- <input
|
|
|
- class="first"
|
|
|
- :placeholder="item1.name"
|
|
|
- v-if="item1.type == 6"
|
|
|
- readonly="true"
|
|
|
- />
|
|
|
+ <input class="first" :placeholder="item1.name" v-if="item1.type == 6" readonly="true" />
|
|
|
<!-- @click="selectAttText(itemTaskIndex, index1)" -->
|
|
|
- <input
|
|
|
- class="first"
|
|
|
- :placeholder="item1.name"
|
|
|
- v-if="item1.type == 8"
|
|
|
- readonly="true"
|
|
|
- />
|
|
|
+ <input class="first" :placeholder="item1.name" v-if="item1.type == 8" readonly="true" />
|
|
|
<!-- @click="selectLine(itemTaskIndex, index1)" -->
|
|
|
<div class="chapter_upload_ud">
|
|
|
<div class="chapter_upload_up"></div>
|
|
@@ -412,11 +309,9 @@
|
|
|
<div class="add_info_box">
|
|
|
<button class="info_btn" @click="addImg($event)">
|
|
|
添加教学附件
|
|
|
- <input
|
|
|
- type="file"
|
|
|
+ <input type="file"
|
|
|
accept="application/pdf, application/.ppt, .ppt, .pptx, .xlsx, .xls, application/msword, application/vnd.openxmlformats-officedocument.wordprocessingml.document"
|
|
|
- style="display: none"
|
|
|
- />
|
|
|
+ style="display: none" />
|
|
|
<!-- @change="
|
|
|
beforeUpload2($event, unitIndex, 3, itemTaskIndex)
|
|
|
" -->
|
|
@@ -428,7 +323,9 @@
|
|
|
<div class="raceTop allBox">
|
|
|
<div class="titleTop">
|
|
|
<div>评价设计</div>
|
|
|
- <div><el-input></el-input></div>
|
|
|
+ <div>
|
|
|
+ <el-input></el-input>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
<div class="editorCss">
|
|
|
<editor-bar v-model="driQuestion" @change="change"></editor-bar>
|
|
@@ -436,49 +333,28 @@
|
|
|
<div>
|
|
|
<div class="basic_box">
|
|
|
<div>
|
|
|
- <div
|
|
|
- class="add_chapters_box"
|
|
|
- v-if="chapterData && chapterData.length == 0"
|
|
|
- style="height: 185px"
|
|
|
- ></div>
|
|
|
- <div
|
|
|
- v-else
|
|
|
- class="add_chapters_box"
|
|
|
- style="display: flex; flex-direction: column"
|
|
|
- >
|
|
|
- <div
|
|
|
- class="chapter_upload"
|
|
|
- v-for="(item1, index1) in chapterData"
|
|
|
- :key="item1.id"
|
|
|
- @click="
|
|
|
- getChapterData(
|
|
|
- $event,
|
|
|
- unitIndex,
|
|
|
- index,
|
|
|
- index1,
|
|
|
- item1.type
|
|
|
- )
|
|
|
- "
|
|
|
- >
|
|
|
+ <div class="add_chapters_box" v-if="chapterData && chapterData.length == 0" style="height: 185px">
|
|
|
+ </div>
|
|
|
+ <div v-else class="add_chapters_box" style="display: flex; flex-direction: column">
|
|
|
+ <div class="chapter_upload" v-for="(item1, index1) in chapterData" :key="item1.id" @click="
|
|
|
+ getChapterData(
|
|
|
+ $event,
|
|
|
+ unitIndex,
|
|
|
+ index,
|
|
|
+ index1,
|
|
|
+ item1.type
|
|
|
+ )
|
|
|
+ ">
|
|
|
<div class="chapter_upload_t"></div>
|
|
|
<div class="chapter_upload_o">
|
|
|
<div class="chapter_upload_l">
|
|
|
- <div
|
|
|
- v-if="item1.type == 2"
|
|
|
- class="chapter_upload_l_i1"
|
|
|
- ></div>
|
|
|
- <div
|
|
|
- v-if="
|
|
|
- item1.type == 3 ||
|
|
|
- item1.type == 6 ||
|
|
|
- item1.type == 7
|
|
|
- "
|
|
|
- class="chapter_upload_l_i5"
|
|
|
- ></div>
|
|
|
- <div
|
|
|
- v-if="item1.type == 8"
|
|
|
- class="chapter_upload_l_i8"
|
|
|
- ></div>
|
|
|
+ <div v-if="item1.type == 2" class="chapter_upload_l_i1"></div>
|
|
|
+ <div v-if="
|
|
|
+ item1.type == 3 ||
|
|
|
+ item1.type == 6 ||
|
|
|
+ item1.type == 7
|
|
|
+ " class="chapter_upload_l_i5"></div>
|
|
|
+ <div v-if="item1.type == 8" class="chapter_upload_l_i8"></div>
|
|
|
</div>
|
|
|
<div class="chapter_upload_ic">
|
|
|
<div class="chapter_upload_ic_l"></div>
|
|
@@ -496,15 +372,11 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="chapter_upload_n">
|
|
|
- <input
|
|
|
- class="first"
|
|
|
- v-if="
|
|
|
- item1.type == 2 ||
|
|
|
- item1.type == 3 ||
|
|
|
- item1.type == 7
|
|
|
- "
|
|
|
- :placeholder="item1.name"
|
|
|
- />
|
|
|
+ <input class="first" v-if="
|
|
|
+ item1.type == 2 ||
|
|
|
+ item1.type == 3 ||
|
|
|
+ item1.type == 7
|
|
|
+ " :placeholder="item1.name" />
|
|
|
<!-- @change="
|
|
|
updataVideoT(
|
|
|
$event,
|
|
@@ -513,19 +385,9 @@
|
|
|
index1
|
|
|
)
|
|
|
" -->
|
|
|
- <input
|
|
|
- class="first"
|
|
|
- :placeholder="item1.name"
|
|
|
- v-if="item1.type == 6"
|
|
|
- readonly="true"
|
|
|
- />
|
|
|
+ <input class="first" :placeholder="item1.name" v-if="item1.type == 6" readonly="true" />
|
|
|
<!-- @click="selectAttText(itemTaskIndex, index1)" -->
|
|
|
- <input
|
|
|
- class="first"
|
|
|
- :placeholder="item1.name"
|
|
|
- v-if="item1.type == 8"
|
|
|
- readonly="true"
|
|
|
- />
|
|
|
+ <input class="first" :placeholder="item1.name" v-if="item1.type == 8" readonly="true" />
|
|
|
<!-- @click="selectLine(itemTaskIndex, index1)" -->
|
|
|
<div class="chapter_upload_ud">
|
|
|
<div class="chapter_upload_up"></div>
|
|
@@ -541,11 +403,9 @@
|
|
|
<div class="add_info_box">
|
|
|
<button class="info_btn" @click="addImg($event)">
|
|
|
添加教学附件
|
|
|
- <input
|
|
|
- type="file"
|
|
|
+ <input type="file"
|
|
|
accept="application/pdf, application/.ppt, .ppt, .pptx, .xlsx, .xls, application/msword, application/vnd.openxmlformats-officedocument.wordprocessingml.document"
|
|
|
- style="display: none"
|
|
|
- />
|
|
|
+ style="display: none" />
|
|
|
<!-- @change="
|
|
|
beforeUpload2($event, unitIndex, 3, itemTaskIndex)
|
|
|
" -->
|
|
@@ -557,7 +417,9 @@
|
|
|
<div class="raceTop allBox">
|
|
|
<div class="titleTop">
|
|
|
<div>其他补充</div>
|
|
|
- <div><el-input></el-input></div>
|
|
|
+ <div>
|
|
|
+ <el-input></el-input>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
<div class="editorCss">
|
|
|
<editor-bar v-model="driQuestion" @change="change"></editor-bar>
|
|
@@ -565,49 +427,28 @@
|
|
|
<div>
|
|
|
<div class="basic_box">
|
|
|
<div>
|
|
|
- <div
|
|
|
- class="add_chapters_box"
|
|
|
- v-if="chapterData && chapterData.length == 0"
|
|
|
- style="height: 185px"
|
|
|
- ></div>
|
|
|
- <div
|
|
|
- v-else
|
|
|
- class="add_chapters_box"
|
|
|
- style="display: flex; flex-direction: column"
|
|
|
- >
|
|
|
- <div
|
|
|
- class="chapter_upload"
|
|
|
- v-for="(item1, index1) in chapterData"
|
|
|
- :key="item1.id"
|
|
|
- @click="
|
|
|
- getChapterData(
|
|
|
- $event,
|
|
|
- unitIndex,
|
|
|
- index,
|
|
|
- index1,
|
|
|
- item1.type
|
|
|
- )
|
|
|
- "
|
|
|
- >
|
|
|
+ <div class="add_chapters_box" v-if="chapterData && chapterData.length == 0" style="height: 185px">
|
|
|
+ </div>
|
|
|
+ <div v-else class="add_chapters_box" style="display: flex; flex-direction: column">
|
|
|
+ <div class="chapter_upload" v-for="(item1, index1) in chapterData" :key="item1.id" @click="
|
|
|
+ getChapterData(
|
|
|
+ $event,
|
|
|
+ unitIndex,
|
|
|
+ index,
|
|
|
+ index1,
|
|
|
+ item1.type
|
|
|
+ )
|
|
|
+ ">
|
|
|
<div class="chapter_upload_t"></div>
|
|
|
<div class="chapter_upload_o">
|
|
|
<div class="chapter_upload_l">
|
|
|
- <div
|
|
|
- v-if="item1.type == 2"
|
|
|
- class="chapter_upload_l_i1"
|
|
|
- ></div>
|
|
|
- <div
|
|
|
- v-if="
|
|
|
- item1.type == 3 ||
|
|
|
- item1.type == 6 ||
|
|
|
- item1.type == 7
|
|
|
- "
|
|
|
- class="chapter_upload_l_i5"
|
|
|
- ></div>
|
|
|
- <div
|
|
|
- v-if="item1.type == 8"
|
|
|
- class="chapter_upload_l_i8"
|
|
|
- ></div>
|
|
|
+ <div v-if="item1.type == 2" class="chapter_upload_l_i1"></div>
|
|
|
+ <div v-if="
|
|
|
+ item1.type == 3 ||
|
|
|
+ item1.type == 6 ||
|
|
|
+ item1.type == 7
|
|
|
+ " class="chapter_upload_l_i5"></div>
|
|
|
+ <div v-if="item1.type == 8" class="chapter_upload_l_i8"></div>
|
|
|
</div>
|
|
|
<div class="chapter_upload_ic">
|
|
|
<div class="chapter_upload_ic_l"></div>
|
|
@@ -625,15 +466,11 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="chapter_upload_n">
|
|
|
- <input
|
|
|
- class="first"
|
|
|
- v-if="
|
|
|
- item1.type == 2 ||
|
|
|
- item1.type == 3 ||
|
|
|
- item1.type == 7
|
|
|
- "
|
|
|
- :placeholder="item1.name"
|
|
|
- />
|
|
|
+ <input class="first" v-if="
|
|
|
+ item1.type == 2 ||
|
|
|
+ item1.type == 3 ||
|
|
|
+ item1.type == 7
|
|
|
+ " :placeholder="item1.name" />
|
|
|
<!-- @change="
|
|
|
updataVideoT(
|
|
|
$event,
|
|
@@ -642,19 +479,9 @@
|
|
|
index1
|
|
|
)
|
|
|
" -->
|
|
|
- <input
|
|
|
- class="first"
|
|
|
- :placeholder="item1.name"
|
|
|
- v-if="item1.type == 6"
|
|
|
- readonly="true"
|
|
|
- />
|
|
|
+ <input class="first" :placeholder="item1.name" v-if="item1.type == 6" readonly="true" />
|
|
|
<!-- @click="selectAttText(itemTaskIndex, index1)" -->
|
|
|
- <input
|
|
|
- class="first"
|
|
|
- :placeholder="item1.name"
|
|
|
- v-if="item1.type == 8"
|
|
|
- readonly="true"
|
|
|
- />
|
|
|
+ <input class="first" :placeholder="item1.name" v-if="item1.type == 8" readonly="true" />
|
|
|
<!-- @click="selectLine(itemTaskIndex, index1)" -->
|
|
|
<div class="chapter_upload_ud">
|
|
|
<div class="chapter_upload_up"></div>
|
|
@@ -670,11 +497,9 @@
|
|
|
<div class="add_info_box">
|
|
|
<button class="info_btn" @click="addImg($event)">
|
|
|
添加教学附件
|
|
|
- <input
|
|
|
- type="file"
|
|
|
+ <input type="file"
|
|
|
accept="application/pdf, application/.ppt, .ppt, .pptx, .xlsx, .xls, application/msword, application/vnd.openxmlformats-officedocument.wordprocessingml.document"
|
|
|
- style="display: none"
|
|
|
- />
|
|
|
+ style="display: none" />
|
|
|
<!-- @change="
|
|
|
beforeUpload2($event, unitIndex, 3, itemTaskIndex)
|
|
|
" -->
|
|
@@ -715,11 +540,22 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
},
|
|
|
- created() {},
|
|
|
+ created() { },
|
|
|
};
|
|
|
</script>
|
|
|
|
|
|
<style scoped>
|
|
|
+.pb_content{
|
|
|
+ width: 100%;
|
|
|
+ height: 100%;
|
|
|
+}
|
|
|
+.race_content_body {
|
|
|
+ width: 100%;
|
|
|
+ position: relative;
|
|
|
+ margin: 0;
|
|
|
+ height: 100%;
|
|
|
+}
|
|
|
+
|
|
|
.raceBox {
|
|
|
width: 100%;
|
|
|
height: 100%;
|
|
@@ -728,6 +564,7 @@ export default {
|
|
|
flex-wrap: nowrap;
|
|
|
align-items: flex-start;
|
|
|
}
|
|
|
+
|
|
|
.stepBg {
|
|
|
margin: 0 25px 0 0;
|
|
|
width: 20%;
|
|
@@ -737,11 +574,14 @@ export default {
|
|
|
align-items: flex-start;
|
|
|
flex-wrap: nowrap;
|
|
|
background: #fff;
|
|
|
- min-height: 800px;
|
|
|
+ /* min-height: 800px; */
|
|
|
height: 100%;
|
|
|
border: 1px solid #c2c2c2;
|
|
|
border-radius: 15px;
|
|
|
+ overflow: auto;
|
|
|
+ min-width: 260px;
|
|
|
}
|
|
|
+
|
|
|
.steps {
|
|
|
display: flex;
|
|
|
flex-direction: row;
|
|
@@ -749,6 +589,7 @@ export default {
|
|
|
margin: 35px 20px 20px 20px;
|
|
|
position: relative;
|
|
|
}
|
|
|
+
|
|
|
.stepLeft,
|
|
|
.isSteps {
|
|
|
width: 30px;
|
|
@@ -759,11 +600,13 @@ export default {
|
|
|
border: 2px solid #eee;
|
|
|
color: #c0c0c0;
|
|
|
}
|
|
|
+
|
|
|
.isSteps {
|
|
|
background: #1990ff;
|
|
|
color: #fff;
|
|
|
border: none;
|
|
|
}
|
|
|
+
|
|
|
.stepRightNav {
|
|
|
display: flex;
|
|
|
flex-direction: column;
|
|
@@ -772,6 +615,7 @@ export default {
|
|
|
align-items: flex-start;
|
|
|
margin-left: 10px;
|
|
|
}
|
|
|
+
|
|
|
.line,
|
|
|
.isLine {
|
|
|
position: absolute;
|
|
@@ -781,9 +625,11 @@ export default {
|
|
|
top: 38px;
|
|
|
left: 15px;
|
|
|
}
|
|
|
+
|
|
|
.isLine {
|
|
|
border-left: 1px solid #1d92ff !important;
|
|
|
}
|
|
|
+
|
|
|
.right {
|
|
|
width: calc(100% - 20%);
|
|
|
background: rgb(255, 255, 255);
|
|
@@ -792,20 +638,25 @@ export default {
|
|
|
height: 100%;
|
|
|
border: 1px solid #c2c2c2;
|
|
|
border-radius: 15px;
|
|
|
- max-height: 800px;
|
|
|
+ /* max-height: 800px; */
|
|
|
+ min-width: calc(100% - 260px);
|
|
|
}
|
|
|
+
|
|
|
.allBox {
|
|
|
padding: 25px;
|
|
|
}
|
|
|
-.allBox > div:nth-child(1) {
|
|
|
+
|
|
|
+.allBox>div:nth-child(1) {
|
|
|
color: #0f40f5;
|
|
|
font-size: 18px;
|
|
|
font-weight: bold;
|
|
|
}
|
|
|
-.raceTop > div:nth-child(2) {
|
|
|
+
|
|
|
+.raceTop>div:nth-child(2) {
|
|
|
width: 80%;
|
|
|
margin-top: 10px;
|
|
|
}
|
|
|
+
|
|
|
.titleTop {
|
|
|
display: flex;
|
|
|
flex-direction: row;
|
|
@@ -813,19 +664,23 @@ export default {
|
|
|
align-items: center;
|
|
|
width: 100%;
|
|
|
}
|
|
|
-.titleTop > div:nth-child(2) {
|
|
|
+
|
|
|
+.titleTop>div:nth-child(2) {
|
|
|
width: 82%;
|
|
|
margin-left: 20px;
|
|
|
}
|
|
|
+
|
|
|
.editorCss {
|
|
|
width: 90% !important;
|
|
|
}
|
|
|
+
|
|
|
.basic_box {
|
|
|
position: relative;
|
|
|
margin: 0;
|
|
|
min-height: 0;
|
|
|
width: 90%;
|
|
|
}
|
|
|
+
|
|
|
.add_info_box {
|
|
|
margin: 20px 0;
|
|
|
}
|
|
@@ -848,6 +703,7 @@ export default {
|
|
|
overflow-y: auto;
|
|
|
overflow-x: hidden;
|
|
|
}
|
|
|
+
|
|
|
.chapter_upload {
|
|
|
height: 50px;
|
|
|
margin-top: 12px;
|
|
@@ -978,9 +834,11 @@ export default {
|
|
|
background-size: 100% 100%;
|
|
|
cursor: pointer;
|
|
|
}
|
|
|
+
|
|
|
.chapter_upload_l {
|
|
|
padding: 1px 0 0 10px;
|
|
|
}
|
|
|
+
|
|
|
.first {
|
|
|
border: none;
|
|
|
outline: none;
|
|
@@ -992,6 +850,7 @@ export default {
|
|
|
overflow: hidden;
|
|
|
text-overflow: ellipsis;
|
|
|
}
|
|
|
+
|
|
|
.info_btn {
|
|
|
color: #fff;
|
|
|
background-color: #0f7eff;
|
|
@@ -1006,6 +865,7 @@ export default {
|
|
|
border: none;
|
|
|
cursor: pointer;
|
|
|
}
|
|
|
+
|
|
|
.info_btn:hover {
|
|
|
background-color: #4f7cd5 !important;
|
|
|
}
|