wzg 1 éve
szülő
commit
3a96074736

+ 1 - 1
src/main.js

@@ -58,4 +58,4 @@ app.config.globalProperties.check = () => {
   console.log("check");
 };
 
-app.use(router).use(ElementPlus).use(store).mount("#app");
+app.use(router).use(store).mount("#app");

+ 2 - 1
src/views/agencyManage/agencyCompanyList.vue

@@ -103,7 +103,8 @@
           <template v-slot="scope">
             <el-button
               @click="agencyCompanyDetail(scope.row.id, tableData)"
-              type="text"
+              link
+              type="primary"
               size="small"
             >
               查看详情

+ 3 - 2
src/views/agencyManage/agencyExamine.vue

@@ -146,7 +146,8 @@
           <template v-slot="scope">
             <el-button
               @click="agencyCompanyDetail(scope.row.id, tableData)"
-              type="text"
+              link
+              type="primary"
               size="small"
               v-if="scope.row.auditStatus == 1"
             >
@@ -159,7 +160,7 @@
               :content="scope.row.auditReason"
               placement="top"
             >
-              <el-button style="color: grey" type="text" size="small">
+              <el-button style="color: grey" link type="primary" size="small">
                 已驳回
               </el-button>
             </el-tooltip>

+ 2 - 1
src/views/cargoOwnerManage/cargoOwnerCompanyList.vue

@@ -103,7 +103,8 @@
           <template v-slot="scope">
             <el-button
               @click="cargoOwnerCompanyDetail(scope.row.id, tableData)"
-              type="text"
+              link
+              type="primary"
               size="small"
             >
               查看详情

+ 2 - 1
src/views/cargoOwnerManageOld/cargoOwnerDetail.vue

@@ -109,7 +109,8 @@
         <template v-slot="scope">
           <el-button
             @click="voyageDetail(scope.row.id, tableData)"
-            type="text"
+            link
+            type="primary"
             size="small"
           >
             查看详情

+ 2 - 1
src/views/cargoOwnerManageOld/cargoOwnerList.vue

@@ -99,7 +99,8 @@
           <template v-slot="scope">
             <el-button
               @click="cargoOwnerDetail(scope.row.userId, tableData)"
-              type="text"
+              link
+              type="primary"
               size="small"
             >
               查看详情

+ 2 - 1
src/views/index/AgencyList.vue

@@ -42,7 +42,8 @@
           <template v-slot="scope">
             <el-button
               @click="agencySubAccountList(scope.row.id, tableData)"
-              type="text"
+              link
+              type="primary"
               size="small"
             >
               查看详情

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

@@ -116,7 +116,8 @@
           <template v-slot="scope">
             <el-button
               @click="shipOwnerDetail(scope.row.userId, tableData)"
-              type="text"
+              link
+              type="primary"
               size="small"
             >
               查看详情
@@ -241,7 +242,7 @@
           <el-form-item prop="cargo" label="货种">
             <el-input v-model="voyageForm.cargo"></el-input>
           </el-form-item>
-          <el-form-item> </el-form-item>
+          <el-form-item></el-form-item>
           <el-form-item prop="tons" label="吨位">
             <el-input v-model="voyageForm.tons"></el-input>
           </el-form-item>
@@ -348,7 +349,8 @@
         <template v-slot="scope">
           <el-button
             @click="voyageDetail(scope.row.id, tableData)"
-            type="text"
+            link
+            type="primary"
             size="small"
           >
             查看详情

+ 2 - 1
src/views/shipManage/shipList.vue

@@ -66,7 +66,8 @@
           <template v-slot="scope">
             <el-button
               @click="shipDetail(scope.row.shipId, tableData)"
-              type="text"
+              link
+              type="primary"
               size="small"
             >
               查看详情

+ 2 - 1
src/views/shipOwnerManage/shipOwnerList.vue

@@ -86,7 +86,8 @@
           <template v-slot="scope">
             <el-button
               @click="shipOwnerDetail(scope.row.shipOwnerId, tableData)"
-              type="text"
+              link
+              type="primary"
               size="small"
             >
               查看详情

+ 2 - 1
src/views/shippingManage/shippingCompanyList.vue

@@ -152,7 +152,8 @@
           <template v-slot="scope">
             <el-button
               @click="shippingCompanyDetail(scope.row.id, tableData)"
-              type="text"
+              link
+              type="primary"
               size="small"
             >
               查看详情

+ 22 - 46
src/views/toolManage/urls.vue

@@ -1,7 +1,7 @@
 <template>
   <div class="full-container-p24">
     <div class="df jcfe pb20">
-      <el-button size="medium" type="primary" @click="modalVisable = true">
+      <el-button type="primary" @click="modalVisable = true">
         新增项目
       </el-button>
     </div>
@@ -25,7 +25,8 @@
                 <el-button
                   @click="edit(item, index, item.type)"
                   size="small"
-                  type="text"
+                  link
+                  type="primary"
                 >
                   修改
                 </el-button>
@@ -34,7 +35,7 @@
                   @confirm="deleteItem(item._id, index, item.type)"
                 >
                   <template #reference>
-                    <el-button type="text" size="small">删除</el-button>
+                    <el-button link type="primary" size="small">删除</el-button>
                   </template>
                 </el-popconfirm>
               </div>
@@ -42,7 +43,7 @@
           </template>
           <div class="mb10 df jscb card-line aic" v-if="item.master_url">
             <div class="s-title">正式版:</div>
-            <el-button size="medium" type="text" @click="goTo(item.master_url)">
+            <el-button link type="primary" @click="goTo(item.master_url)">
               去访问
             </el-button>
             <el-button
@@ -55,7 +56,7 @@
           </div>
           <div class="mb10 df jscb card-line aic" v-if="item.dev_url">
             <div class="s-title">测试版:</div>
-            <el-button size="medium" type="text" @click="goTo(item.dev_url)">
+            <el-button link type="primary" @click="goTo(item.dev_url)">
               去访问
             </el-button>
             <el-button size="small" type="primary" @click="copy2(item.dev_url)">
@@ -65,8 +66,8 @@
           <div class="mb10 df jscb card-line aic" v-if="item.master_api">
             <div class="s-title">正式接口:</div>
             <el-button
-              size="medium"
-              type="text"
+              link
+              type="primary"
               @click="goTo(item.master_api + 'swagger-ui.html#/')"
             >
               访问文档
@@ -82,8 +83,8 @@
           <div class="mb10 df jscb card-line aic" v-if="item.dev_api">
             <div class="s-title">测试接口:</div>
             <el-button
-              size="medium"
-              type="text"
+              link
+              type="primary"
               @click="goTo(item.dev_api + 'swagger-ui.html#/')"
             >
               访问文档
@@ -123,7 +124,8 @@
                 <el-button
                   @click="edit(item, index, item.type)"
                   size="small"
-                  type="text"
+                  link
+                  type="primary"
                 >
                   修改
                 </el-button>
@@ -132,7 +134,7 @@
                   @confirm="deleteItem(item._id, index, item.type)"
                 >
                   <template #reference>
-                    <el-button type="text" size="small">删除</el-button>
+                    <el-button link type="primary" size="small">删除</el-button>
                   </template>
                 </el-popconfirm>
               </div>
@@ -191,8 +193,8 @@
           <div class="mb10 df jscb card-line aic" v-if="item.master_api">
             <div class="s-title">正式接口:</div>
             <el-button
-              size="medium"
-              type="text"
+              link
+              type="primary"
               @click="goTo(item.master_api + 'swagger-ui.html#/')"
             >
               访问文档
@@ -208,8 +210,8 @@
           <div class="mb10 df jscb card-line aic" v-if="item.dev_api">
             <div class="s-title">测试接口:</div>
             <el-button
-              size="medium"
-              type="text"
+              link
+              type="primary"
               @click="goTo(item.dev_api + 'swagger-ui.html#/')"
             >
               访问文档
@@ -292,12 +294,7 @@
             @click="upload('master_url')"
             style="width: 100px"
           ></el-image>
-          <el-button
-            size="medium"
-            type="primary"
-            v-else
-            @click="upload('master_url')"
-          >
+          <el-button type="primary" v-else @click="upload('master_url')">
             上传
           </el-button>
         </el-form-item>
@@ -312,12 +309,7 @@
             @click="upload('dev_url')"
             style="width: 100px"
           ></el-image>
-          <el-button
-            size="medium"
-            type="primary"
-            v-else
-            @click="upload('dev_url')"
-          >
+          <el-button type="primary" v-else @click="upload('dev_url')">
             上传
           </el-button>
         </el-form-item>
@@ -344,36 +336,20 @@
         </el-form-item>
         <el-form-item>
           <div class="df jcfe">
-            <el-button
-              size="medium"
-              type="primary"
-              @click="cancel()"
-              v-if="currentItemId"
-            >
+            <el-button type="primary" @click="cancel()" v-if="currentItemId">
               取消
             </el-button>
-            <el-button
-              size="medium"
-              type="primary"
-              @click="resetForm(ruleFormRef)"
-              v-else
-            >
+            <el-button type="primary" @click="resetForm(ruleFormRef)" v-else>
               重置
             </el-button>
             <el-button
-              size="medium"
               type="primary"
               @click="update(ruleFormRef)"
               v-if="currentItemId"
             >
               提交修改
             </el-button>
-            <el-button
-              size="medium"
-              type="primary"
-              @click="submitForm(ruleFormRef)"
-              v-else
-            >
+            <el-button type="primary" @click="submitForm(ruleFormRef)" v-else>
               创建项目
             </el-button>
           </div>

+ 4 - 14
src/views/voyage/voyageList.vue

@@ -63,12 +63,7 @@
         <div class="search-btn" @click="getVoyageList(1)">查询</div>
       </div>
       <div class="df aic">
-        <el-button
-          @click="FYDIModalVisable = true"
-          class="mr20"
-          size="medium"
-          type="primary"
-        >
+        <el-button @click="FYDIModalVisable = true" class="mr20" type="primary">
           上传FYDI指数
         </el-button>
 
@@ -95,12 +90,7 @@
                 :on-success="upFYDISuccess"
                 :before-upload="beforeFYDI"
               >
-                <el-button
-                  class="mr20"
-                  size="medium"
-                  type="primary"
-                  :loading="isUpLoading"
-                >
+                <el-button class="mr20" type="primary" :loading="isUpLoading">
                   上传FYDI指数
                 </el-button>
               </el-upload>
@@ -109,7 +99,6 @@
         </el-dialog>
         <!-- <el-button
           class="mr20"
-          size="medium"
           type="primary"
           @click="voyageAddDialogVisible = true"
           >添加航次</el-button
@@ -368,7 +357,8 @@
         <template v-slot="scope">
           <el-button
             @click="voyageDetail(scope.row.id, tableData)"
-            type="text"
+            link
+            type="primary"
             size="small"
           >
             查看详情