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
9bff0f4d
Commit
9bff0f4d
authored
3 years ago
by
潘际乾
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
infpta交易的查询
parent
d3c19cc7
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
32 additions
and
16 deletions
+32
-16
IStreamTable.vue
src/components/IStreamTable.vue
+7
-1
Event.js
src/model/Infpta/Event.js
+8
-8
index.js
src/model/Infpta/index.js
+1
-1
Event.js
src/model/Trnrel/Event.js
+2
-3
index.js
src/utils/index.js
+9
-1
BusRouter.js
src/views/Business/BusRouter.js
+3
-0
Infsea.vue
src/views/Business/Infpta/Infsea.vue
+0
-0
index.vue
src/views/Business/Infpta/index.vue
+0
-0
Inftrnps.vue
src/views/Business/Trnrel/Inftrnps.vue
+1
-0
Glepan.vue
src/views/Public/Glepan.vue
+1
-2
No files found.
src/components/IStreamTable.vue
View file @
9bff0f4d
<
template
>
<
template
>
<div
class=
"eContainer-table-block"
>
<div
class=
"eContainer-table-block"
>
<el-table
:data=
"tableData.slice((currentPage - 1) * pageSize, currentPage * pageSize)"
<el-table
ref=
"table"
:data=
"tableData.slice((currentPage - 1) * pageSize, currentPage * pageSize)"
style=
"width: 100%"
style=
"width: 100%"
class=
"eContainer-table"
class=
"eContainer-table"
@
selection-change=
"handleSelectionChange"
@
selection-change=
"handleSelectionChange"
:row-key=
"getRowKey"
:row-key=
"getRowKey"
:header-cell-style=
"
{background: 'eef1f6', color: '#606266'}"
:header-cell-style=
"
{background: 'eef1f6', color: '#606266'}"
:highlight-current-row="true"
@row-click="rowClick"
:border="true">
:border="true">
<el-table-column
type=
"selection"
width=
"55"
v-if=
"showSelection"
:reserve-selection=
"true"
></el-table-column>
<el-table-column
type=
"selection"
width=
"55"
v-if=
"showSelection"
:reserve-selection=
"true"
></el-table-column>
<el-table-column
<el-table-column
...
@@ -150,6 +152,10 @@ export default {
...
@@ -150,6 +152,10 @@ export default {
}
}
}
}
return
indexArr
return
indexArr
},
// 行点击,设置高亮
rowClick
(
row
,
column
,
event
)
{
this
.
$refs
.
table
.
setCurrentRow
(
row
);
}
}
}
}
};
};
...
...
This diff is collapsed.
Click to expand it.
src/model/Infpta/Event.js
View file @
9bff0f4d
import
Api
from
"~/service/Api"
import
Api
from
"~/service/Api"
export
default
{
export
default
{
async
onInfbutSearow
()
{
async
onInfbutSearow
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"infbut
_
searow"
)
let
rtnmsg
=
await
this
.
executeRule
(
"infbut
.
searow"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
//TODO 处理数据逻辑
this
.
model
.
infbut
.
dspstm
=
rtnmsg
.
data
.
infbut_dspstm
}
}
else
{
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
}
},
},
async
onInfbutDsp
()
{
async
onInfbutDsp
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"infbut
_
dsp"
)
let
rtnmsg
=
await
this
.
executeRule
(
"infbut
.
dsp"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
//TODO 处理数据逻辑
...
@@ -21,7 +21,7 @@ export default {
...
@@ -21,7 +21,7 @@ export default {
}
}
},
},
async
onInfbutUserow
()
{
async
onInfbutUserow
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"infbut
_
userow"
)
let
rtnmsg
=
await
this
.
executeRule
(
"infbut
.
userow"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
//TODO 处理数据逻辑
...
@@ -31,7 +31,7 @@ export default {
...
@@ -31,7 +31,7 @@ export default {
}
}
},
},
async
onInfbutClr
()
{
async
onInfbutClr
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"infbut
_
clr"
)
let
rtnmsg
=
await
this
.
executeRule
(
"infbut
.
clr"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
//TODO 处理数据逻辑
...
@@ -41,7 +41,7 @@ export default {
...
@@ -41,7 +41,7 @@ export default {
}
}
},
},
async
onInfbutButprt
()
{
async
onInfbutButprt
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"infbut
_
butprt"
)
let
rtnmsg
=
await
this
.
executeRule
(
"infbut
.
butprt"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
//TODO 处理数据逻辑
...
@@ -51,7 +51,7 @@ export default {
...
@@ -51,7 +51,7 @@ export default {
}
}
},
},
async
onInfbutExi
()
{
async
onInfbutExi
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"infbut
_
exi"
)
let
rtnmsg
=
await
this
.
executeRule
(
"infbut
.
exi"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
//TODO 处理数据逻辑
...
@@ -61,7 +61,7 @@ export default {
...
@@ -61,7 +61,7 @@ export default {
}
}
},
},
async
onRecpanLnkinfptm
()
{
async
onRecpanLnkinfptm
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"recpan
_
lnkinfptm"
)
let
rtnmsg
=
await
this
.
executeRule
(
"recpan
.
lnkinfptm"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
//TODO 处理数据逻辑
...
...
This diff is collapsed.
Click to expand it.
src/model/Infpta/index.js
View file @
9bff0f4d
...
@@ -16,7 +16,7 @@ export default class Infpta{
...
@@ -16,7 +16,7 @@ export default class Infpta{
seatypa
:
""
,
// Own Address .seatypa
seatypa
:
""
,
// Own Address .seatypa
seatypo
:
""
,
// Other .seatypo
seatypo
:
""
,
// Other .seatypo
infbut
:{
infbut
:{
dspstm
:
""
,
// display stream .infbut.dspstm
dspstm
:
{}
,
// display stream .infbut.dspstm
},
},
seatyph
:
""
,
// 海关 .seatyph
seatyph
:
""
,
// 海关 .seatyph
recpan
:{
recpan
:{
...
...
This diff is collapsed.
Click to expand it.
src/model/Trnrel/Event.js
View file @
9bff0f4d
...
@@ -88,9 +88,8 @@ export default {
...
@@ -88,9 +88,8 @@ export default {
},
},
async
onRelrow
()
{
async
onRelrow
()
{
const
that
=
this
const
that
=
this
that
.
model
.
trncorco
.
selinr
=
{
that
.
model
.
trncorco
.
selinr
.
empty
=
false
"rows"
:
that
.
multipleSelection
.
map
(
idx
=>
that
.
model
.
trncorco
.
trnstm
.
rows
[
idx
])
that
.
model
.
trncorco
.
selinr
.
rows
=
that
.
multipleSelection
.
map
(
idx
=>
that
.
model
.
trncorco
.
trnstm
.
rows
[
idx
])
}
let
rtnmsg
=
await
this
.
executeRule
(
"relrow"
)
let
rtnmsg
=
await
this
.
executeRule
(
"relrow"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
//TODO 处理数据逻辑
...
...
This diff is collapsed.
Click to expand it.
src/utils/index.js
View file @
9bff0f4d
...
@@ -28,7 +28,15 @@ export default class Utils {
...
@@ -28,7 +28,15 @@ export default class Utils {
else
if
(
obj
[
key
]
instanceof
Date
)
else
if
(
obj
[
key
]
instanceof
Date
)
target
[
nkey
]
=
obj
[
key
];
target
[
nkey
]
=
obj
[
key
];
else
if
(
typeof
obj
[
key
]
==
"object"
)
else
if
(
typeof
obj
[
key
]
==
"object"
)
if
(
nkey
===
"trncorco_trnstm"
||
nkey
===
"trncorco_selinr"
)
{
/**
* IStream类型
* {
* empty: true
* keepsort: false
* rows: []
* }
*/
if
(
Object
.
keys
(
obj
[
key
]).
length
===
3
&&
obj
[
key
].
hasOwnProperty
(
"empty"
)
&&
obj
[
key
].
hasOwnProperty
(
"keepsort"
)
&&
obj
[
key
].
hasOwnProperty
(
"rows"
))
{
target
[
nkey
]
=
obj
[
key
];
target
[
nkey
]
=
obj
[
key
];
}
else
{
}
else
{
Utils
.
flatObject
(
obj
[
key
],
target
,
nkey
);
//递归赋值
Utils
.
flatObject
(
obj
[
key
],
target
,
nkey
);
//递归赋值
...
...
This diff is collapsed.
Click to expand it.
src/views/Business/BusRouter.js
View file @
9bff0f4d
...
@@ -9,6 +9,7 @@ import Trnrel from "./Trnrel"
...
@@ -9,6 +9,7 @@ import Trnrel from "./Trnrel"
import
Tstopn
from
"./Tstopn"
import
Tstopn
from
"./Tstopn"
import
Bdtudp
from
"./Bdtudp"
import
Bdtudp
from
"./Bdtudp"
import
Trndtl
from
"./Trnrel/Trndtl"
import
Trndtl
from
"./Trnrel/Trndtl"
import
Infpta
from
"./Infpta"
const
BusRouter
=
[
const
BusRouter
=
[
...
@@ -23,6 +24,7 @@ const BusRouter = [
...
@@ -23,6 +24,7 @@ const BusRouter = [
{
path
:
'trnrel'
,
component
:
Trnrel
},
{
path
:
'trnrel'
,
component
:
Trnrel
},
{
path
:
'trndtl'
,
query
:
'inr'
,
component
:
Trndtl
},
{
path
:
'trndtl'
,
query
:
'inr'
,
component
:
Trndtl
},
{
path
:
'tstopn'
,
component
:
Tstopn
},
{
path
:
'tstopn'
,
component
:
Tstopn
},
{
path
:
'infpta'
,
component
:
Infpta
},
]
]
export
default
BusRouter
export
default
BusRouter
\ No newline at end of file
This diff is collapsed.
Click to expand it.
src/views/Business/Infpta/Infsea.vue
View file @
9bff0f4d
This diff is collapsed.
Click to expand it.
src/views/Business/Infpta/index.vue
View file @
9bff0f4d
This diff is collapsed.
Click to expand it.
src/views/Business/Trnrel/Inftrnps.vue
View file @
9bff0f4d
...
@@ -329,6 +329,7 @@ import Event from "~/model/Trnrel/Event";
...
@@ -329,6 +329,7 @@ import Event from "~/model/Trnrel/Event";
export
default
{
export
default
{
inject
:
[
"root"
],
inject
:
[
"root"
],
props
:
[
"model"
,
"codes"
],
props
:
[
"model"
,
"codes"
],
mixins
:
[
CommonProcess
],
components
:
{},
components
:
{},
data
()
{
data
()
{
return
{
return
{
...
...
This diff is collapsed.
Click to expand it.
src/views/Public/Glepan.vue
View file @
9bff0f4d
<
template
>
<
template
>
<div
class=
"eibs-tab"
>
<div
class=
"eibs-tab"
>
<c-col
:span=
"22"
:offset=
"1"
>
<c-col
:span=
"22"
:offset=
"1"
>
<c-istream-table
:list=
"data"
:columns=
"columns"
>
<c-istream-table
:list=
"data"
:columns=
"columns"
></c-istream-table>
</c-istream-table>
</c-col>
</c-col>
</div>
</div>
</
template
>
</
template
>
...
...
This diff is collapsed.
Click to expand it.
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