Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
胡锦波
/
org-manager-web
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
b0271a7b
authored
Mar 29, 2022
by
胡锦波
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
1. init 基本页面路由补充完成
parent
c654ea80
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
169 additions
and
1 deletions
src/router/direction.ts
src/router/index.ts
src/router/meta-header.ts
src/views/pages/employ-management/address-book/address-book.vue
src/views/pages/employ-management/application-record/application-record.vue
src/views/pages/enterprise-management/application-setting/application-setting.vue
src/views/pages/enterprise-management/enterprise-info/enterprise-info.vue
src/views/pages/enterprise-management/manager-log/manager-log.vue
src/views/pages/enterprise-management/manager-setting/manager-setting.vue
src/views/pages/service-management/invoice-record/invoice-record.vue
src/views/pages/service-management/invoice-titles/invoice-titles.vue
src/router/direction.ts
View file @
b0271a7b
export
enum
Direction
{
Home
=
1
,
AddressBook
,
ApplicationRecord
,
InvoiceTitles
,
InvoiceRecord
,
EnterpriseInfo
,
ApplicationSetting
,
ManagerSetting
,
ManagerLog
,
}
src/router/index.ts
View file @
b0271a7b
...
...
@@ -19,7 +19,47 @@ const routes: Array<RouteConfig> = [
path
:
'home'
,
component
:
()
=>
import
(
'@/views/pages/home/home.vue'
),
meta
:
{
direction
:
Direction
.
Home
,
title
:
MetaHeader
.
home
},
}
},
{
path
:
'addressbook'
,
component
:
()
=>
import
(
'@/views/pages/employ-management/address-book/address-book.vue'
),
meta
:
{
direction
:
Direction
.
AddressBook
,
title
:
MetaHeader
.
addressBook
},
},
{
path
:
'applicationrecord'
,
component
:
()
=>
import
(
'@/views/pages/employ-management/application-record/application-record.vue'
),
meta
:
{
direction
:
Direction
.
ApplicationRecord
,
title
:
MetaHeader
.
applicationRecord
},
},
{
path
:
'invoicerecord'
,
component
:
()
=>
import
(
'@/views/pages/service-management/invoice-record/invoice-record.vue'
),
meta
:
{
direction
:
Direction
.
InvoiceRecord
,
title
:
MetaHeader
.
invoiceRecord
},
},
{
path
:
'Invoicetitles'
,
component
:
()
=>
import
(
'@/views/pages/service-management/invoice-titles/invoice-titles.vue'
),
meta
:
{
direction
:
Direction
.
InvoiceTitles
,
title
:
MetaHeader
.
invoiceTitles
},
},
{
path
:
'orginfo'
,
component
:
()
=>
import
(
'@/views/pages/enterprise-management/enterprise-info/enterprise-info.vue'
),
meta
:
{
direction
:
Direction
.
EnterpriseInfo
,
title
:
MetaHeader
.
enterpriseInfo
},
},
{
path
:
'applysetting'
,
component
:
()
=>
import
(
'@/views/pages/enterprise-management/application-setting/application-setting.vue'
),
meta
:
{
direction
:
Direction
.
ApplicationSetting
,
title
:
MetaHeader
.
applicationSetting
},
},
{
path
:
'managersetting'
,
component
:
()
=>
import
(
'@/views/pages/enterprise-management/manager-setting/manager-setting.vue'
),
meta
:
{
direction
:
Direction
.
ManagerSetting
,
title
:
MetaHeader
.
managerSetting
},
},
{
path
:
'managerlog'
,
component
:
()
=>
import
(
'@/views/pages/enterprise-management/manager-log/manager-log.vue'
),
meta
:
{
direction
:
Direction
.
ManagerLog
,
title
:
MetaHeader
.
managerLog
},
},
]
}
];
...
...
src/router/meta-header.ts
View file @
b0271a7b
export
class
MetaHeader
{
public
static
readonly
home
=
'首页'
;
public
static
readonly
addressBook
=
'通讯录'
;
public
static
readonly
applicationRecord
=
'申请加入记录'
;
public
static
readonly
invoiceTitles
=
'发票抬头'
;
public
static
readonly
invoiceRecord
=
'发票记录'
;
public
static
readonly
enterpriseInfo
=
'企业信息'
;
public
static
readonly
applicationSetting
=
'申请加入设置'
;
public
static
readonly
managerSetting
=
'管理员权限'
;
public
static
readonly
managerLog
=
'管理员日志'
;
}
src/views/pages/employ-management/address-book/address-book.vue
0 → 100644
View file @
b0271a7b
<
template
>
<div>
AddressBook
</div>
</
template
>
<
script
lang=
"ts"
>
import
{
Component
,
Vue
}
from
"vue-property-decorator"
;
@
Component
({
components
:
{}
})
export
default
class
AddressBook
extends
Vue
{}
</
script
>
<
style
lang=
"less"
scoped
>
@import
"~@/css/variables.less"
;
</
style
>
src/views/pages/employ-management/application-record/application-record.vue
0 → 100644
View file @
b0271a7b
<
template
>
<div>
ApplicationRecord
</div>
</
template
>
<
script
lang=
"ts"
>
import
{
Component
,
Vue
}
from
"vue-property-decorator"
;
@
Component
({
components
:
{}
})
export
default
class
ApplicationRecord
extends
Vue
{}
</
script
>
<
style
lang=
"less"
scoped
>
@import
"~@/css/variables.less"
;
</
style
>
src/views/pages/enterprise-management/application-setting/application-setting.vue
0 → 100644
View file @
b0271a7b
<
template
>
<div>
ApplicationSetting
</div>
</
template
>
<
script
lang=
"ts"
>
import
{
Component
,
Vue
}
from
"vue-property-decorator"
;
@
Component
({
components
:
{}
})
export
default
class
ApplicationSetting
extends
Vue
{}
</
script
>
<
style
lang=
"less"
scoped
>
@import
"~@/css/variables.less"
;
</
style
>
src/views/pages/enterprise-management/enterprise-info/enterprise-info.vue
0 → 100644
View file @
b0271a7b
<
template
>
<div>
EnterpriseInfo
</div>
</
template
>
<
script
lang=
"ts"
>
import
{
Component
,
Vue
}
from
"vue-property-decorator"
;
@
Component
({
components
:
{}
})
export
default
class
EnterpriseInfo
extends
Vue
{}
</
script
>
<
style
lang=
"less"
scoped
>
@import
"~@/css/variables.less"
;
</
style
>
src/views/pages/enterprise-management/manager-log/manager-log.vue
0 → 100644
View file @
b0271a7b
<
template
>
<div>
ManagetLog
</div>
</
template
>
<
script
lang=
"ts"
>
import
{
Component
,
Vue
}
from
"vue-property-decorator"
;
@
Component
({
components
:
{}
})
export
default
class
ManagetLog
extends
Vue
{}
</
script
>
<
style
lang=
"less"
scoped
>
@import
"~@/css/variables.less"
;
</
style
>
src/views/pages/enterprise-management/manager-setting/manager-setting.vue
0 → 100644
View file @
b0271a7b
<
template
>
<div>
ManagerSetting
</div>
</
template
>
<
script
lang=
"ts"
>
import
{
Component
,
Vue
}
from
"vue-property-decorator"
;
@
Component
({
components
:
{}
})
export
default
class
ManagerSetting
extends
Vue
{}
</
script
>
<
style
lang=
"less"
scoped
>
@import
"~@/css/variables.less"
;
</
style
>
src/views/pages/service-management/invoice-record/invoice-record.vue
0 → 100644
View file @
b0271a7b
<
template
>
<div>
InvoiceRecord
</div>
</
template
>
<
script
lang=
"ts"
>
import
{
Component
,
Vue
}
from
"vue-property-decorator"
;
@
Component
({
components
:
{}
})
export
default
class
InvoiceRecord
extends
Vue
{}
</
script
>
<
style
lang=
"less"
scoped
>
@import
"~@/css/variables.less"
;
</
style
>
src/views/pages/service-management/invoice-titles/invoice-titles.vue
0 → 100644
View file @
b0271a7b
<
template
>
<div>
InvoiceTitles
</div>
</
template
>
<
script
lang=
"ts"
>
import
{
Component
,
Vue
}
from
"vue-property-decorator"
;
@
Component
({
components
:
{}
})
export
default
class
InvoiceTitles
extends
Vue
{}
</
script
>
<
style
lang=
"less"
scoped
>
@import
"~@/css/variables.less"
;
</
style
>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment