Forráskód Böngészése

项目结题跳转到项目详细

Q-ABAB 2 éve
szülő
commit
89c9d3483b

+ 4 - 3
src/views/projectSettlement/projectSettlement.vue

@@ -152,7 +152,7 @@
                         <el-button type="info"  disabled v-if="scope.row.isupload==2" style="background-color: #c8c9cc;border-color: #c8c9cc;cursor: no-drop;"  size="mini">已审核</el-button>
                         <el-button type="primary" disabled v-if="scope.row.isupload==0" style="width: 73.3px;background-color: #c8c9cc;border-color: #c8c9cc;cursor: no-drop;"  @click="audit(scope.row.courseId,scope.row.title)" size="mini">审核</el-button>
 
-                        <el-button type="primary" size="mini" @click="edit(scope.row.id,scope.row.status)">成果查看</el-button>
+                        <el-button type="primary" size="mini" @click="edit(scope.row.courseId)">成果查看</el-button>
               </div>
           </template>
         </el-table-column>
@@ -297,8 +297,9 @@
                 console.log(err);
               })  
         },
-        edit(){
-
+        edit(rowId){
+          console.log(rowId)
+          this.$router.push(`/resultShowDetail?Id=${rowId}`)
         },
         details(val){
           localStorage.setItem('pid',JSON.stringify(val))

+ 1 - 1
src/views/resultShow/resultShowDetail.vue

@@ -22,7 +22,7 @@
                     </div>
                 </div>
             </div>
-            <el-button class="backBtn" type="primary" @click="$router.push('/resultsShow')">返回</el-button>
+            <el-button class="backBtn" type="primary" @click="$router.back()">返回</el-button>
         </div>
         <!-- 头部展示区结束 -->
         <!--导航栏区域开始-->