lsc 2 lat temu
rodzic
commit
b1a5d66f8b

BIN
src/assets/icon/fourthToolList/zip.png


BIN
src/assets/icon/isVideo.png


+ 114 - 6
src/components/pages/student/addCourse.vue

@@ -838,6 +838,9 @@
                                                         <span v-if="itemTool.tool == 54">
                                                             拍照上传
                                                         </span>
+                                                        <span v-if="itemTool.tool == 55">
+                                                            压缩文件
+                                                        </span>
                                                     </div>
                                                     <div class="remove" @click="deleteTool(itemTaskIndex, toolIndex)"
                                                         v-if="itemTask.toolArray.length > 0"
@@ -906,7 +909,7 @@
                                                                 alt />
                                                             <div style="margin: 5px 0">文件上传</div>
                                                             <input type="file"
-                                                                accept="application/pdf, application/.ppt, .pptx, .xlsx, .xls, application/msword, application/vnd.openxmlformats-officedocument.wordprocessingml.document"
+                                                                accept="application/pdf, application/.ppt, .pptx, .xlsx, .xls, application/msword, application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/zip"
                                                                 capture="camera" style="display: none"
                                                                 @change="beforeUploadCC($event, 1, itemTaskIndex, toolIndex, 53)" />
                                                             <div v-if="itemTool.proVisible" class="mask">
@@ -922,8 +925,9 @@
                                                             <img src="../../../assets/icon/fourthToolList/photo.png"
                                                                 alt />
                                                             <div style="margin: 5px 0">拍照上传</div>
-                                                            <input type="file" accept="image/*" capture="camera"
-                                                                style="display: none"
+                                                            <input type="file"
+                                                                accept="video/mp4, video/quicktime, video/x-msvideo,image/*"
+                                                                capture="camera" style="display: none"
                                                                 @change="beforeUploadCC($event, 2, itemTaskIndex, toolIndex, 54)" />
                                                             <div v-if="itemTool.proVisible" class="mask">
                                                                 <div class="lbox2">
@@ -932,6 +936,23 @@
                                                             </div>
                                                         </div>
                                                     </div>
+                                                    <div class="tool" v-if="itemTool.tool == 55"
+                                                        style="position:relative">
+                                                        <div class="whiteBIcon" @click="addImg($event)">
+                                                            <img src="../../../assets/icon/fourthToolList/zip.png"
+                                                                alt />
+                                                            <div style="margin: 5px 0">压缩文件</div>
+                                                            <input type="file"
+                                                                accept=".zip,.rar"
+                                                                capture="camera" style="display: none"
+                                                                @change="beforeUploadCC($event, 3, itemTaskIndex, toolIndex, 55)" />
+                                                            <div v-if="itemTool.proVisible" class="mask">
+                                                                <div class="lbox2">
+                                                                    <img src="../../../assets/loading.gif" />
+                                                                </div>
+                                                            </div>
+                                                        </div>
+                                                    </div>
                                                     <div v-if="itemTool.tool == 51">
                                                         <div class="vedioTaskBox">
                                                             <div class="box_course"
@@ -1072,6 +1093,12 @@
                                                         <img v-if="photo.type == 12"
                                                             src="../../../assets/icon/isWord.png" alt=""
                                                             @click="openText(photo.content)">
+                                                        <img v-if="photo.type == 13"
+                                                            src="../../../assets/icon/isWord.png" alt=""
+                                                            @click="downloadFile(photo.content)">
+                                                        <img v-if="photo.type == 5"
+                                                            src="../../../assets/icon/isVideo.png" alt=""
+                                                            @click="openVideo(photo.content)">
                                                         <img class="deleteImg" src="../../../assets/deleteworks.png"
                                                             v-if="
                                                                 photo.userid == userid
@@ -1772,6 +1799,20 @@
                 <el-button type="primary" @click="addTableJson">确定</el-button>
             </span>
         </el-dialog>
+        <el-dialog title="添加表格" :visible.sync="dialogVisibleTable1" :append-to-body="true" width="95%"
+            :before-close="handleClose" class="dialog_diy">
+            <el-form>
+                <!-- <el-form-item label="文本标题">
+                          <el-input v-model="AttText.title" auto-complete="off" @input="change2" placeholder="请输入文本标题..."></el-input>
+                        </el-form-item> -->
+                <div>表格内容</div>
+                <Table v-model="tableJson.text" @change="change"></Table>
+            </el-form>
+            <span slot="footer" class="dialog-footer">
+                <el-button @click="dialogVisibleTable1 = false">取 消</el-button>
+                <el-button type="primary" @click="addTable">确定</el-button>
+            </span>
+        </el-dialog>
         <el-dialog title="查看表格" :visible.sync="dialogVisibleTable2" :append-to-body="true" width="95%"
             :before-close="handleClose" class="dialog_diy">
             <el-form>
@@ -1876,6 +1917,12 @@
                                         <div style="margin: 5px 0">拍照上传</div>
                                     </div>
                                 </div>
+                                <div class="tool">
+                                    <div class="whiteBIcon" @click="addToolFun(55)">
+                                        <img src="../../../assets/icon/fourthToolList/zip.png" alt />
+                                        <div style="margin: 5px 0">压缩文件</div>
+                                    </div>
+                                </div>
                             </div>
                         </div>
                     </div>
@@ -2155,6 +2202,18 @@
                 <el-button @click="dialogVisibleText2 = false">关 闭</el-button>
             </span>
         </el-dialog>
+        <el-dialog title="查看视频" :visible.sync="videoVisible" :append-to-body="true" width="1000px"
+            :before-close="handleClose" class="dialog_diy1">
+            <div class="workd_media" style="height: 100%" v-if="videoDetail.sources">
+                <video-player class="video-player vjs-custom-skin" :playsinline="true" :options="videoDetail"
+                    @play="onPlayerPlay($event)" style="width: 100%; height: 100%"></video-player>
+            </div>
+            <div slot="footer">
+                <el-button style="background: #409efe; color: #fff"
+                    @click="(videoVisible = false), (videoDetail = {})">
+                    关 闭</el-button>
+            </div>
+        </el-dialog>
     </div>
 </template>
 <script>
@@ -2245,6 +2304,8 @@ export default {
             dialogVisibleText: false,
             dialogVisibleText2: false,
             dialogVisibleText3: false,
+            videoVisible: false,
+            videoDetail: {},
             showPDF: "",
             pptImgUrl: "",
             full: false,
@@ -2261,6 +2322,7 @@ export default {
             orgArray: ["150e3120-9195-11ed-b13d-005056b86db5"],
             oidArray: [],
             dialogVisibleTable: false,
+            dialogVisibleTable1: false,
             dialogVisibleTable2: false,
             tableJson: {
                 text: ""
@@ -2548,6 +2610,7 @@ export default {
             this.$forceUpdate();
         },
         handleClose(done) {
+            this.videoDetail = {}
             done();
         },
         imgChange1(file, fileList, type, itemTaskIndex) {
@@ -3772,10 +3835,20 @@ export default {
                                 "OGM",
                             ];
                             if (type == 1) {
-                                _this.addCourseWorksS(tool, 4, data.Location, task, toolindex);
+                                if (['ZIP'].indexOf(data.Location.split(".")[data.Location.split(".").length - 1].toLocaleUpperCase()) != -1){
+                                    _this.addCourseWorksS(tool, 13, data.Location, task, toolindex);
+                                }else{
+                                    _this.addCourseWorksS(tool, 4, data.Location, task, toolindex);
+                                }
                             } else if (type == 2) {
-                                _this.addCourseWorksS(tool, 1, data.Location, task, toolindex);
-                            }
+                                if (c.indexOf(data.Location.split(".")[data.Location.split(".").length - 1].toLocaleUpperCase()) != -1) {
+                                    _this.addCourseWorksS(tool, 5, data.Location, task, toolindex);
+                                }  else {
+                                    _this.addCourseWorksS(tool, 1, data.Location, task, toolindex);
+                                } 
+                            }else if (type == 3) {
+                                _this.addCourseWorksS(tool, 13, data.Location, task, toolindex);
+                            } 
                             console.log(data.Location);
                             // _this.$message.success('上传成功'+data.Location)
                         }
@@ -3936,6 +4009,9 @@ export default {
             if (tool == 15) {
                 this.tableJson.text = ''
                 this.dialogVisible8 = true;
+            } else if (tool == 48) {
+                this.tableJson.text = ''
+                this.dialogVisibleTable1 = true;
             } else if (tool == 52) {
                 this.tableJson.text = ''
                 this.dialogVisibleText = true;
@@ -4018,6 +4094,7 @@ export default {
             if (tool == 48) {
                 this.taskCount = taskCount
                 this.toolIndex = i
+                this.tableJson.text = this.unitJson[this.unitIndex].chapterInfo[0].taskJson[taskCount].toolArray[i].table ? JSON.parse(JSON.stringify(this.unitJson[this.unitIndex].chapterInfo[0].taskJson[taskCount].toolArray[i].table)) : ''
                 this.dialogVisibleTable = true;
             } else if (tool == 15) {
                 this.taskCount = taskCount
@@ -5528,6 +5605,32 @@ export default {
             //   this.addTools(15, this.taskCount, this.toolIndex);
             // }
         },
+        addTable() {
+            // if (this.tableJson.text == "" || this.tableJson.text == "<p></p>") {
+            //     this.$message.error("请填写信息!");
+            //     return;
+            // }
+
+            this.unitJson[this.unitIndex].chapterInfo[0].taskJson[
+                this.taskCount
+            ].toolArray.push({
+                tool: 48,
+                toolDetail: "",
+                toolPhoto: "",
+                toolEdit: false,
+                toolId: this.guid(),
+                table: this.tableJson.text
+            });
+            this.$forceUpdate();
+            this.dialogVisibleTool = false;
+            this.dialogVisibleTable1 = false;
+            // if (
+            //   this.unitJson[this.unitIndex].chapterInfo[0].taskJson[this.taskCount]
+            //     .toolChoose[this.toolIndex].tool != 15
+            // ) {
+            //   this.addTools(15, this.taskCount, this.toolIndex);
+            // }
+        },
         addMp3Answer() {
             if (this.answerQ == "") {
                 this.$message.error("请输入您想要回答的问题");
@@ -6343,6 +6446,11 @@ export default {
             c.push(sid.id);
             this.courseTypeId = c
         },
+        openVideo(w) {
+            this.videoDetail = JSON.parse(JSON.stringify(this.playerOptions));
+            this.videoDetail.sources[0].src = w;
+            this.videoVisible = true;
+        },
     },
     beforeDestroy() {
         clearTimeout(this.timer);

+ 195 - 187
src/components/pages/tencent/school.vue

@@ -1,24 +1,18 @@
 <template>
-  <div
-    class="pb_content"
-    style="
-      overflow: auto;
-      margin: 0px;
-      box-sizing: border-box;
-      width: 100%;
-      height: 100%;
-    "
-  >
+  <div class="pb_content" style="
+    overflow: auto;
+    margin: 0px;
+    box-sizing: border-box;
+    width: 100%;
+    height: 100%;
+  ">
     <div>
-      <div
-        class="pb_content_body"
-        style="
-          background: #fff;
-          padding: 0px 25px;
-          box-sizing: border-box;
-          margin: 10px auto 0;
-        "
-      >
+      <div class="pb_content_body" style="
+        background: #fff;
+        padding: 0px 25px;
+        box-sizing: border-box;
+        margin: 10px auto 0;
+      ">
         <div class="pb_head">
           <span>学校管理</span>
           <!-- <span>备注:教师可以根据课程、班级条件筛选学生并查看该学生信息</span> -->
@@ -30,26 +24,20 @@
             <div>参与校</div>
             <div>
               <el-button size="small" type="primary" @click="openAddSchool(1)">
-                添加学校</el-button
-              >
+                添加学校</el-button>
+              <el-upload class="upload-demo newCss" v-if="false" :http-request="importA" :on-remove="handleRemove" action="#"
+                :file-list="fileListUpload" accept=".xlsx">
+                <el-button size="primary" type="primary">批量添加</el-button>
+              </el-upload>
             </div>
           </div>
           <div style="margin: 0 auto 10px">
             <div class="student_table">
-              <el-table
-                ref="table"
-                :data="tableData"
-                stripe
-                border
-                :header-cell-style="{
-                  background: '#f1f1f1',
-                  'text-align': 'center',
-                }"
-                :cell-style="{ 'text-align': 'center' }"
-                style="width: 100%"
-                :height="tableHeight"
-                v-loading="isLoading"
-              >
+              <el-table ref="table" :data="tableData" stripe border :header-cell-style="{
+                background: '#f1f1f1',
+                'text-align': 'center',
+              }" :cell-style="{ 'text-align': 'center' }" style="width: 100%" :height="tableHeight"
+                v-loading="isLoading">
                 <el-table-column prop="name" label="学校名称" min-width="30">
                 </el-table-column>
                 <el-table-column label="联结学校" min-width="10" align="center">
@@ -62,30 +50,17 @@
                 <el-table-column prop="date" label="操作" min-width="30">
                   <template slot-scope="scope">
                     <div class="pb_buttonBox">
-                      <el-button
-                        size="mini"
-                        type="primary"
-                        @click="openNoCSchool(scope.row.id, scope.row.cname)"
-                        >联结</el-button
-                      >
-                      <el-button
-                        size="mini"
-                        type="primary"
-                        @click="
-                          updateS(
-                            scope.row.id,
-                            scope.row.name,
-                            scope.row.dest,
-                            1
-                          )
-                        "
-                        >修改</el-button
-                      >
-                      <el-button
-                        size="mini"
-                        type="primary"
-                        @click="deleteSchool(scope.row.id, 1)"
-                        >删除
+                      <el-button size="mini" type="primary"
+                        @click="openNoCSchool(scope.row.id, scope.row.cname)">联结</el-button>
+                      <el-button size="mini" type="primary" @click="
+                        updateS(
+                          scope.row.id,
+                          scope.row.name,
+                          scope.row.dest,
+                          1
+                        )
+                      ">修改</el-button>
+                      <el-button size="mini" type="primary" @click="deleteSchool(scope.row.id, 1)">删除
                       </el-button>
                     </div>
                   </template>
@@ -94,14 +69,8 @@
             </div>
           </div>
           <div class="student_page">
-            <el-pagination
-              background
-              layout="prev, pager, next"
-              :page-size="10"
-              :total="total"
-              v-if="page"
-              @current-change="handleCurrentChange"
-            ></el-pagination>
+            <el-pagination background layout="prev, pager, next" :page-size="10" :total="total" v-if="page"
+              @current-change="handleCurrentChange"></el-pagination>
           </div>
         </div>
         <div class="halfBox" style="width: 40%">
@@ -109,26 +78,16 @@
             <div>协同校</div>
             <div>
               <el-button size="small" type="primary" @click="openAddSchool(2)">
-                添加学校</el-button
-              >
+                添加学校</el-button>
             </div>
           </div>
           <div style="margin: 0 auto 10px">
             <div class="student_table">
-              <el-table
-                ref="table"
-                :data="tableData1"
-                stripe
-                border
-                :header-cell-style="{
-                  background: '#f1f1f1',
-                  'text-align': 'center',
-                }"
-                :cell-style="{ 'text-align': 'center' }"
-                style="width: 100%"
-                :height="tableHeight"
-                v-loading="isLoading"
-              >
+              <el-table ref="table" :data="tableData1" stripe border :header-cell-style="{
+                background: '#f1f1f1',
+                'text-align': 'center',
+              }" :cell-style="{ 'text-align': 'center' }" style="width: 100%" :height="tableHeight"
+                v-loading="isLoading">
                 <el-table-column prop="name" label="学校名称" min-width="30">
                   <template slot-scope="scope">
                     <div class="ljBox">
@@ -148,24 +107,15 @@
                 <el-table-column prop="date" label="操作" min-width="30">
                   <template slot-scope="scope">
                     <div class="pb_buttonBox">
-                      <el-button
-                        size="mini"
-                        type="primary"
-                        @click="
-                          updateS(
-                            scope.row.id,
-                            scope.row.name,
-                            scope.row.dest,
-                            2
-                          )
-                        "
-                        >修改</el-button
-                      >
-                      <el-button
-                        size="mini"
-                        type="primary"
-                        @click="deleteSchool(scope.row.id, 2)"
-                        >删除
+                      <el-button size="mini" type="primary" @click="
+                        updateS(
+                          scope.row.id,
+                          scope.row.name,
+                          scope.row.dest,
+                          2
+                        )
+                      ">修改</el-button>
+                      <el-button size="mini" type="primary" @click="deleteSchool(scope.row.id, 2)">删除
                       </el-button>
                     </div>
                   </template>
@@ -174,45 +124,22 @@
             </div>
           </div>
           <div class="student_page">
-            <el-pagination
-              background
-              layout="prev, pager, next"
-              :page-size="10"
-              :total="total1"
-              v-if="page1"
-              @current-change="handleCurrentChange1"
-            ></el-pagination>
+            <el-pagination background layout="prev, pager, next" :page-size="10" :total="total1" v-if="page1"
+              @current-change="handleCurrentChange1"></el-pagination>
           </div>
         </div>
       </div>
     </div>
-    <el-dialog
-      title="添加学校"
-      :visible.sync="dialogVisible"
-      width="500px"
-      :before-close="handleClose"
-      class="dialog_diy"
-      center
-    >
+    <el-dialog title="添加学校" :visible.sync="dialogVisible" width="500px" :before-close="handleClose" class="dialog_diy"
+      center>
       <div class="addBox">
         <span class="tian1">学校名称</span>
-        <el-input
-          v-model="schoolName"
-          style="width: 250px; margin: 15px 0px"
-          placeholder="请输入学校名称"
-        ></el-input>
+        <el-input v-model="schoolName" style="width: 250px; margin: 15px 0px" placeholder="请输入学校名称"></el-input>
       </div>
       <div class="addBox">
         <span class="tian1">所属地区</span>
-        <el-cascader
-          size="large"
-          style="width: 250px"
-          clearable
-          :options="region"
-          v-model="selectedOptions"
-          @change="handleChange"
-          placeholder="请选择市区"
-        >
+        <el-cascader size="large" style="width: 250px" clearable :options="region" v-model="selectedOptions"
+          @change="handleChange" placeholder="请选择市区">
         </el-cascader>
       </div>
       <span slot="footer" class="dialog-footer">
@@ -220,33 +147,16 @@
         <el-button type="primary" @click="addSchool">确 定</el-button>
       </span>
     </el-dialog>
-    <el-dialog
-      title="修改学校"
-      :visible.sync="dialogVisible1"
-      width="500px"
-      :before-close="handleClose"
-      class="dialog_diy"
-      center
-    >
+    <el-dialog title="修改学校" :visible.sync="dialogVisible1" width="500px" :before-close="handleClose" class="dialog_diy"
+      center>
       <div class="addBox">
         <span class="tian1">学校名称</span>
-        <el-input
-          v-model="schoolName"
-          style="width: 250px; margin: 15px 0px"
-          placeholder="请输入学校名称"
-        ></el-input>
+        <el-input v-model="schoolName" style="width: 250px; margin: 15px 0px" placeholder="请输入学校名称"></el-input>
       </div>
       <div class="addBox">
         <span class="tian1">所属地区</span>
-        <el-cascader
-          size="large"
-          style="width: 250px"
-          clearable
-          :options="region"
-          v-model="selectedOptions"
-          @change="handleChange"
-          placeholder="请选择市区"
-        >
+        <el-cascader size="large" style="width: 250px" clearable :options="region" v-model="selectedOptions"
+          @change="handleChange" placeholder="请选择市区">
         </el-cascader>
       </div>
       <span slot="footer" class="dialog-footer">
@@ -254,24 +164,13 @@
         <el-button type="primary" @click="updateSchool">确 定</el-button>
       </span>
     </el-dialog>
-    <el-dialog
-      title="添加联结"
-      :visible.sync="dialogVisible2"
-      width="500px"
-      :before-close="handleClose1"
-      class="dialog_diy"
-      center
-    >
+    <el-dialog title="添加联结" :visible.sync="dialogVisible2" width="500px" :before-close="handleClose1" class="dialog_diy"
+      center>
       <div class="addBox">
         <span class="tian1">协同校</span>
         <el-select v-model="isCSchool" placeholder="请选择联结学校">
           <el-option label="取消联结" value="''"> </el-option>
-          <el-option
-            v-for="item in cShool"
-            :key="item.id"
-            :label="item.name"
-            :value="item.id"
-          >
+          <el-option v-for="item in cShool" :key="item.id" :label="item.name" :value="item.id">
           </el-option>
         </el-select>
       </div>
@@ -282,7 +181,7 @@
     </el-dialog>
   </div>
 </template>
-  
+
 <script>
 import { regionData, CodeToText } from "element-china-area-data";
 const Data = regionData;
@@ -311,6 +210,7 @@ export default {
       sType: 0,
       isCSchool: "",
       cShool: [],
+      fileListUpload:[]
     };
   },
   mounted() {
@@ -571,6 +471,109 @@ export default {
           console.error(err);
         });
     },
+    importA(file) {
+      this.fileTemp = file.file;
+      if (this.fileTemp) {
+        if (
+          this.fileTemp.type ==
+          "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" ||
+          this.fileTemp.type == "application/vnd.ms-excel"
+        ) {
+          this.importCount = 1;
+          this.importfxx(this.fileTemp);
+        } else {
+          this.$message({
+            type: "warning",
+            message: "附件格式错误,请删除后重新上传!",
+          });
+        }
+      } else {
+        this.$message({
+          type: "warning",
+          message: "请上传附件!",
+        });
+      }
+    },
+    handleRemove(file, fileList) {
+      this.fileTemp = null;
+    },
+    importfxx(obj) {
+      const loading = this.$loading.service({
+        background: "rgba(255, 255, 255, 0.7)",
+        target: document.body,
+      });
+      this.importCount++;
+      let _this = this;
+      // 通过DOM取文件数据
+      this.file = obj;
+      var rABS = false; //是否将文件读取为二进制字符串
+      var f = this.file;
+      var reader = new FileReader();
+      //if (!FileReader.prototype.readAsBinaryString) {
+      FileReader.prototype.readAsBinaryString = function (f) {
+        var binary = "";
+        var rABS = false; //是否将文件读取为二进制字符串
+        var pt = this;
+        var wb; //读取完成的数据
+        var outdata;
+        var reader = new FileReader();
+        reader.onload = function (e) {
+          var bytes = new Uint8Array(reader.result);
+          var length = bytes.byteLength;
+          for (var i = 0; i < length; i++) {
+            binary += String.fromCharCode(bytes[i]);
+          }
+          var XLSX = require("xlsx");
+          if (rABS) {
+            wb = XLSX.read(btoa(fixdata(binary)), {
+              //手动转化
+              type: "base64",
+            });
+          } else {
+            wb = XLSX.read(binary, {
+              type: "binary",
+            });
+          }
+          outdata = XLSX.utils.sheet_to_json(wb.Sheets[wb.SheetNames[0]]); //outdata就是你想要的东西
+          this.da = [...outdata];
+          let arr = [];
+          this.da.map((v) => {
+            let obj = {};
+            obj.school = v["学校名字"];
+            arr.push(obj);
+          });
+          console.log(arr);
+          let newArr = JSON.stringify(arr);
+          let params = [
+            {
+              arr: newArr,
+              org: _this.org,
+            },
+          ];
+          _this.ajax
+            .post(_this.$store.state.api + "batchRegistrationSchool", params)
+            .then((res) => {
+                _this.$message({
+                  message: "新增成功",
+                  type: "success",
+                });
+              loading.close();
+            })
+            .catch((err) => {
+              console.error(err);
+            });
+          _this.fileListUpload = [];
+        };
+
+        reader.readAsArrayBuffer(f);
+      };
+
+      if (rABS) {
+        reader.readAsArrayBuffer(f);
+      } else {
+        reader.readAsBinaryString(f);
+      }
+    },
   },
   created() {
     this.page = 1;
@@ -579,9 +582,9 @@ export default {
   },
 };
 </script>
-  
+
 <style scoped>
-.pb_head > span:nth-child(2) {
+.pb_head>span:nth-child(2) {
   font-size: 16px;
   margin-left: 80px;
   color: #ab582f;
@@ -607,7 +610,7 @@ export default {
   margin: 10px 0 0 0;
 }
 
-.disUoloadSty >>> .el-upload--picture-card {
+.disUoloadSty>>>.el-upload--picture-card {
   display: none;
   /* 上传按钮隐藏 */
 }
@@ -634,11 +637,12 @@ export default {
   background: #fff;
 }
 
-.student_head > div:nth-child(1) {
+.student_head>div:nth-child(1) {
   padding: 0 0 0 30px;
   font-size: 18px;
 }
-.student_head > div:nth-child(2) {
+
+.student_head>div:nth-child(2) {
   margin-right: 10px;
 }
 
@@ -657,47 +661,47 @@ export default {
   justify-content: space-between;
 }
 
-.student_table >>> .el-table--border td {
+.student_table>>>.el-table--border td {
   border-right: 0px !important;
 }
 
-.student_table >>> .el-table,
-.student_table >>> .el-table__body-wrapper {
+.student_table>>>.el-table,
+.student_table>>>.el-table__body-wrapper {
   height: auto !important;
 }
 
-.el-table >>> .even_row {
+.el-table>>>.even_row {
   background-color: #f1f1f1 !important;
 }
 
-.dialog_diy >>> .el-dialog__header {
+.dialog_diy>>>.el-dialog__header {
   padding: 9px 20px 10px;
   background: #32455b !important;
 }
 
-.dialog_diy >>> .el-dialog__title {
+.dialog_diy>>>.el-dialog__title {
   color: #fff;
   font-size: 15px;
 }
 
-.dialog_diy >>> .el-dialog__headerbtn {
+.dialog_diy>>>.el-dialog__headerbtn {
   top: 14px;
 }
 
-.dialog_diy >>> .el-dialog__headerbtn .el-dialog__close {
+.dialog_diy>>>.el-dialog__headerbtn .el-dialog__close {
   color: #fff;
 }
 
-.dialog_diy >>> .el-dialog__headerbtn .el-dialog__close:hover {
+.dialog_diy>>>.el-dialog__headerbtn .el-dialog__close:hover {
   color: #fff;
 }
 
-.dialog_diy >>> .el-dialog__body,
-.dialog_diy >>> .el-dialog__footer {
+.dialog_diy>>>.el-dialog__body,
+.dialog_diy>>>.el-dialog__footer {
   background: #fafafa;
 }
 
-.r_diy >>> .el-dialog__footer {
+.r_diy>>>.el-dialog__footer {
   padding: 0;
 }
 
@@ -759,10 +763,12 @@ export default {
   margin: 0 auto;
   justify-content: space-between;
 }
+
 .halfBox {
   /* width: 50%; */
   margin-top: 10px;
 }
+
 .ljBox {
   display: flex;
   flex-direction: row;
@@ -770,18 +776,20 @@ export default {
   align-items: center;
   justify-content: center;
 }
+
 .isLj {
   color: #4679ab;
   font-weight: bold;
 }
+
 .isLjImg {
   width: 20px;
   height: 20px;
   margin-left: 5px;
 }
-.isLjImg > img {
+
+.isLjImg>img {
   width: 100%;
   height: 100%;
 }
 </style>
-