Bläddra i källkod

feat 代码优化

Funny 3 år sedan
förälder
incheckning
768509983e

+ 1 - 1
public/index.html

@@ -6,7 +6,7 @@
   <meta name="viewport" content="width=device-width,initial-scale=1.0">
   <script type="text/javascript"
     src="https://webapi.amap.com/maps?v=1.4.15&key=5ae8644771ef9abf9cfb3ea23b1df6ca"></script>
-  <title>猎豹AI</title>
+  <title>猎豹AI聚合配送</title>
   <!--设置ico图标-->
   <link rel="shortcut icon" href="desk-logo.ico">
 </head>

+ 1 - 1
src/background.js

@@ -18,7 +18,7 @@ async function createWindow() {
   const win = new BrowserWindow({
     width: 1200,
     height: 800,
-    title: '猎豹AI',
+    title: '猎豹AI聚合配送',
     icon: '../static/image/desk-logo.ico',
     webPreferences: {
 

+ 1 - 1
src/components/orderComponents/orderList.vue

@@ -41,7 +41,7 @@
               <el-button v-else size="small" @click.native="cancelOrder(list[curIdx].id)" class="btn_bots">取消订单</el-button>
 
               <el-button size="small" @click.native="sendNow(list[curIdx])" class="btn_bots btn">发起配送</el-button>
-              <el-dropdown-item @click.native="orderPrinter(list[curIdx].waimaiOrderId,list[curIdx])"><span style="color: #fc7200">补打发票</span></el-dropdown-item>
+              <!-- <el-dropdown-item @click.native="orderPrinter(list[curIdx].waimaiOrderId,list[curIdx])"><span style="color: #fc7200">补打发票</span></el-dropdown-item> -->
 
             </div>
             <!-- 待接单 -->

+ 1 - 0
src/components/orderSearch.vue

@@ -330,6 +330,7 @@ export default {
       display: flex;
       align-items: center;
       margin: 0 0 0 20px;
+      min-width: 1200px;
       .btn {
         background: #fc7200;
         border-color: #fc7200;

+ 2 - 2
src/components/shopCompoents/shopList.vue

@@ -18,14 +18,14 @@
       <el-table-column prop="address" label="门店地址" width="321" align="center"></el-table-column>
       <el-table-column prop="contactName" label="联系人" width="164" align="center"></el-table-column>
       <el-table-column prop="mobile" label="联系电话" width="176" align="center"></el-table-column>
-      <el-table-column label="已获运力" align="center" width="350">
+      <el-table-column label="已获运力" align="center" width="450">
         <template slot-scope="scope">
           <div class="imgs">
             <img class="img" :src="item.logo" v-for="(item, i) in scope.row.deliveries" :key="i" alt="">
           </div>
         </template>
       </el-table-column>
-      <el-table-column fixed="right" label="操作" width="200" align="center">
+      <el-table-column fixed="right" label="操作" width="100" align="center">
         <template slot-scope="scope">
           <el-button class="btn" size="mini" @click.stop="addShop(2, scope.row)">修改</el-button>
           <!-- <el-button type="danger" size="mini" @click.stop="deleteItem(scope.row)">删除</el-button> -->

+ 2 - 2
vue.config.js

@@ -35,7 +35,7 @@ module.exports = {
         },
         "nsis": {
           "oneClick": false,
-          "guid": "猎豹AI",
+          "guid": "猎豹AI聚合配送",
           "perMachine": true,
           "allowElevation": true,
           "allowToChangeInstallationDirectory": true,
@@ -44,7 +44,7 @@ module.exports = {
           "installerHeaderIcon": "./static/image/desk-logo.ico",
           "createDesktopShortcut": true,
           "createStartMenuShortcut": true,
-          "shortcutName": "猎豹AI"
+          "shortcutName": "猎豹AI聚合配送"
         }
       }
     }