Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
C
center-finance
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
center-finance
Commits
7a17b819
提交
7a17b819
authored
9月 10, 2021
作者:
matian
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
格式化页面,清除无用代码
上级
b4f8ad95
隐藏空白字符变更
内嵌
并排
正在显示
7 个修改的文件
包含
7 行增加
和
14 行删除
+7
-14
AppList.vue
src/components/base/AppList.vue
+0
-1
Upload.vue
src/components/upload/Upload.vue
+0
-1
TicketForm.vue
src/modules/payment/components/TicketForm.vue
+0
-1
Toconfirm.vue
src/modules/payment/components/Toconfirm.vue
+0
-1
Detail.vue
src/modules/payment/views/Detail.vue
+0
-1
List.vue
src/modules/payment/views/List.vue
+0
-1
util.js
src/utils/util.js
+7
-8
没有找到文件。
src/components/base/AppList.vue
浏览文件 @
7a17b819
...
@@ -257,7 +257,6 @@ export default {
...
@@ -257,7 +257,6 @@ export default {
.
catch
((
error
)
=>
{
.
catch
((
error
)
=>
{
this
.
page
.
total
=
0
this
.
page
.
total
=
0
this
.
dataList
=
[]
this
.
dataList
=
[]
console
.
log
(
error
)
})
})
.
finally
(()
=>
{
.
finally
(()
=>
{
this
.
loading
=
false
this
.
loading
=
false
...
...
src/components/upload/Upload.vue
浏览文件 @
7a17b819
...
@@ -105,7 +105,6 @@ export default {
...
@@ -105,7 +105,6 @@ export default {
resolve
(
true
)
resolve
(
true
)
})
})
.
catch
(
err
=>
{
.
catch
(
err
=>
{
console
.
log
(
err
)
reject
(
err
)
reject
(
err
)
})
})
})
})
...
...
src/modules/payment/components/TicketForm.vue
浏览文件 @
7a17b819
...
@@ -183,7 +183,6 @@ export default {
...
@@ -183,7 +183,6 @@ export default {
history
:
{
history
:
{
handler
(
nv
)
{
handler
(
nv
)
{
if
(
nv
)
{
if
(
nv
)
{
console
.
log
(
nv
)
Object
.
keys
(
this
.
form
).
forEach
(
key
=>
{
Object
.
keys
(
this
.
form
).
forEach
(
key
=>
{
this
.
form
[
key
]
=
this
.
history
[
key
]
this
.
form
[
key
]
=
this
.
history
[
key
]
})
})
...
...
src/modules/payment/components/Toconfirm.vue
浏览文件 @
7a17b819
...
@@ -43,7 +43,6 @@ export default {
...
@@ -43,7 +43,6 @@ export default {
},
},
methods
:
{
methods
:
{
toDeal
(
row
)
{
toDeal
(
row
)
{
// console.log(row)
this
.
$router
.
push
({
this
.
$router
.
push
({
name
:
'deal'
,
name
:
'deal'
,
params
:
{
params
:
{
...
...
src/modules/payment/views/Detail.vue
浏览文件 @
7a17b819
...
@@ -109,7 +109,6 @@ export default {
...
@@ -109,7 +109,6 @@ export default {
},
},
// 确认
// 确认
fetchConfirmTicketDetail
(
val
)
{
fetchConfirmTicketDetail
(
val
)
{
console
.
log
(
val
)
const
params
=
{
const
params
=
{
confirm_type
:
val
,
confirm_type
:
val
,
id
:
this
.
id
id
:
this
.
id
...
...
src/modules/payment/views/List.vue
浏览文件 @
7a17b819
...
@@ -334,7 +334,6 @@ export default {
...
@@ -334,7 +334,6 @@ export default {
},
},
// 开具发票
// 开具发票
createPop
(
row
)
{
createPop
(
row
)
{
console
.
log
(
row
)
this
.
row
=
row
this
.
row
=
row
this
.
id
=
row
.
id
this
.
id
=
row
.
id
this
.
ticketVisible
=
true
this
.
ticketVisible
=
true
...
...
src/utils/util.js
浏览文件 @
7a17b819
...
@@ -5,15 +5,14 @@
...
@@ -5,15 +5,14 @@
* @returns {null}
* @returns {null}
*/
*/
export
function
funDownload
(
fileUrl
,
fileName
)
{
export
function
funDownload
(
fileUrl
,
fileName
)
{
// console.log(fileUrl)
const
elink
=
document
.
createElement
(
'a'
)
// 创建一个a标签
const
elink
=
document
.
createElement
(
'a'
)
// 创建一个a标签
elink
.
download
=
fileName
// 设置a标签的下载属性
elink
.
download
=
fileName
// 设置a标签的下载属性
elink
.
style
.
display
=
'none'
// 将a标签设置为隐藏
elink
.
style
.
display
=
'none'
// 将a标签设置为隐藏
elink
.
href
=
fileUrl
// 把之前处理好的地址赋给a标签的href
elink
.
href
=
fileUrl
// 把之前处理好的地址赋给a标签的href
document
.
body
.
appendChild
(
elink
)
// 将a标签添加到body中
document
.
body
.
appendChild
(
elink
)
// 将a标签添加到body中
elink
.
click
()
// 执行a标签的点击方法
elink
.
click
()
// 执行a标签的点击方法
// URL.revokeObjectURL(elink.href) // 下载完成释放URL 对象
// URL.revokeObjectURL(elink.href) // 下载完成释放URL 对象
document
.
body
.
removeChild
(
elink
)
// 移除a标签
document
.
body
.
removeChild
(
elink
)
// 移除a标签
}
}
/**
/**
* 分割字符串,取得尾部
* 分割字符串,取得尾部
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论