Pārlūkot izejas kodu

修改查看问题

zengyicheng 1 gadu atpakaļ
vecāks
revīzija
4412bfed11

+ 1 - 1
src/components/pages/race/eventCenter.vue

@@ -18,7 +18,7 @@
     </div>
     <div :class="steps == 1 ? 'center_body' : 'center_body1'" >
       <EventMessage v-if="steps == 1"></EventMessage>
-      <MyAnli :userid="userid" :oid="oid" :type="tType" v-if="steps == 2"></MyAnli>
+      <MyAnli :userid="userid" :oid="oid" :org="org" :type="tType" v-if="steps == 2"></MyAnli>
       <!-- <ProjectJd v-if="steps == 3"></ProjectJd> -->
     </div>
     <div class="center_btn" v-if="steps == 1">

+ 8 - 9
src/components/pages/race/eventCenter/anliDetail.vue

@@ -67,6 +67,11 @@
               </div>
             </div>
           </div>
+          <el-button
+          @click="goTo('/eventCenter?steps=' + '2')"
+            style="position: absolute; right: 100px;background: rgb(34, 90, 199);color: #fff;"
+            >返回</el-button
+          >
           <div class="getScore" v-if="$store.state.userInfo.type != 1">
             <el-button @click="openScore(anliBox[0])">评分</el-button>
           </div>
@@ -199,12 +204,8 @@
               <div>1.{{ sib + 1 }}</div>
               <div>活动阶段{{ sib + 1 }}</div>
             </div>
-            <div class="navBTitle" @click="jump('fivth')">
-              4、项目成效
-            </div>
-            <div class="navBTitle" @click="jump('sixth')">
-              项目反思
-            </div>
+            <div class="navBTitle" @click="jump('fivth')">4、项目成效</div>
+            <div class="navBTitle" @click="jump('sixth')">项目反思</div>
           </div>
         </div>
         <div v-if="isShow == 0">
@@ -1701,9 +1702,7 @@
             style="padding: 20px 20px 15px 0px; margin: 20px 0 5px 0"
           >
             <div class="jdTopNav">
-              <div class="bigNavBg" style="width: 212px">
-                项目成效
-              </div>
+              <div class="bigNavBg" style="width: 212px">项目成效</div>
             </div>
           </div>
           <div

+ 15 - 7
src/components/pages/race/eventCenter/myAnli.vue

@@ -161,7 +161,7 @@
 
 <script>
 export default {
-  props: ["userid", "oid", "type"],
+  props: ["userid", "oid","org", "type"],
   data() {
     return {
       isLoading: false,
@@ -178,7 +178,8 @@ export default {
       let params = {
         uid: this.userid,
         t: this.type,
-        oid: this.oid
+        oid: this.oid,
+        org: this.org
       };
       this.ajax
         .get(this.$store.state.api + "selectRaceList1", params)
@@ -547,13 +548,20 @@ export default {
       link.click();
       document.body.removeChild(link);
     },
+    goTo(path) {
+      this.$router.push(path);
+    },
     lookDetail(aid) {
-      window.open(
-        window.location.origin +
-          window.location.pathname +
-          "/#/anliDetail?aid=" +
+      this.goTo(
+          "/anliDetail?aid=" +
           aid
-      );
+        );
+      // window.open(
+      //   window.location.origin +
+      //     window.location.pathname +
+      //     "/#/anliDetail?aid=" +
+      //     aid
+      // );
     },
     selectJj(i, type) {
       if (type == 1) {