Browse Source

feat(store): 更新商铺装修相关接口及页面优化

- 商铺经营板块、种类和地区接口新增 loading 配置
- 首页菜单配置新增首页路由信息
- 优化基础店铺信息页面,移除冗余营业状态展示
spy 3 weeks ago
parent
commit
ebbd17a590

+ 3 - 3
src/api/modules/storeDecoration.ts

@@ -9,17 +9,17 @@ import httpApi from "@/api/indexApi";
 
 //获取商铺经营板块列表
 export const getBusinessSection = () => {
-  return httpApi.get(`/alienStorePlatform/storePlatformRenovation/getBusinessSection`);
+  return httpApi.get(`/alienStorePlatform/storePlatformRenovation/getBusinessSection`, {}, { loading: false });
 };
 
 //获取商铺经营种类列表
 export const getBusinessSectionTypes = params => {
-  return httpApi.get(`/alienStorePlatform/storePlatformRenovation/getBusinessSectionTypes`, params);
+  return httpApi.get(`/alienStorePlatform/storePlatformRenovation/getBusinessSectionTypes`, params, { loading: false });
 };
 
 //所在地区
 export const getDistrict = (params?: any) => {
-  return httpApi.get(`/alienStore/gaode/getDistrict`, params);
+  return httpApi.get(`/alienStore/gaode/getDistrict`, params, { loading: false });
 };
 
 export const getStoreDetail = params => {

+ 14 - 1
src/assets/json/authMenuList.json

@@ -1,7 +1,20 @@
 {
   "code": 200,
   "data": [
-
+    {
+      "path": "/home/index",
+      "name": "home",
+      "component": "/home/index",
+      "meta": {
+        "icon": "List",
+        "title": "首页",
+        "isLink": "",
+        "isHide": false,
+        "isFull": false,
+        "isAffix": false,
+        "isKeepAlive": false
+      }
+    },
     {
       "path": "/home/notice",
       "name": "notice",

+ 0 - 1
src/views/storeDecoration/basicStoreInformation/index.vue

@@ -33,7 +33,6 @@
           </el-form-item>
 
           <!-- 营业状态 -->
-          {{ formData.businessStatus }}
           <el-form-item label="营业状态" prop="businessStatus">
             <el-radio-group v-model="formData.businessStatus">
               <div class="radio-item">