Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
liyeyun
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cfld-frontend
liyeyun
Commits
0ca6cab4
Commit
0ca6cab4
authored
Dec 20, 2023
by
王玉鑫
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 新增政策页面
parent
c86240ae
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
39 additions
and
0 deletions
+39
-0
router.ts
src/router/router.ts
+27
-0
ThirdAgreement.vue
src/views/agreement/ThirdAgreement.vue
+4
-0
UserAgreement.vue
src/views/agreement/UserAgreement.vue
+4
-0
UserInfoPolicy.vue
src/views/agreement/UserInfoPolicy.vue
+4
-0
No files found.
src/router/router.ts
View file @
0ca6cab4
...
@@ -44,6 +44,12 @@ const ChangePassword = () => import('@/views/user/ChangePassword.vue');
...
@@ -44,6 +44,12 @@ const ChangePassword = () => import('@/views/user/ChangePassword.vue');
const
MyDevelopDetail
=
()
=>
import
(
'@/views/user/MyDevelopDetail.vue'
);
const
MyDevelopDetail
=
()
=>
import
(
'@/views/user/MyDevelopDetail.vue'
);
/** 我的园区-产业园详情 */
/** 我的园区-产业园详情 */
const
MyIndustrialDetail
=
()
=>
import
(
'@/views/user/MyIndustrialDetail.vue'
);
const
MyIndustrialDetail
=
()
=>
import
(
'@/views/user/MyIndustrialDetail.vue'
);
/** 立业云用户协议 */
const
UserAgreement
=
()
=>
import
(
'@/views/agreement/UserAgreement.vue'
);
/** 个人信息保护政策 */
const
UserInfoPolicy
=
()
=>
import
(
'@/views/agreement/UserInfoPolicy.vue'
);
/** 第三方使用信息协议 */
const
ThirdAgreement
=
()
=>
import
(
'@/views/agreement/ThirdAgreement.vue'
);
export
const
enum
RouteName
{
export
const
enum
RouteName
{
home
=
'home'
,
home
=
'home'
,
...
@@ -89,6 +95,12 @@ export const enum RouteName {
...
@@ -89,6 +95,12 @@ export const enum RouteName {
myDevelopDetail
=
'user-center/my-develop-detail'
,
myDevelopDetail
=
'user-center/my-develop-detail'
,
/** 我的园区-产业园详情 */
/** 我的园区-产业园详情 */
myIndustrialDetail
=
'user-center/my-industrial-detail'
,
myIndustrialDetail
=
'user-center/my-industrial-detail'
,
/** 立业云用户协议 */
userAgreement
=
'user-agreement'
,
/** 个人信息保护政策 */
userInfoPolicy
=
'user-info-policy'
,
/** 第三方使用信息协议 */
thirdAgreement
=
'third-agreement'
,
}
}
function
gen
(
name
:
RouteName
)
{
function
gen
(
name
:
RouteName
)
{
...
@@ -278,6 +290,21 @@ const routes: readonly RouteRecordRaw[] = [
...
@@ -278,6 +290,21 @@ const routes: readonly RouteRecordRaw[] = [
},
},
],
],
},
},
{
// 立业云用户协议
...
gen
(
RouteName
.
userAgreement
),
component
:
UserAgreement
,
},
{
// 个人信息保护政策
...
gen
(
RouteName
.
userInfoPolicy
),
component
:
UserInfoPolicy
,
},
{
// 第三方使用信息协议
...
gen
(
RouteName
.
thirdAgreement
),
component
:
ThirdAgreement
,
},
{
{
path
:
'/:pathMatch(.*)*'
,
path
:
'/:pathMatch(.*)*'
,
redirect
:
'/'
,
redirect
:
'/'
,
...
...
src/views/agreement/ThirdAgreement.vue
0 → 100644
View file @
0ca6cab4
<!-- 第三方使用信息协议 -->
<
template
>
<div></div>
</
template
>
src/views/agreement/UserAgreement.vue
0 → 100644
View file @
0ca6cab4
<!-- 立业云用户协议 -->
<
template
>
<div></div>
</
template
>
src/views/agreement/UserInfoPolicy.vue
0 → 100644
View file @
0ca6cab4
<!-- 个人信息保护政策 -->
<
template
>
<div></div>
</
template
>
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