pkq 1 jaar geleden
bovenliggende
commit
87ee1c472c

BIN
src/assets/imgs/default_api.png


+ 7 - 5
src/views/dataCenter/HomePage.vue

@@ -49,7 +49,7 @@
         </el-input>
       </div>
       <div class="m-row2">
-        <span>共{{ tableTotal }}个应用</span>
+        <span>共{{ tableTotal }}个服务</span>
         <el-menu
           default-active="1"
           class="sort-by"
@@ -223,11 +223,13 @@ function handleChangeSort(fieldName) {
   getList(1)
 }
 
-function pagi_changePage() {
-
+function pagi_changePage(page) {
+  currentPage.value = page
+  getList(page)
 }
-function pagi_changeSize() {
-
+function pagi_changeSize(size) {
+  pageSize.value = size
+  getList(1)
 }
 
 const router = reactive(useRouter())

+ 1 - 1
src/views/home/HomeView.vue

@@ -55,7 +55,7 @@ const menuList = ref([
     ]
   },
   { menuName: '场景定制', routeName: 'SceneCustomize' },
-  { menuName: '在线制图', routeName: 'OnlineDraw' },
+  // { menuName: '在线制图', routeName: 'OnlineDraw' },
   { menuName: '个人中心', routeName: 'PersonalCenter',
     children: [
       { menuName: '我的工具', routeName: 'MyTools' },

+ 1 - 1
src/views/toolsCenter/HomePage.vue

@@ -12,7 +12,7 @@
     </div>
     <ul class="page-main">
       <li class="list-item shadow-box" v-for="item in listData.value">
-        <img :src="item.apiImgUrl" alt="">
+        <img :src="item.apiImgUrl==null?'http://10.81.74.131:8089/file/sass/imgs/default_api.png':item.apiImgUrl" alt="">
         <div class="row1">
           <span>{{ item.apiName }}</span>
           <i @click="handlePreview(item.id)"></i>