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
a7833dac
authored
2022-11-10 17:05:14 +0800
by
任超
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'master' of
http://yun.pashanhoo.com:9090/bdc/bdcdj-web
2 parents
65d68067
04f046ec
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 @
a7833da
...
...
@@ -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 @
a7833da
...
...
@@ -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