Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
bdc
/
bdcdj-web
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
250ede22
authored
2022-11-09 17:38:27 +0800
by
田浩浩
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
111
1 parent
3cba72e9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
9 deletions
src/views/workflow/workFrame.vue
src/views/ywbl/jsydsyq/slxx.vue
src/views/workflow/workFrame.vue
View file @
250ede2
...
...
@@ -492,12 +492,13 @@ export default {
},
//表单选项卡事件
beforeLeave
(
activeName
,
oldActiveName
)
{
if
(
!
_
.
isEqual
(
this
.
oldDetail
,
this
.
newDetail
))
{
this
.
$message
.
error
(
'界面内容有所变化,请先保存'
)
return
false
}
else
{
if
(
activeName
&&
activeName
!=
0
)
this
.
getFromRouter
(
activeName
)
}
// if (!_.isEqual(this.oldDetail, this.newDetail)) {
// this.$message.error('界面内容有所变化,请先保存')
// return false
// } else {
// if (activeName && activeName != 0) this.getFromRouter(activeName)
// }
if
(
activeName
&&
activeName
!=
0
)
this
.
getFromRouter
(
activeName
)
},
//切换选项卡内容组件
getFromRouter
(
tabname
)
{
...
...
src/views/ywbl/jsydsyq/slxx.vue
View file @
250ede2
...
...
@@ -178,8 +178,8 @@ export default {
formdata
.
append
(
"bsmSldy"
,
this
.
propsParam
.
bsmSldy
);
formdata
.
append
(
"djlx"
,
this
.
propsParam
.
djlx
);
Init
(
formdata
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
&&
res
.
result
)
{
this
.
ruleForm
=
res
.
result
;
this
.
ruleForm
=
res
.
result
;
if
(
res
.
code
===
200
)
{
this
.
$store
.
dispatch
(
'slxx/setQlrxxOld'
,
{
qlrxx
:
this
.
ruleForm
.
qlrxx
,
fj
:
this
.
ruleForm
.
fj
,
...
...
@@ -188,7 +188,7 @@ export default {
})
}
else
{
this
.
$
message
(
res
.
message
);
this
.
$
alert
(
res
.
message
,
'提示'
);
}
})
},
...
...
Please
register
or
sign in
to post a comment