Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yd-csf-front
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
yuzhenWang
yd-csf-front
Commits
9763ea54
Commit
9763ea54
authored
Oct 22, 2025
by
Sweet Zhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增流程注释代码解开
parent
4b9c18bc
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
21 deletions
+12
-21
src/views/financialCenter/financialIncome.vue
+6
-20
src/views/financialCenter/financialSalary.vue
+0
-0
src/views/sign/FnaList/edit.vue
+1
-1
src/views/sign/underwritingMain/index.vue
+5
-0
No files found.
src/views/financialCenter/financialIncome.vue
View file @
9763ea54
...
@@ -394,26 +394,12 @@ const handleSelectionChange = (rows) => {
...
@@ -394,26 +394,12 @@ const handleSelectionChange = (rows) => {
// 下载模板
// 下载模板
const
downloadTemplate
=
()
=>
{
const
downloadTemplate
=
()
=>
{
const
templateData
=
[
// 下载地址
{
const
templateUrl
=
'https://yd-ali-oss.oss-cn-shanghai-finance-1-pub.aliyuncs.com/xlsx/2025/10/14/54ce715eabab4f1abd8652ba0fca0c51.xlsx'
policyNo
:
'示例保单号'
,
// 修改下载文件名
reconciliationCompany
:
'对账公司代码'
,
const
fileName
=
'对账单导入模板.xlsx'
currentPeriod
:
'1'
,
// 下载文件
totalPeriods
:
'12'
,
window
.
open
(
templateUrl
,
'_blank'
,
`download=
${
fileName
}
-
${
new
Date
().
getTime
()}
`
)
incomeItem
:
'入账项目'
,
incomeAmount
:
'1000'
,
currency
:
'CNY'
,
incomeDate
:
'2024-01-01'
,
remark
:
'备注信息'
}
]
const
worksheet
=
XLSX
.
utils
.
json_to_sheet
(
templateData
)
const
workbook
=
XLSX
.
utils
.
book_new
()
XLSX
.
utils
.
book_append_sheet
(
workbook
,
worksheet
,
'对账单模板'
)
XLSX
.
writeFile
(
workbook
,
'对账单导入模板.xlsx'
)
ElMessage
.
success
(
'模板下载成功'
)
}
}
...
...
src/views/financialCenter/financialSalary.vue
View file @
9763ea54
This diff is collapsed.
Click to expand it.
src/views/sign/FnaList/edit.vue
View file @
9763ea54
...
@@ -375,7 +375,7 @@ const handleBack = () => {
...
@@ -375,7 +375,7 @@ const handleBack = () => {
if
(
route
.
query
.
type
==
'add'
)
{
if
(
route
.
query
.
type
==
'add'
)
{
console
.
log
(
'add router'
,
router
)
console
.
log
(
'add router'
,
router
)
//
getAddInfo()
getAddInfo
()
}
else
if
(
route
.
query
.
type
==
'edit'
)
{
}
else
if
(
route
.
query
.
type
==
'edit'
)
{
setTimeout
(()
=>
{
setTimeout
(()
=>
{
getProcessInfo
(
route
.
query
.
fnaBizId
)
getProcessInfo
(
route
.
query
.
fnaBizId
)
...
...
src/views/sign/underwritingMain/index.vue
View file @
9763ea54
...
@@ -556,6 +556,11 @@ const handleImport = async () => {
...
@@ -556,6 +556,11 @@ const handleImport = async () => {
// 下载模板
// 下载模板
const
downloadTemplate
=
()
=>
{
const
downloadTemplate
=
()
=>
{
// 下载地址
// 下载地址
const
templateUrl
=
'https://yd-ali-oss.oss-cn-shanghai-finance-1-pub.aliyuncs.com/xlsx/2025/10/14/54ce715eabab4f1abd8652ba0fca0c51.xlsx'
// 修改下载文件名
const
fileName
=
'保单导入模板.xlsx'
// 下载文件
window
.
open
(
templateUrl
,
'_blank'
,
`download=
${
fileName
}
-
${
new
Date
().
getTime
()}
`
)
}
}
...
...
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