Browse Source

提交

groupmealweb
gwbvipvip 11 months ago
parent
commit
de640e7f75
14 changed files with 12 additions and 12 deletions
  1. +10
    -10
      config/routes.js
  2. +0
    -0
      src/pages/applet/appidmanager/appid/index.jsx
  3. +0
    -0
      src/pages/applet/appidmanager/appid/service.js
  4. +0
    -0
      src/pages/applet/appidmanager/payment/index.jsx
  5. +0
    -0
      src/pages/applet/appidmanager/payment/service.js
  6. +1
    -1
      src/pages/applet/basicconfiguration/index.jsx
  7. +0
    -0
      src/pages/applet/basicconfiguration/index.less
  8. +0
    -0
      src/pages/applet/materialmanager/index.jsx
  9. +0
    -0
      src/pages/applet/materialmanager/index.less
  10. +0
    -0
      src/pages/applet/pagemanager/index.jsx
  11. +0
    -0
      src/pages/applet/pagemanager/index.less
  12. +1
    -1
      src/pages/applet/paytemplate/index.jsx
  13. +0
    -0
      src/pages/applet/paytemplate/index.less
  14. +0
    -0
      src/pages/applet/service.js

+ 10
- 10
config/routes.js View File

@@ -329,36 +329,36 @@ export default [
{ {
name: '团餐小程序管理', name: '团餐小程序管理',
icon: 'BankFilled', icon: 'BankFilled',
path: '/groupMeal/applet',
path: 'applet',
routes: [ routes: [
{ {
name: '页面管理', name: '页面管理',
icon: 'smile', icon: 'smile',
path: '/groupMeal/applet/paytemplate',
component: './groupMeal/applet/paytemplate',
path: '/applet/paytemplate',
component: './applet/paytemplate',
}, },
{ {
name: '素材管理', name: '素材管理',
icon: 'smile', icon: 'smile',
path: '/groupMeal/applet/basicconfiguration',
component: './groupMeal/applet/basicconfiguration',
path: '/applet/basicconfiguration',
component: './applet/basicconfiguration',
}, },
{ {
name: '小程序基础配置', name: '小程序基础配置',
icon: 'smile', icon: 'smile',
path: '/groupMeal/applet/appidmanager',
path: '/applet/appidmanager',
routes: [ routes: [
{ {
name: '支付配置', name: '支付配置',
icon: 'smile', icon: 'smile',
path: '/groupMeal/applet/appidmanager/payment',
component: './groupMeal/applet/appidmanager/payment',
path: '/applet/appidmanager/payment',
component: './applet/appidmanager/payment',
}, },
{ {
name: 'APPID', name: 'APPID',
icon: 'smile', icon: 'smile',
path: '/groupMeal/applet/appidmanager/appid',
component: './groupMeal/applet/appidmanager/appid',
path: '/applet/appidmanager/appid',
component: './applet/appidmanager/appid',
}, },
], ],
}, },


src/pages/groupMeal/applet/appidmanager/appid/index.jsx → src/pages/applet/appidmanager/appid/index.jsx View File


src/pages/groupMeal/applet/appidmanager/appid/service.js → src/pages/applet/appidmanager/appid/service.js View File


src/pages/groupMeal/applet/appidmanager/payment/index.jsx → src/pages/applet/appidmanager/payment/index.jsx View File


src/pages/groupMeal/applet/appidmanager/payment/service.js → src/pages/applet/appidmanager/payment/service.js View File


src/pages/groupMeal/applet/basicconfiguration/index.jsx → src/pages/applet/basicconfiguration/index.jsx View File

@@ -121,7 +121,7 @@ const Material = () => {
const response = await appletAPI.GetAllStore(); const response = await appletAPI.GetAllStore();
if (response.statusCode === 200) { if (response.statusCode === 200) {
setStoreList(response.data); setStoreList(response.data);
setSelectedStore(response.data[0].id);
setSelectedStore(response.data[0]?.id);
} else { } else {
message.error(response.msg || '获取店铺列表失败'); message.error(response.msg || '获取店铺列表失败');
} }

src/pages/groupMeal/applet/basicconfiguration/index.less → src/pages/applet/basicconfiguration/index.less View File


src/pages/groupMeal/applet/materialmanager/index.jsx → src/pages/applet/materialmanager/index.jsx View File


src/pages/groupMeal/applet/materialmanager/index.less → src/pages/applet/materialmanager/index.less View File


src/pages/groupMeal/applet/pagemanager/index.jsx → src/pages/applet/pagemanager/index.jsx View File


src/pages/groupMeal/applet/pagemanager/index.less → src/pages/applet/pagemanager/index.less View File


src/pages/groupMeal/applet/paytemplate/index.jsx → src/pages/applet/paytemplate/index.jsx View File

@@ -115,7 +115,7 @@ const pageManage = () => {
const response = await appletAPI.GetAllStore(); const response = await appletAPI.GetAllStore();
if (response.statusCode==200) { if (response.statusCode==200) {
setStoreList(response.data); setStoreList(response.data);
setSelectedStore(response.data[0].id);
setSelectedStore(response.data[0]?.id);
} else { } else {
message.error(response.msg || '获取店铺列表失败'); message.error(response.msg || '获取店铺列表失败');
} }

src/pages/groupMeal/applet/paytemplate/index.less → src/pages/applet/paytemplate/index.less View File


src/pages/groupMeal/applet/service.js → src/pages/applet/service.js View File


Loading…
Cancel
Save