瀏覽代碼

03/14 12:00

提交测试
261568008@qq.com 5 年之前
父節點
當前提交
2d5b549476

文件差異過大導致無法顯示
+ 0 - 0
dist/index.html


+ 1 - 1
dist/static/css/chunk-726df150.afab0f66.css → dist/static/css/chunk-47cc4ac1.a2ac4318.css

@@ -1 +1 @@
-.pagination-container[data-v-31cb099a]{background:#fff;padding:32px 16px;width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.pagination-container.hidden[data-v-31cb099a]{display:none}.titlewrap[data-v-032d77d7]{-webkit-box-align:center;-ms-flex-align:center;align-items:center}.titlewrap[data-v-032d77d7],.wrap[data-v-032d77d7]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.wrap div[data-v-032d77d7]{margin-right:20px}
+.pagination-container[data-v-31cb099a]{background:#fff;padding:32px 16px;width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.pagination-container.hidden[data-v-31cb099a]{display:none}.titlewrap[data-v-a9e10820]{-webkit-box-align:center;-ms-flex-align:center;align-items:center}.titlewrap[data-v-a9e10820],.wrap[data-v-a9e10820]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.wrap div[data-v-a9e10820]{margin-right:20px}

+ 1 - 1
dist/static/css/chunk-2f8b09ea.d3a8de0a.css → dist/static/css/chunk-d62f713a.964d17c4.css

@@ -1 +1 @@
-.pagination-container[data-v-31cb099a]{background:#fff;padding:32px 16px;width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.pagination-container.hidden[data-v-31cb099a]{display:none}.vipwrap[data-v-04da8bc5]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.vipwrap .newBand[data-v-04da8bc5]{margin-right:20px}.resetClassForm[data-v-04da8bc5] .el-date-editor.el-input,.resetClassForm[data-v-04da8bc5] .el-date-editor.el-input__inner{width:180px!important}[data-v-04da8bc5] .el-date-editor.el-input,[data-v-04da8bc5] .el-date-editor.el-input__inner{width:100px!important}
+.pagination-container[data-v-31cb099a]{background:#fff;padding:32px 16px;width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.pagination-container.hidden[data-v-31cb099a]{display:none}.vipwrap[data-v-1c484d90]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.vipwrap .newBand[data-v-1c484d90]{margin-right:20px}.resetClassForm[data-v-1c484d90] .el-date-editor.el-input,.resetClassForm[data-v-1c484d90] .el-date-editor.el-input__inner{width:180px!important}[data-v-1c484d90] .el-date-editor.el-input,[data-v-1c484d90] .el-date-editor.el-input__inner{width:100px!important}

文件差異過大導致無法顯示
+ 0 - 0
dist/static/js/app.c127a7c2.js


文件差異過大導致無法顯示
+ 0 - 0
dist/static/js/chunk-2f8b09ea.6bd6e98a.js


文件差異過大導致無法顯示
+ 0 - 0
dist/static/js/chunk-47cc4ac1.89cb8380.js


文件差異過大導致無法顯示
+ 0 - 0
dist/static/js/chunk-726df150.b6eaf07c.js


文件差異過大導致無法顯示
+ 0 - 0
dist/static/js/chunk-d62f713a.174b5711.js


+ 1 - 1
src/views/accompanyManager/accompanys.vue

@@ -571,7 +571,7 @@ export default {
       this.teacherForm.teacher = this.courseData[0].userId;
       this.teacherForm.name = this.courseData[0].name;
       this.teacherForm.subjectId = this.courseData[0].subjectId;
-      this.teacherForm.educationalTeacherId = this.courseData[0].educationalTeacherId;
+      this.teacherForm.educationalTeacherId = this.courseData[0].educationalTeacherId || null;
       this.teacherVisible = true;
     },
     // 提交课程组修改

+ 35 - 6
src/views/vipClass/vipReset.vue

@@ -15,6 +15,11 @@
         v-permission="'vipGroupManage/updateVipBaseInfo'"
         @click="addrVisible = true"
       >修改教学点</div>
+          <div
+        class="newBand"
+        v-permission="{parent:'/vipReset',child:'employee/findEducationUsers'}"
+        @click="educationalVisible = true"
+      >修改教务</div>
     </div>
 
     <div class="tableWrap">
@@ -330,6 +335,15 @@
             ></el-option>
           </el-select>
         </el-form-item>
+      </el-form>
+      <span slot="footer" class="dialog-footer">
+        <el-button @click="addrVisible = false">取 消</el-button>
+        <el-button type="primary" @click="resetAddrSubmit">确 定</el-button>
+      </span>
+    </el-dialog>
+    <!-- 修改教务老师 -->
+     <el-dialog title="修改教务" width="400px" :visible.sync="educationalVisible">
+      <el-form :model="addrForm">
          <el-form-item label="教务老师" prop="educationalTeacherId">
             <el-select
               v-model.trim="addrForm.educationalTeacherId"
@@ -346,8 +360,8 @@
           </el-form-item>
       </el-form>
       <span slot="footer" class="dialog-footer">
-        <el-button @click="addrVisible = false">取 消</el-button>
-        <el-button type="primary" @click="resetAddrSubmit">确 定</el-button>
+        <el-button @click="educationalVisible = false">取 消</el-button>
+        <el-button type="primary" @click="resetEducationalVisible">确 定</el-button>
       </span>
     </el-dialog>
   </div>
@@ -380,6 +394,7 @@ export default {
       adjustmentVisible: false,
       addCourseVisible: false,
       courseVisible: false,
+      educationalVisible:false,
       tableList: [],
       addTable: [],
       educationList:[],
@@ -752,10 +767,6 @@ export default {
         this.$message.error("请选择一个教学点");
         return;
       }
-      if (!this.addrForm.educationalTeacherId) {
-        this.$message.error("请选择教务老师");
-        return;
-      }
       // 修改教学点
       updateVipBaseInfo({
         id: this.vipid,
@@ -769,6 +780,24 @@ export default {
         }
       });
     },
+   resetEducationalVisible(){
+        if (!this.addrForm.educationalTeacherId) {
+        this.$message.error("请选择一个教学点");
+        return;
+      }
+      // 修改教务老师
+      updateVipBaseInfo({
+        id: this.vipid,
+
+        educationalTeacherId:this.addrForm.educationalTeacherId
+      }).then(res => {
+        if (res.code == 200) {
+          this.$message.success("修改成功");
+          this.educationalVisible = false;
+          this.getList();
+        }
+      });
+   },
       // 清除考勤
     clearAttend(row) {
       this.$confirm("是否清除考勤记录?", "提示", {

部分文件因文件數量過多而無法顯示