Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
C
center-finance
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
center-finance
Commits
4ea0e7c9
提交
4ea0e7c9
authored
1月 18, 2023
作者:
王鹏飞
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
chore update
上级
0c510571
隐藏空白字符变更
内嵌
并排
正在显示
6 个修改的文件
包含
44 行增加
和
34 行删除
+44
-34
AppList.vue
src/components/base/AppList.vue
+3
-2
Header.vue
src/components/layout/Header.vue
+1
-1
main.js
src/main.js
+8
-4
Confirmed.vue
src/modules/payment/components/Confirmed.vue
+9
-11
Toconfirm.vue
src/modules/payment/components/Toconfirm.vue
+8
-10
List.vue
src/modules/payment/views/List.vue
+15
-6
没有找到文件。
src/components/base/AppList.vue
浏览文件 @
4ea0e7c9
...
@@ -21,8 +21,8 @@
...
@@ -21,8 +21,8 @@
@
change=
"search"
>
@
change=
"search"
>
<template
v-for=
"(option, index) in item.options"
>
<template
v-for=
"(option, index) in item.options"
>
<el-option
<el-option
:label=
"option[item.labelKey] || option.label"
:label=
"option[item.labelKey] || option.label
|| option
"
:value=
"option[item.valueKey] || option.value"
:value=
"option[item.valueKey] || option.value
|| option
"
:key=
"index"
></el-option>
:key=
"index"
></el-option>
</
template
>
</
template
>
</el-select>
</el-select>
...
@@ -45,6 +45,7 @@
...
@@ -45,6 +45,7 @@
<slot
name=
"body"
v-bind=
"{ data: dataList }"
>
<slot
name=
"body"
v-bind=
"{ data: dataList }"
>
<el-table
<el-table
:data=
"dataList"
:data=
"dataList"
:header-cell-style=
"{ background: '#f7f9fa' }"
v-loading=
"loading"
v-loading=
"loading"
v-bind=
"$attrs"
v-bind=
"$attrs"
v-on=
"$listeners"
v-on=
"$listeners"
...
...
src/components/layout/Header.vue
浏览文件 @
4ea0e7c9
...
@@ -41,7 +41,7 @@ export default {
...
@@ -41,7 +41,7 @@ export default {
.app-header
{
.app-header
{
position
:
sticky
;
position
:
sticky
;
top
:
0
;
top
:
0
;
z-index
:
1000
;
z-index
:
9999
;
padding
:
0
20px
;
padding
:
0
20px
;
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
...
...
src/main.js
浏览文件 @
4ea0e7c9
...
@@ -3,17 +3,21 @@ import App from './App.vue'
...
@@ -3,17 +3,21 @@ import App from './App.vue'
import
router
from
'./router'
import
router
from
'./router'
import
store
from
'@/store'
import
store
from
'@/store'
import
modules
from
'./modules'
import
modules
from
'./modules'
// 公共css
// 公共css
import
'@/assets/css/base.css'
import
'@/assets/css/base.css'
import
beforeEnter
from
'@/utils/beforeEnter'
// Element-UI
import
ElementUI
from
'element-ui'
import
'@/assets/theme/style.scss'
// 公共组件
// 公共组件
import
AppCard
from
'./components/base/AppCard.vue'
import
AppCard
from
'./components/base/AppCard.vue'
import
AppList
from
'./components/base/AppList.vue'
import
AppList
from
'./components/base/AppList.vue'
// Element-UI
import
beforeEnter
from
'@/utils/beforeEnter'
import
ElementUI
from
'element-ui'
import
'@/assets/theme/style.scss'
// 注册element-ui组件
Vue
.
use
(
ElementUI
,
{
size
:
'small'
})
Vue
.
use
(
ElementUI
,
{
size
:
'small'
})
// 注册公共组件
// 注册公共组件
...
...
src/modules/payment/components/Confirmed.vue
浏览文件 @
4ea0e7c9
<!-- 支付详情-已确认列表 -->
<!-- 支付详情-已确认列表 -->
<
template
>
<
template
>
<app-card>
<app-list
v-bind=
"tableOptions"
ref=
"list"
>
<app-list
v-bind=
"tableOptions"
ref=
"list"
>
<template
v-slot:payment_voucher_filename=
"
{ row }">
<template
v-slot:payment_voucher_filename=
"
{ row }">
<el-image
v-for=
"(item, index) in row.payment_voucher_filename"
:key=
"index"
:src=
"item"
></el-image>
<el-image
v-for=
"(item, index) in row.payment_voucher_filename"
:key=
"index"
:src=
"item"
></el-image>
</
template
>
</
template
>
<
template
v-slot:table-x=
"{ row }"
>
<
template
v-slot:table-x=
"{ row }"
>
<el-button
@
click=
"toPayDetail(row)"
>
查看
</el-button>
<el-button
@
click=
"toPayDetail(row)"
>
查看
</el-button>
<el-button
@
click=
"cancelReceive(row)"
>
取消到账
</el-button>
<el-button
@
click=
"cancelReceive(row)"
>
取消到账
</el-button>
</
template
>
</
template
>
</app-list>
</app-list>
</app-card>
</template>
</template>
<
script
>
<
script
>
// 组件
// 组件
...
...
src/modules/payment/components/Toconfirm.vue
浏览文件 @
4ea0e7c9
<!-- 待确认列表 -->
<!-- 待确认列表 -->
<
template
>
<
template
>
<app-card>
<app-list
v-bind=
"tableOptions"
ref=
"list"
>
<app-list
v-bind=
"tableOptions"
ref=
"list"
>
<template
v-slot:payment_voucher_filename=
"
{ row }">
<template
v-slot:payment_voucher_filename=
"
{ row }">
<el-image
v-for=
"(item, index) in row.payment_voucher_filename"
:key=
"index"
:src=
"item"
></el-image>
<el-image
v-for=
"(item, index) in row.payment_voucher_filename"
:key=
"index"
:src=
"item"
></el-image>
</
template
>
</
template
>
<
template
v-slot:table-x=
"{ row }"
>
<
template
v-slot:table-x=
"{ row }"
>
<el-button
@
click=
"toDeal(row)"
>
处理
</el-button>
<el-button
@
click=
"toDeal(row)"
>
处理
</el-button>
</
template
>
</
template
>
</app-list>
</app-list>
</app-card>
</template>
</template>
<
script
>
<
script
>
// 接口
// 接口
...
...
src/modules/payment/views/List.vue
浏览文件 @
4ea0e7c9
...
@@ -100,7 +100,7 @@ import ShareQrcode from '../components/ShareQrcode.vue'
...
@@ -100,7 +100,7 @@ import ShareQrcode from '../components/ShareQrcode.vue'
import
History
from
'../components/History.vue'
import
History
from
'../components/History.vue'
// 接口
// 接口
import
{
getCondition
,
getPayList
,
allowCreate
,
createNewTicket
,
drawBack
,
cancelTicket
,
download
}
from
'../api'
import
{
getCondition
,
getPayList
,
allowCreate
,
createNewTicket
,
drawBack
,
cancelTicket
}
from
'../api'
import
*
as
XLSX
from
'xlsx'
import
*
as
XLSX
from
'xlsx'
import
{
funDownload
}
from
'@/utils/util'
import
{
funDownload
}
from
'@/utils/util'
import
queryString
from
'query-string'
import
queryString
from
'query-string'
...
@@ -156,7 +156,8 @@ export default {
...
@@ -156,7 +156,8 @@ export default {
final_payment_time_from
:
''
,
final_payment_time_from
:
''
,
final_payment_time_to
:
''
,
final_payment_time_to
:
''
,
sort
:
''
,
sort
:
''
,
related_id
:
''
related_id
:
''
,
class_name
:
''
},
},
beforeRequest
:
this
.
beforeRequest
beforeRequest
:
this
.
beforeRequest
},
},
...
@@ -227,6 +228,12 @@ export default {
...
@@ -227,6 +228,12 @@ export default {
type
:
'input'
,
type
:
'input'
,
prop
:
'related_id'
,
prop
:
'related_id'
,
placeholder
:
'交易流水号'
placeholder
:
'交易流水号'
},
{
type
:
'select'
,
options
:
this
.
conditionList
.
classes
,
prop
:
'class_name'
,
placeholder
:
'班级名称'
}
}
],
],
moreFilters
:
[
moreFilters
:
[
...
@@ -637,10 +644,12 @@ export default {
...
@@ -637,10 +644,12 @@ export default {
Object
.
keys
(
this
.
tableOptions
.
remote
.
params
).
forEach
(
key
=>
{
Object
.
keys
(
this
.
tableOptions
.
remote
.
params
).
forEach
(
key
=>
{
if
(
this
.
tableOptions
.
remote
.
params
[
key
]
===
''
)
delete
this
.
tableOptions
.
remote
.
params
[
key
]
if
(
this
.
tableOptions
.
remote
.
params
[
key
]
===
''
)
delete
this
.
tableOptions
.
remote
.
params
[
key
]
})
})
download
(
this
.
tableOptions
.
remote
.
params
).
then
(()
=>
{
const
params
=
queryString
.
stringify
(
this
.
tableOptions
.
remote
.
params
)
const
params
=
queryString
.
stringify
(
this
.
tableOptions
.
remote
.
params
)
window
.
open
(
`/api/finance/v1/payments/download?
${
params
}
`
)
window
.
open
(
`/api/finance/v1/payments/download?
${
params
}
`
)
// download(this.tableOptions.remote.params).then(() => {
})
// const params = queryString.stringify(this.tableOptions.remote.params)
// window.open(`/api/finance/v1/payments/download?${params}`)
// })
},
},
// 根据首次缴费时间排序
// 根据首次缴费时间排序
sortChange
(
columns
)
{
sortChange
(
columns
)
{
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论