Browse Source

メニュー対応

SATE_PARK-902 QRサービス券メニュー対応
develop
sosuke.iwabuchi 1 year ago
parent
commit
80cf2b83aa
4 changed files with 13 additions and 7 deletions
  1. +10
    -4
      src/layouts/dashbord/navigator.tsx
  2. +1
    -1
      src/pages/dashboard/login-user/店舗/一覧/TableBox.tsx
  3. +1
    -1
      src/pages/dashboard/login-user/店舗/一覧/index.tsx
  4. +1
    -1
      src/pages/dashboard/login-user/顧客ログインユーザ一覧/index.tsx

+ 10
- 4
src/layouts/dashbord/navigator.tsx View File

@@ -83,15 +83,15 @@ export default function Navigator(props: DrawerProps) {
label: "管理メニュー",
children: [
{
label: "店管理",
label: "代理店管理",
icon: <StoreIcon />,
children: [
{
label: "店一覧",
label: "代理店一覧",
id: PageID.店舗一覧,
},
{
label: "店新規登録",
label: "代理店新規登録",
id: PageID.店舗新規登録,
},
],
@@ -140,6 +140,12 @@ export default function Navigator(props: DrawerProps) {
label: "顧客新規登録",
id: PageID.ログインユーザ_顧客新規登録,
},
],
},
{
label: "店舗管理",
icon: <PersonIcon />,
children: [
{
label: "店舗一覧",
id: PageID.ログインユーザ_店舗一覧,
@@ -156,7 +162,7 @@ export default function Navigator(props: DrawerProps) {
label: "アカウント",
children: [
{
label: "成り代わり終了",
label: "スーパーユーザ画面に戻る",
icon: <UndoIcon />,
id: PageID.成り代わり終了,
whenIsSwitched: true,


+ 1
- 1
src/pages/dashboard/login-user/店舗/一覧/TableBox.tsx View File

@@ -25,7 +25,7 @@ type CommonProps = {
export default function TableBox({ table }: CommonProps) {
const { info, error } = useSnackbarCustom();
const TABLE_HEAD: HeadLabelProps[] = [
{ id: "name", label: "名", align: "left", needSort: false },
{ id: "name", label: "店舗名", align: "left", needSort: false },
{ id: "email", label: "Email", align: "left", needSort: false },
{ id: "shop_name", label: "店舗名", align: "left", needSort: false },
{ id: "action", label: "", align: "left", needSort: false },


+ 1
- 1
src/pages/dashboard/login-user/店舗/一覧/index.tsx View File

@@ -15,7 +15,7 @@ export default function Main() {
);

useEffect(() => {
setHeaderTitle("ログインユーザ一覧");
setHeaderTitle("店舗一覧");
setTabs(null);
}, []);



+ 1
- 1
src/pages/dashboard/login-user/顧客ログインユーザ一覧/index.tsx View File

@@ -15,7 +15,7 @@ export default function 顧客一覧() {
);

useEffect(() => {
setHeaderTitle("ログインユーザ一覧");
setHeaderTitle("店舗一覧");
setTabs(null);
}, []);



Loading…
Cancel
Save