export const getPages = (): Promise<any> => {
  return new Promise((resolve) => {
    resolve({
      code: 200,
      data: [
        {
          btnList: [],
          children: [
            {
              btnList: [],
              children: [],
              createBy: null,
              createTime: null,
              deleteFlag: null,
              icon: "CodiconOrganization",
              isFull: {
                extData: {
                  boolVal: false,
                },
                label: "否",
                value: 1,
              },
              isKeepAlive: {
                extData: {
                  boolVal: true,
                },
                label: "是",
                value: 0,
              },
              link: "",
              name: "部门架构",
              orderIndex: null,
              parentId: "1907342465921191936",
              path: "/personnelManagement/departmentStructure",
              redirect: "",
              remark: "",
              snowFlakeId: "1907343323534725120",
              status: null,
              type: {
                extData: null,
                label: "菜单",
                value: "menu",
              },
              updateBy: null,
              updateTime: null,
            },
            {
              btnList: [],
              children: [],
              createBy: null,
              createTime: null,
              deleteFlag: null,
              icon: "LineMdAccount",
              isFull: {
                extData: {
                  boolVal: false,
                },
                label: "否",
                value: 1,
              },
              isKeepAlive: {
                extData: {
                  boolVal: true,
                },
                label: "是",
                value: 0,
              },
              link: "",
              name: "企业员工",
              orderIndex: null,
              parentId: "1907342465921191936",
              path: "/personnelManagement/enterpriseStaff",
              redirect: "",
              remark: "",
              snowFlakeId: "1907342952527564800",
              status: null,
              type: {
                extData: null,
                label: "菜单",
                value: "menu",
              },
              updateBy: null,
              updateTime: null,
            },
            {
              btnList: [],
              children: [],
              createBy: null,
              createTime: null,
              deleteFlag: null,
              icon: "LineMdAccount",
              isFull: {
                extData: {
                  boolVal: false,
                },
                label: "否",
                value: 1,
              },
              isKeepAlive: {
                extData: {
                  boolVal: true,
                },
                label: "是",
                value: 0,
              },
              link: "",
              name: "安保员工",
              orderIndex: null,
              parentId: "1907342465921191936",
              path: "/personnelManagement/securityStaff",
              redirect: "",
              remark: "",
              snowFlakeId: "1907344307979816960",
              status: null,
              type: {
                extData: null,
                label: "菜单",
                value: "menu",
              },
              updateBy: null,
              updateTime: null,
            },
          ],
          createBy: null,
          createTime: null,
          deleteFlag: null,
          icon: "LineMdAccount",
          isFull: {
            extData: {
              boolVal: false,
            },
            label: "否",
            value: 1,
          },
          isKeepAlive: {
            extData: {
              boolVal: true,
            },
            label: "是",
            value: 0,
          },
          link: "",
          name: "人事管理",
          orderIndex: null,
          parentId: "0",
          path: "/personnelManagement",
          redirect: "",
          remark: "",
          snowFlakeId: "1907342465921191936",
          status: null,
          type: {
            extData: null,
            label: "目录",
            value: "dir",
          },
          updateBy: null,
          updateTime: null,
        },
        {
          btnList: [],
          children: [
            {
              btnList: [
                {
                  extData: {
                    remark: "测试按钮2",
                  },
                  label: "测试按钮2",
                  value: "test2",
                },
              ],
              children: [],
              createBy: null,
              createTime: null,
              deleteFlag: null,
              icon: "EosIconsRoleBinding",
              isFull: {
                extData: {
                  boolVal: false,
                },
                label: "否",
                value: 1,
              },
              isKeepAlive: {
                extData: {
                  boolVal: false,
                },
                label: "否",
                value: 1,
              },
              link: "",
              name: "角色",
              orderIndex: null,
              parentId: "1904795567075102720",
              path: "/system/role",
              redirect: "",
              remark: "",
              snowFlakeId: "1904812573660811264",
              status: null,
              type: {
                extData: null,
                label: "菜单",
                value: "menu",
              },
              updateBy: null,
              updateTime: null,
            },
          ],
          createBy: null,
          createTime: null,
          deleteFlag: null,
          icon: "LineMdCogFilledLoop",
          isFull: {
            extData: {
              boolVal: false,
            },
            label: "否",
            value: 1,
          },
          isKeepAlive: {
            extData: {
              boolVal: false,
            },
            label: "否",
            value: 1,
          },
          link: "",
          name: "系统管理",
          orderIndex: null,
          parentId: "0",
          path: "/system",
          redirect: "/system/user",
          remark: "",
          snowFlakeId: "1904795567075102720",
          status: null,
          type: {
            extData: null,
            label: "目录",
            value: "dir",
          },
          updateBy: null,
          updateTime: null,
        },
        {
          btnList: [],
          children: [
            {
              btnList: [],
              children: [],
              createBy: null,
              createTime: null,
              deleteFlag: null,
              icon: "LineMdList",
              isFull: {
                extData: {
                  boolVal: false,
                },
                label: "否",
                value: 1,
              },
              isKeepAlive: {
                extData: {
                  boolVal: false,
                },
                label: "否",
                value: 1,
              },
              link: "",
              name: "菜单管理",
              orderIndex: null,
              parentId: "1905455414980382720",
              path: "/development/menu",
              redirect: "",
              remark: "",
              snowFlakeId: "1905455579321602048",
              status: null,
              type: {
                extData: null,
                label: "菜单",
                value: "menu",
              },
              updateBy: null,
              updateTime: null,
            },
          ],
          createBy: null,
          createTime: null,
          deleteFlag: null,
          icon: "LineMdDocumentCode",
          isFull: {
            extData: {
              boolVal: false,
            },
            label: "否",
            value: 1,
          },
          isKeepAlive: {
            extData: {
              boolVal: false,
            },
            label: "否",
            value: 1,
          },
          link: "",
          name: "开发管理",
          orderIndex: null,
          parentId: "0",
          path: "/development",
          redirect: "",
          remark: "",
          snowFlakeId: "1905455414980382720",
          status: null,
          type: {
            extData: null,
            label: "目录",
            value: "dir",
          },
          updateBy: null,
          updateTime: null,
        },
        {
          btnList: [],
          children: [
            {
              btnList: [],
              children: [],
              createBy: null,
              createTime: null,
              deleteFlag: null,
              icon: "LineMdList",
              isFull: {
                extData: {
                  boolVal: false,
                },
                label: "否",
                value: 1,
              },
              isKeepAlive: {
                extData: {
                  boolVal: false,
                },
                label: "否",
                value: 1,
              },
              link: "",
              name: "测试1菜单2",
              orderIndex: null,
              parentId: "1910252674549288960",
              path: "/test1/test1menu2",
              redirect: "",
              remark: "",
              snowFlakeId: "1910253280865292288",
              status: null,
              type: {
                extData: null,
                label: "菜单",
                value: "menu",
              },
              updateBy: null,
              updateTime: null,
            },
            {
              btnList: [],
              children: [],
              createBy: null,
              createTime: null,
              deleteFlag: null,
              icon: "LineMdList",
              isFull: {
                extData: {
                  boolVal: false,
                },
                label: "否",
                value: 1,
              },
              isKeepAlive: {
                extData: {
                  boolVal: false,
                },
                label: "否",
                value: 1,
              },
              link: "",
              name: "测试1菜单1",
              orderIndex: null,
              parentId: "1910252674549288960",
              path: "/test1/test1menu1",
              redirect: "",
              remark: "",
              snowFlakeId: "1910253160014811136",
              status: null,
              type: {
                extData: null,
                label: "菜单",
                value: "menu",
              },
              updateBy: null,
              updateTime: null,
            },
            {
              btnList: [],
              children: [
                {
                  btnList: [],
                  children: [],
                  createBy: null,
                  createTime: null,
                  deleteFlag: null,
                  icon: "LineMdList",
                  isFull: {
                    extData: {
                      boolVal: false,
                    },
                    label: "否",
                    value: 1,
                  },
                  isKeepAlive: {
                    extData: {
                      boolVal: false,
                    },
                    label: "否",
                    value: 1,
                  },
                  link: "",
                  name: "测试2菜单2",
                  orderIndex: null,
                  parentId: "1910252952203825152",
                  path: "/test1/test2/test2menu2",
                  redirect: "",
                  remark: "",
                  snowFlakeId: "1910253703755993088",
                  status: null,
                  type: {
                    extData: null,
                    label: "菜单",
                    value: "menu",
                  },
                  updateBy: null,
                  updateTime: null,
                },
                {
                  btnList: [],
                  children: [],
                  createBy: null,
                  createTime: null,
                  deleteFlag: null,
                  icon: "LineMdList",
                  isFull: {
                    extData: {
                      boolVal: false,
                    },
                    label: "否",
                    value: 1,
                  },
                  isKeepAlive: {
                    extData: {
                      boolVal: false,
                    },
                    label: "否",
                    value: 1,
                  },
                  link: "",
                  name: "测试2菜单1",
                  orderIndex: null,
                  parentId: "1910252952203825152",
                  path: "/test1/test2/test2menu1",
                  redirect: "",
                  remark: "",
                  snowFlakeId: "1910253563792068608",
                  status: null,
                  type: {
                    extData: null,
                    label: "菜单",
                    value: "menu",
                  },
                  updateBy: null,
                  updateTime: null,
                },
              ],
              createBy: null,
              createTime: null,
              deleteFlag: null,
              icon: "CarbonSubtractAlt",
              isFull: {
                extData: {
                  boolVal: false,
                },
                label: "否",
                value: 1,
              },
              isKeepAlive: {
                extData: {
                  boolVal: true,
                },
                label: "是",
                value: 0,
              },
              link: "",
              name: "测试2",
              orderIndex: null,
              parentId: "1910252674549288960",
              path: "/test2",
              redirect: "",
              remark: "",
              snowFlakeId: "1910252952203825152",
              status: null,
              type: {
                extData: null,
                label: "目录",
                value: "dir",
              },
              updateBy: null,
              updateTime: null,
            },
          ],
          createBy: null,
          createTime: null,
          deleteFlag: null,
          icon: "CarbonSubtractAlt",
          isFull: {
            extData: {
              boolVal: false,
            },
            label: "否",
            value: 1,
          },
          isKeepAlive: {
            extData: {
              boolVal: true,
            },
            label: "是",
            value: 0,
          },
          link: "",
          name: "测试1",
          orderIndex: null,
          parentId: "0",
          path: "/test1",
          redirect: "",
          remark: "",
          snowFlakeId: "1910252674549288960",
          status: null,
          type: {
            extData: null,
            label: "目录",
            value: "dir",
          },
          updateBy: null,
          updateTime: null,
        },
      ],
      message: "操作成功！",
    });
  });
};
