wangzhihui před 4 roky
rodič
revize
d307781af8
2 změnil soubory, kde provedl 4 přidání a 3 odebrání
  1. 2 1
      package.json
  2. 2 2
      src/views/voyage/voyageList.vue

+ 2 - 1
package.json

@@ -7,9 +7,10 @@
     "serve": "vite preview"
   },
   "dependencies": {
+    "@cloudbase/js-sdk": "^1.7.1",
+    "@element-plus/icons": "^0.0.11",
     "axios": "^0.21.1",
     "element-plus": "^1.1.0-beta.24",
-    "element3": "^0.0.40",
     "lodash": "^4.17.21",
     "md5": "^2.3.0",
     "vite-plugin-compression": "^0.3.5",

+ 2 - 2
src/views/voyage/voyageList.vue

@@ -232,7 +232,7 @@ export default {
     async function getVoyageList() {
       tableData.value = [];
       let res = await api.getVoyageList({
-        cargoOwnerId: 0,
+        cargoOwnerId: localStorage.userId,
         shipId: 0,
         status: status.value,
         term: term.value,
@@ -420,7 +420,7 @@ export default {
 };
 </script>
 <style scoped>
-.seach-btn {
+.search-btn {
   display: inline-block;
   width: 60px;
   height: 32px;