Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
薪
薪瑞通-前端
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
许珑标
薪瑞通-前端
Commits
8e72331c
Commit
8e72331c
authored
Jan 03, 2025
by
谢子梦
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
操作完毕关闭路由功能
parent
f61cb28e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
6 deletions
+24
-6
src/views/business/component/paidUsers.vue
src/views/business/component/paidUsers.vue
+11
-3
src/views/business/component/staffForm.vue
src/views/business/component/staffForm.vue
+13
-3
No files found.
src/views/business/component/paidUsers.vue
View file @
8e72331c
...
...
@@ -762,12 +762,18 @@ export default {
if
(
this
.
formData
.
id
!=
null
)
{
updateOutPersonal
(
this
.
formData
).
then
(
response
=>
{
this
.
$modal
.
msgSuccess
(
"
修改成功
"
);
this
.
$router
.
push
({
path
:
"
/business/payOutPersonal
"
})
// 关闭当前tabs
this
.
$store
.
dispatch
(
"
tagsView/delView
"
,
this
.
$route
);
// 跳转路由
this
.
$router
.
push
({
path
:
"
/business/payOutPersonal
"
,
query
:
{
id
:
this
.
$route
.
query
.
contractId
,
name
:
this
.
$route
.
query
.
contractName
}
})
});
}
else
{
addOutPersonal
(
this
.
formData
).
then
(
response
=>
{
this
.
$modal
.
msgSuccess
(
"
新增成功
"
);
this
.
$router
.
push
({
path
:
"
/business/payOutPersonal
"
})
// 关闭当前tabs
this
.
$store
.
dispatch
(
"
tagsView/delView
"
,
this
.
$route
);
// 跳转路由
this
.
$router
.
push
({
path
:
'
/business/payOutPersonal
'
,
query
:
{
id
:
this
.
$route
.
query
.
contractId
,
name
:
this
.
$route
.
query
.
contractName
}
});
});
}
}
else
{
...
...
@@ -817,7 +823,9 @@ export default {
// 返回功能
goBackFN
()
{
this
.
reset
()
this
.
$router
.
push
({
path
:
"
/business/payOutPersonal
"
})
this
.
$store
.
dispatch
(
"
tagsView/delView
"
,
this
.
$route
);
// 跳转路由
this
.
$router
.
push
({
path
:
'
/business/payOutPersonal
'
,
query
:
{
id
:
this
.
$route
.
query
.
contractId
,
name
:
this
.
$route
.
query
.
contractName
}
});
},
// 公积金个人比例变化执行
providentFundPersonalRateChange
(
e
)
{
...
...
src/views/business/component/staffForm.vue
View file @
8e72331c
...
...
@@ -680,12 +680,19 @@ export default {
if
(
this
.
formData
.
id
!=
null
)
{
updateOutContract
(
this
.
formData
).
then
(
response
=>
{
this
.
$modal
.
msgSuccess
(
"
修改成功
"
);
this
.
$router
.
push
({
path
:
"
/contract
"
})
// this.$router.push({ path: "/contract" })
// 关闭当前tabs
this
.
$store
.
dispatch
(
"
tagsView/delView
"
,
this
.
$route
);
// 跳转路由
this
.
$router
.
replace
({
path
:
'
/contract
'
});
});
}
else
{
addOutContract
(
this
.
formData
).
then
(
response
=>
{
this
.
$modal
.
msgSuccess
(
"
新增成功
"
);
this
.
$router
.
push
({
path
:
"
/contract
"
})
// 关闭当前tabs
this
.
$store
.
dispatch
(
"
tagsView/delView
"
,
this
.
$route
);
// 跳转路由
this
.
$router
.
replace
({
path
:
'
/contract
'
});
});
}
}
else
{
...
...
@@ -696,7 +703,10 @@ export default {
// 返回功能
goBackFN
()
{
this
.
reset
()
this
.
$router
.
push
({
path
:
"
/contract
"
})
// 关闭当前tabs
this
.
$store
.
dispatch
(
"
tagsView/delView
"
,
this
.
$route
);
// 跳转路由
this
.
$router
.
replace
({
path
:
'
/contract
'
});
},
// 表单重置方法
reset
()
{
...
...
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