wzg преди 1 година
родител
ревизия
d9d6b968d0
променени са 1 файла, в които са добавени 3 реда и са изтрити 3 реда
  1. 3 3
      src/views/shipManage/shipDetail.vue

+ 3 - 3
src/views/shipManage/shipDetail.vue

@@ -115,7 +115,7 @@
         <el-table-column label="操作" min-width="80" align="center">
           <template v-slot="scope">
             <el-button
-              @click="shipOwnerDetail(scope.row.userId, tableData)"
+              @click="shipOwnerDetail(scope.row.id, tableData)"
               link
               type="primary"
               size="small"
@@ -643,11 +643,11 @@ export default {
       }
     }
 
-    function shipOwnerDetail(userId) {
+    function shipOwnerDetail(shipOwnerId) {
       router.push({
         path: "/shipOwnerManage/shipOwnerDetail",
         query: {
-          userId,
+          shipOwnerId,
         },
       });
     }