lsc 2 years ago
parent
commit
6f8a02aff6

+ 1 - 1
src/components/pages/student/addCourse.vue

@@ -140,7 +140,7 @@
                       '&oid=' +
                       oid +
                       '&org=' +
-                      org,
+                      org + '&role=' + role ,
                   }"
                   >{{
                     orgArray.indexOf(org) != -1 || oidArray.indexOf(oid) != -1

+ 5 - 6
src/components/pages/studio/addCourse.vue

@@ -140,12 +140,10 @@
                       '&oid=' +
                       oid +
                       '&org=' +
-                      org,
+                      org + '&role=' + role,
                   }"
                   >{{
-                    orgArray.indexOf(org) != -1 || oidArray.indexOf(oid) != -1
-                      ? "师生项目"
-                      : "项目管理"
+                    "工作管理"
                   }}
                 </el-breadcrumb-item>
                 <el-breadcrumb-item>
@@ -1983,7 +1981,7 @@
               v-if="steps == 1"
               @click="
                 goTo(
-                  fpath + '?userid=' + userid + '&oid=' + oid + '&org=' + org
+                  fpath + '?userid=' + userid + '&oid=' + oid + '&org=' + org + '&role=' + role 
                 )
               "
             >
@@ -4020,6 +4018,7 @@ export default {
       userid: this.$route.query.userid,
       oid: this.$route.query.oid,
       org: this.$route.query.org,
+      role: this.$route.query.role,
       type: this.$route.query.type,
       cid: this.$route.query.cid != undefined ? this.$route.query.cid : "",
       orgArray: ["150e3120-9195-11ed-b13d-005056b86db5"],
@@ -4522,7 +4521,7 @@ export default {
             "&oid=" +
             this.oid +
             "&org=" +
-            this.org
+            this.org + '&role=' + this.role
         );
       } else {
         if (this.cidttt == 0) {