Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
C
center-finance
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
center-finance
Commits
3fda2cb6
提交
3fda2cb6
authored
8月 27, 2021
作者:
王鹏飞
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
rename: pay -> payment
上级
0d456e34
隐藏空白字符变更
内嵌
并排
正在显示
7 个修改的文件
包含
8 行增加
和
8 行删除
+8
-8
Aside.vue
src/components/layout/Aside.vue
+1
-1
index.js
src/modules/finance/invoice/index.js
+1
-1
api.js
src/modules/finance/payment/api.js
+0
-0
index.js
src/modules/finance/payment/index.js
+4
-4
Detail.vue
src/modules/finance/payment/views/Detail.vue
+0
-0
List.vue
src/modules/finance/payment/views/List.vue
+1
-1
index.js
src/router/index.js
+1
-1
没有找到文件。
src/components/layout/Aside.vue
浏览文件 @
3fda2cb6
...
@@ -29,7 +29,7 @@ export default {
...
@@ -29,7 +29,7 @@ export default {
path
:
'/finance'
,
path
:
'/finance'
,
icon
:
'el-icon-money'
,
icon
:
'el-icon-money'
,
children
:
[
children
:
[
{
name
:
'支付记录'
,
path
:
'/finance/pay'
},
{
name
:
'支付记录'
,
path
:
'/finance/pay
ment
'
},
{
name
:
'发票记录'
,
path
:
'/finance/invoice'
}
{
name
:
'发票记录'
,
path
:
'/finance/invoice'
}
]
]
}
}
...
...
src/modules/finance/invoice/index.js
浏览文件 @
3fda2cb6
const
routes
=
[
const
routes
=
[
{
{
path
:
'/finance'
,
path
:
'/finance'
,
redirect
:
'/finance/pay'
,
redirect
:
'/finance/pay
ment
'
,
component
:
()
=>
import
(
'@/components/layout/Index.vue'
),
component
:
()
=>
import
(
'@/components/layout/Index.vue'
),
meta
:
{
title
:
'财务管理'
},
meta
:
{
title
:
'财务管理'
},
children
:
[
children
:
[
...
...
src/modules/finance/pay/api.js
→
src/modules/finance/pay
ment
/api.js
浏览文件 @
3fda2cb6
File moved
src/modules/finance/pay/index.js
→
src/modules/finance/pay
ment
/index.js
浏览文件 @
3fda2cb6
const
routes
=
[
const
routes
=
[
{
{
path
:
'/finance'
,
path
:
'/finance'
,
redirect
:
'/finance/pay'
,
redirect
:
'/finance/pay
ment
'
,
component
:
()
=>
import
(
'@/components/layout/Index.vue'
),
component
:
()
=>
import
(
'@/components/layout/Index.vue'
),
meta
:
{
title
:
'财务管理'
},
meta
:
{
title
:
'财务管理'
},
children
:
[
children
:
[
{
{
path
:
'pay'
,
path
:
'pay
ment
'
,
component
:
()
=>
import
(
'./views/List.vue'
),
component
:
()
=>
import
(
'./views/List.vue'
),
meta
:
{
title
:
'支付记录'
}
meta
:
{
title
:
'支付记录'
}
},
},
{
{
name
:
'payView'
,
name
:
'pay
ment
View'
,
path
:
'pay/:id'
,
path
:
'pay
ment
/:id'
,
component
:
()
=>
import
(
'./views/Detail.vue'
),
component
:
()
=>
import
(
'./views/Detail.vue'
),
meta
:
{
title
:
'支付详情'
}
meta
:
{
title
:
'支付详情'
}
}
}
...
...
src/modules/finance/pay/views/Detail.vue
→
src/modules/finance/pay
ment
/views/Detail.vue
浏览文件 @
3fda2cb6
File moved
src/modules/finance/pay/views/List.vue
→
src/modules/finance/pay
ment
/views/List.vue
浏览文件 @
3fda2cb6
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<app-card>
<app-card>
<app-list
v-bind=
"tableOptions"
ref=
"list"
@
selection-change=
"handleSelectionChange"
>
<app-list
v-bind=
"tableOptions"
ref=
"list"
@
selection-change=
"handleSelectionChange"
>
<template
v-slot:table-x=
"
{ row }">
<template
v-slot:table-x=
"
{ row }">
<router-link
:to=
"
{ name: 'payView', params: { id: row.id } }">
<router-link
:to=
"
{ name: 'pay
ment
View', params: { id: row.id } }">
<el-button
type=
"text"
>
查看
</el-button>
<el-button
type=
"text"
>
查看
</el-button>
</router-link>
</router-link>
</
template
>
</
template
>
...
...
src/router/index.js
浏览文件 @
3fda2cb6
...
@@ -3,7 +3,7 @@ import VueRouter from 'vue-router'
...
@@ -3,7 +3,7 @@ import VueRouter from 'vue-router'
Vue
.
use
(
VueRouter
)
Vue
.
use
(
VueRouter
)
const
routes
=
[{
path
:
'*'
,
redirect
:
'/finance/pay'
}]
const
routes
=
[{
path
:
'*'
,
redirect
:
'/finance/pay
ment
'
}]
const
router
=
new
VueRouter
({
const
router
=
new
VueRouter
({
mode
:
'history'
,
mode
:
'history'
,
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论