瀏覽代碼

feat:订单页面的页码优化 油站信息盒子优化

huang, kai (Contractor) 3 月之前
父節點
當前提交
8951bd20b6

+ 2 - 2
src/FccWeb/admin.ui.plus-master/.env.development

@@ -3,8 +3,8 @@ ENV = 'development'
 
 # 本地环境接口地址
 # VITE_API_URL = 'http://ipos.biz:8070'
-VITE_API_URL = 'http://localhost:8000'
-# VITE_API_URL = 'http://dev.hsfuel.com:8070'
+# VITE_API_URL = 'http://localhost:8000'
+VITE_API_URL = 'http://dev.hsfuel.com:8070'
 # VITE_API_URL = 'http://47.101.220.106:8070'
 # VITE_API_URL = 'http://ipos.biz:8070'
 

+ 2 - 2
src/FccWeb/admin.ui.plus-master/.env.production

@@ -9,7 +9,7 @@ VITE_PUBLIC_PATH = '/'
 
 # 线上环境接口地址
 # VITE_API_URL = 'http://ipos.biz:8070'
-VITE_API_URL = 'http://localhost:8000'
-# VITE_API_URL = 'http://dev.hsfuel.com:8070'
+# VITE_API_URL = 'http://localhost:8000'
+VITE_API_URL = 'http://dev.hsfuel.com:8070'
 # VITE_API_URL = 'http://47.101.220.106:8070'
 # VITE_API_URL = 'http://ipos.biz:8070'

+ 1 - 1
src/FccWeb/admin.ui.plus-master/src/views/admin/components/oilcanDetail.vue

@@ -67,7 +67,7 @@
             </el-col>
         </el-row>
 
-        <el-row v-if="!displayData.isShowTank" v-for="(item, index) in TableDataMachine" :key="index" style="margin-bottom: 10px;height: 150px;">
+        <el-row v-if="!displayData.isShowTank" v-for="(item, index) in TableDataMachine" :key="index" style="margin-bottom: 10px;height: 100%;">
             <el-col :span="6">
                 <el-card style="height: 100%;display: flex;align-items: center;">
                     <el-row>

+ 4 - 4
src/FccWeb/admin.ui.plus-master/src/views/admin/order/index.vue

@@ -42,7 +42,7 @@
                             </el-col> 
                         </el-form-item>
                     </el-form>
-
+                    
                     <hr>
 
                     <!-- 按钮 -->
@@ -70,8 +70,7 @@
                             </template>
                         </el-table-column> -->
                     </el-table>
-                    <!-- 暂无数据提示 -->
-                    <div v-if="currentPageData.length === 0 &&!Data.loading"></div>
+                    
                     <!-- 页码 -->
                     <div class="my-flex my-flex-end" style="margin-top: 20px">
                         <el-pagination 
@@ -87,6 +86,7 @@
                             :page-count="pageCount"
                             layout="total, sizes, prev, pager, next, jumper" 
                         />
+                        
                     </div>
                 </el-card>
             </el-col>
@@ -176,7 +176,7 @@ const currentPageData = computed(() => {
 // 计算显示的页码数量
 const pageCount = computed(() => {
     const totalPages = Math.ceil(Data.total / Data.pageInput.pageSize);
-    return totalPages < 5? 5 : totalPages;
+    return totalPages < 100? 100 : totalPages;
 });
 
 /** 查询订单 */