|  | @@ -2,14 +2,20 @@
 | 
	
		
			
				|  |  |    <div class="pb_content" style="height: auto">
 | 
	
		
			
				|  |  |      <div class="pb_head top">
 | 
	
		
			
				|  |  |        <div>
 | 
	
		
			
				|  |  | -        <span>项目管理</span>
 | 
	
		
			
				|  |  | -        <span class="subClick" @click="
 | 
	
		
			
				|  |  | -          goTo('/works?userid=' + userid + '&oid=' + oid + '&org=' + org)
 | 
	
		
			
				|  |  | -        ">评价管理</span>
 | 
	
		
			
				|  |  | +        <span class="sub_head">项目管理</span>
 | 
	
		
			
				|  |  | +        <span
 | 
	
		
			
				|  |  | +          class="subClick"
 | 
	
		
			
				|  |  | +          @click="
 | 
	
		
			
				|  |  | +            goTo('/works?userid=' + userid + '&oid=' + oid + '&org=' + org)
 | 
	
		
			
				|  |  | +          "
 | 
	
		
			
				|  |  | +          >评价管理</span
 | 
	
		
			
				|  |  | +        >
 | 
	
		
			
				|  |  |        </div>
 | 
	
		
			
				|  |  |        <div class="student_button">
 | 
	
		
			
				|  |  |          <!-- <el-button type="primary" class="bgColor" @click="openCourse">协同编辑</el-button> -->
 | 
	
		
			
				|  |  | -        <el-button type="primary" class="bgColor" @click="goToCourse()">添加项目</el-button>
 | 
	
		
			
				|  |  | +        <el-button type="primary" class="bgColor" @click="goToCourse()"
 | 
	
		
			
				|  |  | +          >添加项目</el-button
 | 
	
		
			
				|  |  | +        >
 | 
	
		
			
				|  |  |        </div>
 | 
	
		
			
				|  |  |      </div>
 | 
	
		
			
				|  |  |      <div class="pb_content_body" style="height: 100%">
 | 
	
	
		
			
				|  | @@ -22,11 +28,24 @@
 | 
	
		
			
				|  |  |                <el-option value="1" label="他人项目"></el-option>
 | 
	
		
			
				|  |  |              </el-select>
 | 
	
		
			
				|  |  |            </div>
 | 
	
		
			
				|  |  | -          <div class="all_choose" v-for="(item, index) in CourseType[0]" :key="index">
 | 
	
		
			
				|  |  | +          <div
 | 
	
		
			
				|  |  | +            class="all_choose"
 | 
	
		
			
				|  |  | +            v-for="(item, index) in CourseType[0]"
 | 
	
		
			
				|  |  | +            :key="index"
 | 
	
		
			
				|  |  | +          >
 | 
	
		
			
				|  |  |              <span>{{ item.name }}</span>
 | 
	
		
			
				|  |  | -            <el-select v-model="courseTypeId[item.id]" placeholder="请选择" @change="getTypeName">
 | 
	
		
			
				|  |  | +            <el-select
 | 
	
		
			
				|  |  | +              v-model="courseTypeId[item.id]"
 | 
	
		
			
				|  |  | +              placeholder="请选择"
 | 
	
		
			
				|  |  | +              @change="getTypeName"
 | 
	
		
			
				|  |  | +            >
 | 
	
		
			
				|  |  |                <el-option label="全部" value="1">全部</el-option>
 | 
	
		
			
				|  |  | -              <el-option v-for="item1 in CourseTypeJson[item.id]" :key="item1.id" :label="item1.name" :value="item1.id">
 | 
	
		
			
				|  |  | +              <el-option
 | 
	
		
			
				|  |  | +                v-for="item1 in CourseTypeJson[item.id]"
 | 
	
		
			
				|  |  | +                :key="item1.id"
 | 
	
		
			
				|  |  | +                :label="item1.name"
 | 
	
		
			
				|  |  | +                :value="item1.id"
 | 
	
		
			
				|  |  | +              >
 | 
	
		
			
				|  |  |                </el-option>
 | 
	
		
			
				|  |  |              </el-select>
 | 
	
		
			
				|  |  |            </div>
 | 
	
	
		
			
				|  | @@ -35,8 +54,14 @@
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |          <div class="student_right">
 | 
	
		
			
				|  |  |            <div class="head_left">
 | 
	
		
			
				|  |  | -            <el-input v-model="courseName" class="student_input" placeholder="请输入项目名称"></el-input>
 | 
	
		
			
				|  |  | -            <el-button class="course_button" @click="searchCourse">查询</el-button>
 | 
	
		
			
				|  |  | +            <el-input
 | 
	
		
			
				|  |  | +              v-model="courseName"
 | 
	
		
			
				|  |  | +              class="student_input"
 | 
	
		
			
				|  |  | +              placeholder="请输入项目名称"
 | 
	
		
			
				|  |  | +            ></el-input>
 | 
	
		
			
				|  |  | +            <el-button class="course_button" @click="searchCourse"
 | 
	
		
			
				|  |  | +              >查询</el-button
 | 
	
		
			
				|  |  | +            >
 | 
	
		
			
				|  |  |            </div>
 | 
	
		
			
				|  |  |          </div>
 | 
	
		
			
				|  |  |        </div>
 | 
	
	
		
			
				|  | @@ -51,13 +76,16 @@
 | 
	
		
			
				|  |  |              </div>
 | 
	
		
			
				|  |  |              <div class="xtCourse" v-else>协同项目</div>
 | 
	
		
			
				|  |  |              <div class="tup">
 | 
	
		
			
				|  |  | -              <img :src="
 | 
	
		
			
				|  |  | -                item.cover != null && item.cover != ''
 | 
	
		
			
				|  |  | -                  ? JSON.parse(item.cover).length > 0
 | 
	
		
			
				|  |  | -                    ? JSON.parse(item.cover)[0].url
 | 
	
		
			
				|  |  | +              <img
 | 
	
		
			
				|  |  | +                :src="
 | 
	
		
			
				|  |  | +                  item.cover != null && item.cover != ''
 | 
	
		
			
				|  |  | +                    ? JSON.parse(item.cover).length > 0
 | 
	
		
			
				|  |  | +                      ? JSON.parse(item.cover)[0].url
 | 
	
		
			
				|  |  | +                      : mr
 | 
	
		
			
				|  |  |                      : mr
 | 
	
		
			
				|  |  | -                  : mr
 | 
	
		
			
				|  |  | -              " alt />
 | 
	
		
			
				|  |  | +                "
 | 
	
		
			
				|  |  | +                alt
 | 
	
		
			
				|  |  | +              />
 | 
	
		
			
				|  |  |              </div>
 | 
	
		
			
				|  |  |              <!-- <div class="bottom_box">
 | 
	
		
			
				|  |  |                <div>{{ item.title }}</div>
 | 
	
	
		
			
				|  | @@ -83,21 +111,27 @@
 | 
	
		
			
				|  |  |                <div v-if="groupA == '0'" @click="goToCourse(item.courseId)">
 | 
	
		
			
				|  |  |                  修改
 | 
	
		
			
				|  |  |                </div>
 | 
	
		
			
				|  |  | -              <div v-if="groupA == '0'" @click="
 | 
	
		
			
				|  |  | -                goTo(
 | 
	
		
			
				|  |  | -                  '/works?cid=' +
 | 
	
		
			
				|  |  | -                  item.courseId +
 | 
	
		
			
				|  |  | -                  '&userid=' +
 | 
	
		
			
				|  |  | -                  userid +
 | 
	
		
			
				|  |  | -                  '&oid=' +
 | 
	
		
			
				|  |  | -                  oid +
 | 
	
		
			
				|  |  | -                  '&org=' +
 | 
	
		
			
				|  |  | -                  org
 | 
	
		
			
				|  |  | -                )
 | 
	
		
			
				|  |  | -              ">
 | 
	
		
			
				|  |  | +              <div
 | 
	
		
			
				|  |  | +                v-if="groupA == '0'"
 | 
	
		
			
				|  |  | +                @click="
 | 
	
		
			
				|  |  | +                  goTo(
 | 
	
		
			
				|  |  | +                    '/works?cid=' +
 | 
	
		
			
				|  |  | +                      item.courseId +
 | 
	
		
			
				|  |  | +                      '&userid=' +
 | 
	
		
			
				|  |  | +                      userid +
 | 
	
		
			
				|  |  | +                      '&oid=' +
 | 
	
		
			
				|  |  | +                      oid +
 | 
	
		
			
				|  |  | +                      '&org=' +
 | 
	
		
			
				|  |  | +                      org
 | 
	
		
			
				|  |  | +                  )
 | 
	
		
			
				|  |  | +                "
 | 
	
		
			
				|  |  | +              >
 | 
	
		
			
				|  |  |                  报告
 | 
	
		
			
				|  |  |                </div>
 | 
	
		
			
				|  |  | -              <div v-if="(item.isCourseType == 1)" @click="deleteCourse(item.courseId)">
 | 
	
		
			
				|  |  | +              <div
 | 
	
		
			
				|  |  | +                v-if="item.isCourseType == 1"
 | 
	
		
			
				|  |  | +                @click="deleteCourse(item.courseId)"
 | 
	
		
			
				|  |  | +              >
 | 
	
		
			
				|  |  |                  删除
 | 
	
		
			
				|  |  |                </div>
 | 
	
		
			
				|  |  |                <div class="more">
 | 
	
	
		
			
				|  | @@ -114,14 +148,27 @@
 | 
	
		
			
				|  |  |        </div>
 | 
	
		
			
				|  |  |      </div>
 | 
	
		
			
				|  |  |      <div class="student_page">
 | 
	
		
			
				|  |  | -      <el-pagination background layout="prev, pager, next" :page-size="10" :total="total" v-if="page && course.length"
 | 
	
		
			
				|  |  | -        style="padding-bottom: 20px" @current-change="handleCurrentChange"></el-pagination>
 | 
	
		
			
				|  |  | +      <el-pagination
 | 
	
		
			
				|  |  | +        background
 | 
	
		
			
				|  |  | +        layout="prev, pager, next"
 | 
	
		
			
				|  |  | +        :page-size="10"
 | 
	
		
			
				|  |  | +        :total="total"
 | 
	
		
			
				|  |  | +        v-if="page && course.length"
 | 
	
		
			
				|  |  | +        style="padding-bottom: 20px"
 | 
	
		
			
				|  |  | +        @current-change="handleCurrentChange"
 | 
	
		
			
				|  |  | +      ></el-pagination>
 | 
	
		
			
				|  |  |      </div>
 | 
	
		
			
				|  |  |      <el-dialog :visible.sync="dialogVisible1" size="tiny">
 | 
	
		
			
				|  |  |        <img width="100%" :src="dialogImageUrl" alt />
 | 
	
		
			
				|  |  |      </el-dialog>
 | 
	
		
			
				|  |  | -    <el-dialog title="查看提问" :visible.sync="dialogVisible" :append-to-body="true" width="750px"
 | 
	
		
			
				|  |  | -      :before-close="handleClose" class="dialog_diy">
 | 
	
		
			
				|  |  | +    <el-dialog
 | 
	
		
			
				|  |  | +      title="查看提问"
 | 
	
		
			
				|  |  | +      :visible.sync="dialogVisible"
 | 
	
		
			
				|  |  | +      :append-to-body="true"
 | 
	
		
			
				|  |  | +      width="750px"
 | 
	
		
			
				|  |  | +      :before-close="handleClose"
 | 
	
		
			
				|  |  | +      class="dialog_diy"
 | 
	
		
			
				|  |  | +    >
 | 
	
		
			
				|  |  |        <div>
 | 
	
		
			
				|  |  |          <div class="a_addBox">
 | 
	
		
			
				|  |  |            <CourseProblem :problemCourse="problemCourse"></CourseProblem>
 | 
	
	
		
			
				|  | @@ -131,18 +178,32 @@
 | 
	
		
			
				|  |  |          <el-button @click="dialogVisible = false">关 闭</el-button>
 | 
	
		
			
				|  |  |        </span>
 | 
	
		
			
				|  |  |      </el-dialog>
 | 
	
		
			
				|  |  | -    <el-dialog title="查看协同项目" :visible.sync="dialogVisibleCourse" :append-to-body="true" width="850px"
 | 
	
		
			
				|  |  | -      :before-close="handleClose" class="dialog_diy">
 | 
	
		
			
				|  |  | +    <el-dialog
 | 
	
		
			
				|  |  | +      title="查看协同项目"
 | 
	
		
			
				|  |  | +      :visible.sync="dialogVisibleCourse"
 | 
	
		
			
				|  |  | +      :append-to-body="true"
 | 
	
		
			
				|  |  | +      width="850px"
 | 
	
		
			
				|  |  | +      :before-close="handleClose"
 | 
	
		
			
				|  |  | +      class="dialog_diy"
 | 
	
		
			
				|  |  | +    >
 | 
	
		
			
				|  |  |        <div class="ct_box">
 | 
	
		
			
				|  |  | -        <div class="out_box" v-for="(item, index) in courseTeam" :key="index" style="margin-left: 15px">
 | 
	
		
			
				|  |  | +        <div
 | 
	
		
			
				|  |  | +          class="out_box"
 | 
	
		
			
				|  |  | +          v-for="(item, index) in courseTeam"
 | 
	
		
			
				|  |  | +          :key="index"
 | 
	
		
			
				|  |  | +          style="margin-left: 15px"
 | 
	
		
			
				|  |  | +        >
 | 
	
		
			
				|  |  |            <div class="tup">
 | 
	
		
			
				|  |  | -            <img :src="
 | 
	
		
			
				|  |  | -              item.cover != null && item.cover != ''
 | 
	
		
			
				|  |  | -                ? JSON.parse(item.cover).length > 0
 | 
	
		
			
				|  |  | -                  ? JSON.parse(item.cover)[0].url
 | 
	
		
			
				|  |  | +            <img
 | 
	
		
			
				|  |  | +              :src="
 | 
	
		
			
				|  |  | +                item.cover != null && item.cover != ''
 | 
	
		
			
				|  |  | +                  ? JSON.parse(item.cover).length > 0
 | 
	
		
			
				|  |  | +                    ? JSON.parse(item.cover)[0].url
 | 
	
		
			
				|  |  | +                    : mr
 | 
	
		
			
				|  |  |                    : mr
 | 
	
		
			
				|  |  | -                : mr
 | 
	
		
			
				|  |  | -            " alt />
 | 
	
		
			
				|  |  | +              "
 | 
	
		
			
				|  |  | +              alt
 | 
	
		
			
				|  |  | +            />
 | 
	
		
			
				|  |  |            </div>
 | 
	
		
			
				|  |  |            <div class="bottom_box">
 | 
	
		
			
				|  |  |              <div>{{ item.title }}</div>
 | 
	
	
		
			
				|  | @@ -151,18 +212,20 @@
 | 
	
		
			
				|  |  |            </div>
 | 
	
		
			
				|  |  |            <div class="three_bottom">
 | 
	
		
			
				|  |  |              <div @click="jump(item.courseId)">查看内容</div>
 | 
	
		
			
				|  |  | -            <div @click="
 | 
	
		
			
				|  |  | -              goTo(
 | 
	
		
			
				|  |  | -                '/course/addCourse?cid=' +
 | 
	
		
			
				|  |  | -                item.courseId +
 | 
	
		
			
				|  |  | -                '&userid=' +
 | 
	
		
			
				|  |  | -                userid +
 | 
	
		
			
				|  |  | -                '&oid=' +
 | 
	
		
			
				|  |  | -                oid +
 | 
	
		
			
				|  |  | -                '&org=' +
 | 
	
		
			
				|  |  | -                org
 | 
	
		
			
				|  |  | -              )
 | 
	
		
			
				|  |  | -            ">
 | 
	
		
			
				|  |  | +            <div
 | 
	
		
			
				|  |  | +              @click="
 | 
	
		
			
				|  |  | +                goTo(
 | 
	
		
			
				|  |  | +                  '/course/addCourse?cid=' +
 | 
	
		
			
				|  |  | +                    item.courseId +
 | 
	
		
			
				|  |  | +                    '&userid=' +
 | 
	
		
			
				|  |  | +                    userid +
 | 
	
		
			
				|  |  | +                    '&oid=' +
 | 
	
		
			
				|  |  | +                    oid +
 | 
	
		
			
				|  |  | +                    '&org=' +
 | 
	
		
			
				|  |  | +                    org
 | 
	
		
			
				|  |  | +                )
 | 
	
		
			
				|  |  | +              "
 | 
	
		
			
				|  |  | +            >
 | 
	
		
			
				|  |  |                编辑
 | 
	
		
			
				|  |  |              </div>
 | 
	
		
			
				|  |  |            </div>
 | 
	
	
		
			
				|  | @@ -221,7 +284,7 @@ export default {
 | 
	
		
			
				|  |  |        courseTypeSon: [],
 | 
	
		
			
				|  |  |        isChoose: 0,
 | 
	
		
			
				|  |  |        problemCourse: null, //查看提问的项目
 | 
	
		
			
				|  |  | -      courseTeam: [],
 | 
	
		
			
				|  |  | +      courseTeam: []
 | 
	
		
			
				|  |  |      };
 | 
	
		
			
				|  |  |    },
 | 
	
		
			
				|  |  |    methods: {
 | 
	
	
		
			
				|  | @@ -258,22 +321,22 @@ export default {
 | 
	
		
			
				|  |  |        if (courseId) {
 | 
	
		
			
				|  |  |          this.$router.push(
 | 
	
		
			
				|  |  |            "/course/addCourse?cid=" +
 | 
	
		
			
				|  |  | -          courseId +
 | 
	
		
			
				|  |  | -          "&userid=" +
 | 
	
		
			
				|  |  | -          this.userid +
 | 
	
		
			
				|  |  | -          "&oid=" +
 | 
	
		
			
				|  |  | -          this.oid +
 | 
	
		
			
				|  |  | -          "&org=" +
 | 
	
		
			
				|  |  | -          this.org
 | 
	
		
			
				|  |  | +            courseId +
 | 
	
		
			
				|  |  | +            "&userid=" +
 | 
	
		
			
				|  |  | +            this.userid +
 | 
	
		
			
				|  |  | +            "&oid=" +
 | 
	
		
			
				|  |  | +            this.oid +
 | 
	
		
			
				|  |  | +            "&org=" +
 | 
	
		
			
				|  |  | +            this.org
 | 
	
		
			
				|  |  |          );
 | 
	
		
			
				|  |  |        } else {
 | 
	
		
			
				|  |  |          this.$router.push(
 | 
	
		
			
				|  |  |            "/course/addCourse?userid=" +
 | 
	
		
			
				|  |  | -          this.userid +
 | 
	
		
			
				|  |  | -          "&oid=" +
 | 
	
		
			
				|  |  | -          this.oid +
 | 
	
		
			
				|  |  | -          "&org=" +
 | 
	
		
			
				|  |  | -          this.org
 | 
	
		
			
				|  |  | +            this.userid +
 | 
	
		
			
				|  |  | +            "&oid=" +
 | 
	
		
			
				|  |  | +            this.oid +
 | 
	
		
			
				|  |  | +            "&org=" +
 | 
	
		
			
				|  |  | +            this.org
 | 
	
		
			
				|  |  |          );
 | 
	
		
			
				|  |  |        }
 | 
	
		
			
				|  |  |        // this.$router.push(path);
 | 
	
	
		
			
				|  | @@ -294,7 +357,7 @@ export default {
 | 
	
		
			
				|  |  |        // );
 | 
	
		
			
				|  |  |        window.parent.postMessage({ cid: cid, screenType: "2" }, "*");
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  | -    get(cid){
 | 
	
		
			
				|  |  | +    get(cid) {
 | 
	
		
			
				|  |  |        window.parent.postMessage({ cid: cid, screenType: "3" }, "*");
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  |      handle_remove(file, fileList) {
 | 
	
	
		
			
				|  | @@ -322,7 +385,7 @@ export default {
 | 
	
		
			
				|  |  |        this.page = val;
 | 
	
		
			
				|  |  |        this.getCourse();
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  | -    init() { },
 | 
	
		
			
				|  |  | +    init() {},
 | 
	
		
			
				|  |  |      handleClose(done) {
 | 
	
		
			
				|  |  |        done();
 | 
	
		
			
				|  |  |      },
 | 
	
	
		
			
				|  | @@ -338,14 +401,13 @@ export default {
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  |      //uuid生成
 | 
	
		
			
				|  |  |      guid() {
 | 
	
		
			
				|  |  | -      return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(
 | 
	
		
			
				|  |  | -        /[xy]/g,
 | 
	
		
			
				|  |  | -        function (c) {
 | 
	
		
			
				|  |  | -          var r = (Math.random() * 16) | 0,
 | 
	
		
			
				|  |  | -            v = c == "x" ? r : (r & 0x3) | 0x8;
 | 
	
		
			
				|  |  | -          return v.toString(16);
 | 
	
		
			
				|  |  | -        }
 | 
	
		
			
				|  |  | -      );
 | 
	
		
			
				|  |  | +      return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, function(
 | 
	
		
			
				|  |  | +        c
 | 
	
		
			
				|  |  | +      ) {
 | 
	
		
			
				|  |  | +        var r = (Math.random() * 16) | 0,
 | 
	
		
			
				|  |  | +          v = c == "x" ? r : (r & 0x3) | 0x8;
 | 
	
		
			
				|  |  | +        return v.toString(16);
 | 
	
		
			
				|  |  | +      });
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  |      time() {
 | 
	
		
			
				|  |  |        if (!this.now) {
 | 
	
	
		
			
				|  | @@ -415,18 +477,18 @@ export default {
 | 
	
		
			
				|  |  |          typeE: typeE.join(","),
 | 
	
		
			
				|  |  |          cu: "",
 | 
	
		
			
				|  |  |          cn: this.courseName,
 | 
	
		
			
				|  |  | -        page: this.page,
 | 
	
		
			
				|  |  | +        page: this.page
 | 
	
		
			
				|  |  |        };
 | 
	
		
			
				|  |  |        this.ajax
 | 
	
		
			
				|  |  |          .get(this.$store.state.api + "selectCourseNew2", params)
 | 
	
		
			
				|  |  | -        .then((res) => {
 | 
	
		
			
				|  |  | +        .then(res => {
 | 
	
		
			
				|  |  |            this.loading.close();
 | 
	
		
			
				|  |  |            this.loading = "";
 | 
	
		
			
				|  |  |            this.isLoading = false;
 | 
	
		
			
				|  |  |            this.total = res.data[0].length > 0 ? res.data[0][0].num : 0;
 | 
	
		
			
				|  |  |            this.course = res.data[0];
 | 
	
		
			
				|  |  |          })
 | 
	
		
			
				|  |  | -        .catch((err) => {
 | 
	
		
			
				|  |  | +        .catch(err => {
 | 
	
		
			
				|  |  |            console.error(err);
 | 
	
		
			
				|  |  |          });
 | 
	
		
			
				|  |  |      },
 | 
	
	
		
			
				|  | @@ -460,7 +522,7 @@ export default {
 | 
	
		
			
				|  |  |        this.$confirm("确定删除此项目吗?", "提示", {
 | 
	
		
			
				|  |  |          confirmButtonText: "确定",
 | 
	
		
			
				|  |  |          cancelButtonText: "取消",
 | 
	
		
			
				|  |  | -        type: "warning",
 | 
	
		
			
				|  |  | +        type: "warning"
 | 
	
		
			
				|  |  |        })
 | 
	
		
			
				|  |  |          .then(() => {
 | 
	
		
			
				|  |  |            const loading = this.openLoading(
 | 
	
	
		
			
				|  | @@ -468,17 +530,17 @@ export default {
 | 
	
		
			
				|  |  |            );
 | 
	
		
			
				|  |  |            this.isLoading = true;
 | 
	
		
			
				|  |  |            let params = {
 | 
	
		
			
				|  |  | -            cid: cid,
 | 
	
		
			
				|  |  | +            cid: cid
 | 
	
		
			
				|  |  |            };
 | 
	
		
			
				|  |  |            this.ajax
 | 
	
		
			
				|  |  |              .get(this.$store.state.api + "deleteCourse", params)
 | 
	
		
			
				|  |  | -            .then((res) => {
 | 
	
		
			
				|  |  | +            .then(res => {
 | 
	
		
			
				|  |  |                loading.close();
 | 
	
		
			
				|  |  |                this.isLoading = false;
 | 
	
		
			
				|  |  |                this.$message.success("删除成功");
 | 
	
		
			
				|  |  |                this.getCourse();
 | 
	
		
			
				|  |  |              })
 | 
	
		
			
				|  |  | -            .catch((err) => {
 | 
	
		
			
				|  |  | +            .catch(err => {
 | 
	
		
			
				|  |  |                console.error(err);
 | 
	
		
			
				|  |  |              });
 | 
	
		
			
				|  |  |          })
 | 
	
	
		
			
				|  | @@ -492,7 +554,7 @@ export default {
 | 
	
		
			
				|  |  |      selectType() {
 | 
	
		
			
				|  |  |        this.ajax
 | 
	
		
			
				|  |  |          .get(this.$store.state.api + "selectType")
 | 
	
		
			
				|  |  | -        .then((res) => {
 | 
	
		
			
				|  |  | +        .then(res => {
 | 
	
		
			
				|  |  |            this.CourseType = res.data;
 | 
	
		
			
				|  |  |            for (var i = 0; i < res.data[0].length; i++) {
 | 
	
		
			
				|  |  |              if (!this.cid) {
 | 
	
	
		
			
				|  | @@ -515,17 +577,17 @@ export default {
 | 
	
		
			
				|  |  |            this.selectTypeByOid();
 | 
	
		
			
				|  |  |            this.selectTypeByOrg();
 | 
	
		
			
				|  |  |          })
 | 
	
		
			
				|  |  | -        .catch((err) => {
 | 
	
		
			
				|  |  | +        .catch(err => {
 | 
	
		
			
				|  |  |            console.error(err);
 | 
	
		
			
				|  |  |          });
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  |      selectTypeByOid() {
 | 
	
		
			
				|  |  |        let params = {
 | 
	
		
			
				|  |  | -        oid: this.oid,
 | 
	
		
			
				|  |  | +        oid: this.oid
 | 
	
		
			
				|  |  |        };
 | 
	
		
			
				|  |  |        this.ajax
 | 
	
		
			
				|  |  |          .get(this.$store.state.api + "selectTypeByOid", params)
 | 
	
		
			
				|  |  | -        .then((res) => {
 | 
	
		
			
				|  |  | +        .then(res => {
 | 
	
		
			
				|  |  |            for (var i = 0; i < res.data[0].length; i++) {
 | 
	
		
			
				|  |  |              for (var j = 0; j < res.data[1].length; j++) {
 | 
	
		
			
				|  |  |                if (res.data[0][i].id == res.data[1][j].pid) {
 | 
	
	
		
			
				|  | @@ -538,17 +600,17 @@ export default {
 | 
	
		
			
				|  |  |            }
 | 
	
		
			
				|  |  |            this.$forceUpdate();
 | 
	
		
			
				|  |  |          })
 | 
	
		
			
				|  |  | -        .catch((err) => {
 | 
	
		
			
				|  |  | +        .catch(err => {
 | 
	
		
			
				|  |  |            console.error(err);
 | 
	
		
			
				|  |  |          });
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  |      selectTypeByOrg() {
 | 
	
		
			
				|  |  |        let params = {
 | 
	
		
			
				|  |  | -        oid: this.org,
 | 
	
		
			
				|  |  | +        oid: this.org
 | 
	
		
			
				|  |  |        };
 | 
	
		
			
				|  |  |        this.ajax
 | 
	
		
			
				|  |  |          .get(this.$store.state.api + "selectTypeByOrg", params)
 | 
	
		
			
				|  |  | -        .then((res) => {
 | 
	
		
			
				|  |  | +        .then(res => {
 | 
	
		
			
				|  |  |            for (var i = 0; i < res.data[0].length; i++) {
 | 
	
		
			
				|  |  |              for (var j = 0; j < res.data[1].length; j++) {
 | 
	
		
			
				|  |  |                if (res.data[0][i].id == res.data[1][j].pid) {
 | 
	
	
		
			
				|  | @@ -561,7 +623,7 @@ export default {
 | 
	
		
			
				|  |  |            }
 | 
	
		
			
				|  |  |            this.$forceUpdate();
 | 
	
		
			
				|  |  |          })
 | 
	
		
			
				|  |  | -        .catch((err) => {
 | 
	
		
			
				|  |  | +        .catch(err => {
 | 
	
		
			
				|  |  |            console.error(err);
 | 
	
		
			
				|  |  |          });
 | 
	
		
			
				|  |  |      },
 | 
	
	
		
			
				|  | @@ -572,14 +634,14 @@ export default {
 | 
	
		
			
				|  |  |      getTeamCourse() {
 | 
	
		
			
				|  |  |        let params = {
 | 
	
		
			
				|  |  |          uid: this.userid,
 | 
	
		
			
				|  |  | -        oid: this.oid,
 | 
	
		
			
				|  |  | +        oid: this.oid
 | 
	
		
			
				|  |  |        };
 | 
	
		
			
				|  |  |        this.ajax
 | 
	
		
			
				|  |  |          .get(this.$store.state.api + "selectCourseTeam", params)
 | 
	
		
			
				|  |  | -        .then((res) => {
 | 
	
		
			
				|  |  | +        .then(res => {
 | 
	
		
			
				|  |  |            this.courseTeam = res.data[0];
 | 
	
		
			
				|  |  |          })
 | 
	
		
			
				|  |  | -        .catch((err) => {
 | 
	
		
			
				|  |  | +        .catch(err => {
 | 
	
		
			
				|  |  |            console.error(err);
 | 
	
		
			
				|  |  |          });
 | 
	
		
			
				|  |  |      },
 | 
	
	
		
			
				|  | @@ -592,18 +654,20 @@ export default {
 | 
	
		
			
				|  |  |        this.dialogVisible = true;
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  |      copyCourse(cid) {
 | 
	
		
			
				|  |  | -      let params = [{
 | 
	
		
			
				|  |  | -        cid: cid,
 | 
	
		
			
				|  |  | -        uid: this.userid
 | 
	
		
			
				|  |  | -      }]
 | 
	
		
			
				|  |  | +      let params = [
 | 
	
		
			
				|  |  | +        {
 | 
	
		
			
				|  |  | +          cid: cid,
 | 
	
		
			
				|  |  | +          uid: this.userid
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +      ];
 | 
	
		
			
				|  |  |        this.ajax
 | 
	
		
			
				|  |  |          .post(this.$store.state.api + "copyCourse", params)
 | 
	
		
			
				|  |  | -        .then((res) => {
 | 
	
		
			
				|  |  | -          this.page = 1
 | 
	
		
			
				|  |  | -          this.groupA = '0'
 | 
	
		
			
				|  |  | -          this.clear()
 | 
	
		
			
				|  |  | +        .then(res => {
 | 
	
		
			
				|  |  | +          this.page = 1;
 | 
	
		
			
				|  |  | +          this.groupA = "0";
 | 
	
		
			
				|  |  | +          this.clear();
 | 
	
		
			
				|  |  |          })
 | 
	
		
			
				|  |  | -        .catch((err) => {
 | 
	
		
			
				|  |  | +        .catch(err => {
 | 
	
		
			
				|  |  |            console.error(err);
 | 
	
		
			
				|  |  |          });
 | 
	
		
			
				|  |  |      }
 | 
	
	
		
			
				|  | @@ -612,33 +676,33 @@ export default {
 | 
	
		
			
				|  |  |      this.page = 1;
 | 
	
		
			
				|  |  |      this.selectType();
 | 
	
		
			
				|  |  |      this.getCourse();
 | 
	
		
			
				|  |  | -  },
 | 
	
		
			
				|  |  | +  }
 | 
	
		
			
				|  |  |  };
 | 
	
		
			
				|  |  |  </script>
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  <style scoped>
 | 
	
		
			
				|  |  | -.dialog_diy>>>.el-dialog__header {
 | 
	
		
			
				|  |  | +.dialog_diy >>> .el-dialog__header {
 | 
	
		
			
				|  |  |    background: #3d67bc !important;
 | 
	
		
			
				|  |  |    padding: 15px 20px;
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -.dialog_diy>>>.el-dialog__title {
 | 
	
		
			
				|  |  | +.dialog_diy >>> .el-dialog__title {
 | 
	
		
			
				|  |  |    color: #fff;
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -.dialog_diy>>>.el-dialog__headerbtn {
 | 
	
		
			
				|  |  | +.dialog_diy >>> .el-dialog__headerbtn {
 | 
	
		
			
				|  |  |    top: 19px;
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -.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;
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -.student_head>>>.el-button--primary {
 | 
	
		
			
				|  |  | +.student_head >>> .el-button--primary {
 | 
	
		
			
				|  |  |    background-color: #2268bc;
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  |  
 | 
	
	
		
			
				|  | @@ -705,7 +769,7 @@ export default {
 | 
	
		
			
				|  |  |    align-items: center;
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -.el-table>>>.even_row {
 | 
	
		
			
				|  |  | +.el-table >>> .even_row {
 | 
	
		
			
				|  |  |    background-color: #f1f1f1;
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  |  
 | 
	
	
		
			
				|  | @@ -817,7 +881,7 @@ export default {
 | 
	
		
			
				|  |  |    justify-content: center;
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -.el_cards>>>.el-card__body {
 | 
	
		
			
				|  |  | +.el_cards >>> .el-card__body {
 | 
	
		
			
				|  |  |    height: 100%;
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  |  
 | 
	
	
		
			
				|  | @@ -833,7 +897,7 @@ export default {
 | 
	
		
			
				|  |  |    display: flex;
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -.wordUpload>.buttonUp {
 | 
	
		
			
				|  |  | +.wordUpload > .buttonUp {
 | 
	
		
			
				|  |  |    margin-right: 5px;
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  |  
 | 
	
	
		
			
				|  | @@ -863,7 +927,7 @@ export default {
 | 
	
		
			
				|  |  |    justify-content: space-evenly;
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -.bottom_box>div:nth-child(1) {
 | 
	
		
			
				|  |  | +.bottom_box > div:nth-child(1) {
 | 
	
		
			
				|  |  |    width: 230px;
 | 
	
		
			
				|  |  |    overflow: hidden;
 | 
	
		
			
				|  |  |    text-overflow: ellipsis;
 | 
	
	
		
			
				|  | @@ -879,7 +943,7 @@ export default {
 | 
	
		
			
				|  |  |    align-items: center;
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -.tup>img {
 | 
	
		
			
				|  |  | +.tup > img {
 | 
	
		
			
				|  |  |    width: 100%;
 | 
	
		
			
				|  |  |    height: 100%;
 | 
	
		
			
				|  |  |    object-fit: contain;
 | 
	
	
		
			
				|  | @@ -905,11 +969,11 @@ export default {
 | 
	
		
			
				|  |  |    font-size: 14px;
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -.three_bottom>div {
 | 
	
		
			
				|  |  | +.three_bottom > div {
 | 
	
		
			
				|  |  |    cursor: pointer;
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -.three_bottom>div:hover {
 | 
	
		
			
				|  |  | +.three_bottom > div:hover {
 | 
	
		
			
				|  |  |    color: #79a2ff;
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  |  
 | 
	
	
		
			
				|  | @@ -917,7 +981,7 @@ export default {
 | 
	
		
			
				|  |  |    display: flex;
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -.student_input>>>.el-input__inner {
 | 
	
		
			
				|  |  | +.student_input >>> .el-input__inner {
 | 
	
		
			
				|  |  |    height: 40px;
 | 
	
		
			
				|  |  |    width: 190px;
 | 
	
		
			
				|  |  |    font-size: 13px;
 | 
	
	
		
			
				|  | @@ -943,7 +1007,7 @@ export default {
 | 
	
		
			
				|  |  |    width: calc(100% / 3);
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -.all_choose>span {
 | 
	
		
			
				|  |  | +.all_choose > span {
 | 
	
		
			
				|  |  |    width: 50px;
 | 
	
		
			
				|  |  |    display: block;
 | 
	
		
			
				|  |  |  }
 | 
	
	
		
			
				|  | @@ -960,26 +1024,26 @@ export default {
 | 
	
		
			
				|  |  |    align-items: center;
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -.choose>div:nth-child(2) {
 | 
	
		
			
				|  |  | +.choose > div:nth-child(2) {
 | 
	
		
			
				|  |  |    margin-left: 1%;
 | 
	
		
			
				|  |  |    width: 32.33333%;
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -.choose>div:nth-child(4) {
 | 
	
		
			
				|  |  | +.choose > div:nth-child(4) {
 | 
	
		
			
				|  |  |    margin-right: 1%;
 | 
	
		
			
				|  |  |    width: 32.33333%;
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -.choose>div:nth-child(5) {
 | 
	
		
			
				|  |  | +.choose > div:nth-child(5) {
 | 
	
		
			
				|  |  |    margin: 5px 0 0 1%;
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -.choose>div:nth-child(4)>span {
 | 
	
		
			
				|  |  | +.choose > div:nth-child(4) > span {
 | 
	
		
			
				|  |  |    width: 74px !important;
 | 
	
		
			
				|  |  |    min-width: 74px;
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -.choose>div:nth-child(4)>>>.el-select {
 | 
	
		
			
				|  |  | +.choose > div:nth-child(4) >>> .el-select {
 | 
	
		
			
				|  |  |    width: 217.5px;
 | 
	
		
			
				|  |  |    min-width: 215.06px;
 | 
	
		
			
				|  |  |  }
 | 
	
	
		
			
				|  | @@ -1031,17 +1095,33 @@ export default {
 | 
	
		
			
				|  |  |    left: 5px;
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | +.sub_head {
 | 
	
		
			
				|  |  | +  position: relative;
 | 
	
		
			
				|  |  | +}
 | 
	
		
			
				|  |  | +.sub_head::after {
 | 
	
		
			
				|  |  | +  content: "";
 | 
	
		
			
				|  |  | +  width: 100%;
 | 
	
		
			
				|  |  | +  background: #5a9cea;
 | 
	
		
			
				|  |  | +  height: 2px;
 | 
	
		
			
				|  |  | +  position: absolute;
 | 
	
		
			
				|  |  | +  left: 0;
 | 
	
		
			
				|  |  | +  bottom: -18px;
 | 
	
		
			
				|  |  | +}
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |  .subClick {
 | 
	
		
			
				|  |  | -  font-size: 16px;
 | 
	
		
			
				|  |  | +  /* font-size: 16px; */
 | 
	
		
			
				|  |  | +  font-size: 26px;
 | 
	
		
			
				|  |  |    cursor: pointer;
 | 
	
		
			
				|  |  |    margin-left: 10px;
 | 
	
		
			
				|  |  |    /* color: #ab582f; */
 | 
	
		
			
				|  |  | -  color: #409eff;
 | 
	
		
			
				|  |  | +  /* color: #409eff; */
 | 
	
		
			
				|  |  | +  color: #999;
 | 
	
		
			
				|  |  | +}
 | 
	
		
			
				|  |  | +.subClick:hover{
 | 
	
		
			
				|  |  | +  color: #000;
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  |  .more {
 | 
	
		
			
				|  |  |    position: relative;
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  .more:hover div {
 | 
	
	
		
			
				|  | @@ -1052,7 +1132,7 @@ export default {
 | 
	
		
			
				|  |  |  .more div {
 | 
	
		
			
				|  |  |    position: absolute;
 | 
	
		
			
				|  |  |    bottom: 0px;
 | 
	
		
			
				|  |  | -  transform: translate(-50%,100%);
 | 
	
		
			
				|  |  | +  transform: translate(-50%, 100%);
 | 
	
		
			
				|  |  |    background: #f5f4f4;
 | 
	
		
			
				|  |  |    padding: 10px 20px;
 | 
	
		
			
				|  |  |    z-index: 99;
 | 
	
	
		
			
				|  | @@ -1062,17 +1142,17 @@ export default {
 | 
	
		
			
				|  |  |    display: none;
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -.more div>span+span {
 | 
	
		
			
				|  |  | +.more div > span + span {
 | 
	
		
			
				|  |  |    margin-top: 10px;
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -.more div>span {
 | 
	
		
			
				|  |  | +.more div > span {
 | 
	
		
			
				|  |  |    display: block;
 | 
	
		
			
				|  |  |    width: 100%;
 | 
	
		
			
				|  |  |    text-align: center;
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -.more div>span:hover {
 | 
	
		
			
				|  |  | +.more div > span:hover {
 | 
	
		
			
				|  |  |    color: #79a2ff;
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  |  </style>
 |