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
zhouqian
vue-gjjs
Commits
7a7102ca
Commit
7a7102ca
authored
May 28, 2021
by
潘际乾
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
部分报错解决
parent
f703822e
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
28 additions
and
25 deletions
+28
-25
IStreamTable.vue
src/components/IStreamTable.vue
+0
-1
Api.js
src/service/Api.js
+22
-19
index.vue
src/views/Business/Sptsel/index.vue
+1
-1
Inftrnps.vue
src/views/Business/Trnrel/Inftrnps.vue
+1
-1
index.vue
src/views/Business/Trnrel/index.vue
+3
-2
webpack.config.js
webpack.config.js
+1
-1
No files found.
src/components/IStreamTable.vue
View file @
7a7102ca
...
...
@@ -75,7 +75,6 @@ export default {
pageSize
:
5
};
},
mounted
:
{},
methods
:
{
sizeChange
(
size
)
{
this
.
pageSize
=
size
;
...
...
src/service/Api.js
View file @
7a7102ca
...
...
@@ -71,25 +71,28 @@ export default class Api
timeout
:
50000
,
})
.
then
(
response
=>
{
const
{
data
}
=
response
;
if
(
data
&&
data
.
code
!=
SUCCESS
)
{
console
.
log
(
"错误码:"
+
data
.
code
+
" 错误信息:"
+
data
.
message
)
}
if
(
data
&&
data
.
code
==
'L0003'
){
window
.
sessionStorage
.
removeItem
(
"token"
)
window
.
sessionStorage
.
removeItem
(
"userId"
)
MessageBox
.
alert
({
title
:
'会话超时'
,
message
:
'即将退出,请重新登录'
,
showClose
:
false
,
callback
:()
=>
{
window
.
location
.
href
=
"/?#/"
+
"login"
}
})
return
;
}
resolve
(
data
)
const
{
data
}
=
response
;
// if(data && data.code != SUCCESS)
if
(
data
&&
data
.
respCode
!=
'AAAAAA'
)
{
// console.log("错误码:"+data.code+" 错误信息:"+data.message)
console
.
log
(
"错误码:"
+
data
.
respCode
+
" 错误信息:"
+
data
.
respMsg
)
}
// if(data && data.code == 'L0003'){
if
(
data
&&
data
.
respCode
==
'L0003'
){
window
.
sessionStorage
.
removeItem
(
"token"
)
window
.
sessionStorage
.
removeItem
(
"userId"
)
MessageBox
.
alert
({
title
:
'会话超时'
,
message
:
'即将退出,请重新登录'
,
showClose
:
false
,
callback
:()
=>
{
window
.
location
.
href
=
"/?#/"
+
"login"
}
})
return
;
}
resolve
(
data
)
})
.
catch
(
error
=>
{
if
(
error
.
response
)
{
...
...
src/views/Business/Sptsel/index.vue
View file @
7a7102ca
...
...
@@ -43,7 +43,7 @@ export default {
methods
:{...
Event
},
mounted
:
async
function
(){
console
.
log
(
"进入sptsel交易"
);
let
rtnmsg
=
await
Api
.
post
(
this
,
"
init"
,{
params
:{}})
let
rtnmsg
=
await
Api
.
post
(
"sptsel/
init"
,{
params
:{}})
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
...
...
src/views/Business/Trnrel/Inftrnps.vue
View file @
7a7102ca
...
...
@@ -228,7 +228,7 @@
</el-col>
-->
<!--
<p>
{{
model
.
trncorco
.
trnstm
}}
</p>
-->
<c-table
style=
"text-align:center"
:
data
=
"stmData"
:
list
=
"stmData"
>
<el-table-column
label=
"TRN"
...
...
src/views/Business/Trnrel/index.vue
View file @
7a7102ca
...
...
@@ -67,8 +67,9 @@ export default {
console
.
log
(
"进入trnrel交易"
);
let
rtnmsg
=
await
Api
.
post
(
this
,
"init"
,{
params
:{}})
if
(
rtnmsg
.
respCode
==
SUCCESS
)
let
rtnmsg
=
await
Api
.
post
(
"trnrel/init"
,{
params
:{}})
// if(rtnmsg.respCode == SUCCESS)
if
(
rtnmsg
.
respCode
==
"AAAAAA"
)
{
//TODO 处理数据逻辑
this
.
model
.
trncorco
.
trnstm
=
rtnmsg
.
data
.
trncorco_trnstm
.
rows
...
...
webpack.config.js
View file @
7a7102ca
...
...
@@ -59,7 +59,7 @@ module.exports = (options = {}) => ({
port
:
8010
,
proxy
:
{
'/gjjs/'
:
{
target
:
'http://127.0.0.1:80
70
'
,
target
:
'http://127.0.0.1:80
81
'
,
changeOrigin
:
true
,
pathRewrite
:
{
'^/gjjs'
:
'/gjjs'
...
...
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