Ver Fonte

更新 参数逻辑

wzh há 4 anos atrás
pai
commit
79fa9fa85c
1 ficheiros alterados com 4 adições e 4 exclusões
  1. 4 4
      src/views/shipInfo/shipDetail.vue

+ 4 - 4
src/views/shipInfo/shipDetail.vue

@@ -78,7 +78,7 @@
       <div class="info-line">
         <Uploader
           :title="'船舶证书'"
-          :type="'2'"
+          :params="{ type: '2', userId: 0, location: '' }"
           :disabled="unchangeable"
           @onSendFileList="getShipFileList"
           :fileList="shipFileList"
@@ -89,7 +89,7 @@
       <div class="info-line">
         <Uploader
           :title="'船舶年审合格证'"
-          :type="'5'"
+          :params="{ type: '5', userId: 0, location: '' }"
           :disabled="unchangeable"
           @onSendFileList="getAnnualFileList"
           :fileList="annualFileList"
@@ -100,7 +100,7 @@
       <div class="info-line">
         <Uploader
           :title="'船舶国籍证书'"
-          :type="'6'"
+          :params="{ type: '6', userId: 0, location: '' }"
           :disabled="unchangeable"
           @onSendFileList="getShipNationFileList"
           :fileList="shipNationFileList"
@@ -111,7 +111,7 @@
       <div class="info-line">
         <Uploader
           :title="'营运证'"
-          :type="'7'"
+          :params="{ type: '7', userId: 0, location: '' }"
           :disabled="unchangeable"
           @onSendFileList="getOperatingFileList"
           :fileList="operatingFileList"