zengyicheng 1 year ago
parent
commit
0f14c21672

File diff suppressed because it is too large
+ 273 - 980
src/components/easy2/studyStudent.vue


+ 708 - 0
src/components/easy3/studyStudent.vue

@@ -8481,6 +8481,714 @@
                 </div>
               </div>
             </div>
+            <div
+              class="vedioBox"
+              v-if="
+                courseDetail.userid == userid ||
+                (courseDetail.course_teacher &&
+                  courseDetail.course_teacher.indexOf(userid) != -1)
+              "
+            >
+              <div
+                class="queTop"
+                style="
+                  padding: 15px 0 15px 37px;
+                  justify-content: space-between;
+                "
+              >
+                <div class="queTopTitle">新增工具</div>
+                <div class="queTopRight">
+                  <div
+                    class="queTopClose"
+                    v-if="isClose == 0"
+                    @click="isClose = 1"
+                  >
+                    展开
+                    <div class="closeImg">
+                      <img src="../../assets/icon/newIcon/close.png" alt="" />
+                    </div>
+                  </div>
+                  <div
+                    class="queTopClose"
+                    v-if="isClose == 1"
+                    @click="isClose = 0"
+                  >
+                    收缩
+                    <div class="openImg">
+                      <img src="../../assets/icon/newIcon/open.png" alt="" />
+                    </div>
+                  </div>
+                  <el-button
+                    style="margin: 0 30px 0 auto"
+                    type="primary"
+                    size="small"
+                    @click="addToolChoose"
+                    >确定</el-button
+                  >
+                </div>
+              </div>
+              <div
+                class="tool_work_box"
+                :style="isClose == 0 ? 'display:none' : 'display:block'"
+              >
+                <div class="tool_box">
+                  <div class="tool_type_box">
+                    <div class="chooseWho">
+                      <div
+                        :class="toolType == 0 ? 'isChooseActive' : ''"
+                        @click="(toolType = 0), $forceUpdate()"
+                      >
+                        互动类
+                      </div>
+                      <div
+                        :class="toolType == 1 ? 'isChooseActive' : ''"
+                        @click="(toolType = 1), $forceUpdate()"
+                      >
+                        思维类
+                      </div>
+                      <!-- <div
+                        :class="toolType == 6 ? 'isChooseActive' : ''"
+                        @click="(toolType = 6), $forceUpdate()"
+                      >
+                        协作类
+                      </div> -->
+                      <div
+                        :class="toolType == 2 ? 'isChooseActive' : ''"
+                        @click="(toolType = 2), $forceUpdate()"
+                      >
+                        测评类
+                      </div>
+                      <!-- <div
+                        :class="toolType == 7 ? 'isChooseActive' : ''"
+                        @click="(toolType = 7), $forceUpdate()"
+                      >
+                        评价类
+                      </div> -->
+                      <div
+                        :class="toolType == 3 ? 'isChooseActive' : ''"
+                        @click="(toolType = 3), $forceUpdate()"
+                      >
+                        编程类
+                      </div>
+                      <div
+                        :class="toolType == 5 ? 'isChooseActive' : ''"
+                        @click="(toolType = 5), $forceUpdate()"
+                      >
+                        学科类
+                      </div>
+                      <!-- <div :class="toolType == 5 ? 'isChooseActive' : ''
+                        " @click="(toolType = 5), $forceUpdate()">
+                        学科类
+                      </div>
+                      <div :class="toolType == 4 ? 'isChooseActive' : ''
+                        " @click="(toolType = 4), $forceUpdate()">
+                        其他
+                      </div> -->
+                    </div>
+                  </div>
+
+                  <div>
+                    <div class="toolSort" v-if="toolType == 0">
+                      <div class="tool">
+                        <div class="whiteBIcon" @click="addTools2(10)">
+                          <img
+                            src="../../assets/icon/thirdToolList/time.png"
+                            alt
+                          />
+                          <div style="margin: 5px 0">倒计时</div>
+                        </div>
+                        <div class="check" @click="addTools2(10)">
+                          <img
+                            src="../../assets/icon/checkNo.png"
+                            alt
+                            v-if="checktoolArray.indexOf(10) == -1"
+                          />
+                          <div class="checkDiv" v-else>
+                            <img
+                              src="../../assets/icon/checkedIs.png"
+                              alt
+                            /><span>已选择</span>
+                          </div>
+                        </div>
+                      </div>
+                      <div class="tool">
+                        <div class="whiteBIcon" @click="addTools2(65)">
+                          <img
+                            src="../../assets/icon/firstToolList/pickPeople.png"
+                            alt
+                          />
+                          <div style="margin: 5px 0">挑人</div>
+                        </div>
+                        <div class="check" @click="addTools2(65)">
+                          <img
+                            src="../../assets/icon/checkNo.png"
+                            alt
+                            v-if="checktoolArray.indexOf(65) == -1"
+                          />
+                          <div class="checkDiv" v-else>
+                            <img
+                              src="../../assets/icon/checkedIs.png"
+                              alt
+                            /><span>已选择</span>
+                          </div>
+                        </div>
+                      </div>
+                    </div>
+                    <div class="toolSort" v-if="toolType == 1">
+                      <div class="tool">
+                        <div class="whiteBIcon" @click="addTools2(7)">
+                          <img
+                            src="../../assets/icon/secondToolList/mindNetwork.png"
+                            alt
+                          />
+                          <div style="margin: 5px 0">思维网格</div>
+                        </div>
+                        <div class="check" @click="addTools2(7)">
+                          <img
+                            src="../../assets/icon/checkNo.png"
+                            alt
+                            v-if="checktoolArray.indexOf(7) == -1"
+                          />
+                          <div class="checkDiv" v-else>
+                            <img
+                              src="../../assets/icon/checkedIs.png"
+                              alt
+                            /><span>已选择</span>
+                          </div>
+                        </div>
+                      </div>
+                      <div class="tool">
+                        <div class="whiteBIcon" @click="addTools2(1)">
+                          <img
+                            src="../../assets/icon/secondToolList/whiteBoard.png"
+                            alt
+                          />
+                          <div style="margin: 5px 0">电子白板</div>
+                        </div>
+                        <div class="check" @click="addTools2(1)">
+                          <img
+                            src="../../assets/icon/checkNo.png"
+                            alt
+                            v-if="checktoolArray.indexOf(1) == -1"
+                          />
+                          <div class="checkDiv" v-else>
+                            <img
+                              src="../../assets/icon/checkedIs.png"
+                              alt
+                            /><span>已选择</span>
+                          </div>
+                        </div>
+                      </div>
+                      <div class="tool">
+                        <div class="whiteBIcon" @click="addTools2(52)">
+                          <img
+                            src="../../assets/icon/fourthToolList/text.png"
+                            alt
+                          />
+                          <div style="margin: 5px 0">文档</div>
+                        </div>
+                        <div class="check" @click="addTools2(52)">
+                          <img
+                            src="../../assets/icon/checkNo.png"
+                            alt
+                            v-if="checktoolArray.indexOf(52) == -1"
+                          />
+                          <div class="checkDiv" v-else>
+                            <img
+                              src="../../assets/icon/checkedIs.png"
+                              alt
+                            /><span>已选择</span>
+                          </div>
+                        </div>
+                      </div>
+                      <div class="tool">
+                        <div class="whiteBIcon" @click="addTools2(3)">
+                          <img
+                            src="../../assets/icon/secondToolList/mindMapping.png"
+                            alt
+                          />
+                          <div style="margin: 5px 0">思维导图</div>
+                        </div>
+                        <div class="check" @click="addTools2(3)">
+                          <img
+                            src="../../assets/icon/checkNo.png"
+                            alt
+                            v-if="checktoolArray.indexOf(3) == -1"
+                          />
+                          <div class="checkDiv" v-else>
+                            <img
+                              src="../../assets/icon/checkedIs.png"
+                              alt
+                            /><span>已选择</span>
+                          </div>
+                        </div>
+                      </div>
+                      <div class="tool">
+                        <div class="whiteBIcon" @click="addTools2(48)">
+                          <img
+                            src="../../assets/icon/fourthToolList/table.png"
+                            alt
+                          />
+                          <div style="margin: 5px 0">表格</div>
+                        </div>
+                        <div class="check" @click="addTools2(48)">
+                          <img
+                            src="../../assets/icon/checkNo.png"
+                            alt
+                            v-if="checktoolArray.indexOf(48) == -1"
+                          />
+                          <div class="checkDiv" v-else>
+                            <img
+                              src="../../assets/icon/checkedIs.png"
+                              alt
+                            /><span>已选择</span>
+                          </div>
+                        </div>
+                      </div>
+                    </div>
+                    <div class="toolSort" v-if="toolType == 6">
+                      <div v-show="tooC == 49">
+                        <img
+                          @click="addTools(tooC, toolIndex, taskCount)"
+                          src="../../assets/icon/fourthToolList/group.png"
+                          alt
+                        />
+                        <div style="margin: 5px 0">学生分组</div>
+                      </div>
+                    </div>
+                    <div class="toolSort" v-if="toolType == 2">
+                      <div class="tool">
+                        <div class="whiteBIcon" @click="addTools2(16)">
+                          <img
+                            src="../../assets/icon/thirdToolList/work.png"
+                            alt
+                          />
+                          <div style="margin: 5px 0">作业提交</div>
+                        </div>
+                        <div class="check" @click="addTools2(16)">
+                          <img
+                            src="../../assets/icon/checkNo.png"
+                            alt
+                            v-if="checktoolArray.indexOf(16) == -1"
+                          />
+                          <div class="checkDiv" v-else>
+                            <img
+                              src="../../assets/icon/checkedIs.png"
+                              alt
+                            /><span>已选择</span>
+                          </div>
+                        </div>
+                      </div>
+                      <div class="tool">
+                        <div class="whiteBIcon" @click="addTools2(50)">
+                          <img
+                            src="../../assets/icon/thirdToolList/plwork.png"
+                            alt
+                          />
+                          <div style="margin: 5px 0">批量上传</div>
+                        </div>
+                        <div class="check" @click="addTools2(50)">
+                          <img
+                            src="../../assets/icon/checkNo.png"
+                            alt
+                            v-if="checktoolArray.indexOf(50) == -1"
+                          />
+                          <div class="checkDiv" v-else>
+                            <img
+                              src="../../assets/icon/checkedIs.png"
+                              alt
+                            /><span>已选择</span>
+                          </div>
+                        </div>
+                      </div>
+                    </div>
+                    <div class="toolSort" v-if="toolType == 3">
+                      <div class="tool">
+                        <div class="whiteBIcon" @click="addTools2(18)">
+                          <img
+                            src="../../assets/icon/thirdToolList/trainPlatform.png"
+                            alt
+                          />
+                          <div style="margin: 5px 0">训练平台</div>
+                        </div>
+                        <div class="check" @click="addTools2(18)">
+                          <img
+                            src="../../assets/icon/checkNo.png"
+                            alt
+                            v-if="checktoolArray.indexOf(18) == -1"
+                          />
+                          <div class="checkDiv" v-else>
+                            <img
+                              src="../../assets/icon/checkedIs.png"
+                              alt
+                            /><span>已选择</span>
+                          </div>
+                        </div>
+                      </div>
+                      <div class="tool">
+                        <div class="whiteBIcon" @click="addTools2(21)">
+                          <img
+                            src="../../assets/icon/fourthToolList/program.png"
+                            alt
+                          />
+                          <div style="margin: 5px 0">编程平台</div>
+                        </div>
+                        <div class="check" @click="addTools2(21)">
+                          <img
+                            src="../../assets/icon/checkNo.png"
+                            alt
+                            v-if="checktoolArray.indexOf(21) == -1"
+                          />
+                          <div class="checkDiv" v-else>
+                            <img
+                              src="../../assets/icon/checkedIs.png"
+                              alt
+                            /><span>已选择</span>
+                          </div>
+                        </div>
+                      </div>
+                      <div class="tool">
+                        <div class="whiteBIcon" @click="addTools2(22)">
+                          <img
+                            src="../../assets/icon/fourthToolList/AIprogram2.png"
+                            alt
+                          />
+                          <div style="margin: 5px 0">AI体验</div>
+                        </div>
+                        <div class="check" @click="addTools2(22)">
+                          <img
+                            src="../../assets/icon/checkNo.png"
+                            alt
+                            v-if="checktoolArray.indexOf(22) == -1"
+                          />
+                          <div class="checkDiv" v-else>
+                            <img
+                              src="../../assets/icon/checkedIs.png"
+                              alt
+                            /><span>已选择</span>
+                          </div>
+                        </div>
+                      </div>
+                      <div class="tool">
+                        <div class="whiteBIcon" @click="addTools2(23)">
+                          <img
+                            src="../../assets/icon/fourthToolList/Pythonprogram.png"
+                            alt
+                          />
+                          <div style="margin: 5px 0">Python</div>
+                        </div>
+                        <div class="check" @click="addTools2(23)">
+                          <img
+                            src="../../assets/icon/checkNo.png"
+                            alt
+                            v-if="checktoolArray.indexOf(23) == -1"
+                          />
+                          <div class="checkDiv" v-else>
+                            <img
+                              src="../../assets/icon/checkedIs.png"
+                              alt
+                            /><span>已选择</span>
+                          </div>
+                        </div>
+                      </div>
+                      <div class="tool">
+                        <div class="whiteBIcon" @click="addTools2(24)">
+                          <img
+                            src="../../assets/icon/fourthToolList/AIprogram.png"
+                            alt
+                          />
+                          <div style="margin: 5px 0">AI平台</div>
+                        </div>
+                        <div class="check" @click="addTools2(24)">
+                          <img
+                            src="../../assets/icon/checkNo.png"
+                            alt
+                            v-if="checktoolArray.indexOf(24) == -1"
+                          />
+                          <div class="checkDiv" v-else>
+                            <img
+                              src="../../assets/icon/checkedIs.png"
+                              alt
+                            /><span>已选择</span>
+                          </div>
+                        </div>
+                      </div>
+                      <div class="tool">
+                        <div class="whiteBIcon" @click="addTools2(32)">
+                          <img
+                            src="../../assets/icon/thirdToolList/code.png"
+                            alt
+                          />
+                          <div style="margin: 5px 0">源码编辑</div>
+                        </div>
+                        <div class="check" @click="addTools2(32)">
+                          <img
+                            src="../../assets/icon/checkNo.png"
+                            alt
+                            v-if="checktoolArray.indexOf(32) == -1"
+                          />
+                          <div class="checkDiv" v-else>
+                            <img
+                              src="../../assets/icon/checkedIs.png"
+                              alt
+                            /><span>已选择</span>
+                          </div>
+                        </div>
+                      </div>
+                      <div class="tool">
+                        <div class="whiteBIcon" @click="addTools2(57)">
+                          <img
+                            src="../../assets/icon/fourthToolList/cocopi.png"
+                            alt
+                          />
+                          <div style="margin: 5px 0">CocoPi</div>
+                        </div>
+                        <div class="check" @click="addTools2(57)">
+                          <img
+                            src="../../assets/icon/checkNo.png"
+                            alt
+                            v-if="checktoolArray.indexOf(57) == -1"
+                          />
+                          <div class="checkDiv" v-else>
+                            <img
+                              src="../../assets/icon/checkedIs.png"
+                              alt
+                            /><span>已选择</span>
+                          </div>
+                        </div>
+                      </div>
+                      <div class="tool">
+                        <div class="whiteBIcon" @click="addTools2(63)">
+                          <img
+                            src="../../assets/icon/fourthToolList/Wood.png"
+                            alt
+                          />
+                          <div style="margin: 5px 0">海龟编程</div>
+                        </div>
+                        <div class="check" @click="addTools2(63)">
+                          <img
+                            src="../../assets/icon/checkNo.png"
+                            alt
+                            v-if="checktoolArray.indexOf(63) == -1"
+                          />
+                          <div class="checkDiv" v-else>
+                            <img
+                              src="../../assets/icon/checkedIs.png"
+                              alt
+                            /><span>已选择</span>
+                          </div>
+                        </div>
+                      </div>
+                      
+                    </div>
+                    <div class="toolSort" v-if="toolType == 7">
+                      <div class="tool">
+                        <div class="whiteBIcon" @click="addTools2(40)">
+                          <img
+                            src="../../assets/icon/secondToolList/eval.png"
+                            alt
+                          />
+                          <div style="margin: 5px 0">个人评价</div>
+                        </div>
+                        <div class="check" @click="addTools2(40)">
+                          <img
+                            src="../../assets/icon/checkNo.png"
+                            alt
+                            v-if="checktoolArray.indexOf(40) == -1"
+                          />
+                          <div class="checkDiv" v-else>
+                            <img
+                              src="../../assets/icon/checkedIs.png"
+                              alt
+                            /><span>已选择</span>
+                          </div>
+                        </div>
+                      </div>
+                    </div>
+                    <div class="toolSort" v-if="toolType == 5">
+                      <div class="tool">
+                        <div class="whiteBIcon" @click="addTools2(28)">
+                          <img
+                            src="../../assets/icon/secondToolList/translation.png"
+                            alt
+                          />
+                          <div style="margin: 5px 0">翻译</div>
+                        </div>
+                        <div class="check" @click="addTools2(28)">
+                          <img
+                            src="../../assets/icon/checkNo.png"
+                            alt
+                            v-if="checktoolArray.indexOf(28) == -1"
+                          />
+                          <div class="checkDiv" v-else>
+                            <img
+                              src="../../assets/icon/checkedIs.png"
+                              alt
+                            /><span>已选择</span>
+                          </div>
+                        </div>
+                      </div>
+                      <div class="tool">
+                        <div class="whiteBIcon" @click="addTools2(31)">
+                          <img
+                            src="../../assets/icon/secondToolList/networkPanel.png"
+                            alt
+                          />
+                          <div style="margin: 5px 0">数字画板</div>
+                        </div>
+                        <div class="check" @click="addTools2(31)">
+                          <img
+                            src="../../assets/icon/checkNo.png"
+                            alt
+                            v-if="checktoolArray.indexOf(31) == -1"
+                          />
+                          <div class="checkDiv" v-else>
+                            <img
+                              src="../../assets/icon/checkedIs.png"
+                              alt
+                            /><span>已选择</span>
+                          </div>
+                        </div>
+                      </div>
+                      <div class="tool">
+                          <div class="whiteBIcon" @click="addTools2(39)">
+                            <img
+                              src="../../assets/icon/secondToolList/GeoGebra.png"
+                              alt
+                            />
+                            <div style="margin: 5px 0">GeoGebra</div>
+                          </div>
+                          <div class="check" @click="addTools2(39)">
+                            <img
+                              src="../../assets/icon/checkNo.png"
+                              alt
+                              v-if="checktoolArray.indexOf(39) == -1"
+                            />
+                            <div class="checkDiv" v-else>
+                              <img
+                                src="../../assets/icon/checkedIs.png"
+                                alt
+                              /><span>已选择</span>
+                            </div>
+                          </div>
+                        </div>
+                        <div class="tool">
+                          <div class="whiteBIcon" @click="addTools2(66)">
+                            <img
+                              src="../../assets/icon/secondToolList/formulaEdi.png"
+                              alt
+                            />
+                            <div style="margin: 5px 0">公式编辑</div>
+                          </div>
+                          <div class="check" @click="addTools2(66)">
+                            <img
+                              src="../../assets/icon/checkNo.png"
+                              alt
+                              v-if="checktoolArray.indexOf(66) == -1"
+                            />
+                            <div class="checkDiv" v-else>
+                              <img
+                                src="../../assets/icon/checkedIs.png"
+                                alt
+                              /><span>已选择</span>
+                            </div>
+                          </div>
+                        </div>
+                        <div class="tool">
+                          <div class="whiteBIcon" @click="addTools2(67)">
+                            <img
+                              src="../../assets/icon/secondToolList/molStr.png"
+                              alt
+                            />
+                            <div style="margin: 5px 0">分子结构</div>
+                          </div>
+                          <div class="check" @click="addTools2(67)">
+                            <img
+                              src="../../assets/icon/checkNo.png"
+                              alt
+                              v-if="checktoolArray.indexOf(67) == -1"
+                            />
+                            <div class="checkDiv" v-else>
+                              <img
+                                src="../../assets/icon/checkedIs.png"
+                                alt
+                              /><span>已选择</span>
+                            </div>
+                          </div>
+                        </div>
+                        <div class="tool">
+                          <div class="whiteBIcon" @click="addTools2(68)">
+                            <img
+                              src="../../assets/icon/secondToolList/timeAxis.png"
+                              alt
+                            />
+                            <div style="margin: 5px 0">时间轴</div>
+                          </div>
+                          <div class="check" @click="addTools2(68)">
+                            <img
+                              src="../../assets/icon/checkNo.png"
+                              alt
+                              v-if="checktoolArray.indexOf(68) == -1"
+                            />
+                            <div class="checkDiv" v-else>
+                              <img
+                                src="../../assets/icon/checkedIs.png"
+                                alt
+                              /><span>已选择</span>
+                            </div>
+                          </div>
+                        </div>
+                    </div>
+                    <div class="toolSort" v-if="toolType == 4">
+                      <div class="tool">
+                        <div class="whiteBIcon" @click="addTools2(26)">
+                          <img
+                            src="../../assets/icon/thirdToolList/courseDesign.png"
+                            alt
+                          />
+                          <div style="margin: 5px 0">课程设计</div>
+                        </div>
+                        <div class="check" @click="addTools2(26)">
+                          <img
+                            src="../../assets/icon/checkNo.png"
+                            alt
+                            v-if="checktoolArray.indexOf(26) == -1"
+                          />
+                          <div class="checkDiv" v-else>
+                            <img
+                              src="../../assets/icon/checkedIs.png"
+                              alt
+                            /><span>已选择</span>
+                          </div>
+                        </div>
+                      </div>
+                      <div class="tool">
+                        <div class="whiteBIcon" @click="addTools2(25)">
+                          <img
+                            src="../../assets/icon/thirdToolList/evalua.png"
+                            alt
+                          />
+                          <div style="margin: 5px 0">目标管理</div>
+                        </div>
+                        <div class="check" @click="addTools2(25)">
+                          <img
+                            src="../../assets/icon/checkNo.png"
+                            alt
+                            v-if="checktoolArray.indexOf(25) == -1"
+                          />
+                          <div class="checkDiv" v-else>
+                            <img
+                              src="../../assets/icon/checkedIs.png"
+                              alt
+                            /><span>已选择</span>
+                          </div>
+                        </div>
+                      </div>
+                    </div>
+                  </div>
+                </div>
+              </div>
+            </div>
             <div class="vedioBox" style="margin-top: 10px;" v-if="false">
               <div
                 class="queTop"

+ 1 - 1
src/components/studyStudent.vue

@@ -17451,7 +17451,7 @@ export default {
 }
 
 .filebox .tooldetail {
-  width: 85%;
+  width: calc(100% - 300px);
   margin: 0px 12px;
   padding: 12px 25px 0 13px;
   line-height: 30px;

Some files were not shown because too many files changed in this diff