Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
V
vue-gjjs
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
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
fukai
vue-gjjs
Commits
d25e6dbc
Commit
d25e6dbc
authored
Jan 16, 2022
by
hulei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加默认错误提示新
parent
74413af2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
5 deletions
+9
-5
Event.js
src/model/Trnrel/Event.js
+5
-3
InftrnpsDetail.vue
src/views/Business/Trnrel/InftrnpsDetail.vue
+2
-1
TrnfndsDetail.vue
src/views/Business/Trnrel/Trnfnd/TrnfndsDetail.vue
+2
-1
No files found.
src/model/Trnrel/Event.js
View file @
d25e6dbc
...
...
@@ -111,8 +111,9 @@ export default {
// this.$router.push({ path: "business/inftrnpsDetail", query: { idx: idx}});
this
.
$router
.
push
({
path
:
viewurl
,
query
:
{}
});
}
else
{
const
h
=
this
.
$createElement
this
.
$notify
.
error
({
title
:
'请求失败'
,
message
:
h
(
'p'
,{
style
:
'word-break:break-all;'
},
res
.
respMsg
)
})
const
h
=
this
.
$createElement
;
const
msg
=
res
.
respMsg
||
'请求执行失败!'
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
h
(
'p'
,{
style
:
'word-break:break-all;'
},
msg
)
})
}
});
},
...
...
@@ -130,7 +131,8 @@ export default {
this
.
$router
.
push
({
path
:
viewurl
,
query
:
{}
});
}
else
{
const
h
=
this
.
$createElement
this
.
$notify
.
error
({
title
:
'请求失败'
,
message
:
h
(
'p'
,{
style
:
'word-break:break-all;'
},
res
.
respMsg
)
})
const
msg
=
res
.
respMsg
||
'请求执行失败!'
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
h
(
'p'
,{
style
:
'word-break:break-all;'
},
msg
)
})
}
});
},
...
...
src/views/Business/Trnrel/InftrnpsDetail.vue
View file @
d25e6dbc
...
...
@@ -509,7 +509,8 @@ export default {
}
else
{
const
h
=
this
.
$createElement
this
.
$notify
.
error
({
title
:
'失败'
,
message
:
h
(
'p'
,{
style
:
'word-break:break-all;'
},
rtnmsg
.
respMsg
)
})
const
msg
=
rtnmsg
.
respMsg
||
'请求执行失败!'
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
h
(
'p'
,{
style
:
'word-break:break-all;'
},
msg
)
})
}
}
}
...
...
src/views/Business/Trnrel/Trnfnd/TrnfndsDetail.vue
View file @
d25e6dbc
...
...
@@ -509,7 +509,8 @@ export default {
}
else
{
const
h
=
this
.
$createElement
this
.
$notify
.
error
({
title
:
'失败'
,
message
:
h
(
'p'
,{
style
:
'word-break:break-all;'
},
rtnmsg
.
respMsg
)
})
const
msg
=
rtnmsg
.
respMsg
||
'请求执行失败!'
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
h
(
'p'
,{
style
:
'word-break:break-all;'
},
msg
)
})
}
}
}
...
...
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