mirror of
https://github.com/m-xlsea/ruoyi-plus-soybean.git
synced 2025-09-24 07:49:47 +08:00
feat: 新增测试单表页面
This commit is contained in:
84
src/typings/api/demo.api.d.ts
vendored
Normal file
84
src/typings/api/demo.api.d.ts
vendored
Normal file
@ -0,0 +1,84 @@
|
||||
/**
|
||||
* Namespace Api
|
||||
*
|
||||
* All backend api type
|
||||
*/
|
||||
declare namespace Api {
|
||||
/**
|
||||
* namespace Demo
|
||||
*
|
||||
* backend api module: "Demo"
|
||||
*/
|
||||
namespace Demo {
|
||||
/** demo */
|
||||
type Demo = Common.CommonRecord<{
|
||||
/** 主键 */
|
||||
id: CommonType.IdType;
|
||||
/** 租户编号 */
|
||||
tenantId: CommonType.IdType;
|
||||
/** 部门id */
|
||||
deptId: CommonType.IdType;
|
||||
/** 用户id */
|
||||
userId: CommonType.IdType;
|
||||
/** 排序号 */
|
||||
orderNum: number;
|
||||
/** key键 */
|
||||
testKey: string;
|
||||
/** 值 */
|
||||
value: string;
|
||||
/** 备注 */
|
||||
remark: string;
|
||||
/** 版本 */
|
||||
version: number;
|
||||
/** 删除标志 */
|
||||
delFlag: number;
|
||||
}>;
|
||||
|
||||
/** demo search params */
|
||||
type DemoSearchParams = CommonType.RecordNullable<
|
||||
Pick<Api.Demo.Demo, 'deptId' | 'userId' | 'orderNum' | 'testKey' | 'value' | 'remark'> &
|
||||
Api.Common.CommonSearchParams
|
||||
>;
|
||||
|
||||
/** demo operate params */
|
||||
type DemoOperateParams = CommonType.RecordNullable<
|
||||
Pick<Api.Demo.Demo, 'id' | 'deptId' | 'userId' | 'orderNum' | 'testKey' | 'value' | 'remark'>
|
||||
>;
|
||||
|
||||
/** demo list */
|
||||
type DemoList = Api.Common.PaginatingQueryRecord<Demo>;
|
||||
|
||||
/** tree */
|
||||
type Tree = Common.CommonRecord<{
|
||||
/** 主键 */
|
||||
id: CommonType.IdType;
|
||||
/** 租户编号 */
|
||||
tenantId: CommonType.IdType;
|
||||
/** 父id */
|
||||
parentId: CommonType.IdType;
|
||||
/** 部门id */
|
||||
deptId: CommonType.IdType;
|
||||
/** 用户id */
|
||||
userId: CommonType.IdType;
|
||||
/** 值 */
|
||||
treeName: string;
|
||||
/** 版本 */
|
||||
version: number;
|
||||
/** 删除标志 */
|
||||
delFlag: number;
|
||||
}>;
|
||||
|
||||
/** tree search params */
|
||||
type TreeSearchParams = CommonType.RecordNullable<
|
||||
Pick<Api.Demo.Tree, 'parentId' | 'deptId' | 'userId' | 'treeName'> & Api.Common.CommonSearchParams
|
||||
>;
|
||||
|
||||
/** tree operate params */
|
||||
type TreeOperateParams = CommonType.RecordNullable<
|
||||
Pick<Api.Demo.Tree, 'id' | 'parentId' | 'deptId' | 'userId' | 'treeName'>
|
||||
>;
|
||||
|
||||
/** tree list */
|
||||
type TreeList = Tree[];
|
||||
}
|
||||
}
|
3
src/typings/components.d.ts
vendored
3
src/typings/components.d.ts
vendored
@ -12,9 +12,11 @@ declare module 'vue' {
|
||||
BetterScroll: typeof import('./../components/custom/better-scroll.vue')['default']
|
||||
BooleanTag: typeof import('./../components/custom/boolean-tag.vue')['default']
|
||||
ButtonIcon: typeof import('./../components/custom/button-icon.vue')['default']
|
||||
copy: typeof import('./../components/custom/role-select copy.vue')['default']
|
||||
CountTo: typeof import('./../components/custom/count-to.vue')['default']
|
||||
DarkModeContainer: typeof import('./../components/common/dark-mode-container.vue')['default']
|
||||
DeptTree: typeof import('./../components/custom/dept-tree.vue')['default']
|
||||
DeptTreeSelect: typeof import('./../components/custom/dept-tree-select.vue')['default']
|
||||
DictRadio: typeof import('./../components/custom/dict-radio.vue')['default']
|
||||
DictSelect: typeof import('./../components/custom/dict-select.vue')['default']
|
||||
DictTag: typeof import('./../components/custom/dict-tag.vue')['default']
|
||||
@ -140,6 +142,7 @@ declare module 'vue' {
|
||||
TableSiderLayout: typeof import('./../components/advanced/table-sider-layout.vue')['default']
|
||||
TenantSelect: typeof import('./../components/custom/tenant-select.vue')['default']
|
||||
ThemeSchemaSwitch: typeof import('./../components/common/theme-schema-switch.vue')['default']
|
||||
UserSelect: typeof import('./../components/custom/user-select.vue')['default']
|
||||
WaveBg: typeof import('./../components/custom/wave-bg.vue')['default']
|
||||
}
|
||||
}
|
||||
|
4
src/typings/elegant-router.d.ts
vendored
4
src/typings/elegant-router.d.ts
vendored
@ -20,6 +20,8 @@ declare module "@elegant-router/types" {
|
||||
"403": "/403";
|
||||
"404": "/404";
|
||||
"500": "/500";
|
||||
"demo": "/demo";
|
||||
"demo_demo": "/demo/demo";
|
||||
"home": "/home";
|
||||
"iframe-page": "/iframe-page/:url";
|
||||
"login": "/login/:module(pwd-login|code-login|register|reset-pwd|bind-wechat)?";
|
||||
@ -79,6 +81,7 @@ declare module "@elegant-router/types" {
|
||||
| "403"
|
||||
| "404"
|
||||
| "500"
|
||||
| "demo"
|
||||
| "home"
|
||||
| "iframe-page"
|
||||
| "login"
|
||||
@ -110,6 +113,7 @@ declare module "@elegant-router/types" {
|
||||
| "login"
|
||||
| "social-callback"
|
||||
| "user-center"
|
||||
| "demo_demo"
|
||||
| "home"
|
||||
| "monitor_cache"
|
||||
| "monitor_login-infor"
|
||||
|
Reference in New Issue
Block a user